:root {
  --bg: #f3f5f1;
  --bg-tint: #ebf0ec;
  --ink: #0b1517;
  --ink-soft: #1a2628;
  --muted: #4f5e60;
  --muted-2: #7a8889;
  --soft: #dcebe8;
  --soft-2: #ebf2ef;
  --line: rgba(11, 21, 23, 0.08);
  --line-strong: rgba(11, 21, 23, 0.18);
  --dark: #0b1517;
  --teal: #2fa49e;
  --teal-dark: #0c6864;
  --teal-deep: #084742;
  --teal-fog: #c9e4e1;
  --gold: #c89a4f;
  --white: #ffffff;
  --shadow-card: 0 1px 0 rgba(11, 21, 23, 0.04), 0 30px 60px -28px rgba(12, 104, 100, 0.28);
  --shadow-soft: 0 1px 0 rgba(11, 21, 23, 0.04), 0 22px 48px -28px rgba(11, 21, 23, 0.4);
  --shadow-deep: 0 50px 120px -50px rgba(8, 71, 66, 0.55);
  --radius: 16px;
  --radius-lg: 32px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  background: var(--bg);
  overflow-x: hidden;
}

/* Cinematic atmosphere — vignette + grain + grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 88% -8%, rgba(47, 164, 158, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(12, 104, 100, 0.08), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(11, 21, 23, 0.08), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(11, 21, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 23, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(1400px 900px at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(1400px 900px at 50% 0%, #000 30%, transparent 80%);
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Page mark (secondary pages) ---------- */
.page-mark {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  left: clamp(20px, 4vw, 44px);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: opacity 220ms var(--ease);
}

.page-mark:hover { opacity: 0.7; }

.page-mark .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.page-secondary main {
  padding-top: clamp(72px, 9vw, 120px);
}

.page-back-note {
  margin: clamp(28px, 4vw, 48px) 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.page-back-note a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 200ms var(--ease);
}

.page-back-note a:hover { color: var(--ink); }


button, a { font: inherit; }
button { cursor: pointer; }

::selection { background: var(--teal-dark); color: var(--white); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, var(--teal-deep));
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 10px 22px -8px rgba(12, 104, 100, 0.7);
}

.nav-links { display: flex; gap: 4px; }

.nav-links a {
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 220ms var(--ease), background 220ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(11, 21, 23, 0.05);
  outline: none;
}

/* ---------- Buttons ---------- */
.topbar-cta,
.hero-button,
.product-button,
.plan-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 240ms var(--spring), box-shadow 260ms var(--ease), background 240ms var(--ease);
  will-change: transform;
}

.topbar-cta {
  justify-self: end;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px -14px rgba(11, 21, 23, 0.7);
}

.hero-button,
.product-button {
  min-height: 64px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 50px -22px rgba(11, 21, 23, 0.75);
}

.hero-button { background: var(--teal-deep); }

.hero-button span,
.product-button span,
.topbar-cta span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 600;
  transition: transform 280ms var(--spring), background 220ms var(--ease);
}

.topbar-cta:hover,
.product-button:hover,
.plan-card button:hover {
  transform: translateY(-2px);
  background: #15252a;
}

.hero-button:hover {
  transform: translateY(-2px);
  background: #0a5854;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 32px 60px -22px rgba(8, 71, 66, 0.85);
}

.topbar-cta:hover span,
.hero-button:hover span,
.product-button:hover span {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.26);
}

.topbar-cta:active,
.hero-button:active,
.product-button:active,
.plan-card button:active {
  transform: translateY(0);
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: min(1280px, calc(100% - clamp(24px, 4vw, 40px)));
  min-height: calc(100dvh - 56px);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.eyebrow-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(47, 164, 158, 0.6);
  animation: pulseDot 2.4s ease-out infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(47, 164, 158, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(47, 164, 158, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 164, 158, 0); }
}

.hero h1,
.result-copy h2,
.plans-heading h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(40px, 7.2vw, 104px);
}

.hero h1 em,
.result-copy h2 em,
.plans-heading h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 40px;
}

.trust-note {
  position: relative;
  max-width: 280px;
  margin: 0;
  padding-left: 22px;
  border-left: 2px solid var(--teal);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.trust-note strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.hero-bullets li span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

/* Hero visual — cinematic */
.hero-visual {
  position: relative;
  display: grid;
  min-height: clamp(420px, 55vw, 620px);
  place-items: center;
}

.soft-orb {
  position: absolute;
  width: min(38vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95), transparent 55%),
    linear-gradient(160deg, #d0e8e4, #eef6f3);
  box-shadow:
    inset 0 -50px 100px rgba(12, 104, 100, 0.22),
    0 80px 160px -50px rgba(12, 104, 100, 0.5);
  animation: orbDrift 11s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(54vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(12, 104, 100, 0.18);
  animation: orbDrift 18s ease-in-out infinite reverse;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(12, 104, 100, 0.1);
  animation: orbDrift 14s ease-in-out infinite;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -14px); }
}

.planner-bottle {
  position: relative;
  z-index: 2;
  width: min(80%, 340px);
  transform: rotate(-3deg);
  animation: floatCard 6s ease-in-out infinite;
}

.bottle-cap {
  width: 44%;
  height: 54px;
  margin: 0 auto -10px;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, #182a2e, #07100f);
  box-shadow:
    inset 0 -8px 0 rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 18px -4px rgba(11, 21, 23, 0.5);
}

.bottle-body {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0;
  min-height: clamp(320px, 38vw, 460px);
  padding: clamp(28px, 3vw, 42px) clamp(24px, 2.6vw, 38px) clamp(24px, 2.6vw, 38px);
  border: 1px solid rgba(11, 21, 23, 0.08);
  border-radius: clamp(28px, 3vw, 42px);
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, 0.95), transparent 55%),
    linear-gradient(150deg, #ffffff, #e6f2ef);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 40px 100px -30px rgba(12, 104, 100, 0.5);
}

.bottle-body::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px dashed rgba(11, 21, 23, 0.08);
  pointer-events: none;
}

.bottle-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bottle-label::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
}

.bottle-title {
  margin-top: clamp(14px, 1.6vw, 18px);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.bottle-line {
  display: block;
  width: 78%;
  height: 8px;
  margin-top: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-fog), transparent);
}

.bottle-line.short {
  width: 48%;
  margin-top: 12px;
}

.bottle-foot {
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.vertical-note {
  position: absolute;
  right: -14px;
  bottom: 64px;
  margin: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}

/* ---------- Sections ---------- */
.quiz-section,
.result-section,
.plans-section {
  width: min(1180px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) 0 clamp(56px, 8vw, 100px);
}

.quiz-card,
.planner-card,
.plans-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

#quiz-card,
#result,
#plans { scroll-margin-top: 120px; }

.quiz-card {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px);
}

.quiz-meta,
.quiz-footer,
.planner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.quiz-meta {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-track {
  position: relative;
  height: 8px;
  margin: 22px 0 42px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}

.progress-bar {
  position: relative;
  width: 16.66%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
  transition: width 520ms var(--spring);
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 12px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
  filter: blur(2px);
}

.quiz-card h2 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

#question-help {
  max-width: 680px;
  margin: 16px 0 36px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.answers {
  display: grid;
  gap: 12px;
}

.answer-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 22px 26px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-align: left;
  transition: border-color 240ms var(--ease), background 240ms var(--ease), transform 280ms var(--spring), box-shadow 240ms var(--ease);
}

.answer-button::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  transition: all 260ms var(--ease);
}

