/* REGIME LONGEVITY WEBSITE: one stylesheet for every page (11 Oct 2026).
   Same look as the app: Fraunces titles, Figtree text, crimson #AD0529 actions, phase colours.
   Fonts are served from this site, except the logo's Playfair Display (as in the app). */

@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-latin.woff2') format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-latin-ext.woff2') format('woff2'); font-weight: 300 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-latin-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --bg: #FEF9FB; --surface: #FFFFFF; --text: #2D2D2D; --text-2: #4A4A4A; --muted: #5E5E5E; --faint: #6B6B6B;
  --line: #EFE4E8; --crimson: #AD0529; --crimson-dark: #8E0422; --ink: #1F1A1C; --blush: #FBF1F4; --lilac: #F5F0FF;
  --menstrual: #AD0529; --follicular: #D49DFF; --ovulation: #82EEFD; --luteal: #9D8DFF;
  --radius: 32px; --shadow: 0 20px 50px rgba(60, 10, 30, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 'Figtree', system-ui, -apple-system, sans-serif; }
img, video { max-width: 100%; display: block; }
a { color: var(--crimson); }
a:hover { color: #7E031E; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.serif { font-family: 'Fraunces', Georgia, serif; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); }
.lead { font-size: 20px; line-height: 1.55; color: var(--text-2); }
.sub { font-size: 18px; color: var(--text-2); }
.small { font-size: 14px; color: var(--muted); }
.tiny { font-size: 13px; color: var(--faint); }
.h1 { font-size: 66px; line-height: 1.04; color: var(--ink); letter-spacing: -0.02em; }
.h2 { font-size: 46px; line-height: 1.1; }
.h1 em, .h2 em { font-style: italic; }
.accent { color: var(--crimson); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.section { padding: 96px 0; }
.section.white { background: var(--surface); }
.head { max-width: 760px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #7E031E; outline-offset: 3px; }

/* Logo: same as the app (CORE_APP/NAVIGATION_AND_UI/REGIME_LOGO) */
.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; position: relative; padding-bottom: 8px; white-space: nowrap; }
.logo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: linear-gradient(90deg, transparent 0%, rgba(177, 6, 36, .6) 50%, transparent 100%); }
.logo-mark { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-style: italic; font-size: 26px; letter-spacing: -0.02em; color: #B10624; line-height: 1; }
.logo-ext { font-family: 'Figtree', system-ui, sans-serif; font-weight: 300; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: #9E9E9E; line-height: 1; }

/* Buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--crimson); color: #fff; text-decoration: none; border: 0; border-radius: 18px; min-height: 56px; padding: 0 30px; font: 600 17px/1.2 'Figtree', sans-serif; text-align: center; cursor: pointer; }
.cta:hover { color: #fff; background: var(--crimson-dark); }
.cta.big { min-height: 60px; font-size: 18px; }
.cta.block { width: 100%; }
.cta.small { min-height: 44px; font-size: 14px; padding: 0 18px; border-radius: 14px; }
.cta[aria-busy="true"] { opacity: .7; pointer-events: none; }
.ghost { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--text); color: var(--text); text-decoration: none; border-radius: 18px; min-height: 52px; padding: 0 24px; font-weight: 600; font-size: 16px; }
.ghost:hover { color: #000; background: #fff; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #141414; color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 20px; min-height: 48px; }
.store:hover { color: #fff; background: #000; }
.store small { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store b { display: block; font-size: 17px; line-height: 1.15; }

/* Offer bar + header */
.offerbar { display: block; background: var(--crimson); color: #fff; text-decoration: none; text-align: center; font-size: 14px; font-weight: 500; padding: 10px 16px; line-height: 1.4; }
.offerbar:hover { color: #fff; background: var(--crimson-dark); }
.offerbar u { text-underline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(254, 249, 251, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(173, 5, 41, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.site-nav { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 500; }
.site-nav a:not(.cta) { color: var(--text-2); text-decoration: none; }
.site-nav a:not(.cta):hover { color: var(--crimson); }

/* Hero */
.hero { padding: 64px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text-2); }
.checks li { display: flex; gap: 8px; align-items: center; }
.tick { flex: none; width: 18px; height: 18px; stroke: var(--crimson); }
.hero-media { position: relative; min-height: 600px; }
.hero-photo { width: 82%; height: 640px; object-fit: cover; border-radius: var(--radius); }
.phone { position: absolute; right: 0; bottom: -40px; width: 230px; border-radius: 40px; padding: 8px; background: #141414; box-shadow: 0 30px 60px rgba(60, 10, 30, .28); }
.phone video { width: 100%; border-radius: 32px; aspect-ratio: 9 / 19.5; object-fit: cover; background: #222; }
.chip { position: absolute; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 117, 143, .18); border-radius: 22px; padding: 14px 18px; box-shadow: 0 12px 30px rgba(60, 10, 30, .1); font-size: 14px; line-height: 1.38; }
.chip-phase { left: -12px; top: 44px; display: flex; gap: 12px; align-items: center; }
.chip-plan { left: 24px; bottom: 36px; max-width: 250px; }
.chip b { font-weight: 600; }
.chip .label { display: block; font-size: 12px; font-weight: 600; color: var(--crimson); }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); display: inline-block; }

/* Pain */
.pain-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pain { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pain img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.pain figcaption { display: flex; flex-direction: column; gap: 6px; }
.pain .when { font-size: 13px; font-weight: 600; color: var(--faint); }
.pain .what { font-size: 16px; line-height: 1.45; }
.pain .answer { font-size: 15px; line-height: 1.45; border-top: 1px solid #F1E6EA; padding-top: 8px; }
.pain .answer b { color: var(--crimson); }

/* Phase checker */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.two.top { align-items: start; }
.fields { display: flex; flex-wrap: wrap; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; flex: 1 1 200px; }
.field.narrow { flex: 0 1 160px; }
.input { height: 52px; border-radius: 16px; border: 1px solid #E3D3DA; padding: 0 14px; font: 500 17px 'Figtree', sans-serif; background: #fff; color: var(--text); width: 100%; }
.result { background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); border-top: 6px solid var(--result-color, #E3D3DA); }
.result h3 { font-size: 32px; line-height: 1.15; }
.result .meta { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tips { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: tip; }
.tips li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; counter-increment: tip; }
.tips li::before { content: counter(tip); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blush); color: var(--crimson); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.phase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.phase-card { border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 6px; background: rgba(255, 255, 255, .55); border: 2px solid transparent; }
.phase-card.on { background: #fff; border-color: var(--pc); }
.phase-card .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.phase-card .here { display: none; font-size: 12px; font-weight: 700; color: var(--crimson); }
.phase-card.on .here { display: inline; }
.phase-card h3 { font-size: 22px; font-weight: 500; }
.phase-card p { font-size: 15px; color: var(--text-2); }

/* Forms (email) */
.signup { display: flex; flex-direction: column; gap: 10px; }
.signup-row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-row .input { flex: 1 1 200px; width: auto; height: 50px; }
.btn-dark { height: 50px; border-radius: 14px; border: 0; background: var(--text); color: #fff; font: 700 16px 'Figtree', sans-serif; padding: 0 20px; cursor: pointer; }
.btn-dark:hover { background: #000; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--faint); }
.consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--crimson); }
.form-msg { font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: #1E6B3A; }
.form-msg.err { color: var(--crimson); }
.hp { position: absolute; left: -5000px; }

/* How it works */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step .n { font-family: 'Fraunces', serif; font-size: 44px; line-height: 1; color: var(--crimson); }
.step h3 { font-size: 24px; font-weight: 500; margin: 10px 0 8px; }
.step p { font-size: 16px; color: var(--text-2); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feat { background: var(--blush); border-radius: var(--radius); padding: 32px 28px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.feat:nth-child(even) { background: var(--lilac); }
.feat h3 { font-size: 24px; font-weight: 500; }
.feat p { font-size: 15px; color: var(--text-2); }
.feat img { width: 72%; align-self: center; margin-top: 18px; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px rgba(60, 10, 30, .12); }

/* Mission */
.mission { position: relative; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.mission > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mission::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 14, 0) 30%, rgba(20, 10, 14, .8) 100%); z-index: 1; }
.mission .wrap { position: relative; z-index: 2; padding-top: 200px; padding-bottom: 72px; width: 100%; }
.mission .inner { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.mission .eyebrow { color: #FFD6E0; }
.mission h2 { color: #fff; font-size: 50px; line-height: 1.08; }
.mission p { font-size: 19px; color: #F4ECEF; }

/* Comparison */
.table-box { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px rgba(60, 10, 30, .06); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 16px 12px; text-align: center; }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 22px; padding-bottom: 22px; }
.compare thead th.us { background: var(--crimson); color: #fff; font-weight: 700; font-size: 15px; }
.compare tbody tr { border-top: 1px solid #F1E6EA; }
.compare tbody th { text-align: left; padding-left: 28px; font-weight: 500; }
.compare thead th:first-child { text-align: left; padding-left: 28px; }
.compare .yes { color: var(--crimson); }
.compare .no { color: #8A8A8A; }
.compare .us { background: var(--blush); color: var(--crimson); font-weight: 700; }

/* Trust */
.card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 22px; font-weight: 500; }
.card p { font-size: 15px; color: var(--text-2); }
.card.photo { padding: 0; overflow: hidden; }
.card.photo img { width: 100%; height: 200px; object-fit: cover; }
.card.photo .body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.icon { width: 30px; height: 30px; stroke: var(--crimson); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.plan .name { font-size: 15px; font-weight: 600; }
.plan .price { font-family: 'Fraunces', serif; font-size: 44px; line-height: 1; }
.plan .per { font-size: 16px; color: var(--muted); }
.plan.featured { border: 2px solid var(--crimson); padding: 36px; gap: 16px; background: #fff; box-shadow: 0 30px 60px rgba(173, 5, 41, .14); }
.plan.featured .price { font-size: 62px; color: var(--crimson); }
.plan .was { font-size: 22px; color: #8A8A8A; }
.badge { align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: var(--crimson); border-radius: 999px; padding: 5px 12px; }
.perks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.perks li { display: flex; gap: 10px; }
.perks .tick { margin-top: 3px; }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { font-size: 26px; font-weight: 300; color: var(--crimson); transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--text-2); }

/* Final */
.final { position: relative; overflow: hidden; color: #fff; }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.final::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 10, 14, .84) 0%, rgba(20, 10, 14, .6) 55%, rgba(20, 10, 14, .25) 100%); }
.final .wrap { position: relative; z-index: 2; padding-top: 112px; padding-bottom: 112px; }
.final .inner { max-width: 600px; display: flex; flex-direction: column; gap: 22px; }
.final h2 { color: #fff; font-size: 56px; line-height: 1.05; }
.final p { color: #F4ECEF; }
.final .signup { margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.final .signup label { font-size: 15px; font-weight: 600; color: #fff; }
.final .input { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.final .input::placeholder { color: rgba(255, 255, 255, .7); }
.final .btn-dark { background: #fff; color: var(--ink); }
.final .consent { color: #E2D6DB; }
.final .consent a { color: #FFB3C4; }
.final .form-msg.ok { color: #B8F0C8; }
.final .form-msg.err { color: #FFB3C4; }

/* Footer */
.site-footer { padding: 56px 0 40px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 14px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot-grid nav strong { font-weight: 600; }
.foot-grid nav a { color: var(--muted); text-decoration: none; }
.foot-grid nav a:hover { color: var(--crimson); }
.foot-note { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; color: var(--faint); }

/* Sticky phone bar */
.mbar { display: none; position: sticky; bottom: 0; z-index: 20; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid #F1E6EA; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; }
.mbar .cta { min-height: 48px; padding: 0 20px; font-size: 15px; }

/* Founding on/off: site.js sets html.founding-open once the server says the window is open */
html:not(.founding-open) [data-founding] { display: none !important; }
html.founding-open [data-no-founding] { display: none !important; }

/* Article pages */
.article-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding: 24px 0 96px; }
.article { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; font-size: 18px; line-height: 1.7; }
.article h1 { font-size: 50px; line-height: 1.08; }
.article h2 { font-size: 30px; font-weight: 500; }
.article section { display: flex; flex-direction: column; gap: 10px; }
.toc { flex: 1 1 240px; position: sticky; top: 92px; background: #fff; border-radius: 24px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; }
.toc strong { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--crimson); }
.crumbs { padding-top: 28px; font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--faint); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.answer-box { background: #fff; border: 1px solid rgba(255, 117, 143, .2); border-radius: 24px; padding: 26px 28px; }
.answer-box h2 { font-family: 'Figtree', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--crimson); margin-bottom: 10px; }
.answer-box p { font-size: 19px; line-height: 1.6; }
.glance { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.glance th, .glance td { padding: 14px 20px; text-align: left; }
.glance thead tr { background: var(--blush); }
.glance tbody tr { border-top: 1px solid #F1E6EA; }
.inline-cta { background: var(--ink); color: #fff; border-radius: 28px; padding: 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.inline-cta strong { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 400; display: block; }
.inline-cta span { color: #E9DFE3; font-size: 16px; }
.sources { border-top: 1px solid var(--line); padding-top: 24px; }
.sources ol { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.55; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 18px; text-decoration: none; color: var(--text); font-size: 16px; font-weight: 500; }
.pill:hover { color: var(--crimson); }

/* Small pages (welcome, cheat sheet, list messages) */
.narrow { max-width: 640px; margin: 0 auto; padding: 48px 20px 80px; display: flex; flex-direction: column; gap: 22px; }
.center { text-align: center; align-items: center; }
.big-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--crimson); display: flex; align-items: center; justify-content: center; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #F3D9E1; color: var(--crimson); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps li:first-child .n { background: var(--crimson); color: #fff; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sheet { background: #fff; border-radius: 24px; padding: 22px; border-top: 6px solid var(--pc); display: flex; flex-direction: column; gap: 8px; }
.sheet dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.sheet dt { font-weight: 700; }
.sheet dd { margin: 0; color: var(--text-2); }

@media (max-width: 980px) {
  .hero-grid, .two { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pain-grid, .phase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid, .three, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .plan.featured { order: -1; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hide-sm { display: none; }
  .toc { position: static; order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 72px; }
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .h1 { font-size: 42px; }
  .h2, .mission h2 { font-size: 32px; }
  .final h2 { font-size: 40px; }
  .article h1 { font-size: 36px; }
  .hero-media { min-height: 0; }
  .hero-photo { width: 100%; height: 440px; }
  .phone { width: 150px; bottom: -28px; border-radius: 28px; padding: 6px; }
  .phone video { border-radius: 22px; }
  .chip-plan { display: none; }
  .chip-phase { left: 8px; top: 12px; }
  .plan.featured { padding: 28px 20px; }
  .plan.featured .price { font-size: 52px; }
  .mbar { display: flex; }
  .sheet-grid { grid-template-columns: minmax(0, 1fr); }
  .logo-mark { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .offerbar, .mbar, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ═════════════════════════════════════════════════════════════════════════════
   PERIOD GLASS: every card on the site wears the app's pop-up look (owner, 11 Oct 2026).
   Values copied from the app's light mode: CORE_APP/HORMONAL_CYCLE/MENSTRUAL_CALENDAR/styles/
   CalendarModal.css and SHARED_UI/styles/PeriodGlass.css. Keep in step with them.
   ═════════════════════════════════════════════════════════════════════════════ */
:root {
  --pg-card-bg: linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(245, 235, 255, .6) 40%, rgba(220, 200, 255, .4) 100%);
  --pg-card-inner: linear-gradient(178deg, rgba(255, 255, 255, .95) 0%, rgba(240, 230, 255, .6) 50%, rgba(255, 255, 255, 0) 100%);
  --pg-border: 3px solid rgba(255, 255, 255, .8);
  --pg-shadow: 0 20px 80px rgba(160, 120, 255, .2), 0 1.2px 15px rgba(69, 43, 125, .25), inset 0 0 40px rgba(230, 210, 255, .3);
  --pg-radius: 40px;
  --pg-text: #452B7D;
  --pg-text-2: #6D4EB3;
  --pg-glow: 0 2px 10px rgba(160, 120, 255, .2);
  --pg-divider: rgba(160, 120, 255, .15);
  --jewel-bg: rgba(255, 255, 255, .5);
  --jewel-border: rgba(255, 255, 255, .9);
  --jewel-shadow: 0 4px 8px rgba(160, 120, 255, .1), inset 0 -1px 2px rgba(160, 120, 255, .1), inset 0 1px 2px #fff;
}
/* Lavender wash behind glass, like the app's pop-up overlay */
.lav { background:
  radial-gradient(620px 420px at 88% 18%, rgba(212, 157, 255, .32), transparent 70%),
  radial-gradient(520px 420px at 6% 88%, rgba(157, 141, 255, .22), transparent 70%),
  linear-gradient(180deg, #FEF9FB 0%, #F6F0FF 50%, #FEF9FB 100%); }
.glass, .card, .plan, .feat, .answer-box, .toc, .sheet, .inline-cta {
  position: relative;
  background: var(--pg-card-inner), var(--pg-card-bg);
  -webkit-backdrop-filter: blur(40px) saturate(2);
  backdrop-filter: blur(40px) saturate(2);
  border: var(--pg-border);
  box-shadow: var(--pg-shadow);
  border-radius: var(--pg-radius);
  color: var(--pg-text);
}
.glass h2, .glass h3, .card h3, .plan .price, .feat h3, .sheet h2, .inline-cta strong, .answer-box p { color: var(--pg-text); text-shadow: var(--pg-glow); }
.card p, .feat p, .plan .small, .plan .per, .sheet dd, .toc a, .inline-cta span, .glass .muted { color: var(--pg-text-2); }
.plan .name, .sheet dt, .card strong { color: var(--pg-text); }
.feat:nth-child(even) { background: var(--pg-card-inner), var(--pg-card-bg); }
.feat img { box-shadow: 0 -10px 40px rgba(69, 43, 125, .14); }
.card.photo img { border-radius: 37px 37px 0 0; }
.plan { gap: 14px; }
.plan .was { color: #8C7BB0; }
.plan.featured { border: var(--pg-border); box-shadow: var(--pg-shadow), 0 0 0 2px var(--crimson), 0 30px 60px rgba(173, 5, 41, .12); }
.plan.featured .price { color: var(--crimson); text-shadow: none; }
.plan .perks li { color: var(--pg-text); }
.ghost { border-color: var(--pg-text); color: var(--pg-text); background: var(--jewel-bg); }
.answer-box h2 { color: var(--crimson); }
.toc strong { color: var(--pg-text-2); }
.sheet { border-top: var(--pg-border); }
.sheet h2 .small { color: var(--pg-text-2); }
.sheet::after { content: ''; position: absolute; top: 18px; right: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 10px var(--pc); border: 1.5px solid rgba(255, 255, 255, .6); }
.inline-cta { padding: 30px; }

/* Jewel: the glossy bubble used for fields, chips and days */
.jewel { position: relative; background: var(--jewel-bg); border: 1px solid var(--jewel-border); box-shadow: var(--jewel-shadow); color: var(--pg-text); }
.jewel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .4) 0%, transparent 60%); }
.glass .input, .glass .input:focus { background: var(--jewel-bg); border: 1px solid var(--jewel-border); box-shadow: var(--jewel-shadow); color: var(--pg-text); }
.glass .input::placeholder { color: #9C88C9; }
.glass .consent { color: var(--pg-text-2); }
.glass .btn-dark { background: var(--crimson); box-shadow: 0 12px 28px rgba(173, 5, 41, .25); border-radius: 18px; }
.glass .btn-dark:hover { background: var(--crimson-dark); }

/* ── Phase checker: the Log period calendar ── */
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-areas: 'head cal' 'today cal'; gap: 28px 56px; align-items: start; }
.try-head { grid-area: head; }
.cal { grid-area: cal; padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.cal::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(160, 120, 255, .4) 0%, transparent 70%); filter: blur(30px); z-index: -1; pointer-events: none; }
.today-card { grid-area: today; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; letter-spacing: -.5px; color: var(--pg-text); text-shadow: var(--pg-glow); margin: 0; }
.cal-hint { text-align: center; font-size: 14px; color: var(--pg-text-2); margin-top: -6px; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; line-height: 1; }
.cal-nav:hover { background: rgba(255, 255, 255, .8); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; justify-items: center; }
.cal-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pg-text-2); padding-bottom: 2px; }
.day { width: 100%; max-width: 42px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 14px 'Figtree', sans-serif; cursor: pointer; padding: 0; transition: transform .3s cubic-bezier(.23, 1, .32, 1); }
.day:hover:not([disabled]) { transform: scale(1.08); }
.day[disabled] { cursor: default; }
.day.ph { color: var(--pg-text); border-color: color-mix(in srgb, var(--pc) 55%, #fff 45%); background: linear-gradient(145deg, color-mix(in srgb, var(--pc) 32%, #fff 68%), color-mix(in srgb, var(--pc) 58%, #fff 42%)); box-shadow: 0 5px 12px color-mix(in srgb, var(--pc) 22%, transparent), inset 0 -3px 6px rgba(0, 0, 0, .06), inset 0 3px 6px rgba(255, 255, 255, .6); }
.day.ph-menstrual { color: #fff; border-color: rgba(255, 23, 68, .4); background: linear-gradient(145deg, #FF2E4D, #AD0529); box-shadow: 0 6px 15px rgba(255, 23, 68, .3), inset 0 -4px 8px rgba(0, 0, 0, .4), inset 0 4px 8px rgba(255, 255, 255, .5); }
.day.ahead { opacity: .55; filter: saturate(.75); }
.day.ahead.ph-menstrual { opacity: 1; filter: none; color: var(--pg-text); background: rgba(220, 80, 100, .1); border: 2px dashed rgba(180, 40, 70, .6); box-shadow: none; }
.day.today { border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3), 0 8px 20px rgba(160, 120, 255, .4); transform: scale(1.05); }
.day.start { transform: scale(1.18); border: 2px solid #fff; z-index: 2; box-shadow: 0 12px 24px rgba(160, 120, 255, .45), inset 0 -4px 8px rgba(0, 0, 0, .35), inset 0 4px 8px rgba(255, 255, 255, .5); }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--pg-divider); }
.legend span { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--pg-text); }
.legend i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--pc); box-shadow: 0 0 10px var(--pc); border: 1.5px solid rgba(255, 255, 255, .5); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--pg-divider); font-size: 14px; font-weight: 700; color: var(--pg-text); }
.stepper .ctrl { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; font: 700 20px 'Figtree', sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.stepper output { min-width: 64px; text-align: center; font-family: 'Fraunces', serif; font-size: 20px; }
.today-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--pg-text-2); }
.today-meta i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--pc, #A096BE); box-shadow: 0 0 10px var(--pc, #A096BE); border: 1.5px solid rgba(255, 255, 255, .6); }
.today-card h3 { font-size: 32px; line-height: 1.15; font-weight: 600; }
.today-tips { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.today-tips li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; color: var(--pg-text); }
.today-tips li b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--pg-text); border: 1px solid color-mix(in srgb, var(--pc, #A096BE) 60%, #fff 40%); background: linear-gradient(145deg, color-mix(in srgb, var(--pc, #A096BE) 45%, #fff 55%), color-mix(in srgb, var(--pc, #A096BE) 75%, #fff 25%)); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .12), inset 0 3px 6px rgba(255, 255, 255, .5); }
.today-card .signup { border-top: 1px solid var(--pg-divider); padding-top: 16px; }
.today-card .signup > label { font-size: 15px; font-weight: 700; color: var(--pg-text); }
@media (max-width: 980px) {
  .try-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'cal' 'today'; }
  .cal { max-width: 460px; width: 100%; justify-self: center; }
}
@media (max-width: 600px) {
  .cal { padding: 20px 14px 18px; border-radius: 32px; }
  .cal-grid { gap: 6px; }
  .today-card { padding: 22px 18px; border-radius: 32px; }
  .today-card h3 { font-size: 26px; }
  .glass, .card, .plan, .feat, .answer-box, .toc, .sheet, .inline-cta { border-radius: 32px; }
}
/* Table and hero chips wear the glass too */
.table-box { background: var(--pg-card-inner), var(--pg-card-bg); border: var(--pg-border); box-shadow: var(--pg-shadow); border-radius: var(--pg-radius); }
.compare tbody th, .compare .no { color: var(--pg-text); }
.compare .no { color: #8C7BB0; }
.compare tbody tr { border-top-color: var(--pg-divider); }
.compare .us { background: rgba(255, 255, 255, .55); }
.chip { background: var(--pg-card-inner), var(--pg-card-bg); border: var(--pg-border); box-shadow: var(--pg-shadow); color: var(--pg-text); border-radius: 26px; }
.chip .small { color: var(--pg-text-2); }
/* Pre-launch: until Apple lists the app, App Store buttons become "Join the launch list".
   The server sets html.prelaunch (Website.ts checks Apple's lookup every 30 minutes). */
html.prelaunch [data-app] { display: none !important; }
html:not(.prelaunch) [data-prelaunch] { display: none !important; }
/* Two plans (founding closed): centre them instead of leaving an empty third column */
html:not(.founding-open) .price-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); max-width: 860px; margin: 0 auto; }
@media (max-width: 980px) { html:not(.founding-open) .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* Images keep their real shape (the width/height attributes only reserve space).
   Without this, screenshots were stretched to their full pixel height. */
img { height: auto; }

/* ── Inside the app: one phone, tabs switch the screen ── */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 64px; align-items: center; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab { text-align: left; border: 0; background: transparent; padding: 16px 20px; border-radius: 24px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--pg-text); font: inherit; transition: background .25s, box-shadow .25s; }
.tab:hover { background: rgba(255, 255, 255, .5); }
.tab-title { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; color: var(--pg-text-2); }
.tab-desc { display: none; font-size: 16px; line-height: 1.5; color: var(--pg-text-2); }
.tab[aria-selected="true"] { background: var(--pg-card-inner), var(--pg-card-bg); border: var(--pg-border); box-shadow: var(--pg-shadow); padding: 18px 22px; }
.tab[aria-selected="true"] .tab-title { color: var(--pg-text); text-shadow: var(--pg-glow); }
.tab[aria-selected="true"] .tab-desc { display: block; }
.device-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.device-wrap::before { content: ''; position: absolute; inset: 8% -10% 10%; background: radial-gradient(closest-side, rgba(160, 120, 255, .35), transparent); filter: blur(30px); z-index: 0; }
.device { position: relative; z-index: 1; width: 100%; max-width: 330px; aspect-ratio: 9 / 19; border-radius: 52px; padding: 10px; background: #141414; box-shadow: 0 40px 80px rgba(69, 43, 125, .35), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 42px; display: block; transition: opacity .25s; }
.device img.swap { opacity: 0; }
.device-desc { display: none; position: relative; z-index: 1; text-align: center; font-size: 16px; color: var(--pg-text-2); max-width: 340px; }

/* ── And there's more: small glass cards ── */
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card.more { padding: 24px; border-radius: 32px; gap: 8px; }
.card.more h3 { font-size: 20px; }
.card.more p { font-size: 15px; line-height: 1.45; }
.more-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.more-top .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--jewel-bg); border: 1px solid var(--jewel-border); box-shadow: var(--jewel-shadow); stroke: var(--crimson); }
.soon { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6D4EB3; background: rgba(212, 157, 255, .25); border: 1px solid rgba(212, 157, 255, .5); border-radius: 999px; padding: 4px 10px; }

@media (max-width: 980px) {
  .showcase { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .device-wrap { order: -1; }
  .tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
  .tab { flex: none; scroll-snap-align: start; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid var(--jewel-border); }
  .tab-title { font-family: 'Figtree', sans-serif; font-size: 15px; font-weight: 600; }
  .tab[aria-selected="true"] { padding: 10px 16px; border-width: 2px; }
  .tab[aria-selected="true"] .tab-desc { display: none; }
  .device-desc { display: block; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .device { max-width: 270px; border-radius: 44px; padding: 8px; }
  .device img { border-radius: 36px; }
  .more-grid { gap: 12px; }
  .card.more { padding: 18px; border-radius: 26px; }
  .card.more h3 { font-size: 17px; }
  .card.more p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .device img { transition: none; } }
/* Guides on the home page: glass cards that are links */
.card.guide { text-decoration: none; padding: 24px; border-radius: 32px; gap: 8px; transition: transform .2s; }
.card.guide:hover { transform: translateY(-3px); }
.card.guide h3 { font-size: 20px; }
.card.guide p { font-size: 15px; }
.guide-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--crimson); }
.more-grid.guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .more-grid.guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .more-grid.guides { grid-template-columns: minmax(0, 1fr); } }
/* Guide pages: "On this page" sticks beside the article on desktop, sits in the flow on phones
   (the glass rule above gave it position: relative, so top: 92px pushed it over the headline). */
.toc { position: sticky; top: 92px; }
@media (max-width: 980px) { .toc { position: static; top: auto; } }
@media (max-width: 980px) { .toc { display: none; } }
/* Founder page */
.founder { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: start; padding: 28px 0 96px; }
.founder:not(:has(.founder-photo)) { grid-template-columns: minmax(0, 720px); }
.founder-photo { position: sticky; top: 96px; border-radius: var(--pg-radius); padding: 10px; background: var(--pg-card-inner), var(--pg-card-bg); border: var(--pg-border); box-shadow: var(--pg-shadow); }
.founder-photo img { width: 100%; border-radius: 32px; display: block; }
.founder-text { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.7; max-width: 680px; }
.founder-text h1 { font-size: 50px; line-height: 1.08; }
.founder-lead { font-family: 'Fraunces', serif; font-style: italic; font-size: 26px; color: var(--crimson); }
.founder-sign { font-family: 'Fraunces', serif; font-size: 22px; margin-top: 8px; }
.founder-sign span { font-family: 'Figtree', sans-serif; font-size: 14px; color: var(--muted); }
@media (max-width: 980px) {
  .founder { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .founder-photo { position: static; max-width: 360px; }
  .founder-text h1 { font-size: 38px; }
}
/* Grid children may shrink, so the phone tab strip scrolls inside itself instead of widening the page */
.showcase > *, .tabs { min-width: 0; max-width: 100%; }
/* Decorative glows stay inside their box, and nothing decorative can widen the page.
   (clip, not hidden: it keeps the sticky header and the sticky phone bar working) */
.device-wrap::before { inset: 8% 0 10%; }
.cal::before { right: 0; top: 0; }
html, body { overflow-x: clip; }

/* Cancel contracts here (/cancel, 20 Oct 2026) */
.text-link { background: none; border: 0; padding: 10px 0; min-height: 44px; font: 600 15px 'Figtree', sans-serif; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: center; }
.text-link:hover { color: var(--crimson); }
.member h2 { font-size: 24px; font-weight: 500; }
.member .facts { font-size: 15px; color: var(--text-2); }
.member .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.member .withdraw { border-top: 1px solid #F1E6EA; margin-top: 14px; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.member .ghost { background: transparent; cursor: pointer; font-family: 'Figtree', sans-serif; }
.member .confirm-box { display: flex; flex-direction: column; gap: 10px; }
/* The cancel page shows one step at a time; .card's display:flex must not override [hidden]. */
[data-cancel] [hidden] { display: none !important; }
[data-cancel] .field { flex: none; }
