@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@1,6..72,400;1,6..72,500&display=swap');

:root {
  --color-bg: #FFFFFF;
  --color-bg-warm: #FAFAF8;
  --color-bg-blue: #F0F4FF;
  --color-bg-dark: #0F0F12;
  --color-text: #0F0F12;
  --color-text-secondary: #4A4A52;
  --color-text-muted: #8A8A95;
  --color-blue: #0A84FF;
  --color-blue-dark: #0066CC;
  --color-blue-light: rgba(10,132,255,0.09);
  --color-accent: #0A84FF;
  --color-amber: #FF9F43;
  --color-amber-light: rgba(255,159,67,0.10);
  --color-border: #E8E8EC;
  --color-border-strong: #D1D1D8;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.18);
  --transition: 200ms ease;
  --container: 1200px;
  --section-py: 96px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Utilities ─────────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 580px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* Fade-in scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  padding: 14px 22px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,132,255,0.35);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-strong);
}
.btn-outline:hover {
  background: var(--color-bg-warm);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-lg { font-size: 17px; padding: 17px 30px; border-radius: 14px; }

/* ── Navigation ────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  /* Liquid glass base */
  background: rgba(255,255,255,0.52);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.04);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.04);
  border-bottom: 1px solid rgba(255,255,255,0.70);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    0 1px 0 rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.05);
  transition: all 240ms ease;
}

/* Prismatic refraction strip at bottom edge */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(100,160,255,0.25) 20%,
    rgba(180,120,255,0.18) 45%,
    rgba(100,220,200,0.22) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.nav.scrolled {
  background: rgba(255,255,255,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 1px 0 rgba(0,0,0,0.06),
    0 8px 32px rgba(0,0,0,0.07);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }

.nav-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo-icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.nav-wordmark {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 19px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

/* Liquid glass pill — absolutely centred inside nav-inner */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  /* Glass pill */
  background: rgba(15,15,18,0.045);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(15,15,18,0.08);
  border-radius: 100px;
  padding: 4px 4px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(0,0,0,0.04),
    0 2px 12px rgba(0,0,0,0.05);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--color-text);
  background: rgba(255,255,255,0.70);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nav-cta { margin-left: auto; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  padding: 32px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .mobile-cta { margin-top: 24px; }

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  padding: 72px 0 56px;
  background: var(--color-bg-warm);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  padding: 7px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--color-amber);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-headline {
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero-headline span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: normal;
  color: var(--color-text);
}

.hero-headline em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.drug-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  font-style: normal;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.hero-sub sup {
  font-size: 0.6em;
  vertical-align: super;
  font-family: var(--font-sans);
  font-weight: 500;
}

.hero-beta-note {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  padding: 14px 16px 14px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 10px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 48px;
}

.hero-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.cta-badge-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--color-amber);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Store Badges ──────────────────────────────────────────── */

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 10px 18px;
  text-decoration: none;
  min-width: 162px;
  transition: opacity 150ms ease, transform 150ms ease;
}
.store-badge:hover {
  opacity: 0.82;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.store-badge-icon { flex-shrink: 0; }

.store-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.store-badge-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.72;
  line-height: 1;
}
.store-badge-name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Google Play coming soon — normal appearance, unclickable */
.store-badge[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}

/* Join Free — static badge, no interaction */
.btn-join-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  color: #fff;
  border-radius: 14px;
  padding: 10px 20px;
  min-width: 148px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: default;
  user-select: none;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.25), 0 4px 20px rgba(37,99,235,0.22);
}

