/* Resiliency website — one stylesheet. Brand tokens mirror the app (lib/app/ui/ui.dart).
   Versioned filename: bump to site.v2.css (and update the <link> in every page) when you change it. */

/* ---------- Fonts (self-hosted, OFL — see /assets/fonts/LICENSE.txt) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --sage: #667B68;
  --sage-deep: #4A5E4D;
  --sage-ink: #3E5142;
  --sage-soft: #DBE6D5;
  --mist: #EEF3EA;
  --blush: #FCEFE9;
  --blush-2: #F8D2C5;
  --clay: #C9735B;
  --clay-deep: #9E5440;
  --canvas: #FAF8F5;
  --paper: #FFFFFF;
  --ink: #1E2823;
  --ink-soft: #4F5A54;
  --muted: #5F6762;          /* small text (5.5:1 on canvas, ≥5:1 on tinted panels) */
  --muted-deco: #858D88;     /* decorative only */
  --hairline: #E8E3DC;
  --menstrual: #D9666B;
  --follicular: #5E9C7E;
  --ovulation: #DB9A3E;
  --luteal: #8B79BE;
  --water: #4F8FCB;
  --steps: #D7922F;
  --gold: #E3A93B;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-panel: clamp(28px, 3.2vw, 44px);

  --shadow-sm: 0 1px 2px rgba(30, 40, 35, .05), 0 2px 8px rgba(30, 40, 35, .04);
  --shadow-card: 0 1px 2px rgba(30, 40, 35, .04), 0 12px 32px -14px rgba(30, 40, 35, .16);
  --shadow-lift: 0 2px 6px rgba(30, 40, 35, .05), 0 24px 56px -20px rgba(30, 40, 35, .28);
  --shadow-phone: 0 50px 90px -40px rgba(30, 40, 35, .55), 0 22px 40px -22px rgba(30, 40, 35, .35);

  --gutter: 20px;
  --maxw: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; --header-h: 76px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: light; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 650; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: #fff; }