.answer-button:hover,
.answer-button:focus-visible {
  border-color: rgba(12, 104, 100, 0.4);
  background: var(--soft-2);
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.answer-button.is-selected {
  border-color: var(--teal-deep);
  background: var(--white);
  box-shadow:
    0 0 0 4px rgba(47, 164, 158, 0.14),
    var(--shadow-soft);
  transform: translateX(4px);
}

.answer-button.is-selected::before {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  box-shadow: inset 0 0 0 5px var(--white);
}

.quiz-footer {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.secondary-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.secondary-button:hover:not(:disabled) {
  background: rgba(11, 21, 23, 0.04);
  border-color: rgba(11, 21, 23, 0.32);
}

.secondary-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#selection-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.is-hidden { display: none; }

/* ---------- Result ---------- */
.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.result-copy,
.planner-card { padding: clamp(32px, 4vw, 52px); }

.result-copy {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 500px at 110% -20%, rgba(47, 164, 158, 0.32), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(8, 71, 66, 0.5), transparent 60%),
    linear-gradient(180deg, #0e1d20, #050c0d);
  color: var(--white);
  box-shadow: var(--shadow-deep);
}

.result-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(800px 600px at 100% 0%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(800px 600px at 100% 0%, #000 30%, transparent 70%);
}

.result-copy > * { position: relative; z-index: 1; }

.result-copy .eyebrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #b0d8d4;
}

.result-copy h2 {
  color: var(--white);
  font-size: clamp(40px, 5.2vw, 72px);
}

.result-copy h2 em { color: #62cfc8; }

.result-copy p { color: rgba(255, 255, 255, 0.78); }

#result-summary {
  margin: 26px 0 0;
  font-size: 19px;
  line-height: 1.6;
}

.result-stats {
  display: grid;
  margin: 36px 0 32px;
}

.result-stats div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}

.result-stats div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-stats strong {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-stats span {
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: right;
}

.product-button {
  width: 100%;
  margin-top: 12px;
  color: var(--ink);
  background: var(--white);
}

.product-button span {
  background: rgba(11, 21, 23, 0.08);
  color: var(--ink);
}

.product-button:hover {
  background: #f3f5f1;
  color: var(--ink);
}

.result-foot {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.planner-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.planner-header h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1;
}

.planner-header > span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-deep);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.planner-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.planner-days li {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(243, 245, 241, 0.6);
  transition: border-color 240ms var(--ease), background 240ms var(--ease), transform 280ms var(--spring);
}

.planner-days li:hover {
  border-color: rgba(12, 104, 100, 0.3);
  background: rgba(220, 235, 232, 0.55);
  transform: translateY(-2px);
}

.planner-days strong {
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.planner-days span {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

/* ---------- Plans ---------- */
.plans-section { padding: clamp(32px, 4vw, 52px); }

.plans-heading { max-width: 720px; }

.plans-heading h2 {
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.04em;
}

.plans-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: clamp(12px, 1.6vw, 18px);
  margin-top: clamp(28px, 4vw, 44px);
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  transition: transform 280ms var(--spring), border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 104, 100, 0.3);
  box-shadow: var(--shadow-card);
}

.plan-card.featured {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(47, 164, 158, 0.3), transparent 60%),
    linear-gradient(180deg, #0e1d20, #050c0d);
  border-color: transparent;
  transform: translateY(-12px);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.plan-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(500px 400px at 100% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(500px 400px at 100% 0%, #000 20%, transparent 70%);
}

.plan-card.featured > * { position: relative; z-index: 1; }

.plan-card.featured:hover { transform: translateY(-14px); }

.plan-card.selected {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.plan-kicker {
  margin: 0;
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured .plan-kicker { color: #62cfc8; }

.plan-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.plan-card p:not(.plan-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.featured p:not(.plan-kicker) { color: rgba(255, 255, 255, 0.78); }

.plan-list {
  display: grid;
  gap: 10px;
  margin: 4px 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.featured .plan-list { border-top-color: rgba(255, 255, 255, 0.1); }

.plan-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep);
  transform: rotate(-45deg);
}

.featured .plan-list li { color: rgba(255, 255, 255, 0.85); }
.featured .plan-list li::before { border-color: #62cfc8; }

.plan-card button {
  width: 100%;
  margin-top: auto;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  background: var(--ink);
  box-shadow: 0 16px 32px -18px rgba(11, 21, 23, 0.6);
}

.featured button {
  color: var(--ink);
  background: var(--white);
}

.featured button:hover { background: #f3f5f1; }

.featured button span {
  background: rgba(11, 21, 23, 0.08);
  color: var(--ink);
}

/* ---------- Footer ---------- */
.site-footer {
  width: min(1180px, calc(100% - 36px));
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 0 48px;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: clamp(28px, 3.6vw, 48px);
  }

  .hero-bullets { gap: 8px 18px; }

  .planner-bottle { width: min(82%, 300px); }

  .vertical-note { right: -6px; bottom: 48px; }

  .result-grid { grid-template-columns: 1fr; }

  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plan-card.featured {
    grid-column: 1 / -1;
    transform: none;
  }

  .plan-card.featured:hover { transform: translateY(-2px); }
}

@media (max-width: 860px) {
  html { font-size: 16px; }

  .topbar {
    top: 10px;
    grid-template-columns: 1fr auto;
    width: min(100% - 16px, 600px);
    margin-top: 10px;
    padding: 6px 6px 6px 16px;
  }

  .nav-links { display: none; }

  .topbar-cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100% - 20px, 600px);
    min-height: auto;
    padding: 32px 0 48px;
  }

  .hero h1 { font-size: clamp(40px, 11.5vw, 64px); }
  .hero-text { font-size: 17px; margin-top: 22px; }
  .hero-button { width: 100%; min-height: 60px; font-size: 17px; }
  .hero-actions {
    gap: 18px;
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
  }

  .trust-note {
    max-width: none;
    padding-left: 16px;
    font-size: 14px;
  }

  .hero-bullets {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
  }

  .hero-visual { min-height: 420px; }
  .soft-orb { width: min(86vw, 360px); }
  .planner-bottle { width: min(72%, 280px); }

  .bottle-body {
    min-height: 320px;
    border-radius: 32px;
    padding: 32px 28px 28px;
  }

  .bottle-cap { height: 40px; }
  .bottle-title { font-size: 50px; }

  .vertical-note { right: 4px; bottom: 38px; }

  .quiz-section,
  .result-section,
  .plans-section {
    width: min(100% - 20px, 600px);
    padding-bottom: 56px;
  }

  #quiz-card, #result, #plans { scroll-margin-top: 100px; }

  .quiz-card {
    border-radius: 22px;
    padding: clamp(20px, 5vw, 32px);
  }

  .quiz-meta,
  .quiz-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .quiz-card h2 { font-size: clamp(26px, 7.2vw, 34px); }
  #question-help { font-size: 16px; margin-bottom: 24px; }

  .answer-button {
    min-height: 76px;
    padding: 18px 20px;
    font-size: 16px;
    gap: 14px;
  }

  .answer-button::before { width: 20px; height: 20px; }

  .secondary-button { width: 100%; }

  .result-grid,
  .plans-grid { grid-template-columns: 1fr; }
  .result-grid { gap: 14px; }

  .plan-card {
    padding: 28px 24px 22px;
    border-radius: 22px;
  }

  .plan-card.featured {
    grid-column: auto;
    transform: none;
  }
  .plan-card.featured:hover { transform: translateY(-2px); }

  .result-copy,
  .planner-card,
  .plans-section { border-radius: 22px; }

  .result-copy,
  .planner-card { padding: clamp(24px, 5.5vw, 36px); }

  .plans-section { padding: clamp(24px, 5vw, 36px); }

  .plans-heading h2 { font-size: clamp(32px, 8.4vw, 44px); }
  .plans-heading p:not(.eyebrow) { font-size: 17px; }

  .result-copy h2 { font-size: clamp(34px, 9vw, 48px); }
  #result-summary { font-size: 17px; }

  .planner-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .planner-days { grid-template-columns: 1fr; }
  .planner-days li { min-height: auto; }

  .result-stats div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .result-stats span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Formula Care inspired quiz ---------- */
.formula-quiz-page {
  color: #111827;
  background: #ffffff;
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

.formula-quiz-page::before,
.formula-quiz-page::after {
  display: none;
}

.formula-quiz-page .page-secondary main,
.formula-quiz-page main {
  min-height: auto;
  padding-top: 0;
}

.formula-quiz-page .quiz-section {
  width: min(100%, 430px);
  padding: 28px 24px 20px;
}

.formula-quiz-page .quiz-card {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.formula-quiz-page .quiz-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  margin: 0 auto 18px;
  padding: 4px 16px;
  border-radius: 24px;
  background: #f5f5f4;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.formula-quiz-page .quiz-card {
  text-align: center;
}

.formula-quiz-page .quiz-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.formula-quiz-page .quiz-card.is-age-step .quiz-meta,
.formula-quiz-page .quiz-card.is-age-step .progress-track {
  display: none;
}

.formula-quiz-page .quiz-card.is-age-step .quiz-pill {
  margin-bottom: 16px;
}

.formula-quiz-page .quiz-meta span:first-child::after {
  content: "•";
  margin-left: 8px;
  color: #d1d5db;
}

.formula-quiz-page .progress-track {
  width: 100%;
  height: 6px;
  margin: 0 0 24px;
  border-radius: 999px;
  background: #f3f4f6;
}

.formula-quiz-page .progress-bar {
  background: #fb3b69;
  transition: width 280ms ease;
}

.formula-quiz-page .progress-bar::after {
  display: none;
}

.formula-quiz-page .quiz-card h2 {
  max-width: 100%;
  margin: 0 auto;
  color: #111827;
  font-family: inherit;
  font-size: clamp(29px, 7.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-align: center;
}

.formula-quiz-page #question-help {
  max-width: 330px;
  margin: 14px auto 26px;
  color: #111827;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.formula-quiz-page .answers {
  display: grid;
  gap: 12px;
  text-align: left;
}

.formula-quiz-page .age-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 14px;
}

.formula-quiz-page .age-card {
  position: relative;
  display: grid;
  min-height: 194px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #f3f4f6;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.formula-quiz-page .age-card img {
  width: 100%;
  height: 154px;
  object-fit: cover;
  object-position: center top;
  background: #f3f4f6;
}

.formula-quiz-page .age-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  background: #fb3b69;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.formula-quiz-page .age-card-label span:last-child,
.formula-quiz-page .age-secondary span:last-child {
  color: rgba(255, 255, 255, 0.55);
  font-size: 30px;
  font-weight: 400;
  transform: translateY(-1px);
}

.formula-quiz-page .age-card:hover,
.formula-quiz-page .age-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(251, 59, 105, 0.18);
  outline: none;
}

.formula-quiz-page .age-secondary {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  color: #111827;
  background: transparent;
  font-size: 17px;
  font-weight: 700;
}

.formula-quiz-page .age-secondary span:last-child {
  color: #c9c9c9;
}

.formula-quiz-page .answer-button {
  min-height: 62px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.04);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: left;
}

.formula-quiz-page .answer-button::before {
  width: 18px;
  height: 18px;
  border-color: #d1d5db;
}

.formula-quiz-page .answer-button:hover,
.formula-quiz-page .answer-button:focus-visible,
.formula-quiz-page .answer-button.is-selected {
  border-color: #fb3b69;
  background: #fff7f9;
  box-shadow: 0 12px 24px rgba(251, 59, 105, 0.12);
  transform: translateY(-1px);
}

.formula-quiz-page .answer-button.is-selected::before {
  border-color: #fb3b69;
  background: #fb3b69;
}

.formula-quiz-page .quiz-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

.formula-quiz-page .secondary-button {
  width: auto;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  color: #111827;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
}

.formula-quiz-page .secondary-button:disabled {
  display: none;
}

.formula-quiz-page #selection-note {
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
  text-align: center;
}

.formula-quiz-page .site-footer {
  width: min(100% - 48px, 382px);
  max-width: 382px;
  padding: 0 0 26px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 680px) {
  .formula-quiz-page .quiz-section {
    padding-top: 34px;
  }

  .formula-quiz-page .quiz-card {
    max-width: 390px;
  }
}

@media (max-width: 380px) {
  .formula-quiz-page .quiz-section {
    padding-inline: 18px;
  }

  .formula-quiz-page .age-grid {
    gap: 16px 12px;
  }

  .formula-quiz-page .age-card {
    min-height: 184px;
  }

  .formula-quiz-page .age-card img {
    height: 142px;
  }

  .formula-quiz-page .age-card-label {
    min-height: 50px;
    font-size: 16px;
  }
}

.full-funnel {
  min-height: 100dvh;
  background: #ffffff;
}

.funnel-shell {
  display: grid;
  width: 100%;
  min-height: 100dvh;
  place-items: start center;
  padding: 28px 24px;
}

.funnel-card {
  width: min(100%, 382px);
  margin: 0 auto;
}

.funnel-progress {
  width: 100%;
  height: 6px;
  margin: 0 0 26px;
  overflow: hidden;
  border-radius: 999px;
  background: #f3f4f6;
}

.funnel-progress > div {
  width: 2%;
  height: 100%;
  border-radius: inherit;
  background: #fb3b69;
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.funnel-screen {
  text-align: center;
}

.funnel-screen.is-entering {
  animation: funnelEnter 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes funnelEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.funnel-screen h1 {
  margin: 0;
  color: #111827;
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 7.4vw, 34px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.13;
}

.funnel-subtitle {
  max-width: 330px;
  margin: 13px auto 28px;
  color: #111827;
  font-size: 17px;
  line-height: 1.45;
}

.funnel-count {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.full-funnel .quiz-pill {
  display: flex;
  width: max-content;
}

.full-funnel .age-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 14px;
}

.full-funnel .answers {
  display: grid;
  gap: 12px;
  text-align: left;
}

.funnel-legal {
  margin: 24px auto 0;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.funnel-nav {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: 18px;
}

.funnel-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: #fb3b69;
  box-shadow: 0 14px 26px rgba(251, 59, 105, 0.22);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.funnel-next:hover,
.funnel-next:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(251, 59, 105, 0.28);
  outline: none;
}

.funnel-next.wide,
.funnel-input {
  width: 100%;
}

.funnel-input {
  min-height: 62px;
  margin: 0 0 14px;
  padding: 0 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.04);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.funnel-input:focus {
  border-color: #fb3b69;
  box-shadow: 0 0 0 4px rgba(251, 59, 105, 0.12);
  outline: none;
}

.loading-wrap {
  display: grid;
  justify-items: center;
  padding-top: 42px;
}

.loading-ring {
  width: 94px;
  height: 94px;
  margin-bottom: 28px;
  border: 10px solid #ffe1e8;
  border-top-color: #fb3b69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-steps {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  text-align: left;
}

.loading-steps span,
.result-points div {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.04);
  color: #111827;
  font-size: 15px;
  font-weight: 750;
}

.result-mini {
  display: grid;
  gap: 18px;
  text-align: left;
}

.result-badge {
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fb3b69;
  background: #fff0f4;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-mini h1 span {
  color: #fb3b69;
}

.result-mini .funnel-subtitle {
  margin: 0;
  text-align: left;
}

.result-points {
  display: grid;
  gap: 12px;
}

.result-points div {
  display: grid;
  gap: 4px;
}

.result-points strong {
  color: #111827;
  font-size: 18px;
}

.result-points span {
  color: #6b7280;
  font-size: 14px;
  font-weight: 650;
}

.plan-ready {
  text-align: center;
}

.plan-ready h1 {
  max-width: 360px;
  margin-inline: auto;
  font-size: 25px;
}

.plan-ready h1 span {
  color: #10b981;
}

.weight-chart {
  margin: 16px auto 18px;
}

.weight-chart svg {
  width: min(100%, 330px);
  height: auto;
  overflow: visible;
}

.weight-chart line {
  stroke: #e5e7eb;
  stroke-dasharray: 2 4;
}

.weight-chart path {
  fill: none;
  stroke: #fbbf24;
  stroke-width: 3;
}

.weight-chart text {
  fill: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.weight-chart .dot {
  stroke: #fff;
  stroke-width: 4;
}

.weight-chart .pink { fill: #fb3b69; }
.weight-chart .amber { fill: #fbbf24; }
.weight-chart .green { fill: #10b981; filter: drop-shadow(0 0 8px rgba(16, 185, 129, .45)); }
.weight-chart .goal { fill: #fff; font-size: 11px; font-weight: 800; }

.green-benefits {
  display: grid;
  gap: 10px;
  margin: 12px 0 22px;
  padding: 16px;
  border-radius: 20px;
  background: #dcfce7;
  text-align: left;
}

.green-benefits p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
}

.green-benefits p > span:first-child {
  flex: 0 0 24px;
}

.plan-ready h2 {
  margin: 18px 0 14px;
  color: #111827;
  font-size: 24px;
  line-height: 1.15;
  text-align: left;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-bottom: 18px;
}

.metric-grid div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  color: #111827;
  font-size: 12px;
  text-align: left;
}

.metric-grid i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.metric-grid i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--c);
}

.feel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feel-grid article {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 10px;
  background: #111827;
}

.feel-grid img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.feel-grid article::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.feel-grid strong {
  position: absolute;
  right: 12px;
  bottom: 14px;
  left: 12px;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  line-height: 1.08;
  text-align: center;
}

.result-unlock {
  min-width: 138px;
  margin: 28px auto 0;
  border-radius: 999px;
}

.scratch-screen {
  text-align: center;
}

.scratch-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  width: min(100%, 260px);
  margin: 0 auto 22px;
}

.scratch-steps span {
  width: 64px;
  height: 8px;
  border-radius: 999px;
  background: #fb3b69;
}

.scratch-steps .muted {
  background: #e5e7eb;
}

.scratch-screen h1 {
  font-size: 25px;
}

.scratch-card {
  position: relative;
  width: 280px;
  height: 180px;
  margin: 18px auto 24px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, .12);
}

.coupon-reveal,
#scratch-canvas {
  position: absolute;
  inset: 0;
}

.coupon-reveal {
  display: grid;
  place-content: center;
  gap: 4px;
  color: #111827;
  background: linear-gradient(135deg, #fff7ed, #ffe4e6);
  text-align: center;
}

.coupon-reveal span {
  font-size: 15px;
  font-weight: 800;
}

.coupon-reveal strong {
  color: #fb3b69;
  font-size: 44px;
  line-height: 1;
}

.coupon-reveal small {
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
}

#scratch-canvas {
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
  transition: opacity 280ms ease;
}

#scratch-canvas.is-revealed {
  opacity: .35;
}

.scratch-cta[hidden] {
  display: none;
}

/* ---------- Offer page ---------- */
.offer-page {
  margin: 0;
  min-height: 100dvh;
  color: #020617;
  background: linear-gradient(#ffe4e6 0 4px, #fff 4px);
  font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.offer-page::before,
.offer-page::after {
  display: none;
}

.offer-shell {
  width: min(100% - 28px, 560px);
  margin: 0 auto;
  padding: 24px 0 42px;
}

.before-after-card {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 16px 16px 0;
  border-radius: 8px;
  background: #f5f5f5;
}

.compare-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.compare-tabs span {
  padding: 12px 10px;
  color: #020617;
  font-size: 12px;
  font-weight: 800;
}

.compare-tabs span + span {
  color: #fb3b69;
  border-left: 1px solid #eef2f7;
}

.compare-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
  padding-top: 14px;
}

.compare-images img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center top;
}

.body-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 360px);
  margin: 10px auto 20px;
  border-bottom: 1px solid #eef2f7;
}