/* Footer store badges row */
.footer-store-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Pricing panel: stacked column badges */
.pp-store-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.pp-store-badges .store-badge {
  min-width: 0;
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(10,132,255,0.13) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

/* Two-phone 3D hero */
.hero-phones {
  position: relative;
  perspective: 1200px;
  width: 340px;
  height: 440px;
}

/* Override phone size specifically inside hero */
.hero-phones .phone-frame.lg { width: 220px; }

.hero-phone {
  position: absolute;
  top: 0;
  will-change: transform;
}

/* Back phone — left, tilted away */
.hero-phone-back {
  left: 0;
  top: 28px;
  transform:
    perspective(1200px)
    rotateY(18deg)
    rotateZ(-4deg)
    scale(0.88);
  transform-origin: center center;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
  z-index: 1;
}

/* Front phone — right, slight counter-tilt */
.hero-phone-front {
  right: 0;
  top: 0;
  transform:
    perspective(1200px)
    rotateY(-12deg)
    rotateZ(3deg)
    scale(1);
  transform-origin: center center;
  filter: drop-shadow(0 28px 56px rgba(0,0,0,0.22));
  z-index: 2;
}

/* ── Phone Frame ───────────────────────────────────────────── */

.phone-frame {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #1C1C1E;
  border-radius: 46px;
  position: relative;
  box-shadow:
    0 0 0 2px #3C3C3E,
    0 0 0 3.5px #2A2A2C,
    var(--shadow-xl);
  overflow: hidden;
  flex-shrink: 0;
}

.phone-frame.lg { width: 300px; }
.phone-frame.sm { width: 210px; border-radius: 34px; }

/* Dynamic island is part of the screenshot — no CSS overlay needed */

/* Phone screen: gradient is the fallback shown when no screenshot file exists.
   background-image is silently ignored by the browser if the file is missing —
   no broken icon, no blank white. Drop the image files in assets/ and they
   appear automatically. */
.phone-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #EEF2FF;
  background-image: linear-gradient(155deg, #EDF2FF 0%, #DDE6FF 100%);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle tide wave shown when no screenshot is loaded */
.phone-screen::after {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background: rgba(10, 132, 255, 0.12);
  border-radius: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='20' viewBox='0 0 28 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 14c3-7 6-7 9 0s6 7 9 0' stroke='%230A84FF' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M2 7c3-6 6-6 9 0s6 6 9 0' stroke='%230A84FF' stroke-width='1.5' stroke-linecap='round' opacity='.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 20px;
  margin-top: 50px; /* clear dynamic island */
}

/* Screenshot background classes.
   CSS multiple-backgrounds: screenshot layer first, gradient layer second.
   If the file is missing the browser silently drops the URL layer and renders
   only the gradient — no broken icon, no blank white frame.
   If the file loads it sits on top of the gradient. */
.ss-home   { background-image: url('../assets/ss-home.png'),   linear-gradient(155deg, #EDF2FF 0%, #DDE6FF 100%); background-size: cover, auto; }
.ss-shot   { background-image: url('../assets/ss-shot.png'),   linear-gradient(155deg, #EDF2FF 0%, #DDE6FF 100%); background-size: cover, auto; }
.ss-body   { background-image: url('../assets/ss-body.png'),   linear-gradient(155deg, #EDF2FF 0%, #DDE6FF 100%); background-size: cover, auto; }
.ss-rhythm { background-image: url('../assets/ss-rhythm.png'), linear-gradient(155deg, #EDF2FF 0%, #DDE6FF 100%); background-size: cover, auto; }
.ss-learn  { background-image: url('../assets/ss-learn.png'),  linear-gradient(155deg, #EDF2FF 0%, #DDE6FF 100%); background-size: cover, auto; }
.ss-plus   { background-image: url('../assets/ss-plus.png'),   linear-gradient(155deg, #EDF2FF 0%, #DDE6FF 100%); background-size: cover, auto; }

/* Wave icon not needed when a ss-* class is set */
.ss-home::after, .ss-shot::after, .ss-body::after,
.ss-rhythm::after, .ss-learn::after, .ss-plus::after { display: none; }

.phone-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(155deg, #EDF2FF 0%, #E0EAFF 100%);
  padding: 24px;
  text-align: center;
  padding-top: 60px;
}

.phone-placeholder-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  opacity: 0.6;
}

.phone-placeholder-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* ── Scrolltell (Features + How It Works combined) ─────────── */

.scrolltell {
  overflow-x: clip; /* contain translateX animations, allow vertical sticky */
}

/* Each panel is full-viewport height */
.st-panel {
  border-top: 1px solid var(--color-border);
}

/* Alternating bg: even panels slightly warm */
.st-panel:nth-child(even) { background: #FAFAF8; }

/* Dark bg for the Plus panel */
.st-panel-plus,
.st-panel-plus:nth-child(even) { background: #0A0E14; }

/* Inner content container */
.st-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 64px;
  gap: 80px;
}

/* Even panels: flip phone to right side */
.st-panel:nth-child(even) .st-phone-col { order: 2; }
.st-panel:nth-child(even) .st-text-col  { order: 1; }

/* Phone column */
.st-phone-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Phone — hidden until panel scrolls in */
.st-phone {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Enter from left on odd panels */
.st-panel:nth-child(odd) .st-phone  { transform: translateX(-48px); }
/* Enter from right on even panels */
.st-panel:nth-child(even) .st-phone { transform: translateX(48px); }

/* Text column */
.st-text-col {
  display: flex;
  align-items: center;
}

/* Text block — hidden until panel scrolls in */
.st-text {
  max-width: 460px;
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.7s ease 0.14s, transform 0.7s ease 0.14s;
}

/* Text enters from opposite side to phone */
.st-panel:nth-child(odd) .st-text  { transform: translateX(48px); }
.st-panel:nth-child(even) .st-text { transform: translateX(-48px); }

/* Visible state — triggered by JS IntersectionObserver */
.st-panel.in-view .st-phone,
.st-panel.in-view .st-text {
  opacity: 1;
  transform: translateX(0);
}

/* Eyebrow label */
.st-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blue);
  margin-bottom: 14px;
}

.st-panel-plus .st-eyebrow { color: var(--color-amber); }

/* Headline — bold sans + Newsreader italic per spec */
.st-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.st-heading span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: normal;
  color: var(--color-text);
}

.st-heading em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text);
}

.st-panel-plus .st-heading span { color: #fff; }
.st-panel-plus .st-heading em   { color: rgba(255,255,255,0.75); }

/* Sub-text */
.st-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.st-panel-plus .st-sub { color: rgba(255,255,255,0.5); }

/* Optional CTA inside panel */
.st-cta { display: inline-flex; }

/* Closing tagline */
.st-tagline {
  text-align: center;
  padding: 80px 24px 100px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.st-tagline p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
}

.st-tagline em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-blue);
}

/* ── Shot Cycle Wheel ──────────────────────────────────────── */

.cycle-section {
  background: #0A0E14;
  padding: 100px 0 108px;
  overflow: hidden;
}

.cycle-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.cycle-header {
  text-align: center;
  max-width: 580px;
}

.cycle-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cycle-heading span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  color: #fff;
}

.cycle-heading em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

.cycle-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.40);
}

/* Diagram container */
.cycle-wrap { display: flex; justify-content: center; }

.cycle-diagram {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

.cycle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/*
  Node positions: 420×420 container, center=(210,210), ring radius=155
  6 nodes at 60° intervals starting at -90° (12 o'clock)
  Each node is 52×52, so offset by 26px to center on the ring.

  Angle | center-x          | center-y          | left  | top
  -90°  | 210               | 55                | 184   | 29
  -30°  | 210+134.2=344     | 210-77.5=133      | 318   | 107
   30°  | 344               | 210+77.5=288      | 318   | 262
   90°  | 210               | 365               | 184   | 339
  150°  | 210-134.2=76      | 288               | 50    | 262
  210°  | 76                | 133               | 50    | 107
*/

.cycle-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.30);
  cursor: pointer;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, box-shadow;
}

.cycle-node:hover {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.09);
}

.cycle-node.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
  box-shadow:
    0 0 0 8px rgba(10,132,255,0.16),
    0 0 28px rgba(10,132,255,0.45);
  transform: scale(1.18);
}

.cycle-node[data-idx="0"] { left: 184px; top:  29px; }
.cycle-node[data-idx="1"] { left: 318px; top: 107px; }
.cycle-node[data-idx="2"] { left: 318px; top: 262px; }
.cycle-node[data-idx="3"] { left: 184px; top: 339px; }
.cycle-node[data-idx="4"] { left:  50px; top: 262px; }
.cycle-node[data-idx="5"] { left:  50px; top: 107px; }

/* Center phase read-out */
.cycle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 190px;
  pointer-events: none;
  user-select: none;
}

.cycle-phase-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 6px;
  transition: opacity 0.25s ease;
}

.cycle-phase-days {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  transition: opacity 0.25s ease;
}

.cycle-phase-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--color-blue);
  margin-bottom: 8px;
  transition: opacity 0.25s ease;
}

