/* Home. The app's own screens carry the page: a warm top light, ink actions,
   one ember accent and Luis's 3D renders on their Area washes. Drawn phones
   are pictures: 1em inside a screen is 10 artboard pixels of a 390 × 844
   iPhone, so every frame scales with its container. */

.home {
  --base: #FFFFFF;
  --sunken: #F8F4F0;
  --line: #EEE8E2;
  --night: #111113;
  --night-2: #1E1C1A;
  --night-tx: #F6F2EE;
  --night-tx2: #B9B1AA;
  --bezel: #1C1C1E;
  --island: #050505;
  --cam-hi: #3D322B;
  --cam-lo: #14110F;
  --well: #F6F1EC;
  --ui-paper: #FFFFFF;
  --ui-ink: #111113;
  --ui-mute: #6E6862;
  --ui-line: #EFE9E3;
  --ui-track: #ECE7E2;
  --ui-pill: #F3EEE9;
  --ui-open: #CFC8C1;
  --light: rgba(244, 106, 31, 0.16);
  --light-soft: rgba(255, 170, 110, 0.14);
  --shadow-device: 0 44px 80px -36px rgba(48, 28, 12, 0.5), 0 16px 32px -16px rgba(48, 28, 12, 0.28);
  --shadow-tag: 0 10px 28px -10px rgba(48, 28, 12, 0.3), 0 1px 3px rgba(48, 28, 12, 0.1);
  background: var(--base);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home .shell {
  max-width: 1200px;
  padding-inline: clamp(20px, 4vw, 40px);
}

.home .site-header {
  border-bottom-color: transparent;
  background: color-mix(in srgb, var(--base) 78%, transparent);
}

.home .site-header .shell {
  min-height: 72px;
}

/* The header and footer are shared with every page (styles.css); Home only
   fills its own secondary buttons. */
.home main .lbtn.secondary {
  background: var(--inverse);
  color: var(--txinv);
  border: 0;
}

.home h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-head > p {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--tx2);
  max-width: 46ch;
  margin-inline: auto;
}

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

.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(70% 60% at 78% -6%, var(--light), transparent 70%),
    radial-gradient(60% 50% at 6% -10%, var(--light-soft), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 104px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.hero-copy h1 {
  font-size: clamp(46px, 5.4vw, 74px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  color: var(--neutral-500);
}

.hero-lede {
  max-width: 30em;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  color: var(--tx2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.hero-actions .lbtn {
  min-height: 58px;
  padding: 0 30px;
  font-size: 16px;
}

.hero-actions .lbtn .apple-glyph {
  width: 20px;
  height: 20px;
}

.hero-areas {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 34em;
}

.render-stack {
  display: flex;
  flex: none;
  padding-left: 10px;
}

.render-stack img {
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 5px;
  object-fit: contain;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 2px solid var(--base);
  box-shadow: var(--raised);
}

.hero-areas p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--tx2);
}

.hero-areas strong {
  color: var(--tx);
  font-weight: 600;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--tx2);
  margin-top: -8px;
}

.hero-footnote .i {
  color: var(--ember-ink);
  stroke-width: 2.2;
}

.hero-stage {
  margin: 0;
  width: 100%;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1.18;
  margin-inline: auto;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4%;
  border-radius: var(--radius-pill);
  background: radial-gradient(closest-side, var(--ember-wash), transparent);
}

.stage .device {
  position: absolute;
}

.device-scan {
  --w: 42%;
  --r: -6deg;
  left: 6%;
  top: 4%;
  transform: rotate(var(--r));
}

.device-reveal {
  --w: 45%;
  --r: 4deg;
  right: 3%;
  top: 9%;
  transform: rotate(var(--r));
}

.stage-arrow {
  position: absolute;
  left: 41%;
  top: -1%;
  width: 17%;
  fill: none;
  stroke: var(--tx);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.stage-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--tx);
  box-shadow: var(--shadow-tag);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.stage-tag b {
  font-family: var(--font-round);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.tag-skin { left: -1%; top: 30%; }
.tag-jaw { left: 3%; top: 50%; }

.hero-stage figcaption,
.demo-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  color: var(--tx2);
}

/* ----------------------------------------------------------- drawn phone */

.device {
  --w: 290px;
  position: relative;
  flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.032);
  border-radius: 15% / 7%;
  background: var(--bezel);
  box-shadow: var(--shadow-device);
  container-type: inline-size;
}

