/* Decade: Human Video Hero + Real Night Stadium iOS UI */

:root {
  --void: #040506;
  --hair: rgba(244, 243, 238, 0.09);
  --hair-2: rgba(244, 243, 238, 0.16);
  --mute: rgba(244, 243, 238, 0.48);
  --soft: rgba(244, 243, 238, 0.68);
  --hot: #FF6145;
}

html, body { background: var(--void); color: var(--t1); }
body { font: 500 14px/1.55 var(--f-display); letter-spacing: -0.005em; }
main { display: block; }
h1, h2 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; color: var(--t1); text-wrap: balance; }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.02;
  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='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Minimal Viewfinder Header ---------- */
.hud-top {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(16px, env(safe-area-inset-top, 16px)) max(20px, 3vw) 16px;
  background: linear-gradient(180deg, rgba(4, 5, 6, 0.78) 0%, rgba(4, 5, 6, 0.25) 65%, rgba(4, 5, 6, 0) 100%);
  pointer-events: none;
  border-bottom: 1px solid transparent;
  transition: background-color 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.hud-top > * { pointer-events: auto; }
.hud-top.solid {
  background: rgba(4, 5, 6, 0.9);
  border-bottom-color: var(--hair);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.hud-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--t1); }
.hud-brand .brand-mk { width: 26px; height: auto; }
.hud-right { display: flex; align-items: center; gap: 22px; }
.hud-link { font-size: 13.5px; color: var(--soft); transition: color 180ms var(--ease); padding-block: 6px; }
.hud-link:hover { color: var(--t1); }
.hud-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--t1); color: var(--void); font-size: 13px; font-weight: 600;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.hud-cta:hover { background: #FFFFFF; }
.hud-cta:active { transform: scale(0.97); }
.hud-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; overflow: hidden; }
.hud-progress i { display: block; width: 100%; height: 100%; background: rgba(244, 243, 238, 0.42); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 720px) { .hud-link.wide { display: none; } }

.pill-ios { min-height: 40px; padding: 0 18px; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.pill-ios .ic-apple { width: 15px; height: 15px; font-size: 15px; transform: translateY(-1px); flex: none; }
.volt { color: var(--volt); }
.sec-sub { font-size: 15px; line-height: 1.55; color: var(--soft); max-width: 42ch; }
.sec-note { margin-top: 16px; font-size: 12.5px; color: var(--mute); }

.uline-tabs { display: inline-flex; flex-wrap: nowrap; gap: 20px; border-bottom: 1px solid var(--hair); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.uline-tabs::-webkit-scrollbar { display: none; }
.utab {
  position: relative; flex: none; min-height: 36px; padding: 6px 0 10px; border: 0; background: transparent;
  color: var(--mute); font: 500 13.5px/1 var(--f-display); cursor: pointer; white-space: nowrap;
  transition: color 180ms var(--ease);
}
.utab:hover { color: var(--t1); }
.utab[aria-selected="true"], .utab.on { color: var(--t1); }
.utab[aria-selected="true"]::after, .utab.on::after { content: ""; position: absolute; inset: auto 0 -1px; border-block-end: 2px solid var(--volt); }

/* ---------- HERO · Seamless Human Film + Pure Orb & Large Spoken Type ---------- */
.hero-wrap { position: relative; }
.hero-stage {
  position: relative; min-height: 100dvh; width: 100%;
  display: flex; align-items: flex-end;
  padding: calc(88px + env(safe-area-inset-top, 0px)) max(24px, 4.5vw) clamp(36px, 6vh, 64px);
  overflow: clip; background: var(--void);
  opacity: calc(1 - 0.65 * var(--hp, 0));
}
.hero-media { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--void); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  transform: scale(calc(1 + 0.05 * var(--hp, 0))); will-change: transform;
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 5, 6, 0.34) 0%, rgba(4, 5, 6, 0) 20%, rgba(4, 5, 6, 0) 48%, rgba(4, 5, 6, 0.72) 82%, var(--void) 100%);
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero-stage { position: sticky; top: 0; height: 100dvh; z-index: 1; }
}

