:root {
  --ink: #101927;
  --muted: #5b6877;
  --paper: #f6f7f2;
  --surface: #fff;
  --mint: #79e1c5;
  --mint-dark: #43b99a;
  --orange: #ffb36b;
  --line: rgba(16, 25, 39, .16);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--mint-dark); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; width: 100%; min-height: 72px; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); background: rgba(246, 247, 242, .93); backdrop-filter: blur(16px); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 780; text-decoration: none; letter-spacing: -.02em; }
.app-mark { width: 34px; height: 34px; padding: 8px; display: grid; align-content: space-between; border-radius: 10px; background: var(--ink); }
.app-mark i { height: 3px; border-radius: 3px; background: var(--mint); }
nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); }
nav a { font-size: .88rem; font-weight: 680; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.about-link { padding: 8px 14px; border: 1px solid var(--ink); border-radius: 999px; }
.about-link:hover { background: var(--ink); color: white; text-decoration: none; }
.menu-button { display: none; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 750; }

main { overflow: hidden; }
.hero, .section, footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero { min-height: 680px; padding: 76px 0 86px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(48px, 9vw, 110px); align-items: center; }
.eyebrow, .section-label { margin: 0 0 22px; color: var(--muted); font-size: .74rem; line-height: 1.3; font-weight: 830; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7.3vw, 6.7rem); font-weight: 400; line-height: .94; letter-spacing: -.055em; }
h1 em { color: var(--mint-dark); font-weight: inherit; }
.lede { max-width: 660px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.primary-action { padding: 13px 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-weight: 750; text-decoration: none; }
.primary-action:hover { background: var(--mint); color: var(--ink); }
.text-action { font-weight: 700; }

.reading-card { position: relative; min-height: 480px; padding: 24px 30px; border: 1px solid var(--line); border-radius: 36px; background: var(--surface); box-shadow: 0 30px 80px rgba(16, 25, 39, .14); transform: rotate(2.4deg); }
.reading-card::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 36px; background: var(--mint); }
.card-top { display: flex; gap: 7px; margin-bottom: 80px; }
.card-top span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.card-kicker { margin-bottom: 18px; color: var(--mint-dark); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.mock-title, .mock-line { border-radius: 6px; background: var(--ink); }
.mock-title { width: 92%; height: 18px; margin: 0 0 12px; }
.mock-title.short { width: 66%; margin-bottom: 45px; }
.mock-line { width: 100%; height: 8px; margin-bottom: 14px; opacity: .18; }
.mock-line.narrow { width: 72%; }
.read-pill { position: absolute; right: 24px; bottom: 22px; padding: 8px 17px; border-radius: 999px; background: var(--orange); font-weight: 850; font-size: .82rem; }

.section { padding: 110px 0; display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 100px); border-top: 1px solid var(--line); }
.section-content { max-width: 820px; }
h2 { margin-bottom: 34px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5.2vw, 4.8rem); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.statement { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.35; }
.section-content > p:not(.statement):not(.draft-note):not(.effective) { color: var(--muted); }

.steps { margin: 0 0 70px; padding: 0; list-style: none; counter-reset: steps; }
.steps li { padding: 28px 0; display: grid; grid-template-columns: 54px 1fr; gap: 18px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); font-size: .82rem; font-weight: 850; }
h3 { margin-bottom: 8px; font-size: 1.12rem; line-height: 1.35; }
.steps p, .feature-grid p, .safety-grid p { margin-bottom: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-grid article { min-height: 220px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.52); }
.feature-grid article > span { margin-bottom: auto; color: var(--mint-dark); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.motion-guide { margin: 58px 0 30px; padding: 30px; display: grid; grid-template-columns: 72px 1fr; gap: 24px; border-radius: 20px; background: var(--ink); color: white; }
.motion-icon { width: 66px; height: 66px; display: grid; place-items: center; border: 2px solid var(--mint); border-radius: 50%; color: var(--mint); font: 400 2.2rem/1 Georgia, serif; }
.motion-guide .eyebrow { margin-bottom: 9px; color: var(--mint); }
.motion-guide h3 { font-size: 1.5rem; }
.motion-guide p { color: rgba(255,255,255,.78); }
.motion-guide .quiet { margin-bottom: 0; font-size: .92rem; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 20px 2px; cursor: pointer; font-weight: 760; }
details p { padding: 0 24px 22px; color: var(--muted); }

.dark { position: relative; width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--max)) / 2)); grid-template-columns: minmax(150px, .35fr) minmax(0, 820px); justify-content: center; background: var(--ink); color: white; border-top: 0; }
.dark .section-label { color: var(--mint); }
.dark .draft-note { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.08); }
.movement-warning { margin: 0 0 38px; padding: 26px; border: 2px solid var(--orange); border-radius: 18px; background: rgba(255,179,107,.09); }
.movement-warning .eyebrow { margin-bottom: 10px; color: var(--orange); }
.movement-warning h3 { margin-bottom: 12px; font-size: 1.55rem; }
.movement-warning p { color: rgba(255,255,255,.78); }
.movement-warning p:last-child { margin-bottom: 0; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.safety-grid article { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.18); }
.safety-grid p { color: rgba(255,255,255,.69); }
.draft-note { padding: 13px 16px; border: 1px solid rgba(16,25,39,.2); border-radius: 12px; background: rgba(255,179,107,.18); font-size: .9rem; }
.effective { color: var(--muted); font-size: .9rem; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: 16px; padding-left: 6px; }
.legal-copy h3 { margin-top: 34px; }
.legal-copy p { color: var(--muted); }

footer { min-height: 220px; padding: 44px 0; display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: end; border-top: 1px solid var(--line); font-size: .85rem; }
footer div { display: grid; gap: 4px; }
footer span, footer p { margin: 0; color: var(--muted); }

@media (max-width: 780px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 64px; }
  .menu-button { display: block; }
  nav { position: absolute; top: 64px; left: 0; right: 0; padding: 18px 20px 22px; display: none; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); background: var(--paper); }
  nav.open { display: flex; }
  .hero, .section, footer { width: min(calc(100% - 30px), var(--max)); }
  .hero { min-height: auto; padding: 72px 0 90px; grid-template-columns: 1fr; }
  .reading-card { min-height: 400px; margin: 0 18px 18px 0; }
  .section { padding: 82px 0; grid-template-columns: 1fr; gap: 22px; }
  .dark { width: 100%; padding-inline: 15px; }
  .feature-grid, .safety-grid { grid-template-columns: 1fr; }
  .motion-guide { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 430px) {
  h1 { font-size: 3.25rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .reading-card { min-height: 340px; padding: 22px; }
  .card-top { margin-bottom: 54px; }
  .steps li { grid-template-columns: 42px 1fr; }
}

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