/* Calebonne — marketing site. Tokens from docs/DESIGN_SYSTEM.md ("Bloom" edition).
   Cream ground, pastel washes, plum ink, rose CTAs, Fraunces SOFT display + Plus Jakarta Sans UI. */

:root {
  /* Palette (light) */
  --bg: #FFF7F2;
  --surface: #FFFFFF;
  --surface2: #FDF0EB;
  --surface3: #F7E3E1;
  --text: #2B1F2E;
  /* text2 / text3 sit one step darker than the token sheet so 14–16 px copy clears 4.5:1 on pastel washes. */
  --text2: #665868;
  --text3: #7A6C7E;
  --line: rgba(43, 31, 46, 0.08);
  --line-strong: rgba(43, 31, 46, 0.14);

  --rose: #EE6A8F;
  --rose-deep: #D94F77;
  --rose-ink: #C23A63;          /* rose for text/eyebrows/links: 4.9:1 on cream */
  --lilac: #9C7BEA;
  --lilac-ink: #6A4BC4;
  --peach: #FFC7A8;
  --blush: #FAD0DA;
  --butter: #FFE8A3;
  --sage: #CFEBD9;
  --sky: #CFE6F8;
  --sky-ink: #2F5F86;
  --on-accent: #FFFFFF;

  /* Band colours: stroke (ring), soft (chip bg / wash), ink (chip text, ≥ 4.5:1 on soft) */
  --band-excellent: #2FA079; --band-excellent-soft: #DDF3E6; --band-excellent-ink: #216E52;
  --band-good: #5DB68F;      --band-good-soft: #E6F5EC;      --band-good-ink: #2A7556;
  --band-fair: #E2AE3A;      --band-fair-soft: #FFF1CC;      --band-fair-ink: #7E6229;
  --band-weak: #F08A5D;      --band-weak-soft: #FFE5D8;      --band-weak-ink: #9A4A22;
  --band-poor: #DE5F79;      --band-poor-soft: #FBDDE5;      --band-poor-ink: #A63653;

  /* Washes (pastel over ground) */
  --wash-blush: color-mix(in srgb, var(--blush) 55%, var(--surface));
  --wash-lilac: color-mix(in srgb, var(--lilac) 22%, var(--surface));
  --wash-sky: color-mix(in srgb, var(--sky) 60%, var(--surface));
  --wash-sage: color-mix(in srgb, var(--sage) 60%, var(--surface));
  --wash-butter: color-mix(in srgb, var(--butter) 55%, var(--bg));
  --wash-peach: color-mix(in srgb, var(--peach) 45%, var(--surface));

  /* Gradients */
  --grad-bloom: linear-gradient(135deg, var(--peach) 0%, var(--blush) 50%, var(--lilac) 100%);
  --grad-bloom-soft: linear-gradient(135deg,
      color-mix(in srgb, var(--peach) 55%, var(--bg)) 0%,
      color-mix(in srgb, var(--blush) 60%, var(--bg)) 48%,
      color-mix(in srgb, var(--lilac) 32%, var(--bg)) 100%);
  --grad-button: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose-ink) 100%); /* white text ≥ 4.5:1 */
  --grad-meadow: linear-gradient(135deg,
      color-mix(in srgb, var(--sage) 45%, var(--surface)) 0%,
      color-mix(in srgb, var(--sky) 45%, var(--surface)) 100%);
  --grad-sunrise: radial-gradient(closest-side at 50% 45%,
      color-mix(in srgb, var(--butter) 70%, transparent) 0%,
      color-mix(in srgb, var(--peach) 45%, transparent) 55%,
      transparent 100%);
  --blob-opacity: 0.55;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-ui: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --soft: "opsz" 144, "SOFT" 100, "WONK" 1;
  --soft-text: "opsz" 72, "SOFT" 100;

  /* Shape */
  --r-pill: 999px;
  --r-control: 18px;
  --r-inset: 20px;
  --r-card: 28px;
  --r-sheet: 32px;

  /* Elevation */
  --shadow-glow: 0 18px 44px rgba(238, 106, 143, 0.22);
  --shadow-glow-strong: 0 22px 52px rgba(238, 106, 143, 0.32);
  --shadow-float: 0 16px 40px rgba(43, 31, 46, 0.12);
  --shadow-phone: 0 40px 80px -24px rgba(43, 31, 46, 0.35), 0 16px 32px -16px rgba(238, 106, 143, 0.25);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-micro: 160ms;
  --t-standard: 280ms;
  --t-hero: 800ms;

  --gutter: 20px;
  --container: 1120px;

  color-scheme: light;
}

/* dark theme (toggle) */
:root[data-theme="dark"] {
    --bg: #1A1320;
    --surface: #251B2C;
    --surface2: #2F2438;
    --surface3: #3A2D45;
    --text: #FBF3F7;
    --text2: #C4B6CB;
    --text3: #A192A8;
    --line: rgba(251, 243, 247, 0.10);
    --line-strong: rgba(251, 243, 247, 0.18);

    --rose: #F58BA8;
    --rose-deep: #EE6A8F;
    --rose-ink: #F58BA8;
    --lilac: #B49BF2;
    --lilac-ink: #C9B6F7;
    --peach: #FFB48E;
    --blush: #F2B7C6;
    --butter: #F5D77A;
    --sage: #9AD1B3;
    --sky: #9CC7EA;
    --sky-ink: #BBDCF5;
    --on-accent: #1A1320;

    --band-excellent: #7FD8B0; --band-excellent-soft: #1F3A30; --band-excellent-ink: #9FE4C3;
    --band-good: #95DDB9;      --band-good-soft: #213A31;      --band-good-ink: #A9E6C8;
    --band-fair: #F3CB6B;      --band-fair-soft: #3A3220;      --band-fair-ink: #F6D98C;
    --band-weak: #F7A985;      --band-weak-soft: #3F2A22;      --band-weak-ink: #F9BBA0;
    --band-poor: #F08AA1;      --band-poor-soft: #3F2230;      --band-poor-ink: #F5A5B7;

    --wash-blush: color-mix(in srgb, var(--blush) 20%, var(--surface));
    --wash-lilac: color-mix(in srgb, var(--lilac) 22%, var(--surface));
    --wash-sky: color-mix(in srgb, var(--sky) 20%, var(--surface));
    --wash-sage: color-mix(in srgb, var(--sage) 22%, var(--surface));
    --wash-butter: color-mix(in srgb, var(--butter) 12%, var(--bg));
    --wash-peach: color-mix(in srgb, var(--peach) 16%, var(--surface));

    --grad-bloom: linear-gradient(135deg, #5C2F4C 0%, #4B2A60 50%, #33255E 100%);
    --grad-bloom-soft: linear-gradient(135deg, #3A2D45 0%, #2B1E34 55%, #1A1320 100%);
    --grad-button: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
    --grad-meadow: linear-gradient(135deg,
        color-mix(in srgb, var(--sage) 18%, var(--surface)) 0%,
        color-mix(in srgb, var(--sky) 18%, var(--surface)) 100%);
    --grad-sunrise: radial-gradient(closest-side at 50% 45%,
        color-mix(in srgb, var(--butter) 22%, transparent) 0%,
        color-mix(in srgb, var(--peach) 14%, transparent) 55%,
        transparent 100%);
    --blob-opacity: 0.28;

    --shadow-glow: 0 18px 44px rgba(245, 139, 168, 0.22);
    --shadow-glow-strong: 0 22px 52px rgba(245, 139, 168, 0.30);
    --shadow-float: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-phone: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 16px 32px -16px rgba(245, 139, 168, 0.25);
    color-scheme: dark;
  }


/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--rose-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 12px;
}

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 100;
  background: var(--grad-button); color: #FFFFFF;
  padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-ink);
}
.sparkle-ico { font-style: normal; color: var(--rose); }

h1.display {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero-em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose-ink);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-display);
  font-variation-settings: var(--soft-text);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 .hero-em { color: var(--rose-ink); }

h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 52ch;
}

.section-lede {
  color: var(--text2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 60ch;
}

.footnote {
  color: var(--text3);
  font-size: 13px;
  line-height: 20px;
  margin-top: 20px;
}

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--rose-ink);
}
.text-link span { transition: transform var(--t-micro) var(--ease-out); }
.text-link:hover span { transform: translateX(3px); }

.mono { font-family: var(--font-mono); font-size: 13px; line-height: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  padding: 0 22px;
  height: 50px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-micro) var(--ease-bounce), filter var(--t-micro), background-color var(--t-micro), border-color var(--t-micro), box-shadow var(--t-standard);
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--grad-button);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: var(--shadow-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
/* dark theme (toggle) */
[data-theme="dark"] .btn-primary { color: var(--on-accent); font-weight: 800; }


.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: 0 6px 18px rgba(43, 31, 46, 0.05);
}
.btn-secondary:hover { border-color: var(--rose); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(238, 106, 143, 0.14); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 24px; }

.btn-icon { width: 20px; height: 20px; flex: none; }
.btn-lg span small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.1;
  margin-bottom: 1px;
}
.btn .arrow { transition: transform var(--t-micro) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Chips ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--surface2);
  color: var(--text);
  white-space: nowrap;
}
.chip-outline { background: transparent; border: 1px solid var(--line-strong); color: var(--text2); }
.chip-soft { background: var(--surface2); color: var(--text); }
.chip-cat { background: var(--wash-lilac); color: var(--lilac-ink); }
.chip-sky { background: var(--sky); color: var(--sky-ink); }
.chip-butter { background: var(--butter); color: var(--band-fair-ink); }
.chip-band.good { background: var(--band-good-soft); color: var(--band-good-ink); }
.chip-band.fair { background: var(--band-fair-soft); color: var(--band-fair-ink); }
/* dark theme (toggle) */
[data-theme="dark"] .chip-sky { background: color-mix(in srgb, var(--sky) 22%, var(--surface)); }
[data-theme="dark"] .chip-butter { background: color-mix(in srgb, var(--butter) 22%, var(--surface)); }


/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-standard), background-color var(--t-standard), box-shadow var(--t-standard);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(43, 31, 46, 0.05); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; }
.wordmark-mark { width: 34px; height: 34px; display: block; }
.wordmark-text {
  font-family: Fraunces, 'Instrument Serif', Georgia, serif;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: none;
}

.nav-links {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid var(--line);
}
.nav-links a {
  color: var(--text2);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color var(--t-micro), background-color var(--t-micro);
}
.nav-links a:hover { color: var(--rose-ink); background: var(--wash-blush); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle-bar { width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--t-standard) var(--ease-out); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 12px; right: 12px; top: 74px;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-float);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 16px; padding: 12px 16px; border-radius: 16px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background: var(--grad-bloom-soft);
}
.hero::after {
  /* fade the wash into the cream ground so the next section sits on plain cream */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: var(--blob-opacity);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.blob-a {
  width: 560px; height: 440px;
  left: -140px; top: -120px;
  background: var(--blush);
  animation: drift-a 30s ease-in-out infinite alternate;
}
.blob-b {
  width: 620px; height: 500px;
  right: -200px; bottom: -160px;
  background: var(--lilac);
  animation: drift-b 30s ease-in-out infinite alternate;
}
@keyframes drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(24px, 18px) scale(1.06); }
  100% { transform: translate(-16px, 26px) scale(1); }
}
@keyframes drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-26px, -16px) scale(1.05); }
  100% { transform: translate(16px, -28px) scale(1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 88px 0 112px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-grid > *, .split > *, .demo > * { min-width: 0; }
@media (max-width: 599px) { h1.display br { display: none; } h1.display { font-size: clamp(36px, 10.5vw, 44px); } }
.hero-copy .lede { margin-top: 2px; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.hero-ctas.centered { justify-content: center; }
.hero-ctas .btn-primary span { text-align: left; }

.hero-note { color: var(--text3); font-size: 14px; font-weight: 600; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 16px 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -6% -14%;
  background: radial-gradient(closest-side at 50% 45%, color-mix(in srgb, var(--butter) 60%, transparent), transparent 75%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
/* dark theme (toggle) */
[data-theme="dark"] .hero-visual::before { background: radial-gradient(closest-side at 50% 45%, color-mix(in srgb, var(--rose) 26%, transparent), transparent 75%); }


/* ---------- Sections ---------- */

.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

.section-alt {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 50% at 100% 0%, color-mix(in srgb, var(--lilac) 18%, transparent), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, var(--peach) 26%, transparent), transparent 70%),
    var(--surface2);
}
/* dark theme (toggle) */
[data-theme="dark"] .section-alt {
    background:
      radial-gradient(60% 50% at 100% 0%, color-mix(in srgb, var(--lilac) 12%, transparent), transparent 70%),
      radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, var(--peach) 10%, transparent), transparent 70%),
      var(--surface);
  }


.section-head {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 720px;
  margin-bottom: 40px;
}
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }

/* Cards */

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--t-standard) var(--ease-bounce), box-shadow var(--t-standard);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.card p { color: var(--text2); font-size: 15px; line-height: 23px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--surface); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 6px 16px rgba(43, 31, 46, 0.08);
}
.card-icon svg { width: 24px; height: 24px; }

