/* PMS Reminder landing page. Palette follows the app's Theme.swift tokens (design-prototype/tokens.css). */

:root {
  --night: #1B0E25;          /* female dark background */
  --night-2: #2D1438;        /* female dark backgroundBottom */
  --deep: #120819;
  --plum: #2C1338;           /* onAccent / heroBand */
  --heather: #412A4C;        /* textPrimary (light) */
  --mauve: #6B5A74;          /* textSecondary (light) */
  --bone: #FEFBFA;
  --petal: #FCF1F8;
  --line: #F3E3EF;
  --magenta: #E57CD8;
  --ink: #A63E93;            /* accentInk (light) */
  --pink: #FF4DA8;           /* accent (female dark) */
  --cyan: #22D3EE;           /* accent (male) */
  --amber: #FFDE91;          /* highlight: Premium only */
  --lilac: #B4A8C2;          /* textSecondary (dark) */

  --p-men: #C79BE0; --p-fol: #9FD5B5; --p-ovu: #FFD98A; --p-lut: #F4A6A0;

  --symMood: #9B5FC0; --symIrritability: #C8701F; --symAnxiety: #C2484A;
  --symDepression: #4F7FC9; --symBloating: #367D59; --symCramps: #9C7A12;
  --symHeadache: #C2486E; --symFatigue: #6A6FD0; --symCravings: #9C7A12;
  --symInsomnia: #6A6FD0; --symBreast: #C2486E; --symAcne: #C2484A;
  --symBack: #C8701F; --symJoint: #4F7FC9;

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Instrument Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
html { overflow-x: clip; }
body { font: 400 17px/1.55 var(--text); color: #fff; background: var(--night); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--plum); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.display { font-family: var(--display); font-stretch: 75%; font-weight: 800; letter-spacing: -.012em; line-height: .94; margin: 0; text-wrap: balance; }

/* ---------- App Store button ---------- */
.store { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.28); border-radius: 14px; padding: 9px 20px 9px 16px; transition: transform .2s var(--ease), border-color .2s; }
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; font: 600 22px/1 var(--ios); letter-spacing: -.01em; }
.store small { font: 500 11.5px/1.2 var(--ios); letter-spacing: .01em; margin-bottom: 2px; }
.store:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.6); }
.store-sm { white-space: nowrap; padding: 8px 14px 8px 12px; border-radius: 100px; font: 600 14px var(--text); gap: 7px; }
.store-sm svg { width: 16px; height: 16px; }
.store-lg { padding: 12px 26px 12px 20px; border-radius: 16px; }
.store-lg svg { width: 32px; height: 32px; }
.store-lg span { font-size: 27px; }
.store-lg small { font-size: 13px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter);
  transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(27, 14, 37, .9); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: rgba(255,255,255,.07); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); font-stretch: 90%; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { margin-left: auto; display: flex; gap: 6px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--lilac); padding: 8px 12px; border-radius: 100px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }

