:root {
  --font-display: "ivyora-display", serif;
  --font-body: "DM Sans", sans-serif;
  --font-ui: "Host Grotesk", sans-serif;
  --font-mono: "DM Mono", monospace;
  --paper: #eef1ec;
  --paper-bright: #f8faf6;
  --ink: #0b1018;
  --ink-soft: #5b6571;
  --line: rgba(11, 16, 24, 0.14);
  --night: #05060a;
  --night-raised: #0a0b12;
  --night-soft: #10121c;
  --night-floating: #151827;
  --white: #f6f8f4;
  --white-soft: rgba(246, 248, 244, 0.74);
  --night-line: rgba(255, 255, 255, 0.12);
  --blue: #1e4fe8;
  --blue-bright: #72a9ff;
  --blue-pale: #d9e3ff;
  --lime: #b6ee65;
  --amber: #ffc66d;
  --red: #ff806c;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 52px;
  --page: min(1240px, calc(100% - 48px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --nav-morph-duration: 500ms;
  --nav-morph-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-float: 0 34px 90px rgba(4, 8, 18, 0.26), 0 6px 22px rgba(4, 8, 18, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  background: var(--night);
  color-scheme: dark;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  width: 100%;
  height: 72px;
  padding: 0 clamp(18px, 3.9vw, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--white);
  background: rgba(5, 9, 17, 0.22);
  -webkit-backdrop-filter: blur(4px) saturate(142%);
  backdrop-filter: blur(4px) saturate(142%);
  box-shadow: none;
  transform: translate3d(-50%, 0, 0);
  transition:
    top var(--nav-morph-duration) var(--nav-morph-ease),
    width var(--nav-morph-duration) var(--nav-morph-ease),
    border-color var(--nav-morph-duration) var(--nav-morph-ease),
    border-radius var(--nav-morph-duration) var(--nav-morph-ease),
    background-color var(--nav-morph-duration) var(--nav-morph-ease),
    box-shadow var(--nav-morph-duration) var(--nav-morph-ease);
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

body.has-floating-nav .site-nav {
  top: 16px;
  width: 75%;
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(7, 12, 22, 0.58);
  box-shadow:
    0 22px 54px rgba(0, 3, 12, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  will-change: top, width, border-radius, box-shadow;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.wordmark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(133, 168, 255, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links a {
  --nav-shift-x: 0px;
  --nav-shift-y: 0px;
  position: relative;
  z-index: 0;
  padding: 11px 14px;
  border-radius: 999px;
  color: rgba(246, 248, 244, 0.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition:
    color 0.28s ease,
    transform 0.28s var(--ease-soft),
    opacity 0.28s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 255, 255, 0.16), transparent 46%),
    rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: scale(0.76);
  transition:
    opacity 0.28s ease,
    transform 0.42s var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 50%;
  width: 4px;
  height: 4px;
  margin-bottom: -2px;
  border-radius: 50%;
  background: var(--blue-bright);
  opacity: 0;
  transform: translateX(-8px) scale(0.4);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before,
.nav-links a[aria-current="page"]::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links a:hover {
  transform: translate3d(var(--nav-shift-x), calc(var(--nav-shift-y) - 1px), 0);
}

.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.nav-cta,
.button,
.text-link,
.food-item,
.game-reset,
.health-tab,
.video-control {
  -webkit-tap-highlight-color: transparent;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 0.34s var(--ease-soft),
    opacity 0.28s ease,
    box-shadow 0.34s var(--ease-soft);
}

.nav-cta {
  min-height: 44px;
  padding: 0 19px;
  color: var(--night);
  background: var(--white);
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.nav-cta-soon,
.button-soon {
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 79, 232, 0.1);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-cta:active,
.button:active,
.food-item:active,
.game-reset:active,
.health-tab:active,
.video-control:active {
  transform: translateY(0) scale(0.975);
}

.nav-cta:focus-visible,
.button:focus-visible,
.food-item:focus-visible,
.game-reset:focus-visible,
.health-tab:focus-visible,
.video-control:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  display: block;
}

.hero,
.signal-atlas,
.health-bridge,
.privacy-vault,
.apple-sync,
.wearable-rail {
  margin-bottom: -1px;
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(96px, 13vw, 176px);
}

.section-tight {
  padding-block: clamp(74px, 9vw, 112px);
}

.section-night {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 12%, rgba(45, 91, 218, 0.22), transparent 29%),
    radial-gradient(circle at 90% 64%, rgba(94, 130, 224, 0.12), transparent 31%),
    var(--night);
}

.section-paper {
  color: var(--ink);
  background: var(--paper);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 21px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-night .eyebrow {
  color: var(--blue-bright);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  text-wrap: balance;
}

h3 {
  font-family: var(--font-body);
  text-wrap: balance;
}

.display {
  margin-bottom: 0;
  max-width: 1040px;
  font-size: clamp(76px, 10.6vw, 154px);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 0.98;
}

.display em,
.section-title em,
.editorial-quote em {
  font-family: var(--font-display);
  font-weight: 400;
}

.display em {
  display: block;
  color: var(--blue);
  letter-spacing: -0.047em;
}

.section-title {
  max-width: 940px;
  margin-bottom: 32px;
  font-size: clamp(50px, 7.2vw, 100px);
  font-weight: 400;
  letter-spacing: -0.046em;
  line-height: 0.98;
}

.section-title.small {
  max-width: 760px;
  font-size: clamp(40px, 4.7vw, 68px);
}

.lede {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.section-night .lede {
  color: var(--white-soft);
}

.button {
  min-height: 56px;
  padding: 0 24px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow:
    0 18px 40px rgba(40, 100, 240, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-light {
  color: var(--night);
  background: var(--white);
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.section-night .button-ghost {
  border-color: var(--night-line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
}

.button-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0;
  transition: transform 0.34s var(--ease-soft);
}

.button-arrow::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
}

.button-arrow::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 7px;
  width: 12px;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.button:hover .button-arrow {
  transform: translateX(3px);
}

.button.is-disabled {
  cursor: default;
  opacity: 0.88;
}

.button.is-disabled:hover {
  transform: none;
}

.button.is-disabled:hover .button-arrow {
  transform: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(148px, 18vh, 210px) 24px 76px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 68% 28%, rgba(59, 107, 227, 0.28), transparent 29%),
    radial-gradient(circle at 28% 72%, rgba(31, 67, 145, 0.2), transparent 31%),
    linear-gradient(145deg, #05070b, #080b12 62%, #040609);
}

.hero::before {
  content: "";
  position: absolute;
  top: -44vw;
  left: 50%;
  width: min(1320px, 120vw);
  aspect-ratio: 1;
  border: 1px solid rgba(132, 166, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 120px rgba(57, 103, 225, 0.035),
    0 0 0 240px rgba(57, 103, 225, 0.02);
  transform: translateX(-50%) rotate(-8deg);
  pointer-events: none;
  transition: opacity 240ms ease;
}

.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -20vw;
  width: 56vw;
  height: 56vw;
  border-radius: 50%;
  background: rgba(49, 92, 211, 0.16);
  filter: blur(110px);
  pointer-events: none;
  transition: opacity 240ms ease;
}

.living-metrics {
  position: absolute;
  z-index: 0;
  top: clamp(160px, 17vh, 210px);
  right: 0;
  width: min(45vw, 600px);
  aspect-ratio: 620 / 540;
  color: rgba(221, 230, 248, 0.82);
  opacity: 0.74;
  pointer-events: none;
  transform: translate3d(var(--metrics-x, 0), var(--metrics-y, 0), 0);
  transition:
    opacity 450ms ease,
    transform 900ms var(--ease-out);
}

.living-metrics::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 91, 180, 0.14), rgba(24, 48, 105, 0.035) 48%, transparent 72%);
  filter: blur(26px);
  opacity: 0.48;
  transform: scale(0.88);
  transition:
    opacity 900ms ease,
    transform 1.2s var(--ease-out);
}

.living-metrics.is-synced::before {
  opacity: 0.78;
  transform: scale(1);
}

.living-metrics-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.metric-orbit,
.metric-connection {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.metric-orbit {
  stroke: rgba(118, 149, 218, 0.13);
  stroke-width: 1;
  stroke-dasharray: 2 9;
  transform-origin: 310px 270px;
  transition:
    opacity 800ms ease,
    transform 1.3s var(--ease-out),
    stroke 800ms ease;
}

.metric-orbit--outer {
  opacity: 0.42;
  animation: metric-orbit-drift 26s linear infinite;
}

.metric-orbit--inner {
  opacity: 0.2;
  animation: metric-orbit-drift 18s linear infinite reverse;
}

.metric-connection {
  stroke: rgba(121, 157, 235, 0.28);
  stroke-width: 1;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  opacity: 0;
  transition:
    stroke-dashoffset 1.3s var(--ease-out),
    opacity 600ms ease;
}

.living-metrics.is-synced .metric-connection {
  stroke-dashoffset: 0;
  opacity: 0.62;
}

.living-metrics.is-synced .metric-orbit {
  stroke: rgba(128, 163, 239, 0.24);
  transform: scale(0.97);
}

.living-metric {
  position: absolute;
  display: grid;
  grid-template-columns: 12px auto;
  align-items: center;
  column-gap: 9px;
  color: rgba(207, 216, 235, 0.6);
  font-family: var(--font-mono);
  transition:
    color 800ms ease,
    opacity 800ms ease,
    transform 1.25s var(--ease-out);
}

.living-metric i {
  grid-row: 1 / span 2;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 0 currentColor;
  animation: metric-breathe var(--metric-tempo, 3.2s) ease-in-out infinite;
  animation-delay: var(--metric-delay, 0s);
}

.living-metric span {
  font-size: 8px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.living-metric strong {
  margin-top: 5px;
  color: rgba(242, 245, 252, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.living-metric--hrv {
  top: 17%;
  left: 8%;
  --metric-tempo: 3.8s;
  --metric-delay: -0.8s;
  --sync-x: 52px;
  --sync-y: 38px;
}

.living-metric--sleep {
  top: 17%;
  right: 4%;
  --metric-tempo: 4.6s;
  --metric-delay: -2.1s;
  --sync-x: -58px;
  --sync-y: 38px;
}

.living-metric--activity {
  right: 2%;
  bottom: 16%;
  --metric-tempo: 2.7s;
  --metric-delay: -1.4s;
  --sync-x: -58px;
  --sync-y: -42px;
}

.living-metric--recovery {
  bottom: 16%;
  left: 8%;
  --metric-tempo: 3.3s;
  --metric-delay: -0.2s;
  --sync-x: 52px;
  --sync-y: -42px;
}

.living-metrics.is-synced .living-metric {
  color: rgba(125, 164, 244, 0.82);
  opacity: 1;
  transform: translate3d(var(--sync-x), var(--sync-y), 0);
}

.living-metrics.is-synced .living-metric i {
  animation-duration: 2.2s;
  animation-delay: 0s;
}

.living-score {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 130px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(126, 162, 239, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 56, 119, 0.32), rgba(7, 10, 17, 0.18) 68%, transparent 70%);
  color: rgba(236, 241, 251, 0.9);
  font-family: var(--font-mono);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.78);
  transition:
    opacity 700ms ease 220ms,
    transform 1.15s var(--ease-out) 120ms;
}

.living-score::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(118, 156, 237, 0.18);
  border-radius: inherit;
}

.living-score span,
.living-score small {
  position: relative;
  z-index: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.living-score span {
  color: rgba(171, 188, 222, 0.62);
  font-size: 7px;
}

.living-score strong {
  position: relative;
  z-index: 1;
  margin: 5px 0 3px;
  font-family: var(--font-ui);
  font-size: 35px;
  font-weight: 450;
  line-height: 1;
}

.living-score small {
  color: rgba(126, 181, 143, 0.72);
  font-size: 6px;
}

.living-metrics.is-synced .living-score {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes metric-breathe {
  0%,
  100% {
    background: transparent;
    box-shadow: 0 0 0 0 rgba(120, 159, 240, 0);
    transform: scale(0.92);
  }
  45% {
    background: currentColor;
    box-shadow: 0 0 0 8px rgba(120, 159, 240, 0.04);
    transform: scale(1.12);
  }
}

@keyframes metric-orbit-drift {
  to {
    stroke-dashoffset: -88;
  }
}

.hero > .grain {
  z-index: 1;
}

.hero-exit-blend {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(180px, 24vh, 300px);
  background: linear-gradient(180deg, transparent 0%, rgba(5, 6, 10, 0.74) 55%, #05060a 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin-inline: auto;
}

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

.hero .eyebrow {
  color: var(--blue-bright);
}

.hero-sub {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(246, 248, 244, 0.64);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(72px, 12vh, 130px);
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
  background: var(--night-line);
}

.hero-index a {
  position: relative;
  min-height: 116px;
  padding: 23px 21px;
  overflow: hidden;
  color: var(--white);
  background: rgba(5, 7, 11, 0.88);
  text-decoration: none;
}

.hero-index a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(48, 99, 228, 0.16), transparent);
  opacity: 0;
  transform: translateX(-20%);
  transition:
    opacity 0.4s ease,
    transform 0.6s var(--ease-out);
}

.hero-index a:hover::before,
.hero-index a:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.hero-index span {
  position: relative;
  display: block;
}

.hero-index .index-no {
  margin-bottom: 18px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-index .index-label {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
}

.slow-reveal.is-reveal-ready {
  transition:
    opacity 600ms var(--ease-soft),
    transform 720ms var(--ease-soft);
  transition-delay: min(var(--delay, 0ms), 320ms);
}

.slow-reveal.is-reveal-ready:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

.slow-reveal.is-reveal-ready[data-reveal-kind="surface"]:not(.is-visible) {
  transform: scale(.987);
}

.slow-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Reserve the springier arrival for a few physical product objects. The rest
   of the interface resolves calmly. */
.slow-reveal.is-reveal-ready[data-reveal-kind="pop"] {
  transition:
    opacity 300ms ease-out,
    transform 660ms cubic-bezier(.16, 1.2, .3, 1);
}

.slow-reveal.is-reveal-ready[data-reveal-kind="pop"]:not(.is-visible) {
  transform: translate3d(0, 14px, 0) scale(.952);
}

[data-parallax] {
  --parallax-y: 0px;
}

.slow-reveal.is-reveal-ready[data-parallax]:not(.is-visible) {
  transform: translate3d(0, calc(12px + var(--parallax-y)), 0);
}

.slow-reveal[data-parallax].is-visible {
  transform: translate3d(0, var(--parallax-y), 0);
}

.word-shell {
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
}

.word-char {
  display: inline-block;
}

[data-reveal-mode="characters"] .word-shell {
  margin-right: 0.22em;
  padding-bottom: 0.08em;
}

[data-reveal-mode="characters"] .word-shell:last-child {
  margin-right: 0;
}

[data-reveal-mode="characters"] .reveal-space,
.scrub-space {
  font-size: 0;
}

.is-reveal-ready:not([data-revealed="true"]) .word-char,
[data-reveal-mode="words"].is-reveal-ready:not([data-revealed="true"]) .word-shell {
  opacity: 0;
}

.scrub-text .scrub-word {
  position: relative;
  display: inline-block;
  margin-right: 0.24em;
  white-space: nowrap;
}

.scrub-text .scrub-word:last-child {
  margin-right: 0;
}

.scrub-word-base {
  position: absolute;
  inset: 0;
  color: currentColor;
  opacity: 0.2;
}

.scrub-word-live {
  position: relative;
  color: currentColor;
  opacity: 0;
  will-change: opacity;
}

.route-intro {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(38px, 8vw, 120px);
  align-items: start;
}

.route-intro .lede {
  margin-top: 10px;
}

.route-list {
  border-top: 1px solid var(--line);
}

.route-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.7fr) minmax(260px, 1.3fr) 42px;
  gap: 22px;
  align-items: center;
  min-height: 184px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
}

.route-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(40, 100, 240, 0.09), transparent 72%);
  opacity: 0;
  transform: translateX(-12%);
  transition:
    opacity 0.45s ease,
    transform 0.7s var(--ease-out);
}

.route-row:hover::before,
.route-row:focus-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.route-row > * {
  position: relative;
}

.route-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.route-name {
  font-family: var(--font-body);
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.route-description {
  max-width: 500px;
  color: var(--ink-soft);
  font-size: 17px;
}

.route-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out);
}

.route-row:hover .route-arrow {
  transform: translateX(5px) rotate(-8deg);
}

.media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.media-feature {
  position: relative;
  min-height: 720px;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), transparent 45%),
    var(--night-raised);
  box-shadow: var(--shadow-float);
}

.media-feature h3 {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.media-feature p {
  position: relative;
  z-index: 2;
  max-width: 430px;
  color: var(--white-soft);
}

.media-feature .text-link {
  position: relative;
  z-index: 4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.text-link span {
  transition: transform 0.34s var(--ease-soft);
}

.text-link:hover span {
  transform: translateX(4px);
}

.phone-media {
  position: absolute;
  right: 8%;
  bottom: -200px;
  width: min(61%, 355px);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.035)),
    rgba(4, 7, 12, 0.56);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(4deg);
}

.phone-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 37px;
  background: linear-gradient(180deg, transparent 65%, rgba(4, 7, 12, 0.42));
  pointer-events: none;
}

.phone-media img,
.phone-media video {
  width: 100%;
  border-radius: 37px;
}

.phone-media video {
  aspect-ratio: 554 / 1200;
  object-fit: cover;
}

.glass-object {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 18% -30%, rgba(255, 255, 255, 0.18), transparent 42%),
    rgba(14, 20, 32, 0.2);
  -webkit-backdrop-filter: blur(10px) saturate(132%);
  backdrop-filter: blur(10px) saturate(132%);
  box-shadow:
    0 28px 70px rgba(0, 3, 12, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.signal-atlas {
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 72%, rgba(30, 79, 232, 0.2), transparent 25%),
    radial-gradient(circle at 78% 26%, rgba(61, 110, 229, 0.13), transparent 32%),
    var(--night);
}

.signal-atlas::after {
  content: "";
  position: absolute;
  top: 14%;
  right: -9vw;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(114, 169, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(43, 91, 214, 0.025),
    0 0 0 140px rgba(43, 91, 214, 0.015);
  pointer-events: none;
}

.signal-atlas::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent, #05060a);
  pointer-events: none;
}

.signal-atlas .route-intro,
.signal-atlas .route-list {
  position: relative;
  z-index: 2;
}

.signal-atlas .route-list {
  margin-top: 44px;
  border-top-color: rgba(255, 255, 255, 0.15);
}

.signal-atlas .route-row {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.signal-atlas .route-row:nth-child(even) {
  margin-left: clamp(0px, 5vw, 82px);
}

.signal-atlas .route-row::before {
  background:
    radial-gradient(circle at 8% 50%, rgba(114, 169, 255, 0.2), transparent 27%),
    rgba(255, 255, 255, 0.026);
}

.signal-atlas .route-number,
.signal-atlas .route-description {
  color: rgba(246, 248, 244, 0.58);
}

.signal-atlas .route-name,
.signal-atlas .route-arrow {
  color: var(--white);
}

.signal-atlas .route-arrow {
  border-color: rgba(255, 255, 255, 0.18);
}

.health-bridge {
  position: relative;
  height: 1500px;
  overflow: hidden;
  color: var(--white);
  background: #05060a;
}

.health-bridge::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 360px;
  background:
    linear-gradient(180deg, transparent 52%, #070910 100%),
    radial-gradient(ellipse at 78% 42%, rgba(30, 79, 232, 0.13), transparent 56%),
    radial-gradient(ellipse at 18% 46%, rgba(61, 105, 210, 0.09), transparent 52%);
  pointer-events: none;
}

.health-bridge-stage {
  position: relative;
  left: 50%;
  width: min(2100px, 142vw);
  height: 1370px;
  transform: translateX(-50%);
}

.health-bridge-visual {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  height: 1000px;
  overflow: hidden;
  background: #080a0d;
}

.health-bridge-image {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.025);
}

.health-bridge-image-blur {
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.055);
  will-change: opacity;
}

.health-bridge-shade {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(180deg, rgba(3, 5, 8, 0.1) 0%, rgba(3, 5, 8, 0.2) 45%, rgba(3, 5, 8, 0.64) 100%),
    rgba(3, 5, 8, 0.24);
  will-change: opacity;
}

.health-bridge-copy {
  position: absolute;
  z-index: 3;
  top: 156px;
  left: 50%;
  width: min(760px, calc(100vw - 48px));
  padding: 0 16px;
  text-align: center;
  opacity: 0;
  transform: translate3d(-50%, 20px, 0) scale(0.95);
  transform-origin: 50% 44%;
  will-change: opacity, transform;
}

.health-source-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}

