:root {
  color-scheme: light;
  --paper: #f6f7f1;
  --white: #ffffff;
  --ink: #1e3028;
  --muted: #526057;
  --green: #214b3b;
  --line: #d6ded3;
  --soft: #eaf0e7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", system-ui, sans-serif; font-size: 1rem; line-height: 1.7; }
a { color: var(--green); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.035em; }
h2 { line-height: 1.2; }
p { margin-bottom: 1rem; }
code { font-family: Consolas, "Courier New", monospace; font-size: 0.87em; overflow-wrap: anywhere; }
.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px 18px; background: var(--white); z-index: 2; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 1.05rem; font-weight: 650; text-decoration: none; line-height: 1.4; }
.brand-mark { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: var(--green); color: white; border-radius: 50%; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 400; }
.brand-caption { display: block; margin-top: 2px; font-size: 0.75rem; font-weight: 400; color: var(--muted); letter-spacing: 0.04em; }
.navigation { display: flex; flex-wrap: wrap; gap: 24px; font-size: 0.9rem; }
.navigation a { color: var(--muted); text-decoration: none; }
.navigation a[aria-current="page"], .navigation a:hover { color: var(--green); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; padding-block: 86px 78px; }
.eyebrow { color: var(--green); font-size: 0.74rem; font-weight: 650; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(3.25rem, 6.4vw, 5.4rem); line-height: 1.05; margin-bottom: 22px; }
.hero-tagline { font-size: 1.45rem; color: var(--green); margin-bottom: 25px; line-height: 1.4; }
.lead { font-size: 1.13rem; line-height: 1.7; }
.hero-copy > p:not(.eyebrow, .hero-tagline) { color: var(--muted); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; color: white; background: var(--green); padding: 13px 20px; border-radius: 7px; font-size: 0.94rem; font-weight: 600; text-decoration: none; }
.button:hover { background: #16382b; text-decoration: none; }
.text-link { font-weight: 600; font-size: 0.92rem; }
.text-link span { margin-left: 9px; }
.flow-panel { padding: 34px 32px 25px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.flow-panel .eyebrow { margin-bottom: 14px; }
.flow-panel h2 { font-size: 2.15rem; margin-bottom: 32px; }
.flow-list { padding: 0; margin: 0; list-style: none; }
.flow-list li { display: flex; gap: 16px; padding-block: 19px; border-top: 1px solid var(--line); }
.step { flex-shrink: 0; color: var(--green); font-family: Consolas, monospace; font-size: 0.75rem; padding-top: 3px; }
.flow-list h3 { font-size: 0.98rem; font-weight: 650; line-height: 1.5; margin-bottom: 4px; }
.flow-list p { margin: 0; font-size: 0.89rem; color: var(--muted); line-height: 1.6; }
.flow-note { margin-block: 8px 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.explanation { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; padding-block: 48px 50px; border-top: 1px solid var(--line); }
.explanation h2 { font-size: 2.5rem; max-width: 350px; }
.explanation .eyebrow { max-width: 290px; }
.explanation-copy p { color: var(--muted); }
.privacy-strip { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding: 28px 32px; margin-bottom: 56px; background: var(--soft); border-radius: 12px; }
.privacy-strip h2 { font-size: 1.75rem; margin-bottom: 10px; }
.privacy-strip p { max-width: 650px; margin: 0; color: var(--muted); font-size: 0.94rem; }
.privacy-strip > a { flex-shrink: 0; }
.site-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-block: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.site-footer p { margin-bottom: 2px; }
.footer-brand { font-weight: 650; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.contact { overflow-wrap: anywhere; }
.document-layout { max-width: 850px; }
.document-heading { padding-block: 65px 35px; border-bottom: 1px solid var(--line); }
.document-heading h1 { font-size: clamp(2.6rem, 5.5vw, 3.75rem); line-height: 1.1; margin-bottom: 22px; }
.document-heading .lead { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 0; }
.document-body { padding-block: 16px 45px; }
.document-body section { padding-top: 30px; }
.document-body h2 { font-size: 1.65rem; margin-bottom: 16px; }
.document-body p { color: var(--muted); }
.scope-block { padding: 18px 20px; background: var(--soft); border-radius: 6px; }
.scope-block code { color: var(--green); }
.not-found { max-width: 740px; min-height: 60vh; padding-block: 85px; }
.not-found h1 { font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1.12; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 34px; padding-block: 60px; }
  .flow-panel { padding: 27px 24px 22px; }
  .hero h1 { font-size: 3.4rem; }
  .explanation { gap: 35px; }
  .privacy-strip { align-items: flex-start; flex-direction: column; gap: 20px; }
  .site-footer { flex-wrap: wrap; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 20px; padding-block: 21px; }
  .navigation { gap: 22px; font-size: 0.85rem; }
  .hero { grid-template-columns: 1fr; padding-block: 43px; gap: 35px; }
  .hero h1 { font-size: 3.3rem; }
  .hero-tagline { font-size: 1.3rem; }
  .eyebrow { font-size: 0.69rem; }
  .hero-links { gap: 20px; }
  .explanation { grid-template-columns: 1fr; gap: 6px; padding-block: 35px; }
  .explanation h2 { max-width: none; font-size: 2.15rem; }
  .privacy-strip { padding: 25px 23px; margin-bottom: 35px; }
  .site-footer { flex-direction: column; gap: 19px; padding-block: 26px; }
  .document-heading { padding-top: 43px; }
  .document-body h2 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