/* ---------- Phone frame ---------- */
.phone { --w: 290px; margin: 0; width: var(--w); aspect-ratio: 440 / 956; padding: calc(var(--w) * .028);
  border-radius: calc(var(--w) * .155); background: linear-gradient(145deg, #4a3a55, #15101a 40%, #2b2231);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.6); position: relative; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden; background: #000; isolation: isolate; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Notification (iOS banner) ---------- */
.notif { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 22px;
  background: rgba(58, 40, 68, .72); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); font: 14px/1.3 var(--ios); color: #fff; text-align: left; }
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif b, .notif strong { display: block; font-weight: 600; }
.notif p { margin: 1px 0 0; }
.notif time { font-size: 12px; color: rgba(255,255,255,.55); }
.notif.light { background: rgba(255,255,255,.82); color: #1d1320; border-color: rgba(65,42,76,.08); box-shadow: 0 12px 30px -10px rgba(65,42,76,.25); }
.notif.light time { color: #7d7280; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  gap: 24px; padding: 110px max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter))) 60px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 55% at 78% 40%, rgba(255,77,168,.20), transparent 70%),
              radial-gradient(45% 45% at 15% 85%, rgba(147,51,234,.16), transparent 70%),
              linear-gradient(180deg, var(--night), var(--night-2)); }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(46px, 6.1vw, 108px); }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .l2 { color: var(--amber); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--lilac); max-width: 34em; margin: 28px 0 0; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 36px; }
.hero-note { margin: 0; font-size: 14.5px; color: var(--lilac); }

.hero-stage { position: relative; margin: 0; height: min(720px, 86svh); min-height: 600px; }
.hero-ring { position: absolute; width: min(118%, 700px); left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: visible; }
.hero-ring .track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 2; }
.hero-ring .arcs path { fill: none; stroke-width: 6; stroke-linecap: round; }
.hero-ring .dot { fill: #fff; }
.hero-ring .halo { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; }
.hero-day { position: absolute; right: 2%; top: 4%; text-align: right; font-family: var(--display); font-stretch: 75%; line-height: .85; }
.hero-day b { display: block; font-weight: 800; font-size: 96px; color: #fff; font-variant-numeric: tabular-nums; }
.hero-day span { font: 500 14px var(--text); color: var(--lilac); }

.phone-her { --w: clamp(230px, 21vw, 300px); position: absolute; left: 61%; top: 50%; transform: translate(-50%, -48%); z-index: 3; }
.phone-him { --w: clamp(200px, 18vw, 258px); position: absolute; left: 21%; top: 50%; transform: translate(-50%, -44%) rotate(-7deg); z-index: 2; filter: brightness(.82); }

.phone .owner { position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px;
  font: 500 13px var(--text); color: var(--lilac); }
.phone .owner i { width: 8px; height: 8px; border-radius: 50%; }
.drop { position: absolute; z-index: 5; left: 3.5%; right: 3.5%; top: 2.2%; container-type: inline-size; opacity: 0; transform: translateY(-40px) scale(.92); }
.drop .notif { --u: calc(100cqw / 370); background: rgba(70, 48, 80, .92); grid-template-columns: calc(38 * var(--u)) 1fr auto; gap: calc(10 * var(--u)); padding: calc(12 * var(--u)) calc(14 * var(--u));
  border-radius: calc(24 * var(--u)); font-size: calc(15 * var(--u)); }
.drop .notif img { width: calc(38 * var(--u)); height: calc(38 * var(--u)); border-radius: calc(9 * var(--u)); }
.drop .notif time { font-size: calc(13 * var(--u)); }
.phone-him .drop .notif { background: rgba(40, 56, 92, .92); }
.hero.arrived .drop { animation: drop .7s var(--spring) forwards; }
.hero.arrived .phone-her .drop { animation-delay: .3s; }
@keyframes drop { to { opacity: 1; transform: none; } }

/* ============ CYCLE SCRUB ============ */
.cycle { position: relative; height: 560vh; background: var(--night); --glow: 199, 155, 224; }
.cycle-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 3vh, 36px);
  padding: 84px var(--gutter) 28px; overflow: hidden; }
.cycle-sticky::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: background .8s;
  background: radial-gradient(42% 50% at 50% 58%, rgba(var(--glow), .22), transparent 72%); }
.cycle-head, .cycle-stage { position: relative; z-index: 1; }
.cycle-stage { padding-top: 26px; }
.cycle-head { text-align: center; max-width: 760px; margin: 0 auto; }
.cycle-head h2 { font-size: clamp(38px, 5vw, 72px); }
.cycle-head p { margin: 14px auto 0; color: var(--lilac); max-width: 36em; }
.cycle-stage { display: grid; grid-template-columns: auto minmax(0, 420px) auto; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 64px); }
.cycle-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); z-index: 1; }
.cycle-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: rgb(var(--glow)); transition: background .6s; }

.mock { --w: clamp(200px, min(19vw, 28svh), 268px); }
.mock figcaption { position: absolute; left: 0; right: 0; bottom: calc(100% + 12px); text-align: center; font-size: 14px; font-weight: 500; color: var(--lilac); }
.mock figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--a); vertical-align: 1px; }

