:root {
  --mist: #EDF1EE;
  --paper: #FFFFFF;
  --ink: #13211C;
  --ink-soft: #4A5B54;
  --ink-faint: #52665B;
  --sage: #3E6B5B;
  --sage-tint: #DCE7E1;
  --pine: #16302A;
  --pine-line: #25463D;
  --gold: #D6A04A;
  --gold-soft: #F3E3C4;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-main { background: var(--ink); color: var(--mist); box-shadow: 0 12px 30px rgba(19, 33, 28, 0.18); }
.btn-main .arrow { transition: transform 180ms var(--ease); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(19, 33, 28, 0.2); }
.btn-gold { background: var(--gold); color: var(--ink); }
@media (hover: hover) {
  .btn-main:hover { background: var(--sage); transform: translateY(-2px); }
  .btn-main:hover .arrow { transform: translateX(4px); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn-gold:hover { transform: translateY(-2px); background: #E2B25F; }
}

/* Nav */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  width: min(calc(100% - 32px), 720px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.5rem 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(19, 33, 28, 0.08);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; box-shadow: none; }

/* HERO */
.hero { padding: clamp(8rem, 16vh, 11rem) 0 5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-pre {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 900ms var(--ease) 150ms forwards;
}
.hero-h1 {
  font-size: clamp(3.2rem, 1.2rem + 7vw, 7.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 0.4rem 0 1.6rem;
  opacity: 0;
  animation: rise 1000ms var(--ease) 900ms forwards;
}
.hero-h1 .count {
  color: #90601E;
  font-variant-numeric: tabular-nums;
}
.hero-sub {
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  opacity: 0;
  animation: rise 900ms var(--ease) 1500ms forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-top: 2rem;
  opacity: 0;
  animation: rise 900ms var(--ease) 1700ms forwards;
}
.hero-meta {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-faint);
  opacity: 0;
  animation: rise 900ms var(--ease) 1900ms forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.phone {
  justify-self: center;
  width: min(290px, 70vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 10px;
  background: #0E1714;
  box-shadow: 0 40px 80px rgba(19, 33, 28, 0.25), inset 0 0 0 2px #2B3833;
  opacity: 0;
  animation: rise 1200ms var(--ease) 1200ms forwards;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: #1b2a25; }

/* Product recordings live inside the device screen: no browser player chrome. */
.video-device .video-toggle { position: absolute; z-index: 3; display: grid; place-items: center; border: 0; cursor: pointer; color: var(--mist); background: transparent; }
.phone .video-toggle { inset: 10px; border-radius: 37px; }
.tool .mini .video-toggle { inset: 9px; border-radius: 37px; }
.video-toggle span { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 999px; background: rgba(14, 23, 20, 0.78); box-shadow: 0 4px 14px rgba(14, 23, 20, 0.24); opacity: 1; transform: scale(1); transition: opacity 180ms var(--ease), transform 180ms var(--ease); }
.video-toggle span::before { content: ""; display: block; width: 0; height: 0; margin-left: 0.16rem; border-top: 0.34rem solid transparent; border-bottom: 0.34rem solid transparent; border-left: 0.5rem solid currentColor; }
.video-device.is-playing .video-toggle span { opacity: 0; transform: scale(0.8); }
.video-device.is-playing .video-toggle:hover span, .video-device.is-playing .video-toggle:focus-visible span { opacity: 1; transform: scale(1); }
.video-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* THE WEEK (signature) */
.week {
  background: var(--pine);
  color: var(--mist);
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
}
.week .label { color: var(--gold); }
.week h2 {
  font-size: clamp(2.2rem, 1rem + 4vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0.8rem 0 1rem;
  max-width: 16ch;
}
.week-lead { max-width: 38rem; color: #B7C8C0; font-size: 1.1rem; }

.week-board {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: start;
}
.grid-168 {
  display: grid;
  grid-template-columns: 2.6rem repeat(24, minmax(0, 1fr));
  gap: 4px;
}
.day-label, .hour-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #7F978D;
  display: flex; align-items: center;
}
.hour-label { justify-content: center; }
.cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--pine-line);
  transition: background-color 500ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease);
  transition-delay: calc(var(--i) * 6ms);
}
.grid-168.lit .cell { background: #5E8C7B; }
.grid-168.lit .cell.night { background: #3F6A5C; }
.cell.therapy,
.grid-168.lit .cell.therapy {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(214, 160, 74, 0.7);
  transition-delay: 0ms;
}
.cell.moment { box-shadow: inset 0 0 0 2px var(--mist); }
.cell.hot { transform: scale(1.7); box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(214, 160, 74, 0.8); z-index: 1; position: relative; transition-delay: 0ms; }

.week-counter {
  margin-top: 1.6rem;
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #B7C8C0;
}
.week-counter b { display: block; font-family: var(--sans); font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; color: var(--mist); font-variant-numeric: tabular-nums; }
.week-counter .gold b { color: var(--gold); }

.moments { list-style: none; display: grid; gap: 0.5rem; }
.moments li {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(237, 241, 238, 0.05);
  transition: background-color 200ms var(--ease);
}
.moments li:hover { background: rgba(237, 241, 238, 0.12); }
.moments time { font-family: var(--mono); font-size: 0.75rem; color: var(--gold); }
.moments p { font-size: 0.98rem; color: var(--mist); }
.moments .therapy-item time { color: #9DB3AA; }

/* SKEPTIC */
.skeptic { padding: clamp(5rem, 10vw, 8rem) 0; }
.skeptic-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
.skeptic h2 {
  font-size: clamp(2.4rem, 1rem + 4.5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin-top: 0.8rem;
}
.skeptic-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; }

.objections { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 1rem; }
.objection {
  position: relative;
  min-height: 240px;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--paper);
  border-radius: 26px;
  display: grid;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(19, 33, 28, 0.06), 0 16px 40px rgba(19, 33, 28, 0.06);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
@media (hover: hover) { .objection:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(19, 33, 28, 0.1); } }
.objection .said {
  grid-area: 1 / 1;
  align-self: center;
  padding: 1.8rem 1.8rem 3.5rem;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: opacity 300ms var(--ease), transform 400ms var(--ease);
}
.objection .said::before { content: "“"; color: var(--gold); }
.objection .said::after { content: "”"; color: var(--gold); }
.objection .hint {
  position: absolute; left: 1.8rem; bottom: 1.5rem;
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink-faint);
}
.objection .answer {
  grid-area: 1 / 1;
  padding: 1.8rem;
  background: var(--sage);
  color: var(--mist);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem;
  clip-path: circle(0% at 90% 90%);
  transition: clip-path 600ms var(--ease);
}
.objection .answer strong { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
.objection .answer span { color: #D6E4DD; font-size: 1rem; }
.objection .answer .payoff { font-style: normal; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--gold); margin-top: 0.2rem; }
.objection[aria-expanded="true"] .answer { clip-path: circle(150% at 90% 90%); }
.objection[aria-expanded="true"] .said { opacity: 0; transform: translateY(-12px); }

.bridge {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem;
}
.bridge > div { border-radius: 26px; padding: 1.8rem; }
.bridge .notes { background: var(--gold-soft); }
.bridge .safety { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--sage-tint); }
.bridge h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.bridge p { color: var(--ink-soft); }

/* INSIGHTS: the 57 connections */
.insights { padding: 0 0 clamp(5rem, 10vw, 8rem); overflow: hidden; }
.insights-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.insights h2 { font-size: clamp(2.4rem, 1rem + 4.5vw, 4.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; margin-top: 0.8rem; }
.insights h2 em { font-style: normal; color: var(--gold); }
.insights-head > p { color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; }
.insight-rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
.insight-row { display: flex; align-items: center; gap: 0.6rem; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.insight-row .viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent);
}
.insight-row .track {
  display: flex; gap: 0.6rem; width: max-content;
  animation: marquee var(--dur, 60s) linear infinite;
}
.insight-row:nth-child(even) .track { animation-direction: reverse; }
.insight-row:hover .track, .insight-row:focus-within .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.family-chip, .insight-chip {
  flex: none;
  font: inherit;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  white-space: nowrap;
}
.family-chip {
  background: var(--pine); color: var(--mist); font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.family-chip b { font-family: var(--mono); font-size: 0.75rem; color: var(--gold); font-weight: 500; }
.insight-chip { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(19, 33, 28, 0.06); transition: background-color 200ms var(--ease), color 200ms var(--ease); }
@media (hover: hover) { .insight-chip:hover { background: var(--sage); color: var(--mist); } }
.insight-row.open { align-items: flex-start; padding-right: var(--gutter); }
.insight-row.open .viewport { -webkit-mask-image: none; mask-image: none; }
.insight-row.open .track { animation: none; width: auto; flex-wrap: wrap; }
.insight-row.open .track .dup { display: none; }
.insight-row.open .family-chip { background: var(--gold); color: var(--ink); }
.insight-row.open .family-chip b { color: var(--ink); }
.insight-row.upcoming .family-chip { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.insight-row.upcoming .family-chip b { color: var(--gold); }
.insight-row.upcoming .insight-chip { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px rgba(19, 33, 28, 0.18); border: 0; }
.insights-more { margin-top: 1.4rem; font-weight: 600; }
.insights-more b { color: var(--gold); }
.insights-hint { margin-top: 1rem; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-faint); }

/* BREATH: box breathing is a square */
.breath { padding: 0 0 clamp(5rem, 10vw, 8rem); scroll-margin-top: 80px; }
.box-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 85% 20%, #22453B 0%, var(--pine) 55%, #0F221D 100%);
  color: var(--mist);
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.box-card .label { color: var(--gold); }
.box-card h2 { font-size: clamp(2.4rem, 1rem + 4vw, 4.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; margin: 0.8rem 0 1rem; }
.box-intro { color: #B7C8C0; max-width: 28rem; }
.box-step { margin-top: 2rem; animation: rise 500ms var(--ease) both; }
.box-q { font-weight: 600; font-size: 1.15rem; margin-bottom: 0.8rem; }
.scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 0.3rem; max-width: 28rem; }
.scale button {
  aspect-ratio: 1; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-family: var(--mono); font-size: 0.85rem;
  color: var(--mist);
  background: color-mix(in srgb, var(--gold) calc(var(--v) * 9%), var(--pine-line));
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.scale button:hover { transform: translateY(-2px); }
.scale button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--mist); transform: translateY(-2px); }
.scale-ends { display: flex; justify-content: space-between; max-width: 28rem; margin-top: 0.4rem; font-family: var(--mono); font-size: 0.72rem; color: #7F978D; }
.box-start { margin-top: 1.4rem; }
.box-delta { font-size: clamp(2.6rem, 1.5rem + 3vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.box-delta .arrow-sep { color: var(--gold); padding: 0 0.3em; }
.box-result { color: #B7C8C0; margin: 0.8rem 0 1.4rem; max-width: 28rem; }
.box-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn-ghost-light { background: transparent; color: var(--mist); box-shadow: inset 0 0 0 1.5px rgba(237, 241, 238, 0.3); }
@media (hover: hover) { .btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--mist); } }

.box-stage { position: relative; width: min(360px, 78vw); aspect-ratio: 1; margin: 0 auto; }
.box-stage svg { width: 100%; height: 100%; overflow: visible; }
.box-track { fill: none; stroke: var(--pine-line); stroke-width: 3; }
.box-lung {
  fill: var(--sage); opacity: 0.35;
  transform-box: fill-box; transform-origin: center;
  transform: scale(0.45);
}
.box-trail { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(214, 160, 74, 0.6)); }
.box-dot { fill: var(--mist); filter: drop-shadow(0 0 10px rgba(214, 160, 74, 0.9)); }
.box-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.box-phase { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; }
.box-count { font-family: var(--mono); font-size: 2.6rem; color: var(--gold); font-variant-numeric: tabular-nums; min-height: 1.2em; }
.side {
  position: absolute; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #7F978D; transition: color 300ms var(--ease);
}
.side.on { color: var(--gold); }
.side-in { left: 0; top: 50%; transform: translate(-40%, -50%) rotate(-90deg); }
.side-hold { top: 0; left: 50%; transform: translate(-50%, -30%); }
.side-out { right: 0; top: 50%; transform: translate(40%, -50%) rotate(90deg); }
.side-rest { bottom: 0; left: 50%; transform: translate(-50%, 30%); }

/* INSIDE */
.inside { padding: 0 0 clamp(5rem, 10vw, 8rem); }
.inside h2 { font-size: clamp(2rem, 1rem + 3vw, 3.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; margin: 0.8rem 0 2.5rem; max-width: 18ch; }
/* One row per tool with a phone big enough to read what is on its screen (a third of the
   width made the app's text about 5 px tall). Rows alternate sides. */
.tools { display: grid; gap: 1rem; }
.tool {
  background: var(--paper); border-radius: clamp(28px, 4vw, 40px);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: ". mini" "time mini" "title mini" "text mini" ". mini";
  grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(2rem, 6vw, 6rem); row-gap: 0.8rem;
}
.tool:nth-child(even) { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "mini ." "mini time" "mini title" "mini text" "mini ."; }
.tool time { grid-area: time; align-self: end; font-family: var(--mono); font-size: 0.8rem; color: var(--sage); }
.tool h3 { grid-area: title; font-size: clamp(1.6rem, 1rem + 1.6vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.05; }
.tool p { grid-area: text; align-self: start; color: var(--ink-soft); font-size: 1.08rem; max-width: 26rem; }
.tool .mini {
  grid-area: mini; width: 330px; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 9px;
  background: #0E1714; box-shadow: 0 30px 60px rgba(19, 33, 28, 0.18), inset 0 0 0 2px #2B3833;
}
.tool .mini video { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: #1b2a25; }

/* PROMISE */
.promise { padding: 0 0 clamp(5rem, 10vw, 8rem); }
.promise-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.5rem; border-top: 1.5px solid rgba(19, 33, 28, 0.12); }
.promise-row > div { padding-top: 1.8rem; }
.promise-row h3 { font-size: 1.4rem; letter-spacing: -0.03em; }
.promise-row h3 span { color: var(--ink-faint); font-weight: 500; }
.promise-row p { color: var(--ink-soft); margin-top: 0.4rem; }

/* FINAL */
.final {
  background: var(--pine); color: var(--mist);
  border-radius: clamp(28px, 4vw, 48px);
  margin: 0 var(--gutter);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  text-align: center;
}
.final h2 { font-size: clamp(2.6rem, 1rem + 5vw, 5.2rem); font-weight: 600; letter-spacing: -0.055em; line-height: 0.98; }
.final h2 em { font-style: normal; color: var(--gold); }
.final p { color: #B7C8C0; margin: 1.2rem auto 2rem; max-width: 32rem; }

footer { padding: 4rem 0 3rem; text-align: center; color: var(--ink-soft); font-size: 0.88rem; }
footer nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: 0.8rem; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer .seal { display: inline-block; margin-bottom: 1rem; }

/* LEARN: the differentiator */
.learn { padding: 0 0 clamp(5rem, 10vw, 8rem); }
.learn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.learn h2 { font-size: clamp(2.4rem, 1rem + 4.5vw, 4.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98; margin: 0.8rem 0 1rem; }
.learn-lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 30rem; }
.steps { list-style: none; counter-reset: step; margin-top: 2rem; display: grid; gap: 1.1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: 0.8rem; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage-tint); color: var(--sage);
  font-family: var(--mono); font-size: 0.85rem; font-weight: 600;
}
.steps b { font-size: 1.05rem; letter-spacing: -0.01em; }
.steps span { color: var(--ink-soft); font-size: 0.98rem; }

.pattern-stage { position: relative; padding: 2.5rem 0 0 2.5rem; }
.summary-peek {
  position: absolute; top: 0; left: 0; right: 2.5rem; height: 70%;
  background: var(--pine); border-radius: 26px; padding: 1.4rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transform: rotate(-3deg);
}
.summary-peek .label { color: var(--gold); }
.summary-peek i { display: block; height: 8px; border-radius: 4px; background: var(--pine-line); }
.summary-peek i:nth-child(2) { width: 80%; } .summary-peek i:nth-child(3) { width: 60%; } .summary-peek i:nth-child(4) { width: 70%; }
.pattern-card {
  position: relative;
  background: var(--paper); border-radius: 26px; padding: 1.8rem;
  box-shadow: 0 30px 60px rgba(19, 33, 28, 0.14);
}
.pattern-text { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; margin: 0.8rem 0 0.5rem; }
.pattern-text b { color: var(--sage); }
.pattern-src { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-faint); }
.verdicts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.verdicts button {
  font: inherit; font-size: 0.92rem; font-weight: 600;
  padding: 0.65rem 1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--mist); color: var(--ink);
  transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 150ms var(--ease);
}
.verdicts button:active { transform: scale(0.96); }
.verdicts button[aria-pressed="true"] { background: var(--ink); color: var(--mist); }
.verdict-reply { min-height: 1.6em; margin-top: 1rem; color: var(--ink-faint); font-family: var(--mono); font-size: 0.78rem; font-weight: 500; line-height: 1.45; opacity: 0; }
.verdict-reply.show { animation: rise 500ms var(--ease) forwards; }

.lang-switch { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.4rem; }
.lang-switch select {
  font: inherit; font-size: 0.9rem; padding: 0.45rem 0.8rem; border-radius: 999px;
  border: 1.5px solid rgba(19, 33, 28, 0.15); background: var(--paper); color: var(--ink);
}

.sticky-cta { display: none; }

@media (max-width: 900px) {
  .hero-grid, .week-board, .skeptic-head, .bridge, .box-card, .learn-grid, .insights-head { grid-template-columns: minmax(0, 1fr); }
  .phone { width: min(240px, 60vw); }
  .promise-row { grid-template-columns: minmax(0, 1fr); }
  .tool, .tool:nth-child(even) { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "time" "title" "text" "mini"; }
  .tool .mini { width: min(320px, 78vw); justify-self: center; margin-top: 1.5rem; }
  .moments { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-168 { grid-template-columns: 2rem repeat(24, minmax(0, 1fr)); gap: 2px; }
  .hour-label:not(.every6) { visibility: hidden; }
  .moments { grid-template-columns: minmax(0, 1fr); }
  .week-counter { gap: 1.5rem; }
  .week-counter b { font-size: 2rem; }
  .objection { min-height: 190px; }
  .pattern-stage { padding: 2rem 0 0 1rem; }
  .summary-peek { right: 1rem; }
  .sticky-cta {
    display: block; position: fixed; z-index: 60;
    left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    text-align: center; padding: 1rem; border-radius: 999px;
    background: var(--ink); color: var(--mist); font-weight: 600; text-decoration: none;
    box-shadow: 0 14px 30px rgba(19, 33, 28, 0.3);
    transform: translateY(160%); transition: transform 320ms var(--ease);
  }
  .sticky-cta.visible { transform: none; }
  footer { padding-bottom: 7rem; }
}

/* Phone held sideways: keep hero text and phone side by side, size by height */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { padding: 5.5rem 0 3rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 2rem; }
  .hero-h1 { font-size: clamp(2.4rem, 11vh, 4rem); margin-bottom: 1rem; }
  .hero-pre { font-size: 1.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { margin-top: 1.2rem; }
  .phone { width: auto; height: min(80vh, 340px); }
  .box-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .box-stage { width: min(300px, 70vh); }
  .week-board, .learn-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}


/* Get the app: desktop visitors get a QR code instead of Apple's iPhone-only page */
.get-app {
  margin: auto; border: 0; border-radius: 28px; padding: 2.2rem 2rem 1.8rem;
  width: min(420px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 40px 100px rgba(19, 33, 28, 0.35);
}
.get-app::backdrop { background: rgba(19, 33, 28, 0.55); backdrop-filter: blur(4px); }
.get-app[open] { animation: rise 400ms var(--ease) both; }
.get-app h2 { font-size: 1.8rem; letter-spacing: -0.04em; line-height: 1.05; margin: 0.6rem 0 0.5rem; }
.get-app-lead { color: var(--ink-soft); font-size: 0.98rem; }
.get-app-qr { width: 200px; height: 200px; margin: 1.4rem auto; padding: 12px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--sage-tint); }
.get-app-steps { text-align: left; margin: 0 auto 1.4rem; padding-left: 1.3rem; max-width: 300px; color: var(--ink-soft); font-size: 0.95rem; display: grid; gap: 0.35rem; }
.get-app-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--mist); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.get-app-copy { font-size: 0.92rem; padding: 0.7rem 1.2rem; }


/* Nav: crisp vector mark, section links on wide screens, language picker */
.nav { width: min(calc(100% - 32px), 920px); padding: 0.45rem 0.45rem 0.45rem 0.75rem; border: 1px solid rgba(19, 33, 28, 0.06); background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
.brand { gap: 0.65rem; font-size: 1.08rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 0; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { text-decoration: none; font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); transition: color 150ms var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 0.5rem; }
.nav-lang {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  font: inherit; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; color: var(--ink);
  background: var(--mist); border-radius: 999px; padding: 0.55rem 0.8rem;
}
@media (max-width: 900px) { .nav-links { display: none; } }
section[id] { scroll-margin-top: 90px; }

/* The phone frame always sits in front of its video: a bezel ring drawn over the corners, so a
   video that loads late or a browser that ignores border-radius on video never shows past it. */
.phone, .tool .mini { position: relative; isolation: isolate; overflow: hidden; }
.phone::after, .tool .mini::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 var(--bezel, 10px) #0E1714, inset 0 0 0 calc(var(--bezel, 10px) + 2px) #1b2622;
}
.tool .mini { --bezel: 9px; }

@media (prefers-reduced-motion: reduce) {
  .insight-row .track { animation: none !important; flex-wrap: wrap; width: auto; }
  .insight-row .dup { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

.promise-label { margin-bottom: 1.2rem; }