.card-blush { background: var(--wash-blush); border-color: transparent; }
.card-blush .card-icon { color: var(--rose-ink); }
.card-lilac { background: var(--wash-lilac); border-color: transparent; }
.card-lilac .card-icon { color: var(--lilac-ink); }
.card-sky { background: var(--wash-sky); border-color: transparent; }
.card-sky .card-icon { color: var(--sky-ink); }
/* dark theme (toggle) */
[data-theme="dark"] .card-blush, [data-theme="dark"] .card-lilac, [data-theme="dark"] .card-sky { border-color: var(--line); }
[data-theme="dark"] .card-icon { background: var(--surface3); }


/* Steps */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  counter-reset: step;
  position: relative;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
/* dark theme (toggle) */
[data-theme="dark"] .step { background: var(--surface2); }

.step-icon {
  width: 56px; height: 56px; border-radius: 999px;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 24px; height: 24px; }
.step:nth-child(1) .step-icon { background: var(--blush); color: var(--rose-ink); }
.step:nth-child(2) .step-icon { background: var(--lilac); color: #FFFFFF; }
.step:nth-child(3) .step-icon { background: var(--sage); color: var(--band-excellent-ink); }
.step:nth-child(4) .step-icon { background: var(--butter); color: var(--band-fair-ink); }
/* dark theme (toggle) */
[data-theme="dark"] .step:nth-child(1) .step-icon { background: color-mix(in srgb, var(--blush) 26%, var(--surface)); color: var(--rose); }
[data-theme="dark"] .step:nth-child(2) .step-icon { background: color-mix(in srgb, var(--lilac) 30%, var(--surface)); color: var(--lilac-ink); }
[data-theme="dark"] .step:nth-child(3) .step-icon { background: var(--band-excellent-soft); color: var(--band-excellent-ink); }
[data-theme="dark"] .step:nth-child(4) .step-icon { background: var(--band-fair-soft); color: var(--band-fair-ink); }

.step-num {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-display); font-style: italic; font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: 18px; font-weight: 500;
  color: var(--text3);
}
.step h3 { margin-top: 6px; }
.step p { color: var(--text2); font-size: 15px; line-height: 23px; }

/* Split layout */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split-rev .split-copy { order: 1; }
  .split-rev .split-visual { order: 2; }
}
.split-copy { display: flex; flex-direction: column; gap: 18px; }
.split-copy > p:not(.eyebrow) { color: var(--text2); font-size: 17px; line-height: 1.6; }
.split-visual { display: flex; justify-content: center; min-width: 0; }

.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 24px;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--sage);
}
.checklist li::after {
  content: "";
  position: absolute; left: 7px; top: 8px;
  width: 8px; height: 4.5px;
  border-left: 2px solid var(--band-excellent-ink);
  border-bottom: 2px solid var(--band-excellent-ink);
  transform: rotate(-45deg);
}
/* dark theme (toggle) */
[data-theme="dark"] .checklist li::before { background: var(--band-excellent-soft); }


/* Ingredient sheet (mirrors the app's bottom sheet) */

.sheet {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sheet) var(--r-sheet) var(--r-card) var(--r-card);
  padding: 12px 26px 28px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-float);
  position: relative;
}
.sheet::before {
  /* pastel blob peeking behind the sheet */
  content: "";
  position: absolute; inset: -28px -20px auto auto;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--lilac);
  opacity: 0.35; filter: blur(40px);
  z-index: -1;
}
.sheet-handle { width: 40px; height: 5px; border-radius: 3px; background: var(--surface3); margin: 0 auto 6px; }
.sheet-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: 28px; line-height: 32px; letter-spacing: -0.015em; font-weight: 600;
}
.sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-block { display: flex; flex-direction: column; gap: 6px; }
.sheet-block p { font-size: 15px; line-height: 22px; }
.sheet-eyebrow {
  font-size: 11.5px; line-height: 16px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose-ink);
}

/* Category comparison strip */

.compare-wrap { position: relative; }
.compare-wrap::before {
  content: ""; position: absolute; left: -60px; bottom: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: var(--peach); opacity: 0.45; filter: blur(60px); pointer-events: none; z-index: 0;
}
.compare-wrap::after {
  content: ""; position: absolute; right: -80px; top: -90px;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--sky); opacity: 0.55; filter: blur(60px); pointer-events: none; z-index: 0;
}
/* dark theme (toggle) */
[data-theme="dark"] .compare-wrap::before, [data-theme="dark"] .compare-wrap::after { opacity: 0.16; }

.compare {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1px 1fr; } }
.compare-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 28px;
}
.compare-divider { background: var(--line); height: 1px; }
@media (min-width: 760px) { .compare-divider { height: auto; width: 1px; } }

.compare-pill {
  flex: none;
  width: 78px; height: 78px;
  border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
  position: relative;
}
.compare-pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 4px solid currentColor; opacity: 0.35;
}
.compare-pill.good { background: var(--band-good-soft); color: var(--band-good-ink); }
.compare-pill.fair { background: var(--band-fair-soft); color: var(--band-fair-ink); }
.compare-score {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 600; font-size: 30px; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.compare-band { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.compare-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.compare-brand { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text2); }
.sample-tag { font-weight: 700; letter-spacing: 0.04em; text-transform: none; color: var(--text3); }
.compare-name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: 23px; line-height: 27px; letter-spacing: -0.015em; font-weight: 600;
}
.compare-body .chip { align-self: flex-start; margin: 2px 0 4px; }
.compare-reason { color: var(--text2); font-size: 14.5px; line-height: 22px; }

/* Pro: always-free card + plan cards */

.fit-note {
  background: var(--wash-sage);
  border: 1px solid transparent;
  border-radius: var(--r-card);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.fit-note::before {
  content: "✦"; position: absolute; top: 16px; right: 20px;
  color: var(--band-excellent); font-size: 18px; line-height: 1;
}
/* dark theme (toggle) */
[data-theme="dark"] .fit-note { border-color: var(--line); }

.fit-note-title { font-family: var(--font-display); font-variation-settings: "opsz" 48, "SOFT" 100; font-weight: 600; font-size: 21px; line-height: 26px; letter-spacing: -0.01em; padding-right: 28px; }
.fit-note p:not(.fit-note-title) { color: var(--text2); font-size: 14.5px; line-height: 22px; }

.plans {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .plans { grid-template-columns: 1fr 1fr; align-items: start; } }

.plan {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.plan-selected {
  border-color: var(--rose);
  background: var(--wash-blush);
  box-shadow: var(--shadow-glow);
}
.plan-eyebrow {
  font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text2);
}
.plan-selected .plan-eyebrow { color: var(--rose-ink); }
.plan-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: 22px; line-height: 26px; letter-spacing: -0.015em; font-weight: 600;
}
.plan-list { display: flex; flex-direction: column; }
.plan-list li {
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 20px;
}
.plan-list li span { color: var(--text2); font-weight: 600; }
.plan-list li strong { font-weight: 700; color: var(--text); }
.plan-selected .plan-list li { border-top-color: color-mix(in srgb, var(--rose) 22%, transparent); }
.plan-note { color: var(--text2); font-size: 13px; line-height: 19px; }

/* Trust strip */

.trust {
  background: var(--wash-butter);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: ""; position: absolute; right: -120px; top: -140px;
  width: 360px; height: 360px; border-radius: 50%;
  background: var(--peach); opacity: 0.45; filter: blur(70px); pointer-events: none;
}
/* dark theme (toggle) */
[data-theme="dark"] .trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-theme="dark"] .trust::before { background: var(--butter); opacity: 0.16; }

.trust-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) { .trust-inner { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.trust-item { display: flex; flex-direction: column; gap: 8px; }
.trust-title {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 48, "SOFT" 100;
  font-size: 23px; line-height: 28px; letter-spacing: -0.015em; font-weight: 600;
  display: flex; align-items: baseline; gap: 8px;
}
.trust-title .sparkle-ico { font-family: var(--font-ui); font-size: 16px; color: var(--rose-ink); }
.trust-item p:not(.trust-title) { color: var(--text2); font-size: 15px; line-height: 23px; }

/* FAQ */

.faq-wrap { max-width: 760px; }
.faq { position: relative; display: flex; flex-direction: column; gap: 10px; }
.faq::before {
  content: ""; position: absolute; left: -140px; top: 40px;
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--lilac); opacity: 0.22; filter: blur(70px); pointer-events: none; z-index: 0;
}
.faq::after {
  content: ""; position: absolute; right: -120px; bottom: 0;
  width: 300px; height: 300px; border-radius: 50%;
  background: var(--butter); opacity: 0.45; filter: blur(70px); pointer-events: none; z-index: 0;
}
/* dark theme (toggle) */
[data-theme="dark"] .faq::before, [data-theme="dark"] .faq::after { opacity: 0.12; }

.faq-item { position: relative; z-index: 1; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: background-color var(--t-micro), border-color var(--t-micro);
}
.faq-item:has(.faq-q[aria-expanded="true"]) { background: var(--wash-blush); border-color: transparent; }
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 22px;
  background: none; border: 0; text-align: left;
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 24px;
  cursor: pointer;
  border-radius: 22px;
}
.faq-q:hover { color: var(--rose-ink); }
.faq-q:focus-visible { outline-offset: -3px; }
.faq-icon {
  position: relative; flex: none;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--surface2);
  color: var(--text);
  transition: background-color var(--t-micro), transform var(--t-standard) var(--ease-bounce);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; border-radius: 2px; background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--t-standard) var(--ease-out);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--grad-button); color: #FFFFFF; transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-standard) var(--ease-out);
}
.faq-a[hidden] { display: grid; }
.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-inner p {
  color: var(--text2);
  font-size: 15.5px; line-height: 24px;
  padding: 0 60px 22px 22px;
  max-width: 68ch;
}

/* Closing */

.closing { padding-top: 40px; }
.closing-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  background: var(--grad-bloom);
  border-radius: 36px;
  padding: 60px 24px;
  overflow: hidden;
  isolation: isolate;
}
.closing-inner::before, .closing-inner::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(50px); z-index: -1; pointer-events: none;
}
.closing-inner::before { width: 320px; height: 320px; left: -80px; top: -120px; background: var(--butter); opacity: 0.7; }
.closing-inner::after { width: 360px; height: 360px; right: -120px; bottom: -160px; background: var(--sky); opacity: 0.7; }
@media (min-width: 900px) { .closing-inner { padding: 80px 40px; } }
.closing-mark { width: 84px; height: 84px; margin-bottom: 8px; filter: drop-shadow(0 12px 22px rgba(217, 79, 119, 0.22)); }
.closing .section-lede { text-align: center; color: var(--text); }
/* dark theme (toggle) */
[data-theme="dark"] .closing-inner::before, [data-theme="dark"] .closing-inner::after { opacity: 0.18; }


/* Footer — plum, in both themes */

.footer {
  background: #2B1F2E;
  color: #FBF3F7;
  padding: 48px 0 52px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #FFC7A8, #EE6A8F, #9C7BEA, #CFE6F8) 1;
}
/* dark theme (toggle) */
[data-theme="dark"] .footer { background: #120C17; }

.disclaimer {
  color: #E6D9E8;
  font-size: 14px;
  line-height: 22px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(251, 243, 247, 0.12);
}
.disclaimer span { display: block; max-width: 70ch; }
.copyright { color: #C4B6CB; font-size: 13px; margin-top: 24px; }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .blob { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* Brand: monogram watermark behind the hero copy (mask so it takes a theme colour) */
.hero { position: relative; }
.hero-mono {
  position: absolute; left: -60px; bottom: -40px; width: 420px; height: 420px; pointer-events: none;
  background: var(--blush);
  -webkit-mask: url("assets/mark-mono.svg") no-repeat center / contain; mask: url("assets/mark-mono.svg") no-repeat center / contain;
  opacity: 0.55; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
@media (max-width: 899px) { .hero-mono { width: 260px; height: 260px; left: -40px; bottom: -30px; opacity: 0.45; } }
/* dark theme (toggle) */
[data-theme="dark"] .hero-mono { background: #3A2D45; opacity: 0.9; }


/* =====================================================================
   Bloom hero: blobs, sparkles, store pills, phone frame with a real screen
   ===================================================================== */

.blob-c {
  width: 460px; height: 380px;
  left: 38%; top: -160px;
  background: var(--peach);
  animation: drift-c 36s ease-in-out infinite alternate;
}
.blob-d {
  width: 380px; height: 320px;
  left: 30%; bottom: -120px;
  background: var(--butter);
  opacity: calc(var(--blob-opacity) * 0.8);
  animation: drift-d 40s ease-in-out infinite alternate;
}
@keyframes drift-c {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 22px) scale(1.08); }
  100% { transform: translate(22px, 12px) scale(0.98); }
}
@keyframes drift-d {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(28px, -18px) scale(1.06); }
  100% { transform: translate(-18px, 10px) scale(1); }
}

.spark {
  position: absolute;
  width: 22px; height: 22px;
  fill: var(--rose);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: spark-twinkle 5.2s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--rose) 45%, transparent));
}
.spark-1 { left: 6%; top: 22%; animation-delay: 0s; }
.spark-2 { left: 44%; top: 14%; width: 14px; height: 14px; fill: var(--lilac); animation-delay: 1.6s; }
.spark-3 { right: 8%; top: 18%; width: 28px; height: 28px; fill: var(--butter); animation-delay: 2.7s; }
.spark-4 { right: 22%; bottom: 14%; width: 16px; height: 16px; animation-delay: 3.9s; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  12%      { opacity: 1; transform: scale(1.15) rotate(8deg); }
  26%      { opacity: 0.85; transform: scale(0.95) rotate(0deg); }
  42%      { opacity: 0; transform: scale(0.4) rotate(20deg); }
}