.body-stats div {
  display: grid;
  gap: 4px;
  padding: 0 18px 14px;
}

.body-stats div + div {
  border-left: 1px solid #eef2f7;
}

.body-stats small {
  color: #020617;
  font-size: 10px;
  font-weight: 700;
}

.body-stats strong {
  font-size: 13px;
  line-height: 1.1;
}

.bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 4px;
  margin-top: 6px;
}

.bars::before,
.bars::after {
  content: "";
}

.bars,
.bars::before,
.bars::after {
  border-radius: 999px;
  background: #d1d5db;
}

.bars.low {
  background: #fb3b69;
}

.bars.high,
.bars.high::before,
.bars.high::after {
  background: #10b981;
}

.purple-plan {
  width: min(100%, 390px);
  margin: 0 auto 26px;
  padding: 22px 28px 28px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #8b3cf6);
  text-align: center;
}

.email-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 11px;
  font-weight: 700;
}

.purple-plan h1 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.2;
}

.purple-plan ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.purple-plan li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  font-weight: 800;
}

.purple-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #7c3aed;
  background: #fff;
  font-size: 11px;
}

.pricing-offer {
  width: min(100%, 360px);
  margin: 0 auto;
}

.pricing-offer h2 {
  margin: 0 0 16px;
  font-size: 20px;
  text-align: center;
}