.device::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.ui {
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 12.5% / 5.8%;
  font-size: calc(100cqw / 39);
  line-height: 1.25;
  font-family: var(--font-sans);
  color: var(--ui-ink);
  background: var(--ui-paper);
  -webkit-user-select: none;
  user-select: none;
}

.ui > * {
  position: absolute;
}

.ui .i {
  width: 1.8em;
  height: 1.8em;
}

.ui b {
  font-weight: 600;
}

.ui small {
  display: block;
  font-size: inherit;
}

/* Drawn screens are pictures of the app in light mode: they keep light Area
   tokens even when the page itself is dark. */
.ui [data-domain="face"] { --acc: var(--face-accent); --accink: var(--face-ink); --accwash: var(--face-wash); }
.ui [data-domain="hair"] { --acc: var(--hair-accent); --accink: var(--hair-ink); --accwash: var(--hair-wash); }
.ui [data-domain="body"] { --acc: var(--body-accent); --accink: var(--body-ink); --accwash: var(--body-wash); }
.ui [data-domain="style"] { --acc: var(--style-accent); --accink: var(--style-ink); --accwash: var(--style-wash); }

.ui-warm {
  background:
    radial-gradient(130% 42% at 50% -6%, var(--light), transparent 72%),
    var(--ui-paper);
}

.ui-cam {
  color: var(--night-tx);
  background: radial-gradient(75% 46% at 50% 40%, var(--cam-hi), var(--cam-lo) 74%);
}

.sb {
  inset: 0 0 auto;
  height: 6.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6em 2.8em 0 3.6em;
  z-index: 4;
}

.sb > span {
  font-size: 1.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.island {
  position: absolute;
  left: 50%;
  top: 1.1em;
  width: 12.2em;
  height: 3.5em;
  margin-left: -6.1em;
  border-radius: var(--radius-pill);
  background: var(--island);
}

.sb-icons {
  width: 6.8em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
}

.hi {
  left: 34%;
  right: 34%;
  bottom: 1%;
  height: 0.5em;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.ui-cta {
  left: 5.2%;
  right: 5.2%;
  bottom: 4%;
  height: 6.2%;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--ui-ink);
  color: var(--ui-paper);
  font-size: 1.6em;
  font-weight: 600;
}

.ui-cta::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 100%;
  height: 3em;
  background: linear-gradient(transparent, var(--ui-paper));
}

/* camera */
.cam-close {
  left: 5.2%;
  top: 7.3%;
  width: 9.2%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.cam-title {
  left: 0;
  right: 0;
  top: 8.2%;
  text-align: center;
  font-size: 1.7em;
  font-weight: 600;
}

.cam-modes {
  left: 0;
  right: 0;
  top: 13.4%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
}

.cam-modes > span,
.cam-modes > b {
  padding: 0.4em 0.75em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.15em;
  font-weight: 600;
}

.cam-modes > b {
  background: var(--ui-paper);
  color: var(--ui-ink);
}

.cam-modes > i {
  width: 1px;
  height: 1.8em;
  background: rgba(255, 255, 255, 0.3);
}

.cam-modes > em {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  background: var(--ui-paper);
  color: var(--ui-ink);
}

.cam-modes > em .i {
  width: 1.5em;
  height: 1.5em;
  stroke-width: 2.4;
}

.cam-oval {
  left: 18.5%;
  width: 63%;
  top: 17.8%;
  height: 39%;
  overflow: hidden;
  border: 0.25em solid var(--ui-paper);
  border-radius: 50%;
  background: var(--cam-lo);
}

.cam-oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.08) translateY(4%);
}

.cam-checks {
  left: 6%;
  right: 6%;
  top: 59.2%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em;
}

.cam-checks > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.4em 0.75em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.1em;
  font-weight: 600;
}

.cam-checks .i {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2.4;
}

.cam-hint {
  left: 0;
  right: 0;
  top: 64%;
  width: max-content;
  margin-inline: auto;
  padding: 0.55em 1.15em;
  border-radius: var(--radius-pill);
  background: var(--ui-paper);
  color: var(--ui-ink);
  font-size: 1.3em;
  font-weight: 600;
}

.cam-shutter {
  left: 39.7%;
  width: 20.6%;
  bottom: 6%;
  aspect-ratio: 1;
  border: 0.4em solid var(--ui-paper);
  border-radius: 50%;
}

.cam-shutter i {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--ui-paper);
}