/* Store pills: glossy rose gradient with a top sheen, white text at 4.5:1 or better */
.btn-store {
  height: 56px;
  padding: 0 22px 0 18px;
  gap: 11px;
  background: var(--grad-button);
  color: #FFFFFF;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.btn-store::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04));
  border-radius: inherit;
  pointer-events: none;
}
.btn-store:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: var(--shadow-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.btn-store .btn-icon { width: 24px; height: 24px; position: relative; }
.btn-store.is-soon { cursor: pointer; }
.btn-store.is-soon span small { opacity: 0.95; }
.btn-store span { display: block; text-align: left; line-height: 1.05; font-size: 16px; letter-spacing: -0.01em; position: relative; }
.btn-store span small {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.9; line-height: 1.1; margin-bottom: 2px;
}
/* dark theme (toggle) */
[data-theme="dark"] .btn-store { color: var(--on-accent); }


.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }

.hero-visual { padding: 24px 0 8px; }

.phone-stage {
  position: relative;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 900px) { .phone-stage { width: 320px; } }

.phone {
  position: relative;
  margin: 0;
  border-radius: 52px;
  padding: 10px;
  background: linear-gradient(160deg, #3A2D45, #1F1626 60%, #2B1F2E);
  box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 3px rgba(0, 0, 0, 0.25);
  transform: rotate(-2.5deg);
}
.phone::before {
  content: "";
  position: absolute; left: 50%; top: 22px;
  transform: translateX(-50%);
  width: 86px; height: 24px;
  background: #0E0A11;
  border-radius: 999px;
  z-index: 3;
}
.phone::after {
  content: "";
  position: absolute; inset: 10px;
  border-radius: 44px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
  z-index: 2;
}
.phone-screen {
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 720 / 1561;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Floating badges around the phone */
.float {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid color-mix(in srgb, #FFFFFF 60%, var(--line));
  box-shadow: var(--shadow-float);
  font-size: 13px; line-height: 16px; font-weight: 700;
  color: var(--text);
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: opacity 520ms var(--ease-out), transform 640ms var(--ease-bounce);
  z-index: 4;
  white-space: nowrap;
}
.phone-stage.is-live .float { opacity: 1; transform: none; }
.phone-stage.is-live .float-fit { transition-delay: 140ms; }
.phone-stage.is-live .float-rule { transition-delay: 280ms; }
/* dark theme (toggle) */
[data-theme="dark"] .float { border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 82%, transparent); }


/* Floats sit beside the phone, never over the screen (founder 2026-09-11: "a lot of overlay happening");
   the two side badges only appear when the hero has room for them (≥ 1100px). */
.float-score { left: -176px; right: auto; top: 18%; display: none; }
@media (min-width: 1100px) { .phone-stage .float-score, .phone-stage .float-fit { display: flex; } }
.float-ring {
  width: 44px; height: 44px; flex: none; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-variation-settings: var(--soft);
  font-weight: 600; font-size: 20px; letter-spacing: -0.03em;
  background: var(--band-excellent-soft); color: var(--text);
  box-shadow: inset 0 0 0 4px var(--band-excellent);
}
.float-text { display: flex; flex-direction: column; gap: 1px; }
.float-text b { font-weight: 800; color: var(--band-excellent-ink); display: inline-flex; align-items: center; gap: 4px; }
.float-text b .sparkle-ico { color: var(--band-excellent); font-size: 12px; animation: spark-once 1.2s var(--ease-bounce) 900ms both; }
.float-text small { font-size: 12px; font-weight: 600; color: var(--text2); }
@keyframes spark-once { 0% { transform: scale(0) rotate(-30deg); } 60% { transform: scale(1.4) rotate(10deg); } 100% { transform: scale(1) rotate(0); } }

.float-fit { left: -200px; bottom: 22%; display: none; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 14px; border-left: 4px solid var(--lilac); background: color-mix(in srgb, var(--surface) 90%, var(--lilac)); }
.float-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lilac-ink); }
.float-fit b { font-weight: 700; }

.float-rule { left: 14px; top: auto; bottom: -22px; padding: 8px 14px 8px 10px; font-size: 12.5px; gap: 8px; }
.float-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--grad-button); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 22%, transparent); }

@media (max-width: 420px) {
  .phone-stage { width: 268px; }
  .float-rule { left: 8px; bottom: -20px; }
  .float { font-size: 12px; }
  .float-fit b { max-width: 150px; white-space: normal; }
}

/* =====================================================================
   Ring, chips, reason dots (shared by the demo)
   ===================================================================== */

.ring-wrap { position: relative; width: 140px; height: 140px; }
.ring-lg { width: 168px; height: 168px; }
.ring { transform: rotate(-90deg); width: 100%; height: 100%; }
/* founder 2026-10-19: the ring is the app's ScoreRing — a solid pastel track in the band's soft tint, a 12 px round-capped
   arc with no glow, the number in the display face with "/ 100" tucked under it, the sparkle at the top right */
.ring-track { fill: none; stroke: var(--band-soft, color-mix(in srgb, var(--band) 24%, white)); stroke-width: 12; stroke-linecap: round; }
.ring-progress {
  fill: none;
  stroke: var(--band);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 464.96;
  stroke-dashoffset: 464.96;
  transition: stroke 400ms;
}
.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
}
.score-num {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 600;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ring-lg .score-num { font-size: 64px; }
.score-den { font-size: 12px; line-height: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--text3, var(--text2)); margin-top: 2px; }
.ring-spark {
  position: absolute; right: 12px; top: 10px;
  font-style: normal; font-size: 18px; line-height: 1;
  color: var(--band);
  opacity: 0; transform: scale(0.3) rotate(-30deg);
  pointer-events: none;
}
.ring-spark.is-in { animation: twinkle 900ms var(--ease-bounce) forwards; }

