/* ============================================================
   BASE — The Week Sky (Direction A2)
   One continuous living sky; the app's cumulative wave threads
   behind everything and builds Monday→Saturday as you descend.
   ============================================================ */

:root {
  --plum-0: #120810;
  --plum-1: #160a12;
  --plum-2: #241019;
  --plum-ink: #2a0f1c;
  --ink: #fff4ec;
  --ink-85: rgba(255, 244, 236, 0.85);
  --ink-72: rgba(255, 244, 236, 0.72);
  --ink-55: rgba(255, 244, 236, 0.55);
  --coral: #ff8c6b;
  --coral-soft: #ff9e7a;
  --amber: #ffb347;
  --paper: #fff9f4;
  --paper-ink: #33141f;
  --paper-ink-70: rgba(51, 20, 31, 0.7);
  --display: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }

body {
  font-family: var(--text);
  background: var(--plum-1); /* canvas paints over this immediately */
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--coral); color: var(--plum-ink); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- fixed layers ---------- */

#sky {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
}

.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%, transparent 62%, rgba(8, 3, 7, 0.32) 100%);
}

/* ---------- week rail ---------- */

.week-rail {
  position: fixed; z-index: 3;
  left: clamp(14px, 2.4vw, 30px); top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.week-rail ol { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.week-rail li {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; color: var(--ink-55);
  opacity: 0.38; transition: opacity 0.4s, color 0.4s, transform 0.4s;
  text-align: center; width: 18px;
}
.week-rail li.lit { opacity: 0.85; color: var(--coral-soft); }
.week-rail li.now { opacity: 1; color: var(--amber); transform: scale(1.25); text-shadow: 0 0 14px rgba(255, 179, 71, 0.65); }
.week-rail li.sun { opacity: 0.3; }
.week-rail li.sun.lit { opacity: 0.6; }
/* bright-sky finale: rail flips to plum ink */
.week-rail.dark li { color: var(--plum-ink); opacity: 0.42; }
.week-rail.dark li.lit { color: #a03a26; opacity: 0.8; }
.week-rail.dark li.now { color: #8a2c12; text-shadow: 0 0 14px rgba(255, 249, 244, 0.5); }
.week-rail.dark li.sun { opacity: 0.34; }
.week-rail.dark li.sun.lit { opacity: 0.55; }
@media (max-width: 700px) { .week-rail { display: none; } }

/* ---------- layout ---------- */

main { position: relative; z-index: 1; }

.wrap {
  max-width: 1160px; margin: 0 auto;
  padding-left: clamp(64px, 8vw, 96px);
  padding-right: clamp(24px, 5vw, 72px);
}
@media (max-width: 700px) {
  .wrap { padding-left: clamp(24px, 6vw, 32px); padding-right: clamp(24px, 6vw, 32px); }
}

.panel { padding: 19vh 0 21vh; }

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--display); font-weight: 700;
  font-size: 13.5px; letter-spacing: 0.24em;
  color: var(--coral-soft);
  margin-bottom: clamp(20px, 3vh, 32px);
}
.eyebrow-dark { color: rgba(42, 15, 28, 0.78); }

h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.04; letter-spacing: -0.022em;
  margin-bottom: clamp(28px, 4.5vh, 48px);
}

.line { display: block; overflow: hidden; }
.line-in { display: block; will-change: transform; }

.cols {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1080px;
}
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

.lede {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.45; color: var(--ink-85); font-weight: 500;
}
/* sky-borne copy carries a tight halo in the sky's own plum, so the
   wave can live behind it without ever fighting a glyph. Keep the blur
   radius tiny: large blurred text-shadows re-raster whole text tiles on
   every scroll frame and were the measured source of the scroll stutter. */
.lede, .body, .medal-l1, .medal-l2, .fineprint, .bignum-cap, .tc-window {
  text-shadow: 0 1px 4px rgba(22, 10, 18, 0.5);
}
.body { font-size: 17px; line-height: 1.62; color: var(--ink-72); }

/* ---------- hero ---------- */

.hero { height: 108vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(150px, 26vw, 372px);
  line-height: 0.94; letter-spacing: -0.03em;
  display: flex; align-items: baseline; justify-content: center;
  background: linear-gradient(112deg, var(--coral) 12%, var(--amber) 88%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 10px 60px rgba(255, 140, 107, 0.28));
}
.hero-num .unit {
  font-size: 0.14em; font-weight: 700; letter-spacing: 0.02em;
  margin-left: 0.12em;
}

/* live-tick acknowledgment: a warm bloom of the existing drop-shadow.
   Filter only — a transform on this gradient-clipped text can blank it. */
.hero-num.tick-glow { animation: tickGlow 0.85s ease-out; }
@keyframes tickGlow {
  0%   { filter: drop-shadow(0 10px 60px rgba(255, 140, 107, 0.28)) brightness(1); }
  22%  { filter: drop-shadow(0 10px 60px rgba(255, 140, 107, 0.62)) brightness(1.16); }
  100% { filter: drop-shadow(0 10px 60px rgba(255, 140, 107, 0.28)) brightness(1); }
}

.verdict {
  font-family: var(--display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.26em;
  color: var(--ink-85);
  margin-top: clamp(10px, 1.8vh, 20px);
  display: flex; align-items: center; gap: 12px;
}
.verdict-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px 2px rgba(255, 179, 71, 0.7);
}

.hero-sub {
  margin-top: clamp(22px, 3.4vh, 34px);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.55; color: var(--ink-72);
  max-width: 620px;
}

.hero-cta { display: flex; gap: 16px; margin-top: clamp(28px, 4.2vh, 44px); flex-wrap: wrap; justify-content: center; }

.btn {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.25s, background 0.25s;
  will-change: transform;
}
.btn-solid {
  background: linear-gradient(115deg, var(--coral), var(--amber));
  color: var(--plum-ink);
  box-shadow: 0 12px 40px rgba(255, 140, 107, 0.35);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 18px 54px rgba(255, 140, 107, 0.5); }
.btn-ghost {
  border: 1.5px solid rgba(255, 244, 236, 0.34);
  color: var(--ink-85);
}
.btn-ghost:hover { border-color: rgba(255, 244, 236, 0.7); transform: translateY(-2px); }
.btn-ghost .arr { font-size: 18px; line-height: 1; }
.btn-dark {
  background: var(--plum-ink); color: var(--amber);
  box-shadow: 0 14px 44px rgba(42, 15, 28, 0.45);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(42, 15, 28, 0.55); }

.scroll-cue {
  position: absolute; bottom: max(4.5vh, 20px); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.3em; color: var(--ink-55);
}
.scroll-cue i {
  width: 1.5px; height: 44px; display: block;
  background: linear-gradient(180deg, var(--coral), transparent);
  transform-origin: top;
}
html.motion-ok .scroll-cue i { animation: cue 2.2s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- how it works (pinned) ---------- */

.how { position: relative; }
.how-pin {
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
}
.how-pin > .wrap { width: 100%; }
/* base + mobile: steps stack statically */
.steps { margin-top: 40px; }
.step { max-width: 640px; margin-bottom: 64px; }
.step:last-child { margin-bottom: 0; }
/* desktop with motion: pinned crossfade stage */
@media (min-width: 761px) {
  html.motion-ok .steps { position: relative; min-height: 460px; margin-top: 24px; }
  html.motion-ok .step {
    position: absolute; inset: 0; margin: 0;
    display: flex; flex-direction: column; justify-content: center;
  }
}
.step-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(60px, 7vw, 96px); line-height: 1;
  background: linear-gradient(115deg, var(--coral), var(--amber));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 18px;
}
.step h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.step .body { max-width: 540px; font-size: 18px; }

.step-dots { display: none; gap: 10px; margin-top: 44px; }
@media (min-width: 761px) {
  html.motion-ok .step-dots { display: flex; }
}
.step-dots i {
  width: 26px; height: 4px; border-radius: 2px;
  background: rgba(255, 244, 236, 0.22);
  transition: background 0.3s;
}
.step-dots i.on { background: var(--coral); }

html:not(.motion-ok) .step { opacity: 1 !important; }
html:not(.motion-ok) .how { padding: 14vh 0; }
html:not(.motion-ok) .how-pin { height: auto; }

/* ---------- the number ---------- */

.bignum {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(72px, 13.5vw, 196px);
  line-height: 0.98; letter-spacing: -0.032em;
  background: linear-gradient(110deg, var(--coral) 8%, var(--amber) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: clamp(30px, 4.5vh, 50px);
  display: flex; align-items: baseline;
}
.bignum .num { white-space: nowrap; }
.bignum .unit { font-size: 0.24em; font-weight: 700; margin-left: 0.18em; letter-spacing: 0; white-space: nowrap; }

/* ---------- cards (SOLID on the sky — craft law) ---------- */

.cards {
  display: grid; gap: clamp(20px, 3vw, 36px);
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-rows: auto auto;
  margin-top: clamp(36px, 6vh, 64px);
}
.cards .card:first-child { grid-row: 1 / 3; }
.cards-2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.cards-2 .card:first-child { grid-row: auto; }
@media (max-width: 760px) {
  .cards, .cards-2 { grid-template-columns: 1fr; grid-template-rows: none; }
  .cards .card:first-child { grid-row: auto; }
}

.card {
  background: var(--paper);
  border-radius: 28px;
  padding: clamp(18px, 2.4vw, 26px);
  box-shadow: 0 30px 90px rgba(10, 4, 8, 0.5), 0 4px 18px rgba(10, 4, 8, 0.35);
  color: var(--paper-ink);
  will-change: transform;
}
.card img {
  width: 100%; border-radius: 16px;
  background: #f4e9e0;
}
.card-vid {
  width: 100%; height: auto; border-radius: 16px;
  background: #2a0f1c;
  display: block; aspect-ratio: 1020 / 940; object-fit: cover;
}
.card figcaption {
  margin-top: 16px;
  font-size: 15px; line-height: 1.5; color: var(--paper-ink-70);
}
.card figcaption strong { color: var(--paper-ink); font-weight: 700; }

/* ---------- finale ---------- */

.finale { position: relative; padding-top: 16vh; }
.finale-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-bottom: 12vh;
}

.ember {
  width: clamp(130px, 16vw, 200px);
  margin-bottom: clamp(20px, 3.5vh, 36px);
  position: relative;
  filter: drop-shadow(0 0 34px rgba(255, 150, 90, 0.65)) drop-shadow(0 0 90px rgba(255, 140, 107, 0.4));
}

.finale-head {
  color: var(--plum-ink);
  font-size: clamp(52px, 7.4vw, 104px);
  margin-bottom: clamp(18px, 3vh, 28px);
}
.finale-sub {
  color: rgba(42, 15, 28, 0.82);
  font-size: clamp(17px, 1.9vw, 20px); line-height: 1.55;
  max-width: 540px; font-weight: 500;
}

.waitlist {
  display: flex; gap: 12px; margin-top: clamp(30px, 4.5vh, 44px);
  width: min(560px, 92%);
}
.waitlist input {
  flex: 1; min-width: 0;
  font-family: var(--text); font-size: 16.5px;
  padding: 15px 22px;
  border-radius: 999px; border: 2px solid transparent;
  background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 12px 40px rgba(42, 15, 28, 0.22);
}
.waitlist input::placeholder { color: rgba(51, 20, 31, 0.45); }
.waitlist input:focus { outline: none; border-color: var(--plum-ink); }
.waitlist .btn { border: 0; cursor: pointer; white-space: nowrap; }
@media (max-width: 560px) {
  .waitlist { flex-direction: column; align-items: stretch; }
  .waitlist .btn { justify-content: center; }
}

.waitlist-note {
  margin-top: 18px;
  font-size: 14px; color: rgba(42, 15, 28, 0.66);
}
.waitlist-note.success {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--plum-ink);
}