.health-source-icon {
  width: 118px;
  aspect-ratio: 1;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 27px rgba(0, 0, 0, 0.32))
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.health-bridge-copy h2 {
  max-width: 760px;
  margin: 0;
  padding-bottom: 0.1em;
  color: #dce5fb;
  font-family: var(--font-ui);
  font-size: clamp(50px, 4.8vw, 74px);
  font-weight: 570;
  letter-spacing: -0.052em;
  line-height: 0.98;
  text-shadow: 0 3px 28px rgba(2, 5, 12, 0.82);
  text-wrap: balance;
}

.health-bridge-copy > p:last-child {
  max-width: 690px;
  margin: 15px auto 0;
  color: rgba(218, 226, 244, 0.84);
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 560;
  letter-spacing: -0.018em;
  line-height: 1.48;
  text-shadow: 0 2px 22px rgba(2, 5, 12, 0.88);
  text-wrap: balance;
}

.health-deck-ground {
  position: absolute;
  z-index: 3;
  top: 1128px;
  left: 50%;
  width: min(1040px, 80vw);
  height: 230px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.78) 0%, rgba(1, 4, 12, 0.56) 34%, transparent 70%),
    radial-gradient(ellipse at 50% 50%, rgba(63, 104, 224, 0.24) 0%, transparent 66%);
  filter: blur(17px);
  opacity: 0.92;
  pointer-events: none;
}

.health-phone-deck {
  position: absolute;
  z-index: 4;
  top: 560px;
  left: 50%;
  display: flex;
  width: min(1120px, 86vw);
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  transform: translateX(-50%);
}

.health-phone-wrap {
  position: relative;
  width: min(320px, 25vw);
  flex: 0 0 auto;
  isolation: isolate;
  will-change: transform;
}

.health-phone-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: -24px;
  left: 4%;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(0, 0, 0, 0.92) 0%, rgba(1, 4, 12, 0.62) 38%, transparent 72%),
    radial-gradient(ellipse at 50% 50%, rgba(60, 101, 218, 0.22), transparent 67%);
  filter: blur(10px);
  opacity: 0.92;
  transform: scaleX(0.92);
  pointer-events: none;
}

.health-phone-left {
  margin-top: 64px;
  z-index: 1;
}

.health-phone-centre {
  z-index: 3;
}

.health-phone-right {
  margin-top: 116px;
  z-index: 2;
}

.health-phone-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 48px 58px rgba(0, 0, 0, 0.48));
}

.health-deck-caption {
  position: absolute;
  z-index: 5;
  top: 1314px;
  left: 50%;
  width: min(720px, calc(100vw - 48px));
  text-align: center;
  transform: translateX(-50%);
}

.health-deck-caption h3 {
  margin: 0;
  color: #dce5fb;
  font-family: var(--font-ui);
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 620;
  letter-spacing: -0.042em;
  line-height: 1.05;
  text-shadow: 0 3px 28px rgba(2, 5, 12, 0.82);
  text-wrap: balance;
}

.health-deck-caption p {
  max-width: 660px;
  margin: 13px auto 0;
  color: rgba(218, 226, 244, 0.7);
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 520;
  letter-spacing: -0.016em;
  line-height: 1.46;
  text-shadow: 0 2px 20px rgba(2, 5, 12, 0.88);
  text-wrap: balance;
}

.health-caption-mobile {
  display: none;
}