.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip-band { --band-ink: var(--text2); --band-soft: var(--surface2); background: var(--band-soft); color: var(--band-ink); }
.chip-band[data-band="EXCELLENT"], .chip-band.excellent { --band-soft: var(--band-excellent-soft); --band-ink: var(--band-excellent-ink); }
.chip-band[data-band="GOOD"], .chip-band.good { --band-soft: var(--band-good-soft); --band-ink: var(--band-good-ink); }
.chip-band[data-band="FAIR"], .chip-band.fair { --band-soft: var(--band-fair-soft); --band-ink: var(--band-fair-ink); }
.chip-band[data-band="WEAK"], .chip-band.weak { --band-soft: var(--band-weak-soft); --band-ink: var(--band-weak-ink); }
.chip-band[data-band="POOR"], .chip-band.poor { --band-soft: var(--band-poor-soft); --band-ink: var(--band-poor-ink); }
#demo-band { opacity: 0; transform: scale(0.6); transition: opacity 280ms var(--ease-out), transform 420ms var(--ease-bounce); }
#demo-band.is-in { opacity: 1; transform: none; }
.sparkle { display: inline-block; font-style: normal; opacity: 0; transform: scale(0.4); }
.is-in .sparkle { animation: twinkle 900ms var(--ease-bounce) 120ms forwards; }
@keyframes twinkle {
  0%   { opacity: 0; transform: scale(0.4) rotate(-30deg); }
  55%  { opacity: 1; transform: scale(1.35) rotate(10deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.ph-dot {
  width: 26px; height: 26px; flex: none; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ph-dot svg { width: 12px; height: 12px; }
.ph-dot.strength { background: var(--sage); color: var(--band-excellent-ink); }
.ph-dot.tradeoff { background: var(--butter); color: var(--band-fair-ink); }
/* dark theme (toggle) */
[data-theme="dark"] .ph-dot.strength { background: var(--band-excellent-soft); color: var(--band-excellent-ink); }
[data-theme="dark"] .ph-dot.tradeoff { background: var(--band-fair-soft); color: var(--band-fair-ink); }


/* =====================================================================
   In the app: snap-scroll screenshot gallery
   ===================================================================== */

.gallery-section { overflow: hidden; }
.gallery-head { max-width: none; display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.gallery-nav { display: none; gap: 8px; flex: none; }
@media (min-width: 760px) { .gallery-nav { display: flex; } }
.gallery-btn {
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform var(--t-micro) var(--ease-bounce), border-color var(--t-micro), opacity var(--t-micro);
}
.gallery-btn svg { width: 20px; height: 20px; }
.gallery-btn:hover { border-color: var(--rose); transform: translateY(-1px); }
.gallery-btn:disabled { opacity: 0.35; cursor: default; transform: none; }

.gallery-scroller { width: 100%; }
.gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  padding: 24px max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))) 32px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline-offset: -3px; border-radius: 0; }
.shot { flex: 0 0 auto; width: 232px; scroll-snap-align: start; }
@media (min-width: 900px) { .shot { width: 250px; } .gallery { gap: 28px; } }
.shot figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.shot-frame {
  border-radius: 40px;
  padding: 8px;
  background: linear-gradient(160deg, #3A2D45, #1F1626 60%, #2B1F2E);
  box-shadow: 0 30px 60px -28px rgba(43, 31, 46, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform var(--t-standard) var(--ease-bounce), box-shadow var(--t-standard);
}
.shot:hover .shot-frame { transform: translateY(-6px); box-shadow: 0 40px 70px -28px rgba(238, 106, 143, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.shot-frame img { width: 100%; height: auto; border-radius: 33px; display: block; background: var(--bg); }
.shot figcaption { display: flex; flex-direction: column; gap: 3px; padding: 0 6px; }
.shot figcaption b {
  font-family: var(--font-display); font-variation-settings: "opsz" 48, "SOFT" 100;
  font-weight: 600; font-size: 19px; line-height: 24px; letter-spacing: -0.015em;
}
.shot figcaption span { color: var(--text2); font-size: 14px; line-height: 20px; }
.shot:nth-child(1) figcaption b::after, .shot:nth-child(2) figcaption b::after { content: " ✦"; color: var(--rose); font-size: 14px; }
/* dark theme (toggle) */
[data-theme="dark"] .shot-frame { background: linear-gradient(160deg, #4A3A57, #2A1F33 60%, #3A2D45); }


/* =====================================================================
   Try a score: product cards + live result
   ===================================================================== */

.demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .demo .demo-result { position: sticky; top: 92px; }
}
.demo-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 560px) { .demo-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } }
@media (min-width: 900px) { .demo-list { grid-template-columns: 1fr; gap: 10px; } }
@media (min-width: 1040px) { .demo-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } }

.demo-card {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 12px 14px 12px 12px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 22px;
  text-align: left;
  cursor: pointer;
  transition: transform var(--t-standard) var(--ease-bounce), border-color var(--t-micro), box-shadow var(--t-standard), background-color var(--t-micro);
}
.demo-card:hover { transform: translateY(-2px); border-color: var(--rose); box-shadow: 0 12px 28px rgba(238, 106, 143, 0.14); }
.demo-card:active { transform: scale(0.97); }
.demo-card.is-selected { border-color: var(--rose); background: var(--wash-blush); box-shadow: var(--shadow-glow); }
.demo-card:focus-visible { outline-offset: 2px; }
.demo-thumb {
  width: 52px; height: 52px; flex: none; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(43, 31, 46, 0.06);
}
.demo-initial {
  font-family: var(--font-display); font-style: italic; font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: 26px; line-height: 1; color: var(--text);
}
.tint-blush .demo-thumb { background: var(--blush); }
.tint-butter .demo-thumb { background: var(--butter); }
.tint-sage .demo-thumb { background: var(--sage); }
.tint-peach .demo-thumb { background: var(--peach); }
.tint-lilac .demo-thumb { background: color-mix(in srgb, var(--lilac) 45%, #FFFFFF); }
.tint-sky .demo-thumb { background: var(--sky); }
/* dark theme (toggle) */
[data-theme="dark"] .tint-blush .demo-thumb { background: color-mix(in srgb, var(--blush) 30%, var(--surface)); }
[data-theme="dark"] .tint-butter .demo-thumb { background: color-mix(in srgb, var(--butter) 26%, var(--surface)); }
[data-theme="dark"] .tint-sage .demo-thumb { background: color-mix(in srgb, var(--sage) 28%, var(--surface)); }
[data-theme="dark"] .tint-peach .demo-thumb { background: color-mix(in srgb, var(--peach) 28%, var(--surface)); }
[data-theme="dark"] .tint-lilac .demo-thumb { background: color-mix(in srgb, var(--lilac) 32%, var(--surface)); }
[data-theme="dark"] .tint-sky .demo-thumb { background: color-mix(in srgb, var(--sky) 28%, var(--surface)); }

.demo-card-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.demo-card-brand { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text2); }
.demo-card-name { font-weight: 700; font-size: 15px; line-height: 20px; letter-spacing: -0.01em; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-card-cat { font-size: 12.5px; color: var(--text2); font-weight: 600; }
.demo-card-score {
  --band-stroke: var(--line-strong); --band-soft: var(--surface2);
  flex: none; width: 46px; height: 46px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--band-soft); color: var(--text);
  box-shadow: inset 0 0 0 3.5px var(--band-stroke);
  font-family: var(--font-display); font-variation-settings: var(--soft);
  font-weight: 600; font-size: 19px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.demo-card-score[data-band="EXCELLENT"] { --band-soft: var(--band-excellent-soft); --band-stroke: var(--band-excellent); }
.demo-card-score[data-band="GOOD"] { --band-soft: var(--band-good-soft); --band-stroke: var(--band-good); }
.demo-card-score[data-band="FAIR"] { --band-soft: var(--band-fair-soft); --band-stroke: var(--band-fair); }
.demo-card-score[data-band="WEAK"] { --band-soft: var(--band-weak-soft); --band-stroke: var(--band-weak); }
.demo-card-score[data-band="POOR"] { --band-soft: var(--band-poor-soft); --band-stroke: var(--band-poor); }

.demo-result {
  --band: var(--text3);
  --band-soft: var(--surface2);
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 26px 24px;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 500ms;
}
.demo-result.is-live { background: color-mix(in srgb, var(--band-soft) 55%, var(--surface)); }
.demo-result[data-band="EXCELLENT"] { --band: var(--band-excellent); --band-soft: var(--band-excellent-soft); }
.demo-result[data-band="GOOD"] { --band: var(--band-good); --band-soft: var(--band-good-soft); }
.demo-result[data-band="FAIR"] { --band: var(--band-fair); --band-soft: var(--band-fair-soft); }
.demo-result[data-band="WEAK"] { --band: var(--band-weak); --band-soft: var(--band-weak-soft); }
.demo-result[data-band="POOR"] { --band: var(--band-poor); --band-soft: var(--band-poor-soft); }
.demo-glow {
  position: absolute; inset: -30% -20% auto -20%; height: 90%;
  background: var(--grad-sunrise);
  filter: blur(30px);
  opacity: 0; transition: opacity 600ms;
  pointer-events: none; z-index: -1;
}
.demo-result[data-band="EXCELLENT"] .demo-glow, .demo-result[data-band="GOOD"] .demo-glow { opacity: 0.9; }
.demo-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose-ink); }
.demo-hero { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.demo-meta { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.demo-brand { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text2); }
.demo-name {
  font-family: var(--font-display); font-variation-settings: "opsz" 48, "SOFT" 100;
  font-weight: 600; font-size: 24px; line-height: 28px; letter-spacing: -0.015em;
  text-wrap: balance;
}
.demo-summary {
  font-family: var(--font-display); font-style: italic; font-variation-settings: "opsz" 24, "SOFT" 100;
  font-weight: 500; font-size: 17px; line-height: 26px; color: var(--text);
}
.demo-reasons { display: flex; flex-direction: column; gap: 8px; }
.demo-reason {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 14.5px; line-height: 21px; font-weight: 600;
  animation: reason-in 460ms var(--ease-out) both;
  animation-delay: calc(500ms + var(--i, 0) * 120ms);
}
@keyframes reason-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.demo-reason-body { display: flex; flex-direction: column; gap: 2px; }
.demo-reason-kind { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.demo-reason.plus .demo-reason-kind { color: var(--band-excellent-ink); }
.demo-reason.minus .demo-reason-kind { color: var(--band-fair-ink); }
.demo-list { list-style: none; display: flex; flex-direction: column; gap: 10px; animation: reason-in 460ms var(--ease-out) both; animation-delay: calc(500ms + var(--i, 0) * 120ms); }
.demo-list + .demo-list { margin-top: 6px; }
.demo-list-head { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.demo-list-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.demo-list-eyebrow .sparkle { color: var(--rose); font-size: 11px; }
.demo-list-title { font-family: var(--font-display); font-variation-settings: "opsz" 24, "SOFT" 100; font-weight: 600; font-size: 20px; line-height: 24px; color: var(--text); }
.demo-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; position: relative; }
.demo-rows::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 72px; pointer-events: none; background: linear-gradient(180deg, var(--wash) 0%, transparent 100%); }
.demo-list.plus .demo-rows { --wash: color-mix(in srgb, var(--sage) 55%, transparent); border-color: color-mix(in srgb, var(--sage) 55%, transparent); }
.demo-list.minus .demo-rows { --wash: color-mix(in srgb, var(--peach) 55%, transparent); border-color: color-mix(in srgb, var(--peach) 55%, transparent); }
.demo-rows .demo-reason { position: relative; border: 0; border-radius: 0; background: transparent; padding: 12px 14px; align-items: center; animation-delay: calc(560ms + var(--i, 0) * 90ms); }
.demo-rows .demo-reason + .demo-reason { border-top: 1px solid var(--line); }
.demo-pebble { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.demo-pebble svg { width: 14px; height: 14px; }
.demo-reason.plus .demo-pebble { background: color-mix(in srgb, var(--sage) 70%, white); color: var(--band-excellent-ink); }
.demo-reason.minus .demo-pebble { background: color-mix(in srgb, var(--peach) 60%, white); color: var(--band-fair-ink); }
.demo-foot { margin-top: 2px; }
@media (max-width: 420px) {
  .demo-result { padding: 22px 18px 20px; }
  .demo-hero { justify-content: center; text-align: center; }
  .demo-meta { align-items: center; }
  .demo-meta .ph-chips { justify-content: center; }
}

/* =====================================================================
   Closing + waitlist
   ===================================================================== */

.closing-inner { gap: 18px; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; }
.closing-inner .spark { z-index: 0; }
.spark-c1 { left: 12%; top: 22%; width: 26px; height: 26px; fill: #FFFFFF; }
.spark-c2 { right: 14%; bottom: 24%; width: 18px; height: 18px; fill: #FFFFFF; animation-delay: 2.2s; }
.closing .section-lede { max-width: 52ch; }
.closing-ctas { margin-top: 4px; }
.closing .btn-ghost { color: var(--text); }
.closing .btn-ghost:hover { background: color-mix(in srgb, #FFFFFF 40%, transparent); }
/* dark theme (toggle) */
[data-theme="dark"] .closing .btn-ghost:hover { background: color-mix(in srgb, #FFFFFF 10%, transparent); }


.waitlist { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.waitlist-row {
  display: flex; gap: 8px;
  padding: 6px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, #FFFFFF 50%, var(--line));
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-float);
  transition: box-shadow var(--t-standard), border-color var(--t-micro);
}
.waitlist-row:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 22%, transparent), var(--shadow-float); }
.waitlist-input {
  flex: 1; min-width: 0;
  height: 50px; padding: 0 18px;
  border: 0; background: transparent; color: var(--text);
  font: inherit; font-weight: 600; font-size: 16px;
  border-radius: var(--r-pill);
}
.waitlist-input::placeholder { color: var(--text3); font-weight: 500; }
.waitlist-input:focus { outline: none; }
.waitlist-input[aria-invalid="true"] { color: var(--band-poor-ink); }
.waitlist-btn { flex: none; height: 50px; position: relative; }
.waitlist-btn-busy { display: none; }
.waitlist.is-busy .waitlist-btn-label { visibility: hidden; }
.waitlist.is-busy .waitlist-btn-busy { display: inline; position: absolute; }
.waitlist.is-done .waitlist-btn { background: var(--band-excellent); box-shadow: none; color: #FFFFFF; }
.waitlist.is-done .waitlist-input { color: var(--text2); }
.waitlist-msg { min-height: 20px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); text-align: center; }
.waitlist-msg[data-kind="ok"] { color: var(--band-excellent-ink); }
.waitlist-msg[data-kind="err"] { color: var(--band-poor-ink); }
/* dark theme (toggle) */
[data-theme="dark"] .waitlist-row { border-color: var(--line-strong); }
[data-theme="dark"] .waitlist-msg[data-kind="ok"], [data-theme="dark"] .waitlist-msg[data-kind="err"] { color: var(--text); }

@media (max-width: 480px) {
  .waitlist-row { flex-direction: column; border-radius: 28px; padding: 8px; }
  .waitlist-input { height: 46px; text-align: center; }
  .waitlist-btn { width: 100%; }
}

/* =====================================================================
   Footer
   ===================================================================== */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer .wordmark { color: #FBF3F7; }
.footer-tag { color: #C4B6CB; font-size: 14px; line-height: 20px; }
.social { display: flex; gap: 8px; }
.social a {
  width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(251, 243, 247, 0.08); color: #FBF3F7;
  border: 1px solid rgba(251, 243, 247, 0.12);
  transition: background-color var(--t-micro), transform var(--t-micro) var(--ease-bounce);
}
.social a:hover { background: rgba(238, 106, 143, 0.35); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #FFC7A8; margin-bottom: 4px; }
.footer-col a { color: #E6D9E8; font-weight: 600; font-size: 14.5px; }
.footer-col a:hover { color: #FFFFFF; }
.footer a:focus-visible, .footer .wordmark:focus-visible { outline-color: var(--peach); }
.copyright { color: #C4B6CB; font-size: 13px; margin-top: 36px; }

/* =====================================================================
   Toast
   ===================================================================== */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  transform: translate(-50%, 20px) scale(0.96);
  opacity: 0;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  background: #2B1F2E; color: #FBF3F7;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700; line-height: 20px;
  box-shadow: var(--shadow-float);
  pointer-events: none;
  transition: opacity 240ms var(--ease-out), transform 420ms var(--ease-bounce);
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0) scale(1); }
/* dark theme (toggle) */
[data-theme="dark"] .toast { background: #FBF3F7; color: #2B1F2E; }


/* =====================================================================
   Legal page
   ===================================================================== */

.legal-hero { padding: 56px 0 24px; position: relative; overflow: hidden; isolation: isolate; background: var(--grad-bloom-soft); }
.legal-hero .container { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.legal-hero h1 { font-family: var(--font-display); font-variation-settings: var(--soft-text); font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
.legal-block table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 21px; }
.legal-block th, .legal-block td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); color: var(--text2); }
.legal-block th { color: var(--text); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-block .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.legal { padding: 40px 0 88px; }
.legal .container { max-width: 800px; display: flex; flex-direction: column; gap: 40px; }
.legal-block { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.legal-block h2 { font-size: clamp(26px, 3vw, 34px); }
.legal-block h3 { margin-top: 8px; }
.legal-block p, .legal-block li { color: var(--text2); font-size: 16px; line-height: 26px; }
.legal-block ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; list-style: disc; }
.legal-block li::marker { color: var(--rose); }
.legal-meta { color: var(--text3); font-size: 13.5px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-toc a { display: inline-flex; height: 34px; align-items: center; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); font-weight: 700; font-size: 14px; }
.legal-toc a:hover { border-color: var(--rose); color: var(--rose-ink); text-decoration: none; }

/* =====================================================================
   Reduced motion (additions)
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  .spark { animation: none; opacity: 0.7; transform: none; }
  .float, .phone-stage .float { opacity: 1; transform: none; transition: none; }
  .float-text b .sparkle-ico { animation: none; }
  #demo-band { opacity: 1; transform: none; }
  .sparkle, .is-in .sparkle, .ring-spark, .ring-spark.is-in { animation: none; opacity: 1; transform: none; }
  .demo-reason { animation: none; }
  .shot:hover .shot-frame, .demo-card:hover, .gallery-btn:hover { transform: none; }
  .toast { transition: none; }
}

/* ---------- Demo product photos (real labels, founder 2026-09-11) ---------- */
.demo-list > .demo-card { min-width: 0; }
.demo-thumb { overflow: hidden; }
.demo-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; background: #fff; }
.demo-photo {
  width: 68px; height: 68px; flex: none; border-radius: 22px; object-fit: cover; display: block;
  background: #fff; box-shadow: 0 8px 20px rgba(43, 31, 46, 0.10), inset 0 0 0 1px rgba(43, 31, 46, 0.06);
  opacity: 0; transform: scale(0.9); transition: opacity 320ms, transform 420ms var(--ease-bounce);
}
.demo-result.is-live .demo-photo { opacity: 1; transform: none; }
.demo-meta-top { display: flex; align-items: center; gap: 14px; }

/* ---------- Launch countdown ---------- */
.launch {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 600; color: var(--text2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.launch b { color: var(--rose-ink); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.launch-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--grad-button); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 22%, transparent); animation: launch-pulse 2s ease-in-out infinite; }
@keyframes launch-pulse { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 22%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--rose) 8%, transparent); } }
.launch-center { align-self: center; margin: 18px auto 0; }
@media (prefers-reduced-motion: reduce) { .launch-dot { animation: none; } }

/* ---------- Hero badges: a static row under the phone (founder 2026-09-11: "still overlay problems") ---------- */
.hero-visual { flex-direction: column; align-items: center; }
.phone-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; max-width: 420px; }
.phone-badges .float { position: static; opacity: 1; transform: none; display: flex; white-space: normal; }
.phone-badges .float-fit { flex-direction: row; align-items: center; gap: 8px; padding: 10px 14px; }
.phone-badges .float-fit b { max-width: none; }
.phone-badges .float-rule { padding: 10px 14px 10px 12px; }
@media (max-width: 899px) { .phone-badges { margin-top: 30px; } }

/* Swipe hint under the gallery on touch screens only. */
.gallery-hint { display: none; text-align: center; font-size: 13px; color: var(--text3); font-weight: 600; margin-top: 10px; }

/* =====================================================================
   PHONE LAYOUT (founder 2026-09-14: "optimized UI for phone, make it look sooo good")
   Everything below only applies under 900px / 600px; desktop is untouched.
   ===================================================================== */

/* No sideways scrolling, ever: decorative blobs and glows are clipped at the page edge. */
html, body { overflow-x: clip; }
.demo-result { overflow: hidden; }

@media (max-width: 899px) {
  :root { --gutter: 20px; }

  /* Nav: shorter bar, logo + Get the app + hamburger on one line. */
  .nav-inner { min-height: 60px; }
  .nav .btn-primary { height: 40px; padding: 0 16px; font-size: 14px; }

  /* Hero: centered, stacked, phone underneath with a soft stage. */
  .hero { padding: 36px 0 56px; }
  .hero-grid { gap: 36px; }
  .hero-copy { align-items: center; text-align: center; gap: 18px; }
  .hero-copy .eyebrow { justify-content: center; }
  h1.display { font-size: clamp(38px, 11vw, 48px); line-height: 1.04; }
  .lede { font-size: 16.5px; line-height: 26px; max-width: 34ch; margin: 0 auto; }
  .hero-ctas { width: 100%; justify-content: center; gap: 10px; }
  .hero-ctas .btn-store { flex: 1 1 100%; justify-content: center; height: 58px; }
  .hero-ctas .btn-secondary { flex: 1 1 100%; justify-content: center; height: 50px; }
  .launch { align-self: center; font-size: 13.5px; }
  .hero-note { font-size: 13px; }
  .hero-mono { display: none; }
  .hero-visual { padding: 8px 0 0; }
  .phone-stage { width: min(300px, 78vw); }
  .phone { transform: rotate(0deg); border-radius: 44px; padding: 8px; }
  .phone-badges { margin-top: 22px; gap: 8px; }
  .phone-badges .float { font-size: 12.5px; padding: 8px 12px 8px 9px; }

  /* Sections: tighter rhythm, headings that fit a phone line. */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: clamp(28px, 8vw, 36px); line-height: 1.08; }
  .section-lede { font-size: 16px; line-height: 25px; }
  .card { padding: 20px; border-radius: 24px; }
  .grid-3, .steps { gap: 12px; }
  .split { gap: 32px; }

  /* Gallery: swipe on touch, arrows out of the way, first card aligned with the text. */
  .gallery-nav { display: none; }
  .gallery { scroll-padding-left: var(--gutter); gap: 14px; }
  .shot { width: 232px; }
  .gallery-hint { display: block; }

  /* Try a score: compact result card that the page scrolls to after a tap. */
  .demo { gap: 16px; }
  .demo-card { padding: 10px 12px; border-radius: 20px; }
  .demo-thumb { width: 48px; height: 48px; border-radius: 16px; }
  .demo-result { padding: 20px; border-radius: 24px; scroll-margin-top: 76px; }
  .demo-hero { gap: 16px; }
  .ring-lg { width: 132px; height: 132px; }
  .ring-lg .ring { width: 132px; height: 132px; }
  .demo-name { font-size: 22px; line-height: 26px; }
  .demo-photo { width: 56px; height: 56px; border-radius: 18px; }

  /* Waitlist: field and button stacked, full width. */
  .waitlist-row { flex-direction: column; }
  .waitlist-row .waitlist-input, .waitlist-row .waitlist-btn { width: 100%; }
  .closing-inner { padding: 28px 20px; }

  /* Footer: one column, everything left-aligned, comfortable tap targets. */
  .footer-grid { gap: 28px; }
  .footer-col a { display: inline-block; padding: 6px 0; }
}

@media (max-width: 599px) {
  .btn-store { padding: 0 18px; }
  .phone-badges { max-width: 100%; }
  .demo-list { grid-template-columns: 1fr; }
  .demo-card-name { white-space: normal; }
}

@media (max-width: 899px) {
  .ring-lg .score-num { font-size: 48px; }
  .ring-lg .score-den { font-size: 13px; }
}
@media (max-width: 899px) {
  .launch b { white-space: nowrap; }
  .launch-center { max-width: 100%; }
}
@media (max-width: 759px) { .gallery-head .gallery-nav, .gallery-nav { display: none !important; } }

/* ---------- Day / night toggle (light by default; stored choice wins) ---------- */
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
.theme-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--text2);
  cursor: pointer; transition: color var(--t-standard), background var(--t-standard), transform var(--t-standard) var(--ease-bounce);
}
.theme-toggle:hover { color: var(--rose-ink); background: var(--wash-blush); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--rose) 45%, transparent); outline-offset: 2px; }
.theme-toggle-track { display: none; }
.theme-ico { width: 20px; height: 20px; position: absolute; transition: opacity 240ms var(--ease-out), transform 420ms var(--ease-bounce); }
.theme-ico-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-ico-moon { opacity: 0; transform: rotate(-60deg) scale(0.6); }
[data-theme="dark"] .theme-ico-sun { opacity: 0; transform: rotate(60deg) scale(0.6); }
[data-theme="dark"] .theme-ico-moon { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .theme-toggle { color: var(--butter); }

/* =====================================================================
   PHONE BLOOM PASS (founder 2026-09-14: "even more optimized for phone, it needs to look insane,
   very Bloom health-wellness vibe"). New components are defined here for every width and hidden on
   desktop; every layout change is inside the max-width: 899px block so desktop is untouched.
   ===================================================================== */

/* New components, hidden from 900px up */
.nav-sheet-extra { display: none; }
.appbar { display: none; }
.gallery-dots { display: none; }
.spark-5, .spark-6 { display: none; }
.when-dark { display: none; }
[data-theme="dark"] .when-dark { display: inline; }
[data-theme="dark"] .when-light { display: none; }

/* Sparkle burst layer inside the result card (Excellent / Good only, filled by app.js) */
.demo-burst { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.demo-burst i {
  position: absolute; left: var(--x, 50%); top: var(--y, 30%);
  font-style: normal; font-size: var(--s, 16px); line-height: 1;
  color: var(--band);
  opacity: 0; transform: scale(0);
  filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--band) 40%, transparent));
}
.demo-burst.is-in i { animation: burst-pop 1150ms var(--ease-out) var(--d, 0ms) both; }
@keyframes burst-pop {
  0%   { opacity: 0; transform: scale(0) rotate(-30deg) translateY(0); }
  28%  { opacity: 1; transform: scale(1.15) rotate(8deg) translateY(-8px); }
  100% { opacity: 0; transform: scale(0.45) rotate(30deg) translateY(-30px); }
}

@media (max-width: 899px) {
  :root { --tone-mix: 44%; --tone-mix-2: 26%; }
  :root[data-theme="dark"] { --tone-mix: 15%; --tone-mix-2: 9%; }
  /* Scroll lock is done in JS (body position:fixed with the saved scroll offset) — overflow:hidden on the root resets
     the scroll position on iOS and, combined with the bar's backdrop filter, left a blank locked screen. */
  html.menu-open .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  html.menu-open .nav-actions { position: relative; z-index: 3; }

  /* ---------- Nav: compact frosted bar = logo · Get the app · hamburger ---------- */
  .nav { background: color-mix(in srgb, var(--bg) 74%, transparent); }
  .nav-inner { height: 60px; min-height: 0; gap: 8px; }
  .wordmark { gap: 8px; flex: none; }
  .wordmark-mark { width: 30px; height: 30px; }
  .wordmark-text { font-size: 21px; }
  .nav-actions { gap: 8px; flex: none; }
  .nav-actions .theme-toggle { display: none; }
  .nav .btn-primary.btn-sm { height: 44px; padding: 0 16px; font-size: 14px; }
  .nav-toggle { width: 44px; height: 44px; }

  /* Menu: a full-height sheet under the bar with big serif links, the day/night row and store pills */
  .nav-links {
    position: fixed; left: 0; right: 0; top: 60px; bottom: 0; height: auto; z-index: 2;
    display: flex; flex-direction: column; gap: 0;
    padding: 18px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none;
    background: var(--grad-bloom-soft);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 240ms var(--ease-out), transform 360ms var(--ease-out), visibility 0s 240ms;
  }
  .nav-links.is-open { display: flex; opacity: 1; visibility: visible; transform: none; transition: opacity 240ms var(--ease-out), transform 360ms var(--ease-out); }
  .nav-links > a {
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-display); font-variation-settings: var(--soft-text);
    font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em;
    color: var(--text);
    padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(10px);
    transition: opacity 360ms var(--ease-out), transform 460ms var(--ease-out), color var(--t-micro);
  }
  .nav-links > a::after { content: "→"; font-family: var(--font-ui); font-weight: 700; font-size: 17px; color: var(--rose-ink); opacity: 0.9; }
  .nav-links > a:hover { background: none; color: var(--rose-ink); text-decoration: none; }
  .nav-links.is-open > a { opacity: 1; transform: none; }
  .nav-links.is-open > a:nth-child(2) { transition-delay: 40ms; }
  .nav-links.is-open > a:nth-child(3) { transition-delay: 80ms; }
  .nav-links.is-open > a:nth-child(4) { transition-delay: 120ms; }
  .nav-links.is-open > a:nth-child(5) { transition-delay: 160ms; }
  .nav-links.is-open > a:nth-child(6) { transition-delay: 200ms; }
  .nav-sheet-extra { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 22px; }
  .nav-sheet-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-links .nav-sheet-stores a.btn-store {
    display: inline-flex; justify-content: center; align-items: center;
    height: 56px; padding: 0 12px; gap: 9px; border-radius: var(--r-pill);
    color: #FFFFFF; font-size: 15px; font-weight: 800;
  }
  [data-theme="dark"] .nav-links .nav-sheet-stores a.btn-store { color: var(--on-accent); }
  .nav-links .nav-sheet-stores a.btn-store span { font-size: 15px; }
  .sheet-theme {
    display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px;
    padding: 11px 14px; text-align: left; cursor: pointer;
    border: 1px solid color-mix(in srgb, #FFFFFF 55%, var(--line-strong)); border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 10px 26px rgba(43, 31, 46, 0.06);
    transition: transform var(--t-micro) var(--ease-bounce), border-color var(--t-micro);
  }
  .sheet-theme:active { transform: scale(0.98); }
  [data-theme="dark"] .sheet-theme { border-color: var(--line-strong); }
  .sheet-theme-ico {
    position: relative; flex: none; width: 44px; height: 44px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--butter), var(--peach)); color: #8A5A16;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
  [data-theme="dark"] .sheet-theme-ico { background: linear-gradient(135deg, #4B2A60, #33255E); color: var(--butter); }
  .sheet-theme-ico .theme-ico { width: 22px; height: 22px; }
  .sheet-theme-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .sheet-theme-title { font-weight: 800; font-size: 15px; line-height: 20px; color: var(--text); }
  .sheet-theme-sub { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--text2); }

  /* ---------- Hero: full-bleed bloom, drifting blobs, twinkles, glossy pills, product-shot phone ---------- */
  .hero { padding: 26px 0 60px; }
  .hero::after { height: 22%; }
  .blob { opacity: calc(var(--blob-opacity) * 1.2); }
  .blob-a { width: 440px; height: 380px; left: -170px; top: -150px; }
  .blob-b { width: 480px; height: 440px; right: -200px; bottom: 6%; }
  .blob-c { width: 360px; height: 300px; left: 34%; top: -110px; }
  .blob-d { width: 320px; height: 280px; left: -60px; bottom: 26%; opacity: calc(var(--blob-opacity) * 0.9); }
  .spark-5, .spark-6 { display: block; }
  .spark-1 { left: 4%; top: 3%; width: 16px; height: 16px; }
  .spark-2 { left: 72%; top: 4.5%; width: 12px; height: 12px; }
  .spark-3 { right: 4%; top: 27%; width: 24px; height: 24px; }
  .spark-4 { right: 10%; bottom: 7%; width: 16px; height: 16px; }
  .spark-5 { left: 7%; top: 44%; width: 16px; height: 16px; fill: var(--lilac); animation-delay: 0.9s; }
  .spark-6 { right: 6%; top: 52%; width: 22px; height: 22px; fill: var(--rose); animation-delay: 3.2s; }

  .hero-grid { gap: 26px; }
  .hero-copy { gap: 16px; }
  h1.display br { display: none; }
  h1.display .hero-l2 { display: block; text-wrap: balance; }
  h1.display { font-size: clamp(40px, 11.8vw, 48px); line-height: 1.0; letter-spacing: -0.03em; }
  .hero-em { letter-spacing: -0.015em; }
  .lede { font-size: 16px; line-height: 25px; max-width: 33ch; }
  .hero-ctas { gap: 10px; margin-top: 2px; }
  .hero-ctas .btn-store { flex: 1 1 calc(50% - 5px); min-width: 0; height: 60px; padding: 0 12px; gap: 9px; justify-content: center; }
  .hero-ctas .btn-store .btn-icon { width: 22px; height: 22px; }
  .hero-ctas .btn-store span { font-size: 15px; }
  .hero-ctas .btn-store span small { font-size: 9.5px; letter-spacing: 0.07em; }
  .hero-ctas .btn-secondary {
    flex: 1 1 100%; height: 52px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-color: color-mix(in srgb, #FFFFFF 55%, var(--line-strong));
  }
  [data-theme="dark"] .hero-ctas .btn-secondary { border-color: var(--line-strong); }
  .launch { align-self: center; font-size: 13.5px; padding: 8px 15px 8px 12px; }
  .hero-note { font-size: 13px; max-width: 30ch; margin: 0 auto; }

  .hero-visual { padding: 18px 0 0; }
  .hero-visual::before {
    inset: -4% -30% 6%;
    background:
      radial-gradient(closest-side at 50% 42%, color-mix(in srgb, var(--butter) 85%, transparent), color-mix(in srgb, var(--peach) 55%, transparent) 50%, transparent 100%),
      radial-gradient(closest-side at 50% 60%, color-mix(in srgb, var(--rose) 28%, transparent), transparent 100%);
    filter: blur(22px);
  }
  [data-theme="dark"] .hero-visual::before {
    background:
      radial-gradient(closest-side at 50% 42%, color-mix(in srgb, var(--rose) 36%, transparent), color-mix(in srgb, var(--lilac) 22%, transparent) 55%, transparent 100%);
  }
  .phone-stage { width: min(268px, 70vw); animation: phone-float 6.5s ease-in-out infinite; }
  .phone {
    border-radius: 46px; padding: 9px;
    transform: perspective(1000px) rotateX(var(--tilt, 0deg)) translateY(var(--shift, 0px));
    transform-origin: 50% 45%;
    transition: transform 140ms linear;
    box-shadow: var(--shadow-phone), 0 60px 90px -30px color-mix(in srgb, var(--rose) 35%, transparent), inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 3px rgba(0, 0, 0, 0.25);
  }
  .phone::before { width: 74px; height: 20px; top: 20px; }
  .phone-screen { border-radius: 38px; }
  @keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

  /* Badges: a tidy 3-up row of little glass tiles */
  .phone-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 30px; width: 100%; max-width: 100%; }
  .phone-badges .float {
    flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
    gap: 8px; padding: 12px 8px 12px; border-radius: 20px;
    font-size: 12px; line-height: 15px; min-width: 0;
  }
  .phone-badges .float-ring { width: 40px; height: 40px; font-size: 18px; }
  .phone-badges .float-text { align-items: center; }
  .phone-badges .float-text b { justify-content: center; }
  .phone-badges .float-text small { display: none; }
  .phone-badges .float-fit { border-left: 0; background: color-mix(in srgb, var(--surface) 88%, transparent); gap: 6px; padding: 12px 8px; }
  .phone-badges .float-fit::before {
    content: "✦"; width: 40px; height: 40px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--sky), var(--lilac)); color: #FFFFFF; font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
  .phone-badges .float-eyebrow { font-size: 9.5px; }
  .phone-badges .float-fit b { font-size: 12px; line-height: 15px; }
  .phone-badges .float-rule { padding: 12px 8px; }
  .phone-badges .float-dot { width: 40px; height: 40px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

  /* ---------- Sections: a pastel identity each (blush → lilac → sage → butter → sky), tight rhythm ---------- */
  .section { padding: 58px 0; }
  .section-alt { border-top: 0; border-bottom: 0; }
  .section-head { gap: 10px; margin-bottom: 26px; }
  h2 { font-size: clamp(29px, 8.3vw, 34px); line-height: 1.06; letter-spacing: -0.025em; }
  .section-lede { font-size: 15.5px; line-height: 24px; }
  .section[data-tone="blush"] {
    background:
      radial-gradient(90% 46% at 50% 0%, color-mix(in srgb, var(--blush) var(--tone-mix), transparent), transparent 100%),
      radial-gradient(60% 40% at 100% 100%, color-mix(in srgb, var(--butter) var(--tone-mix-2), transparent), transparent 100%),
      var(--bg);
  }
  .section[data-tone="lilac"] {
    background:
      radial-gradient(90% 46% at 50% 0%, color-mix(in srgb, var(--lilac) calc(var(--tone-mix) * 0.62), transparent), transparent 100%),
      radial-gradient(60% 40% at 0% 100%, color-mix(in srgb, var(--sky) var(--tone-mix-2), transparent), transparent 100%),
      var(--bg);
  }
  .section[data-tone="sage"] {
    background:
      radial-gradient(90% 46% at 50% 0%, color-mix(in srgb, var(--sage) var(--tone-mix), transparent), transparent 100%),
      radial-gradient(60% 40% at 100% 100%, color-mix(in srgb, var(--sky) var(--tone-mix-2), transparent), transparent 100%),
      var(--bg);
  }
  .section[data-tone="butter"] {
    background:
      radial-gradient(90% 46% at 50% 0%, color-mix(in srgb, var(--butter) var(--tone-mix), transparent), transparent 100%),
      radial-gradient(60% 40% at 0% 100%, color-mix(in srgb, var(--peach) var(--tone-mix-2), transparent), transparent 100%),
      var(--bg);
  }
  .section[data-tone="sky"] {
    background:
      radial-gradient(90% 46% at 50% 0%, color-mix(in srgb, var(--sky) var(--tone-mix), transparent), transparent 100%),
      radial-gradient(60% 40% at 100% 100%, color-mix(in srgb, var(--blush) var(--tone-mix-2), transparent), transparent 100%),
      var(--bg);
  }
  .reveal { transform: translateY(18px) scale(0.985); }
  .reveal.is-in { transform: none; }

  /* Icon + title + copy cards: disc inline with the title, tight, ~200px tall */
  .grid-3 { gap: 10px; }
  .card { padding: 18px 18px 20px; border-radius: 24px; gap: 8px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 8px; align-items: center; }
  .card:hover { transform: none; box-shadow: none; }
  .card-icon { width: 48px; height: 48px; margin: 0; grid-row: 1; box-shadow: 0 8px 18px rgba(43, 31, 46, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
  .card-icon svg { width: 22px; height: 22px; }
  .card h3 { grid-column: 2; grid-row: 1; font-size: 18px; line-height: 22px; }
  .card p { grid-column: 1 / -1; font-size: 15px; line-height: 22px; }
  .card-blush .card-icon { background: linear-gradient(135deg, var(--peach), var(--blush) 70%, #FFFFFF); color: var(--rose-ink); }
  .card-lilac .card-icon { background: linear-gradient(135deg, var(--sky), var(--lilac)); color: #FFFFFF; }
  .card-sky .card-icon { background: linear-gradient(135deg, var(--sage), var(--sky)); color: var(--sky-ink); }
  [data-theme="dark"] .card-blush .card-icon { background: linear-gradient(135deg, var(--peach), var(--blush)); color: #2B1F2E; }
  [data-theme="dark"] .card-lilac .card-icon { background: linear-gradient(135deg, var(--sky), var(--lilac)); color: #2B1F2E; }
  [data-theme="dark"] .card-sky .card-icon { background: linear-gradient(135deg, var(--sage), var(--sky)); color: #2B1F2E; }

  .steps { gap: 10px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 6px; align-items: center; padding: 18px 18px 20px; border-radius: 24px; }
  .step-icon { width: 48px; height: 48px; grid-row: 1; box-shadow: 0 8px 18px rgba(43, 31, 46, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
  .step-icon svg { width: 22px; height: 22px; }
  .step:nth-child(1) .step-icon { background: linear-gradient(135deg, var(--peach), var(--blush)); color: var(--rose-ink); }
  .step:nth-child(2) .step-icon { background: linear-gradient(135deg, var(--sky), var(--lilac)); color: #FFFFFF; }
  .step:nth-child(3) .step-icon { background: linear-gradient(135deg, var(--sage), var(--sky)); color: var(--band-excellent-ink); }
  .step:nth-child(4) .step-icon { background: linear-gradient(135deg, var(--butter), var(--peach)); color: var(--band-fair-ink); }
  [data-theme="dark"] .step .step-icon { color: #2B1F2E; }
  [data-theme="dark"] .step:nth-child(1) .step-icon { background: linear-gradient(135deg, var(--peach), var(--blush)); }
  [data-theme="dark"] .step:nth-child(2) .step-icon { background: linear-gradient(135deg, var(--sky), var(--lilac)); }
  [data-theme="dark"] .step:nth-child(3) .step-icon { background: linear-gradient(135deg, var(--sage), var(--sky)); }
  [data-theme="dark"] .step:nth-child(4) .step-icon { background: linear-gradient(135deg, var(--butter), var(--peach)); }
  .step-num { position: static; grid-column: 2; grid-row: 1; justify-self: end; align-self: start; font-size: 15px; }
  .step h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 18px; line-height: 22px; padding-right: 32px; }
  .step p { grid-column: 1 / -1; font-size: 15px; line-height: 22px; }

  /* Split sections (methodology, pro) */
  .split { gap: 28px; }
  .split-copy { gap: 14px; }
  .split-copy > p:not(.eyebrow) { font-size: 15.5px; line-height: 24px; }
  .checklist li { font-size: 15px; line-height: 23px; }
  .sheet { padding: 12px 22px 24px; }
  .sheet-title { font-size: 26px; line-height: 30px; }
  .compare-item { padding: 22px 20px; gap: 16px; }
  .compare-pill { width: 70px; height: 70px; }
  .compare-score { font-size: 27px; }
  .compare-name { font-size: 21px; line-height: 25px; }
  .fit-note { padding: 18px 20px; }
  .plan { padding: 20px; }
  .plan-list li { padding: 9px 0; }
  .trust { padding: 48px 0; }
  .trust-inner { gap: 22px; }
  .trust-item { padding: 18px 18px 18px 20px; border-radius: 24px; background: color-mix(in srgb, var(--surface) 62%, transparent); border: 1px solid color-mix(in srgb, #FFFFFF 50%, var(--line)); }
  [data-theme="dark"] .trust-item { background: var(--surface2); border-color: var(--line); }
  .trust-title { font-size: 21px; line-height: 26px; }

  /* ---------- In the app: centred snap gallery, larger frames, dots ---------- */
  .gallery-head { gap: 0; }
  .gallery { gap: 16px; padding: 18px var(--gutter) 20px; scroll-padding-inline: var(--gutter); }
  .shot { width: 262px; scroll-snap-align: center; }
  .shot-frame { border-radius: 44px; padding: 8px; }
  .shot-frame img { border-radius: 37px; }
  .shot figure { gap: 12px; }
  .shot figcaption { align-items: center; text-align: center; }
  .gallery-hint { display: none; }
  .gallery-dots { display: flex; justify-content: center; gap: 2px; margin-top: 0; }
  .gallery-dot { width: 26px; height: 44px; padding: 0; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .gallery-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--text) 20%, transparent); transition: width 280ms var(--ease-out), background-color 200ms; }
  .gallery-dot.is-active::before { width: 24px; background: var(--grad-button); }

  /* ---------- Try a score: horizontal rail of photo chips, result card right under it ----------
     (founder 2026-10-19: this rail is the one to keep; scoped to the picker because .demo-list is also the
     result card's reason lists since 2026-10-15, whose column direction had been overriding the rail) */
  .demo { gap: 14px; }
  #demo-list {
    display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding: 8px var(--gutter) 14px; margin: -8px calc(-1 * var(--gutter)) 0;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #demo-list::-webkit-scrollbar { display: none; }
  #demo-list .demo-card {
    position: relative; flex: 0 0 126px; width: 126px;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px 8px 12px; border-radius: 24px;
    scroll-snap-align: start;
  }
  .demo-card:hover { transform: none; }
  .demo-card.is-selected { transform: translateY(-3px); }
  .demo-card:active { transform: scale(0.97); }
  .demo-thumb { width: 100%; height: 108px; border-radius: 18px; }
  .demo-card-body { padding: 0 4px; gap: 2px; }
  .demo-card-brand { font-size: 9.5px; letter-spacing: 0.1em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .demo-card-name { font-size: 13px; line-height: 17px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .demo-card-cat { display: none; }
  .demo-card-score {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; font-size: 15px;
    box-shadow: inset 0 0 0 3px var(--band-stroke), 0 4px 12px rgba(43, 31, 46, 0.16);
  }

  /* Result card: header row (photo + brand/name), ring centred, chips row, summary, reasons */
  .demo-result { padding: 22px 18px 20px; border-radius: 26px; scroll-margin-top: 70px; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center; }
  .demo-result > * { grid-column: 1 / -1; }
  .demo-hero, .demo-meta, .demo-meta-top { display: contents; }
  .demo-eyebrow { margin-bottom: 14px; }
  .demo-photo { grid-column: 1; grid-row: 2 / span 2; width: 56px; height: 56px; border-radius: 18px; }
  .demo-photo[hidden] { display: none; }
  .demo-brand { grid-column: 2; grid-row: 2; align-self: end; font-size: 11px; }
  .demo-name { grid-column: 2; grid-row: 3; align-self: start; font-size: 21px; line-height: 25px; margin-top: 2px; text-wrap: pretty; }
  .demo-result .ring-wrap { grid-column: 1 / -1; grid-row: 4; justify-self: center; margin: 18px 0 12px; }
  .ring-lg { width: 156px; height: 156px; }
  .ring-lg .ring { width: 156px; height: 156px; }
  .ring-lg .score-num { font-size: 56px; }
  .ring-lg .score-den { font-size: 12px; margin-top: 2px; }
  .demo-result .ph-chips { grid-column: 1 / -1; grid-row: 5; justify-content: center; gap: 6px; }
  .demo-result .chip { height: 30px; padding: 0 12px; font-size: 12px; }
  .demo-summary { grid-row: 6; margin-top: 14px; text-align: center; font-size: 16.5px; line-height: 25px; }
  .demo-reasons { grid-row: 7; margin-top: 14px; }
  .demo-foot { grid-row: 8; margin-top: 14px; font-size: 12.5px; line-height: 18px; }

  /* ---------- Closing: bloom-bordered waitlist card, big rounded field, glowing button, ---------- */
  .closing { padding-top: 26px; }
  .closing-inner { padding: 34px 20px 30px; border-radius: 32px; gap: 14px; }
  .closing-mark { width: 64px; height: 64px; margin-bottom: 0; }
  .closing .section-lede { font-size: 15.5px; }
  .waitlist { gap: 8px; margin-top: 4px; }
  .waitlist-row {
    flex-direction: column; gap: 8px; padding: 8px; border-radius: 30px;
    border: 2px solid transparent;
    background:
      linear-gradient(color-mix(in srgb, var(--surface) 90%, transparent), color-mix(in srgb, var(--surface) 90%, transparent)) padding-box,
      linear-gradient(135deg, var(--rose), var(--lilac) 55%, var(--sky)) border-box;
    box-shadow: var(--shadow-float), 0 0 0 6px color-mix(in srgb, #FFFFFF 26%, transparent);
  }
  [data-theme="dark"] .waitlist-row { box-shadow: var(--shadow-float); }
  .waitlist-row:focus-within { border-color: transparent; box-shadow: 0 0 0 5px color-mix(in srgb, var(--rose) 26%, transparent), var(--shadow-float); }
  .waitlist-input { height: 52px; text-align: center; font-size: 17px; border-radius: 22px; background: color-mix(in srgb, var(--surface2) 75%, transparent); }
  .waitlist-btn { height: 54px; width: 100%; box-shadow: var(--shadow-glow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
  .closing-ctas .btn { flex: 1 1 100%; }

  /* ---------- FAQ: soft pills ---------- */
  .faq { gap: 8px; }
  .faq-item { border-radius: 999px; background: color-mix(in srgb, var(--surface) 86%, transparent); border-color: color-mix(in srgb, var(--rose) 16%, var(--line)); }
  .faq-item:has(.faq-q[aria-expanded="true"]) { border-radius: 26px; }
  .faq-q { padding: 12px 12px 12px 20px; min-height: 58px; font-size: 16px; line-height: 22px; border-radius: inherit; }
  .faq-icon { width: 36px; height: 36px; background: var(--wash-blush); color: var(--rose-ink); }
  .faq-a-inner p { padding: 0 20px 20px 20px; font-size: 15px; line-height: 23px; }

  /* ---------- Footer: dark plum, two tidy link columns, 44px rows ---------- */
  .footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col { gap: 0; }
  .footer-head { margin-bottom: 6px; }
  .footer-col a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .social a { width: 44px; height: 44px; }
  .copyright { margin-top: 28px; }

  /* ---------- Sticky app bar (phones): frosted pill with the live countdown + Get the app ---------- */
  .appbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 0 12px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
    opacity: 0; visibility: hidden; transform: translateY(120%);
    transition: transform 420ms var(--ease-out), opacity 240ms, visibility 0s 420ms;
  }
  .appbar.is-in { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: transform 520ms var(--ease-bounce), opacity 240ms; }
  .appbar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    height: 62px; padding: 6px 6px 6px 14px; border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
    border: 1px solid color-mix(in srgb, #FFFFFF 60%, var(--line-strong));
    box-shadow: var(--shadow-float), 0 0 0 1px color-mix(in srgb, var(--rose) 8%, transparent);
  }
  [data-theme="dark"] .appbar-inner { border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 86%, transparent); }
  .appbar-launch {
    display: grid; grid-template-columns: auto 1fr; column-gap: 9px; row-gap: 0; align-items: center; align-self: center;
    padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none;
    min-width: 0; font-size: 13.5px; line-height: 17px;
  }
  .appbar-launch .launch-dot { grid-row: 1 / span 2; }
  .appbar-label { font-size: 10.5px; line-height: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text2); white-space: nowrap; }
  .appbar-launch b { font-size: 14px; white-space: nowrap; }
  .appbar-btn { height: 48px; padding: 0 20px; font-size: 14px; flex: none; }
}

@media (max-width: 599px) {
  .nav-inner { gap: 6px; }
  .wordmark-text { font-size: 20px; }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .phone-stage { animation: none; }
  .phone { transform: none; transition: none; }
  .nav-links, .nav-links > a { transition: none; }
  .demo-burst.is-in i { animation: none; opacity: 0; }
  .appbar { transition: none; }
}

/* ---------- Logo mark per theme: plum sparkle on cream, white sparkle on evening plum ---------- */
.mark-dark { display: none; }
[data-theme="dark"] .mark-dark { display: inline-block; }
[data-theme="dark"] .mark-light { display: none; }
@media (max-width: 899px) {
  /* While the body is frozen in place, the bar must be pinned to the viewport too, or it scrolls away with the page offset. */
  html.menu-open .nav { position: fixed; top: 0; left: 0; right: 0; }
}

/* ---------- Beta section (install from the browser) ---------- */
.hero-beta { margin-top: 2px; font-size: 14px; font-weight: 600; }
.hero-beta a { color: var(--text2); text-decoration: none; }
.hero-beta a:hover { color: var(--rose-ink); }
.beta-pill, .nav-beta::before { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lilac-ink); background: color-mix(in srgb, var(--lilac) 22%, var(--surface)); border-radius: 999px; padding: 3px 8px; margin-right: 6px; vertical-align: 1px; }
.nav-beta::before { content: "Beta"; margin-right: 6px; }
.beta-grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .beta-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; } }
.beta-cta { align-self: center; justify-content: center; min-height: 64px; font-size: 17px; }
.beta-steps ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 22px; color: var(--text2); }
.beta-steps b { color: var(--text); }
.beta-head { font-size: 13px; font-weight: 700; color: var(--text2); margin: 0; }
.beta-head b { color: var(--rose-ink); }
.beta-fine { margin-top: 22px; font-size: 13px; line-height: 20px; color: var(--text3); max-width: 70ch; }
.beta-fine a { color: var(--rose-ink); }
@media (max-width: 899px) {
  .hero-beta { text-align: center; font-size: 13.5px; }
  .beta-cta { width: 100%; }
}


/* ---------- Pro: web subscription (account + Stripe via RevenueCat) ---------- */
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 14px 0 12px; font-family: var(--font-display, inherit); }
.plan-price strong { font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.plan-price span { color: var(--text2); font-size: 14px; }
.plan-price em { color: var(--text3, var(--text2)); font-style: normal; font-size: 13px; }
.pro-form { display: grid; gap: 10px; margin: 6px 0 12px; }
.pro-form input { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
.pro-form input:focus { outline: 2px solid color-mix(in srgb, var(--rose) 45%, transparent); outline-offset: 1px; }
.pro-form .btn { width: 100%; justify-content: center; }
.pro-switch { margin: 0; font-size: 13px; text-align: center; }
.pro-switch a { color: var(--text2); text-decoration: underline; text-underline-offset: 3px; }
.pro-status { margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--rose) 12%, var(--surface)); color: var(--text); font-size: 14px; line-height: 20px; }
.pro-status[data-tone="ok"] { background: color-mix(in srgb, #2f9e6b 14%, var(--surface)); }
.pro-status[data-tone="warn"] { background: color-mix(in srgb, #e0a100 16%, var(--surface)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Pro checkout page (#checkout) ---------- */
html.checkout-open { overflow: hidden; }
/* Standalone checkout page (checkout.calebonne.com): the document itself scrolls, nothing is fixed. */
body[data-checkout-page] .checkout { position: static; overflow: visible; min-height: 100vh; }
body[data-checkout-page] { background: var(--bg); margin: 0; overscroll-behavior-y: none; }
#checkout [hidden] { display: none !important; }
html.checkout-open body > :not(#checkout) { display: none !important; }
.checkout {
  position: fixed; inset: 0; z-index: 900; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg); color: var(--text); font-family: var(--font-ui);
}
.checkout-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.checkout-bg::before {
  content: ""; position: absolute; inset: 0;
  /* founder 2026-10-02: "way too orangy — whites, pinks, purple": no peach here, just blush → lilac over white */
  background:
    radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--blush) 70%, #fff) 0%, transparent 60%),
    linear-gradient(180deg, #FFF9FB 0%, #FBF4FA 50%, color-mix(in srgb, var(--lilac) 14%, #fff) 100%);
}
.co-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.co-blob-a { width: 440px; height: 440px; left: -160px; top: -140px; background: var(--blush); }
.co-blob-b { width: 480px; height: 480px; right: -200px; top: 140px; background: var(--lilac); opacity: 0.32; }
[data-theme="dark"] .checkout-bg::before { background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--lilac) 18%, var(--bg)) 100%); }
.checkout-wrap { position: relative; max-width: 540px; margin: 0 auto; padding: 16px 16px 48px; }
.checkout-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 18px; }
.checkout-secure {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--text2);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 12px 7px 10px;
}
.checkout-secure svg { width: 15px; height: 15px; color: var(--rose-ink); }
.co-panel {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 26px 22px 22px;
  box-shadow: 0 24px 60px rgba(43, 31, 46, 0.08);
}
.co-panel + .co-panel { margin-top: 14px; }
.co-title { font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 1.04; letter-spacing: -0.015em; margin: 6px 0 10px; }
.co-sub { margin: 0; font-size: 15px; line-height: 22px; color: var(--text2); }
.co-plans { display: grid; gap: 10px; margin: 20px 0 14px; }
.co-plan {
  display: grid; gap: 4px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 20px; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface2); color: inherit; font: inherit;
  transition: border-color var(--t-micro), background-color var(--t-micro), box-shadow var(--t-standard), transform var(--t-micro) var(--ease-bounce);
}
.co-plan:active { transform: scale(0.985); }
.co-plan[aria-checked="true"] { border-color: var(--rose); background: var(--wash-blush); box-shadow: var(--shadow-glow); }
.co-plan:focus-visible { outline: 3px solid color-mix(in srgb, var(--rose) 45%, transparent); outline-offset: 2px; }
.co-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.co-plan-name { font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.co-chip { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.co-chip-save { background: color-mix(in srgb, #2f9e6b 16%, var(--surface)); color: #1f7a4f; }
.co-chip-soft { background: color-mix(in srgb, var(--sky) 60%, var(--surface)); color: var(--sky-ink); }
.co-plan-price { font-family: var(--font-display); font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
.co-plan-price strong { font-weight: 600; }
.co-plan-price span { font-family: var(--font-ui); font-size: 14px; color: var(--text2); }
.co-plan-sub { font-size: 13px; color: var(--text2); }
.co-perks { list-style: none; margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--wash-lilac); display: grid; gap: 7px; font-size: 14px; line-height: 20px; }
.co-perks li { display: flex; gap: 9px; align-items: flex-start; }
.co-perks li::before { content: "✦"; color: var(--lilac-ink); flex: none; }
.co-account { margin-top: 14px; }
.co-signed { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--wash-sage); font-size: 14px; line-height: 19px; }
.co-signed > span:last-child { display: grid; min-width: 0; }
.co-signed strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-signed-label { font-size: 12px; color: var(--text2); }
.co-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-bloom); color: #fff; font-size: 15px; }
.co-form { display: grid; gap: 10px; }
.co-form-title { margin: 0 0 2px; font-size: 14px; font-weight: 700; }
.co-form input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font: inherit; font-size: 15px; }
.co-form input:focus { outline: 2px solid color-mix(in srgb, var(--rose) 45%, transparent); outline-offset: 1px; }
.co-pay { width: 100%; height: 56px; font-size: 16px; margin-top: 16px; }
.co-pay[disabled] { opacity: 0.6; cursor: wait; }
.co-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--rose) 12%, var(--surface)); font-size: 14px; line-height: 20px; }
.co-status[data-tone="ok"] { background: color-mix(in srgb, #2f9e6b 14%, var(--surface)); }
.co-status[data-tone="warn"] { background: color-mix(in srgb, #e0a100 16%, var(--surface)); }
.co-fine { margin: 14px 0 0; text-align: center; font-size: 12.5px; line-height: 18px; color: var(--text3); }
.co-fine a { color: var(--text2); text-decoration: underline; text-underline-offset: 2px; }
.co-back { background: none; border: 0; padding: 0 0 12px; font: inherit; font-size: 14px; font-weight: 700; color: var(--rose-ink); cursor: pointer; }
.co-rc-summary { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--wash-blush); font-size: 14px; line-height: 20px; }
.co-rc-summary strong { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
/* purchases-js sizes its inline UI to 100% of this box. The box is grown to the form's own height from JS (see
   sizeRc in app.js) so the page scrolls as one surface: a fixed-height box made a second scroll area inside the
   sheet, which on iOS only scrolled when the finger landed exactly on it. */
#co-rc { height: 640px; min-height: 320px; border-radius: 18px; overflow: visible; transition: height 160ms ease-out; }
#co-rc .rcb-ui-container { overflow: visible !important; }
.co-rc-panel { padding-left: 14px; padding-right: 14px; }
.co-done { text-align: center; padding-top: 34px; }
.co-done .co-sub { margin: 0 auto; max-width: 34ch; }
.co-done-badge { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-bloom); color: #fff; font-size: 30px; box-shadow: var(--shadow-glow); }
.co-done-email { margin: 10px 0 0; font-size: 13.5px; color: var(--text2); }
.co-done .co-pay { margin-top: 22px; }
@media (min-width: 640px) {
  .checkout-wrap { padding-top: 28px; }
  .co-panel { padding: 32px 30px 28px; }
  .co-plans { grid-template-columns: 1fr 1fr; }
}

/* Pro card: monthly / annual picker (choice carries into #checkout) */
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 6px; }
.plan-pill {
  display: grid; gap: 2px; text-align: left; padding: 12px 12px 10px; border-radius: 16px; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); color: inherit; font: inherit;
  transition: border-color var(--t-micro), background-color var(--t-micro), box-shadow var(--t-standard);
}
.plan-pill[aria-checked="true"] { border-color: var(--rose); background: var(--wash-blush); box-shadow: var(--shadow-glow); }
.plan-pill:focus-visible { outline: 3px solid color-mix(in srgb, var(--rose) 45%, transparent); outline-offset: 2px; }
.plan-pill-name { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.plan-pill-name em { font-style: normal; text-transform: none; letter-spacing: 0; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, #2f9e6b 16%, var(--surface)); color: #1f7a4f; }
.plan-pill[aria-checked="true"] .plan-pill-name { color: var(--rose-ink); }
.plan-pill-price { font-family: var(--font-display); font-size: 26px; line-height: 1.1; font-weight: 600; color: var(--text); }
.plan-pill-price small { font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--text2); margin-left: 2px; }
.plan-pill-sub { font-size: 12px; color: var(--text2); }
.plan-compare { margin: 0 0 12px; font-size: 12.5px; line-height: 18px; color: var(--text3); }
@media (max-width: 420px) { .plan-pick { grid-template-columns: 1fr; } }

/* Pro card: web checkout button + App Store line */
.plan-actions { display: grid; gap: 8px; margin: 10px 0 12px; }
.plan-actions .btn { width: 100%; justify-content: center; }
.plan-or { margin: 0; text-align: center; font-size: 12.5px; color: var(--text2); }
.plan-or a { color: var(--rose-ink); font-weight: 700; text-decoration: none; }

/* ---------- Phone performance (founder 2026-10-02: "the website is lagging a bit") ----------
   Animated, heavily blurred blobs re-rasterize every frame on iOS and fight the scroll; frosted (backdrop-filter)
   surfaces cost a full-screen blur each. On touch devices the blobs stand still, blur less, and only the nav keeps its
   frosted glass. Desktop keeps the full effect. */
@media (hover: none) and (pointer: coarse), (max-width: 899px) {
  .blob, .blob-a, .blob-b, .blob-c, .blob-d { animation: none !important; filter: blur(36px); will-change: auto; transform: none; }
  .co-blob { filter: blur(40px); }
  .phone-stage { animation: none !important; }
  .launch-dot { animation: none !important; }
  .float, .waitlist, .waitlist-row, .launch { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .float { background: var(--surface); }
  .hero-visual::before, .compare-wrap::before, .compare-wrap::after, .faq::before, .faq::after, .closing-inner::before, .closing-inner::after, .trust::before, .sheet::before { filter: none; }
}


/* ---------- v1.6: hero status list, additive index ---------- */
.now { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; max-width: 560px; }
.now li { position: relative; padding-left: 18px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.now li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--rose-ink); font-size: 12px; line-height: 20px; }
.now li b { color: var(--text); font-weight: 700; }
@media (max-width: 560px) { .now { grid-template-columns: 1fr; } }
.chip-outline { background: transparent; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.chip-tier-high { background: var(--band-poor-soft); color: var(--band-poor-ink); }
.chip-tier-moderate { background: var(--band-weak-soft); color: var(--band-weak-ink); }
.chip-tier-limited { background: var(--butter); color: var(--band-fair-ink); }
.chip-tier-none { background: var(--sky); color: var(--sky-ink); }
.sheet-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.sheet-list li { font-size: 14px; line-height: 20px; }
.adx-controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 8px; }
.adx-search { flex: 1 1 280px; }
.adx-search input { width: 100%; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
.adx-search input:focus { outline: 2px solid var(--rose); outline-offset: 2px; }
.adx-tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter { cursor: pointer; border: 0; font: inherit; font-size: 13px; font-weight: 700; opacity: .72; }
.chip-filter.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--rose); }
.adx-count { margin: 14px 0 10px; font-size: 13px; color: var(--text-3); }
.adx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.adx-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0; overflow: hidden; }
.adx-card details > summary { list-style: none; cursor: pointer; padding: 16px 18px; display: grid; gap: 8px; }
.adx-card details > summary::-webkit-details-marker { display: none; }
.adx-card details[open] > summary { border-bottom: 1px solid var(--line); }
.adx-name { font-weight: 800; font-size: 16px; line-height: 22px; }
.adx-lead { font-size: 13px; line-height: 18px; color: var(--text-2); }
.adx-body { padding: 14px 18px 18px; display: grid; gap: 6px; font-size: 14px; line-height: 20px; }
.adx-body .sheet-eyebrow { margin-top: 8px; }
.adx-body p { margin: 0; }
.adx-states, .adx-alias { font-size: 12px; line-height: 17px; color: var(--text-3); }
.adx-sources { display: flex; flex-direction: column; gap: 4px; }
.adx-sources a { text-decoration: underline; font-size: 13px; }
.adx-high { border-left: 4px solid var(--band-poor); }
.adx-moderate { border-left: 4px solid var(--band-weak); }
.adx-limited { border-left: 4px solid var(--butter); }
.adx-none { border-left: 4px solid var(--sky); }
.adx-note { margin-top: 18px; font-size: 13px; color: var(--text-3); max-width: 70ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- v1.6: comparison table ---------- */
.cmp-wrap { overflow-x: auto; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 14px; line-height: 20px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); background: var(--surface-2, var(--surface)); }
.cmp tbody th { font-weight: 700; color: var(--text); width: 160px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .cmp-us { background: var(--wash-blush); }
.cmp thead th.cmp-us { color: var(--rose-ink); }
.cmp-note { margin-top: 14px; font-size: 12px; line-height: 17px; color: var(--text-3); max-width: 80ch; }


/* ---------- v1.6: change log ---------- */
.changelog { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; max-width: 78ch; }
.changelog li { position: relative; padding: 16px 18px 16px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; font-size: 14px; line-height: 21px; }
.changelog li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 2px; background: var(--rose); }
.changelog li b { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--rose-ink); }
.cmp { min-width: 900px; }


/* ---------- v1.6: paged additive index + phone layouts ---------- */
.adx-more { display: flex; justify-content: center; margin-top: 18px; }
.adx-more .btn[hidden] { display: none; }
@media (max-width: 720px) {
  .adx-grid { grid-template-columns: 1fr; gap: 10px; }
  .adx-card details > summary { padding: 14px 14px; }
  .adx-body { padding: 12px 14px 14px; }
  .adx-controls { gap: 10px; }
  .adx-tiers { width: 100%; }
  .chip-filter { font-size: 12px; }
  /* comparison table → stacked cards: one block per row, each app on its own line */
  .cmp-wrap { overflow: visible; }
  .cmp { min-width: 0; display: block; border: 0; background: transparent; border-radius: 0; }
  .cmp thead { display: none; }
  .cmp tbody { display: grid; gap: 12px; }
  .cmp tbody tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .cmp tbody th { display: block; width: auto; padding: 12px 14px 6px; border-bottom: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
  .cmp tbody td { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 19px; }
  .cmp tbody td::before { content: attr(data-app); font-weight: 700; color: var(--text-2); font-size: 12px; }
  .cmp tbody td.cmp-us::before { color: var(--rose-ink); }
  .cmp tbody tr td:last-child { border-bottom: 0; }
  .changelog li { padding: 14px 14px 14px 18px; }
  .now { gap: 6px 12px; }
}


/* ---------- v1.6: "right now" strip under the hero ---------- */
.now-strip { padding: 22px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.now-strip .now { margin: 0; max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 24px; }
.now-strip .now li { font-size: 13px; line-height: 19px; }
.now-note { margin: 12px 0 0; font-size: 12px; line-height: 17px; color: var(--text-3); }
@media (max-width: 900px) { .now-strip .now { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .now-strip .now { grid-template-columns: 1fr; } .now-strip { padding: 18px 0; } }


/* ---------- Phone pass (founder 2026-10-19: "the website is not optimized for mobile users") ----------
   The desktop page is untouched. Under 900 px the page keeps every section but reads in about ten screens
   instead of twenty-seven: tighter rhythm, swipe rows where cards stacked, compact steps, the long reference
   blocks (version history, the comparison table, the sample additive sheet) collapsed behind a button, and a
   sticky "Get the app" bar once the hero's own buttons have scrolled away. */
@media (max-width: 899px) {
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 22px; }
  h2 { font-size: clamp(26px, 7.2vw, 34px); }
  .section-lede, .split-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.5; }
  .split { gap: 22px; }
  .split-copy { gap: 12px; }

  /* hero: copy first, a smaller phone, no floating chips */
  .hero { padding: 24px 0 36px; }
  .hero-grid { gap: 22px; }
  .hero-copy { gap: 14px; }
  .hero-visual { padding: 0; }
  .phone-stage { width: 224px; }
  .float { display: none !important; }
  h1.display { font-size: clamp(34px, 10vw, 42px); }
  .hero-copy .lede { font-size: 16px; line-height: 1.5; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }

  /* "right now" strip: one swipe row of pills */
  .now-strip { padding: 14px 0; }
  .now-strip .now { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .now-strip .now::-webkit-scrollbar { display: none; }
  .now-strip .now li { flex: 0 0 auto; max-width: 76vw; scroll-snap-align: start; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; line-height: 16px; }
  .now-note { margin-top: 10px; }

  /* three outputs: a swipe row instead of three stacked cards */
  .grid-3 { display: flex; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .grid-3::-webkit-scrollbar { display: none; }
  .grid-3 > .card { flex: 0 0 82%; scroll-snap-align: start; }

  /* how it works: icon beside the text */
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
  .step-icon { grid-row: 1 / span 3; width: 44px; height: 44px; }
  .step-icon svg { width: 20px; height: 20px; }
  .step h3 { margin-top: 0; font-size: 16px; }
  .step p { font-size: 14px; line-height: 21px; }

  /* try a score: a smaller ring (the photo-chip rail below is the original phone layout, restored 2026-10-19) */
  .ring-lg { width: 128px; height: 128px; }
  .ring-lg .ring { width: 128px; height: 128px; }
  .ring-lg .score-num { font-size: 46px; }
  .ring-lg .score-den { margin-top: 0; }
  .plan-list li { padding-top: 8px; padding-bottom: 8px; }

  /* long reference blocks fold on phones; the button unfolds them (app.js) */
  .sheet.is-collapsed .sheet-block:not(:first-of-type) { display: none; }
  .changelog.is-collapsed li:nth-child(n+2) { display: none; }
  .cmp.is-collapsed tbody th { padding: 10px 14px 2px; }
  .cmp.is-collapsed tbody td { padding: 4px 14px 10px; }
  .plan { padding: 18px; }
  .cmp.is-collapsed tbody td:not(.cmp-us) { display: none; }
  .cmp.is-collapsed tbody td.cmp-us { border-bottom: 0; }
  .more-btn { margin-top: 14px; }
  .sheet .more-btn { align-self: flex-start; margin-top: 4px; }
  .cmp-more { display: flex; justify-content: center; }

  .plans { gap: 12px; }
  .trust-inner { gap: 20px; }

  /* sticky "Get the app" bar (hidden while the hero's own buttons or the closing section are on screen) */
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    display: flex; gap: 8px; align-items: center; padding: 8px;
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-float);
    transform: translateY(130%); opacity: 0; transition: transform .35s var(--ease-out), opacity .35s;
  }
  .sticky-cta.is-in { transform: none; opacity: 1; }
  .sticky-cta .btn { flex: 1; justify-content: center; white-space: nowrap; }
  html.checkout-open .sticky-cta, .nav-links.is-open ~ .sticky-cta { display: none; }
}
@media (max-width: 599px) {
  .container { --gutter: 16px; }
  .card { padding: 20px; }
  .card p, .step p { font-size: 14px; line-height: 21px; }
}
@media (min-width: 900px) {
  .phone-only { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