/* ---------- footer ---------- */

.footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  max-width: 1160px; margin: 0 auto;
  padding: 40px clamp(24px, 5vw, 72px) 48px;
  color: rgba(42, 15, 28, 0.72);
  font-size: 14px;
}
.wordmark {
  font-family: var(--display); font-weight: 800;
  letter-spacing: 0.18em; font-size: 15px; color: var(--plum-ink);
}
.footer nav { display: flex; gap: 26px; align-items: center; }
.footer a:hover { color: var(--plum-ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- bright-sky ink flip ---------- */
/* past t≈0.79 the sky is peach-bright; sections read there flip to plum
   ink, the same move the week rail and wave furniture already make */
#vision, #vision .eyebrow, #vision .vision-quote, #vision .vision-sub {
  transition: color 0.5s ease;
}
html.sky-bright #vision { color: var(--plum-ink); }
html.sky-bright #vision .vision-quote { color: var(--plum-ink); }
html.sky-bright #vision .eyebrow { color: #a03a26; }
html.sky-bright #vision .vision-sub { color: rgba(42, 15, 28, 0.74); }
html.sky-bright #vision .vision-sub {
  text-shadow: 0 1px 4px rgba(255, 249, 244, 0.45);
}

/* ---------- reveal arming (never hide content without motion) ---------- */