.offer-plans {
  display: grid;
  gap: 10px;
}

.offer-plan {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #f8fafc;
  cursor: pointer;
}

.offer-plan.selected {
  border-color: #fb3b69;
  background: #fff;
}

.offer-plan input {
  width: 16px;
  height: 16px;
  accent-color: #fb3b69;
}

.offer-plan strong {
  display: block;
  font-size: 15px;
}

.offer-plan small {
  display: block;
  color: #8b97a7;
  font-size: 12px;
}

.offer-plan b {
  color: #020617;
  font-size: 15px;
  text-align: right;
}

.offer-plan b small {
  margin-top: 4px;
  font-weight: 500;
}

.offer-plan em {
  position: absolute;
  bottom: -18px;
  left: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  color: #fff;
  background: #fb923c;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-plan.selected + .offer-plan {
  margin-top: 8px;
}

.offer-cta {
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #fb3b69, #fbbf24);
  font-size: 14px;
  font-weight: 900;
}

.offer-note {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 380px) {
  .funnel-shell {
    padding-inline: 18px;
  }
}

/* ---------- Extended quiz funnel ---------- */
.info-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: #f3f4f6;
  font-size: 25px;
}

.macro-page,
.text-info-page,
.image-info-page,
.profile-page,
.bmi-page,
.goal-page,
.review-page,
.legs-change-page,
.prediction-page,
.processing-screen {
  text-align: left;
}

.macro-page h1,
.text-info-page h1,
.image-info-page h1 {
  text-align: left;
}

.macro-page h1 {
  font-size: clamp(25px, 6.8vw, 31px);
}

.macro-page h1::first-line,
.review-page h1 span,
.prediction-page h1 span {
  color: #10b981;
}

.macro-page p,
.text-info-page p,
.image-info-page p {
  margin: 18px 0 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.macro-wheel {
  position: relative;
  min-height: 380px;
  margin: 18px auto 34px;
}

.macro-circle {
  position: absolute;
  left: 50%;
  top: 86px;
  width: 286px;
  height: 286px;
  border-radius: 50%;
  background: conic-gradient(#fbbf24 0 25%, #fb3b69 25% 70%, #10b981 70% 100%);
  transform: translateX(-50%);
}

.macro-circle::after {
  content: "";
  position: absolute;
  inset: 84px;
  border-radius: 50%;
  background: #fff;
}

.macro-circle span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  font-size: 42px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 10px rgba(15, 23, 42, .18));
}

.macro-label {
  position: absolute;
  z-index: 2;
  font-size: 30px;
  line-height: .9;
}

.macro-label span {
  display: block;
  margin-top: 6px;
  font-size: 17px;
}

.macro-label.fats {
  top: 30px;
  left: 8px;
  color: #10b981;
}

.macro-label.proteins {
  top: 42px;
  right: 4px;
  color: #f5b400;
}

.macro-label.carbs {
  right: 14px;
  bottom: 8px;
  color: #fb3b69;
}

.profile-label {
  margin-bottom: 10px;
  color: #fb3b69;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.profile-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  width: min(100%, 318px);
  margin: 0 auto 28px;
}

.profile-steps span {
  position: relative;
  height: 6px;
  background: #eee9eb;
}