.privacy-vault {
  position: relative;
  padding: 70px 0 110px;
  overflow: hidden;
  color: #0a1226;
  background:
    linear-gradient(180deg, #070910 0%, transparent 18%, transparent 76%, #05070d 100%),
    radial-gradient(ellipse at 50% -15%, rgba(71, 109, 228, 0.16), transparent 50%),
    #070910;
}

.privacy-vault-panel {
  position: relative;
  width: min(1180px, calc(100% - 200px));
  min-height: 760px;
  margin: 0 auto;
  padding: 72px 36px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 0;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 50% 108%, rgba(30, 79, 232, 0.98) 0%, rgba(77, 113, 225, 0.72) 28%, transparent 59%),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.82), transparent 31%),
    linear-gradient(180deg, #eef3ff 0%, #dfe7fb 54%, #aebfe9 100%);
  box-shadow:
    0 42px 110px rgba(1, 5, 18, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  isolation: isolate;
}

.privacy-vault-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 15% 36%, rgba(114, 169, 255, 0.2), transparent 31%),
    linear-gradient(118deg, rgba(255, 255, 255, 0.26), transparent 42%);
  pointer-events: none;
}

.privacy-vault-panel::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(17, 43, 121, 0.14));
  pointer-events: none;
}

.privacy-vault-copy {
  position: relative;
  z-index: 4;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.privacy-vault-lock {
  width: 58px;
  height: auto;
  margin: 0 auto 24px;
  opacity: 0.46;
}

.privacy-vault-copy h2 {
  margin: 0;
  color: #081127;
  font-family: var(--font-ui);
  font-size: clamp(48px, 4.7vw, 64px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.privacy-vault-copy p {
  max-width: 980px;
  margin: 22px auto 0;
  color: rgba(8, 17, 39, 0.66);
  font-family: var(--font-ui);
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 590;
  letter-spacing: -0.025em;
  line-height: 1.28;
  text-wrap: balance;
}

.privacy-vault-phone {
  position: absolute;
  z-index: 3;
  bottom: -20px;
  left: 50%;
  width: min(455px, 42%);
  transform: translateX(-50%);
  filter:
    drop-shadow(0 46px 54px rgba(4, 11, 35, 0.34))
    drop-shadow(0 8px 14px rgba(4, 11, 35, 0.18));
}

.privacy-vault-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.apple-sync {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(112px, 12vw, 174px) 24px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 32%, rgba(44, 91, 220, 0.18), transparent 31%),
    radial-gradient(circle at 12% 74%, rgba(94, 130, 224, 0.1), transparent 30%),
    linear-gradient(180deg, #05070d 0%, #05070d 74%, #070910 100%);
}

.apple-sync::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 17%;
  left: 50%;
  width: min(1180px, 86vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112, 159, 255, 0.23), transparent);
  transform: translateX(-50%);
}

.apple-sync-shell {
  position: relative;
  z-index: 1;
}

.apple-sync-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.62fr);
  gap: 24px clamp(44px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(72px, 8vw, 112px);
}

.apple-sync-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.apple-sync-intro .section-title {
  max-width: 880px;
  margin: 0;
  font-size: clamp(58px, 7vw, 112px);
}

.apple-sync-intro .lede {
  max-width: 440px;
  margin: 0 0 0.55em;
  color: rgba(224, 231, 246, 0.66);
}

.apple-sync-stage {
  position: relative;
  display: flex;
  min-height: 540px;
  align-items: center;
  justify-content: center;
  gap: clamp(38px, 5vw, 72px);
  isolation: isolate;
}

.apple-sync-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% 8%;
  background: radial-gradient(ellipse at center, rgba(60, 104, 222, 0.16), rgba(60, 104, 222, 0.035) 46%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.ecosystem-app {
  display: grid;
  justify-items: center;
  gap: 28px;
  margin: 0;
}

.ecosystem-app img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.34));
}

.ecosystem-app figcaption {
  color: rgba(225, 232, 247, 0.64);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ecosystem-activity {
  display: grid;
  width: clamp(500px, 48vw, 690px);
  justify-items: center;
  gap: clamp(34px, 4vw, 58px);
  margin: 0;
  transform: translateX(calc(-1 * clamp(150px, 12vw, 220px)));
}

.ecosystem-activity > figcaption {
  color: #eef2fb;
  font-family: var(--font-ui);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 510;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ecosystem-activity .activity-card-body {
  width: 100%;
  margin-top: 0;
}

.ecosystem-activity .activity-rings {
  width: clamp(230px, 22vw, 310px);
}

.ecosystem-activity .activity-details {
  gap: clamp(28px, 3vw, 42px);
}

.ecosystem-activity .activity-details strong {
  font-size: clamp(28px, 3vw, 42px);
}

.ecosystem-fitness {
  width: clamp(112px, 12vw, 168px);
}

.ecosystem-times {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: rgba(218, 227, 248, 0.78);
  font-family: var(--font-ui);
  font-size: clamp(70px, 8vw, 128px);
  font-weight: 250;
  line-height: 1;
  text-shadow: 0 0 42px rgba(104, 145, 244, 0.24);
  transform: translate(-50%, -50%) translateY(clamp(34px, 4vw, 58px));
}

.ecosystem-fitness {
  transform: translateY(clamp(34px, 4vw, 58px));
}

.apple-live-panel,
.apple-fitness-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(157, 177, 225, 0.18);
  background: linear-gradient(145deg, rgba(24, 29, 43, 0.82), rgba(10, 13, 21, 0.88));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.055),
    0 34px 90px rgba(0, 0, 0, 0.28);
}

.apple-live-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(28px, 3vw, 48px);
  border-radius: 40px 8px 8px 40px;
}

.apple-live-panel::after {
  content: "";
  position: absolute;
  top: -34%;
  right: -18%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(72, 117, 229, 0.14);
  filter: blur(74px);
  pointer-events: none;
}

.apple-panel-head,
.apple-app-id,
.apple-live-reading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.apple-panel-head {
  justify-content: space-between;
  gap: 20px;
}

.apple-app-id {
  gap: 16px;
}

.apple-app-id img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.26));
}

.apple-app-id div {
  display: grid;
  gap: 3px;
}

.apple-app-id span,
.apple-live-reading > span {
  color: rgba(216, 224, 243, 0.52);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.apple-app-id strong {
  font-size: 18px;
  font-weight: 600;
}

.apple-live-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(126, 168, 255, 0.18);
  border-radius: 999px;
  color: #b8cdfd;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apple-live-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fa6ff;
  box-shadow: 0 0 0 5px rgba(127, 166, 255, 0.08);
}

.apple-live-reading {
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(42px, 5vw, 70px);
}

.apple-live-reading strong {
  color: #dce6ff;
  font-family: var(--font-ui);
  font-size: clamp(50px, 5vw, 80px);
  font-weight: 570;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.apple-live-reading small {
  color: rgba(213, 224, 247, 0.52);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.apple-live-chart {
  position: relative;
  z-index: 1;
  min-height: 270px;
  flex: 1;
  margin-top: 32px;
  padding-left: 34px;
}

.apple-live-chart svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.apple-chart-grid line {
  stroke: rgba(159, 179, 225, 0.11);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.apple-chart-area {
  fill: url("#apple-health-fill");
}

.apple-chart-path {
  fill: none;
  stroke: url("#apple-health-line");
  stroke-width: 3;
  filter: url("#apple-health-glow");
  vector-effect: non-scaling-stroke;
}

.apple-chart-stream {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.apple-chart-dot-halo {
  fill: rgba(126, 166, 255, 0.12);
}

.apple-chart-dot {
  fill: #d6e1ff;
  stroke: #6f9cff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.apple-chart-label {
  position: absolute;
  left: 0;
  color: rgba(208, 217, 239, 0.36);
  font-family: var(--font-mono);
  font-size: 9px;
}

.apple-chart-high {
  top: 8%;
}

.apple-chart-mid {
  top: 47%;
}

.apple-chart-low {
  bottom: 9%;
}

.apple-chart-time {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: rgba(208, 217, 239, 0.34);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apple-sync-operator {
  position: relative;
  display: grid;
  place-items: center;
}

.apple-sync-line {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 161, 249, 0.28), rgba(191, 209, 255, 0.76), rgba(124, 161, 249, 0.28));
}

.apple-sync-operator strong {
  position: relative;
  z-index: 2;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(169, 190, 240, 0.26);
  border-radius: 50%;
  color: #dce5fb;
  background: #0b0e17;
  box-shadow: 0 0 60px rgba(83, 126, 232, 0.17);
  font-family: var(--font-ui);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
}

.apple-sync-packet {
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  background: #b9ccff;
  box-shadow: 0 0 18px rgba(123, 163, 255, 0.82);
}

.apple-sync.is-syncing .apple-sync-packet {
  animation: apple-sync-packet 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes apple-sync-packet {
  0% {
    opacity: 0;
    transform: translate3d(-8px, 0, 0) scale(0.5);
  }

  18%,
  72% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(calc(100% + 152px), 0, 0) scale(1);
  }
}

.apple-fitness-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(34px, 4vw, 58px);
  border-radius: 8px 40px 40px 8px;
}

.activity-card-heading {
  display: flex;
  gap: 15px;
  align-items: center;
}

.activity-card-heading img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.28));
}

.activity-card-heading div {
  display: grid;
  gap: 2px;
}

.activity-card-heading p {
  margin: 0;
  color: rgba(216, 224, 243, 0.52);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.activity-card-heading h3 {
  margin: 0;
  color: #eef2fb;
  font-family: var(--font-ui);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.activity-card-body {
  display: flex;
  gap: clamp(20px, 2.4vw, 38px);
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-top: clamp(52px, 7vw, 92px);
}

.activity-rings {
  width: clamp(170px, 15vw, 220px);
  flex: 0 0 auto;
}

.activity-rings svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.activity-ring-track,
.activity-ring {
  fill: none;
  stroke-width: 16;
  vector-effect: non-scaling-stroke;
}

.activity-ring-track {
  stroke: rgba(255, 255, 255, 0.055);
}

.activity-ring {
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.15));
  transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.activity-ring-move {
  stroke: url("#activity-move-gradient");
  stroke-dasharray: 578.05;
  stroke-dashoffset: 578.05;
}

.activity-ring-exercise {
  stroke: url("#activity-exercise-gradient");
  stroke-dasharray: 439.82;
  stroke-dashoffset: 439.82;
  transition-delay: 180ms;
}

.activity-ring-stand {
  stroke: url("#activity-stand-gradient");
  stroke-dasharray: 301.59;
  stroke-dashoffset: 301.59;
  transition-delay: 360ms;
}

.apple-sync-stage.is-visible .activity-ring-move {
  stroke-dashoffset: 86.71;
}

.apple-sync-stage.is-visible .activity-ring-exercise {
  stroke-dashoffset: 175.93;
}

.apple-sync-stage.is-visible .activity-ring-stand {
  stroke-dashoffset: 211.12;
}

.activity-details {
  display: grid;
  gap: 27px;
  min-width: 146px;
}

.activity-details > div {
  display: grid;
  gap: 4px;
}

.activity-details span {
  color: rgba(216, 224, 243, 0.55);
  font-size: 12px;
  font-weight: 540;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.activity-details strong {
  font-family: var(--font-ui);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.activity-details small {
  margin-left: 3px;
  color: rgba(216, 224, 243, 0.52);
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0;
}

.activity-value-move {
  color: #ff2d55;
}

.activity-value-exercise {
  color: #a3f900;
}

.activity-value-stand {
  color: #04c7dd;
}

.activity-sync-copy {
  max-width: 470px;
  margin: 54px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(166, 185, 229, 0.12);
  color: rgba(218, 226, 244, 0.48);
  font-size: 13px;
  line-height: 1.5;
}

.apple-sync-note {
  max-width: 720px;
  margin: 48px auto 0;
  color: rgba(219, 227, 244, 0.48);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.watch-intelligence {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 10vw, 156px) 24px clamp(108px, 12vw, 176px);
  color: #11141c;
  background: #070910;
}

.watch-intelligence-shell {
  position: relative;
}

.watch-feature {
  position: relative;
  min-height: clamp(520px, 45vw, 640px);
  overflow: hidden;
  border-radius: 24px;
  background: #f2f2f7;
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.watch-feature::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f2f2f7 0%,
    #f2f2f7 38%,
    rgba(242, 242, 247, 0.98) 42%,
    rgba(242, 242, 247, 0) 52%
  );
  pointer-events: none;
}

.watch-feature-image {
  position: absolute;
  top: 10%;
  right: -14%;
  bottom: -25%;
  left: auto;
  display: block;
  width: 72%;
  height: 116%;
  max-width: none;
  object-fit: cover;
  object-position: 46% 50%;
  filter: brightness(1.09);
  transform: translate3d(0, 0, 0);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.watch-feature:hover .watch-feature-image {
  transform: translate3d(0, -4px, 0) scale(1.008);
}

.watch-feature-copy {
  position: absolute;
  z-index: 2;
  top: clamp(108px, 10vw, 138px);
  right: auto;
  left: clamp(40px, 4vw, 58px);
  width: min(42%, 472px);
}

.watch-feature-copy > p {
  display: grid;
  gap: 2px;
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.watch-feature-copy span {
  display: block;
}

.watch-feature-copy strong {
  color: #000;
  font-weight: 650;
}

.wearable-rail {
  position: relative;
  overflow: hidden;
  padding: clamp(112px, 13vw, 190px) 0 clamp(118px, 14vw, 210px);
  color: var(--white);
  background:
    radial-gradient(circle at 52% 32%, rgba(43, 83, 188, 0.13), transparent 34%),
    linear-gradient(180deg, #070910 0%, #070910 68%, var(--night) 100%);
}

.wearable-rail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 26px clamp(54px, 9vw, 150px);
  align-items: end;
  margin-bottom: clamp(70px, 8vw, 116px);
}

.wearable-rail-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--blue-bright);
}

.wearable-rail-heading .section-title {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(56px, 6.8vw, 100px);
}

.wearable-rail-heading .lede {
  max-width: 390px;
  margin: 0 0 0.55em;
  color: rgba(225, 232, 246, 0.58);
}

.brand-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
}

.brand-marquee.is-ready .brand-marquee-track {
  animation: wearable-marquee 34s linear infinite;
}

.brand-marquee:hover .brand-marquee-track {
  animation-play-state: paused;
}

.brand-marquee-set {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(78px, 8vw, 142px);
  padding-right: clamp(78px, 8vw, 142px);
}

.wearable-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 15px;
  color: rgba(235, 239, 248, 0.82);
  white-space: nowrap;
}