.cam-help {
  right: 11.5%;
  bottom: 8.2%;
  width: 10.3%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.cam-body {
  left: 0;
  right: 0;
  top: 18%;
  height: 47%;
  display: flex;
  justify-content: center;
}

.cam-body img {
  width: auto;
  height: 100%;
}

/* The body scan uses the shipped capture control: the guide line sits under
   the figure, above the shutter. */
.cam-body ~ .cam-hint {
  top: 69%;
}

/* gauges: 270° arcs, a neutral track and the reading in ink (a measure, never a ring) */
.gauge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.g-track,
.g-value {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}

.g-track { stroke: var(--ui-track); }
.g-value { stroke: var(--ui-ink); }

.g-tick {
  stroke: var(--ui-mute);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.gauge text {
  fill: var(--ui-mute);
  font-size: 9px;
  font-weight: 600;
}

.gauge > b {
  position: absolute;
  left: 0;
  right: 0;
  top: 31%;
  text-align: center;
  line-height: 1;
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.gauge > small {
  position: absolute;
  left: 0;
  right: 0;
  top: 66%;
  text-align: center;
  color: var(--ui-mute);
}

/* reveal */
.rv-title {
  left: 4%;
  right: 4%;
  top: 9.8%;
  text-align: center;
  font-family: var(--font-round);
  font-size: 2.25em;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rv-saved {
  left: 0;
  right: 0;
  top: 14.4%;
  width: max-content;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.4em 0.85em;
  border-radius: var(--radius-pill);
  background: var(--ui-paper);
  box-shadow: 0 0.2em 0.8em rgba(40, 24, 12, 0.12);
  font-size: 1.15em;
  font-weight: 600;
}

.rv-saved .i {
  width: 1.2em;
  height: 1.2em;
  stroke-width: 2.4;
}

.rv-gauge {
  left: 26%;
  width: 48%;
  top: 19%;
  aspect-ratio: 1;
}

.rv-gauge > b { font-size: 5.6em; }
.rv-gauge > small { font-size: 1.25em; }

.rv-note {
  left: 11%;
  right: 11%;
  top: 41.8%;
  text-align: center;
  font-size: 1.12em;
  line-height: 1.35;
  color: var(--ui-mute);
}

.rv-face {
  left: 33%;
  width: 34%;
  top: 19%;
  height: 21%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--cam-lo);
}

.rv-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.rv-minis {
  left: 5.2%;
  right: 5.2%;
  top: 48%;
  height: 11.4%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em;
}

.mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  border-radius: 1.6em;
  background: var(--accwash);
  color: var(--accink);
}

.mini .gauge {
  position: relative;
  width: 4.8em;
  height: 4.8em;
}

.mini .g-track { stroke: rgba(0, 0, 0, 0.08); stroke-width: 4.5; }
.mini .g-value { stroke: var(--acc); stroke-width: 4.5; }

.mini .gauge > b {
  top: 32%;
  font-size: 1.5em;
  color: var(--ui-ink);
}

.mini-name {
  font-size: 1.25em;
  font-weight: 600;
}

.rv-working {
  left: 5.2%;
  right: 5.2%;
  top: 61.4%;
  height: 32%;
  padding: 1.5em 1.6em;
  border-radius: 2em;
  background: var(--ui-paper);
  box-shadow: 0 0.3em 1.6em rgba(40, 24, 12, 0.1);
}

.rv-working-title {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.45em;
  font-weight: 700;
}

.rv-row {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  column-gap: 1em;
  align-items: center;
  padding: 0.65em 0;
  border-bottom: 1px solid var(--ui-line);
}

.rv-row > i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--ui-ink);
  color: var(--ui-paper);
}

.rv-row .i {
  width: 1.4em;
  height: 1.4em;
  stroke-width: 2.6;
}

.rv-row > b { font-size: 1.4em; }
.rv-row > small { font-size: 1.12em; color: var(--ui-mute); }

/* reading */
.nav-back {
  left: 5.2%;
  top: 7%;
  width: 9.2%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ui-paper);
  box-shadow: 0 0.2em 0.8em rgba(40, 24, 12, 0.14);
}

.nav-back .i { stroke-width: 2.2; }

.nav-title {
  left: 0;
  right: 0;
  top: 8%;
  text-align: center;
  font-size: 1.7em;
  font-weight: 600;
}

.rd-kicker {
  left: 6.2%;
  top: 14%;
  font-size: 1.15em;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ui-mute);
}