.profile-steps span::before {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.profile-steps span:first-child {
  background: #fb3b69;
  border-radius: 999px 0 0 999px;
}

.profile-steps span:first-child::before,
.profile-steps.is-full span::before {
  border-color: #fb3b69;
  background: #fb3b69;
}

.profile-steps.is-full span {
  background: #fb3b69;
}

.bmi-page {
  text-align: center;
}

.bmi-value {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 24px auto 16px;
}

.bmi-value strong {
  font-size: 39px;
  line-height: 1;
}

.bmi-value span {
  display: grid;
  color: #64748b;
  font-size: 14px;
  text-align: left;
}

.bmi-value b {
  color: #111827;
  font-size: 17px;
}

.bmi-scale {
  width: min(100%, 335px);
  margin: 0 auto 24px;
}

.bmi-labels,
.bmi-weights {
  display: flex;
  justify-content: space-between;
  color: #111827;
  font-size: 15px;
}

.bmi-bar {
  position: relative;
  height: 30px;
  margin: 8px 0 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, #60c4fa 0 8%, #10b981 8% 58%, #fcd34d 58% 84%, #ef4444 84% 100%);
}

.bmi-bar i {
  position: absolute;
  top: -4px;
  left: var(--marker);
  width: 0;
  height: 0;
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  border-top: 22px solid #111827;
  filter: drop-shadow(0 2px 0 #fff);
}

.bmi-page p {
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

.unit-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 24px 0;
  font-weight: 800;
}

.unit-toggle b {
  padding: 10px 22px;
  border-radius: 999px;
  color: #fff;
  background: #fb3b69;
}

.goal-input-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 18px;
  margin: 0 auto 28px;
}

.goal-input-wrap input {
  width: 150px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  color: #020617;
  background: transparent;
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  outline: none;
}

.goal-input-wrap span {
  color: #6b7280;
  font-size: 30px;
  font-weight: 800;
}

.goal-message {
  display: grid;
  gap: 6px;
  margin: 0 auto 22px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.goal-message strong {
  color: #10b981;
}

.goal-message.easy strong { color: #60a5fa; }
.goal-message.challenge strong,
.goal-message.sorry strong { color: #fb3b69; }

.text-info-page {
  min-height: calc(100dvh - 70px);
  display: flex;
  flex-direction: column;
}

.text-info-page .bottom-cta {
  margin-top: auto;
}

.image-options,
.zone-options {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.image-option,
.zone-option {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  min-height: 80px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  color: #020617;
  background: #f3f3f3;
  text-align: left;
}

.image-option img,
.zone-option img {
  width: 76px;
  height: 80px;
  object-fit: cover;
  object-position: center top;
}

.image-option strong,
.zone-option strong {
  padding: 0 18px;
  font-size: 16px;
}

.zone-option {
  grid-template-columns: 76px 1fr auto;
}

.zone-option span {
  padding-right: 18px;
  color: #9ca3af;
  font-size: 25px;
}

.zone-option.is-selected {
  color: #fff;
  background: #fb3b69;
}

.zone-option.is-selected span {
  color: #fff;
}

.profile-page h1 {
  margin-bottom: 24px;
  text-align: center;
}

.bmi-card,
.profile-summary,
.risk-card,
.green-note,
.review-card,
.mini-review,
.processing-review {
  border-radius: 14px;
  background: #f3f3f3;
}

.bmi-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 18px;
}

.bmi-card span,
.bmi-card p {
  color: #8b97a7;
}

.bmi-card strong,
.bmi-card b {
  color: #020617;
}

.bmi-mini {
  position: relative;
  grid-column: 1 / -1;
  height: 30px;
  border-radius: 4px;
  background: linear-gradient(90deg, #60c4fa 0 8%, #10b981 8% 58%, #fcd34d 58% 84%, #ef4444 84% 100%);
}

.bmi-mini i {
  position: absolute;
  top: 2px;
  left: var(--marker);
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  border-top: 22px solid #111827;
}

.bmi-card p {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 14px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 12px;
  align-items: end;
  margin-top: 24px;
  padding: 18px 16px 0;
  overflow: hidden;
}

.profile-summary p {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 3px 8px;
  margin: 0 0 14px;
}

.profile-summary p span {
  grid-row: 1 / 3;
  color: #6b7280;
}

.profile-summary small {
  color: #738092;
}

.profile-summary strong {
  font-size: 17px;
  font-weight: 500;
}

.profile-summary img {
  width: 132px;
  height: 250px;
  object-fit: cover;
  object-position: center top;
}

.risk-card {
  margin-top: 24px;
  padding: 18px;
  background: #fff8bd;
}

.risk-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.risk-card p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.45;
}

.risk-card hr {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, .12);
}

.green-note {
  margin: 18px 0 22px;
  padding: 16px;
  color: #064e3b;
  background: #cff7e4;
  font-size: 16px;
  line-height: 1.45;
}

.food-question > img,
.image-info-page > img {
  width: 100%;
  max-height: 280px;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
}

.image-info-page > img {
  max-height: none;
  margin: 22px 0;
}

.review-page h1 {
  text-align: center;
}

.review-card {
  margin: 26px auto;
  padding: 20px;
}

.stars {
  color: #fbbf24;
  font-size: 20px;
  letter-spacing: 2px;
}

.review-card h2 {
  margin: 10px 0 16px;
  font-size: 19px;
}

.review-card p {
  margin: 0 0 20px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

.review-card span,
.mini-review span {
  color: #64748b;
}

.legs-change-page {
  text-align: center;
}

.legs-change-page img {
  width: 100%;
  margin: 18px 0 0;
}

.weight-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  width: 88%;
  margin: -4px auto 22px;
  border-radius: 10px;
}

.weight-tags b {
  padding: 14px 8px;
  color: #fff;
  background: #9f3d4d;
  font-size: 17px;
}

.weight-tags b:nth-child(2) { background: #be123c; }
.weight-tags b:nth-child(3) { background: #fb3b69; }

.legs-change-page p {
  font-size: 18px;
  line-height: 1.45;
}

.legs-change-page small,
.prediction-page small {
  display: block;
  margin: 12px 0 20px;
  color: #94a3b8;
  font-size: 13px;
}

.prediction-page,
.processing-screen {
  text-align: center;
}

.prediction-page h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.prediction-page h1 {
  font-size: 23px;
}

.mini-review {
  margin: 18px auto;
  padding: 18px;
  text-align: left;
}

.mini-review b,
.mini-review i {
  display: block;
}

.mini-review i {
  margin: 6px 0 14px;
  color: #fbbf24;
  font-style: normal;
}

.mini-review p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.processing-rows {
  display: grid;
  gap: 24px;
  margin: 30px 0 48px;
  text-align: left;
}

.processing-rows div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.processing-rows i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #f3f4f6;
}

.processing-rows i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: #fb3b69;
  animation: processGrow 1.6s ease both;
}

@keyframes processGrow {
  from { width: 0; }
}

.processing-review {
  margin: 22px 0 28px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.processing-modal {
  margin-top: 14px;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
}

.processing-modal h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
}

.processing-modal button {
  display: block;
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  background: #f3f3f3;
  font-weight: 700;
  text-align: left;
  padding: 0 18px;
}

@media (max-width: 380px) {
  .macro-circle {
    width: 252px;
    height: 252px;
  }

  .macro-wheel {
    min-height: 340px;
  }

  .profile-summary {
    grid-template-columns: 1fr 108px;
  }

  .profile-summary img {
    width: 108px;
  }
}

/* ---------- Free 7-day planner page ---------- */
.free-planner-page {
  color: #07111f;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, .04), rgba(255, 255, 255, 0) 160px),
    linear-gradient(135deg, #ffffff 0%, #fff7fa 48%, #f5fbf7 100%);
}

.free-planner-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(7, 17, 31, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(#000, transparent 78%);
  -webkit-mask-image: linear-gradient(#000, transparent 78%);
}

.free-planner-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-height: 100dvh;
  place-items: start center;
  padding: 28px 18px 46px;
}

.free-planner-card {
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 0 0 10px;
}

.free-planner-hero {
  text-align: left;
}

.planner-ready-label {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fb3b69;
  background: #fff0f4;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.free-planner-hero h1 {
  margin: 0;
  color: #07111f;
  font-size: clamp(34px, 8.2vw, 43px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

.free-planner-hero h1 span {
  color: #10b981;
}

.free-planner-hero > p:not(.planner-ready-label) {
  margin: 18px 0 0;
  color: #111827;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.planner-score-card {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.planner-score-card div {
  display: grid;
  gap: 7px;
  min-height: 82px;
  padding: 18px 19px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)),
    linear-gradient(135deg, rgba(251,59,105,.1), rgba(16,185,129,.08));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 18px 42px rgba(15, 23, 42, .08);
}

.planner-score-card strong {
  color: #07111f;
  font-size: 20px;
  line-height: 1.1;
}

.planner-score-card span {
  color: #5b6678;
  font-size: 14px;
  font-weight: 750;
}

.planner-forecast {
  margin: 22px 0;
}

.planner-forecast h2,
.planner-section-heading h2 {
  margin: 0 0 16px;
  color: #07111f;
  font-size: 27px;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.mini-weight-chart {
  padding: 10px 0 4px;
}

.mini-weight-chart svg {
  width: 100%;
  height: auto;
}

.mini-weight-chart line {
  stroke: #e5e7eb;
  stroke-dasharray: 2 5;
}

.mini-weight-chart path {
  fill: none;
  stroke: #fbbf24;
  stroke-width: 4;
  stroke-linecap: round;
}

.mini-weight-chart .dot {
  stroke: #fff;
  stroke-width: 4;
}

.mini-weight-chart .pink { fill: #fb3b69; }
.mini-weight-chart .amber { fill: #fbbf24; }
.mini-weight-chart .green { fill: #10b981; filter: drop-shadow(0 0 10px rgba(16, 185, 129, .45)); }

.mini-weight-chart text {
  fill: #9ca3af;
  font-size: 13px;
  font-weight: 800;
}

.planner-benefits {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 19px;
  border-radius: 20px;
  background: linear-gradient(135deg, #d9ffe8, #e9fff2);
  box-shadow: 0 18px 36px rgba(16, 185, 129, .12);
}

.planner-benefits p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #07111f;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.45;
}

.planner-benefits p > span:first-child {
  flex: 0 0 24px;
}

.seven-day-list {
  margin: 26px 0;
}

.planner-section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: #fb3b69;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seven-day-list ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: planner-day;
}

.seven-day-list li {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 90px;
  padding: 16px 18px;
  border: 1px solid #edf0f4;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    linear-gradient(135deg, rgba(251,59,105,.08), rgba(7,17,31,.02));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 16px 34px rgba(15, 23, 42, .075);
}

.seven-day-list li::before {
  counter-increment: planner-day;
  content: counter(planner-day);
  position: absolute;
  left: 56px;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #fb3b69;
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(251, 59, 105, .26);
}

.seven-day-list b {
  display: grid;
  min-height: 58px;
  place-items: center start;
  padding-left: 13px;
  border-radius: 12px;
  color: #fb3b69;
  background: #fff0f4;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-align: left;
}

.seven-day-list span {
  color: #111827;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.42;
  letter-spacing: -.005em;
}

.free-planner-proof {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.95)),
    #f7f7f8;
  box-shadow: 0 20px 44px rgba(15, 23, 42, .08);
  text-align: center;
}

.free-planner-proof p {
  margin: 10px 0 14px;
  color: #111827;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.free-planner-proof strong {
  color: #6b7280;
  font-size: 14px;
}

.free-planner-actions {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0 0 8px;
  background: transparent;
}

.free-planner-actions .funnel-next {
  border-radius: 999px;
  min-height: 58px;
  font-size: 18px;
  letter-spacing: -.01em;
  box-shadow: 0 24px 42px rgba(251, 59, 105, .28);
}

@media (max-width: 380px) {
  .seven-day-list li {
    grid-template-columns: 68px 1fr;
    padding-inline: 12px;
  }

  .seven-day-list li::before {
    left: 50px;
  }
}

/* ===================================================================
   LIFY — Story / Chat / Reviews sections (added)
   =================================================================== */

/* ---------- Story (scroll-revealed text) ---------- */
.story-section {
  width: min(1080px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
}

.story-lead {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.reveal-word {
  display: inline;
  color: rgba(11, 21, 23, 0.16);
  transition: color 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-lead.is-revealed .reveal-word {
  color: var(--ink);
}

/* Accent the closing thought */
.story-lead .reveal-word:nth-last-child(-n+8) {
  color: rgba(11, 21, 23, 0.16);
}

.story-lead.is-revealed .reveal-word:nth-last-child(-n+8) {
  color: var(--teal-deep);
}

/* ---------- Chat section ---------- */
.chat-section {
  position: relative;
  width: min(820px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
}

.chat-head {
  margin-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
}

.chat-head h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.chat-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
  letter-spacing: -0.025em;
}

.chat-head .eyebrow {
  margin: 0 auto;
}

.chat-stream {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  max-width: 86%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-row.is-in {
  opacity: 1;
  transform: translateY(0);
}

.chat-row.right {
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat-row.full {
  max-width: 100%;
  align-self: stretch;
}

.chat-avatar {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18),
              0 8px 18px -8px rgba(11, 21, 23, 0.5);
}

.avatar-l {
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, var(--teal-deep));
}

.avatar-m {
  background: radial-gradient(120% 120% at 30% 20%, #f5cda1, #b07a3e);
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
  box-shadow: 0 18px 40px -28px rgba(11, 21, 23, 0.32);
}

.chat-row.left .chat-bubble {
  border-bottom-left-radius: 8px;
}

.chat-row.right .chat-bubble {
  border-bottom-right-radius: 8px;
  background: var(--ink);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 18px 40px -22px rgba(11, 21, 23, 0.6);
}

/* In-chat product card */
.chat-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 22px 22px 18px;
  border-radius: 24px;
  background:
    radial-gradient(700px 360px at 110% -10%, rgba(47, 164, 158, 0.32), transparent 60%),
    linear-gradient(180deg, #0e1d20, #050c0d);
  color: var(--white);
  border-bottom-left-radius: 10px;
  box-shadow: 0 30px 70px -34px rgba(8, 71, 66, 0.65);
}

.chat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(500px 360px at 100% 0%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(500px 360px at 100% 0%, #000 30%, transparent 70%);
}

.chat-card > * { position: relative; z-index: 1; }

.chat-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-card-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, var(--teal-deep));
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.chat-card-head strong {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.chat-card-head small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-card-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.chat-card-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

.chat-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid #62cfc8;
  border-bottom: 2px solid #62cfc8;
  transform: rotate(-45deg);
}

.chat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-card-cta:hover {
  transform: translateY(-1px);
}

.chat-card-cta span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(11, 21, 23, 0.08);
  font-size: 12px;
  transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-card-cta:hover span {
  transform: translateX(3px);
}

/* Quick replies row */
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  margin-left: auto;
  max-width: 86%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-quick.is-in {
  opacity: 1;
  transform: translateY(0);
}

.chat-quick a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), background 200ms ease;
}

.chat-quick a:hover {
  transform: translateY(-1px);
  background: #15252a;
}

.chat-quick a span {
  font-size: 12px;
  opacity: 0.7;
}

/* ---------- Reviews carousel ---------- */
.reviews-section {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0 clamp(72px, 10vw, 120px);
}

.section-head {
  width: min(1080px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}

.section-head .eyebrow { margin: 0 auto; }

.section-head h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.section-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
  letter-spacing: -0.025em;
}

.reviews-viewport {
  position: relative;
  overflow-x: auto;
  padding: 8px clamp(24px, 5vw, 80px) 32px;
  cursor: grab;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.reviews-viewport::-webkit-scrollbar { display: none; }
.reviews-viewport.is-dragging { cursor: grabbing; user-select: none; }

.reviews-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  width: max-content;
  padding: 0 4px;
}

.review-card {
  scroll-snap-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: clamp(280px, 30vw, 360px);
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 21, 23, 0.04), 0 30px 60px -32px rgba(11, 21, 23, 0.18);
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 240ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(11, 21, 23, 0.04), 0 40px 80px -36px rgba(12, 104, 100, 0.3);
}

.review-stars {
  color: var(--teal-deep);
  font-size: 18px;
  letter-spacing: 4px;
}

.review-card small {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card p {
  flex: 1;
  margin: 4px 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--soft), var(--teal-fog));
  color: var(--teal-deep);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  text-align: center;
  text-indent: 0;
  padding: 9px 0 0 0;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.review-author span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.005em;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 4vw, 40px);
}

/* ---------- Chat / Reviews responsive ---------- */
@media (max-width: 640px) {
  .chat-row { max-width: 92%; }
  .chat-bubble { font-size: 15px; padding: 12px 16px; border-radius: 20px; }
  .chat-avatar { width: 34px; height: 34px; font-size: 16px; }
  .chat-card { padding: 20px 18px 16px; border-radius: 22px; }
  .review-card { width: clamp(240px, 78vw, 300px); padding: 22px 20px 20px; }
  .review-card p { font-size: 15px; }
}

/* ===================================================================
   LIFY — Device, Features, Anti-grid, Humans cluster (added)
   =================================================================== */

/* ---------- Device mockup ---------- */
.device-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: min(1180px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0;
}

.device-copy h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.device-copy h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
  letter-spacing: -0.025em;
}

.device-copy > p {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
}

.device-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.device-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.device-list li span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

/* Phone frame */
.device-frame {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(160deg, #1a2628, #050c0d);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 4px #0a1416,
    0 60px 120px -40px rgba(8, 71, 66, 0.6),
    0 30px 60px -30px rgba(11, 21, 23, 0.5);
  animation: deviceFloat 6s ease-in-out infinite;
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
}

.device-frame::before {
  content: "";
  position: absolute;
  top: 18px; bottom: 18px;
  left: -3px;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 60px 0 rgba(255, 255, 255, 0.08);
}

.device-frame::after {
  content: "";
  position: absolute;
  top: 80px; bottom: 80px;
  right: -3px;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.device-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(180deg, #f3f5f1, #e6f0ed);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 32px), transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 32px), transparent 100%);
}

.device-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 96px;
  height: 26px;
  border-radius: 999px;
  background: #050c0d;
}

.device-content-track {
  display: flex;
  flex-direction: column;
  animation: deviceScroll 22s linear infinite;
}

@keyframes deviceScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.device-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 50px 18px 24px;
}

.device-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.device-brand {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, var(--teal-deep));
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
}

.device-greeting {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 4px 0;
}

.device-greeting small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.005em;
}

.device-greeting strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.device-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 24px -16px rgba(11, 21, 23, 0.18);
}

.device-progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--soft);
  position: relative;
  overflow: hidden;
}