.wearable-brand svg {
  width: 42px;
  height: 42px;
  flex: none;
  overflow: visible;
  fill: currentColor;
}

.wearable-brand strong {
  font-family: var(--font-ui);
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1;
}

.wearable-apple {
  gap: 13px;
}

.wearable-apple svg {
  width: 38px;
  height: 38px;
  transform: translateY(-1px);
}

.wearable-oura strong {
  font-weight: 430;
  letter-spacing: 0.035em;
}

.wearable-garmin strong {
  position: relative;
  font-weight: 720;
  letter-spacing: 0.085em;
}

.wearable-garmin strong::after {
  content: "";
  position: absolute;
  top: -0.3em;
  right: 0.42em;
  width: 0;
  height: 0;
  border-right: 0.17em solid transparent;
  border-bottom: 0.3em solid #2e9de1;
  border-left: 0.17em solid transparent;
}

.wearable-fitbit {
  gap: 10px;
}

.wearable-fitbit .google-word {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-ui);
  font-size: clamp(22px, 2.25vw, 34px);
  font-weight: 570;
  letter-spacing: -0.06em;
  line-height: 1;
}

.wearable-fitbit .google-word i {
  color: #4285f4;
  font-style: normal;
}

.wearable-fitbit .google-word i:nth-child(2),
.wearable-fitbit .google-word i:nth-child(6) {
  color: #ea4335;
}

.wearable-fitbit .google-word i:nth-child(3) {
  color: #fbbc05;
}

.wearable-fitbit .google-word i:nth-child(5) {
  color: #34a853;
}

.wearable-fitbit strong {
  font-size: clamp(25px, 2.55vw, 39px);
  font-weight: 560;
  letter-spacing: -0.055em;
}

.wearable-polar strong {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.075em;
}

.wearable-polar strong span {
  position: relative;
  display: inline-grid;
  width: 0.78em;
  margin: 0 0.02em;
  place-items: center;
  color: transparent;
  font-size: 1em;
  line-height: 0;
}

.wearable-polar strong span::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background:
    linear-gradient(to bottom, transparent 42%, rgba(255, 255, 255, 0.92) 42% 54%, transparent 54%),
    #ec2428;
}

.wearable-huawei strong {
  font-weight: 660;
  letter-spacing: 0.035em;
}

.wearable-samsung strong {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.045em;
}

@keyframes wearable-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.decision-scene {
  position: relative;
  min-height: 180svh;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 52%, rgba(30, 79, 232, 0.18), transparent 22%),
    var(--night);
}

.decision-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  padding: 108px 24px 44px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.decision-stream {
  position: absolute;
  inset: 11% -20% auto;
  display: grid;
  gap: clamp(28px, 5vh, 58px);
  transform: rotate(-7deg);
  opacity: 0.26;
}

.decision-lane {
  width: max-content;
  color: transparent;
  -webkit-text-stroke: 1px rgba(173, 200, 255, 0.36);
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 126px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.046em;
  white-space: nowrap;
  will-change: transform;
}

.decision-scene-copy {
  position: absolute;
  z-index: 2;
  top: 17%;
  left: max(24px, calc((100% - 1240px) / 2));
  width: min(620px, calc(100% - 48px));
}

.decision-scene-copy h2 {
  margin: 0;
  font-size: clamp(52px, 6.8vw, 94px);
  font-weight: 400;
  letter-spacing: -0.046em;
  line-height: 0.9;
}

.decision-lens {
  position: relative;
  z-index: 3;
  width: min(580px, calc(100% - 28px));
  margin: 21vh 0 0 27vw;
  padding: clamp(27px, 4vw, 44px);
  border-radius: 38px;
  transform: translate3d(0, 42px, 0) scale(0.94);
  opacity: 0.28;
  will-change: transform, opacity;
}

.decision-lens::before {
  content: "";
  position: absolute;
  inset: 1px 18% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
}

.lens-head,
.lens-evidence {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.lens-head {
  color: rgba(246, 248, 244, 0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lens-confidence {
  color: var(--blue-bright);
}

.lens-kicker {
  margin: 72px 0 13px;
  color: rgba(246, 248, 244, 0.54);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.decision-lens h3 {
  max-width: 480px;
  margin-bottom: 38px;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lens-evidence {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.lens-evidence span,
.lens-evidence strong {
  display: block;
}

.lens-evidence span {
  color: rgba(246, 248, 244, 0.52);
  font-size: 11px;
}

.lens-evidence strong {
  margin-top: 5px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}

.decision-lens > a {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.decision-lens > a span {
  transition: transform 0.34s var(--ease-soft);
}

.decision-lens > a:hover span {
  transform: translateX(4px);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(56px, 9vw, 142px);
  align-items: stretch;
}

.founder-mark {
  position: sticky;
  top: calc(50vh - 190px);
  display: grid;
  width: 100%;
  min-height: 380px;
  place-items: center;
}

.founder-mark img {
  width: clamp(300px, 30vw, 480px);
  filter: drop-shadow(0 22px 52px rgba(53, 94, 223, 0.28));
}

.editorial-quote {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.founder-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 700px;
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--night-line);
  color: var(--white-soft);
}

.founder-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  min-height: 82svh;
  padding: clamp(172px, 23vh, 250px) 24px 86px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(55, 105, 230, 0.25), transparent 28%),
    var(--night);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -9vw;
  bottom: -22vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(122, 159, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 92px rgba(65, 110, 226, 0.035),
    0 0 0 184px rgba(65, 110, 226, 0.02);
}

body[data-page="health"] .page-hero {
  background:
    radial-gradient(circle at 76% 26%, rgba(45, 103, 246, 0.23), transparent 25%),
    linear-gradient(112deg, rgba(114, 169, 255, 0.055) 1px, transparent 1px),
    var(--night);
  background-size: auto, 92px 100%, auto;
}

body[data-page="nutrition"] .page-hero {
  background:
    radial-gradient(circle at 77% 24%, rgba(47, 217, 176, 0.11), transparent 24%),
    radial-gradient(circle at 86% 58%, rgba(30, 79, 232, 0.2), transparent 32%),
    var(--night);
}

body[data-page="nutrition"] .page-hero::after {
  border-color: rgba(143, 225, 207, 0.13);
  border-radius: 43% 57% 62% 38%;
  transform: rotate(14deg);
}

body[data-page="training"] .page-hero {
  background:
    radial-gradient(circle at 66% 33%, rgba(30, 79, 232, 0.31), transparent 28%),
    linear-gradient(155deg, rgba(114, 169, 255, 0.07), transparent 42%),
    var(--night);
}

body[data-page="training"] .page-hero::after {
  right: -18vw;
  bottom: -30vw;
  width: 74vw;
  height: 74vw;
  border-color: rgba(114, 169, 255, 0.24);
}

body[data-page="coach"] .page-hero {
  background:
    radial-gradient(circle at 26% 74%, rgba(114, 169, 255, 0.09), transparent 23%),
    radial-gradient(circle at 77% 20%, rgba(30, 79, 232, 0.22), transparent 27%),
    var(--night);
}

body[data-page="coach"] .page-hero::after {
  right: 7vw;
  bottom: -33vw;
  width: 50vw;
  height: 50vw;
  box-shadow:
    0 0 0 74px rgba(65, 110, 226, 0.035),
    0 0 0 148px rgba(65, 110, 226, 0.018);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin-inline: auto;
}

.page-number {
  margin-bottom: 28px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-title {
  max-width: 1110px;
  margin-bottom: 30px;
  font-size: clamp(68px, 9vw, 132px);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 0.98;
}

.page-title em {
  font-family: var(--font-display);
  font-weight: 400;
}

.page-lede {
  max-width: 680px;
  margin: 0;
  color: var(--white-soft);
  font-size: clamp(19px, 2vw, 24px);
}

.page-jump {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100% - 1240px) / 2));
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-jump::after {
  content: "↓";
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  color: var(--white);
}

.analysis-frame {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

body[data-page="health"] .analysis-frame::before {
  content: "";
  position: absolute;
  top: -32px;
  bottom: -32px;
  left: 354px;
  width: 1px;
  background: linear-gradient(transparent, rgba(114, 169, 255, 0.28) 14%, rgba(114, 169, 255, 0.08) 86%, transparent);
  pointer-events: none;
}

.health-tabs {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 4px;
}

.health-tab {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.3s ease,
    transform 0.34s var(--ease-soft),
    opacity 0.3s ease;
}

.health-tab:hover {
  color: var(--ink);
  transform: translateX(4px);
}

.health-tab[aria-selected="true"] {
  color: var(--ink);
}

.health-tab .tab-index {
  font-family: var(--font-mono);
  font-size: 10px;
}

.health-tab .tab-state {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transform: scale(0.3);
  transition:
    opacity 0.32s ease,
    transform 0.4s var(--ease-out);
}

.health-tab[aria-selected="true"] .tab-state {
  opacity: 1;
  transform: scale(1);
}

.analysis-panel {
  display: none;
}

.analysis-panel.is-active {
  display: block;
}

.score-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(320px, 1.24fr);
  gap: 18px;
}

.score-card,
.signal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.44);
  box-shadow:
    0 24px 60px rgba(15, 23, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.score-card {
  min-height: 470px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.score-label {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.score-ring {
  position: relative;
  display: grid;
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper-bright) 58%, transparent 59%),
    conic-gradient(var(--blue) 0 82%, rgba(11, 16, 24, 0.09) 82% 100%);
  box-shadow: inset 0 0 34px rgba(40, 100, 240, 0.12);
}

.score-ring span {
  font-family: var(--font-ui);
  font-size: clamp(64px, 7vw, 100px);
  font-weight: 400;
  letter-spacing: -0.07em;
}

.score-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.signal-card {
  padding: 32px;
}

.signal-card h3 {
  margin-bottom: 26px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.signal-list {
  display: grid;
  gap: 25px;
}

.signal-row {
  display: grid;
  grid-template-columns: 105px 1fr auto;
  gap: 16px;
  align-items: center;
}

.signal-name {
  color: var(--ink-soft);
  font-size: 13px;
}

.signal-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 16, 24, 0.09);
}

.signal-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transform: scaleX(var(--value, 0.7));
  transform-origin: left;
}

.signal-value {
  font-family: var(--font-mono);
  font-size: 11px;
}

.decision-card {
  margin-top: 18px;
  padding: 28px 30px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--blue);
}

.decision-card strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.decision-card p {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 25px);
}