.rd-title {
  left: 6.2%;
  top: 16.4%;
  font-family: var(--font-round);
  font-size: 2.7em;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rd-card {
  left: 5.2%;
  right: 5.2%;
  top: 22.6%;
  height: 34.4%;
  border-radius: 2.4em;
  background: var(--ui-paper);
  box-shadow: 0 0.3em 1.6em rgba(40, 24, 12, 0.1);
}

.rd-card > * { position: absolute; }

.rd-gauge {
  left: 19%;
  width: 62%;
  top: 6%;
  aspect-ratio: 1;
}

.rd-gauge > b { font-size: 6.6em; }
.rd-gauge > small { font-size: 1.3em; }

.rd-pair {
  left: 5%;
  right: 5%;
  top: 6%;
  height: 72%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8em;
}

.rd-pair > span {
  position: relative;
  overflow: hidden;
  border-radius: 1.6em;
  background: var(--cam-lo);
}

.rd-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.rd-pair small {
  position: absolute;
  left: 0.8em;
  bottom: 0.8em;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--ui-paper);
  font-size: 1.1em;
  font-weight: 600;
}

.rd-verdict {
  left: 0;
  right: 0;
  bottom: 7%;
  width: max-content;
  margin-inline: auto;
  padding: 0.45em 1em;
  border-radius: var(--radius-pill);
  background: var(--ui-pill);
  color: var(--ui-mute);
  font-size: 1.3em;
  font-weight: 500;
}

.rd-facts {
  left: 5.2%;
  right: 5.2%;
  top: 58.6%;
  height: 9%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
}

.rd-facts > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.4em;
  border-radius: 1.7em;
  background: var(--ui-paper);
  box-shadow: 0 0.3em 1.4em rgba(40, 24, 12, 0.09);
}

.rd-facts small { font-size: 1.2em; color: var(--ui-mute); }
.rd-facts b { font-size: 1.9em; }

.rd-source {
  left: 6.7%;
  top: 69.6%;
  font-size: 1.15em;
  color: var(--ui-mute);
}

.rd-row {
  left: 5.2%;
  right: 5.2%;
  top: 72.8%;
  height: 7.6%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  padding: 0 1.4em;
  border-radius: 1.7em;
  background: var(--ui-paper);
  box-shadow: 0 0.3em 1.4em rgba(40, 24, 12, 0.09);
}

.rd-row > b { font-size: 1.45em; }
.rd-row > small { font-size: 1.12em; color: var(--ui-mute); }

.rd-row > .i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--ui-mute);
}

/* today */
.td-hello {
  left: 6.2%;
  top: 7.2%;
  font-size: 1.3em;
  color: var(--ui-mute);
}

.td-title {
  left: 6.2%;
  top: 9.1%;
  font-family: var(--font-round);
  font-size: 3.3em;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.td-tools {
  right: 5.2%;
  top: 8.6%;
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.td-tools > i {
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  border-radius: 50%;
  background: var(--ui-paper);
  box-shadow: 0 0.2em 0.8em rgba(40, 24, 12, 0.12);
}

.td-tools > em {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.45em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--ui-paper);
  box-shadow: 0 0.2em 0.8em rgba(40, 24, 12, 0.12);
  font-size: 1.4em;
  font-style: normal;
  font-weight: 600;
}

.td-tools > em .i {
  width: 1.1em;
  height: 1.1em;
  color: var(--ember);
}

.td-next {
  left: 5.2%;
  right: 5.2%;
  top: 15.4%;
  height: 22.6%;
  padding: 1.7em 1.8em;
  border-radius: 2.4em;
  background: var(--ui-paper);
  box-shadow: 0 0.3em 1.6em rgba(40, 24, 12, 0.1);
}

.td-next > small {
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ui-mute);
}

.td-next > b {
  display: block;
  margin-top: 0.15em;
  font-family: var(--font-round);
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.td-next > span:not([class]) {
  display: block;
  font-size: 1.3em;
  color: var(--ui-mute);
}

.td-next > img {
  position: absolute;
  right: 5%;
  top: 9%;
  width: 24%;
  height: auto;
  aspect-ratio: 1;
  padding: 0.6em;
  object-fit: contain;
  border-radius: 1.8em;
  background: var(--well);
}

.td-start {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 22%;
  height: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  border-radius: var(--radius-pill);
  background: var(--ui-ink);
  color: var(--ui-paper);
  font-size: 1.5em;
  font-weight: 600;
}

.td-start .i { width: 1em; height: 1em; }

.td-why {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  font-size: 1.15em;
  color: var(--ui-mute);
}

.td-why .i { width: 1.1em; height: 1.1em; }

.td-week {
  left: 3.6%;
  right: 3.6%;
  top: 40%;
  height: 8.4%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3em;
}

.td-week > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  border-radius: 1.4em;
}

