@import url("https://fonts.googleapis.com/css2?family=Adamina&family=IBM+Plex+Mono:wght@400;500&family=Inter+Tight:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

/* ---- Design tokens (Luminal, darkroom) ---- */
:root {
  --font-display: "Inter Tight", "Inter", Helvetica, Arial, sans-serif;
  --font-ui: "Inter", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-wordmark: "Adamina", Georgia, serif;

  --radius-frame: 6px;
  --radius-panel: 14px;
  --radius-phone: 34px;

  --control-height: 52px;
  --target-min: 44px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Surfaces: a warm near-black, like a room lit only by a safelight */
  --bg: #0B0A09;
  --bg-1: #12110F;
  --bg-2: #1A1815;
  --line: #2A2723;
  --line-2: #3B372F;

  --text: #EFEAE0;
  --text-2: #B5AFA3;
  --text-3: #8E887B;

  --paper: #EFEAE0;
  --paper-hover: #FFFFFF;
  --ink: #0B0A09;

  --accent: #E0522C;
  --accent-text: #EE6A44;
  --accent-dim: rgba(224, 82, 44, 0.16);

  --ok: #8FD0A3;
  --destructive: #F08A7C;

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.05'/></svg>");
}

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

html { scroll-behavior: smooth; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 25px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

section[id] { scroll-margin-top: 72px; }

/* ---- Type ---- */
.mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}

h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.038em;
  margin: 22px 0 24px;
}
h1 em, .section-title em {
  font-style: normal;
  color: var(--text-3);
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.034em;
  max-width: 17em;
  margin: 18px 0 0;
}

.section-intro {
  max-width: 38em;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 28px;
}

p { color: var(--text-2); }

/* ---- Buttons ---- */
.btn-pill, .cta-btn, .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--target-min);
  padding: 0 24px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 160ms var(--ease), transform 120ms var(--ease);
}
.btn-pill:hover, .cta-btn:hover, .submit-btn:hover { background: var(--paper-hover); }
.btn-pill:active, .cta-btn:active, .submit-btn:active { transform: scale(0.98); }
.cta-btn, .submit-btn { min-height: var(--control-height); padding: 0 30px; font-size: 16px; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(11, 10, 9, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: 26px; }
.wordmark {
  font-family: var(--font-wordmark);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  padding: 10px 0;
  transition: color 160ms var(--ease);
}
.site-nav a:hover { color: var(--text); }
.btn-pill.nav-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 64px) clamp(16px, 4vw, 40px) clamp(56px, 7vw, 104px);
  isolation: isolate;
}
.hero-copy { max-width: 600px; }
.hero-copy p { font-size: 17px; line-height: 27px; margin-bottom: 14px; max-width: 34em; }
.hero-copy .hero-sub {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-copy .hero-sub em { font-style: normal; color: var(--accent-text); }

/* ---- Waitlist form ---- */
.success-state {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-panel);
  background: var(--bg-1);
}
.success-state.is-visible { display: flex; }
.success-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ok);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.success-state span.msg { color: var(--text); font-size: 16px; }

.waitlist-form {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}
.waitlist-form.is-visible { display: flex; }

.form-row { display: flex; gap: 10px; align-items: flex-end; }
.field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.field input {
  width: 100%;
  height: var(--control-height);
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input::placeholder { color: var(--text-3); }
.field input:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-dim); }

.submit-wrap { flex: none; }
.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(11, 10, 9, 0.25);
  border-top-color: var(--ink);
  animation: lum-spin 700ms linear infinite;
}
.submit-btn.is-working .spinner { display: inline-block; }
.submit-btn.is-working .btn-label { display: none; }
.submit-btn:disabled { cursor: default; opacity: 0.85; }
@keyframes lum-spin { to { transform: rotate(360deg); } }

.form-error { display: none; color: var(--destructive); font-size: 14px; line-height: 20px; }
.form-error.is-visible { display: inline; }
.no-spam { font-size: 13px; line-height: 20px; color: var(--text-3); }

/* ---- Viewfinder (hero photo) ---- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -14%;
  background: radial-gradient(closest-side, rgba(224, 82, 44, 0.14), transparent);
  pointer-events: none;
  z-index: -1;
}

.vf {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: 18px;
}
.vf-frame {
  position: relative;
  aspect-ratio: 146 / 182;
  border-radius: var(--radius-frame);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 90px -40px rgba(0, 0, 0, 0.9);
}
.vf-frame img { width: 100%; height: 100%; object-fit: cover; }
.vf-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}
.guide { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.vf-status {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(11, 10, 9, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chip i, .capture-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}

.vf-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}

.crop { position: absolute; width: 16px; height: 16px; border: 0 solid var(--text-3); }
.crop.tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop.tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.crop.bl { bottom: 36px; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.crop.br { bottom: 36px; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ---- Trust strip ---- */
.trust { border-block: 1px solid var(--line); background: var(--bg-1); }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.trust-item { padding: 36px 32px 38px 0; }
.trust-item + .trust-item { padding-left: 32px; border-left: 1px solid var(--line); }
.trust-item h2 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.02em;
  margin: 10px 0 8px;
}
.trust-item p { font-size: 15px; line-height: 23px; max-width: 30em; }