.device-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 43%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
}

.device-progress span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.device-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 24px -18px rgba(11, 21, 23, 0.12);
}

.device-task.done .device-check {
  background: var(--teal-deep);
  color: var(--white);
}

.device-task.done strong {
  text-decoration: line-through;
  color: var(--muted);
}

.device-check {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 700;
}

.device-check.empty {
  background: transparent;
  border: 2px dashed var(--line-strong);
}

.device-task strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.device-task small {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
}

.device-card {
  padding: 14px;
  border-radius: 14px;
  background:
    radial-gradient(400px 200px at 110% 0%, rgba(47, 164, 158, 0.4), transparent 60%),
    linear-gradient(180deg, #0e1d20, #050c0d);
  color: var(--white);
}

.device-card small {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.device-card p {
  margin: 6px 0 0;
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.device-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.device-stat-row > div {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 24px -18px rgba(11, 21, 23, 0.12);
}

.device-stat-row strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.device-stat-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Features ---------- */
.features-section {
  width: min(1180px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(32px, 4vw, 48px);
}

.feature-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 21, 23, 0.04), 0 30px 60px -32px rgba(11, 21, 23, 0.18);
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 240ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(11, 21, 23, 0.04), 0 50px 100px -40px rgba(12, 104, 100, 0.32);
}

.feature-blob {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 18px 24px rgba(12, 104, 100, 0.22));
  animation: blobFloat 7s ease-in-out infinite;
}

.feature-blob svg {
  width: 100%;
  height: 100%;
}

.feature-blob-2 { animation-delay: -1.5s; }
.feature-blob-3 { animation-delay: -3s; }
.feature-blob-4 { animation-delay: -4.5s; }

@keyframes blobFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

.feature-card h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* ---------- Anti-grid ---------- */
.anti-section {
  width: min(1180px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0;
}

.anti-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 21, 23, 0.04), 0 30px 60px -32px rgba(11, 21, 23, 0.18);
}