.td-week small {
  font-size: 1.1em;
  color: var(--ui-mute);
}

.td-week b {
  display: grid;
  place-items: center;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  border: 0.16em solid var(--ui-track);
  font-size: 1.35em;
  font-variant-numeric: tabular-nums;
}

.td-week .done b { border-color: var(--ember); }

.td-week .now {
  background: var(--ui-paper);
  box-shadow: 0 0.2em 1em rgba(40, 24, 12, 0.12);
}

.td-week .now b { border-color: var(--ui-ink); }

.td-plan-head {
  left: 6.2%;
  right: 6.2%;
  top: 50.6%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.td-plan-head b {
  font-family: var(--font-round);
  font-size: 2em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.td-plan-head small {
  font-size: 1.25em;
  color: var(--ui-mute);
}

.td-plan {
  left: 5.2%;
  right: 5.2%;
  top: 55%;
  border-radius: 2.2em;
  background: var(--ui-paper);
  box-shadow: 0 0.3em 1.6em rgba(40, 24, 12, 0.1);
}

.td-item {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr) 2.6em;
  align-items: center;
  column-gap: 0.6em;
  padding: 1.15em 1.4em;
  border-bottom: 1px solid var(--ui-line);
}

.td-item:last-child { border-bottom: 0; }

.td-item > .i {
  grid-row: span 2;
  width: 2.2em;
  height: 2.2em;
  color: var(--ui-mute);
}

.td-item > b { font-size: 1.4em; }
.td-item > small { grid-column: 2; font-size: 1.1em; color: var(--ui-mute); }

.td-item > i {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  border: 0.15em solid var(--ui-open);
}

.td-item.is-done > i {
  border-color: var(--ember);
  background: var(--ember);
  color: var(--ui-paper);
}

.td-item.is-done > i .i {
  width: 1.4em;
  height: 1.4em;
  stroke-width: 2.8;
}

.tabbar {
  left: 0;
  right: 0;
  bottom: 0;
  height: 10.2%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  padding-top: 0.9em;
  border-top: 1px solid var(--ui-line);
  background: var(--ui-paper);
}

.tabbar > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  font-size: 1em;
  color: var(--ui-mute);
}

.tabbar > .on { color: var(--ui-ink); font-weight: 600; }

.tabbar .i { width: 2.3em; height: 2.3em; }

.tabbar > .tab-plus {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 5.4em;
  height: 3.8em;
  border-radius: 1.3em;
  background: var(--ui-ink);
  color: var(--ui-paper);
}

.tabbar > .tab-plus .i { stroke-width: 2.4; }

/* ------------------------------------------------------------------- how */

.how {
  background: var(--sunken);
}

.tour-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.tour-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--sunken);
}

.tour-tab {
  min-width: 44px;
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--tx2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}

.tour-tab[aria-selected="true"] {
  background: var(--card);
  color: var(--tx);
  box-shadow: var(--raised);
}

.tour-playback {
  order: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--tx);
  cursor: pointer;
}

.tour-playback:disabled { opacity: 0.45; cursor: default; }

.tour-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1080px;
  margin-inline: auto;
}

.tour-panel + .tour-panel {
  margin-top: 72px;
}

.js .tour-panels {
  display: grid;
}

.js .tour-panel {
  grid-area: 1 / 1;
  margin-top: 0;
}

/* Inactive panels reserve space but remain hidden, inert and absent from AT. */
.js .tour-panel[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}

.tour-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.tour-copy h3 {
  font-family: var(--font-round);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tour-copy > p {
  max-width: 40ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--tx2);
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ticks .i {
  margin-top: 2px;
  color: var(--ember-ink);
  stroke-width: 2.4;
}

.tour-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 36px 24px;
  border-radius: var(--radius-card);
  background: radial-gradient(60% 55% at 50% 45%, var(--ember-wash), transparent 75%), var(--card);
}

.tour-visual .device { --w: 268px; }

.tour-panel:not([hidden]) .tour-visual .device {
  animation: tour-reveal 520ms var(--ease-out);
}

@keyframes tour-reveal {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
}