/* ---- Sections ---- */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.features { padding: clamp(72px, 9vw, 128px) 0 clamp(40px, 5vw, 72px); }
.how-it-works { padding: clamp(72px, 9vw, 128px) 0; }

/* ---- Feature rows ---- */
.row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.row-working { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.row-chapters { grid-template-columns: minmax(0, 1fr); }

.row-no { display: block; }
.row-copy h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
}
.row-copy p { font-size: 17px; line-height: 27px; max-width: 34em; }

.row-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.row-top .chip-list { justify-content: flex-end; margin-top: 0; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-list li {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 20px;
}

/* Photo frames */
.panel-label { display: block; margin-bottom: 16px; }
.frames { display: grid; gap: clamp(10px, 1.6vw, 20px); }
.frames-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.frame { position: relative; }
.ph {
  aspect-ratio: 146 / 182;
  border-radius: var(--radius-frame);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line-2);
}
.ph img, .capture-photo img, .compare-frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption, .frame > .mono { display: block; margin-top: 10px; }

.readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.readouts > div { padding: 14px 16px 0 0; }
.readouts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.readouts dt { margin-bottom: 4px; }
.readouts dd { font-size: 15px; line-height: 22px; color: var(--text); }
.readouts.compact { margin-top: 18px; }
.readouts.compact dd { font-size: 14px; }
.readouts dd.verdict { color: var(--accent-text); }

/* Compare slider */
.compare { width: 100%; max-width: 520px; margin: 0 auto; }
.compare-frame {
  position: relative;
  aspect-ratio: 146 / 182;
  border-radius: var(--radius-frame);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 90px -50px rgba(0, 0, 0, 0.9);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.compare-frame img { position: absolute; inset: 0; pointer-events: none; }
.compare-frame img.before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}
.compare-tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 10, 9, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
}
.compare-tag.left { left: 14px; }
.compare-tag.right { right: 14px; }
.compare-line {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 1.5px;
  margin-left: -0.75px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.compare-knob {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--split);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.compare-frame input[type="range"] {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.compare:focus-within .compare-knob { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.compare-hint { margin-top: 14px; text-align: center; }

/* Densitometer (skincare timing) */
.panel {
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--bg-1);
}
.densitometer { margin-top: 28px; max-width: 520px; }
.panel-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head .panel-label { margin: 0; }
.panel-value { color: var(--accent-text); }

.scale {
  position: relative;
  height: 34px;
  border-bottom: 1px solid var(--line-2);
  background:
    repeating-linear-gradient(to right, var(--line-2) 0 1px, transparent 1px 6.25%) bottom / 100% 12px no-repeat,
    repeating-linear-gradient(to right, var(--text-3) 0 1px, transparent 1px 25%) bottom / 100% 20px no-repeat;
}
.scale .window {
  position: absolute;
  left: 50%;
  width: 25%;
  top: 0;
  bottom: 0;
  background: var(--accent-dim);
  border-inline: 1px dashed rgba(238, 106, 68, 0.55);
}
.scale .needle {
  position: absolute;
  left: 31.25%;
  top: -6px;
  bottom: -1px;
  width: 2px;
  margin-left: -1px;
  background: var(--paper);
}
.scale .needle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  border: 5px solid transparent;
  border-top-color: var(--paper);
  border-bottom: 0;
}
.scale-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; }

/* ---- Chapters contact sheet ---- */
.sheet-wrap { margin-top: clamp(28px, 3.5vw, 44px); }
.chapter-strip {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chapter-strip span {
  padding: 8px 12px;
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chapter-strip span.current { background: var(--accent-dim); color: var(--accent-text); }

.sheet {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.4vw, 18px);
}
.sheet .frame.marked .ph { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 5px var(--bg), 0 0 0 6.5px var(--accent); }
.sheet-caption { margin-top: 20px; }

/* ---- Coming soon ---- */
.soon-head { margin-top: clamp(72px, 9vw, 120px); padding-top: 32px; border-top: 1px solid var(--line); }
.soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.soon { display: flex; flex-direction: column; padding: 28px; }
.soon h3 { font-size: 26px; line-height: 1.12; letter-spacing: -0.028em; margin: 14px 0 12px; }
.soon p { font-size: 16px; line-height: 25px; }
.soon-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
}
.soon-mock { margin-top: auto; padding-top: 22px; }