html.motion-ok .reveal { opacity: 0; transform: translateY(28px); }
html.motion-ok .reveal-lines .line-in { transform: translateY(112%); }
html.motion-ok .reveal-hero { opacity: 0; transform: translateY(20px); }
html.motion-ok .hero-num { opacity: 0; }

/* ---------- content elevation: why / time / habit / history / body / who ---------- */

.fineprint {
  margin-top: 22px;
  font-size: 13px; line-height: 1.55;
  color: var(--ink-55);
  max-width: 460px;
}

/* figure + copy side-by-side; .flip puts the figure first (left) */
.fig-cols {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(20px, 3vh, 36px);
}
.fig-cols .card { max-width: 420px; justify-self: end; }
.fig-cols.flip .card { justify-self: start; order: 0; }
@media (max-width: 860px) {
  .fig-cols { grid-template-columns: 1fr; }
  .fig-cols .card { max-width: 460px; justify-self: center; margin-top: 40px; }
}

/* the life-earned counter's caption line */
.bignum-cap {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(15px, 1.7vw, 18px); letter-spacing: 0.08em;
  color: var(--ink-72);
  margin: calc(clamp(30px, 4.5vh, 50px) * -0.6) 0 clamp(28px, 4vh, 44px);
}

/* the six life medallions, die-struck, straight from the app */
.medal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4.5vw, 60px) clamp(24px, 3.5vw, 48px);
  margin-top: clamp(40px, 6vh, 72px);
}
@media (max-width: 760px) { .medal-grid { grid-template-columns: repeat(2, 1fr); } }
.medal { text-align: center; }
.medal img, .medal-vid {
  width: clamp(96px, 11vw, 148px); height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 14px 30px rgba(10, 4, 8, 0.5));
}
.medal-vid {
  display: block;
  aspect-ratio: 1; object-fit: cover;
  border-radius: 50%;
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1), filter 0.45s;
}
@media (pointer: fine) {
  .medal:hover .medal-vid {
    transform: translateY(-6px) scale(1.05);
    filter: drop-shadow(0 22px 44px rgba(10, 4, 8, 0.6)) drop-shadow(0 0 26px rgba(255, 179, 71, 0.28));
  }
}
.medal-eyebrow {
  font-family: var(--display); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.22em;
  color: var(--coral-soft); margin-bottom: 7px;
}
.medal-l1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em;
  color: var(--ink); line-height: 1.2;
}
.medal-l2 { font-size: 15.5px; color: var(--ink-72); margin-top: 3px; }