.cycle-phase-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.38);
  transition: opacity 0.25s ease;
}

.cycle-center.fading .cycle-phase-name,
.cycle-center.fading .cycle-phase-days,
.cycle-center.fading .cycle-phase-label,
.cycle-center.fading .cycle-phase-desc { opacity: 0; }

/* Mobile: scale the diagram to fit */
@media (max-width: 500px) {
  .cycle-diagram {
    transform: scale(0.73);
    transform-origin: top center;
    margin-bottom: -113px;
  }
  .cycle-inner { gap: 44px; }
}

/* ── Screenshots ───────────────────────────────────────────── */

/* ── Screenshots sticky-scroll ─────────────────────────────────── */

.screenshots {
  padding: var(--section-py) 0 0;
  background: var(--color-bg-dark);
  /* no overflow:hidden — it breaks position:sticky */
}

.screenshots-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 24px;
}
.screenshots-header .section-label { color: rgba(255,255,255,0.45); }
.screenshots-header .section-label::before { background: rgba(255,255,255,0.25); }
.screenshots-header .section-heading { color: #fff; }
.screenshots-header .section-sub { color: rgba(255,255,255,0.55); margin: 0 auto; }

/* Two-column scroll stage */
.screenshots-scroll-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px 120px;
  gap: 64px;
}