.logic-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 66px;
  border: 1px solid var(--night-line);
  background: var(--night-line);
}

.logic-step {
  min-height: 230px;
  padding: 28px;
  background: var(--night);
}

.logic-step span {
  display: block;
}

.logic-step .logic-no {
  margin-bottom: 75px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
}

.logic-step .logic-title {
  margin-bottom: 9px;
  font-family: var(--font-ui);
  font-size: 23px;
  letter-spacing: -0.03em;
}

.logic-step .logic-copy {
  color: var(--white-soft);
  font-size: 14px;
}

.nutrition-playground {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(47, 217, 176, 0.11), transparent 24%),
    radial-gradient(circle at 88% 70%, rgba(30, 79, 232, 0.15), transparent 28%),
    var(--night);
}

.nutrition-game-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 94px);
}

.nutrition-game-intro .section-title,
.nutrition-game-intro .lede {
  margin-bottom: 0;
}

.nutrition-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(440px, 1.16fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% -30%, rgba(255, 255, 255, 0.11), transparent 38%),
    rgba(13, 17, 28, 0.56);
  -webkit-backdrop-filter: blur(16px) saturate(132%);
  backdrop-filter: blur(16px) saturate(132%);
  box-shadow:
    0 42px 110px rgba(0, 3, 12, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.food-shelf,
.nutrition-ledger {
  position: relative;
  border-radius: 31px;
  background: rgba(5, 7, 12, 0.68);
}

.food-shelf {
  padding: clamp(22px, 3vw, 34px);
}

.nutrition-ledger {
  padding: clamp(24px, 3.2vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(114, 169, 255, 0.18);
  background:
    radial-gradient(circle at 92% 0%, rgba(30, 79, 232, 0.16), transparent 35%),
    rgba(12, 16, 27, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.game-panel-head,
.ledger-head,
.meal-tray-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.game-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-panel-head h3,
.ledger-head h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.game-hint {
  max-width: 110px;
  color: var(--white-soft);
  font-size: 10px;
  text-align: right;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 28px;
}

.food-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr 20px;
  gap: 11px;
  align-items: center;
  min-height: 84px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.42s var(--ease-out),
    opacity 0.28s ease,
    box-shadow 0.42s var(--ease-out);
}

.food-item::after {
  content: attr(data-count);
  position: absolute;
  top: 7px;
  right: 8px;
  min-width: 18px;
  min-height: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--night);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  text-align: center;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.24s ease,
    transform 0.34s var(--ease-out);
}

.food-item[data-count]::after {
  opacity: 1;
  transform: scale(1);
}

.food-item:hover,
.food-item:focus-visible {
  transform: translateY(-4px) scale(1.012);
  box-shadow:
    0 20px 34px rgba(0, 3, 12, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.food-item:active {
  transform: translateY(-1px) scale(0.98);
}

.food-item strong,
.food-item small {
  display: block;
}

.food-item strong {
  font-size: 13px;
  font-weight: 600;
}

.food-item small {
  margin-top: 3px;
  color: var(--white-soft);
  font-size: 9px;
}

.food-add {
  color: var(--blue-bright);
  font-size: 17px;
}

.food-visual {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
    rgba(30, 79, 232, 0.14);
}

.food-visual i {
  display: block;
  width: 28px;
  height: 20px;
  border: 4px solid var(--blue-bright);
  border-radius: 54% 42% 48% 52%;
  transform: rotate(-9deg);
}

.food-rice i,
.food-yogurt i {
  height: 24px;
  border-radius: 4px 4px 14px 14px;
  transform: none;
}

.food-greens i {
  width: 22px;
  height: 31px;
  border-radius: 80% 12% 80% 12%;
  transform: rotate(36deg);
}

.food-berries i {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 12px 5px 0 rgba(114, 169, 255, 0.72), 2px 15px 0 rgba(114, 169, 255, 0.48);
  transform: translate(-6px, -5px);
}

.food-avocado i {
  width: 25px;
  height: 33px;
  border-radius: 60% 60% 55% 55% / 76% 76% 42% 42%;
  transform: none;
}

.daily-score {
  min-width: 98px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.daily-score > span {
  display: block;
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.daily-score strong {
  display: flex;
  align-items: baseline;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.daily-score small {
  margin-left: 3px;
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 9px;
}

.score-meter {
  height: 5px;
  margin: 24px 0 17px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.score-meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  box-shadow: 0 0 18px rgba(114, 169, 255, 0.34);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.nutrition-table th,
.nutrition-table td {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nutrition-table th {
  width: 38%;
  color: var(--white-soft);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.nutrition-table td {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
}

.nutrition-table td:nth-child(2) {
  width: 26%;
}

.nutrition-table output {
  margin-right: 4px;
  font-size: 15px;
  font-weight: 500;
}

.table-target {
  color: rgba(246, 248, 244, 0.44);
  font-size: 9px;
}

.meal-tray {
  margin-top: 26px;
}

.meal-tray-head {
  align-items: center;
  margin-bottom: 12px;
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-reset {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.25s ease;
}

.game-reset:disabled {
  cursor: default;
  opacity: 0.34;
}

.game-reset:not(:disabled):hover {
  transform: translateY(-2px);
}

.meal-tray-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 45px;
}

.empty-tray {
  margin: 6px 0 0;
  color: rgba(246, 248, 244, 0.46);
  font-size: 11px;
}

.tray-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(114, 169, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(30, 79, 232, 0.09);
  font-size: 10px;
}

.tray-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 12px rgba(114, 169, 255, 0.5);
}

.tray-item strong {
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 8px;
}

.food-flight {
  position: fixed;
  z-index: 240;
  margin: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.nutrition-method-section {
  overflow: visible;
  background:
    radial-gradient(circle at 72% 12%, rgba(47, 217, 176, 0.08), transparent 22%),
    #070910 !important;
}

.nutrition-method-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(440px, 1.3fr);
  gap: clamp(48px, 10vw, 148px);
  align-items: start;
}

.nutrition-method-copy {
  position: sticky;
  top: 140px;
}

.nutrition-method {
  display: grid;
  gap: 26px;
  padding-bottom: 18vh;
}

.method-card {
  position: sticky;
  top: calc(104px + var(--stack-index) * 18px);
  min-height: 500px;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 0%, rgba(30, 79, 232, 0.18), transparent 34%),
    rgba(13, 17, 28, 0.94);
  box-shadow:
    0 34px 80px rgba(0, 3, 12, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

.method-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 0%, rgba(47, 217, 176, 0.11), transparent 34%),
    rgba(13, 17, 28, 0.97);
}

.method-card:nth-child(3) {
  background:
    radial-gradient(circle at 82% 0%, rgba(114, 169, 255, 0.15), transparent 34%),
    rgba(13, 17, 28, 0.98);
}

.method-index {
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.method-card h3 {
  max-width: 570px;
  margin: 100px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.8vw, 76px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

.method-card > p {
  max-width: 540px;
  color: var(--white-soft);
  font-size: 16px;
}

.method-readout {
  position: absolute;
  right: 34px;
  bottom: 30px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-readout span {
  color: var(--white-soft);
}

.method-signal,
.portion-control,
.context-wave {
  position: absolute;
  top: 36px;
  right: 38px;
  width: 128px;
  height: 72px;
}

.method-signal {
  display: flex;
  align-items: end;
  gap: 8px;
}

.method-signal i {
  width: 18px;
  height: 28%;
  border-radius: 999px;
  background: var(--blue-bright);
  box-shadow: 0 0 18px rgba(114, 169, 255, 0.28);
  transform-origin: bottom;
}

.method-signal i:nth-child(2) {
  height: 78%;
}

.method-signal i:nth-child(3) {
  height: 52%;
}

.method-signal i:nth-child(4) {
  height: 92%;
}

.portion-control {
  height: 3px;
  margin-top: 31px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.portion-control span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--blue-bright);
  transform-origin: left;
}

.portion-control i {
  position: absolute;
  top: -9px;
  left: 63%;
  width: 20px;
  height: 20px;
  border: 4px solid rgba(10, 14, 24, 0.92);
  border-radius: 50%;
  background: var(--white);
}

.context-wave {
  display: flex;
  align-items: center;
}

.context-wave i {
  width: 46px;
  height: 46px;
  margin-left: -12px;
  border: 1px solid rgba(114, 169, 255, 0.34);
  border-radius: 50%;
}

.plan-stage {
  display: grid;
  grid-template-columns: minmax(270px, 0.68fr) minmax(440px, 1.32fr);
  gap: clamp(52px, 10vw, 144px);
  align-items: center;
}

.video-control {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(5, 7, 11, 0.44);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-soft),
    opacity 0.3s ease;
}

.plan-prompt {
  position: relative;
  margin-top: 35px;
  padding: 0 0 0 44px;
  border: 0;
  color: rgba(246, 248, 244, 0.82);
  background: transparent;
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

.plan-prompt::before {
  content: "“";
  position: absolute;
  top: -0.22em;
  left: 0;
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
}

.constraint-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.constraint-ribbon span {
  min-height: 72px;
  padding: 14px;
  color: var(--white);
  background: rgba(8, 11, 18, 0.88);
  font-size: 11px;
  font-weight: 600;
}

.constraint-ribbon small {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.plan-steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: plan;
}

.plan-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 23px 0;
  border-top: 1px solid var(--night-line);
  color: var(--white-soft);
  counter-increment: plan;
}

.plan-steps li::before {
  content: "0" counter(plan);
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
}

.plan-steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-weight: 500;
}

.coach-stage {
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(380px, 1.04fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
}

.conversation {
  position: relative;
  min-height: 670px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 24% 12%, rgba(55, 103, 226, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-float);
}

.conversation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 33px;
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--blue-bright), rgba(109, 152, 255, 0.1));
}

.conversation-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 42px 20px;
}

.coach-orb {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(130, 166, 255, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.2), transparent 30%),
    rgba(55, 103, 226, 0.2);
  box-shadow: 0 0 36px rgba(55, 103, 226, 0.23);
}

.conversation-status {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message {
  position: relative;
  max-width: 84%;
  margin-bottom: 15px;
  padding: 18px 20px;
  border-radius: 21px;
  font-size: 15px;
}

.message.coach {
  margin-left: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--night-line);
}

.message.user {
  margin-left: auto;
  color: var(--night);
  background: var(--white);
}

.message strong {
  font-weight: 600;
}

.message-action {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-list {
  display: grid;
  gap: 1px;
  margin-top: 38px;
  background: var(--night-line);
}

.evidence-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 24px 0;
  background: var(--night);
}

.evidence-item .evidence-no {
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
}

.evidence-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-weight: 500;
}

.evidence-item p {
  margin: 0;
  color: var(--white-soft);
}

body:not([data-page="home"]) {
  color: var(--white);
  background: var(--night);
}

body:not([data-page="home"]) .section-paper {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(30, 79, 232, 0.14), transparent 26%),
    radial-gradient(circle at 8% 86%, rgba(69, 108, 207, 0.1), transparent 24%),
    #080a10;
}

body:not([data-page="home"]) .section-paper .lede,
body:not([data-page="home"]) .section-paper .route-description,
body:not([data-page="home"]) .health-tab,
body:not([data-page="home"]) .score-label,
body:not([data-page="home"]) .score-note,
body:not([data-page="home"]) .signal-name {
  color: rgba(246, 248, 244, 0.78);
}

body:not([data-page="home"]) .section-paper .route-list,
body:not([data-page="home"]) .section-paper .route-row,
body:not([data-page="home"]) .health-tab {
  border-color: rgba(255, 255, 255, 0.13);
}

body:not([data-page="home"]) .section-paper .route-row::before {
  background:
    radial-gradient(circle at 10% 50%, rgba(114, 169, 255, 0.18), transparent 26%),
    rgba(255, 255, 255, 0.024);
}

body:not([data-page="home"]) .section-paper .route-arrow {
  border-color: rgba(255, 255, 255, 0.18);
}

body:not([data-page="home"]) .health-tab:hover,
body:not([data-page="home"]) .health-tab[aria-selected="true"] {
  color: var(--white);
}

body:not([data-page="home"]) .score-card,
body:not([data-page="home"]) .signal-card,
.conversation,
.logic-step {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 18% -32%, rgba(255, 255, 255, 0.17), transparent 40%),
    rgba(15, 20, 32, 0.2);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  box-shadow:
    0 28px 74px rgba(0, 3, 12, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.24s ease;
}

body:not([data-page="home"]) .score-ring {
  background:
    radial-gradient(circle, rgba(8, 11, 18, 0.94) 58%, transparent 59%),
    conic-gradient(var(--blue-bright) 0 82%, rgba(255, 255, 255, 0.09) 82% 100%) !important;
  box-shadow:
    0 0 50px rgba(30, 79, 232, 0.14),
    inset 0 0 34px rgba(114, 169, 255, 0.12);
}

body:not([data-page="home"]) .signal-track {
  background: rgba(255, 255, 255, 0.09);
}

body:not([data-page="home"]) .signal-fill {
  background: var(--blue-bright);
}

body:not([data-page="home"]) .decision-card {
  border: 1px solid rgba(114, 169, 255, 0.34);
  background:
    radial-gradient(circle at 12% -50%, rgba(255, 255, 255, 0.18), transparent 46%),
    rgba(30, 79, 232, 0.48);
  -webkit-backdrop-filter: blur(10px) saturate(135%);
  backdrop-filter: blur(10px) saturate(135%);
  box-shadow:
    0 24px 66px rgba(0, 13, 64, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logic-line,
.evidence-list {
  border-color: rgba(255, 255, 255, 0.13);
  background: transparent;
  gap: 12px;
}

.logic-line {
  gap: 0;
  border-right: 0;
  border-left: 0;
}

.logic-line .logic-step {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.logic-line .logic-step:last-child {
  border-right: 0;
}

.final-cta {
  position: relative;
  padding-block: clamp(118px, 16vw, 210px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 32%, rgba(30, 79, 232, 0.24), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(114, 169, 255, 0.08), transparent 26%),
    #070910;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 18% -12% auto;
  height: 42%;
  border-top: 1px solid rgba(114, 169, 255, 0.26);
  border-radius: 50%;
  box-shadow:
    0 -22px 70px rgba(30, 79, 232, 0.12),
    0 -80px 120px rgba(30, 79, 232, 0.06);
  transform: rotate(-4deg);
}

.final-cta::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -44vw;
  width: 78vw;
  height: 78vw;
  border: 1px solid rgba(114, 169, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 100px rgba(30, 79, 232, 0.035),
    0 0 0 200px rgba(30, 79, 232, 0.02);
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  width: var(--page);
  margin-inline: auto;
}

.final-cta h2 {
  max-width: 980px;
  margin-bottom: 34px;
  font-size: clamp(58px, 8.2vw, 118px);
  font-weight: 400;
  letter-spacing: -0.047em;
  line-height: 0.98;
}

.final-cta h2 em {
  font-family: var(--font-display);
  font-weight: 400;
}

body[data-page="nutrition"] .final-cta {
  background:
    radial-gradient(circle at 78% 32%, rgba(47, 217, 176, 0.1), transparent 27%),
    radial-gradient(circle at 18% 82%, rgba(30, 79, 232, 0.11), transparent 26%),
    #070910;
}

/* Honest pre-launch state: a product announcement, not a dead download CTA. */
.prelaunch {
  padding: clamp(16px, 2vw, 28px);
  color: #071126;
  background: var(--night);
}

.prelaunch-inner {
  position: relative;
  min-height: clamp(760px, 84vw, 1120px);
  padding: clamp(88px, 10vw, 148px) 24px clamp(80px, 9vw, 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: clamp(34px, 4vw, 58px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 90%, rgba(30, 79, 232, 0.58), transparent 33%),
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.84), transparent 31%),
    linear-gradient(152deg, #f6f8ff 0%, #e9eeff 47%, #b9cafa 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 34px 90px rgba(0, 7, 29, 0.2);
}

.prelaunch-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38%;
  width: min(920px, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.055),
    0 0 0 180px rgba(255, 255, 255, 0.035);
  transform: translateX(-50%);
  pointer-events: none;
}

.prelaunch-inner > * {
  position: relative;
  z-index: 1;
}

.prelaunch-mark {
  width: clamp(92px, 9vw, 132px);
  aspect-ratio: 1;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28%;
  background:
    radial-gradient(circle at 52% 46%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(145deg, #171920, #050609 72%);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.prelaunch-mark img {
  width: 62%;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.32));
}

.prelaunch-kicker {
  margin: 0 0 22px;
  color: rgba(7, 17, 38, 0.58);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prelaunch h2 {
  max-width: 1050px;
  margin: 0;
  color: #071126;
  font-family: var(--font-ui);
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.prelaunch-copy {
  max-width: 720px;
  margin: 34px auto 0;
  color: rgba(7, 17, 38, 0.67);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.48;
}

.app-store-soon {
  margin-top: 46px;
  min-width: 248px;
  min-height: 78px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--white);
  background: #05060a;
  box-shadow: 0 18px 38px rgba(7, 17, 38, 0.2);
  text-decoration: none;
  transition:
    transform 0.34s var(--ease-soft),
    box-shadow 0.34s var(--ease-soft),
    background-color 0.28s ease;
}

.app-store-soon:hover {
  background: #111725;
  box-shadow: 0 24px 46px rgba(7, 17, 38, 0.28);
  transform: translateY(-2px);
}

.app-store-soon:active {
  transform: translateY(0) scale(0.985);
}

.app-store-soon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.app-store-soon > span {
  display: grid;
  text-align: left;
  line-height: 1;
}

.app-store-soon small {
  margin-bottom: 5px;
  font-size: 12px;
}

.app-store-soon strong {
  font-family: var(--font-ui);
  font-size: 25px;
  font-weight: 520;
  letter-spacing: -0.035em;
}

.prelaunch-note {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(7, 17, 38, 0.52);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prelaunch-note span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

/* Product depth — app capabilities translated into focused web narratives. */
.depth-header {
  max-width: 1050px;
  margin-bottom: clamp(64px, 9vw, 120px);
}

.depth-header .lede {
  margin-bottom: 0;
}

.depth-header-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: end;
}

.depth-header-split .section-title {
  margin-bottom: 0;
}

.capability-field {
  position: relative;
  overflow: hidden;
}

.capability-field::before {
  content: "";
  position: absolute;
  top: 13%;
  right: -17%;
  width: 58vw;
  aspect-ratio: 1;
  border: 1px solid rgba(30, 79, 232, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 110px rgba(30, 79, 232, 0.025),
    0 0 0 220px rgba(30, 79, 232, 0.014);
  pointer-events: none;
}

.capability-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-panel {
  min-height: 470px;
  padding: clamp(32px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-panel:first-child {
  grid-row: span 2;
  min-height: 940px;
}

.capability-panel h3 {
  max-width: 540px;
  margin: auto 0 16px;
  font-size: clamp(28px, 3.3vw, 48px);
  font-weight: 450;
  letter-spacing: -0.045em;
}

.capability-panel p {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.58;
}

.capability-index,
.blueprint-index {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.session-pulse {
  position: relative;
  width: min(470px, 86%);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 79, 232, 0.16);
  border-radius: 50%;
}

.session-pulse::before,
.session-pulse::after,
.session-pulse i {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(30, 79, 232, 0.14);
  border-radius: 50%;
}

.session-pulse::after {
  inset: 29%;
  border-color: rgba(30, 79, 232, 0.28);
}

.session-pulse i:first-child {
  inset: 43%;
  border: 0;
  background: var(--blue);
  box-shadow: 0 0 38px rgba(30, 79, 232, 0.38);
}

.session-pulse i:last-of-type {
  inset: 0;
  border-top-color: var(--blue);
  transform: rotate(34deg);
}

.session-pulse span {
  position: absolute;
  bottom: 17%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.body-axis {
  margin: auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.body-axis i {
  height: 1px;
  background: linear-gradient(90deg, rgba(30, 79, 232, 0.16), var(--blue), rgba(30, 79, 232, 0.16));
}

.source-marquee {
  margin: auto -4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-marquee span,
.source-line strong {
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.health-blueprint {
  position: relative;
  overflow: hidden;
}

.health-blueprint::after {
  content: "BASELINE / DEVIATION / CONTEXT / ACTION";
  position: absolute;
  right: -3vw;
  bottom: 3vw;
  color: rgba(30, 79, 232, 0.035);
  font-family: var(--font-mono);
  font-size: clamp(34px, 5.5vw, 88px);
  letter-spacing: -0.04em;
  white-space: nowrap;
  transform: rotate(-4deg);
  pointer-events: none;
}

.blueprint-table {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.blueprint-row {
  display: grid;
  grid-template-columns: 60px minmax(180px, 0.58fr) minmax(320px, 1.42fr) auto;
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
  min-height: 190px;
  border-bottom: 1px solid var(--line);
}

.blueprint-row h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 430;
  letter-spacing: -0.04em;
}

.blueprint-row p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.blueprint-threshold {
  padding: 9px 12px;
  border: 1px solid rgba(30, 79, 232, 0.18);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.source-line {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.source-line > span {
  margin-right: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nutrition-continuum {
  position: relative;
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}

.nutrition-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--night-line);
  border-left: 1px solid var(--night-line);
}

.nutrition-flow-step {
  position: relative;
  min-height: 350px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
  overflow: hidden;
}

.nutrition-flow-step::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(114, 169, 255, 0.17);
  border-radius: 50%;
  transform: scale(0.72);
  transition: transform 0.72s var(--ease-out);
}

.nutrition-flow-step:hover::after {
  transform: scale(1);
}

.nutrition-flow-step > span {
  color: var(--blue-bright);
  font-family: var(--font-mono);
  font-size: 10px;
}

.nutrition-flow-step strong {
  margin: auto 0 15px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 450;
  letter-spacing: -0.04em;
}

.nutrition-flow-step p {
  margin: 0;
  color: var(--white-soft);
  font-size: 15px;
  line-height: 1.55;
}

.nutrition-proof {
  margin-top: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 16px;
  align-items: center;
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nutrition-proof i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114, 169, 255, 0.58), transparent);
}

.session-runtime {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--night-line);
}

.session-runtime::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(114, 169, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 169, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 25% 50%, #000, transparent 52%);
  mask-image: radial-gradient(circle at 25% 50%, #000, transparent 52%);
  pointer-events: none;
}

.runtime-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(64px, 9vw, 140px);
  align-items: center;
}

.runtime-console {
  min-height: 620px;
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.runtime-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.runtime-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #70ed9a;
  box-shadow: 0 0 18px rgba(112, 237, 154, 0.6);
}

.runtime-clock {
  margin: auto 0;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: clamp(50px, 6vw, 86px);
  font-weight: 300;
  letter-spacing: -0.06em;
}

.runtime-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}

.runtime-stats span {
  padding: 20px 12px 20px 0;
  color: var(--white-faint);
  font-size: 11px;
}

.runtime-stats strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
}

.runtime-score {
  margin-top: 34px;
}

.runtime-score > span {
  display: block;
  height: 2px;
  background: var(--blue-bright);
  transform: scaleX(var(--runtime-value));
  transform-origin: left;
}

.runtime-score small {
  display: block;
  margin-top: 11px;
  color: var(--white-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.runtime-footnotes {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.5;
}

.runtime-footnotes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-controls {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--night-line);
}

.coach-controls::after {
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  width: 54vw;
  aspect-ratio: 1;
  border: 1px solid rgba(114, 169, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.coach-control-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--night-line);
  border-left: 1px solid var(--night-line);
}

.coach-control-card {
  min-height: 490px;
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}

.coach-control-card .capability-index {
  color: var(--blue-bright);
}

.coach-control-card h3 {
  margin: auto 0 0;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: clamp(25px, 2.7vw, 38px);
  font-weight: 430;
  letter-spacing: -0.04em;
}

.coach-modes,
.coach-output {
  margin: auto 0;
  display: grid;
  gap: 7px;
}

.coach-modes span,
.coach-output span {
  padding: 12px 14px;
  border: 1px solid var(--night-line);
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-modes span:nth-child(2),
.coach-output span:first-child {
  border-color: rgba(114, 169, 255, 0.48);
  color: var(--white);
  background: rgba(30, 79, 232, 0.12);
}

.confidence-readout {
  margin: auto 0;
}

.confidence-readout strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 126px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.confidence-readout span {
  color: var(--white-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  padding: 65px 24px 30px;
  color: var(--white);
  background: var(--night);
}

.footer-grid {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: 38px;
  padding-bottom: 68px;
}

.footer-brand .wordmark {
  margin-bottom: 17px;
}

.footer-brand p {
  max-width: 340px;
  color: var(--white-soft);
}

.footer-col strong {
  display: block;
  margin-bottom: 16px;
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--white);
  text-decoration: none;
}

.footer-col a:hover {
  opacity: 0.64;
}

.footer-base {
  width: var(--page);
  margin-inline: auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--night-line);
  color: var(--white-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .site-nav {
    background: rgba(7, 10, 16, 0.94);
  }
}

@media (hover: hover) and (pointer: fine) {
  .score-card:hover,
  .signal-card:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow:
      0 34px 84px rgba(0, 3, 12, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  }
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 34px, 760px);
  }

  .living-metrics {
    display: none;
  }

  .site-nav {
    padding-inline: 14px;
  }

  .nav-cta {
    display: none;
  }

  .hero-index,
  .logic-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-intro,
  .founder-grid,
  .analysis-frame,
  .plan-stage,
  .coach-stage {
    grid-template-columns: 1fr;
  }

  .founder-mark {
    position: relative;
    top: auto;
    width: 100%;
    min-height: 260px;
  }

  .founder-mark img {
    width: clamp(240px, 52vw, 360px);
  }

  .health-tabs {
    position: relative;
    top: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: auto;
  }

  body[data-page="health"] .analysis-frame::before {
    display: none;
  }

  .health-tab {
    grid-template-columns: 1fr;
    min-width: 120px;
  }

  .health-tab .tab-index,
  .health-tab .tab-state {
    display: none;
  }

  .media-feature {
    min-height: 640px;
  }

  .decision-lens {
    margin-left: 18vw;
  }

  .plan-stage,
  .coach-stage {
    gap: 72px;
  }

  .nutrition-game,
  .nutrition-game-intro,
  .nutrition-method-layout {
    grid-template-columns: 1fr;
  }

  .depth-header-split,
  .runtime-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability-panel:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 700px;
  }

  .blueprint-row {
    grid-template-columns: 48px minmax(160px, 0.58fr) minmax(260px, 1.42fr);
  }

  .blueprint-threshold {
    grid-column: 3;
    width: fit-content;
    margin-top: -36px;
  }

  .nutrition-flow,
  .coach-control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coach-control-card:last-child {
    grid-column: 1 / -1;
    min-height: 390px;
  }

  .runtime-console {
    min-height: 540px;
  }

  .nutrition-method-copy {
    position: relative;
    top: auto;
  }

  .nutrition-game-intro {
    align-items: start;
  }

  .apple-sync-intro {
    grid-template-columns: 1fr;
  }

  .apple-sync-intro .eyebrow {
    grid-column: auto;
  }

  .apple-sync-intro .lede {
    max-width: 560px;
  }

  .apple-sync-stage {
    gap: clamp(34px, 5vw, 68px);
  }

  .watch-feature {
    min-height: 560px;
  }

  .apple-live-panel {
    padding: 30px;
  }

  .ecosystem-activity {
    width: clamp(430px, 52vw, 570px);
  }

  .ecosystem-fitness {
    width: clamp(112px, 13vw, 154px);
  }

  .wearable-rail-heading {
    grid-template-columns: 1fr;
  }

  .wearable-rail-heading .eyebrow {
    grid-column: auto;
  }

  .wearable-rail-heading .lede {
    max-width: 540px;
  }
}

@media (max-width: 720px) {
  :root {
    --page: calc(100% - 28px);
    --radius-xl: 35px;
  }

  .site-nav {
    height: 58px;
    padding-inline: 10px;
  }

  body.has-floating-nav .site-nav {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 24px);
  }

  .wordmark {
    gap: 7px;
    font-size: 15px;
  }

  .wordmark img {
    width: 25px;
    height: 25px;
  }

  .wordmark span {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    min-height: 44px;
    padding: 13px 6px 11px;
    font-size: 10px;
  }

  .nav-links a::after {
    right: 9px;
  }

  .hero {
    min-height: 100svh;
    padding: 132px 14px 36px;
  }

  .display {
    font-size: clamp(56px, 16.3vw, 78px);
    line-height: 0.98;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-index {
    margin-top: 62px;
  }

  .hero-index a {
    min-height: 92px;
    padding: 17px 15px;
  }

  .hero-index .index-no {
    margin-bottom: 10px;
  }

  .hero-index .index-label {
    font-size: 15px;
  }

  .founder-grid {
    gap: 34px;
  }

  .founder-mark {
    min-height: 220px;
  }

  .founder-mark img {
    width: min(300px, 72vw);
  }

  .prelaunch {
    padding: 10px;
  }

  .prelaunch-inner {
    min-height: 760px;
    padding: 76px 18px 72px;
    border-radius: 32px;
  }

  .prelaunch-inner::after {
    bottom: -16%;
    width: 118vw;
  }

  .prelaunch-mark {
    width: 90px;
    margin-bottom: 24px;
    border-radius: 24px;
  }

  .prelaunch h2 {
    max-width: 520px;
    font-size: clamp(47px, 13.7vw, 68px);
    line-height: 0.96;
  }

  .prelaunch-copy {
    max-width: 520px;
    margin-top: 26px;
    font-size: 16px;
  }

  .app-store-soon {
    min-width: 226px;
    min-height: 72px;
    margin-top: 38px;
  }

  .prelaunch-note {
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.5;
  }

  .section {
    padding-block: 92px;
  }

  .section-title {
    font-size: clamp(45px, 15vw, 72px);
  }

  .depth-header {
    margin-bottom: 58px;
  }

  .capability-grid,
  .nutrition-flow,
  .coach-control-grid {
    grid-template-columns: 1fr;
  }

  .capability-panel,
  .capability-panel:first-child {
    grid-column: auto;
    min-height: 490px;
  }

  .session-pulse {
    width: min(330px, 74%);
  }

  .blueprint-row {
    grid-template-columns: 34px 1fr;
    gap: 14px 18px;
    min-height: 0;
    padding-block: 34px;
  }

  .blueprint-row p,
  .blueprint-threshold {
    grid-column: 2;
    margin: 0;
  }

  .blueprint-row h3 {
    font-size: 32px;
  }

  .source-line > span {
    width: 100%;
    margin-bottom: 6px;
  }

  .nutrition-flow-step {
    min-height: 270px;
  }

  .nutrition-proof {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nutrition-proof i {
    width: 1px;
    height: 20px;
    margin-left: 10px;
    background: rgba(114, 169, 255, 0.45);
  }

  .runtime-console {
    min-height: 480px;
  }

  .runtime-stats {
    grid-template-columns: 1fr 1fr;
  }

  .runtime-stats span:last-child {
    grid-column: 1 / -1;
  }

  .runtime-footnotes {
    grid-template-columns: 1fr;
  }

  .coach-control-card,
  .coach-control-card:last-child {
    grid-column: auto;
    min-height: 390px;
  }

  .route-row {
    grid-template-columns: 42px 1fr 38px;
    gap: 12px;
    min-height: 128px;
  }

  .route-description {
    display: none;
  }

  .route-name {
    font-size: clamp(35px, 11vw, 52px);
  }

  .media-pair {
    grid-template-columns: 1fr;
  }

  .media-feature {
    min-height: 620px;
    padding: 30px 24px;
  }

  .phone-media {
    right: 10%;
    width: 67%;
  }

  .health-bridge {
    height: 1030px;
  }

  .health-bridge-stage {
    width: 100vw;
    height: 980px;
  }

  .health-bridge-visual {
    top: 0;
    height: 690px;
  }

  .health-bridge-image {
    object-position: 42% 50%;
  }

  .health-bridge-copy {
    top: 102px;
    left: 50%;
    width: calc(100vw - 28px);
    padding-inline: 0;
    text-align: center;
  }

  .health-source-icons {
    gap: 18px;
    margin-bottom: 18px;
  }

  .health-source-icon {
    width: 76px;
  }

  .health-bridge-copy h2 {
    font-size: clamp(40px, 11.8vw, 56px);
    line-height: 0.98;
  }

  .health-bridge-copy > p:last-child {
    max-width: 510px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.43;
  }

  .health-phone-deck {
    top: 500px;
    width: 100vw;
    gap: 0;
  }

  .health-phone-wrap {
    width: min(190px, 58vw);
  }

  .health-phone-left,
  .health-phone-right {
    display: none;
  }

  .health-phone-centre {
    margin-top: 0;
  }

  .health-deck-ground {
    top: 846px;
    width: min(390px, 94vw);
    height: 92px;
    filter: blur(11px);
  }

  .health-deck-caption {
    top: 888px;
    width: calc(100vw - 36px);
  }

  .health-deck-caption h3 {
    font-size: clamp(25px, 7.5vw, 32px);
    line-height: 1.06;
  }

  .health-deck-caption p {
    max-width: 520px;
    margin-top: 10px;
    color: rgba(218, 226, 244, 0.82);
    font-size: 15px;
    line-height: 1.42;
  }

  .health-caption-desktop {
    display: none;
  }

  .health-caption-mobile {
    display: inline;
  }

  .privacy-vault {
    padding: 68px 0 76px;
  }

  .privacy-vault-panel {
    display: flex;
    width: calc(100% - 24px);
    min-height: 0;
    flex-direction: column;
    align-items: center;
    padding: 76px 20px 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 30px;
  }

  .privacy-vault-copy {
    width: min(560px, 100%);
    margin-inline: auto;
    text-align: center;
  }

  .privacy-vault-lock {
    width: 40px;
    margin-bottom: 16px;
  }

  .privacy-vault-copy h2 {
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 1.04;
  }

  .privacy-vault-copy p {
    max-width: 520px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.42;
  }

  .privacy-vault-phone {
    display: none;
  }

  .apple-sync {
    padding: 94px 14px 106px;
  }

  .apple-sync-intro {
    gap: 20px;
    margin-bottom: 54px;
  }

  .apple-sync-intro .section-title {
    font-size: clamp(49px, 14vw, 68px);
  }

  .apple-sync-intro .lede {
    font-size: 16px;
  }

  .apple-sync-stage {
    min-height: 0;
    flex-direction: column;
    gap: 34px;
    padding: 42px 0 28px;
  }

  .ecosystem-app {
    gap: 15px;
  }

  .ecosystem-app figcaption {
    font-size: 8px;
  }

  .ecosystem-activity {
    width: 100%;
    gap: 28px;
    transform: none;
  }

  .ecosystem-activity > figcaption {
    font-size: clamp(32px, 10vw, 44px);
  }

  .ecosystem-activity .activity-card-body {
    flex-direction: row;
    gap: 18px;
    align-items: center;
  }

  .ecosystem-activity .activity-rings {
    width: min(48vw, 190px);
  }

  .ecosystem-activity .activity-details {
    width: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ecosystem-activity .activity-details strong {
    font-size: clamp(19px, 6.2vw, 27px);
  }

  .ecosystem-fitness {
    width: min(30vw, 118px);
  }

  .ecosystem-times {
    position: static;
    font-size: clamp(44px, 12vw, 64px);
  }

  .ecosystem-times,
  .ecosystem-fitness {
    transform: none;
  }

  .apple-sync-note {
    margin-top: 34px;
    text-align: center;
  }

  .watch-intelligence {
    padding: 84px 12px 104px;
  }

  .watch-feature {
    min-height: 650px;
    border-radius: 24px;
    background: #f2f2f7;
  }

  .watch-feature::before {
    display: none;
  }

  .watch-feature-image {
    top: 38%;
    right: -34%;
    bottom: -16%;
    left: auto;
    width: 142%;
    height: 72%;
    object-fit: cover;
    object-position: 46% 50%;
    transform: none;
  }

  .watch-feature-copy {
    top: 0;
    left: 0;
    width: 100%;
    padding: 54px 18px 0;
  }

  .watch-feature-copy > p {
    max-width: 302px;
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.38;
    text-align: left;
  }

  .watch-feature:hover .watch-feature-image {
    transform: none;
  }

  .wearable-rail {
    padding-block: 96px 112px;
  }

  .wearable-rail-heading {
    gap: 20px;
    margin-bottom: 62px;
  }

  .wearable-rail-heading .section-title {
    font-size: clamp(47px, 14vw, 66px);
  }

  .wearable-rail-heading .lede {
    font-size: 16px;
  }

  .brand-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .brand-marquee-set {
    gap: 58px;
    padding-right: 58px;
  }

  .wearable-brand {
    gap: 11px;
  }

  .wearable-brand svg {
    width: 32px;
    height: 32px;
  }

  .wearable-brand strong {
    font-size: 30px;
  }

  .wearable-fitbit span strong {
    font-size: 29px;
  }

  .decision-scene {
    min-height: 150svh;
  }

  .decision-sticky {
    padding-inline: 14px;
  }

  .decision-scene-copy {
    top: 13%;
    left: 24px;
  }

  .decision-lens {
    margin: 25vh 0 0;
  }

  .lens-kicker {
    margin-top: 48px;
  }

  .signal-atlas .route-row:nth-child(even) {
    margin-left: 0;
  }

  .founder-meta,
  .score-layout {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    min-height: 76svh;
    padding: 148px 14px 72px;
  }

  .page-title {
    font-size: clamp(54px, 16vw, 82px);
  }

  .page-jump {
    display: none;
  }

  .health-tabs {
    grid-template-columns: repeat(4, minmax(104px, 1fr));
    margin-right: -14px;
    padding-right: 14px;
  }

  .score-layout {
    grid-template-columns: 1fr;
  }

  .score-card {
    min-height: 420px;
  }

  .signal-row {
    grid-template-columns: 80px 1fr auto;
  }

  .logic-line {
    grid-template-columns: 1fr;
  }

  .logic-step {
    min-height: 170px;
  }

  .logic-step .logic-no {
    margin-bottom: 40px;
  }

  .nutrition-game {
    padding: 8px;
    border-radius: 30px;
  }

  .food-shelf,
  .nutrition-ledger {
    border-radius: 24px;
  }

  .nutrition-game-intro {
    margin-bottom: 48px;
  }

  .method-card {
    min-height: 460px;
    border-radius: 26px;
  }

  .method-card h3 {
    margin-top: 92px;
  }

  .constraint-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversation {
    min-height: 610px;
    padding: 24px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-base {
    display: grid;
  }
}

@media (max-width: 430px) {
  .nav-links a {
    padding-inline: 7px;
    font-size: 10px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-index {
    grid-template-columns: 1fr 1fr;
  }

  .founder-meta {
    grid-template-columns: 1fr 1fr;
  }

  .food-grid {
    grid-template-columns: 1fr;
  }

  .message {
    max-width: 92%;
  }

  .decision-scene-copy h2 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .decision-lens {
    padding: 24px 20px;
    border-radius: 28px;
  }

  .lens-evidence {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .ecosystem-activity .activity-card-body {
    flex-direction: column;
    gap: 24px;
  }

  .ecosystem-activity .activity-rings {
    width: min(58vw, 178px);
  }

  .ecosystem-activity .activity-details {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    text-align: center;
  }

  .ecosystem-activity .activity-details strong {
    font-size: clamp(18px, 6.3vw, 23px);
  }

  .ecosystem-activity .activity-details small {
    display: block;
    margin: 4px 0 0;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-warp-canvas {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee.is-ready .brand-marquee-track {
    animation: none;
  }

  .brand-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .brand-marquee::-webkit-scrollbar {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .slow-reveal,
  .word-shell,
  .word-char {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .scrub-text .scrub-word-live {
    opacity: 1 !important;
  }

  .decision-lens {
    opacity: 1;
    transform: none;
  }

  .decision-lane {
    transform: none !important;
  }

  .living-metrics {
    opacity: 0.42;
    transform: none;
  }

  .health-bridge-image-blur {
    opacity: 0.82;
  }

  .health-bridge-shade {
    opacity: 0.62;
  }

  .health-bridge-copy {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .health-phone-wrap {
    transform: none !important;
  }
}

/* Mobile navigation keeps the desktop pill language in a compact footprint. */
@media (max-width: 720px) {
  body {
    min-width: 0;
  }

  .site-nav,
  body.has-floating-nav .site-nav {
    position: fixed;
    top: max(8px, calc(env(safe-area-inset-top) + 8px));
    right: 8px;
    left: 8px;
    width: auto;
    height: 58px;
    min-height: 58px;
    padding: 6px;
    transform: none;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(7, 12, 22, 0.72);
    box-shadow:
      0 18px 44px rgba(0, 3, 12, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      inset 0 -1px 0 rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
  }

  .site-nav .wordmark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    justify-content: center;
  }

  .site-nav .wordmark img {
    width: 25px;
    height: 25px;
  }

  .site-nav .wordmark span,
  .site-nav .nav-cta {
    display: none;
  }

  .site-nav .nav-links {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    white-space: nowrap;
  }

  .site-nav .nav-links a {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    color: rgba(244, 246, 251, 0.7);
    font-size: 10px;
    line-height: 1;
  }

  .site-nav .nav-links a[aria-current="page"] {
    min-width: 52px;
    padding-right: 13px;
    color: var(--white);
  }
}

@media (max-width: 380px) {
  .site-nav .nav-links a {
    padding-inline: 4px;
    font-size: 9px;
  }
}

/* Native app previews shared by the Health, Training and Coach product pages. */
.app-preview-section {
  overflow: hidden;
}

.app-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr) minmax(128px, 0.28fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
}

.app-preview-grid-simple {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr);
}

.app-preview-grid-phone {
  grid-template-columns: minmax(0, 1fr) minmax(246px, 0.54fr);
  gap: clamp(52px, 8vw, 132px);
}

.app-preview-copy {
  max-width: 660px;
}

.app-preview-copy .lede {
  max-width: 52ch;
}

/* Product films share one upright device geometry. The real frame asset
   supplies the metal edge, camera and island treatment on every page. */
.product-phone-preview {
  position: relative;
  isolation: isolate;
  width: min(100%, 330px);
  aspect-ratio: 1293 / 2656;
  margin: 0 auto;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.48));
}

.product-phone-preview-media {
  position: absolute;
  z-index: 1;
  inset: 1.5% 4.1%;
  display: block;
  width: 91.8%;
  height: 97%;
  object-fit: cover;
  object-position: center top;
  border-radius: clamp(34px, 4.6vw, 60px);
  background: #090c14;
}

.product-phone-preview-frame {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
}

.app-preview-design {
  align-self: end;
  width: min(100%, 176px);
  margin: 0 auto -2vw;
  opacity: 0.78;
  transform: rotate(4deg);
}

.app-preview-design img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
}

@media (max-width: 980px) {
  .app-preview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(194px, 0.5fr);
  }

  .app-preview-design {
    display: none;
  }

  .app-preview-grid-phone {
    grid-template-columns: minmax(0, 1fr) minmax(216px, 0.5fr);
    gap: clamp(34px, 6vw, 72px);
  }
}

@media (max-width: 720px) {
  .app-preview-grid,
  .app-preview-grid-simple,
  .app-preview-grid-phone {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .app-preview-copy {
    text-align: center;
    margin-inline: auto;
  }

  .app-preview-copy .lede {
    margin-inline: auto;
  }

  .product-phone-preview {
    width: min(76vw, 286px);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav,
  .glass-object,
  body:not([data-page="home"]) .score-card,
  body:not([data-page="home"]) .signal-card,
  .conversation,
  .nutrition-game,
  .nutrition-ledger {
    background: rgba(8, 11, 18, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Legal pages are part of the product, not a separate template. */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(880px 500px at 100% -12%, rgba(39, 83, 175, 0.22), transparent 68%),
    radial-gradient(720px 480px at -10% 26%, rgba(62, 94, 164, 0.13), transparent 70%),
    #070a11;
  color: #f4f6fb;
}

.legal-page::after,
.legal-page .orb {
  display: none;
}

.legal-page .site-nav {
  position: sticky;
  top: 16px;
  left: auto;
  display: flex;
  width: min(980px, calc(100% - 36px));
  min-height: 64px;
  margin: 16px auto 0;
  padding: 0 22px;
  transform: none;
  border: 1px solid rgba(229, 235, 249, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 21, 0.76);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

.legal-page .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f5f7fb;
  font-family: var(--font-sans, Inter, Arial, sans-serif);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.legal-page .nav-logo::before {
  width: 20px;
  height: 20px;
  content: "";
  flex: 0 0 auto;
  border-radius: 6px;
  background: #080b12 url("/assets/lihas-logo.png") center / 168% auto no-repeat;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.legal-page .nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-page .lang-switch {
  gap: 2px;
  padding: 3px;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.045);
}

.legal-page .lang-switch a,
.legal-page .lang-switch span {
  color: rgba(241, 244, 251, 0.58);
}

.legal-page .lang-switch [aria-current] {
  color: #070a11;
  background: #f5f7fb;
}

.legal-page .back-link {
  min-height: 36px;
  margin: 0 !important;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(245, 247, 251, 0.78);
  background: rgba(255, 255, 255, 0.035);
}

.legal-page .back-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.legal-page .page-wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 74px 36px 112px;
}

.legal-page .page-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #78abff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.legal-page .page-tag::before {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
}

.legal-page h1,
.legal-page h2,
.legal-page .toc-title {
  color: #f7f8fc;
  font-family: var(--font-sans, Inter, Arial, sans-serif);
}

.legal-page h1 {
  max-width: 14ch;
  margin-top: 18px;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.legal-page h2 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.legal-page .effective {
  margin-bottom: 44px;
  padding-bottom: 26px;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(224, 230, 242, 0.54);
}

.legal-page .toc,
.legal-page .contact-card,
.legal-page .info-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.legal-page .toc {
  margin-bottom: 52px;
  padding: 25px 28px;
}

.legal-page .toc-title {
  color: rgba(231, 236, 246, 0.55);
}

.legal-page .toc a,
.legal-page p,
.legal-page li {
  color: rgba(226, 231, 241, 0.76);
}

.legal-page .toc a:hover,
.legal-page a.inline {
  color: #91bbff;
}

.legal-page .contact-card {
  margin-top: 28px;
  padding: 21px 24px;
}

.legal-page .grad-text {
  color: #91bbff;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.legal-page section.policy-sec {
  margin-bottom: 46px;
  padding-bottom: 46px;
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .legal-page .site-nav {
    top: max(8px, env(safe-area-inset-top));
    right: auto;
    width: calc(100% - 24px);
    min-height: 56px;
    margin-top: 8px;
    padding: 0 12px;
    justify-content: space-between;
    border-radius: 20px;
  }

  .legal-page .nav-logo {
    font-size: 0;
  }

  .legal-page .nav-logo::before {
    width: 22px;
    height: 22px;
  }

  .legal-page .nav-right {
    gap: 7px;
  }

  .legal-page .lang-switch a,
  .legal-page .lang-switch span {
    padding: 5px 8px;
    font-size: 10px;
  }

  .legal-page .back-link {
    width: 34px;
    min-height: 34px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .legal-page .back-link::before {
    content: "←";
    font-size: 17px;
  }

  .legal-page .page-wrap {
    padding: 54px 24px 80px;
  }

  .legal-page h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .legal-page .toc,
  .legal-page .contact-card {
    border-radius: 18px;
  }
}
