[hidden] { display: none !important; }
:root {
  --cream: #F7F2EA;
  --paper: #FBF8F3;
  --sand: #EBDDCA;
  --sand-2: #E2D0B8;
  --ink: #1F2A2E;
  --ink-2: #3A464B;
  --muted: #6B7477;
  --clay: #B9643B;
  --clay-2: #9E5230;
  --sun: #D9895C;
  --night: #1D2742;
  --night-2: #2A3657;
  --moon: #E8D9B5;
  --sage: #7F927A;
  --line: rgba(31, 42, 46, .12);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(31,42,46,.06), 0 10px 30px rgba(31,42,46,.08);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: hidden;
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.6vw, 54px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
em, .it { font-style: italic; }
p { margin: 0 0 1em; }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; display: inline-block; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
sup.ast { font-size: .6em; color: var(--clay); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 17px 30px; text-decoration: none;
  font: 600 16px/1 var(--sans); letter-spacing: .01em; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: 0 6px 18px rgba(31,42,46,.18); }
.btn-primary:hover { background: #2c3a3f; }
.btn-clay { background: var(--clay); color: #fff; box-shadow: 0 6px 18px rgba(185,100,59,.28); }
.btn-clay:hover { background: var(--clay-2); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: rgba(31,42,46,.05); }
.btn-block { width: 100%; }
.link { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }

/* announcement + nav */
.announce { background: var(--ink); color: var(--cream); text-align: center; font-size: 13px; padding: 9px 12px; letter-spacing: .02em; }
.announce b { color: var(--moon); font-weight: 600; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(247,242,234,.88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .logo img { height: 34px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; color: var(--ink-2); }
.nav ul a:hover { color: var(--ink); }
.nav .btn { padding: 12px 20px; font-size: 14px; }
@media (max-width: 860px) { .nav ul { display: none; } }

/* hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 40px; align-items: center; }
.hero h1 em { color: var(--clay); }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-art .disc { position: absolute; inset: 6% 4% 10%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #F3D2B8 0%, #EBDDCA 55%, rgba(235,221,202,0) 72%); }
.hero-art .disc.night { inset: 18% -18% 2% 46%; background: radial-gradient(circle, rgba(29,39,66,.16), rgba(29,39,66,0) 65%); }
.hero-art img { position: relative; width: 92%; margin: 8% auto 0; filter: drop-shadow(0 30px 40px rgba(31,42,46,.18)); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
@media (max-width: 900px) {
  .hero { padding: 28px 0 48px; }
  .hero .grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { max-width: 340px; margin: 4px auto 0; width: 100%; }
}

/* sections */
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.band-sand { background: var(--sand); }
.band-paper { background: var(--paper); }
.band-night { background: var(--night); color: var(--cream); }
.band-night .eyebrow { color: var(--moon); }
.band-night .lede, .band-night .muted { color: rgba(247,242,234,.78); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .lede { margin: 0 auto; }

/* stat */
.stat { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 0 auto; }
.stat .big { font-family: var(--serif); font-size: clamp(88px, 13vw, 168px); line-height: .9; color: var(--clay); letter-spacing: -.04em; }
.stat .big small { font-size: .32em; letter-spacing: 0; color: var(--ink); display: block; margin-top: 10px; font-style: italic; }
@media (max-width: 720px) { .stat { grid-template-columns: 1fr; gap: 12px; text-align: center; } }

/* moments */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.moment .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: var(--sand); }
.moment.night .ico { background: var(--night); }
.moment h3 { margin-bottom: 10px; }
.moment p { color: var(--ink-2); margin: 0; }

/* routine */
.routine { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .routine { grid-template-columns: 1fr; } }
.formula { border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.formula.day { background: var(--sand); }
.formula.night { background: var(--night); color: var(--cream); }
.formula .head { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.formula .head img { width: 110px; flex: none; filter: drop-shadow(0 16px 20px rgba(0,0,0,.18)); }
.formula .when { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.formula ul { list-style: none; padding: 0; margin: 0; }
.formula li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(31,42,46,.14); font-size: 15px; }
.formula.night li { border-color: rgba(247,242,234,.16); }
.formula li span:last-child { opacity: .7; white-space: nowrap; }
.formula .why { font-size: 14px; opacity: .8; margin-top: 18px; }
@media (max-width: 640px) { .formula { padding: 28px 22px; } .formula .head img { width: 84px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.steps > div { counter-increment: s; }
.steps > div::before { content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--clay); display: block; margin-bottom: 10px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* study */
.study { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.study .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.study .fact { background: var(--paper); border-radius: 14px; padding: 18px 20px; }
.study .fact b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--clay); line-height: 1.1; }
.study .fact span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .study { grid-template-columns: 1fr; gap: 28px; } }

/* compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 600 13px/1.3 var(--sans); letter-spacing: .04em; color: var(--muted); }
.compare thead th.us { color: var(--ink); background: var(--sand); }
.compare td.us { background: rgba(235,221,202,.55); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--sage); font-weight: 700; }
.no { color: #b9b2a6; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) { .compare { font-size: 13px; min-width: 560px; } .compare th, .compare td { padding: 12px 10px; } }

/* shop */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.shop-art { position: sticky; top: 96px; background: var(--paper); border-radius: 28px; aspect-ratio: 1/1; display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; }
.shop-art img { width: 78%; transition: opacity .25s ease; filter: drop-shadow(0 26px 30px rgba(31,42,46,.16)); }
.opts { display: grid; gap: 12px; margin: 22px 0; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; text-align: left; transition: border-color .15s, box-shadow .15s; position: relative; }
.opt:hover { border-color: rgba(31,42,46,.35); }
.opt[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(31,42,46,.4); display: grid; place-items: center; }
.opt[aria-checked="true"] .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.opt .t { font-weight: 600; }
.opt .s { font-size: 13px; color: var(--muted); }
.opt .p { text-align: right; font-weight: 600; }
.opt .p s { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.opt .badge { position: absolute; top: -10px; right: 16px; background: var(--clay); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; background: rgba(31,42,46,.06); padding: 5px; border-radius: 999px; margin-bottom: 18px; }
.plans button { border: 0; background: transparent; border-radius: 999px; padding: 12px 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.plans button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(31,42,46,.12); }
.plans button small { display: block; font-weight: 500; font-size: 11px; color: var(--clay); }
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks li::before { content: "✓"; color: var(--sage); font-weight: 700; }
.secure { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; gap: 24px; }
  .shop-art { position: relative; top: 0; max-width: 460px; width: 100%; margin: 0 auto; }
}

/* guarantee */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; }
.seal { width: 170px; height: 170px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--serif); box-shadow: 0 0 0 8px rgba(185,100,59,.15); }
.seal b { display: block; font-size: 58px; font-weight: 400; line-height: 1; }
.seal span { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 720px) { .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; } }

/* care */
.care { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .care { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 21px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 28px/1 var(--sans); color: var(--clay); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-right: 30px; }

/* founder */
.note { max-width: 760px; margin: 0 auto; text-align: center; }
.note blockquote { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; margin: 0 0 26px; }
.sig { font-family: var(--serif); font-style: italic; font-size: 26px; }

/* final cta */
.final { text-align: center; }
.final h2 { max-width: 14em; margin-left: auto; margin-right: auto; }

/* footer */
footer { background: var(--ink); color: rgba(247,242,234,.8); padding: 64px 0 120px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--moon); margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer .disclaimer { border-top: 1px solid rgba(247,242,234,.14); padding-top: 24px; font-size: 12px; line-height: 1.6; color: rgba(247,242,234,.6); }
footer .signup { display: flex; gap: 8px; margin-top: 14px; }
footer .signup input { flex: 1; min-width: 0; border-radius: 999px; border: 1px solid rgba(247,242,234,.25); background: transparent; color: #fff; padding: 12px 16px; font: inherit; }
footer .signup button { border-radius: 999px; border: 0; background: var(--cream); color: var(--ink); padding: 0 18px; font-weight: 600; }
footer .cols > div { min-width: 0; }

@media (max-width: 860px) { footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* sticky mobile cta */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: none; align-items: center; gap: 12px; background: var(--paper); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: 0 10px 30px rgba(31,42,46,.22); transform: translateY(140%); transition: transform .25s ease; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .info { flex: 1; font-size: 13px; line-height: 1.3; }
.sticky-cta .info b { display: block; font-size: 14px; }
.sticky-cta .btn { padding: 13px 18px; font-size: 14px; }
@media (max-width: 900px) { .sticky-cta { display: flex; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(31,42,46,.45); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal .box { background: var(--cream); border-radius: 24px; max-width: 460px; width: 100%; padding: 36px 30px 28px; position: relative; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal .x { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 26px; color: var(--muted); }
.modal input { width: 100%; border: 1.5px solid var(--line); border-radius: 999px; padding: 15px 18px; font: inherit; margin: 12px 0; background: var(--paper); }

/* forms + misc */
.field { display: grid; gap: 6px; margin-bottom: 14px; text-align: left; min-width: 0; }
.field input, .field select { width: 100%; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; background: var(--paper); }
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* page shells (science/quiz/story/legal) */
.page-hero { padding: 72px 0 40px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0 1.6em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-panel { border: 2px solid var(--ink); padding: 14px 16px; max-width: 420px; font: 13px/1.45 var(--sans); background: #fff; }
.facts-panel h4 { font: 800 26px/1 var(--sans); margin: 0 0 4px; letter-spacing: -.01em; }
.facts-panel .thick { border-top: 8px solid var(--ink); margin: 6px 0; }
.facts-panel .thin { border-top: 1px solid var(--ink); }
.facts-panel table { width: 100%; border-collapse: collapse; }
.facts-panel td { padding: 3px 0; border-top: 1px solid var(--ink); }
.facts-panel td:last-child { text-align: right; }

/* promo + renewal disclosure */
.promo { margin: 4px 0 14px; }
.promo-toggle { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.promo-form { display: flex; gap: 8px; margin-top: 8px; }
.promo-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; font: inherit; background: var(--paper); text-transform: uppercase; }
.promo-applied { margin: 8px 0 0; font-size: 14px; color: var(--sage); font-weight: 600; }
.promo-applied button { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 13px; margin-left: 6px; }
.renew { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; text-align: center; }
.perday { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.code-box { display: inline-block; margin-top: 10px; padding: 10px 18px; border: 1.5px dashed var(--clay); border-radius: 12px; font: 700 20px/1 var(--sans); letter-spacing: .12em; color: var(--clay); }

/* landing pages */
.lp-hero { padding: 48px 0 64px; }
.lp-hero .grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; align-items: center; }
.lp-hero.dark { background: var(--night); color: var(--cream); }
.lp-hero.dark .lede { color: rgba(247,242,234,.82); }
.lp-hero.dark .eyebrow { color: var(--moon); }
.lp-hero.dark h1 em { color: var(--moon); }
.lp-hero h1 em { color: var(--clay); }
.lp-hero img.art { width: 100%; max-width: 460px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sun); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
.lp-hero.dark .checks li::before { background: var(--moon); color: var(--night); }
.article { max-width: 720px; margin: 0 auto; }
.article h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 1.4em; }
.article p { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.article .pull { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--clay); padding-left: 22px; margin: 32px 0; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.timeline > div { background: var(--paper); border-radius: 16px; padding: 22px; }
.timeline b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--clay); display: block; margin-bottom: 6px; }
@media (max-width: 900px) { .lp-hero .grid { grid-template-columns: 1fr; } .timeline { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-2); margin: 0 0 12px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--clay); }
.consent.err span { color: #b03a2e; }
.plans button small { white-space: nowrap; }

/* keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
.opt:focus-visible { outline-offset: 2px; border-radius: 16px; }