.reading-demo {
  width: 100%;
  max-width: 420px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--card);
  font-size: 14px;
  line-height: 20px;
}

.reading-demo[hidden] { display: none; }

.reading-demo label {
  display: block;
  font-weight: 600;
}

.reading-demo input {
  width: 100%;
  min-height: 44px;
  accent-color: var(--ember);
}

.reading-demo output {
  display: block;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.reading-demo p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 18px;
  color: var(--tx2);
}

/* ----------------------------------------------------------------- areas */

.area-groups {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}

.area-column {
  display: grid;
  gap: 20px;
}

.area-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.area-group-head h3 {
  font-family: var(--font-round);
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.area-group-head p {
  font-size: 15px;
  line-height: 22px;
  color: var(--tx2);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.area-column + .area-column .area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.area-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 18px 20px 20px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--accwash);
  color: var(--accink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 520ms var(--ease-spring), box-shadow 320ms var(--ease-out);
}

.area-tile img {
  width: 100%;
  height: 150px;
  margin: 4px 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(40, 24, 12, 0.14));
  transition: transform 620ms var(--ease-spring);
}

.area-tile::before,
.area-tile::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
}

.area-tile::before {
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--card) 70%, transparent);
}

.area-tile::after {
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9.5 6 6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9.5 6 6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.area-name {
  margin-top: 14px;
  font-family: var(--font-round);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.area-q {
  min-height: 40px;
  margin-top: 4px;
  font-size: 15px;
  line-height: 20px;
}

/* Hair's question sits in Face's tile, Cognition's in Mind's. */
.area-q:has(+ .area-q),
.area-q + .area-q {
  min-height: 0;
  margin-top: 2px;
}

@media (hover: hover) {
  .area-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--float);
  }

  .area-tile:hover img {
    transform: scale(1.06) translateY(-2px);
  }
}

.area-tile:active {
  transform: scale(0.98);
  transition-duration: 120ms;
}

.areas-more {
  margin: 36px auto 0;
  display: flex;
  width: max-content;
}

/* ----------------------------------------------------------------- trust */

.trust {
  --focus: var(--night-tx);
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(244, 106, 31, 0.16), transparent 70%),
    var(--night);
  color: var(--night-tx);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.trust-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.trust-intro p {
  max-width: 38ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--night-tx2);
}

.trust .text-link {
  color: var(--night-tx);
}

.principles-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.principles-table thead th {
  padding: 0 16px 14px 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--night-tx2);
}

.principles-table tbody th,
.principles-table td {
  padding: 22px 16px 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
  font-size: 17px;
  line-height: 1.5;
}

.principles-table tbody th {
  width: 44%;
  font-weight: 600;
}

.principles-table td {
  color: var(--night-tx2);
}

.trust-site {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 18px;
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  line-height: 22px;
  color: var(--night-tx);
}

.trust-site .i {
  width: 20px;
  height: 20px;
  color: var(--ember);
}

/* --------------------------------------------------------------- pricing */

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--card);
  box-shadow: var(--raised);
}

.plan-card h3 {
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
}

.plan-price {
  margin: 14px 0 4px;
  font-family: var(--font-round);
  font-size: 52px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.plan-price > span {
  margin-left: 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--tx2);
}

.plan-card > p:not(.plan-price) {
  font-size: 15px;
  line-height: 22px;
  color: var(--tx2);
}

.plan-note {
  margin-top: -4px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--tx);
}

.pricing-note {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  color: var(--tx2);
}

/* ------------------------------------------------------------------- faq */

.faq {
  background: var(--sunken);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}

.faq-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

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

.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
}

.faq-item > summary::-webkit-details-marker { display: none; }

.faq-item > summary .i {
  width: 20px;
  height: 20px;
  transition: transform 360ms var(--ease-spring);
}

.faq-item[open] > summary .i { transform: rotate(180deg); }

.faq-item > p {
  max-width: 60ch;
  padding: 0 32px 24px 2px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tx2);
}

/* ----------------------------------------------------------------- final */

.final {
  padding-bottom: clamp(40px, 5vw, 72px);
}

.final-invitation {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(56px, 8vw, 104px) 24px;
  overflow: hidden;
  border-radius: var(--radius-card);
  text-align: center;
  background:
    radial-gradient(70% 80% at 50% -10%, var(--light), transparent 70%),
    var(--sunken);
}

.final-invitation > * {
  position: relative;
}

.final-mark {
  width: 64px;
  height: 64px;
  border-radius: 22%;
  box-shadow: var(--raised);
}