/* Dashboard mock, sized in iPhone points via container units */
.mock .phone-screen { container-type: inline-size; }
.dash { --u: calc(100cqw / 390); position: absolute; inset: 0; font-family: var(--ios); color: #fff; overflow: hidden;
  background: linear-gradient(180deg, var(--bg1), var(--bg2)); padding: calc(60 * var(--u)) calc(16 * var(--u)) 0; display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
[data-mode="her"] { --bg1: #1B0E25; --bg2: #2D1438; --surf: #35203D; --a: #FF4DA8; --bd: rgba(255,77,168,.22); --t2: #B4A8C2; --t3: #7A6B85; }
[data-mode="him"] { --bg1: #060B17; --bg2: #0E1A2E; --surf: #1E2D52; --a: #22D3EE; --bd: rgba(34,211,238,.22); --t2: #8B95A8; --t3: #556178; }
.dash .sb { position: absolute; top: 0; left: 0; right: 0; height: calc(50 * var(--u)); display: flex; align-items: center; justify-content: space-between;
  padding: calc(4 * var(--u)) calc(30 * var(--u)) 0 calc(42 * var(--u)); font-weight: 600; font-size: calc(16 * var(--u)); }
.dash .sb::after { content: ""; position: absolute; left: 50%; top: calc(11 * var(--u)); width: calc(120 * var(--u)); height: calc(34 * var(--u)); transform: translateX(-50%); background: #000; border-radius: 100px; }
.dash .sb i { display: block; width: calc(26 * var(--u)); height: calc(12 * var(--u)); border-radius: calc(4 * var(--u)); border: 1.5px solid rgba(255,255,255,.5); position: relative; }
.dash .sb i::after { content: ""; position: absolute; inset: 1.5px; border-radius: 2px; background: #fff; }
.dash .hd { display: flex; align-items: center; gap: calc(10 * var(--u)); }
.dash .hd svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); color: var(--a); flex: none; }
.dash .hd b { display: block; font-size: calc(21 * var(--u)); font-weight: 700; line-height: 1.1; }
.dash .hd span { font-size: calc(14 * var(--u)); color: var(--t2); }
.dash .card { background: var(--surf); border: 1px solid var(--bd); border-radius: calc(20 * var(--u)); padding: calc(14 * var(--u)); box-shadow: 0 0 calc(14 * var(--u)) var(--bd); }
.dash .status-card { display: grid; grid-template-columns: auto 1fr; gap: calc(14 * var(--u)); align-items: center; }
.dash .ring { position: relative; width: calc(66 * var(--u)); height: calc(66 * var(--u)); }
.dash .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dash .ring circle { fill: none; stroke-width: 7; }
.dash .ring .rt { stroke: rgba(255,255,255,.1); }
.dash .ring .rf { stroke: var(--a); stroke-linecap: round; transition: stroke-dasharray .4s var(--ease); }
.dash .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(22 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; }
.dash .msg { font-size: calc(15 * var(--u)); line-height: 1.3; color: var(--t2); }
.dash .progress-card .row { display: flex; justify-content: space-between; font-size: calc(15 * var(--u)); font-weight: 600; }
.dash .progress-card .row span { color: var(--a); font-size: calc(12 * var(--u)); font-weight: 500; }
.dash .pbar { position: relative; display: flex; gap: 2px; height: calc(7 * var(--u)); margin: calc(12 * var(--u)) 0 calc(6 * var(--u)); }
.dash .pbar i { border-radius: 4px; }
.dash .pbar em { position: absolute; top: 50%; width: calc(15 * var(--u)); height: calc(15 * var(--u)); border-radius: 50%; background: #fff; border: 2px solid var(--bg1);
  transform: translate(-50%, -50%); transition: left .35s var(--ease); }
.dash .plabels { display: grid; grid-template-columns: repeat(4, 1fr); font-size: calc(11 * var(--u)); color: var(--t3); }
.dash .plabels span { text-align: center; white-space: nowrap; }
.dash .plabels span.on { color: #fff; font-weight: 600; }
.dash .tip-card { border-left: 3px solid var(--a); min-height: calc(170 * var(--u)); }
.dash .pill { display: inline-block; font-size: calc(12 * var(--u)); font-weight: 600; padding: calc(3 * var(--u)) calc(9 * var(--u)); border-radius: 100px; background: var(--pc-bg); color: var(--pc); }
.dash .tip-card p { font-size: calc(16.5 * var(--u)); line-height: 1.35; margin: calc(10 * var(--u)) 0 calc(8 * var(--u)); }
.dash .tip-card small { font-size: calc(12 * var(--u)); color: var(--t3); }
.dash .swap { transition: opacity .25s; }
.dash.changing .swap { opacity: 0; }
.dash .actions { display: grid; gap: calc(9 * var(--u)); }
.dash .actions b { font-size: calc(15 * var(--u)); }
.dash .actions span { display: block; text-align: center; font-size: calc(14 * var(--u)); font-weight: 600; padding: calc(10 * var(--u)); border-radius: calc(12 * var(--u)); border: 1.5px solid var(--a); color: var(--a); }
.dash .actions span + span { background: var(--a); color: var(--bg1); }
.dash .tabs { margin-top: auto; margin-bottom: calc(26 * var(--u)); display: grid; grid-template-columns: repeat(4, 1fr); padding: calc(6 * var(--u));
  border-radius: 100px; background: color-mix(in srgb, var(--surf) 80%, transparent); border: 1px solid var(--bd); }
.dash .tabs span { display: grid; justify-items: center; gap: 2px; font-size: calc(10.5 * var(--u)); color: var(--t2); padding: calc(6 * var(--u)) 0; border-radius: 100px; }
.dash .tabs span:first-child { background: rgba(255,255,255,.12); color: var(--a); }
.dash .tabs svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.dash .banner { position: absolute; left: calc(8 * var(--u)); right: calc(8 * var(--u)); top: calc(8 * var(--u)); z-index: 3; font-size: calc(14 * var(--u));
  grid-template-columns: calc(38 * var(--u)) 1fr auto; padding: calc(11 * var(--u)) calc(13 * var(--u)); border-radius: calc(22 * var(--u));
  transform: translateY(-130%); transition: transform .55s var(--spring); }
.dash .banner img { width: calc(38 * var(--u)); height: calc(38 * var(--u)); border-radius: calc(9 * var(--u)); }
.dash .banner time { font-size: calc(12 * var(--u)); }
.dash.notify .banner { transform: none; }

/* Dial */
.dial { position: relative; width: min(420px, 38svh + 60px); justify-self: center; container-type: inline-size; }
.dial svg { width: 100%; overflow: visible; }
.dial-track { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 22; }
.dial-arcs path { fill: none; stroke-width: 22; opacity: .3; transition: opacity .4s; }
.dial-arcs path.on { opacity: 1; }
.dial-ticks line { stroke: rgba(255,255,255,.18); stroke-width: 1.5; }
.dial-pms { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 3 6; opacity: .55; }
.dial-marker circle { fill: #fff; stroke: var(--night); stroke-width: 5; }
.dial-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.dial-label { font-size: max(12px, 3.6cqw); color: var(--lilac); }
.dial-day { font: 800 36cqw/.85 var(--display); font-stretch: 75%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dial-phase { margin-top: 2.4cqw; font: 700 max(14px, 5.2cqw) var(--display); font-stretch: 85%; color: rgb(var(--glow)); transition: color .5s; }
.dial-legend { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13.5px; color: var(--lilac); }
.dial-legend li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 7px; }
.dial-legend small { color: #8b7d97; font-size: 12.5px; }
.dial-legend .pms-key::before { width: 16px; height: 0; border-radius: 0; border-top: 2px dashed var(--amber); background: none; vertical-align: 3px; }

/* ============ FEATURES ============ */
.features { background: var(--bone); color: var(--heather); padding: clamp(80px, 12vw, 150px) var(--gutter) clamp(40px, 8vw, 100px); color-scheme: light; }
.features-head { max-width: 1160px; margin: 0 auto clamp(30px, 5vw, 60px); }
.features-head h2 { font-size: clamp(40px, 5.6vw, 80px); color: var(--plum); max-width: 12em; }
.features-head p { margin: 16px 0 0; color: var(--mauve); font-size: 18px; }
.feat { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: center;
  padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.feat.flip .feat-copy { order: 2; }
.feat h3 { font: 800 clamp(32px, 3.6vw, 50px)/1 var(--display); font-stretch: 80%; color: var(--plum); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
.feat-copy p { color: var(--mauve); margin: 16px 0 0; max-width: 30em; }
.feat-demo { background: var(--petal); border: 1px solid var(--line); border-radius: 32px; padding: clamp(20px, 3vw, 36px); min-height: 340px; position: relative; overflow: hidden; }

.seg { display: inline-flex; padding: 4px; border-radius: 100px; background: #fff; border: 1px solid var(--line); }
.seg button { border: 0; background: none; font: 600 15px var(--text); color: var(--mauve); padding: 9px 20px; border-radius: 100px; cursor: pointer; transition: background .25s var(--ease), color .25s; }
.seg button[aria-checked="true"] { background: var(--magenta); color: var(--plum); }
.seg-sm { margin-top: 22px; }
.seg-sm button { font-size: 14px; padding: 7px 16px; }

/* Timing */
.demo-timing { display: grid; gap: 26px; align-content: space-between; }
.lock { border-radius: 24px; padding: 18px 14px 22px; background: linear-gradient(160deg, #F7C9E9, #E8D6F6 45%, #FBE4D3); text-align: center; }
.lock-time { display: block; font: 700 64px/1 var(--ios); color: rgba(255,255,255,.95); letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(65,42,76,.15); margin-bottom: 16px; }
.lock .notif { max-width: 400px; margin: 0 auto; }
.lock .notif.bump { animation: bump .5s var(--spring); }
@keyframes bump { 0% { transform: translateY(-14px) scale(.97); opacity: .4; } 100% { transform: none; opacity: 1; } }
.range { display: grid; gap: 10px; font-size: 15px; font-weight: 500; color: var(--heather); }
.range > span:first-child { display: flex; justify-content: space-between; }
.range output { color: var(--ink); font-weight: 600; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--magenta) var(--fill, 50%), #F2E2EE var(--fill, 50%)); }
.range input::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--magenta) var(--fill, 50%), #F2E2EE var(--fill, 50%)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; margin-top: -10px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 3px 10px rgba(65,42,76,.2); }
.range input::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 3px 10px rgba(65,42,76,.2); }
.range-scale { display: flex; justify-content: space-between; padding: 0 9px; font-size: 12.5px; color: #74647C; font-style: normal; }
.range-scale i { font-style: normal; }

/* Tone */
.demo-tone { display: grid; gap: 24px; align-content: start; }
.demo-tone .seg { justify-self: start; }
.tone-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--magenta); border-radius: 22px; padding: 22px 24px; min-height: 190px; }
.tip-pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 11px; border-radius: 100px; background: #FBE3E3; color: #A63A39; transition: background .3s, color .3s; }
.tone-card.gentle .tip-pill { background: #DDF1E5; color: #2F6B4C; }
.tone-card p { font: 500 clamp(19px, 1.8vw, 23px)/1.35 var(--text); color: var(--heather); margin: 14px 0 12px; transition: opacity .2s; }
.tone-card small { font-size: 13px; color: #74647C; }
.tone-card.swapping p, .tone-card.swapping .tip-pill { opacity: 0; }

/* Log */
.demo-log { display: grid; gap: 18px; align-content: start; }
.log-head { display: flex; justify-content: space-between; align-items: baseline; }
.log-head b { font-size: 18px; color: var(--heather); }
.log-head span { font-size: 14px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 500 15px var(--text); color: var(--heather); background: #FEFBFA; border: 1px solid #EBD9E6;
  padding: 8px 14px 8px 11px; border-radius: 100px; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--spring); }
.chip svg { width: 17px; height: 17px; color: var(--c); }
.chip:hover { border-color: var(--magenta); }
.chip[aria-pressed="true"] { background: #FAE5F7; border-color: var(--magenta); }
.chip:active { transform: scale(.94); }
.log-foot { margin: 0; font-size: 14px; color: var(--mauve); }

/* Insights */
.demo-insights { display: grid; gap: 16px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tiles div { background: #FEFBFA; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.tiles b { display: block; font: 800 30px/1 var(--display); font-stretch: 80%; color: var(--ink); }
.tiles b small { font: 500 13px var(--text); color: var(--mauve); }
.tiles b.sm { font-size: 19px; line-height: 1.05; color: #367D59; }
.tiles span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--mauve); }
.ins-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; align-items: center; background: #FEFBFA; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.bars { display: grid; gap: 10px; }
.bars > b { font-size: 14.5px; color: var(--heather); }
.bars div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--mauve); }
.bars i { height: 8px; border-radius: 8px; background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); width: calc(var(--v) * 100%); }
.drawn .bars i { transform: scaleX(1); }
.bars div:nth-child(3) i { transition-delay: .08s; } .bars div:nth-child(4) i { transition-delay: .16s; } .bars div:nth-child(5) i { transition-delay: .24s; }
.donut { position: relative; margin: 0; }
.donut svg { transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 18; transition: stroke-dasharray 1.1s var(--ease); }
.donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-c b { font: 800 26px/1 var(--display); font-stretch: 80%; color: var(--heather); }
.donut-c span { font-size: 12px; color: var(--mauve); }

/* Widget */
.demo-widget { padding: 0; background: linear-gradient(160deg, #3B2150, #6E3B79 50%, #E28CB8); border: 0; display: grid; place-items: center; transition: background .5s; }
.demo-widget[data-mode="him"] { background: linear-gradient(160deg, #0A1834, #1B3A6B 55%, #3A8FB0); }
.home { width: min(100%, 420px); padding: 28px 22px; display: grid; gap: 18px; }
.widget { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 26px; color: #fff;
  background: rgba(30, 14, 40, .62); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.12); font-family: var(--ios); }
.demo-widget[data-mode="him"] .widget { background: rgba(10, 22, 48, .66); }
.w-ring { position: relative; width: 104px; height: 104px; }
.w-ring svg { transform: rotate(-90deg); }
.w-ring svg path { fill: none; stroke-width: 9; stroke-linecap: butt; }
.w-ring b { position: absolute; left: 0; right: 0; top: 29%; text-align: center; font-size: 30px; font-weight: 700; line-height: 1; }
.w-ring small { position: absolute; left: 0; right: 0; top: 60%; text-align: center; font-size: 12px; color: rgba(255,255,255,.65); }
.w-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--wa, #FF9ED8); }
.demo-widget[data-mode="him"] { --wa: var(--cyan); }
.w-name svg { width: 17px; height: 17px; }
.w-body p { margin: 6px 0 8px; font-size: 16px; font-weight: 600; line-height: 1.25; color: #fff; border-left: 3px solid var(--wa, #FF9ED8); padding-left: 10px; }
.w-body small { font-size: 12.5px; color: rgba(255,255,255,.7); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; padding: 0 6px; }
.apps i { aspect-ratio: 1; border-radius: 22%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.1); }

/* ============ PRIVACY ============ */
.privacy { background: var(--plum); padding: clamp(80px, 12vw, 150px) var(--gutter); text-align: center; }
.privacy h2 { font-size: clamp(54px, 9vw, 140px); }
.privacy-sub { margin: 20px auto 0; max-width: 32em; color: var(--lilac); font-size: 19px; }
.facts { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1060px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; }
.facts li { padding: 8px clamp(18px, 3vw, 36px); border-left: 1px solid rgba(255,255,255,.12); display: grid; gap: 6px; }
.facts li:first-child { border-left: 0; }
.facts svg { width: 28px; height: 28px; color: var(--magenta); margin-bottom: 8px; }
.facts b { font: 700 22px var(--display); font-stretch: 85%; }
.facts span { color: var(--lilac); font-size: 15.5px; }

/* ============ FAQ ============ */
.faq { background: var(--bone); color: var(--heather); padding: clamp(80px, 11vw, 140px) var(--gutter); color-scheme: light; }
.faq h2 { font-size: clamp(40px, 5.6vw, 80px); color: var(--plum); max-width: 900px; margin: 0 auto clamp(28px, 4vw, 48px); }
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 4px;
  font: 700 clamp(20px, 2vw, 25px)/1.2 var(--display); font-stretch: 85%; color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--ink); }
.faq details p { margin: -8px 4px 26px; max-width: 62ch; color: var(--mauve); }
.faq details p:not(:last-child) { margin-bottom: 12px; }
.faq details p + p { margin-top: 0; }

/* ============ FINAL ============ */
.final { position: relative; text-align: center; padding: clamp(90px, 13vw, 170px) var(--gutter); display: grid; justify-items: center; gap: 22px; overflow: hidden;
  background: radial-gradient(50% 50% at 50% 30%, rgba(255,77,168,.22), transparent 70%), linear-gradient(180deg, var(--night), var(--night-2)); }
.final-icon { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 30px 70px -18px rgba(255,77,168,.55), 0 0 0 1px rgba(255,255,255,.1); }
.final h2 { font-size: clamp(48px, 7vw, 104px); margin-top: 16px; }
.final p { margin: 0 0 12px; color: var(--lilac); max-width: 32em; }
.plans { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(100%, 560px); }
.plans li { position: relative; display: grid; gap: 2px; padding: 18px 12px 16px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.plans li:nth-child(2) { border-color: var(--magenta); background: rgba(229,124,216,.1); }
.plans b { font: 800 34px/1 var(--display); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.plans span { font-size: 14px; color: var(--lilac); }
.plans em { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 12.5px var(--text); font-style: normal;
  color: var(--plum); background: var(--amber); padding: 3px 10px; border-radius: 100px; }
.final .plans-note { margin: -4px 0 10px; font-size: 13.5px; color: #9C8CA8; }

.foot { background: var(--deep); padding: 36px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; font-size: 14px; color: #9C8CA8; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 700 16px var(--display); color: #fff; }
.foot-brand img { border-radius: 7px; }
.foot-note { margin: 0; flex: 1 1 320px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: #D9CBE3; text-decoration: none; display: inline-block; padding: 11px 0; }
.foot nav a:hover { text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 100px; }
  .hero-stage { height: 640px; min-height: 0; }
  .nav-links { display: none; }
  .store-sm { margin-left: auto; }
  .cycle-stage .dial { width: min(300px, 34svh + 40px); }
  .mock { --w: clamp(150px, min(22vw, 26svh), 230px); }
  .dial-legend { display: none; }
  .cycle-head h2 { font-size: clamp(32px, 6vw, 52px); }
  .cycle-head p { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 92px; gap: 8px; }
  .hero-stage { height: 560px; margin: 0 calc(var(--gutter) * -1); }
  .phone-her { --w: 214px; left: 60%; }
  .phone-him { --w: 184px; left: 28%; }
  .hero-day { display: none; }
  .hero-ring { width: 128%; }
  .notif { font-size: 13px; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 26px; }
  .feat.flip .feat-copy { order: 0; }
  .feat-demo { min-height: 0; border-radius: 26px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ins-row { grid-template-columns: 1fr; }
  .donut { width: 150px; margin: 0 auto; }
  .facts { grid-template-columns: 1fr; gap: 26px; }
  .facts li { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 0; }
  .facts li:first-child { border-top: 0; padding-top: 0; }
  .cycle { height: 480vh; }
  .cycle-stage { grid-template-columns: auto auto; grid-template-areas: "dial dial" "her him"; row-gap: 40px; column-gap: 16px; }
  .cycle-stage .dial { grid-area: dial; width: clamp(130px, 26svh, 300px); }
  .cycle-stage [data-mode="her"] { grid-area: her; }
  .cycle-stage [data-mode="him"] { grid-area: him; }
  .mock { --w: clamp(96px, min(42vw, (74svh - 260px) * .46), 210px); }
  .cycle-sticky { padding-top: 76px; }
  .mock figcaption { font-size: 12px; }
  .lock-time { font-size: 52px; }
  .plans { gap: 8px; }
  .plans b { font-size: 27px; }
  .plans span { font-size: 13px; }
}

@media (max-width: 400px) {
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .nav { gap: 12px; }
  .w-ring { width: 84px; height: 84px; }
  .w-ring b { font-size: 24px; }
  .w-ring small { font-size: 11px; }
  .widget { gap: 12px; padding: 14px; }
  .w-body p { font-size: 15px; }
}
@media (max-width: 760px) and (max-height: 620px) {
  .cycle-sticky { padding-top: 66px; gap: 10px; }
  .cycle-head h2 { font-size: 28px; }
  .cycle-stage { row-gap: 32px; }
}
/* Landscape phones: dial between the phones, sized by height */
@media (orientation: landscape) and (max-height: 520px) {
  .cycle { height: 420vh; }
  .cycle-sticky { padding: 62px var(--gutter) 22px; gap: 8px; }
  .cycle-head h2 { font-size: 26px; }
  .cycle-head p, .dial-legend { display: none; }
  .cycle-stage { grid-template-columns: auto auto auto; grid-template-areas: none; column-gap: clamp(16px, 4vw, 48px); padding-top: 24px; }
  .cycle-stage .dial, .cycle-stage [data-mode] { grid-area: auto; }
  .cycle-stage .dial { width: calc(100svh - 150px); }
  .mock { --w: calc((100svh - 150px) * .46); }
  .mock figcaption { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