/* the Heart tab's two long-term trends — solid cards on the sky */
.trend-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(36px, 5.5vh, 60px);
  max-width: 960px;
}
@media (max-width: 700px) { .trend-cards { grid-template-columns: 1fr; } }
.trend-card {
  background: var(--paper);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 30px 90px rgba(10, 4, 8, 0.5), 0 4px 18px rgba(10, 4, 8, 0.35);
  color: var(--paper-ink);
}
.tc-eyebrow {
  font-family: var(--display); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.24em;
  color: #a03a26; margin-bottom: 14px;
}
.tc-num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(64px, 7.5vw, 104px); line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(112deg, #c43a26 12%, #d97a1e 88%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: flex; align-items: baseline;
}
.tc-unit {
  font-size: 0.22em; font-weight: 700; letter-spacing: 0.02em;
  margin-left: 0.14em;
}
.tc-arrow { line-height: 0.8; }
.tc-dir {
  margin-top: 14px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.01em;
  color: var(--paper-ink); line-height: 1.3;
}
.tc-range {
  margin-top: 8px;
  font-size: 14.5px; line-height: 1.5; color: var(--paper-ink-70);
}
.tc-window {
  margin-top: clamp(22px, 3.4vh, 34px);
  font-size: 15px; color: var(--ink-72);
}
.tc-spark {
  display: block; width: 100%; height: auto;
  margin-top: 14px;
}
.tc-line {
  stroke: #c43a26; stroke-width: 3; stroke-linecap: round;
}
.tc-dot {
  fill: #d97a1e;
  transform-box: fill-box; transform-origin: center;
}
html.motion-ok .tc-dot { animation: tcpulse 2.4s ease-in-out infinite; }
@keyframes tcpulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.55); opacity: 0.55; }
}

/* the finale's living ember — a round porthole of dawn */
.ember-portal {
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: clamp(20px, 3.5vh, 36px);
  box-shadow: 0 0 0 1.5px rgba(255, 249, 244, 0.35),
    0 0 60px rgba(255, 150, 90, 0.55),
    0 24px 80px rgba(42, 15, 28, 0.35);
}
.ember-vid {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ember-portal-sm { width: clamp(130px, 15vw, 180px); margin: 26px auto 0; }
.cheer-wrap { display: flex; justify-content: center; }
.cheer-wrap[hidden] { display: none; }
.cheer-vid { width: 100%; height: 100%; object-fit: cover; display: block; }

/* motive cards lift on hover */
.motive { transition: transform 0.35s cubic-bezier(0.3, 1.2, 0.5, 1), box-shadow 0.35s; }
@media (pointer: fine) {
  .motive:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(10, 4, 8, 0.5);
  }
}