/* Left column — sticky phone.
   top:64px clears the fixed nav so the phone never slides behind it.
   height accounts for the nav offset so centering stays correct. */
.screenshots-phone-rail {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 16px;
}

/* Slightly smaller phone so it comfortably fits the available height */
.screenshots-phone-rail .phone-frame.lg {
  width: 240px;
}

/* All screens stacked inside the phone */
.sticky-phone-screens {
  position: absolute;
  inset: 0;
}

/* Each screen fades in/out */
.spscreen {
  opacity: 0;
  transition: opacity 0.55s ease;
}

.spscreen.active {
  opacity: 1;
}

/* Right column — scrolling steps */
.screenshots-steps-rail {
  padding-top: calc(50vh - 64px - 260px); /* align first step to phone center */
  padding-bottom: calc(50vh - 64px - 100px);
}

.screenshots-step {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.2;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.screenshots-step.active {
  opacity: 1;
  transform: translateY(0);
}

.step-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.screenshots-step h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.step-body {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 360px;
}

/* ── Dose & Supply Guardian spotlight ─────────────────────── */

.guardian-section {
  background: #0A0E14;
  padding: 100px 0 108px;
  overflow: hidden;
}

.guardian-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  gap: 72px;
}

/* ── Left: copy ── */

.guardian-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 540px;
}

.guardian-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.guardian-plus-mark {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A84FF;
  background: rgba(10,132,255,0.12);
  border: 1px solid rgba(10,132,255,0.30);
  border-radius: 6px;
  padding: 3px 8px;
  line-height: 1.4;
}

.guardian-eyebrow-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.guardian-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.guardian-headline span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: normal;
  color: #fff;
}

.guardian-headline em {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.50);
}

.guardian-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.48);
  margin-bottom: 36px;
  max-width: 500px;
}

.guardian-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.guardian-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.guardian-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(10,132,255,0.14);
  border: 1px solid rgba(10,132,255,0.22);
  color: #0A84FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.guardian-feature-icon--amber {
  background: rgba(255,159,67,0.12);
  border-color: rgba(255,159,67,0.25);
  color: #FF9F43;
}

.guardian-feature-text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.guardian-feature-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.5;
}

.guardian-nudge {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Right: UI card ── */

.guardian-visual {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.guardian-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 24px;
  width: 360px;
  backdrop-filter: blur(12px);
}

.guardian-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.guardian-card-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.guardian-card-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
}

.guardian-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.guardian-row:last-of-type {
  margin-bottom: 0;
}

.guardian-row--alert {
  background: rgba(255,159,67,0.07);
  border: 1px solid rgba(255,159,67,0.15);
}