.final-invitation h2 {
  font-size: clamp(44px, 6vw, 76px);
}

.final-invitation p {
  max-width: 34ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--tx2);
}

.final-invitation .lbtn {
  align-self: center;
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
}

.final-meta {
  font-size: 13px;
  line-height: 18px;
  color: var(--tx2);
}

.final-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-orbit img {
  position: absolute;
  width: clamp(64px, 8vw, 112px);
  height: auto;
  filter: drop-shadow(0 14px 16px rgba(40, 24, 12, 0.16));
}

.final-orbit img:nth-child(1) { left: 6%; top: 14%; transform: rotate(-8deg); }
.final-orbit img:nth-child(2) { left: 14%; top: 58%; width: clamp(52px, 6vw, 84px); transform: rotate(10deg); }
.final-orbit img:nth-child(3) { left: 2%; bottom: 6%; width: clamp(48px, 5vw, 72px); }
.final-orbit img:nth-child(4) { right: 7%; top: 12%; transform: rotate(8deg); }
.final-orbit img:nth-child(5) { right: 14%; top: 56%; width: clamp(52px, 6vw, 84px); transform: rotate(-12deg); }
.final-orbit img:nth-child(6) { right: 3%; bottom: 8%; width: clamp(48px, 5vw, 72px); }

/* ------------------------------------------------------------- platforms */

.platforms {
  padding-block: 0 clamp(56px, 6vw, 88px);
}

.platforms-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.platforms h2 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.02em;
}

.platforms-row p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 22px;
  color: var(--tx2);
}

.waitlist > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}

.waitlist > summary::-webkit-details-marker { display: none; }
.waitlist[open] > summary .i { transform: rotate(180deg); }

.waitlist-form {
  margin-top: 16px;
}

.waitlist-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.waitlist-form legend {
  margin-bottom: 8px;
  font-weight: 600;
}

.waitlist-form input[type="email"],
.waitlist-form select {
  min-height: 48px;
  max-width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--card);
  color: var(--tx);
  font: inherit;
}

.waitlist-form :disabled { opacity: 0.6; cursor: default; }

.consent-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  line-height: 1.5;
}

.consent-label input {
  width: 20px;
  height: 20px;
  flex: none;
}

#waitlist-status {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tx2);
}


/* ---------------------------------------------------------- the entrance */

