:root {
  --bg: #f7f8f6;
  --ink: #161a17;
  --muted: #646c66;
  --line: #dfe5df;
  --accent: #0b6b43;
  --accent-strong: #064f31;
  --accent-soft: #e8f2eb;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100%;
}

a {
  color: var(--accent);
  font-weight: 760;
}

.legal-shell {
  margin: 0 auto;
  max-width: 880px;
  padding: 36px 22px 64px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(37, 43, 39, 0.08);
  padding: clamp(22px, 4vw, 44px);
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 21px;
  font-weight: 820;
  gap: 10px;
  line-height: 1;
  margin-bottom: 28px;
  text-decoration: none;
}

.brand-mark {
  background: #fff;
  border: 1px solid rgba(11, 107, 67, 0.14);
  border-radius: 9px;
  box-shadow: 0 8px 18px rgba(11, 107, 67, 0.1);
  display: block;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0 0 12px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.55;
  margin: 0 0 26px;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid rgba(11, 107, 67, 0.18);
  border-radius: 8px;
  color: #254334;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  margin: 0 0 30px;
  padding: 14px 16px;
}

.toc {
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  margin: 0 0 32px;
  padding: 16px;
}

.toc-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.toc a {
  text-decoration: none;
}

section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

section + section {
  margin-top: 26px;
}

h2 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 12px;
}

h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 20px 0 8px;
}

p,
li {
  color: #333c36;
  font-size: 15px;
  line-height: 1.65;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

li + li {
  margin-top: 7px;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 2px 0;
}

.site-footer p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.4;
  margin: 0;
}

.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 560px) {
  .legal-shell {
    padding: 22px 14px 40px;
  }

  .legal-card {
    padding: 22px 18px;
  }

  h1 {
    font-size: 34px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 4px 0;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