::selection { background: var(--sage-soft); color: var(--ink); }
[hidden] { display: none !important; }
.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-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 650; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.55rem, 1.3rem + 4.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 680;
}
.h1 { font-size: clamp(2.35rem, 1.45rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 670; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.3rem); line-height: 1.07; letter-spacing: -0.032em; font-weight: 660; }
.h3 { font-size: clamp(1.35rem, 1.15rem + .75vw, 1.75rem); line-height: 1.18; letter-spacing: -0.02em; font-weight: 650; }
.h4 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 650; }
.display em, .h1 em, .h2 em, .h3 em, .serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.012em;
  color: var(--sage-deep);
  line-height: .9;
}
.on-dark .h2 em, .on-dark .h1 em, .on-dark .h3 em { color: var(--sage-soft); }
.accent-clay em { color: var(--clay-deep); }
.lead { font-size: clamp(1.08rem, 1rem + .36vw, 1.26rem); line-height: 1.6; color: var(--ink-soft); }
.small { font-size: .9rem; line-height: 1.55; }
.tiny { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.ink { color: var(--ink); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 720; letter-spacing: .13em; text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }
.eyebrow--clay { color: var(--clay-deep); }
.on-dark .eyebrow { color: var(--sage-soft); }
.on-dark .lead { color: #DCE5DA; }
.on-dark .tiny, .on-dark .note { color: #C4CEC7; }
.stack > * + * { margin-top: var(--stack, 1.1rem); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 2.6rem + 6.4vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--flush-top { padding-top: 0; }
.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 1.8rem + 2.6vw, 4.25rem); }
.section-head > * + * { margin-top: 1.1rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { max-width: 640px; margin-inline: auto; }
.panel {
  border-radius: var(--r-panel);
  padding: clamp(2.5rem, 1.6rem + 4.5vw, 6rem) clamp(1.35rem, .6rem + 4.6vw, 6rem);
  position: relative; overflow: hidden;
}
.panel--blush { background: var(--blush); }
.panel--mist { background: var(--mist); }
.panel--dark { background: linear-gradient(160deg, #4F6452 0%, var(--sage-deep) 45%, #3B4D3F 100%); color: #E4ECE1; }
.panel--dark h2, .panel--dark h3 { color: #fff; }
.panel--ink { background: var(--ink); color: #C9D2CC; }
@media (max-width: 639px) {
  .panel-bleed-sm { border-radius: 0; margin-inline: calc(-1 * var(--gutter)); }
}

/* ---------- Buttons & links ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.55rem; border-radius: 999px; border: 0;
  font-weight: 660; font-size: 1rem; letter-spacing: -.005em; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon--move { transform: translateX(3px); }
.btn--primary { background: var(--sage-deep); color: #fff; box-shadow: 0 10px 22px -12px rgba(62, 81, 66, .75), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn--primary:hover { background: var(--sage-ink); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(62, 81, 66, .8), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(30, 40, 35, .2); }
.btn--ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(30, 40, 35, .45); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); }
.btn--ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { --h: 42px; padding: 0 1.15rem; font-size: .94rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--sage-deep); font-weight: 660; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease);
  padding-bottom: 2px;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-dark .link-arrow { color: #fff; }
.prose a, .text-link { color: var(--sage-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(74, 94, 77, .4); }
.prose a:hover, .text-link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 245, .84);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(30, 40, 35, .08); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); border-radius: 12px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--sage);
  color: #fff; font-weight: 750; font-size: 1.2rem; letter-spacing: -.02em;
  display: grid; place-items: center; line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 4px 10px -5px rgba(74, 94, 77, .6);
}
.brand__name { font-weight: 740; font-size: 1.22rem; letter-spacing: -.03em; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: .15rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 .9rem; border-radius: 999px;
  color: var(--ink-soft); font-weight: 560; font-size: .97rem; text-decoration: none; transition: background-color .2s, color .2s;
}
.nav a:hover { color: var(--ink); background: rgba(102, 123, 104, .1); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .95rem 0 .8rem; border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 640; font-size: .95rem;
  border: 0; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(30, 40, 35, .06);
}
.menu-btn .icon { width: 20px; height: 20px; }
.menu-btn .icon-close { display: none; }
.site-header.is-open .menu-btn .icon-open { display: none; }
.site-header.is-open .menu-btn .icon-close { display: block; }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 59;
  background: var(--canvas); border-bottom: 1px solid var(--hairline);
  box-shadow: 0 30px 60px -30px rgba(30, 40, 35, .35);
  padding: .5rem var(--gutter) 1.5rem;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.site-header.is-open .mobile-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-nav ul { list-style: none; }
.mobile-nav li + li { border-top: 1px solid var(--hairline); }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-size: 1.15rem; font-weight: 620; color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.mobile-nav a:not(.btn) .icon { color: var(--muted-deco); }
.mobile-nav .btn { margin-top: 1rem; }
.mobile-nav .soon { margin-top: .9rem; text-align: center; }
@media (min-width: 960px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B8C2BC; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2rem; }
.site-footer a { color: #DCE3DE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-top { display: grid; gap: 2.5rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__mark { box-shadow: none; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: .97rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.footer-cols h2 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 720; margin-bottom: .9rem; }
.footer-cols ul { list-style: none; display: grid; gap: .55rem; font-size: .97rem; }
.footer-soon { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.footer-bottom { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: .75rem; font-size: .86rem; color: #A7B2AB; }
.footer-bottom p { max-width: 90ch; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: 1.1fr 2fr; gap: 4rem; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: start; }
}

/* ---------- Chips, pills, badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 34px; padding: 0 .85rem; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: .88rem; font-weight: 580; line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(30, 40, 35, .1);
}
.chip--soft { background: var(--mist); box-shadow: none; color: var(--sage-ink); }
.chip--blush { background: var(--blush); box-shadow: none; color: var(--clay-deep); }
.chip--lilac { background: #EEEAF7; box-shadow: none; color: #5D4E93; }
.chip--on { background: #E6E1F4; color: #4E4183; box-shadow: none; }
.chip .icon { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-note {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .5rem; border-radius: 999px;
  background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(30, 40, 35, .08); font-size: .88rem; font-weight: 600; color: var(--ink);
}
.pill-note__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--sage-deep); }
.pill-note__dot .icon { width: 14px; height: 14px; }
.soon-badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1rem .55rem .7rem; border-radius: 14px;
  background: var(--paper); box-shadow: inset 0 0 0 1px rgba(30, 40, 35, .12); color: var(--ink); line-height: 1.15; text-decoration: none;
}
.soon-badge .icon { width: 22px; height: 22px; color: var(--sage-deep); }
.soon-badge small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.soon-badge strong { font-size: .98rem; font-weight: 680; }
.on-dark .soon-badge, .site-footer .soon-badge { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; }
.on-dark .soon-badge .icon, .site-footer .soon-badge .icon { color: var(--sage-soft); }
.on-dark .soon-badge small, .site-footer .soon-badge small { color: #B8C2BC; }
.soon-row { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.card--flat { box-shadow: inset 0 0 0 1px var(--hairline); }
.icon-tile {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--mist); color: var(--sage-deep);
}
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--blush { background: var(--blush); color: var(--clay-deep); }
.icon-tile--lilac { background: #EEEAF7; color: #5D4E93; }
.icon-tile--sun { background: #FBF0DC; color: #95601A; }
.icon-tile--water { background: #E5EFF8; color: #2F6A9F; }
.icon-tile--glass { background: rgba(255, 255, 255, .12); color: #fff; }

.ticks { list-style: none; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.ticks .icon { width: 22px; height: 22px; color: var(--sage-deep); margin-top: .12rem; }
.on-dark .ticks .icon { color: var(--sage-soft); }

.note {
  display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start;
  font-size: .9rem; line-height: 1.5; color: var(--muted); max-width: 60ch;
}
.note .icon { width: 18px; height: 18px; margin-top: .1rem; color: var(--muted); }
.callout {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  background: var(--paper); border-radius: var(--r-lg); padding: 1.35rem 1.4rem; box-shadow: inset 0 0 0 1px var(--hairline);
}
.callout h3 { font-size: 1.08rem; letter-spacing: -.01em; margin-bottom: .3rem; }
.callout p { font-size: .97rem; }
.callout--blush { background: var(--blush); box-shadow: none; }
.callout--mist { background: var(--mist); box-shadow: none; }

/* ---------- Phone frame ---------- */
.phone {
  --w: 286px;
  position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .034);
  border-radius: calc(var(--w) * .17);
  background: linear-gradient(145deg, #39433D 0%, #1D2420 38%, #151A17 100%);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, .09), inset 0 0 0 3px #0E120F;
  margin: 0;
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #2A322D; }
.phone::before { left: -2px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * .2) 0 #2A322D; }
.phone::after { right: -2px; top: 28%; height: 14%; }
.phone__screen {
  position: relative; overflow: hidden; border-radius: calc(var(--w) * .137);
  aspect-ratio: 780 / 1776; background: var(--canvas);
  transform: translateZ(0);
}
.phone__screen::after {
  content: ""; position: absolute; z-index: 3; left: 50%; top: 1.15%; width: 30%; height: 2.75%;
  transform: translateX(-50%); background: #0A0C0B; border-radius: 999px;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--lg { --w: 300px; }
.phone--md { --w: 270px; }
.phone--sm { --w: 238px; }
.phone--xs { --w: 200px; }
@media (min-width: 1200px) { .phone--lg { --w: 318px; } }
.phone-stage { display: grid; place-items: center; padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1rem; border-radius: var(--r-xl); position: relative; overflow: hidden; }
.phone-stage--mist { background: radial-gradient(120% 90% at 50% 0%, #F6F9F3 0%, var(--mist) 60%, #E3EBDE 100%); }
.phone-stage--blush { background: radial-gradient(120% 90% at 50% 0%, #FFF8F5 0%, var(--blush) 60%, #F9E3DA 100%); }
.phone-stage--lilac { background: radial-gradient(120% 90% at 50% 0%, #F8F6FC 0%, #EFEBF8 60%, #E6E0F4 100%); }
.phone-stage--sun { background: radial-gradient(120% 90% at 50% 0%, #FFFBF3 0%, #FBF1DF 60%, #F6E6C9 100%); }
.phone-stage--water { background: radial-gradient(120% 90% at 50% 0%, #F6FAFD 0%, #E8F1F9 60%, #DCE9F5 100%); }
.phone-stage .phone { z-index: 1; }
.phone-stage__ring { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(74, 94, 77, .1); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.phone-stage__ring + .phone-stage__ring { width: 95%; }

/* ---------- Floating UI cards (hero etc.) ---------- */
.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .94); border-radius: 18px; padding: .7rem .95rem .7rem .7rem;
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(30, 40, 35, .05);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  line-height: 1.25; max-width: 250px;
}
.float-card__label { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.float-card__value { display: block; font-size: .92rem; font-weight: 680; color: var(--ink); letter-spacing: -.01em; }
.float-card__sub { display: block; font-size: .78rem; color: var(--muted); font-weight: 560; }
.float-card .icon-tile { width: 38px; height: 38px; border-radius: 12px; }
.float-card .icon-tile .icon { width: 19px; height: 19px; }
.mini-ring { width: 40px; height: 40px; flex: none; }
.monogram-dot {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--sage-deep); color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: .02em;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding-top: clamp(1.75rem, .8rem + 4vw, 4.5rem); padding-bottom: clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 38% at 82% 18%, rgba(248, 210, 197, .45), transparent 70%),
    radial-gradient(36% 34% at 6% 40%, rgba(219, 230, 213, .6), transparent 70%);
}
.hero__grid { display: grid; gap: clamp(2.75rem, 2rem + 3vw, 4rem); align-items: center; }
.hero__copy > * + * { margin-top: 1.35rem; }
.hero__copy .lead { max-width: 36rem; }
.hero__copy .display { max-width: 13.5ch; }
.hero__micro { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .88rem; color: var(--muted); font-weight: 560; }
.hero__micro span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__micro .icon { width: 16px; height: 16px; color: var(--sage); }
.hero__visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1.08; }
.hero__photo {
  position: absolute; right: 0; top: 0; width: 76%; height: 88%;
  border-radius: clamp(28px, 4vw, 40px); overflow: hidden; background: var(--sage-soft);
  box-shadow: var(--shadow-lift);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(30, 40, 35, .18)); }
.hero__visual .phone { position: absolute; left: 0; bottom: 0; --w: clamp(178px, 41vw, 258px); }
.hero__visual .fc-cycle { right: -2%; top: 46%; }
.hero__visual .fc-pr { right: 8%; bottom: 3%; }
.hero__visual .fc-coach { right: -2%; top: 5%; display: none; }
@media (min-width: 560px) {
  .hero__visual .fc-coach { display: flex; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .hero__visual { max-width: none; aspect-ratio: auto; height: min(640px, 72vh); min-height: 560px; }
  .hero__visual .phone { --w: clamp(230px, 20vw, 282px); left: -2%; }
  .hero__photo { width: 74%; height: 90%; }
  .hero__visual .fc-cycle { right: -4%; top: 50%; }
  .hero__visual .fc-pr { right: 6%; bottom: 0; }
  .hero__visual .fc-coach { right: -2%; top: 7%; }
  .hero__visual .fc-cycle { right: -2%; }
}
@media (min-width: 1280px) {
  .hero__visual .fc-coach { right: -5%; }
  .hero__visual .fc-cycle { right: -4%; }
}
@media (max-width: 559px) {
  .float-card { padding: .55rem .75rem .55rem .55rem; border-radius: 15px; max-width: 210px; }
  .float-card .icon-tile, .float-card .mini-ring { width: 32px; height: 32px; }
  .float-card__value { font-size: .82rem; }
  .float-card__sub { font-size: .72rem; }
  .hero__visual .fc-cycle { right: 0; top: 52%; }
  .hero__visual .fc-pr { right: 2%; bottom: 2%; }
}

/* ---------- Forms ---------- */
.signup { max-width: 520px; }
.signup__row {
  display: flex; flex-wrap: wrap; gap: .5rem; padding: .4rem; border-radius: 999px; background: var(--paper);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(30, 40, 35, .08);
}
.signup__row input[type="email"] {
  flex: 1 1 200px; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 .4rem 0 1.1rem; border-radius: 999px;
  font-size: 1rem; color: var(--ink);
}
.signup__row input[type="email"]::placeholder { color: #7D857F; }
.signup__row input[type="email"]:focus-visible { outline-offset: -2px; }
.signup__row .btn { flex: 0 0 auto; --h: 48px; }
@media (max-width: 439px) {
  .signup__row { border-radius: 22px; padding: .45rem; }
  .signup__row input[type="email"] { flex-basis: 100%; padding-left: .85rem; }
  .signup__row .btn { flex: 1 1 100%; }
}
.consent { display: flex; gap: .65rem; align-items: flex-start; margin-top: .85rem; font-size: .88rem; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  flex: none; width: 21px; height: 21px; border-radius: 7px; margin-top: .05rem; display: grid; place-items: center;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(30, 40, 35, .35); transition: background-color .15s, box-shadow .15s;
}
.consent__box .icon { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.consent input:checked + .consent__box { background: var(--sage-deep); box-shadow: none; }
.consent input:checked + .consent__box .icon { opacity: 1; transform: none; }
.consent input:focus-visible + .consent__box { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.on-dark .consent { color: #E4ECE1; }

.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-size: .9rem; font-weight: 650; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; border-radius: 16px; border: 0; background: var(--paper); padding: .8rem 1rem; font-size: 1rem; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(30, 40, 35, .16); transition: box-shadow .15s;
}
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1.5px rgba(30, 40, 35, .3); }
.input:focus, .select:focus, .textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sage-deep), 0 0 0 4px rgba(102, 123, 104, .18); }
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F5A54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B04A4F; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: .9rem; font-weight: 650; color: var(--ink); margin-bottom: .6rem; }
.choice-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-chip span {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 1rem; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(30, 40, 35, .14); font-size: .92rem; font-weight: 600; color: var(--ink);
  transition: background-color .15s, box-shadow .15s, color .15s;
}
.choice-chip span .icon { width: 15px; height: 15px; display: none; }
.choice-chip input:checked + span { background: var(--sage-deep); color: #fff; box-shadow: none; }
.choice-chip input:checked + span .icon { display: block; }
.choice-chip input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.form-status { font-size: .92rem; font-weight: 600; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #A23F44; margin-top: .75rem; }
.form-success {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start;
  background: var(--paper); border-radius: var(--r-lg); padding: 1.25rem 1.35rem; box-shadow: var(--shadow-card);
  animation: pop .5s var(--ease) both;
}
.form-success .icon-tile { width: 48px; height: 48px; background: var(--sage-deep); color: #fff; }
.form-success h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.form-success p { font-size: .97rem; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- "Sound familiar" ---------- */
.familiar { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.familiar__list { list-style: none; }
.familiar__item { display: grid; grid-template-columns: 40px 1fr; gap: 1.1rem; padding-block: clamp(1.25rem, 1rem + 1vw, 1.9rem); border-top: 1px solid rgba(158, 84, 64, .16); }
.familiar__item:last-child { border-bottom: 1px solid rgba(158, 84, 64, .16); }
.familiar__x { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--clay-deep); display: grid; place-items: center; }
.familiar__x .icon { width: 18px; height: 18px; }
.familiar__item p:first-child { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.75rem); line-height: 1.25; color: var(--ink); font-weight: 640; letter-spacing: -.02em; }
.familiar__item p + p { margin-top: .4rem; color: var(--ink-soft); font-size: 1rem; }
.familiar__close { display: grid; gap: 1.25rem; align-items: end; }
.familiar__close .h2 { max-width: 18ch; }
@media (min-width: 960px) {
  .familiar { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 5rem; }
  .familiar__head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
  .familiar__close { grid-column: 1 / -1; grid-template-columns: 1fr auto; margin-top: 1rem; }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: clamp(.9rem, .6rem + 1vw, 1.35rem); }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .85rem;
  background: var(--paper); border-radius: 28px; padding: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile__top { display: flex; align-items: center; gap: .75rem; }
.tile__kicker { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 720; color: var(--muted); }
.tile h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); letter-spacing: -.02em; line-height: 1.18; }
.tile p { font-size: .99rem; }
.tile__visual { padding-top: .5rem; }
.tile .link-arrow { margin-top: auto; padding-top: .5rem; align-self: flex-start; }
.tile--coach { background: linear-gradient(165deg, #52695A 0%, var(--sage-deep) 50%, #3A4C3E 100%); color: #EDF2EA; }
.tile--coach h3 { color: #fff; }
.tile--coach .tile__kicker { color: #F2F5F0; }
.tile--coach .link-arrow { color: #fff; }
.monogram {
  position: relative; width: clamp(150px, 30vw, 210px); aspect-ratio: 1; border-radius: 50%; margin: .5rem auto 1rem;
  display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.monogram::before, .monogram::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); }
.monogram::after { inset: -30px; border-color: rgba(255, 255, 255, .07); }
.monogram span { font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 3rem + 4vw, 5.6rem); color: #fff; letter-spacing: -.02em; line-height: 1; transform: translateY(-.02em); }
.coach-points { list-style: none; display: grid; gap: .55rem; font-size: .95rem; }
.coach-points li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; }
.coach-points .icon { width: 18px; height: 18px; color: #DCE7D6; margin-top: .15rem; }
@media (min-width: 720px) and (max-width: 1023px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--coach { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .tile--track { grid-column: 1; grid-row: 1 / span 2; }
  .tile--coach { grid-column: 2; grid-row: 1 / span 2; }
  .tile--train { grid-column: 3; grid-row: 1; }
  .tile--eat { grid-column: 3; grid-row: 2; }
}
/* mini visuals inside tiles */
.mini-card { background: var(--canvas); border-radius: 20px; padding: 1rem; box-shadow: inset 0 0 0 1px var(--hairline); }
.mini-cycle { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; }
.mini-cycle svg { width: 96px; height: 96px; }
.mini-cycle b { display: block; color: var(--ink); font-size: 1rem; letter-spacing: -.01em; line-height: 1.3; }
.mini-cycle small { display: block; color: var(--muted); font-size: .8rem; font-weight: 560; }
.conf { display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem; font-size: .75rem; font-weight: 680; color: #8A5A12; background: #FBF0DC; padding: .25rem .55rem; border-radius: 999px; }
.conf-bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.conf-bars span { width: 3px; border-radius: 2px; background: currentColor; }
.conf-bars span:nth-child(1) { height: 6px; } .conf-bars span:nth-child(2) { height: 9px; } .conf-bars span:nth-child(3) { height: 12px; opacity: .25; }
.lab-pill { display: inline-flex; align-items: baseline; gap: .45rem; padding: .55rem .85rem; border-radius: 14px; background: var(--sage-deep); color: #fff; font-size: .8rem; font-weight: 600; }
.lab-pill b { font-size: 1.15rem; letter-spacing: -.02em; }
.macro { display: grid; gap: .9rem; }
.macro__row { display: grid; gap: .4rem; }
.macro__label { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.macro__label b { font-size: 1.15rem; letter-spacing: -.02em; text-transform: none; color: var(--ink); }
.macro__label b small { font-size: .8rem; color: var(--muted); font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: #ECE8E2; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--sage-deep); width: var(--p, 50%); transform-origin: left; }
.bar--fibre > span { background: var(--luteal); }
.p51 { --p: 51%; } .p63 { --p: 63%; } .p65 { --p: 65%; } .p82 { --p: 82%; } .p40 { --p: 40%; }

/* ---------- Week strip (static + motion) ---------- */
.week { display: grid; gap: .9rem; }
.week__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.week__count { font-weight: 700; color: var(--ink); font-size: 1.05rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.week__count small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.week__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; list-style: none; }
.week__day { display: grid; justify-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.week__dot {
  width: min(38px, 100%); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: #EFECE7; color: transparent; position: relative;
  transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.week__dot .icon { width: 55%; height: 55%; display: none; }
.week__dot.is-done .i-check, .week__dot.is-rest .i-moon { display: block; }
.week-static .week__dot { width: min(32px, 100%); }
.week-static .week__count { font-size: .95rem; }
.week__dot.is-planned { box-shadow: inset 0 0 0 1.5px rgba(74, 94, 77, .45); background: transparent; }
.week__dot.is-done { background: var(--sage-deep); color: #fff; box-shadow: none; }
.week__dot.is-rest { background: var(--mist); color: var(--sage); box-shadow: none; }
.week__dot.pop { transform: scale(1.12); }
.week__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); font-weight: 560; }
.streak { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; background: var(--mist); color: var(--sage-ink); font-weight: 700; font-size: .78rem; }
.streak .icon { width: 14px; height: 14px; }
.rest-note { display: inline-flex; align-items: center; gap: .35rem; color: var(--sage-deep); font-weight: 650; transition: opacity .4s; }
.rest-note .icon { width: 15px; height: 15px; }
.week-demo .rest-note { opacity: 0; }
.week-demo .rest-note.is-on { opacity: 1; }
.week-demo .reached { opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); }
.week-demo.is-reached .reached { opacity: 1; transform: none; }

/* ---------- Moment cards (signature motions) ---------- */
.moment {
  background: var(--paper); border-radius: 26px; padding: clamp(1.15rem, 1rem + .8vw, 1.6rem);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(30, 40, 35, .04); max-width: 460px; position: relative;
}
.moment__label { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.moment__label span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 720; color: var(--muted); }
.replay { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: var(--mist); color: var(--sage-ink); font-size: .8rem; font-weight: 680; min-height: 32px; padding: 0 .75rem; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.replay .icon { width: 14px; height: 14px; }
.replay.is-on { opacity: 1; pointer-events: auto; }
.replay:hover { background: var(--sage-soft); }

/* Honest-range ring */
.ring-demo { display: grid; grid-template-columns: minmax(0, min(168px, 42%)) 1fr; gap: clamp(1rem, .5rem + 2vw, 1.6rem); align-items: center; }
.ring-demo svg { width: 100%; height: auto; overflow: visible; }
.ring-demo .band { transition: stroke-dasharray 1.1s var(--ease-in-out), stroke-dashoffset 1.1s var(--ease-in-out), opacity .6s; }
.ring-demo .band-edge { transition: transform 1.1s var(--ease-in-out); }
.ring-facts { display: grid; gap: .85rem; }
.ring-facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 720; color: var(--muted); }
.ring-facts dd { margin: .15rem 0 0; font-size: 1.02rem; font-weight: 680; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ring-facts .conf-word { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border-radius: 999px; font-size: .85rem; transition: background-color .5s, color .5s; }
.conf-word[data-level="low"] { background: #F6E3E1; color: #8E3E42; }
.conf-word[data-level="medium"] { background: #FBF0DC; color: #7E5210; }
.conf-word[data-level="good"] { background: var(--mist); color: var(--sage-ink); }
.ring-caption { margin-top: 1rem; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* Workout player */
.player-demo { --gold: #E3A93B; }
.player-demo__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.player-demo__head b { display: block; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.player-demo__head small { display: block; font-size: .82rem; color: var(--muted); font-weight: 560; }
.unit { display: inline-flex; background: #F1EEE9; border-radius: 999px; padding: 3px; font-size: .78rem; font-weight: 700; }
.unit span { padding: .25rem .65rem; border-radius: 999px; color: var(--muted); }
.unit span:first-child { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.sets { list-style: none; margin-top: 1rem; display: grid; gap: .5rem; }
.sets__head { display: grid; grid-template-columns: 1fr 72px 72px 40px; gap: .5rem; font-size: .66rem; letter-spacing: .1em; font-weight: 720; color: var(--muted); text-transform: uppercase; padding: 0 .25rem; }
.set { display: grid; grid-template-columns: 1fr 72px 72px 40px; gap: .5rem; align-items: center; padding: .4rem .25rem; border-radius: 14px; transition: background-color .5s; }
.set b { display: block; font-size: .9rem; color: var(--ink); }
.set small { display: block; font-size: .72rem; color: var(--muted); font-weight: 560; }
.set .num { height: 40px; border-radius: 12px; background: #F6F3EF; display: flex; align-items: center; justify-content: center; gap: .25rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; font-size: 1rem; position: relative; overflow: hidden; }
.set .num em { font-style: normal; font-size: .68rem; color: var(--muted); font-weight: 600; }
.set .num .v { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.player-demo:not(.is-prefilled) .set .num .v { opacity: .0; transform: translateY(6px); }
.player-demo .set:nth-child(2) .num .v { transition-delay: .08s; }
.player-demo .set:nth-child(3) .num .v { transition-delay: .16s; }
.player-demo .set:nth-child(4) .num .v { transition-delay: .24s; }
.set .tick { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #B9BFBB; box-shadow: inset 0 0 0 1.5px #D9DDD9; transition: background-color .35s var(--ease), color .35s, box-shadow .35s, transform .35s var(--ease); justify-self: end; }
.set .tick .icon { width: 18px; height: 18px; }
.set.is-done .tick { background: var(--sage-deep); color: #fff; box-shadow: none; transform: scale(1.04); }
.set.is-done { background: #F2F6EF; }
.set.is-pr .num--w { box-shadow: inset 0 0 0 1.5px var(--gold); }
.medal { display: none; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: #fff; place-items: center; margin-left: .3rem; vertical-align: -3px; }
.medal .icon { width: 10px; height: 10px; }
.set.is-pr .medal { display: inline-grid; }
.swap { position: relative; display: inline-block; }
.swap .new { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.swap .old { display: inline-block; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.set.is-pr .swap .old { opacity: 0; transform: translateY(-10px); }
.set.is-pr .swap .new { opacity: 1; transform: none; }
.pr-banner {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; padding: .7rem .9rem .7rem .7rem; border-radius: 18px;
  background: linear-gradient(100deg, #2A3530, #1A221E); color: #fff;
  opacity: 0; transform: translateY(-8px) scale(.98); max-height: 0; margin-top: -0.25rem; overflow: hidden;
  transition: opacity .5s var(--ease), transform .5s var(--ease), max-height .5s var(--ease), box-shadow 1.2s;
}
.player-demo.is-pr .pr-banner { opacity: 1; transform: none; max-height: 90px; box-shadow: 0 0 0 0 rgba(227, 169, 59, 0), 0 12px 30px -12px rgba(227, 169, 59, .7); }
.pr-banner__medal { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #F4C76A, #D49227); color: #fff; flex: none; box-shadow: 0 0 0 0 rgba(227, 169, 59, .6); }
.player-demo.is-pr .pr-banner__medal { animation: glow 1.8s var(--ease) 1; }
.pr-banner__medal .icon { width: 20px; height: 20px; }
.pr-banner small { display: block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #F0C877; font-weight: 750; }
.pr-banner b { display: block; font-size: 1rem; letter-spacing: -.01em; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(227, 169, 59, .7); } 70% { box-shadow: 0 0 0 16px rgba(227, 169, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 169, 59, 0); } }
.rest-timer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .85rem; padding: .6rem .7rem .6rem .9rem; border-radius: 16px; background: var(--ink); color: #fff; font-size: .85rem; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.rest-timer.is-on { opacity: 1; transform: none; }
.rest-timer b { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.rest-timer span { color: #B8C2BC; font-size: .78rem; }
.rest-timer .icon { width: 20px; height: 20px; color: var(--sage-soft); }
.rest-timer > div { display: flex; align-items: center; gap: .6rem; }

/* Toggles demo */
.switches { display: grid; gap: .6rem; }
.switch-row { display: grid; grid-template-columns: 44px 1fr auto; gap: .9rem; align-items: center; padding: .85rem .9rem; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); }
.switch-row b { display: block; color: var(--ink); font-size: .98rem; }
.switch-row small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; font-weight: 520; }
.switch { width: 50px; height: 30px; border-radius: 99px; background: #DAD6D0; position: relative; transition: background-color .4s var(--ease); flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .18); transition: transform .4s var(--ease); }
.switch.is-on { background: var(--sage-deep); }
.switch.is-on::after { transform: translateX(20px); }
.hidden-preview { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Feature story (sticky phone) ---------- */
.story { display: grid; gap: 2rem; }
.chapter { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.5rem; }
.chapter + .chapter { border-top: 1px solid var(--hairline); padding-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.chapter__copy > * + * { margin-top: 1rem; }
.chapter__copy .h3 { max-width: 20ch; }
.chapter__copy p { max-width: 34rem; }
.chapter__shot { display: grid; place-items: center; padding: 2rem 1rem; border-radius: var(--r-xl); }
.story__stage { display: none; }
@media (min-width: 1024px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: clamp(3rem, 2rem + 4vw, 7rem); align-items: start; }
  .chapter { min-height: 82vh; align-content: center; padding-block: 8vh; }
  .chapter + .chapter { border-top: 0; padding-top: 8vh; }
  .chapter__shot { display: none; }
  .story__stage {
    display: flex; align-items: center; justify-content: center; gap: 1.75rem;
    position: sticky; top: calc(var(--header-h) + 2vh); height: calc(100vh - var(--header-h) - 4vh); min-height: 600px;
  }
  .story__phone { position: relative; }
  .story__phone .phone { --w: clamp(270px, 21vw, 300px); }
  .story__phone .phone__screen img { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); transition: opacity .7s var(--ease), transform 1s var(--ease); }
  .story__phone .phone__screen img.is-active { opacity: 1; transform: none; }
  .story__glow { position: absolute; inset: -14% -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(219, 230, 213, .9), rgba(219, 230, 213, 0)); transition: background .8s; }
  .story__stage[data-tone="blush"] .story__glow { background: radial-gradient(closest-side, rgba(248, 210, 197, .75), rgba(248, 210, 197, 0)); }
  .story__stage[data-tone="lilac"] .story__glow { background: radial-gradient(closest-side, rgba(220, 212, 240, .9), rgba(220, 212, 240, 0)); }
  .story__stage[data-tone="sun"] .story__glow { background: radial-gradient(closest-side, rgba(246, 225, 186, .85), rgba(246, 225, 186, 0)); }
  .story__nav { list-style: none; display: grid; gap: .35rem; }
  .story__nav a { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; font-size: .82rem; font-weight: 650; color: var(--muted); text-decoration: none; transition: color .3s; white-space: nowrap; }
  .story__nav a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D8D3CC; transition: background-color .3s, transform .3s var(--ease); }
  .story__nav a.is-active { color: var(--ink); }
  .story__nav a.is-active::before { background: var(--sage-deep); transform: scale(1.35); }
}

/* ---------- Ashley ---------- */
.ashley { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
.ashley__card {
  position: relative; border-radius: var(--r-panel); overflow: hidden; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: linear-gradient(160deg, #57705B 0%, var(--sage-deep) 48%, #36473A 100%); color: #E4ECE1; min-height: 420px;
  display: grid; align-content: start; gap: 1rem; padding-bottom: clamp(5rem, 4rem + 4vw, 7rem);
}
.ashley__card .monogram { margin: 1rem auto; width: clamp(170px, 34vw, 240px); }
.ashley__name { text-align: center; }
.ashley__name b { display: block; color: #fff; font-size: 1.35rem; letter-spacing: -.02em; }
.ashley__name span { display: block; font-size: .95rem; color: #F2F5F0; }
.ashley__chart { position: relative; margin-top: -3.5rem; margin-inline: auto; width: min(92%, 380px); z-index: 2; }
.ashley__chart .ui-crop { border-radius: 22px; background: #fff; padding: .6rem; box-shadow: var(--shadow-lift); }
.ashley__chart .ui-crop img { border-radius: 16px; }
.ashley__chart .float-card { position: absolute; right: -4%; bottom: -8%; }
@media (min-width: 1200px) { .ashley__chart .float-card { right: -16%; bottom: 14%; } }
.ashley__copy > * + * { margin-top: 1.25rem; }
.ashley-points { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; }
.ashley-points li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.ashley-points b { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -.01em; }
.ashley-points p { font-size: .97rem; margin-top: .15rem; }
@media (min-width: 960px) {
  .ashley { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .ashley--flip .ashley__visual { order: 2; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 1.6rem 1.5rem 1.6rem; box-shadow: var(--shadow-card); }
.step__num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mist); color: var(--sage-deep); font-weight: 750; font-size: .95rem; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.22rem; letter-spacing: -.015em; margin-bottom: .45rem; }
.step p { font-size: .98rem; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 2.75rem; right: -1.25rem; width: 1.25rem; height: 1.5px; background: repeating-linear-gradient(90deg, var(--sage) 0 4px, transparent 4px 8px); opacity: .5; }
}
.coach-grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .coach-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }

/* ---------- Weight-neutral ---------- */
.neutral { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); }
.neutral__copy > * + * { margin-top: 1.2rem; }
.counts { display: grid; gap: 1rem; }
.count-card { background: var(--paper); border-radius: var(--r-lg); padding: 1.35rem; box-shadow: var(--shadow-card); display: grid; gap: .75rem; align-content: start; }
.count-card h3 { font-size: 1.08rem; letter-spacing: -.01em; }
.count-card p { font-size: .93rem; }
.count-card--wide { grid-column: 1 / -1; }
.count-card .moment { box-shadow: none; padding: 0; max-width: none; border-radius: 0; background: transparent; }
.spark { width: 100%; height: 54px; }
@media (min-width: 640px) { .counts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .neutral { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .neutral__copy { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; gap: 1rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.promise { background: rgba(255, 255, 255, .07); border-radius: 24px; padding: 1.5rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); display: grid; gap: .8rem; align-content: start; }
.promise h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.promise p { font-size: .96rem; color: #F2F5F0; }
@media (min-width: 720px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .privacy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.privacy-head { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .privacy-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 4rem; } }
.privacy-links { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 2rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 1.25rem; align-items: stretch; max-width: 980px; margin-inline: auto; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 1.1rem; border-radius: 30px; padding: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem); background: var(--paper); box-shadow: var(--shadow-card); }
.plan--member { background: linear-gradient(170deg, #F4F8F1 0%, var(--mist) 100%); box-shadow: inset 0 0 0 1.5px rgba(102, 123, 104, .35), var(--shadow-card); }
.plan__tag { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 750; color: var(--sage-ink); background: var(--sage-soft); padding: .35rem .65rem; border-radius: 999px; }
.plan__name { font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 720; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: .4rem; color: var(--ink); }
.price b { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); letter-spacing: -.045em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan__desc { font-size: 1rem; }
.plan .ticks { font-size: .98rem; }
.plan .btn { margin-top: auto; }
.plan__fine { font-size: .82rem; color: var(--muted); text-align: center; }
.billing-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(30, 40, 35, .1); position: relative; width: max-content; }
.billing-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle label { position: relative; z-index: 1; padding: .5rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 680; color: var(--muted); cursor: pointer; text-align: center; transition: color .25s; white-space: nowrap; }
.billing-toggle label small { font-size: .72rem; color: var(--sage-deep); font-weight: 750; margin-left: .25rem; }
.billing-toggle::after { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.billing-input:nth-of-type(2):checked ~ .billing-toggle::after { transform: translateX(100%); }
.billing-input:nth-of-type(1):checked ~ .billing-toggle label:nth-child(1), .billing-input:nth-of-type(2):checked ~ .billing-toggle label:nth-child(2) { color: var(--ink); }
.billing-input:nth-of-type(1):focus-visible ~ .billing-toggle label:nth-child(1), .billing-input:nth-of-type(2):focus-visible ~ .billing-toggle label:nth-child(2) { outline: 2.5px solid var(--ink); outline-offset: 1px; }
.billing-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.price--year, .note-year { display: none; }
.billing-input:nth-of-type(2):checked ~ .price-wrap .price--month,
.billing-input:nth-of-type(2):checked ~ .price-wrap .note-month { display: none; }
.billing-input:nth-of-type(2):checked ~ .price-wrap .price--year { display: flex; }
.billing-input:nth-of-type(2):checked ~ .price-wrap .note-year { display: block; }
.price-wrap { display: grid; gap: .35rem; min-height: 5.25rem; }
.price-wrap .tiny { font-weight: 600; }
.price-note { margin-top: 1.75rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.35rem .25rem; font-size: clamp(1.04rem, 1rem + .3vw, 1.18rem); font-weight: 640; color: var(--ink); letter-spacing: -.01em; border-radius: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--sage-deep); transition: transform .35s var(--ease), background-color .25s; }
.faq summary .plus .icon { width: 18px; height: 18px; }
.faq summary:hover .plus { background: var(--mist); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--sage-deep); color: #fff; box-shadow: none; }
.faq__a { padding: 0 3.5rem 1.6rem .25rem; color: var(--ink-soft); }
.faq__a > * + * { margin-top: .8rem; }
.faq__a ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.faq details[open] .faq__a { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-group + .faq-group { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.faq-group h2 { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 720; margin-bottom: 1rem; }
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 4rem; align-items: start; }
  .faq-layout .toc { position: sticky; top: calc(var(--header-h) + 2rem); }
  .faq-layout .faq { margin-inline: 0; }
}

/* ---------- Closing CTA ---------- */
.cta { display: grid; gap: 2.5rem; align-items: center; }
.cta__copy > * + * { margin-top: 1.25rem; }
.cta__form { margin-top: 2rem; display: grid; gap: 1.1rem; max-width: 560px; }
.cta__visual { position: relative; border-radius: 30px; overflow: hidden; min-height: 320px; }
.cta__visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cta__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 40, 35, 0) 45%, rgba(30, 40, 35, .5)); }
.cta__visual .soon-row { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 2; }
.cta__visual .soon-badge { background: rgba(255, 255, 255, .92); box-shadow: none; }
@media (min-width: 1024px) {
  .cta { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4.5rem; }
  .cta__visual { min-height: 100%; height: 100%; }
}

/* ---------- Sub-page hero ---------- */
.page-hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); position: relative; overflow-x: clip; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 85% 20%, rgba(248, 210, 197, .38), transparent 70%), radial-gradient(40% 50% at 5% 20%, rgba(219, 230, 213, .55), transparent 70%); }
.page-hero__inner > * + * { margin-top: 1.25rem; }
.page-hero .lead { max-width: 44rem; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__inner { max-width: 860px; margin-inline: auto; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row, .page-hero--center .chips { justify-content: center; }
.page-hero__split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .page-hero__split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; }
.jump a { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: 0 1rem 0 .55rem; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(30, 40, 35, .06); text-decoration: none; color: var(--ink); font-weight: 620; font-size: .94rem; transition: transform .2s var(--ease), box-shadow .2s; }
.jump a:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.jump .icon-tile { width: 30px; height: 30px; border-radius: 50%; }
.jump .icon-tile .icon { width: 16px; height: 16px; }

/* ---------- Feature rows ---------- */
.group-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 760px; }
.frow { display: grid; gap: clamp(1.75rem, 1.25rem + 2vw, 3rem); align-items: center; }
.frow + .frow { margin-top: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.frow__copy > * + * { margin-top: 1rem; }
.frow__copy .ticks { margin-top: 1.4rem; }
.frow__copy .note { margin-top: 1.4rem; }
.frow__visual { position: relative; }
.frow__visual .moment { margin: 0 auto; }
.frow__visual--moment { display: grid; place-items: center; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-xl); }
@media (min-width: 960px) {
  .frow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 2rem + 4vw, 6rem); }
  .frow--flip .frow__visual { order: -1; }
}
.dual-phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.dual-phones .phone:first-child { transform: translateX(14%) rotate(-3deg) translateY(4%); z-index: 0; }
.dual-phones .phone:last-child { transform: translateX(-14%) rotate(3deg); z-index: 1; }
@media (max-width: 639px) { .dual-phones .phone { --w: min(46vw, 196px); } }
.mini-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mini-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.mini-feature { background: var(--paper); border-radius: var(--r-lg); padding: 1.35rem; box-shadow: var(--shadow-card); display: grid; gap: .65rem; align-content: start; }
.mini-feature h3 { font-size: 1.08rem; letter-spacing: -.01em; }
.mini-feature p { font-size: .95rem; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 72ch; color: var(--ink-soft); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); letter-spacing: -.02em; margin-top: 2.75rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h3 { font-size: 1.12rem; letter-spacing: -.01em; margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--sage); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 1.25rem; }
.prose th, .prose td { text-align: left; padding: .75rem .6rem; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 650; font-size: .85rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.updated { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--muted); font-weight: 600; }
.updated .icon { width: 16px; height: 16px; }
.doc-layout { display: grid; gap: 2.5rem; }
.toc { font-size: .92rem; }
.toc h2 { font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 720; margin-bottom: .75rem; }
.toc ol { list-style: none; display: grid; gap: .1rem; border-left: 1.5px solid var(--hairline); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--ink-soft); text-decoration: none; font-weight: 560; }
.toc a:hover { color: var(--ink); border-left-color: var(--sage); }
@media (max-width: 1023px) { .toc { background: var(--paper); border-radius: var(--r-lg); padding: 1.25rem 1.35rem; box-shadow: inset 0 0 0 1px var(--hairline); } }
@media (min-width: 1024px) {
  .doc-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .doc-layout .toc { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.summary-grid { display: grid; gap: .9rem; margin-top: 1.5rem; }
@media (min-width: 720px) { .summary-grid { grid-template-columns: 1fr 1fr; } }
.summary-item { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; background: var(--paper); border-radius: 20px; padding: 1.1rem 1.15rem; box-shadow: inset 0 0 0 1px var(--hairline); }
.summary-item .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.summary-item b { display: block; color: var(--ink); font-size: 1rem; letter-spacing: -.01em; margin-bottom: .15rem; }
.summary-item p { font-size: .93rem; line-height: 1.5; }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 1.25rem; }
.calc__card { background: var(--paper); border-radius: 30px; padding: clamp(1.4rem, 1.1rem + 1.5vw, 2.4rem); box-shadow: var(--shadow-lift); }
.calc__fields { display: grid; gap: 1.25rem; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 5.5rem; font-size: 1.15rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.input-unit .u { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: .88rem; color: var(--muted); font-weight: 650; pointer-events: none; }
.seg { display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: 999px; background: #F1EEE9; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: .45rem .95rem; border-radius: 999px; font-size: .86rem; font-weight: 680; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 1px; }
.calc__label-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.calc__result { margin-top: 1.5rem; border-radius: 24px; padding: 1.5rem; background: linear-gradient(160deg, #57705B, var(--sage-deep) 55%, #3B4D3F); color: #E4ECE1; display: grid; gap: .6rem; }
.calc__result .label { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 720; color: #F2F5F0; }
.calc__result output { font-size: clamp(3rem, 2.4rem + 2.5vw, 4.25rem); font-weight: 700; color: #fff; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__result p { font-size: .93rem; color: #F2F5F0; }
.calc__result.is-empty output { opacity: .5; }
.calc__error { color: #A23F44; font-weight: 600; font-size: .9rem; margin-top: .75rem; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92rem; background: var(--mist); color: var(--sage-ink); padding: .9rem 1rem; border-radius: 14px; overflow-x: auto; }
@media (min-width: 1024px) {
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
  .calc__card { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.maxw-sm { max-width: 38rem; }
.divider { height: 1px; background: var(--hairline); border: 0; margin: 0; }
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.thanks .lead { margin-inline: auto; }
.jc-center { justify-content: center; }
.thanks__mark { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.75rem; display: grid; place-items: center; background: var(--sage-deep); color: #fff; box-shadow: 0 0 0 12px var(--mist), 0 0 0 13px rgba(102, 123, 104, .2); }
.thanks__mark .icon { width: 38px; height: 38px; }
.crisis { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.35rem 1.4rem; border-radius: var(--r-lg); background: var(--blush); }
.crisis h2, .crisis h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.steps-list { list-style: none; counter-reset: s; display: grid; gap: .8rem; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: .85rem; align-items: start; }
.steps-list li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--sage-deep); font-weight: 750; font-size: .88rem; display: grid; place-items: center; }
.kbd { display: inline-block; padding: .05rem .5rem; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline), 0 1px 0 var(--hairline); font-size: .9em; font-weight: 650; color: var(--ink); white-space: nowrap; }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.values { display: grid; gap: 1rem; }
@media (min-width: 720px) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
.photo-card { border-radius: var(--r-panel); overflow: hidden; position: relative; background: var(--sage-soft); }
.photo-card img { width: 100%; height: auto; }
.photo-card--crop img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 12%; }
.err-code { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: .9; color: var(--sage); letter-spacing: -.03em; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.floaty { animation: float 5.5s var(--ease-in-out) infinite alternate; }
.floaty--2 { animation-duration: 6.5s; animation-delay: -2s; }
.floaty--3 { animation-duration: 7s; animation-delay: -4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tile:hover, .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta, .skip-link { display: none !important; }
  body { background: #fff; }
}

/* meds mini (track tile) */
.meds-mini { display: grid; gap: .45rem; }
.meds-mini__head { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; font-weight: 700; color: var(--ink); }
.meds-mini__head span { color: var(--muted); font-weight: 600; }
.med { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: center; background: var(--paper); border-radius: 14px; padding: .55rem .7rem; box-shadow: inset 0 0 0 1px var(--hairline); }
.med__tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--luteal); color: #fff; }
.med__tick--green { background: var(--follicular); }
.med__tick .icon { width: 14px; height: 14px; }
.med b { display: block; font-size: .88rem; color: var(--ink); line-height: 1.2; }
.med small { display: block; font-size: .74rem; color: var(--muted); font-weight: 560; }

/* Social links (footer on dark, and Ashley's card) */
.social-label { margin: 1.4rem 0 .5rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.6); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.social a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; transition: background-color .2s ease, border-color .2s ease; }
.social a:hover, .social a:focus-visible { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.social .icon { width: 18px; height: 18px; }
.social--card { justify-content: center; margin-top: 1rem; }