/* motivations */
.motive-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(30px, 5vh, 52px);
  max-width: 960px;
}
@media (max-width: 700px) { .motive-grid { grid-template-columns: 1fr; } }
.motive {
  background: var(--paper);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 22px 66px rgba(10, 4, 8, 0.42);
}
.motive h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -0.015em;
  color: var(--paper-ink); margin-bottom: 8px;
}
.motive p { font-size: 15.5px; line-height: 1.5; color: var(--paper-ink-70); }

/* footer compliance line */
.disclaimer {
  flex-basis: 100%;
  margin-top: 18px;
  font-size: 12.5px; line-height: 1.55;
  color: rgba(42, 15, 28, 0.58);
  max-width: 720px;
}

/* ---------- the vision: one giant quoted promise, nothing else ---------- */
.vision { text-align: center; }
.vision .eyebrow { text-align: center; }
.vision-quote {
  margin: clamp(26px, 4.5vh, 46px) auto 0; padding: 0;
  max-width: 24ch;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1.06; letter-spacing: -0.022em;
  color: var(--ink);
}
.vision-sub {
  max-width: 58ch;
  margin: clamp(26px, 4.5vh, 44px) auto 0;
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.62;
  color: var(--ink-72);
}

/* ---------- the proof strip: three small honest screens ---------- */
.shot-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(44px, 6.5vh, 76px);
}
.shot-strip .card { padding: clamp(12px, 1.6vw, 18px); border-radius: 22px; }
.shot-strip .card img { border-radius: 12px; }
.shot-strip figcaption { font-size: 14px; line-height: 1.45; }
@media (max-width: 760px) {
  .shot-strip { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---------- the deal, in plain print at the end ---------- */
.deal-print {
  max-width: 54ch;
  margin: clamp(30px, 4.5vh, 48px) auto 0;
  font-size: 13.5px; line-height: 1.65;
  color: rgba(42, 15, 28, 0.62);
  text-align: center;
}

/* September 2026: specialist product story, on the existing living sky. */
html { scroll-padding-top: 2rem; }
body { overflow-x: clip; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -5rem; left: 16px; z-index: 20; padding: 16px; max-width: calc(100% - 32px); background: var(--paper); color: var(--paper-ink); }
.skip-link:focus { top: 1rem; }
.site-header { position: relative; z-index: 4; max-width: 1280px; margin: auto; padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: flex; align-items: center; gap: 12px; font: 800 20px var(--display); letter-spacing: .15em; }
.brand-link img { border-radius: 50%; }
/* Let enlarged text wrap within the available flex/grid column. */
.site-header > *, .brand-link > *, .workflow-grid > *, .guide-grid > *, .section-heading > * { min-width: 0; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.site-header nav a { padding-block: 12px; }
.site-header .nav-cta { padding: 12px 20px; border: 1px solid #a56a63; border-radius: 999px; }
.site-header a:hover, .text-link:hover { color: var(--amber); }
.wrap { max-width: 1240px; padding-inline: clamp(24px, 6vw, 80px); }
.panel { padding: clamp(76px, 9vw, 136px) 0; }
.eyebrow { font-size: .82rem; letter-spacing: .16em; line-height: 1.65; color: #ffc29f; margin-bottom: 24px; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.4rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 28px; }
.hero { height: auto; min-height: min(850px, 92svh); padding: 48px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: center; }
.hero-copy { text-shadow: 0 0 1px #160a12, 0 1px 3px #160a12; }
.hero-copy .btn { text-shadow: none; }
h1 { font: 760 clamp(2.85rem, 5.6vw, 5.2rem)/1.04 var(--display); letter-spacing: -.055em; margin: 0 0 28px; }
h1 span { color: var(--coral); }
.hero-description { font-size: clamp(1.1rem, 1.65vw, 1.3rem); line-height: 1.6; max-width: 39ch; color: #efdad5; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 24px; margin-top: 32px; }
.btn { font-size: 1rem; min-height: 48px; }
.text-link { display: inline-block; font-size: 1rem; line-height: 1.6; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.platform-note, .support-note { font-size: .875rem; line-height: 1.65; color: #e3c3be; }
.platform-note { margin-top: 22px; max-width: 36ch; }
.product-hero { max-width: 300px; justify-self: center; width: 100%; }
.phone-shell { overflow: hidden; border-radius: 36px; background: #200e1a; border: 1px solid #775152; box-shadow: 0 30px 80px #08030880, 0 0 90px #ff8c6b16; }
.phone-shell img { width: 100%; height: auto; }
.product-hero figcaption, .product-detail figcaption { margin-top: 18px; font-size: .82rem; line-height: 1.5; text-align: center; color: #ead0c9; }
.section-intro { max-width: 57ch; font-size: 1.2rem; line-height: 1.6; color: #efdad5; }
.workflow-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 38px 0 24px; }
.workflow-grid li { padding: 30px; background: #29141f; border: 1px solid #79504f; border-radius: 24px; }
.step-index { display: block; font-size: .8rem; letter-spacing: .12em; font-weight: 650; color: #ffc29f; margin-bottom: 34px; }
h3 { font: 700 clamp(1.3rem, 2.2vw, 1.65rem)/1.2 var(--display); letter-spacing: -.025em; }
.workflow-grid p { color: #efdad5; font-size: 1rem; line-height: 1.65; margin-top: 14px; }
.support-note { max-width: 75ch; }
.feature-pair { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 112px); align-items: center; }
.feature-pair.reverse { grid-template-columns: 1.1fr .9fr; }
.product-detail { width: min(100%, 285px); justify-self: center; }
.feature-copy { border-radius: 28px; padding: 32px; background: #25121e; color: var(--ink); border: 1px solid #6f484a; }
.feature-copy .lede { font-size: 1.2rem; color: #efdad5; }
.feature-copy .body { margin: 22px 0; color: #efdad5; font-size: 1rem; }
.feature-list { list-style: none; margin: 24px 0; }
.feature-list li { padding: 20px 0; border-top: 1px solid #69484b; }
.feature-list strong { display: block; font-size: 1.05rem; margin-bottom: 8px; }
.feature-list span { font-size: 1rem; color: #efdad5; line-height: 1.65; display: block; }
.evidence-card { background: var(--paper); color: var(--paper-ink); border-radius: 32px; padding: clamp(28px, 5vw, 64px); }
.evidence-card .eyebrow { color: #8c342b; }
.evidence-card .lede { color: #46212d; max-width: 58ch; text-shadow: none; }
.evidence-card > p:not(.eyebrow):not(.lede) { max-width: 72ch; font-size: 1rem; line-height: 1.7; margin-top: 22px; }
.evidence-links { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 30px; }
.evidence-links a, .support-note a, .consent-copy a, .privacy-promise a { text-decoration: underline; text-underline-offset: 4px; }
.evidence-links a { font-size: .95rem; font-weight: 600; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; }
#guides > .wrap > .section-heading, #faq > .wrap { background: #25121e; border-radius: 28px; padding: 32px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-grid > a { display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: var(--paper); color: var(--paper-ink); transition: transform .2s; border: 2px solid transparent; }
.guide-grid > a:hover { transform: translateY(-4px); border-color: #a84337; }
.guide-category { font-size: .8rem; color: #8c342b; letter-spacing: .1em; margin-bottom: 36px; font-weight: 650; }
.guide-grid h3 { font-size: 1.7rem; margin-bottom: 16px; }
.guide-grid p { font-size: 1rem; line-height: 1.6; margin-bottom: 24px; }
.guide-arrow { font-size: 1.5rem; margin-top: auto; align-self: end; }
.faq-list { margin: 38px 0 28px; }
.faq-list details { border-top: 1px solid #79504f; }
.faq-list details:last-child { border-bottom: 1px solid #79504f; }
.faq-list summary { cursor: pointer; padding: 24px 32px 24px 0; font-size: 1.1rem; line-height: 1.45; font-weight: 650; }
.faq-answer { max-width: 72ch; padding: 0 0 26px; color: #efdad5; font-size: 1rem; line-height: 1.7; }
.finale { padding-top: 80px; }
.finale-inner { padding-bottom: 60px; }
.eyebrow-dark { color: #381722; }
.finale-sub { color: #381722; }
.waitlist { width: min(620px, 100%); }
.waitlist .btn { white-space: normal; }
.waitlist input::placeholder { color: #79585e; }
.waitlist button:disabled { opacity: .75; cursor: wait; }
.waitlist-note { color: #381722; font-size: .9rem; }
.consent-copy { max-width: 72ch; font-size: .82rem; line-height: 1.7; color: #381722; margin-top: 20px; }
.privacy-promise { margin-top: 38px; background: var(--paper); color: var(--paper-ink); border-radius: 24px; padding: 26px 30px; max-width: 62ch; text-align: left; }
.privacy-promise p { margin-top: 10px; line-height: 1.65; font-size: .95rem; }
.footer { color: #381722; }
.footer nav { flex-wrap: wrap; gap: 16px 24px; }
.footer nav a { padding-block: 8px; }
.disclaimer { color: #381722; max-width: 100%; font-size: .82rem; }
@media (max-width: 900px) {
  .hero-grid { gap: 28px; grid-template-columns: 1.2fr 1fr; }
  .site-header { padding: 20px 28px; }
  .site-header nav { gap: 16px; }
  .workflow-grid, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .step-index, .guide-category { margin-bottom: 18px; }
  .feature-pair, .feature-pair.reverse { gap: 32px; }
  .feature-copy { padding: 26px; }
}
@media (max-width: 640px) {
  .site-header { padding: 16px 24px; flex-wrap: wrap; }
  .site-header nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: .85rem; }
  .site-header .nav-cta { padding: 9px 14px; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-description { max-width: 40ch; }
  .desktop-break { display: none; }
  .product-hero { max-width: 270px; }
  .hero-cta { gap: 20px; }
  .feature-pair, .feature-pair.reverse { grid-template-columns: 1fr; }
  .feature-copy { order: 0; }
  .product-detail { order: 1; max-width: 270px; }
  .section-heading { align-items: start; flex-direction: column; }
  #faq > .wrap { margin-inline: 16px; padding-inline: 24px; }
  #guides > .wrap > .section-heading { padding: 24px; }
  .finale-head { font-size: clamp(2.8rem, 12vw, 4rem); }
  .footer { padding-inline: 24px; }
  .consent-copy { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.hero-grid > *, .feature-pair > * { min-width: 0; }
@media (max-width: 640px) { .feature-copy h2 { font-size: 2rem; } }
/* The final conversion surface stays readable even before the canvas scrolls. */
.finale { background: linear-gradient(160deg,#ffb080,#ffc269); border-radius: 48px 48px 0 0; }
h1 span { display: block; text-wrap: balance; }
.motion-toggle { font: 500 .82rem var(--text); color: #efdad5; background: #25121e; border: 1px solid #79504f; border-radius: 999px; padding: 12px 16px; cursor: pointer; }
@media (max-width: 1100px) { .site-header { flex-wrap: wrap; } .motion-toggle { order: 2; } .site-header nav { order: 3; } }
@media (max-width: 640px) { h1 span { max-width: 10ch; } .motion-toggle { max-width: 160px; } }

/* Native glanceable surfaces: real UI, still devices, no decorative glass. */
.glance-layout, .workout-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.glance-layout > *, .workout-layout > * { min-width: 0; }
.glance-device-row { display: flex; align-items: center; justify-content: center; gap: 18px; }
.glance-phone { width: 58%; }
.glance-watch { width: 36%; }
.capture-note { margin-top: 24px; font-size: .82rem; line-height: 1.6; text-align: center; color: #efdad5; }
.surface-note { font-size: .95rem; line-height: 1.65; color: #efdad5; }
.surface-note a { text-decoration: underline; text-underline-offset: 4px; }
.surface-note + .text-link { display: inline-block; margin-top: 26px; }
.workout-demo { padding: 24px 12px; border-radius: 32px; background: #20131e; }
.workout-example img { width: min(100%, 310px); margin-inline: auto; }
.workout-example figcaption { min-height: 3.4em; margin: 14px auto 24px; text-align: center; font-size: 1rem; line-height: 1.6; color: #fff4ec; }
.workout-controls:not([hidden]) { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.workout-controls button { font: 600 .82rem/1.25 var(--text); padding: 14px 11px; min-height: 44px; border: 1px solid #795a6b; border-radius: 99px; background: #302130; color: #efdad5; cursor: pointer; }
.workout-controls button[aria-pressed="true"] { background: #fff4ec; border-color: #fff4ec; color: #33141f; }
.workout-controls button:hover { border-color: #ffc29f; }
.workout-demo .capture-note { margin: 20px 10px 0; }
@media (max-width: 1000px) {
  .glance-layout { grid-template-columns: 1fr; }
  .glance-device-row { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .workout-layout { grid-template-columns: 1fr; }
  .workout-layout .feature-copy { order: -1; }
  .workout-demo { width: 100%; max-width: 460px; justify-self: center; }
  .glance-device-row { flex-direction: column; gap: 32px; }
  .glance-phone { width: min(100%, 270px); }
  .glance-watch { width: 180px; }
}

/* A quiet signup: essential consent stays visible; secondary context is on demand. */
.finale-head { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 20px; }
.finale-sub { max-width: 36ch; font-size: 1.125rem; }
.finale .waitlist { margin-top: 28px; }
.finale .waitlist-note { margin-top: 14px; }
/* Launch day: Apple's badge takes the form's place, unaltered and with clear space. */
.app-store-badge { display: inline-block; margin-top: 28px; padding: 6px; border-radius: 14px; line-height: 0; }
.app-store-badge img { display: block; width: 180px; height: 60px; }
.app-store-badge:focus-visible { outline: 2px solid #381722; outline-offset: 4px; }
/* launch day: the hero's badge sits in the button row, on the dark sky */
.hero-badge { margin-top: 0; padding: 0; }
.hero-badge img { width: 162px; height: 54px; }
.hero-badge:focus-visible { outline-color: #fff4ec; }
.finale .consent-copy { max-width: 60ch; margin-top: 18px; font-size: .875rem; line-height: 1.6; }
.finale-inner { padding-bottom: 36px; }
.info-disclosure { width: min(620px, 100%); margin-top: 8px; color: #381722; }
.info-disclosure > summary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; max-width: 100%; min-height: 44px; margin-inline: auto; padding: 10px 12px;
  cursor: pointer; list-style: none; font-size: .875rem; font-weight: 600; line-height: 1.5;
  border-radius: 999px;
}
.info-disclosure > summary::-webkit-details-marker { display: none; }
.info-disclosure > summary:hover { background: #3817220d; }
.info-disclosure > summary:focus-visible { outline: 2px solid #381722; outline-offset: 3px; }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: 0 0 20px; border: 1.5px solid currentColor; border-radius: 50%; font: 700 14px/1 Georgia,serif; }
.info-disclosure[open] .info-icon { background: #381722; color: #fff9f4; border-color: #381722; }
.info-content { padding: 24px; margin-top: 10px; background: var(--paper); border: 1px solid #c78260; border-radius: 20px; text-align: left; font-size: .9375rem; line-height: 1.65; overflow-wrap: anywhere; }
.info-content > * + * { margin-top: 20px; }
.info-content h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 6px; }
.info-content p + p { margin-top: 10px; }
.info-content a { text-decoration: underline; text-underline-offset: 3px; }
.info-content nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.info-content nav a { display: inline-flex; align-items: center; min-height: 44px; }
.finale .footer { max-width: 1240px; padding: 24px clamp(24px, 6vw, 80px) 32px; gap: 16px 32px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.finale .footer nav { gap: 8px 24px; }
.finale .footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-copyright { flex-basis: 100%; font-size: .8125rem; line-height: 1.5; }
@media (max-width: 640px) {
  .finale .footer { justify-content: center; text-align: center; }
  .footer-brand, .finale .footer nav { justify-content: center; }
  .finale .footer nav { gap: 4px 20px; }
  .info-content { padding: 20px; }
}

/* Evidence-led benefits: concise first, study detail on demand. */
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.benefit-point { min-width: 0; padding-top: 22px; border-top: 1px solid #d5b7a7; }
.benefit-label { display: block; margin-bottom: 16px; font-size: .8rem; line-height: 1.5; letter-spacing: .07em; color: #87332b; font-weight: 700; }
.benefit-point h3 { font-size: 1.45rem; }
.benefit-point p { margin-top: 12px; font-size: 1rem; line-height: 1.65; }
.benefit-context { display: block; margin-top: 16px; font-size: .82rem; line-height: 1.55; color: #654651; }
.science-quote { margin: 36px 0 0; padding: 28px; border-radius: 20px; background: #f3e1d5; }
.science-quote blockquote { max-width: 36ch; font: 650 clamp(1.4rem, 2.8vw, 2rem)/1.3 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.science-attribution { margin-top: 16px; max-width: 68ch; font-size: .875rem; line-height: 1.65; color: #583640; }
.science-attribution span { display: block; margin-top: 6px; }
.science-attribution a, .science-details a { text-decoration: underline; text-underline-offset: 3px; }
.science-details { margin-top: 24px; border-block: 1px solid #d5b7a7; }
.science-details summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 0; cursor: pointer; font-weight: 650; font-size: 1rem; }
.science-details summary::after { content: '+'; margin-left: auto; font-size: 1.4rem; }
.science-details[open] summary::after { content: '−'; }
.science-details-body { max-width: 75ch; padding-bottom: 24px; }
.science-details-body p { margin-top: 16px; font-size: 1rem; line-height: 1.75; }
@media (max-width: 800px) { .benefit-grid { grid-template-columns: 1fr; gap: 24px; } .science-quote { padding: 22px; } }
