:root {
  --paper: #f7f2e8;
  --ink: #171714;
  --muted: #6d6a61;
  --line: rgba(23, 23, 20, 0.16);
  --red: #d45b4e;
  --yellow: #e5b94f;
  --green: #61a36f;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0 11%, rgba(212, 91, 78, 0.11) 11%, rgba(212, 91, 78, 0.11) calc(11% + 1px), transparent calc(11% + 1px)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(23, 23, 20, 0.045) 31px 32px),
    var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.68;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }

.site-nav {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.02em;
}

.site-nav a { text-decoration: none; }
.nav-links { display: flex; gap: 20px; color: var(--muted); }

.page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0 96px;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 2fr);
  column-gap: clamp(44px, 8vw, 120px);
}

.eyebrow,
.section-number,
.note,
.button,
.fine-print,
.footer {
  font-family: var(--sans);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; }

h1 {
  max-width: 820px;
  margin: 0 0 30px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
}

.lede {
  max-width: 710px;
  margin: 0;
  color: #393830;
  font-size: clamp(21px, 2.5vw, 29px);
  line-height: 1.4;
}

.hero { grid-column: 2; padding-bottom: 96px; }

.progress-rule {
  height: 5px;
  margin: 38px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), #c8c552 55%, var(--green));
}

.button-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { color: white; background: var(--red); transform: translateY(-2px); }
.quiet-link { font: 600 14px/1 var(--sans); color: var(--muted); }

.section-number {
  grid-column: 1;
  position: sticky;
  top: 24px;
  align-self: start;
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-section {
  grid-column: 2;
  padding: 8px 0 90px;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin: 28px 0 22px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.content-section h3 { margin: 42px 0 10px; font-size: 27px; line-height: 1.2; }
.content-section p, .content-section ul, .content-section ol { max-width: 720px; }
.content-section li + li { margin-top: 12px; }

.steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { counter-increment: steps; position: relative; padding: 0 0 28px 58px; }
.steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--red);
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.08em;
}

.note {
  max-width: 720px;
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.46);
  color: #45433c;
  font-size: 15px;
  line-height: 1.55;
}

.faq details { max-width: 760px; border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { padding: 21px 32px 21px 0; cursor: pointer; font-size: 21px; font-weight: 600; }
.faq details p { margin: 0; padding: 0 0 24px; color: #45433c; }

.footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.privacy .content-section { padding-bottom: 55px; }
.privacy h1 { max-width: 760px; }
.fine-print { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  body { background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(23, 23, 20, 0.045) 31px 32px), var(--paper); }
  .page { display: block; padding-top: 58px; }
  .hero { padding-bottom: 72px; }
  .section-number { position: static; margin-bottom: 10px; }
  .content-section { padding-bottom: 70px; }
  .nav-links a:first-child { display: none; }
  .footer { flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #11110f; --ink: #f3eee3; --muted: #aaa59a; --line: rgba(243, 238, 227, 0.18); }
  body { background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(243, 238, 227, 0.045) 31px 32px), var(--paper); }
  .lede, .content-section p, .faq details p { color: #d3cec2; }
  .note { background: rgba(255, 255, 255, 0.05); color: #d3cec2; }
}

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