.hero-inner {
  position: relative; z-index: 3; width: 100%; max-width: 1320px; margin-inline: auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero-copy {
  width: min(420px, 100%);
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 14px;
}
.hero-copy h1 { font-size: clamp(2.15rem, 3.6vw, 3.2rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 13ch; }
.hero-lead { font-size: 15px; line-height: 1.5; color: var(--soft); max-width: 34ch; text-wrap: balance; }
.hero-ctas { display: flex; align-items: center; gap: 12px; margin-top: 4px; }

/* Pure Cinema Riley Orb + Large Spoken Typography (zero widgets) */
.riley-voice {
  width: min(470px, 100%);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding-bottom: 4px;
}
.rv-orb-btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: transparent;
  cursor: pointer; text-align: left;
}
.rv-orb { width: 48px; height: 48px; border-radius: 50%; display: block; flex: none; }
.rv-meta { display: grid; gap: 2px; }
.rv-name { font-size: 14px; font-weight: 600; color: var(--t1); text-shadow: 0 1px 12px rgba(4, 5, 6, 0.85); }
.rv-state { font-size: 12.5px; color: var(--soft); transition: color 220ms var(--ease); text-shadow: 0 1px 12px rgba(4, 5, 6, 0.85); }
.rv-orb-btn.on .rv-state { color: var(--t1); }
.hp-bars { display: inline-flex; align-items: center; gap: 2.5px; height: 14px; margin-left: 4px; }
.hp-bars i { display: block; width: 2px; height: 4px; border-radius: 2px; background: rgba(244, 243, 238, 0.48); transition: height 90ms ease-out, background-color 220ms var(--ease); }
.rv-orb-btn.speaking .hp-bars i { background: var(--t1); }

.rv-lines { display: grid; width: 100%; }
.rv-line {
  grid-area: 1 / 1; align-self: end; margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem); font-weight: 400; letter-spacing: -0.028em; line-height: 1.24;
  color: var(--t1); text-wrap: balance; text-shadow: 0 4px 36px rgba(4, 5, 6, 0.94);
  opacity: 0; transform: translateY(10px); filter: blur(4px); pointer-events: none;
  transition: opacity 650ms var(--ease), transform 700ms var(--ease), filter 650ms var(--ease);
}
.rv-line.active { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
.rv-line.past { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
.rv-line span { opacity: 0.36; transition: opacity 240ms var(--ease); }
.rv-line span.lit { opacity: 1; }

@media (max-width: 900px) {
  .hero-stage { align-items: stretch; padding: calc(74px + env(safe-area-inset-top, 0px)) 20px max(28px, env(safe-area-inset-bottom, 28px)); }
  .hero-video { object-position: 52% 20%; }
  .hero-vignette { background: linear-gradient(180deg, rgba(4, 5, 6, 0.8) 0%, rgba(4, 5, 6, 0.42) 25%, rgba(4, 5, 6, 0.12) 45%, rgba(4, 5, 6, 0.84) 76%, var(--void) 100%); }
  .hero-inner { flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; }
  .hero-copy { align-items: center; text-align: center; gap: 11px; }
  .hero-copy h1 { font-size: clamp(1.95rem, 7.6vw, 2.4rem); }
  .riley-voice { align-items: center; text-align: center; width: min(360px, 100%); gap: 14px; }
  .rv-line { font-size: clamp(1.2rem, 5.2vw, 1.5rem); }
}

/* ---------- SECTION 1 · Pinned 4-Step Real Night Stadium iOS Scroll Theater ---------- */
.app-sec { position: relative; z-index: 2; background: var(--void); padding: clamp(72px, 10vw, 120px) 0; }
.app-sec::before {
  content: ""; position: absolute; left: 0; right: 0; top: -140px; height: 140px; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 5, 6, 0) 0%, var(--void) 100%);
}
.app-pin { position: relative; width: 100%; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .app-sec { height: 360dvh; padding: 0; }
  .app-pin { position: sticky; top: 0; height: 100dvh; display: flex; align-items: center; }
}
.app-grid, .coach-grid, .guard-wrap, .cmp-shell, .mfoot-in { max-width: 1080px; }
.app-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 460px) 318px; justify-content: space-between; gap: clamp(32px, 5vw, 72px); align-items: center; }
.app-copy { display: grid; gap: 14px; width: 100%; max-width: 460px; }
.app-copy h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }

.app-steps-wrap { position: relative; display: grid; grid-template-columns: 1px minmax(0, 1fr); gap: 16px; margin-top: 14px; align-items: stretch; }
.app-rail { position: relative; width: 1px; background: var(--hair); overflow: hidden; }
.app-rail i { position: absolute; inset: 0 0 auto; height: 100%; background: var(--volt); transform-origin: 50% 0; transform: scaleY(var(--rail, 0.25)); }

.app-tabs { display: grid; gap: 8px; }
.app-tab {
  text-align: left; padding: 13px 16px; border-radius: 12px;
  background: transparent; border: 0.5px solid transparent; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), opacity 200ms var(--ease);
}
.app-step-num { font-size: 12px; color: var(--mute); padding-top: 3px; transition: color 200ms var(--ease); }
.app-tab div { display: grid; gap: 3px; }
.app-tab strong { font-size: 14.5px; font-weight: 600; color: var(--soft); transition: color 180ms var(--ease); }
.app-tab span { font-size: 13px; color: var(--mute); }
.app-tab:hover strong { color: var(--t1); }
.app-tab.on, .app-tab[aria-selected="true"] { background: var(--pitch); border-color: var(--hair-2); }
.app-tab.on strong, .app-tab[aria-selected="true"] strong { color: var(--t1); }
.app-tab.on .app-step-num, .app-tab[aria-selected="true"] .app-step-num { color: var(--volt); }
.app-tab.on::before, .app-tab[aria-selected="true"]::before { display: none; }

/* Real iPhone 17 Hardware Frame + Full-Bleed Simulator Captures */
.app-device-col { width: 318px; display: grid; justify-items: center; gap: 14px; }
.iphone-frame {
  position: relative; width: 318px; aspect-ratio: 1206 / 2622; height: auto; border-radius: 48px;
  background: var(--void); border: 2px solid rgba(244, 243, 238, 0.16); overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.72);
  transform: translateY(calc((var(--ap, 0.5) - 0.5) * -14px));
  transition: transform 140ms linear;
}
.iphone-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; border-radius: 999px; background: #000; z-index: 6; pointer-events: none;
}

.ios-screen {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0; transform: scale(0.975); pointer-events: none;
  transition: opacity 380ms var(--ease), transform 460ms var(--ease);
}
.ios-screen.on { opacity: 1; transform: scale(1); pointer-events: auto; }
.ios-shot { width: 100%; height: 100%; object-fit: cover; display: block; }

.app-stage-pill {
  margin: 0; padding: 6px 14px; border-radius: 999px;
  background: var(--pitch); border: 0.5px solid var(--hair-2);
  font-size: 12px; color: var(--soft); text-align: center;
  transition: opacity 220ms var(--ease);
}

/* Shared Night Stadium Card & Tile Primitives (used in #guard) */
.rk-card {
  background: var(--pitch); border: 0.5px solid var(--hair); border-radius: 14px; padding: 12px;
  display: grid; gap: 8px;
}
.rk-tile { background: rgba(244, 243, 238, 0.035); border: 0.5px solid var(--hair); border-radius: 9px; padding: 6px 7px; display: grid; gap: 2px; }

@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; justify-items: center; }
  .app-copy { max-width: 100%; }
  .app-steps-wrap { grid-template-columns: 1fr; }
  .app-rail { display: none; }
}

/* ---------- SECTION 2 · Interactive Animated Riley Coaching Demo (Real iPhone 17 Left, Quiet Prompts Right) ---------- */
.coach-sec { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--hair); background: var(--void); }
.coach-grid {
  display: grid; grid-template-columns: 318px minmax(0, 460px); justify-content: space-between;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.coach-copy { display: grid; gap: 14px; width: 100%; max-width: 460px; }
.coach-copy h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.coach-prompts { display: grid; margin-top: 12px; }
.cp-link {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 0; border: 0; border-top: 0.5px solid var(--hair); background: transparent;
  color: var(--soft); font: 500 15px/1.3 var(--f-display); cursor: pointer;
  transition: color 180ms var(--ease);
}
.cp-link:last-child { border-bottom: 0.5px solid var(--hair); }
.cp-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--hair-2); flex: none; transition: background-color 180ms var(--ease); }
.cp-link:hover { color: var(--t1); }
.cp-link.on, .cp-link[aria-selected="true"] { color: var(--t1); }
.cp-link.on .cp-dot, .cp-link[aria-selected="true"] .cp-dot { background: var(--volt); }

