/* The home page. Tokens, nav, buttons and footer come from styles.css; what's here
   is built around one object, the back of a food label. */

.h-section { padding: clamp(48px, 6vw, 84px) 0; }
.h-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.h-title { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; font-size: clamp(1.65rem, 2.9vw, 2.35rem); margin: 0 0 12px; color: var(--ink); max-width: 17ch; }
.h-lede { font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.55; color: var(--ink-muted); margin: 0; max-width: 54ch; }

/* The phone: the real screenshot in a plain frame. */
.phone-real { position: relative; width: min(100%, 320px); aspect-ratio: 1206 / 2622; padding: 10px; background: #15112A; border-radius: 48px; box-shadow: 0 34px 70px -22px rgba(26, 16, 74, .55), 0 0 0 1px rgba(255,255,255,.08) inset; flex: none; }
.phone-real img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.h-hero { position: relative; color: #fff; background: linear-gradient(170deg, var(--hdr-1) 0%, var(--hdr-2) 62%, #33246F 100%); padding: clamp(36px, 6vw, 72px) 0 0; overflow-x: clip; z-index: 2; }
.h-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.h-hero-copy { padding-top: clamp(16px, 5vw, 76px); padding-bottom: 60px; }
.h-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -0.015em; margin: 0 0 16px; color: #fff; }
.h-hero-sub { font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.5; margin: 0 0 24px; max-width: 33em; color: #F1EDFF; }
.h-hero-note { margin: 16px 0 0; font-size: .98rem; color: #E4DCFF; max-width: 34em; }
.h-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(44px, 7vw, 96px); z-index: 1; display: block; fill: var(--ground); }

.h-hero-stage { position: relative; display: flex; justify-content: center; padding-bottom: clamp(24px, 3vw, 40px); }
.h-hero-stage .phone-real { z-index: 3; width: clamp(250px, 25vw, 320px); }
.pack-print { background: #FFFEFA; color: #111; border-radius: 6px; padding: 16px 18px 18px; box-shadow: 0 22px 44px -18px rgba(14, 8, 48, .7); font-family: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif; font-size: .92rem; line-height: 1.42; }
.pack-print h3 { font: inherit; font-weight: 700; margin: 0 0 6px; }
.pack-print p { margin: 0; }
.pack-print b { font-weight: 800; }

/* Words the app matched. */
.w { border-radius: 3px; padding: 0 2px; margin: 0 -2px; transition: background-color .22s ease, box-shadow .22s ease; }
.hit-found { background: #FFD3CC; box-shadow: 0 0 0 1.5px #C0392B inset; }
.hit-may { background: #FFE7B5; box-shadow: 0 0 0 1.5px #975D17 inset; }

/* The waitlist form. */
.wl { max-width: 540px; }
.wl-row { display: flex; gap: 8px; padding: 7px; background: #fff; border-radius: 999px; box-shadow: 0 14px 34px -14px rgba(14, 8, 48, .6); }
.wl-row input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; margin: 0; min-height: 50px; width: auto; text-align: left; font: inherit; font-size: 1.05rem; color: #241E3D; border-radius: 999px; box-shadow: none; }
.wl-row input[type="email"]::placeholder { color: #6A667C; }
.wl-row input[type="email"]:focus-visible { outline: 3px solid #4C36A1; outline-offset: -3px; }
.wl-row button { flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1.02rem; color: #fff; background: var(--accent-strong); border-radius: 999px; padding: 0 26px; min-height: 50px; }
.wl-row button:hover { background: var(--accent-darkest); }
.wl-row button:disabled { opacity: .7; cursor: default; }
.wl-row button:focus-visible { outline: 3px solid #241E3D; outline-offset: 2px; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0 8px; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.wl-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #fff; }
.wl-error { min-height: 0; margin: 8px 0 0 8px; font-weight: 800; font-size: .98rem; }
.wl-error:empty { display: none; }
.wl-done { max-width: 540px; padding: 20px 24px; border-radius: 22px; background: #fff; color: #241E3D; }
.wl-done a { color: #4C36A1; font-weight: 800; }
.wl-done p { margin: 0; }
.wl-done-title { font-family: var(--display); font-weight: 800; font-size: 1.45rem; margin-bottom: 4px !important; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Label demo ───────────────────────────────────────────────────────── */
.h-demo { background: var(--ground); padding-top: clamp(52px, 7vw, 92px); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(30px, 4vw, 48px); }
.demo-pick { margin: 0 0 22px; }
.demo-pick-title { font-weight: 800; color: var(--ink); margin: 0 0 10px; font-size: 1.02rem; }
.demo-pick .chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 5px 17px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.chip img { width: 34px; height: 34px; border-radius: 50%; margin-left: -10px; }
.chip small { font-weight: 600; color: var(--ink-muted); font-size: .88rem; }
.chip:hover { border-color: var(--accent-deep); }
.chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip[aria-pressed="true"] { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.chip[aria-pressed="true"] small { color: #E4DCFF; }
.chip.sm { min-height: 40px; padding: 3px 14px; font-weight: 700; font-size: .96rem; }

/* The label itself, large: the page's one big object. */
.label-big { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.5; padding: clamp(22px, 3.2vw, 38px); border-radius: 8px; transform: rotate(-.6deg); box-shadow: 0 26px 50px -26px rgba(36, 22, 94, .5), 0 0 0 1px rgba(36, 22, 94, .07); }
.label-big h3 { font-size: 1em; margin-bottom: 8px; }
.label-big .pack-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 12px; border-top: 1px solid #C8C5BA; font-size: .68em; color: #444; }

.answers-title { font-weight: 800; color: var(--ink); margin: 0 0 12px; font-size: 1.02rem; }
.answers { display: grid; gap: 10px; }
.ans { background: var(--surface); border-radius: 18px; padding: 14px 18px 16px; border-left: 6px solid var(--border-strong); box-shadow: 0 10px 24px -18px rgba(36, 22, 94, .5); }
.ans p { margin: 0; color: var(--ink); line-height: 1.42; }
.ans-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 1.14rem; color: var(--ink); }
.ans-head img { width: 40px; height: 40px; border-radius: 50%; }
.ans-verdict { font-weight: 800; margin-bottom: 3px !important; }
.is-found { border-left-color: var(--danger); } .is-found .ans-verdict { color: var(--danger); }
.is-may { border-left-color: var(--caution); } .is-may .ans-verdict { color: var(--caution); }
.is-none { border-left-color: var(--safe); } .is-none .ans-verdict { color: var(--safe); }
.demo-foot { margin: 14px 0 0; font-weight: 800; color: var(--ink); }
.demo-small { margin: 6px 0 0; font-size: .92rem; color: var(--ink-muted); }

/* ── The words ────────────────────────────────────────────────────────── */
.h-words { background: var(--accent-darkest); color: #fff; }
.h-words .h-title { color: #fff; max-width: 20ch; }
.word-wall { list-style: none; margin: clamp(26px, 4vw, 44px) 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: clamp(20px, 3vw, 42px); row-gap: 6px; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.4; }
.word-wall li { white-space: nowrap; }
.word-wall .said { font-family: 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif; color: #D9D0FF; }
.word-wall .is { font-size: .58em; color: #BDB2EE; margin: 0 .3em; }
.word-wall .means { font-family: var(--display); font-weight: 800; color: #fff; }
.h-words-foot { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; }
.h-words-foot p { margin: 0; font-size: 1.14rem; line-height: 1.5; max-width: 50ch; color: #F1EDFF; }
.btn-light { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: #fff; color: var(--accent-darkest); font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; }
.btn-light:hover { background: #F1EDFF; }
.btn-light:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ── Honest answers ───────────────────────────────────────────────────── */
.honest-grid { display: grid; grid-template-columns: minmax(0, .9fr) auto auto; gap: clamp(24px, 3.4vw, 46px); align-items: start; }
.honest-copy { position: sticky; top: 96px; }
.honest-points { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.honest-points li { line-height: 1.5; color: var(--ink-muted); font-size: 1.06rem; max-width: 46ch; }
.honest-points strong { display: block; color: var(--ink); font-size: 1.14rem; }
.honest-points .g { color: var(--safe); } .honest-points .a { color: var(--caution); } .honest-points .r { color: var(--danger); }
.honest-grid .phone-real { width: clamp(220px, 21vw, 280px); }
.honest-grid .phone-real.lower { margin-top: clamp(40px, 7vw, 90px); }
.shot-note { font-size: .9rem; color: var(--ink-muted); margin: 26px 0 0; }

/* ── Family ───────────────────────────────────────────────────────────── */
.h-family { background: var(--surface-alt); }
.family-grid { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: clamp(20px, 3.4vw, 46px); align-items: start; }
.family-grid .phone-real { width: clamp(210px, 20vw, 262px); }
.family-grid .phone-real.lower { margin-top: clamp(40px, 7vw, 90px); }
.family-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.family-list li { line-height: 1.5; color: var(--ink-muted); font-size: 1.05rem; }
.family-list strong { display: block; color: var(--ink); font-size: 1.14rem; }

/* ── Story ────────────────────────────────────────────────────────────── */
.h-story { background: var(--ground); }
.story { max-width: 800px; margin: 0 auto; }
.story .h-title { max-width: 18ch; }
.story p { font-size: clamp(1.1rem, 1.7vw, 1.26rem); line-height: 1.6; color: var(--ink); margin: 0 0 18px; }
.story a { color: var(--accent-deep); font-weight: 800; }

/* ── Questions ────────────────────────────────────────────────────────── */
.h-faq { background: var(--surface); }
.faq-list { max-width: 820px; margin-top: 30px; }
.faq-list details { border-top: 1px solid var(--border-strong); }
.faq-list details:last-child { border-bottom: 1px solid var(--border-strong); }
.faq-list summary { cursor: pointer; font-weight: 800; font-size: 1.14rem; padding: 18px 2px; color: var(--ink); }
.faq-list summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.faq-list p { margin: 0 0 20px; color: var(--ink-muted); line-height: 1.6; font-size: 1.05rem; max-width: 68ch; }
.faq-list a { color: var(--accent-deep); font-weight: 700; }

/* ── Last call ────────────────────────────────────────────────────────── */
.h-last { color: #fff; background: linear-gradient(170deg, var(--hdr-1), #33246F); }
.h-last .h-title { color: #fff; margin-bottom: 12px; }
.h-last p.h-lede { color: #F1EDFF; margin-bottom: 26px; }

/* ── Narrow screens ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .h-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .h-hero-copy { padding-bottom: 30px; }
  .demo-grid { grid-template-columns: 1fr; }
  .honest-grid { grid-template-columns: 1fr 1fr; }
  .honest-copy { grid-column: 1 / -1; position: static; }
  .honest-grid .phone-real, .family-grid .phone-real { width: 100%; max-width: 280px; border-radius: 38px; padding: 8px; }
  .honest-grid .phone-real img, .family-grid .phone-real img { border-radius: 30px; }
  .honest-grid .phone-real.lower, .family-grid .phone-real.lower { margin-top: 36px; }
  .family-grid { grid-template-columns: 1fr 1fr; }
  .family-copy { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 560px) {
  .nav a.navlink { display: none; }
  .nav .wrap { flex-wrap: nowrap; height: 66px; }
  .nav .btn { padding-left: 14px; padding-right: 14px; font-size: .92rem; }
  .wl-row { flex-direction: column; border-radius: 26px; padding: 8px; }
  .wl-row input[type="email"] { min-height: 52px; text-align: left; }
  .word-wall li { white-space: normal; }
  .chip small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .w { transition: none; }
}
/* The label is printed paper, and the hero's form is white in either theme. */
.pack-print, .pack-print * { color-scheme: light; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Products and the result. */
.h-products { padding-bottom: 0; }
.products-row { display: block; width: 100%; height: auto; margin-top: clamp(20px, 3vw, 34px); border-radius: 22px; }
.result-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 84px); align-items: center; max-width: 960px; }
.result-grid .phone-real { width: clamp(240px, 26vw, 320px); }
.pack-pair { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; align-items: start; }
.pack-shot { width: 100%; height: auto; border-radius: 16px; }
.label-big { transform: none; }
.h-family .family-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; max-width: 900px; }
@media (max-width: 960px) {
  .result-grid { grid-template-columns: 1fr; justify-items: start; }
  .result-grid .phone-real { justify-self: center; }
}
@media (max-width: 560px) {
  .pack-pair { grid-template-columns: 1fr; }
  .pack-shot { max-width: 180px; }
  .h-family .family-list { grid-template-columns: 1fr; }
}

/* The beta button where the waitlist form was (27 Nov 2026). */
.beta-cta { margin: 20px 0 8px; }
.beta-cta .btn { padding: 16px 28px; font-size: 18px; }
.beta-cta-note { margin: 10px 0 0; font-size: 15px; }
/* On the purple hero the button is white, as the nav's is. */
.h-hero .beta-cta .btn { background: #fff; color: var(--accent-strong); box-shadow: none; }
.h-hero .beta-cta .btn:hover { background: #F1EDFF; }

/* ── Home, rebuilt (28 Nov 2026): how it works, and the four answers ── */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 6vw, 72px); align-items: center; }
.how-steps { list-style: none; counter-reset: step; padding: 0; margin: 26px 0 0; display: grid; gap: 20px; }
.how-steps li { counter-increment: step; position: relative; padding-left: 52px; line-height: 1.5; color: var(--ink-muted); font-size: 1.05rem; max-width: 44ch; }
.how-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-strong); color: #fff; font-weight: 800; display: grid; place-items: center; }
.how-steps strong { display: block; color: var(--ink); font-size: 1.14rem; }
.how-phones { display: flex; gap: clamp(14px, 2vw, 24px); align-items: flex-start; }
.how-phones .phone-real { width: clamp(200px, 19vw, 260px); }
.how-phones .phone-real:last-child { margin-top: clamp(30px, 5vw, 70px); }
.answer-key { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.answer-key li { background: var(--surface, #fff); border: 1px solid var(--border); border-left: 6px solid var(--k); border-radius: 16px; padding: 16px 18px; line-height: 1.45; color: var(--ink-muted); }
.answer-key strong { display: block; color: var(--k); font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 4px; }
.k-flag { --k: var(--danger); } .k-check { --k: var(--caution); } .k-none { --k: var(--safe); } .k-cant { --k: var(--ink-muted); }
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-phones { justify-content: center; }
  .how-phones .phone-real { width: 46%; max-width: 230px; border-radius: 32px; padding: 6px; }
  .how-phones .phone-real img { border-radius: 26px; }
  .answer-key { gap: 10px; }
  .answer-key li { padding: 12px 12px; font-size: .95rem; border-left-width: 5px; }
  .answer-key strong { font-size: 1rem; letter-spacing: .02em; }
}
@media (max-width: 560px) {
  /* Shorter on a phone (28 Nov 2026): a smaller hero phone, and the label
     alone in the demo (the pack shot repeats it). */
  .h-hero-stage .phone-real { width: 230px; padding: 7px; border-radius: 36px; }
  .h-hero-stage .phone-real img { border-radius: 30px; }
  .pack-pair .pack-shot { display: none; }
}
.h-last .beta-cta .btn { background: #fff; color: var(--accent-strong); box-shadow: none; }
.h-last .beta-cta .btn:hover { background: #F1EDFF; }