.insight {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-2);
}
.insight .text { color: var(--text); font-size: 14px; line-height: 20px; }
.insight .action { color: var(--accent-text); font-size: 13px; font-weight: 600; }

.chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 20px; }
.bubble.user { align-self: flex-end; background: var(--paper); color: var(--ink); border-bottom-right-radius: 5px; }
.bubble.ai { align-self: flex-start; background: var(--bg-2); color: var(--text); border-bottom-left-radius: 5px; }

.features-note {
  max-width: 44em;
  margin-top: 56px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-3);
}

/* ---- CTA band ---- */
.cta-band {
  display: flex;
  justify-content: center;
  padding: clamp(40px, 5vw, 64px) 16px;
  border-block: 1px solid var(--line);
  background: var(--bg-1);
}

/* ---- How it works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}
.step { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 28px; align-content: start; }
.step > .phone { align-self: start; }
.step-copy h3 { font-size: 26px; line-height: 1.12; letter-spacing: -0.028em; margin: 12px 0 10px; }
.step-copy p { font-size: 16px; line-height: 25px; }

.phone {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 12px;
  border-radius: var(--radius-phone);
  background: var(--bg-1);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.phone .compare-frame { border-radius: calc(var(--radius-phone) - 12px); }

.capture-photo {
  position: relative;
  aspect-ratio: 146 / 182;
  overflow: hidden;
  border-radius: calc(var(--radius-phone) - 12px);
  background: var(--bg-2);
}
.capture-status {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}
.capture-status span { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.capture-instruction { display: block; margin: 8px 0 6px; text-align: center; font-size: 14px; color: var(--text-2); }

.phone.routine { padding: 22px 18px 18px; display: flex; flex-direction: column; }
.phone .date-label { display: block; }
.routine-title {
  margin: 6px 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
}
.routine-section-label { margin: 6px 0 8px; }
.routine-subheading { font-size: 13px; color: var(--text-2); margin: 2px 0 6px; }
.routine-subheading.second { margin-top: 10px; }
.routine-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.routine-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 14px 8px 10px;
  border-radius: 12px;
  background: var(--bg-2);
}
.routine-item .swatch { width: 34px; height: 34px; border-radius: 9px; background: #2C2A25; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.routine-item .swatch.alt { background: #26292A; }
.routine-item .text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.routine-item .name { font-size: 14.5px; line-height: 20px; color: var(--text); font-weight: 500; }
.routine-item .dose { font-size: 12.5px; line-height: 18px; color: var(--text-3); }
.routine-item .check { color: var(--ok); font-weight: 700; }
.routine-cta {
  display: grid;
  place-items: center;
  height: 48px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.phone.compare-phone .compare { max-width: none; }
.compare-range { display: block; text-align: center; margin: 4px 0 12px; }
.compare-phone .compare-knob { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
.compare-phone .compare-knob svg { width: 16px; height: 16px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 40px);
}
.copyright { font-size: 13px; color: var(--text-3); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .hero-visual { order: -1; }
  .hero-visual::before { inset: -6% 0; }
  .vf { max-width: 460px; }
  .row, .row-working { grid-template-columns: minmax(0, 1fr); }
  .row-working .row-media { order: 2; }
  .row-top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .row-top .chip-list { justify-content: flex-start; margin-top: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; max-width: 420px; margin-inline: auto; row-gap: 56px; }
  .step { display: flex; flex-direction: column; grid-row: auto; gap: 28px; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .btn-pill.nav-cta { margin-left: auto; }
  .site-header { gap: 12px; }

  .trust-inner { grid-template-columns: minmax(0, 1fr); }
  .trust-item, .trust-item + .trust-item { padding: 26px 0; border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }

  .form-row { flex-direction: column; align-items: stretch; }
  .submit-btn { width: 100%; }

  .soon-grid { grid-template-columns: minmax(0, 1fr); }

  /* Photo rows become swipeable strips rather than rows of thumbnails */
  .sheet, .frames-3 {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(16px, 4vw, 40px);
    margin-inline: calc(-1 * clamp(16px, 4vw, 40px));
    padding-inline: clamp(16px, 4vw, 40px);
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sheet::-webkit-scrollbar, .frames-3::-webkit-scrollbar { display: none; }
  .sheet .frame, .frames-3 .frame { flex: none; width: 62%; scroll-snap-align: start; }
  .chapter-strip span { padding: 8px; font-size: 10.5px; }

  .readouts dt { letter-spacing: 0.05em; }
  .readouts.compact dd { font-size: 13.5px; }
  .readouts > div { padding-right: 10px; }
  .readouts > div + div { padding-left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