/* Left: Fixed-height Real iPhone 17 Hardware Frame */
.coach-phone {
  position: relative; width: 318px; height: 691px; border-radius: 48px;
  background: var(--void); border: 2px solid rgba(244, 243, 238, 0.16);
  overflow: hidden; display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  padding: 12px 15px 10px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.72);
}
.co-statusbar {
  position: relative; z-index: 6; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 0 8px 8px; font-size: 11px; color: var(--t1);
}
.co-island { width: 86px; height: 24px; border-radius: 999px; background: #000; }
.co-sig { justify-self: end; display: inline-flex; align-items: flex-end; gap: 2px; height: 9px; }
.co-sig i { width: 2px; border-radius: 1px; background: var(--t1); }
.co-sig i:nth-child(1) { height: 4px; }
.co-sig i:nth-child(2) { height: 6.5px; }
.co-sig i:nth-child(3) { height: 9px; }

.co-atmo { position: absolute; inset: 0 0 auto; height: 230px; pointer-events: none; z-index: 0; overflow: hidden; }
.co-atmo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.58; }
.co-atmo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 5, 6, 0.25) 0%, rgba(4, 5, 6, 0.78) 65%, var(--void) 100%);
}

.co-topbar { position: relative; z-index: 1; display: flex; align-items: center; }
.co-back {
  width: 30px; height: 30px; border-radius: 50%; background: var(--pitch); border: 0.5px solid var(--hair);
  display: grid; place-items: center; color: var(--t1);
}
.co-back svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

.co-hero {
  position: relative; z-index: 1; display: grid; justify-items: center; text-align: center;
  gap: 2px; padding: 0 0 10px;
}
.co-orb-wrap { position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 3px; }
.co-orb-wrap canvas { width: 72px; height: 72px; border-radius: 50%; position: relative; z-index: 2; display: block; }
.co-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0; pointer-events: none; transition: opacity 280ms var(--ease), transform 320ms var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .coach-phone.busy .co-ring.r1,
  .coach-phone.speaking .co-ring.r1 { opacity: 1; animation: co-pulse 1.8s var(--ease-out) infinite; }
  .coach-phone.speaking .co-ring.r2 { opacity: 0.6; animation: co-pulse 1.8s var(--ease-out) 0.45s infinite; }
}
@keyframes co-pulse { 0% { transform: scale(1); opacity: 0.45; } 100% { transform: scale(1.26); opacity: 0; } }
.co-name { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; color: var(--t1); line-height: 1.1; }
.co-role { font-size: 11.5px; color: var(--soft); transition: color 180ms var(--ease); }
.coach-phone.busy .co-role { color: var(--t1); }