/* One authored moment: the two phones settle, the tags land, the arrow draws
   and the reading fills. Everything starts visible without it. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: hero-rise 760ms var(--ease-out) both;
  }

  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 140ms; }
  .hero-copy > :nth-child(4) { animation-delay: 210ms; }
  .hero-copy > :nth-child(5) { animation-delay: 260ms; }

  .device-scan { animation: phone-settle 1100ms var(--ease-out) 120ms both; }
  .device-reveal { animation: phone-settle 1100ms var(--ease-out) 240ms both; }

  .stage-tag { animation: tag-pop 640ms var(--ease-spring) both; }
  .tag-skin { animation-delay: 820ms; }
  .tag-jaw { animation-delay: 940ms; }

  .stage-arrow path {
    stroke-dasharray: 1;
    animation: arrow-draw 700ms var(--ease-out) 700ms both;
  }

  .rv-gauge .g-value,
  .mini .g-value {
    animation: gauge-fill 1300ms var(--ease-out) 900ms both;
  }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
}

@keyframes phone-settle {
  from { opacity: 0; transform: translateY(40px) rotate(0deg) scale(0.96); }
  to { opacity: 1; transform: rotate(var(--r)); }
}

@keyframes tag-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.9); }
}

@keyframes arrow-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes gauge-fill {
  from { stroke-dasharray: 0 100; }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1099px) {
  .area-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .area-grid,
  .area-column + .area-column .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-column:first-child .area-tile:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    min-height: 0;
  }

  .area-column:first-child .area-tile:last-child img {
    grid-row: 1 / span 2;
    height: 110px;
    margin: 0;
  }

  .area-column:first-child .area-tile:last-child .area-name {
    margin-top: 0;
    align-self: end;
  }

  .tour-visual { min-height: 520px; }
  .tour-visual .device { --w: 248px; }
}

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 620px;
  }

  .stage {
    max-width: 560px;
  }

  .trust-grid,
  .faq-layout,
  .platforms-row {
    grid-template-columns: 1fr;
  }

  .tour-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tour-visual {
    order: -1;
    min-height: 0;
  }

  .tour-panel + .tour-panel { margin-top: 56px; }
}

@media (max-width: 719px) {
  .area-groups {
    grid-template-columns: 1fr;
  }

  .area-tile {
    min-height: 230px;
    padding: 14px 16px 16px;
  }

  .area-tile img { height: 120px; }
  .area-name { font-size: 18px; }
  .area-q { min-height: 38px; font-size: 14px; line-height: 19px; }

  .pricing-options {
    grid-template-columns: 1fr;
  }

  .final-orbit img:nth-child(2),
  .final-orbit img:nth-child(3),
  .final-orbit img:nth-child(5),
  .final-orbit img:nth-child(6) {
    display: none;
  }

  .final-orbit img:nth-child(1) { left: -2%; top: 4%; width: 72px; }
  .final-orbit img:nth-child(4) { right: -2%; top: 4%; width: 72px; }
}

@media (max-width: 599px) {
  .home .site-header .shell { min-height: 64px; }
  .home .primary-nav { max-height: calc(100svh - 64px); overflow-y: auto; }

  .hero-copy { gap: 22px; }
  .hero-actions { gap: 10px 20px; }
  .hero-actions .lbtn { min-height: 54px; padding: 0 24px; font-size: 16px; }
  .hero-areas { align-items: flex-start; }
  .render-stack img { width: 38px; height: 38px; }

  .stage { aspect-ratio: 1 / 1.28; }
  .device-scan { --w: 47%; left: 1%; top: 5%; }
  .device-reveal { --w: 50%; right: 0; top: 9%; }
  .stage-arrow { left: 40%; top: 0; width: 20%; }
  .stage-tag { padding: 7px 11px; font-size: 11px; gap: 6px; }
  .stage-tag b { font-size: 14px; }
  .tag-skin { left: 0; top: 34%; }
  .tag-jaw { left: 2%; top: 52%; }

  .section-head { text-align: left; margin-inline: 0; }
  .section-head > p { margin-inline: 0; }

  .tour-controls { justify-content: flex-start; flex-wrap: wrap; }
  .tour-tabs { flex: 1; min-width: 0; }
  .tour-tab { flex: 1; padding: 0 8px; font-size: 14px; }
  .tour-visual { padding: 28px 12px; }
  .tour-visual .device { --w: 236px; }

  .area-tile img { height: 104px; }

  .principles-table thead { display: none; }

  .principles-table tbody th,
  .principles-table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    font-size: 16px;
  }

  .principles-table tbody th { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .principles-table td { padding: 6px 0 18px; }

  .plan-card { padding: 26px; }
  .plan-price { font-size: 44px; }

  .faq-item > summary { font-size: 16px; min-height: 68px; }
  .faq-item > p { padding-right: 8px; font-size: 15px; }
}

@media (max-width: 380px) {
  .hero-copy h1 { font-size: 40px; }
  .render-stack img:nth-child(n + 4) { display: none; }
  .stage-tag { padding: 6px 9px; font-size: 10px; gap: 5px; }
  .stage-tag b { font-size: 13px; }
}

/* ------------------------------------------------- dark, motion, print */

@media (prefers-color-scheme: dark) {
  .home {
    --base: #000000;
    --sunken: #121212;
    --line: rgba(255, 255, 255, 0.12);
    --night: #0C0C0D;
    --light: rgba(255, 122, 51, 0.22);
    --light-soft: rgba(255, 150, 90, 0.1);
    --shadow-device: 0 44px 80px -36px rgba(0, 0, 0, 0.9);
    --shadow-tag: 0 10px 28px -10px rgba(0, 0, 0, 0.8);
  }

  .device { --bezel: #3A3A3C; }
  .stage::before { opacity: 0.6; }
  .trust { border-block: 1px solid var(--line); }
  .area-tile { background: color-mix(in srgb, var(--acc) 15%, var(--card)); }
  .area-tile::before { background: rgba(255, 255, 255, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .device,
  .tour-tab,
  .area-tile,
  .plan-card,
  .stage-tag,
  .final-invitation {
    border: 1px solid CanvasText;
  }

  .tour-tab[aria-selected="true"] { border: 2px solid Highlight; }
}

@media print {
  .hero-stage,
  .tour-visual,
  .tour-controls,
  .final-orbit {
    display: none;
  }

  .home .tour-panels { display: block; }
  .home .tour-panel[hidden] { display: grid !important; visibility: visible !important; }
  .trust { background: none; color: CanvasText; }
}