.guardian-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.guardian-row-dot--good  { background: #34C759; }
.guardian-row-dot--amber { background: #FF9F43; animation: blink 2.2s ease-in-out infinite; }
.guardian-row-dot--blue  { background: #0A84FF; }

.guardian-row-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.guardian-row-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.guardian-row-value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.guardian-row-value--amber { color: #FF9F43; }

.guardian-row-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FF9F43;
  background: rgba(255,159,67,0.18);
  border: 1px solid rgba(255,159,67,0.28);
  border-radius: 6px;
  padding: 3px 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.guardian-card-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.guardian-card-medication {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  line-height: 1.5;
}

.guardian-card-medication strong {
  font-weight: 600;
  color: rgba(255,255,255,0.50);
}

.guardian-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.40);
}

.guardian-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF9F43;
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── FAQ ───────────────────────────────────────────────────── */

.faq { padding: var(--section-py) 0; background: var(--color-bg); }
.faq-header { text-align: center; margin-bottom: 52px; }

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
}
.faq-q:hover { color: var(--color-blue); }

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--color-bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-icon svg { width: 13px; height: 13px; transition: transform var(--transition); }
.faq-item.open .faq-icon { background: var(--color-blue-light); color: var(--color-blue); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding-bottom: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

/* ── Pricing ───────────────────────────────────────────────── */

.pricing { padding: 56px 0 60px; background: var(--color-bg-warm); }

.pricing-header {
  text-align: center;
  margin-bottom: 36px;
}

/* Force the sub-text block to centre (text-align centres the text inside,
   margin auto centres the block itself within its container) */
.pricing-header .section-sub { margin: 0 auto; }

/* ── Plan toggle ───────────────────────────────────────────── */

.plan-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 28px;
}

.plan-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.plan-tab:hover { color: var(--color-text); }

.plan-tab.active {
  background: #1C1C1E;
  color: #fff;
}

.plan-tab-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--color-blue);
  color: #fff;
}

.plan-tab-badge-amber { background: var(--color-amber); }

/* ── Unified pricing panel ─────────────────────────────────── */

.pp {
  display: grid;
  grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr);
  background: #18181F;
  border-radius: 24px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

/* Left column */
.pp-left {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

/* Plan content blocks — only the .active one is visible */
.pp-plan {
  display: none;
  flex-direction: column;
  height: 100%;
}
.pp-plan.active { display: flex; }

.pp-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 18px;
}

.pp-price-row {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 8px;
}

.pp-sym {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  padding-top: 8px;
}

.pp-num {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.pp-price-stack {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  gap: 2px;
}

.pp-cents {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  line-height: 1;
}

.pp-per {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.40);
  line-height: 1;
}

.pp-billing {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  margin-bottom: 18px;
}

.pp-savings {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255,159,67,0.12);
  border: 1px solid rgba(255,159,67,0.28);
  font-size: 12.5px;
  font-weight: 600;
  color: #FF9F43;
  margin-bottom: 22px;
}

.pp-savings-amber {
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.25);
  color: var(--color-amber);
}

.pp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  background: var(--color-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-bottom: 14px;
}
.pp-cta-btn:hover { background: #0070d8; transform: translateY(-1px); }
.pp-cta-amber { background: var(--color-amber); }
.pp-cta-amber:hover { background: #d97706; }

.pp-trust-line {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  text-align: center;
}

/* Vertical separator */
.pp-sep {
  background: rgba(255,255,255,0.08);
  width: 1px;
  align-self: stretch;
  margin: 24px 0;
}

/* Right column */
.pp-right {
  padding: 36px 32px 32px;
  min-width: 0;
}

.pp-features-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 16px;
}

.pp-features {
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.pp-features.active { display: flex; }

.pp-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pp-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,159,67,0.14);
  color: var(--color-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pp-check svg { width: 10px; height: 10px; }
.pp-check-amber {
  background: rgba(245,158,11,0.15);
  color: var(--color-amber);
}

.pp-feature > div { min-width: 0; }

.pp-feature strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1px;
}

.pp-feature span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.4;
}

/* Trust pills — pricing section */
.pricing-trust {
  text-align: center;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.trust-pill svg { color: var(--color-blue); flex-shrink: 0; }

.pricing-trust-note {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Trust strip — hero section */
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 20px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.hero-trust-item svg { color: var(--color-blue); flex-shrink: 0; }

.hero-trust-sep {
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1;
}

/* ── About ─────────────────────────────────────────────────── */

.about { padding: var(--section-py) 0; background: var(--color-bg); }

.about-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-body { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }

.about-body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.about-body p:first-child {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--color-text);
}

.about-sig {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-sig-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-bg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-blue);
  flex-shrink: 0;
}

.about-sig-name { font-weight: 700; font-size: 15px; color: var(--color-text); }
.about-sig-title { font-size: 13px; color: var(--color-text-muted); margin-top: 2px; }