.co-feed {
  position: relative; z-index: 1; min-height: 0; overflow-y: auto; scrollbar-width: none;
  padding: 4px 1px 8px; display: flex; flex-direction: column; gap: 11px;
}
.co-feed::-webkit-scrollbar { display: none; }
.co-user-wrap { display: flex; justify-content: flex-end; }
.co-user-bubble {
  max-width: 84%; padding: 9px 13px; border-radius: 16px 16px 5px 16px;
  background: var(--t1); color: var(--void); font-size: 13px; line-height: 1.38; font-weight: 500;
}
.co-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.co-step { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--soft); }
.co-spinner {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--hair-2); border-top-color: var(--t1);
  animation: co-spin 0.7s linear infinite;
}
@keyframes co-spin { to { transform: rotate(360deg); } }
.co-check {
  width: 15px; height: 15px; border-radius: 50%; flex: none;
  background: var(--volt); color: var(--void); display: grid; place-items: center;
}
.co-check svg { width: 8.5px; height: 8.5px; stroke: currentColor; stroke-width: 2.8; fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .co-step.active .co-step-txt {
    background: linear-gradient(90deg, rgba(244, 243, 238, 0.45) 0%, #fff 50%, rgba(244, 243, 238, 0.45) 100%);
    background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: co-shimmer 1.4s linear infinite;
  }
}
@keyframes co-shimmer { 0% { background-position: 150% 0; } 100% { background-position: -50% 0; } }

.co-riley-msg { font-size: 13.5px; line-height: 1.5; color: var(--t1); }
.co-followups { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 2px; }
.co-fup {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 999px; background: rgba(244, 243, 238, 0.06);
  border: 0.5px solid var(--hair-2); color: var(--t1); font: 500 12px/1.2 var(--f-display); cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.co-fup:hover { background: rgba(244, 243, 238, 0.12); border-color: var(--t3); }
.co-fup.rec { background: var(--volt); border-color: var(--volt); color: var(--void); font-weight: 600; }
.co-fup.rec:hover { background: var(--volt-hi); }

.co-form { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; padding-top: 4px; }
.co-form input {
  flex: 1; min-width: 0; height: 38px; padding: 0 13px; border-radius: 16px;
  background: var(--pitch); border: 0.5px solid var(--hair); color: var(--t1);
  font: 500 13.5px/1.3 var(--f-display); outline: none;
  transition: border-color 160ms var(--ease);
}
.co-form input:focus { border-color: var(--hair-2); }
.co-form input::placeholder { color: var(--mute); }
.co-send {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--pitch); border: 0.5px solid var(--hair); color: var(--t1);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.co-send svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }
.co-send .ic-send { display: none; }
.co-send.ready { background: var(--volt); border-color: var(--volt); color: var(--void); }
.co-send.ready .ic-mic { display: none; }
.co-send.ready .ic-send { display: block; stroke-width: 2.3; }

.co-homebar {
  position: relative; z-index: 1; width: 116px; height: 4px; border-radius: 999px;
  background: rgba(244, 243, 238, 0.28); margin: 8px auto 0;
}

@media (max-width: 900px) {
  .coach-grid { grid-template-columns: 1fr; justify-items: center; }
  .coach-copy { order: -1; max-width: 100%; width: 100%; }
  .app-device-col { width: auto; }
}

/* ---------- SECTION 2 · Injury Guard (PainCheckCard + MonochromeTelemetryChart) ---------- */
.guard-sec { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--hair); }
.guard-head { display: grid; gap: 10px; max-width: 520px; }
.guard-head h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.guard-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }

.pain-card { padding: 20px; gap: 14px; align-content: start; }
.pc-lbl { font-size: 11.5px; font-weight: 500; color: var(--soft); }
.pc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pc-spots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pc-chip {
  min-height: 36px; padding: 0 10px; border-radius: 9px;
  background: rgba(244, 243, 238, 0.04); border: 0.5px solid var(--hair);
  color: var(--soft); font: 500 13px/1 var(--f-display); cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.pc-chip:hover { color: var(--t1); border-color: var(--hair-2); }
.pc-chip.on { background: var(--t1); border-color: var(--t1); color: var(--void); }
.pc-chip.on[data-pl="pain"] { background: var(--hot); border-color: var(--hot); color: var(--void); }

.pain-reply { display: flex; align-items: flex-start; gap: 10px; padding: 12px; }
.pain-reply .ic { font-size: 15px; margin-top: 2px; flex: none; }
.pain-reply .ic.flare { color: var(--hot); }
.pain-reply p { font-size: 13.5px; line-height: 1.45; color: var(--t1); }

.chart-card { padding: 20px; gap: 18px; align-content: space-between; }
.cc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cc-title { display: block; font-size: 14px; font-weight: 600; color: var(--t1); }
.cc-sub { display: block; font-size: 12.5px; color: var(--soft); margin-top: 2px; }

#seismo-svg { display: block; width: 100%; height: auto; overflow: visible; }
#seismo-svg .s-base { stroke: var(--hair-2); stroke-width: 1; }
#seismo-svg .stem { stroke: rgba(244, 243, 238, 0.32); stroke-width: 10; stroke-linecap: round; transition: y2 420ms var(--ease-out), stroke 240ms var(--ease); }
#seismo-svg .stem.warn { stroke: var(--hot); }
#seismo-svg .stem.step { stroke: var(--volt); }
#seismo-svg .cap { stroke: rgba(244, 243, 238, 0.45); stroke-width: 1.25; stroke-dasharray: 3 4; transition: y1 420ms var(--ease-out), y2 420ms var(--ease-out); }
#seismo-svg text { font: 500 11.5px var(--f-display); fill: var(--mute); }
#seismo-svg text.km { font-family: var(--f-score); font-stretch: 72%; font-weight: 700; font-size: 14px; fill: var(--t1); transition: y 420ms var(--ease-out); }
#seismo-svg text.km.warn { fill: var(--hot); }
#seismo-svg text.km.step { fill: var(--volt); }

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

/* ---------- SECTION 3 · Comparison Table ---------- */
.cmp-sec { padding: clamp(72px, 10vw, 120px) 0; border-top: 1px solid var(--hair); }
.cmp-shell { display: grid; gap: 24px; }
.cmp-head { display: grid; gap: 8px; }
.cmp-head h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.table-wrapper { overflow: auto; max-inline-size: 100%; container-type: inline-size; background: var(--pitch); border: 0.5px solid var(--hair); border-radius: 16px; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-size: 13.5px; table-layout: fixed; }
.cmp-table thead { position: sticky; inset-block-start: 0; z-index: 1; }
.cmp-table th, .cmp-table td { padding: 15px 16px; border-bottom: 0.5px solid var(--hair); vertical-align: middle; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table thead th:first-child { width: 32%; }
.cmp-table thead th:not(:first-child) { width: 17%; }
.cmp-table thead th { background: var(--pitch); font-size: 13px; font-weight: 600; color: var(--t1); vertical-align: top; }
.cmp-col-sub { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; color: var(--mute); }
.cmp-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--volt); }
.cmp-brand .brand-mk { width: 18px; height: auto; }
.cmp-table tbody th { position: sticky; inset-inline-start: 0; background: var(--pitch); font-weight: 500; }
.cmp-table tbody th strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--t1); }
.cmp-table tbody th span { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--mute); }
.cmp-table td { color: var(--soft); }
.cmp-table .col-decade {
  background: rgba(212, 255, 61, 0.04); color: var(--t1); font-weight: 500;
  border-left: 0.5px solid rgba(212, 255, 61, 0.22); border-right: 0.5px solid rgba(212, 255, 61, 0.22);
}
.cmp-table thead .col-decade {
  background: rgba(212, 255, 61, 0.06); color: var(--volt);
  border-top: 2px solid var(--volt);
}

.cmp-cell { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.cmp-ico {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
}
.cmp-ico svg { width: 11px; height: 11px; }
.cmp-yes .cmp-ico { background: var(--volt); color: var(--void); }
.cmp-yes.neutral .cmp-ico { background: rgba(244, 243, 238, 0.14); color: var(--t1); }
.cmp-yes { color: var(--t1); font-weight: 500; }
.cmp-part .cmp-ico {
  width: 15px; height: 15px; margin: 1.5px;
  border: 1.5px solid rgba(244, 243, 238, 0.34); background: transparent;
}
.cmp-no { color: rgba(244, 243, 238, 0.26); font-size: 15px; line-height: 1; }
.cmp-price { font-size: 18px; color: var(--t1); }
.col-decade .cmp-price { color: var(--volt); }

.cmp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 12px; color: var(--mute); }
.cmp-legend .cmp-cell { font-size: 12px; color: var(--mute); font-weight: 400; }

