/* PILL alpha app — the visual language of the original mobile demo:
   cream paper, ink type, terracotta ℞, Cormorant Garamond display over DM Sans. */
:root {
  --cream: #FAF8F4;
  --cream-deep: #F3EDE1;
  --ink: #1A1612;
  --ink-soft: #524A40;
  --terracotta: #C2410C;
  --terracotta-hover: #A8360A;
  --terracotta-soft: #F4E0D6;
  --amber: #74560F;
  --amber-soft: #F0E5C5;
  --rule: #E4DCCE;
  --sage: #4F6B52;
  --sage-soft: #E3EBDF;
  --col: 560px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.paper::before { content: ''; position: fixed; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(26, 22, 18, 0.018) 1px, transparent 0); background-size: 3px 3px; pointer-events: none; z-index: 0; }
.app-header, .app, .app-footer { position: relative; z-index: 1; }

a { color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-hover); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; border-radius: 4px; }
h1:focus { outline: none; }

.display { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; letter-spacing: -0.015em; }
.display-bold { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; letter-spacing: -0.02em; }
.italic { font-style: italic; }
.rx { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 600; color: var(--terracotta); }
.label { display: block; font-family: 'DM Sans', sans-serif; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.label .ink-soft { text-transform: none; letter-spacing: 0; font-weight: 300; }
.ink-soft { color: var(--ink-soft); }
.amber { color: var(--amber); }
.small { font-size: 0.92rem; }
.tiny { font-size: 0.78rem; line-height: 1.5; }
.mt { margin-top: 1.5rem; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 0.85em; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 0.5rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.app-header { border-bottom: 1px solid var(--rule); background: rgba(250, 248, 244, 0.92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
.app-bar { max-width: var(--col); margin: 0 auto; padding: 0.9rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; gap: 0.45rem; text-decoration: none; color: var(--ink); }
.brand .rx { font-size: 1.6rem; line-height: 1; }
.brand-word { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.25rem; font-weight: 500; letter-spacing: 0.04em; }

/* Main column */
.app { flex: 1; width: 100%; max-width: var(--col); margin: 0 auto; padding: 1.75rem 1rem 2.5rem; }
.screen.enter { animation: fadeIn 0.25s ease-out; }
.screen.still .stagger-1, .screen.still .stagger-2, .screen.still .stagger-3, .screen.still .stagger-4, .screen.still .stagger-5, .screen.still .fade-in { animation: none; }
.screen p { margin: 0 0 1rem; }
.q { font-size: clamp(2rem, 8vw, 2.6rem); line-height: 1.08; margin: 0 0 0.75rem; }

/* Welcome */
.welcome { padding-top: 1rem; }
.welcome .label { text-align: center; }
.big-rx { margin: 0.25rem 0 0.5rem; }
.big-rx .rx { font-size: 4.25rem; line-height: 1; font-weight: 700; }
.hero { font-size: clamp(3rem, 14vw, 4rem); line-height: 1; margin: 0 0 0.5rem; }
.sub { font-size: 1.35rem; line-height: 1.3; margin: 0 0 1.75rem !important; }
.lead { font-size: 1.05rem; line-height: 1.65; max-width: 30rem; margin-left: auto !important; margin-right: auto !important; }
.welcome .small { margin-top: 1.25rem; }
.about { margin: 1.5rem auto 0; max-width: 30rem; }
.about-toggle { background: none; border: 0; cursor: pointer; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.02rem; color: var(--ink-soft); padding: 0.5rem 1rem; }
.about-toggle:hover { color: var(--terracotta); }
.about-card { text-align: left; margin-top: 0.75rem; font-size: 0.95rem; }
.byline { border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 0.5rem; }
.byline-name { font-size: 1.1rem; margin: 0 0 0.15rem !important; }
.tour-link { margin-top: 1.75rem !important; font-size: 0.95rem; }

/* Buttons */
button { font: inherit; color: inherit; }
.btn-pill { display: block; width: 100%; max-width: 480px; margin: 1.25rem auto; background: var(--terracotta); color: var(--cream); border: 0; border-radius: 999px; padding: 1.1rem 2rem; font-weight: 500; font-size: 1.05rem; letter-spacing: 0.01em; cursor: pointer; text-align: center; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.btn-pill:hover { background: var(--terracotta-hover); color: var(--cream); transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: var(--cream); border: 0; border-radius: 2px; padding: 0.8rem 1.5rem; font-weight: 500; letter-spacing: 0.02em; cursor: pointer; transition: background 0.2s ease; }
.btn-primary:hover { background: var(--terracotta-hover); }
.btn-primary:disabled { opacity: 0.38; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 0; color: var(--ink-soft); padding: 0.8rem 0.5rem; cursor: pointer; font-weight: 400; }
.btn-ghost:hover { color: var(--terracotta); }
.text-link { background: none; border: 0; padding: 0.25rem 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 0.92rem; }
.text-link:hover { color: var(--terracotta); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1.75rem; }
.nav-right { display: flex; gap: 0.5rem; align-items: center; }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 1.25rem; }
.stepper .dot { width: 22px; height: 3px; background: var(--rule); border-radius: 2px; }
.stepper .dot.on { background: var(--terracotta); }
.stepper .label { margin: 0 0 0 0.5rem; }

/* Choice tiles */
.grid { display: grid; gap: 0.6rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { background: var(--cream); border: 1px solid var(--rule); cursor: pointer; text-align: left; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.choice:hover { border-color: var(--terracotta); }
.choice.selected { border-color: var(--terracotta); background: var(--terracotta-soft); }
.emoji-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.2rem; padding: 0.9rem 0.35rem 0.8rem; min-height: 112px; }
.emoji-tile .emoji { font-size: 1.85rem; line-height: 1.2; }
.tile-label { display: block; font-weight: 500; font-size: 0.86rem; letter-spacing: 0.01em; }
.tile-hint { display: block; font-size: 0.72rem; color: var(--ink-soft); line-height: 1.35; }
.emoji-tile .tile-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; }
.need-tile { padding: 1.15rem 1rem; font-size: 1.02rem; min-height: 64px; }
.row-tile { padding: 0.85rem 0.7rem; min-height: 64px; font-size: 0.95rem; }
.row-tile .tile-label { font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.5rem; }
.chip { border-radius: 999px; padding: 0.5rem 0.9rem; font-size: 0.88rem; }

/* Reflection */
.reflect-box { margin: 1.25rem 0; padding: 1rem 1.1rem; background: var(--amber-soft); border-left: 2px solid var(--amber); }
.reflect-box .label { color: var(--amber); }
.reflect-box .chip { background: rgba(250, 248, 244, 0.7); }
.reflect-box .chip.selected { background: var(--terracotta-soft); }
.reflect-prompt { font-size: 1.4rem; line-height: 1.3; margin: 0.25rem 0 0.5rem !important; }

/* Choices */
.picks { display: grid; gap: 0.75rem; margin: 1.25rem 0 0.75rem; }
.pick-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; text-align: left; background: var(--cream); border: 1px solid var(--rule); padding: 1.15rem 1.15rem 1rem; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.pick-card:hover { border-color: var(--terracotta); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26, 22, 18, 0.07); }
.pick-route { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); display: flex; align-items: center; gap: 0.3rem; }
.pick-title { font-size: 1.65rem; line-height: 1.15; }
.pick-line { font-size: 0.95rem; color: var(--ink); }
.pick-meta { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* Prescription */
.card { background: var(--cream); border: 1px solid var(--rule); padding: 1.4rem; }
.rx-card { margin-bottom: 1rem; }
.rx-head { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.rx-main { flex: 1; min-width: 0; }
.rx-kicker { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.35rem !important; }
.rx-kicker .label { margin: 0; }
.rx-title { font-size: clamp(2rem, 9vw, 2.5rem); line-height: 1.05; margin: 0 0 0.35rem; }
.rx-for { max-width: 9.5rem; text-align: right; }
.rx-for .tiny-label { font-size: 0.58rem; margin-bottom: 0.15rem; }
.rx-for .display { font-size: 1rem; line-height: 1.3; margin: 0 !important; }
.rx-action { font-size: 1.05rem; line-height: 1.6; }
.rx-card .btn-pill { margin: 1rem 0 1.25rem; max-width: none; }
.message-box { background: var(--cream-deep); padding: 1rem; margin: 0.5rem 0 1.25rem; }
.message-text { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; line-height: 1.35; }
.why { border-top: 1px solid var(--rule); padding-top: 1rem; }
.why-line { font-size: 0.95rem; line-height: 1.6; }
.chip-tag { display: inline-block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 999px; margin-right: 0.3rem; vertical-align: 0.12em; }
.chip-tag.told { background: var(--terracotta-soft); color: #8C2F09; }
.chip-tag.research { background: var(--sage-soft); color: var(--sage); }
.chip-tag.editorial { background: var(--amber-soft); color: var(--amber); }
details.source { margin-top: 0.25rem; font-size: 0.9rem; }
details.source summary { cursor: pointer; color: var(--amber); font-size: 0.86rem; }
details.source[open] summary { margin-bottom: 0.6rem; }
details.source .source-body { border-left: 2px solid var(--amber); padding-left: 0.85rem; color: var(--ink-soft); }
details.source .source-body p { margin-bottom: 0.6rem; }

/* After + thanks */
textarea, input[type="email"] { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1px solid var(--rule); border-radius: 2px; padding: 0.75rem; }
textarea:focus, input[type="email"]:focus { border-color: var(--terracotta); outline: 2px solid var(--terracotta-soft); }
.email-card { text-align: left; margin: 1.5rem 0; }
.email-row { display: flex; gap: 0.5rem; }
.email-row input { flex: 1; min-width: 0; }

/* Footer */
.app-footer { max-width: var(--col); margin: 0 auto; padding: 1.25rem 1rem 2rem; border-top: 1px solid var(--rule); font-size: 0.8rem; color: var(--ink-soft); width: 100%; }
.app-footer p { margin: 0 0 0.5rem; }
.app-footer a { color: var(--ink-soft); }

/* Motion */
.fade-in { animation: fadeIn 0.25s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.stagger-1 { animation: fadeIn 0.25s ease-out 0.05s both; }
.stagger-2 { animation: fadeIn 0.25s ease-out 0.15s both; }
.stagger-3 { animation: fadeIn 0.25s ease-out 0.25s both; }
.stagger-4 { animation: fadeIn 0.25s ease-out 0.35s both; }
.stagger-5 { animation: fadeIn 0.25s ease-out 0.45s both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Phones: title gets the full width, the 'for' line sits beneath it */
@media (max-width: 520px) {
  .rx-head { flex-direction: column; gap: 0.5rem; }
  .rx-for { text-align: left; max-width: none; }
}
/* Small phones */
@media (max-width: 360px) {
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rx-head { flex-direction: column; }
  .rx-for { text-align: left; max-width: none; }
}
/* Larger screens: keep the app-like column, add breathing room */
@media (min-width: 720px) {
  .app { padding-top: 3rem; }
  .card { padding: 1.75rem; }
}

/* Supporting pages */
.prose { font-size: 1rem; }
.prose .h2 { font-size: 1.5rem; line-height: 1.2; margin: 1.75rem 0 0.5rem; }
.steps-list { padding-left: 1.25rem; margin: 1rem 0 1.5rem; }
.steps-list li { margin-bottom: 0.75rem; line-height: 1.6; }
.fb-form fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.fb-form legend { padding: 0; margin-bottom: 0.6rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-row label { display: inline-flex; align-items: center; gap: 0.45rem; border: 1px solid var(--rule); padding: 0.6rem 0.9rem; cursor: pointer; background: var(--cream); font-size: 0.95rem; }
.radio-row label:has(input:checked) { border-color: var(--terracotta); background: var(--terracotta-soft); }
.radio-row input { accent-color: var(--terracotta); }
.fb-form .label { margin-top: 0.25rem; }
.screen .mt { margin-top: 1.5rem; }

/* Two ways in (app welcome + landing) */
.path-cards { display: grid; gap: 0.75rem; margin: 1.5rem 0 0.5rem; text-align: left; }
.path-card { display: flex; flex-direction: column; gap: 0.3rem; background: var(--cream); border: 1px solid var(--rule); padding: 1.15rem 1.2rem 1.05rem; cursor: pointer; text-align: left; color: var(--ink); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.path-card:hover { border-color: var(--terracotta); color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26, 22, 18, 0.07); }
.path-card .label { margin: 0; text-align: left !important; }
.path-title { font-size: 1.7rem; line-height: 1.1; }
.path-cta { margin-top: 0.45rem; color: var(--terracotta); font-weight: 500; font-size: 0.95rem; }
.welcome .path-card .small { margin-top: 0; }

/* Lenses (sign, Human Design) */
.lens-grid { display: grid; gap: 0.75rem; margin: 1rem 0; }
.lens { display: flex; flex-direction: column; gap: 0.35rem; border: 1px solid var(--rule); padding: 0.9rem 1rem; background: var(--cream); }
.lens .label { margin: 0; }
select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1px solid var(--rule); border-radius: 2px; padding: 0.65rem 0.7rem; appearance: auto; }
select:focus { border-color: var(--terracotta); outline: 2px solid var(--terracotta-soft); }
@media (min-width: 520px) { .lens-grid { grid-template-columns: 1fr 1fr; } }

/* Coming-soon connections */
.chip.soon, .choice.soon { position: relative; }
.connect-note { margin: 1.25rem 0 0; padding: 1rem 1.1rem; background: var(--sage-soft); border-left: 2px solid var(--sage); }
.connect-note .label { color: var(--sage); }
.connect-note p:last-child { margin-bottom: 0; }

/* What PILL knows */
.known { padding: 0.25rem 1.2rem; margin: 1.25rem 0; }
.known-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.known-row:last-child { border-bottom: 0; }
.known-row p { margin: 0 !important; }
.known-row .label { margin-bottom: 0.2rem !important; }

/* ─────────────── Landing page ─────────────── */
.app-bar.wide, .app-footer.wide { max-width: 1080px; }
.top-nav { display: flex; align-items: center; gap: 1.1rem; }
.top-nav .text-link { text-decoration: none; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; text-decoration: none; display: inline-block; color: var(--cream); }
.btn-sm:hover { color: var(--cream); }
.landing { flex: 1; position: relative; z-index: 1; width: 100%; }
.l-wrap { max-width: 1080px; margin: 0 auto; padding: 0 1rem; }
.narrow-wrap { max-width: 680px; }
.terracotta { color: var(--terracotta) !important; }
.sage { color: var(--sage) !important; }
.landing p { margin: 0 0 1rem; }

.l-hero { padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.l-h1 { font-size: clamp(3.1rem, 13vw, 5.2rem); line-height: 0.98; margin: 0 0 1.25rem; }
.l-h1-sub { display: block; font-size: 0.56em; line-height: 1.1; margin-top: 0.45rem; color: var(--terracotta); font-weight: 500; }
.l-lead { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.55rem; line-height: 1.3; font-weight: 500; }
.l-body { font-size: 1.05rem; line-height: 1.65; max-width: 36rem; }
.l-body.narrow { max-width: 40rem; }
.l-tag { font-size: 1.35rem; color: var(--amber); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin: 1.5rem 0 1rem; }
.btn-pill.btn-inline { display: inline-block; width: auto; margin: 0; padding: 1rem 2.1rem; }
.l-disclaim { max-width: 30rem; }

.phone { margin: 0 auto; max-width: 340px; width: 100%; }
.phone-screen { background: var(--cream); border: 10px solid var(--ink); border-radius: 38px; padding: 1.1rem 1.15rem 1.3rem; box-shadow: 0 24px 60px rgba(26, 22, 18, 0.18); }
.phone-bar { display: flex; align-items: baseline; gap: 0.35rem; padding-bottom: 0.7rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--rule); }
.phone-bar .rx { font-size: 1.3rem; }
.phone-bar .brand-word { font-size: 1.05rem; }
.phone-for { font-size: 1.05rem; margin-bottom: 0.4rem !important; }
.phone-title { font-size: 2.3rem; line-height: 1; margin-bottom: 0.4rem !important; }
.phone-action { font-size: 0.97rem; line-height: 1.55; }
.chips.static .chip { display: inline-block; border: 1px solid var(--rule); background: var(--cream); font-size: 0.8rem; padding: 0.3rem 0.75rem; }
.chips.static .chip.soon { background: var(--sage-soft); border-color: transparent; color: #2F4532; }
.phone-btn { font-size: 0.95rem; padding: 0.85rem 1rem; margin: 0.75rem 0 1rem; }
.phone .why .small { font-size: 0.88rem; }
.phone figcaption { text-align: center; margin-top: 0.9rem; }

.l-section { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
.l-section.tint { background: var(--cream-deep); }
.l-h2 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.08; margin: 0 0 1.5rem; max-width: 46rem; }
.l-h3 { font-size: 1.55rem; line-height: 1.15; margin: 0 0 0.5rem; }
.how-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.5rem; }
.how-steps li { border-top: 2px solid var(--terracotta); padding-top: 1rem; }
.how-num { font-size: 1.1rem; color: var(--terracotta); font-style: italic; }
.l-note { max-width: 46rem; }
.two-col-text { display: grid; gap: 0 2rem; max-width: 60rem; }
.l-paths { margin: 1.5rem 0 2rem; }
.l-paths .path-card { background: var(--cream); padding: 1.4rem 1.4rem 1.2rem; }
.layers { display: grid; gap: 1rem; }
.layer { background: var(--cream); border: 1px solid var(--rule); padding: 1.3rem 1.3rem 0.8rem; }
.l-known { margin-top: 1.5rem !important; }

.moments { display: grid; gap: 0.75rem; }
.moment { border-left: 2px solid var(--terracotta); padding: 0.35rem 0 0.35rem 1rem; }
.moment-q { font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.3rem !important; }

.samples { display: grid; gap: 0.9rem; margin: 1.75rem 0 2rem; }
.sample { background: var(--cream); border: 1px solid var(--rule); padding: 1.2rem 1.2rem 0.6rem; }
.sample .pick-title { display: block; margin: 0.15rem 0 0.5rem; }
.sample-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sample-tags span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; background: var(--cream-deep); padding: 0.2rem 0.55rem; border-radius: 999px; color: var(--ink-soft); }

.l-band { background: var(--ink); color: var(--cream); padding: 4rem 0; }
.l-band .label { color: #CFC6B8; }
.band-h { color: var(--cream); }
.band-h .italic { color: #F2A27E; font-weight: 500; }
.l-band p { font-size: 1.1rem; line-height: 1.65; color: #EDE7DC; }
.band-btn { margin-top: 0.75rem !important; }
.l-final { padding: 4rem 0 4.5rem; }
.l-final .l-h2 { max-width: none; }
.l-final .l-body { margin-left: auto; margin-right: auto; }
.l-final .btn-inline { margin: 0.5rem 0 1.5rem; }

@media (max-width: 560px) { .hide-sm { display: none; } .top-nav { gap: 0.8rem; } }
@media (min-width: 720px) {
  .path-cards { grid-template-columns: 1fr 1fr; }
  .welcome .path-cards { grid-template-columns: 1fr; }
  .how-steps, .layers { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .two-col-text { grid-template-columns: 1fr 1fr; }
  .moments { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .samples { grid-template-columns: 1fr 1fr; }
  .l-hero { padding: 4rem 0 4.5rem; }
  .l-section { padding: 5rem 0; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
  .samples { grid-template-columns: repeat(4, 1fr); }
}

/* Local review: collection labels and the earlier warm homepage treatment. */
:root { --cream-deep: #F6EFE5; --ink: #171415; --paper-card: #FFFBF7; --accent: #DD420E; }
.rx { color: var(--accent); }
.btn-primary { border-radius: 999px; }
.card, .pick-card, .path-card, .layer, .sample { background: var(--paper-card); border-radius: 16px; }
.l-paths .path-card { background: var(--paper-card); }
.choice:not(.chip) { border-radius: 12px; }
.collection-note { text-align: left; padding: 0.85rem 1rem; background: var(--cream-deep); border-left: 2px solid var(--terracotta); border-radius: 0 10px 10px 0; }
.collection-note a { overflow-wrap: anywhere; }
.l-hero { padding: clamp(1.5rem, 3vw, 2.5rem) 0 1.25rem; }
.hero-grid { align-items: start; gap: 1.75rem; }
.l-h1, .l-h2 { font-family: 'DM Sans', system-ui, sans-serif; font-weight: 500; letter-spacing: -0.035em; }
.l-h1 { font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1.03; }
.l-h1-sub { color: var(--accent); font-style: normal; line-height: 1.12; margin-top: 0.65rem; }
.l-h2 { font-size: clamp(1.9rem, 4.5vw, 2.65rem); line-height: 1.12; margin-bottom: 1rem; }
.l-section { border-top: 0; padding: clamp(1.5rem, 2.5vw, 2rem) 0; scroll-margin-top: 5rem; }
.l-band { padding: 2.5rem 0; }
.l-final { padding: 2.25rem 0 2rem; }
.cta-row a[href="#how"] { color: var(--terracotta); font-weight: 500; padding: 0.65rem 0; text-decoration-thickness: 1px; }
.phone-screen { background: linear-gradient(180deg, var(--paper-card), var(--cream-deep)); }
@media (min-width: 960px) { .hero-grid { gap: 3rem; } }

/* v3 (10/9 evening): sans headlines everywhere, serif for italic lines, card titles and quotes */
.display.q, .display-bold.hero, .rx-title, .l-h1, .l-h2 { font-family: 'DM Sans', system-ui, sans-serif; font-weight: 500; letter-spacing: -0.03em; }
.display.q { font-size: clamp(1.75rem, 7vw, 2.2rem); line-height: 1.12; }
.display-bold.hero { font-size: clamp(2.4rem, 11vw, 3.2rem); line-height: 1.05; }
.rx-title { font-size: clamp(1.8rem, 8vw, 2.2rem); line-height: 1.08; }
/* Short data notice under the first screen */
.data-notice { margin: 1.25rem 0 0 !important; font-size: 0.8rem; line-height: 1.5; color: var(--ink-soft); }
/* Thank-you save status */
.save-state { min-height: 1.5em; color: var(--ink-soft); }
.save-state .save-ok { color: var(--sage); }
.save-state .text-link { font-size: inherit; color: var(--terracotta); }
/* Email field matches its button and stacks on small phones */
.email-row { flex-wrap: wrap; }
.email-row input { flex: 1 1 12rem; border-radius: 999px; padding: 0.75rem 1.1rem; }
.email-row .btn-primary { flex: 0 0 auto; }
@media (max-width: 400px) { .email-row .btn-primary { flex: 1 1 100%; } }
/* Bigger tap targets in the header and footer */
.app-bar .text-link, .top-nav a.text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.25rem; }
.app-footer a { display: inline-block; padding: 0.35rem 0; }
@media (max-width: 380px) { .top-nav a.text-link { display: none; } }