/* ── Final CTA ─────────────────────────────────────────────── */

.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0071EF 0%, #0A84FF 60%, #2E96FF 100%);
  text-align: center;
}

.final-cta .section-label { color: rgba(255,255,255,0.5); }
.final-cta .section-label::before { background: rgba(255,255,255,0.3); }

.final-cta-headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 5vw, 50px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.final-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--color-blue);
}
.final-cta .btn-primary:hover {
  background: rgba(255,255,255,0.90);
  color: var(--color-blue-dark);
  box-shadow: 0 6px 28px rgba(0,0,0,0.22);
}

.final-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
}

.final-cta-badge { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }

.final-disclaimer {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Footer ────────────────────────────────────────────────── */

.footer { padding: 72px 0 48px; background: var(--color-bg-dark); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 40px;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: #fff;
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-wordmark:hover { text-decoration: none; color: #fff; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  max-width: 240px;
}

.footer-col-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-disclaimer-box {
  margin: 0 0 32px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.footer-disclaimer-box p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
  margin: 0;
}
.footer-disclaimer-box p + p {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-brand-credit { font-size: 13px; color: rgba(255,255,255,0.45); }

/* ── Legal Pages ───────────────────────────────────────────── */

.legal-page { padding: 120px 0 88px; }

.legal-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 6px;
}

.legal-date {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 52px;
}

.legal-entity-box {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-blue);
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin: 0 0 16px 22px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 7px;
}

.legal-content a { color: var(--color-blue); }

/* ── Contact Page ──────────────────────────────────────────── */

.contact-page { padding: 120px 0 80px; }

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.contact-card {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin-top: 44px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.contact-email {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-blue);
  display: block;
  margin-bottom: 14px;
  text-decoration: none;
}
.contact-email:hover { text-decoration: underline; }

.contact-note {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Guardian reverse layout modifier ─────────────────────── */

.guardian-section--reverse .guardian-inner { flex-direction: row-reverse; }

/* ── Doctor Visit Briefing card ────────────────────────────── */

.guardian-kv-header {
  margin-bottom: 18px;
}

.guardian-kv-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.guardian-kv-period {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.02em;
}

.guardian-kv-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 14px;
}

.guardian-kv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 10px;
  border-radius: 8px;
}

.guardian-kv-row:nth-child(odd) {
  background: rgba(255,255,255,0.03);
}

.guardian-kv-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

.guardian-kv-value {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.guardian-kv-notable {
  background: rgba(255,159,67,0.07);
  border: 1px solid rgba(255,159,67,0.15);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.guardian-kv-notable-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF9F43;
  margin-bottom: 5px;
}

.guardian-kv-notable-text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.guardian-kv-share {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.50);
}

.guardian-kv-share-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34C759;
  flex-shrink: 0;
}

/* ── Private Journey Record card ────────────────────────────── */

.guardian-tl-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.guardian-tl-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guardian-tl-item {
  display: flex;
  gap: 14px;
  position: relative;
}

.guardian-tl-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
}

.guardian-tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.30);
  flex-shrink: 0;
  margin-top: 2px;
}

.guardian-tl-dot--today {
  width: 12px;
  height: 12px;
  background: #0A84FF;
  border-color: rgba(10,132,255,0.60);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.20);
  margin-top: 1px;
}

.guardian-tl-line {
  width: 1px;
  flex: 1;
  background: rgba(255,255,255,0.10);
  margin: 4px 0;
  min-height: 20px;
}

.guardian-tl-content {
  padding-bottom: 20px;
  flex: 1;
}

.guardian-tl-item:last-child .guardian-tl-content {
  padding-bottom: 0;
}

.guardian-tl-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.guardian-tl-date {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.02em;
}

.guardian-tl-week {
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guardian-tl-today-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0A84FF;
  background: rgba(10,132,255,0.14);
  border-radius: 4px;
  padding: 2px 6px;
}

.guardian-tl-note {
  font-size: 12.5px;
  color: rgba(255,255,255,0.50);
  line-height: 1.5;
}

.guardian-tl-note--today {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ── Pattern Insights card ──────────────────────────────────── */

.guardian-pb-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.guardian-pb-subtitle {
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.guardian-pb-days {
  display: flex;
  gap: 4px;
  padding-left: 64px;
  margin-bottom: 10px;
}

.guardian-pb-day-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.22);
  width: 16px;
  text-align: center;
  letter-spacing: 0;
}

