:root {
  color-scheme: light;
  --ivory: #fbf7ef;
  --paper: #fffdf8;
  --forest: #1f4a3a;
  --forest-dark: #16372b;
  --charcoal: #262b28;
  --muted: #4f5d56;
  --terracotta: #8f432f;
  --sage: #dde8df;
  --border: #d8d9d1;
  --max: 72rem;
}

* { box-sizing: border-box; }

html { background: var(--ivory); }

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

a { color: var(--forest); text-underline-offset: 0.18em; }
a:hover { color: var(--terracotta); }
a:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; border-radius: 0.2rem; }

.site-header,
footer {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header { min-height: 5.5rem; border-bottom: 1px solid var(--border); }
.brand { color: var(--forest); font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -0.03em; }
nav { display: flex; gap: 1.35rem; }
nav a { font-weight: 700; text-decoration: none; }
nav a[aria-current="page"] { color: var(--terracotta); }

main { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.hero { max-width: 58rem; padding: clamp(4rem, 10vw, 8rem) 0 clamp(5rem, 11vw, 9rem); }
.eyebrow { color: var(--terracotta); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2 { color: var(--charcoal); line-height: 1.03; letter-spacing: -0.05em; text-wrap: balance; }
h1 { max-width: 13ch; margin: 0.25rem 0 1.5rem; font-size: clamp(3.2rem, 9vw, 7.2rem); }
h2 { margin: 0.25rem 0 1rem; font-size: clamp(2rem, 5vw, 3.8rem); }
.lead { max-width: 43rem; color: var(--muted); font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.48; text-wrap: pretty; }
.quiet { color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; padding: 0.7rem 1.15rem; border: 2px solid var(--forest); border-radius: 999px; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: var(--forest); }
.button.primary:hover { background: var(--forest-dark); }
.button.secondary { background: transparent; }

.workflow { display: grid; grid-template-columns: minmax(15rem, 0.75fr) minmax(18rem, 1.25fr); gap: clamp(2rem, 8vw, 8rem); padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid var(--border); }
.workflow ol { margin: 0; padding: 0; list-style: none; counter-reset: workflow; }
.workflow li { counter-increment: workflow; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.85rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.workflow li::before { content: "0" counter(workflow); color: var(--terracotta); font-weight: 800; }
.workflow strong, .workflow span { grid-column: 2; }
.workflow strong { font-size: 1.18rem; }
.workflow span { color: var(--muted); }

.privacy-note { margin: clamp(4rem, 9vw, 8rem) 0; padding: clamp(2rem, 5vw, 4.5rem); background: var(--sage); border: 1px solid var(--forest); border-radius: 1.4rem; }
.privacy-note h2 { max-width: 16ch; }
.privacy-note p:last-child { max-width: 45rem; color: var(--muted); font-size: 1.2rem; }

.document { max-width: 48rem; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.document h1 { max-width: none; font-size: clamp(3rem, 7vw, 5.5rem); }
.document h2 { margin-top: 3.25rem; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -0.035em; }
.document p, .document li { text-wrap: pretty; }
.document ol { padding-left: 1.35rem; }
.document li { margin-bottom: 0.65rem; }

footer { min-height: 6rem; padding: 1.5rem 0; border-top: 1px solid var(--border); color: var(--muted); }
footer a { font-weight: 700; }

@media (max-width: 700px) {
  .site-header, footer { align-items: flex-start; padding-block: 1.2rem; }
  .site-header { min-height: auto; }
  .workflow { grid-template-columns: 1fr; gap: 1rem; }
  .hero { padding-top: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