@container (width < 640px) {
  .cmp-table, .cmp-table thead, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: auto; }
  .cmp-table { table-layout: auto; }
  .cmp-table thead { display: none; }
  .cmp-table tr { padding: 14px 16px; border-bottom: 0.5px solid var(--hair); }
  .cmp-table tr:last-child { border-bottom: 0; }
  .cmp-table tbody th { position: static; padding: 2px 0 10px; border-bottom: 0.5px solid var(--hair); background: transparent; }
  .cmp-table td { padding: 8px 0; border-bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .cmp-table td.col-decade { background: transparent; border-left: 0; border-right: 0; }
  .cmp-table { --col-2: "Decade"; --col-3: "Plan apps"; --col-4: "GPS trackers"; --col-5: "Human coach"; }
  .cmp-table td::before { color: var(--mute); font-weight: 400; font-size: 12.5px; }
  .cmp-table td:nth-child(2)::before { content: var(--col-2); color: var(--volt); font-weight: 600; }
  .cmp-table td:nth-child(3)::before { content: var(--col-3); }
  .cmp-table td:nth-child(4)::before { content: var(--col-4); }
  .cmp-table td:nth-child(5)::before { content: var(--col-5); }
}

/* ---------- SECTION 4 · Live Watch Portal ---------- */
.act { position: relative; border-top: 1px solid var(--hair); }
.pin { position: relative; min-height: 100dvh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 84px max(20px, 4vw); }
.act.pinned .pin { position: sticky; top: 0; height: 100dvh; min-height: 0; }
.act-wrist.pinned { height: 190dvh; }

.wrist-stage { width: 100%; max-width: 1000px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.wrist-col.left { display: grid; gap: 10px; max-width: 300px; }
.wrist-col.left h2 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
.w-copy { font-size: 14.5px; color: var(--soft); line-height: 1.5; }
.watch-portal { width: min(320px, 74vw); aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; border: 0.5px solid var(--hair-2); background: var(--pitch); will-change: transform, opacity; }
.watch-portal svg { display: block; width: 100%; height: 100%; }
.wp-img { transform-box: view-box; transform-origin: 50% 50%; }
.w-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 240px; justify-self: end; }
.w-notes li { display: grid; gap: 3px; padding-left: 14px; border-left: 1px solid var(--hair-2); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), border-color 280ms var(--ease); }
.w-notes li.lit { border-left-color: var(--volt); }
.w-notes .num { font-size: 20px; color: var(--t1); }
.w-notes span:last-child { font-size: 13px; color: var(--mute); }