.guardian-pb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.guardian-pb-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  width: 64px;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.guardian-pb-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 20px;
}

.guardian-pb-seg {
  width: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}

.guardian-pb-peak-tag {
  font-size: 9px;
  font-weight: 700;
  color: #FF9F43;
  background: rgba(255,159,67,0.14);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.guardian-pb-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 16px 0;
}

.guardian-pb-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.55;
}

.guardian-pb-quote strong {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  display: block;
  margin-bottom: 6px;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 960px) {
  :root { --section-py: 72px; }

  /* ── Guardian ── */
  .guardian-inner { flex-direction: column; gap: 48px; padding: 0 40px; }
  .guardian-content { max-width: 100%; }
  .guardian-visual { align-self: center; }
  .guardian-card { width: 100%; max-width: 480px; }

  .hero-inner { grid-template-columns: 1fr; gap: 52px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-cta-group { align-items: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }

  /* On tablet/mobile: collapse to single centered phone, crop bottom */
  .hero-phones {
    width: 220px;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    perspective: none;
  }
  .hero-phones .phone-frame.lg { width: 200px; }
  .hero-phone-back { display: none; }
  .hero-phone-front {
    position: static;
    transform: none;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18));
  }

  /* Scrolltell: collapse to single column on tablet */
  .st-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 40px;
    gap: 40px;
    text-align: center;
  }

  /* On tablet, phone always on top regardless of odd/even */
  .st-panel:nth-child(even) .st-phone-col,
  .st-panel:nth-child(even) .st-text-col { order: unset; }

  .st-phone-col { order: -1; }

  .st-text { max-width: 100%; margin: 0 auto; }
  .st-sub   { max-width: 480px; margin: 0 auto 28px; }

  /* Simplify entrance: just fade, no slide */
  .st-panel:nth-child(odd) .st-phone,
  .st-panel:nth-child(even) .st-phone,
  .st-panel:nth-child(odd) .st-text,
  .st-panel:nth-child(even) .st-text { transform: translateY(24px); }

  .st-panel.in-view .st-phone,
  .st-panel.in-view .st-text { transform: translateY(0); }

  .st-heading { font-size: clamp(1.7rem, 5vw, 2.4rem); }

  .st-cta { justify-content: center; width: 100%; }

  .pp { grid-template-columns: 1fr; border-radius: 20px; }
  .pp-sep { display: none; }
  .pp-left { padding: 28px 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .pp-right { padding: 24px 24px 28px; }
  .pp-num { font-size: 56px; }
  .plan-toggle { flex-wrap: wrap; justify-content: center; }

  .footer-inner { padding: 0 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }

  /* Screenshots: collapse to single column on tablet */
  .screenshots-scroll-stage {
    grid-template-columns: 1fr;
    padding: 0 32px 80px;
    gap: 0;
  }

  .screenshots-phone-rail {
    position: sticky;
    top: 0;
    height: 52vw;
    max-height: 420px;
    justify-content: center;
    padding-right: 0;
  }

  .screenshots-phone-rail .phone-frame.lg {
    width: 200px;
  }

  .screenshots-steps-rail {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .screenshots-step {
    min-height: 60vh;
    align-items: center;
    text-align: center;
  }

  .step-body { margin: 0 auto; }
}

@media (max-width: 600px) {
  :root { --section-py: 56px; }

  /* ── Guardian ── */
  .guardian-section { padding: 72px 0; }
  .guardian-inner { padding: 0 24px; gap: 36px; }
  .guardian-sub { font-size: 15px; }
  .guardian-card { padding: 18px; }
  .guardian-row-value { font-size: 12.5px; }

  /* ── Hero ── */
  .hero { padding: 44px 0 44px; }
  .hero-headline { font-size: clamp(28px, 8vw, 38px); }
  .hero-sub { font-size: 15px; line-height: 1.65; }
  .hero-inner { gap: 36px; }

  /* Hero phone: smaller + crop */
  .hero-phones { width: 170px; height: 260px; }
  .hero-phones .phone-frame.lg { width: 170px; }

  /* Hero CTA: stack badges vertically */
  .hero-cta-group .store-badges {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 260px;
  }
  .hero-cta-group .store-badge,
  .hero-cta-group .btn-join-free {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  /* Hero stats: equal 3-column grid */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-stat-value { font-size: 13px; }
  .hero-stat-label { font-size: 9px; letter-spacing: 0.02em; }

  /* Hero trust: wrap, hide separators */
  .hero-trust { flex-wrap: wrap; gap: 6px 10px; justify-content: center; }
  .hero-trust-sep { display: none; }

  /* ── Scrolltell ── */
  .st-inner { padding: 52px 24px; gap: 32px; }
  .st-heading { font-size: clamp(1.5rem, 6vw, 2rem); }
  .st-sub { font-size: 15px; }

  /* ── Phone frames (generic, not hero) ── */
  .phone-frame { width: 210px; }
  .phone-frame.sm { width: 180px; border-radius: 30px; }
  .phone-frame.lg { width: 250px; }

  /* ── Screenshots ── */
  .screenshots-scroll-stage { padding: 0 20px 60px; }
  .screenshots-phone-rail { height: 60vw; max-height: 340px; overflow: hidden; }
  .screenshots-phone-rail .phone-frame.lg { width: 160px; }
  .screenshots-step h3 { font-size: 1.6rem; }

  /* ── Pricing ── */
  .pp-num { font-size: 48px; }
  .pp-left, .pp-right { padding: 20px 18px; }
  .pp-features { gap: 10px; }
  .plan-tab { font-size: 13px; padding: 8px 14px; }

  /* ── Final CTA ── */
  .final-cta { padding: 64px 0; }
  .final-cta-sub { font-size: 16px; }
  .final-cta .store-badges {
    flex-direction: column;
    align-items: center;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }
  .final-cta .store-badge,
  .final-cta .btn-join-free {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  /* ── Footer ── */
  .footer-inner { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-tagline { max-width: 100%; }
  .footer-store-row { flex-direction: column; gap: 8px; }
  .footer-store-row .store-badge { min-width: 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  /* ── Misc ── */
  .contact-card { padding: 32px 24px; }
  .cycle-section { overflow: hidden; }
}

@media (max-width: 420px) {
  :root { --section-py: 48px; }

  /* ── Guardian ── */
  .guardian-visual { display: none; }
  .guardian-section { padding: 60px 0; }
  .guardian-inner { padding: 0 20px; }

  /* ── Hero ── */
  .hero { padding: 32px 0 36px; }
  .hero-inner { padding: 0 18px; gap: 28px; }
  .hero-headline { font-size: clamp(24px, 7.5vw, 30px); }
  .hero-sub { font-size: 14px; line-height: 1.6; }
  .hero-phones { width: 140px; height: 230px; }
  .hero-phones .phone-frame.lg { width: 140px; }
  .hero-stat-label { font-size: 8px; }

  /* ── Cycle wheel ── */
  .cycle-diagram { transform: scale(0.58); margin-bottom: -160px; }
  .cycle-inner { gap: 24px; }

  /* ── Screenshots ── */
  .screenshots-phone-rail { max-height: 260px; }
  .screenshots-phone-rail .phone-frame.lg { width: 130px; }
  .screenshots-step { min-height: 50vh; }

  /* ── Section headings ── */
  .section-heading { font-size: clamp(1.6rem, 6vw, 2rem); }

  /* ── Final CTA ── */
  .final-cta { padding: 52px 0; }
  .final-cta-headline { font-size: clamp(22px, 7vw, 30px); }

  /* ── Drug pages ── */
  .drug-close-section { padding: 56px 0; }
  .drug-qa-card { padding: 20px 18px; }
  .drug-qa-q { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  @keyframes blink { 0%, 100% { opacity: 1; } }
}

/* ── Drug companion pages ──────────────────────────────────── */

.hero-drug .hero-inner {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.hero-drug .hero-content {
  max-width: 100%;
}

.hero-drug .hero-headline {
  font-size: clamp(34px, 5vw, 54px);
}

.drug-qa-section {
  background: var(--color-bg-warm);
}

.drug-qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.drug-qa-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
}

.drug-qa-q {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.drug-qa-a {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.drug-close-section {
  background: var(--color-bg-dark);
  padding: 100px 0;
  text-align: center;
}

.drug-close-p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

@media (max-width: 680px) {
  .drug-qa-grid { grid-template-columns: 1fr; }
  .drug-close-section { padding: 72px 0; }
}