.anti-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: line-through;
  text-decoration-color: rgba(11, 21, 23, 0.2);
  transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1), background 240ms ease;
}

.anti-tile:hover {
  transform: scale(1.03);
  background: var(--soft);
}

.anti-x {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(11, 21, 23, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.anti-conclusion {
  margin-top: clamp(28px, 4vw, 44px);
  text-align: center;
}

.anti-conclusion p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* ---------- Humans cluster ---------- */
.humans-section {
  width: min(1180px, calc(100% - clamp(24px, 4vw, 40px)));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) 0;
}

.humans-cluster {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.humans-center {
  position: relative;
  z-index: 2;
  max-width: 540px;
  text-align: center;
}

.humans-center h2 {
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.humans-center h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
  letter-spacing: -0.025em;
}

.humans-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.humans-orb {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.4),
    0 24px 50px -20px rgba(12, 104, 100, 0.5);
  animation: humanFloat 8s ease-in-out infinite;
}

.humans-orb-1 {
  top: 4%; left: 6%;
  background: radial-gradient(120% 120% at 30% 20%, #b07a3e, #5c3e1b);
  animation-delay: 0s;
}
.humans-orb-2 {
  top: 14%; right: 8%;
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, #084742);
  width: 90px; height: 90px; font-size: 36px;
  animation-delay: -1s;
}
.humans-orb-3 {
  top: 38%; left: 2%;
  background: radial-gradient(120% 120% at 30% 20%, #e8c2a0, #9c6b3f);
  animation-delay: -2s;
}
.humans-orb-4 {
  bottom: 8%; left: 14%;
  background: radial-gradient(120% 120% at 30% 20%, #62cfc8, #0c6864);
  width: 64px; height: 64px; font-size: 26px;
  animation-delay: -3s;
}
.humans-orb-5 {
  top: 6%; left: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #d6a36b, #7a4a1f);
  width: 60px; height: 60px; font-size: 24px;
  animation-delay: -4s;
}
.humans-orb-6 {
  bottom: 12%; right: 4%;
  background: radial-gradient(120% 120% at 30% 20%, #9be0db, #0c6864);
  width: 84px; height: 84px; font-size: 34px;
  animation-delay: -5s;
}
.humans-orb-7 {
  top: 44%; right: 2%;
  background: radial-gradient(120% 120% at 30% 20%, #f0d4b0, #b08458);
  width: 70px; height: 70px;
  animation-delay: -6s;
}
.humans-orb-8 {
  bottom: 4%; left: 46%;
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, #0c6864);
  width: 56px; height: 56px; font-size: 22px;
  animation-delay: -7s;
}

@keyframes humanFloat {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(6px, -10px) rotate(2deg); }
  50% { transform: translate(-4px, -6px) rotate(-1deg); }
  75% { transform: translate(8px, 4px) rotate(1deg); }
}

/* ---------- Responsive (new sections) ---------- */
@media (max-width: 960px) {
  .device-section { grid-template-columns: 1fr; }
  .device-frame { order: -1; width: min(280px, 70%); }
  .device-copy > p, .device-list { max-width: none; }

  .features-grid { grid-template-columns: 1fr; }
  .anti-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .humans-orb-1 { top: 2%; left: 4%; width: 60px; height: 60px; font-size: 24px; }
  .humans-orb-2 { top: 8%; right: 4%; width: 70px; height: 70px; font-size: 28px; }
  .humans-orb-3 { top: 30%; left: -2%; width: 56px; height: 56px; font-size: 22px; }
  .humans-orb-4 { bottom: 4%; left: 8%; width: 52px; height: 52px; font-size: 20px; }
  .humans-orb-5 { display: none; }
  .humans-orb-6 { bottom: 8%; right: 2%; width: 64px; height: 64px; font-size: 26px; }
  .humans-orb-7 { top: 38%; right: -2%; width: 56px; height: 56px; font-size: 22px; }
  .humans-orb-8 { display: none; }
}

@media (max-width: 540px) {
  .anti-grid { grid-template-columns: 1fr; }
  .anti-tile { padding: 14px; font-size: 13px; }
  .humans-cluster { min-height: 460px; }
  .humans-orb { width: 52px !important; height: 52px !important; font-size: 22px !important; }
  .humans-text { font-size: 15px; }
}

/* ===================================================================
   LIFY — Hero phone mockup + marquee reviews (added)
   =================================================================== */

/* ---------- Hero phone ---------- */
.hero-phone {
  position: relative;
  z-index: 2;
  width: min(82%, 320px);
  aspect-ratio: 9 / 19;
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(160deg, #1a2628, #050c0d);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 4px #0a1416,
    0 60px 120px -40px rgba(8, 71, 66, 0.6),
    0 30px 60px -30px rgba(11, 21, 23, 0.5);
  animation: heroPhoneFloat 7s ease-in-out infinite;
  transform: rotate(-2deg);
}

@keyframes heroPhoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(-0.5deg); }
}

.hero-phone::before {
  content: "";
  position: absolute;
  top: 18px; bottom: 18px;
  left: -3px;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 60px 0 rgba(255, 255, 255, 0.08);
}

.hero-phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 96px;
  height: 26px;
  border-radius: 999px;
  background: #050c0d;
}

.hero-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(180deg, #f3f5f1, #e6f0ed);
  mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.hero-phone-track {
  display: flex;
  flex-direction: column;
  animation: heroPhoneScroll 18s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes heroPhoneScroll {
  0%, 22% { transform: translateY(0); }
  33%, 55% { transform: translateY(-25%); }
  66%, 88% { transform: translateY(-50%); }
  100% { transform: translateY(-75%); }
}

.hero-phone-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 50px 18px 28px;
  flex-shrink: 0;
}

.hero-phone-page-dark {
  background:
    radial-gradient(500px 300px at 110% 0%, rgba(47, 164, 158, 0.4), transparent 60%),
    linear-gradient(180deg, #0e1d20, #050c0d);
  color: var(--white);
}

.hero-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.hero-phone-page-dark .hero-phone-status { color: var(--white); }

.hero-phone-brand {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, var(--teal-deep));
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 12px;
}

.hero-phone-eyebrow {
  margin: 4px 0 0;
  color: var(--teal-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-phone-eyebrow.light {
  color: #62cfc8;
}

.hero-phone-page h4 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hero-phone-page-dark h4 { color: var(--white); }

.hero-phone-page h4.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.hero-phone-page h4.serif em {
  color: var(--teal-deep);
}

.hero-phone-page-dark h4.serif em {
  color: #62cfc8;
}

.hero-phone-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.hero-phone-option .dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
}

.hero-phone-option.selected {
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 2px rgba(47, 164, 158, 0.14);
}

.hero-phone-option.selected .dot {
  border-color: var(--teal-deep);
  background: var(--teal-deep);
  box-shadow: inset 0 0 0 3px var(--white);
}

.hero-phone-progress {
  position: relative;
  height: 4px;
  margin: 6px 0;
  border-radius: 999px;
  background: rgba(11, 21, 23, 0.08);
  overflow: hidden;
}

.hero-phone-progress span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-deep));
}

.hero-phone-foot {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-phone-page-dark .hero-phone-foot {
  color: rgba(255, 255, 255, 0.5);
}

.hero-phone-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-phone-stat span {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-phone-stat strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-phone-cta {
  margin-top: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.01em;
}

.hero-phone-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 18px -14px rgba(11, 21, 23, 0.18);
}

.hero-phone-task.done .check {
  background: var(--teal-deep);
  color: var(--white);
}

.hero-phone-task.done strong {
  text-decoration: line-through;
  color: var(--muted);
}

.hero-phone-task .check {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
}

.hero-phone-task .check.empty {
  background: transparent;
  border: 1.5px dashed var(--line-strong);
}

.hero-phone-task strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero-phone-task small {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 10px;
}

/* ---------- Reviews marquee ---------- */
.reviews-track-marquee {
  width: max-content;
  animation: reviewsMarquee 60s linear infinite;
}

.reviews-viewport:hover .reviews-track-marquee,
.reviews-track-marquee:hover {
  animation-play-state: paused;
}

@keyframes reviewsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reviews-viewport {
  overflow: hidden;
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track-marquee,
  .hero-phone-track,
  .hero-phone,
  .device-frame,
  .humans-orb,
  .feature-blob {
    animation: none !important;
  }
}

@media (max-width: 860px) {
  .hero-phone {
    width: min(80%, 290px);
    padding: 10px;
    border-radius: 44px;
  }

  .hero-phone-screen {
    border-radius: 34px;
  }

  .hero-phone-media,
  .hero-phone-media-fallback {
    border-radius: 34px;
  }

  .hero-phone-overlay {
    padding: 12px 14px 22px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 20%, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
  }

  .hero-phone-notch {
    top: 10px;
    width: 84px;
    height: 22px;
  }

  .hero-phone-status-overlay {
    font-size: 11px;
    padding: 0 2px;
  }

  .hero-phone-status-overlay .hero-phone-brand {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .hero-phone-tagline {
    gap: 8px;
  }

  .hero-phone-tagline small {
    padding: 4px 10px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .hero-phone-tagline strong {
    font-size: 19px;
    line-height: 1.1;
  }
}

@media (max-width: 540px) {
  .hero-visual {
    min-height: 460px;
    margin-top: 12px;
  }

  .hero-phone {
    width: min(82%, 260px);
    padding: 9px;
    border-radius: 40px;
  }

  .hero-phone-screen,
  .hero-phone-media,
  .hero-phone-media-fallback,
  .hero-phone-overlay {
    border-radius: 31px;
  }

  .hero-phone-notch {
    top: 9px;
    width: 76px;
    height: 20px;
  }

  .hero-phone-overlay {
    padding: 10px 12px 18px;
  }

  .hero-phone-tagline strong {
    font-size: 17px;
  }

  .hero-phone-tagline small {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .hero-phone { width: min(86%, 240px); }
  .hero-phone-tagline strong { font-size: 16px; }
}

/* ---------- Hero phone media (video / image) ---------- */
.hero-phone-screen {
  background: #0a1416;
}

.hero-phone-media,
.hero-phone-media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 38px;
}

.hero-phone-media-fallback {
  z-index: 0;
  pointer-events: none;
}

.hero-phone-media {
  z-index: 1;
  background: #0a1416;
}

.hero-phone-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 18px 28px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 22%, transparent 65%, rgba(0, 0, 0, 0.6) 100%);
  border-radius: 38px;
}

.hero-phone-status-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-phone-status-overlay .hero-phone-brand {
  background: radial-gradient(120% 120% at 30% 20%, #1ec0b8, var(--teal-deep));
  box-shadow: 0 6px 14px -4px rgba(8, 71, 66, 0.7),
              inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-phone-tagline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white);
  text-align: left;
}

.hero-phone-tagline small {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-phone-tagline strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-phone-tagline strong em {
  font-weight: 500;
  color: #62cfc8;
  font-style: italic;
}