.wl-cover { fill: #090A0C; }
.wl-track { fill: #272729; }
.wl-zone { fill: #D4FF40; }
.wl-tick { fill: #fff; stroke: #090A0C; stroke-width: 3; transition: x 550ms var(--ease-out); }
.wl-big { font: 800 106px var(--f-score); font-stretch: 78%; fill: #fff; letter-spacing: -0.02em; }
.wl-val { font: 800 39px var(--f-score); font-stretch: 80%; fill: #fff; }
.wl-haptic { fill: none; stroke: var(--volt); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.wl-haptic.buzz { animation: wl-buzz 1.1s var(--ease-out); }
@keyframes wl-buzz { 0% { opacity: 0.85; transform: scale(0.92); } 100% { opacity: 0; transform: scale(1.32); } }

@media (max-width: 900px) {
  .wrist-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .wrist-col.left { justify-items: center; }
  .w-notes { justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; max-width: none; }
  .w-notes li { border-left: 0; padding-left: 0; justify-items: center; }
}

/* ---------- SECTION 5 · Pricing & Closing ---------- */
.finish { position: relative; padding: 0 0 clamp(56px, 8vw, 96px); border-top: 1px solid var(--hair); }
.tape { height: 1px; width: 100%; background: var(--hair); overflow: hidden; }
.tape i { display: block; width: 100%; height: 100%; background: var(--t1); transform-origin: 0 50%; transform: scaleX(var(--tape, 1)); }
.fin-shell { max-width: 1080px; margin: 0 auto; padding-inline: max(var(--gutter), clamp(16px, 4vw, 40px)); }
.fin-head { padding-top: clamp(64px, 8vw, 100px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.fin-head h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
.bill-tabs { margin-top: 6px; }

.fin-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(32px, 5vw, 52px); border-top: 0.5px solid var(--hair); border-bottom: 0.5px solid var(--hair); }
.fin-col { padding: clamp(24px, 3.5vw, 38px) clamp(18px, 3vw, 34px) clamp(24px, 3.5vw, 38px) 0; display: flex; flex-direction: column; gap: 18px; }
.fin-col.pro { padding-right: 0; padding-left: clamp(18px, 3vw, 34px); border-left: 0.5px solid var(--hair); }
.fc-top { display: grid; gap: 6px; min-height: 70px; }
.fc-name { font-size: 13px; font-weight: 600; color: var(--mute); }
.fc-name.volt { color: var(--volt); }
.fc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.fc-price .num { font-size: 38px; color: var(--t1); }
.fc-price span:not(.num) { font-size: 13.5px; color: var(--mute); }
.fin-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--soft); }
.fin-col li { position: relative; padding-left: 14px; }
.fin-col li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 1px; background: var(--mute); }
.fin-col.pro li::before { background: var(--volt); }
.fc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 40px; font-size: 13.5px; font-weight: 600; color: var(--t1); border-bottom: 1px solid var(--hair-2); transition: border-color 180ms var(--ease); }
.fc-link:hover { border-color: var(--t1); }
.fc-link .ic { font-size: 14px; }
.fin-col.pro .btn { margin-top: auto; align-self: flex-start; }
.fin-note { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--mute); }

.faq-list { margin-top: clamp(40px, 6vw, 64px); border-top: 0.5px solid var(--hair); }
.faq-item { border-bottom: 0.5px solid var(--hair); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15.5px; font-weight: 500; color: var(--t1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 18px; font-weight: 400; color: var(--mute);
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}
.faq-item[open] summary::after { content: "−"; color: var(--volt); }
.faq-item p { padding: 0 0 18px; font-size: 14px; line-height: 1.55; color: var(--soft); max-width: 66ch; }

.fin-close { position: relative; isolation: isolate; padding: clamp(110px, 18vh, 180px) 0 clamp(36px, 6vh, 64px); margin-inline: calc(50% - 50vw); width: 100vw; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.fin-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.fin-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: 0.65; }
.fin-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--void) 0%, rgba(4, 5, 6, 0.35) 35%, rgba(4, 5, 6, 0.45) 70%, var(--void) 100%); }
.fin-close .brand-mk { width: 38px; height: auto; }
.fin-close h2 { font-size: clamp(1.75rem, 2.8vw, 2.45rem); }

.mfoot { border-top: 0.5px solid var(--hair); padding: 26px 0 max(40px, calc(env(safe-area-inset-bottom, 0px) + 32px)); }
.mfoot-in { display: grid; gap: 16px; }
.mfoot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.mfoot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.mfoot nav a { color: var(--mute); transition: color 180ms var(--ease); }
.mfoot nav a:hover { color: var(--t1); }
.mfoot-legal { font-size: 12px; line-height: 1.55; color: var(--mute); }

@media (max-width: 720px) {
  .fin-cols { grid-template-columns: 1fr; }
  .fin-col, .fin-col.pro { padding: 24px 0; border-left: 0; }
  .fin-col.pro { border-top: 0.5px solid var(--hair); }
  .fc-top { min-height: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }

  .js .cmp-table tbody tr { opacity: 0; transform: translateY(10px); transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out); }
  .js .cmp-table.in tbody tr { opacity: 1; transform: none; }
  .js .cmp-table.in tbody tr:nth-child(1) { transition-delay: 40ms; }
  .js .cmp-table.in tbody tr:nth-child(2) { transition-delay: 95ms; }
  .js .cmp-table.in tbody tr:nth-child(3) { transition-delay: 150ms; }
  .js .cmp-table.in tbody tr:nth-child(4) { transition-delay: 205ms; }
  .js .cmp-table.in tbody tr:nth-child(5) { transition-delay: 260ms; }
  .js .cmp-table.in tbody tr:nth-child(6) { transition-delay: 315ms; }

  .js .fin-col { opacity: 0; transform: translateY(14px); transition: opacity 540ms var(--ease-out), transform 540ms var(--ease-out); }
  .js .fin-cols.in .fin-col { opacity: 1; transform: none; }
  .js .fin-cols.in .fin-col.pro { transition-delay: 110ms; }
}
