:root {
  --paper: #f7f7f3;
  --paper-deep: #efefe8;
  --ink: #111713;
  --ink-soft: #24302a;
  --muted: #69736e;
  --line: rgba(17, 23, 19, 0.13);
  --white: #fff;
  --night: #0c1511;
  --night-soft: #13211b;
  --accent: #167a5d;
  --accent-bright: #63d6a9;
  --lime: #95db4f;
  --recovery: #40b982;
  --strain: #ee8a2d;
  --sleep: #766ee8;
  --energy: #e1b53a;
  --stress: #e16450;
  --shell: 1240px;
  --side: clamp(20px, 5vw, 72px);
  --radius-lg: 34px;
  --radius-md: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-display: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { color: inherit; }

::selection { color: #061d16; background: var(--accent-bright); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 52%, transparent); outline-offset: 4px; }

.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--side); }
.section-pad { padding-block: clamp(84px, 10vw, 150px); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
}
h1 { margin-bottom: 28px; font-size: clamp(3.8rem, 8.4vw, 7.7rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.65rem, 5.8vw, 5.6rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.6rem); }
h1 em, h2 em { color: var(--accent); font-style: normal; }
p { color: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--accent-bright); }

.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(17,23,19,.08);
  background: rgba(247,247,243,.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 20px; font-weight: 650; letter-spacing: -.04em; }
.brand img { border-radius: 11px; box-shadow: 0 7px 18px rgba(22,122,93,.18); }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 38px); }
.primary-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 550; }
.primary-nav a:not(.nav-cta) { position: relative; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--ink); color: var(--white) !important; }
.nav-cta span { margin-left: 5px; color: var(--accent-bright); }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; border-radius: 2px; background: white; transition: transform .2s ease; }
.menu-toggle::before { transform: translate(-50%, -5px); }
.menu-toggle::after { transform: translate(-50%, 4px); }
.menu-toggle > span:not(.sr-only) { display: none; }

/* Hero */
.hero { position: relative; min-height: 940px; padding-top: clamp(145px, 15vw, 210px); overflow: hidden; }
.hero-atmosphere {
  position: absolute;
  top: -23%;
  right: -13%;
  width: min(920px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 50%, rgba(99,214,169,.45), rgba(149,219,79,.18) 36%, rgba(247,247,243,0) 70%);
  filter: blur(12px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(430px, .75fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 800px; }
.hero-lead { max-width: 620px; margin-bottom: 0; color: #52605a; font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 12px 22px; border-radius: 16px; font-size: 15px; font-weight: 700; transition: transform .2s var(--ease), box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { background: var(--ink); color: white; box-shadow: 0 18px 40px rgba(17,23,19,.18); }
.button-dark svg { width: 24px; height: 24px; fill: white; }
.button-dark span { display: grid; line-height: 1.05; }
.button-dark small { margin-bottom: 3px; color: rgba(255,255,255,.62); font-size: 9px; font-weight: 500; letter-spacing: .05em; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.text-link span { color: var(--accent); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 11px; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof li > span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.hero-product { position: relative; min-height: 690px; perspective: 1200px; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(22,122,93,.16); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 580px; height: 580px; }
.orbit-two { width: 760px; height: 760px; }
.phone { position: relative; z-index: 4; width: 355px; margin-inline: auto; transition: transform .25s ease-out; transform-style: preserve-3d; }
.phone-hardware { padding: 9px; border: 1px solid #404a45; border-radius: 54px; background: #151d19; box-shadow: 0 70px 110px rgba(24,48,38,.28), inset 0 0 0 2px #020403, 0 0 0 1px rgba(255,255,255,.35); }
.phone-screen { min-height: 690px; overflow: hidden; border-radius: 46px; background: #f7f7f2; padding: 62px 21px 22px; position: relative; }
.dynamic-island { position: absolute; top: 17px; left: 50%; width: 102px; height: 27px; border-radius: 20px; background: #030504; transform: translateX(-50%); }
.app-topline { display: flex; align-items: center; justify-content: space-between; }
.app-topline > div:first-child { display: grid; gap: 2px; }
.app-topline span, .signal-caption span { color: #7d8781; font-family: var(--font-mono); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.app-topline strong { font-size: 12px; }
.profile-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: white; font-size: 10px; font-weight: 700; }
.signal-caption { display: flex; justify-content: space-between; margin-top: 28px; align-items: center; }
.signal-caption b { padding: 5px 9px; border: 1px solid rgba(22,122,93,.16); border-radius: 999px; background: rgba(64,185,130,.1); color: #126246; font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.gauge-wrap { position: relative; display: grid; place-items: center; width: 250px; height: 250px; margin: 9px auto -2px; }
.gauge-halo { position: absolute; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--signal) 22%, transparent), transparent 68%); }
.gauge { position: relative; z-index: 1; width: 220px; height: 220px; filter: drop-shadow(0 10px 18px rgba(17,23,19,.08)); transform: rotate(-90deg); }
.gauge-track, .gauge-value { fill: none; stroke-width: 14; }
.gauge-track { stroke: #e7e9e3; }
.gauge-value { stroke: url(#gauge-gradient); stroke-linecap: round; stroke-dasharray: var(--progress) 100; transition: stroke-dasharray .8s var(--ease); }
.gauge-copy { position: absolute; z-index: 2; display: grid; text-align: center; }
.gauge-copy strong { color: var(--ink); font-family: var(--font-display); font-size: 61px; font-weight: 650; letter-spacing: -.09em; line-height: 1; }
.gauge-copy span { margin-top: 4px; color: #65706a; font-size: 11px; font-weight: 650; }
.coach-card { display: grid; grid-template-columns: auto 1fr; gap: 11px; padding: 16px; border: 1px solid rgba(17,23,19,.07); border-radius: 19px; background: rgba(255,255,255,.8); box-shadow: 0 13px 35px rgba(17,23,19,.07); }
.coach-spark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ddf7eb; color: var(--accent); }
.coach-card strong { display: block; margin-bottom: 4px; font-size: 12px; }
.coach-card p { margin: 0; color: #737c77; font-size: 9.5px; line-height: 1.5; }
.mini-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.mini-signal { display: grid; gap: 5px; padding: 10px 8px; border: 1px solid #e3e5df; border-radius: 14px; background: #f0f1ec; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s var(--ease); }
.mini-signal:hover { transform: translateY(-2px); }
.mini-signal span { color: #7b847f; font-size: 8px; }
.mini-signal b { font-family: var(--font-display); font-size: 18px; letter-spacing: -.06em; }
.mini-signal.is-active { border-color: color-mix(in srgb, var(--signal-color, var(--recovery)) 45%, white); background: white; box-shadow: 0 7px 18px rgba(17,23,19,.06); }
.source-float { position: absolute; z-index: 7; display: grid; grid-template-columns: auto 1fr; gap: 1px 9px; min-width: 160px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 50px rgba(20,55,41,.13); }
.source-float-left { top: 18%; left: -15%; }
.source-float-right { right: -16%; bottom: 19%; }
.source-symbol { grid-row: 1/3; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: #fff; color: #4285f4; font-weight: 800; box-shadow: 0 5px 12px rgba(17,23,19,.08); }
.source-symbol.apple { color: #e64c6a; }
.source-float span:nth-child(2) { color: var(--ink); font-size: 10px; font-weight: 700; }
.source-float b { color: var(--accent); font-family: var(--font-mono); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.hero-interaction-hint { position: absolute; bottom: -3px; left: 50%; margin: 0; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.hero-interaction-hint span { color: var(--accent); }

/* Manifesto */
.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.manifesto-grid { display: grid; grid-template-columns: 180px 1fr; gap: 45px; }
.section-number { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; }
.manifesto h2 { max-width: 920px; }
.manifesto h2 em { color: var(--accent); }
.manifesto-grid > div > p { max-width: 680px; margin: 0 0 0 auto; font-size: clamp(1.08rem,1.7vw,1.32rem); line-height: 1.7; }

/* Shared headings */
.section-heading { max-width: 850px; margin-bottom: clamp(52px, 7vw, 90px); }
.section-heading > p:last-child { max-width: 630px; font-size: 1.1rem; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; max-width: none; align-items: end; }
.split-heading > p { margin-bottom: 24px; }

/* Signals */
.signals { background: var(--paper-deep); }
.signal-explorer { display: grid; grid-template-columns: minmax(270px,.67fr) minmax(0,1.33fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); box-shadow: 0 30px 80px rgba(17,23,19,.08); }
.signal-tabs { display: grid; align-content: center; gap: 6px; padding: 20px; border-right: 1px solid var(--line); }
.signal-tab { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; width: 100%; min-height: 83px; padding: 13px 16px; border: 1px solid transparent; border-radius: 18px; background: transparent; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s var(--ease); }
.signal-tab:hover { background: rgba(255,255,255,.65); transform: translateX(3px); }
.signal-tab.is-active { border-color: rgba(17,23,19,.08); background: white; box-shadow: 0 9px 25px rgba(17,23,19,.07); }
.signal-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; font-size: 18px; font-weight: 700; }
.recovery-icon { background: #def5e8; color: #16744f; }
.strain-icon { background: #fff0df; color: #b95e16; }
.sleep-icon { background: #ebe9ff; color: #5b53c4; }
.energy-icon { background: #f9f0cc; color: #927117; }
.stress-icon { background: #ffe8e1; color: #a84634; }
.signal-tab > span:nth-child(2) { display: grid; gap: 2px; }
.signal-tab b { font-size: 14px; }
.signal-tab small { color: var(--muted); font-size: 10px; }
.tab-value { font-family: var(--font-display); font-size: 19px; font-weight: 650; letter-spacing: -.05em; }
.signal-panel { min-width: 0; background: #111914; color: white; }
.panel-chrome { display: flex; align-items: center; gap: 7px; min-height: 54px; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.panel-chrome span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.16); }
.panel-chrome b { margin-left: auto; color: rgba(255,255,255,.4); font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em; }
.panel-body { padding: clamp(26px,4vw,48px); }
.panel-summary { display: flex; justify-content: space-between; align-items: flex-start; }
.panel-summary > div { display: flex; align-items: baseline; flex-wrap: wrap; }
.panel-summary p { flex-basis: 100%; margin-bottom: 10px; color: var(--accent-bright); font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.panel-summary strong { font-family: var(--font-display); font-size: clamp(4rem,7vw,6.4rem); letter-spacing: -.08em; line-height: .9; }
.panel-summary > div > span { margin-left: 10px; color: rgba(255,255,255,.38); font-size: 12px; }
.status-pill { padding: 8px 12px; border: 1px solid rgba(99,214,169,.28); border-radius: 999px; background: rgba(99,214,169,.1); color: #8ae5c2; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; }
.chart { position: relative; height: 230px; margin-top: 30px; }
.chart-grid { position: absolute; inset: 0 0 24px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid span { width: 100%; height: 1px; background: rgba(255,255,255,.08); }
.chart svg { position: absolute; inset: 0 0 24px; width: 100%; height: calc(100% - 24px); overflow: visible; }
.chart-area { fill: url(#area-gradient); transition: d .5s var(--ease); }
.chart-line { fill: none; stroke: var(--accent-bright); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 3px 7px rgba(99,214,169,.2)); transition: d .5s var(--ease), stroke .3s ease; }
.chart-days { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.3); font-family: var(--font-mono); font-size: 8px; }
.chart-days b { color: white; }
.panel-insight { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-top: 24px; padding: 19px; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: rgba(255,255,255,.045); }
.panel-insight > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(99,214,169,.12); color: var(--accent-bright); }
.panel-insight div { display: grid; gap: 5px; }
.panel-insight small { color: rgba(255,255,255,.35); font-family: var(--font-mono); font-size: 7px; letter-spacing: .13em; }
.panel-insight strong { font-size: 13px; }
.panel-insight p { margin: 0; color: rgba(255,255,255,.48); font-size: 10px; }

/* Sources */
.sources { background: white; }
.source-map { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(25px,4vw,64px); padding: clamp(30px,5vw,65px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #f4f5f0; }
.source-path { display: grid; gap: 18px; }
.source-input { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid rgba(17,23,19,.1); border-radius: 17px; background: white; box-shadow: 0 10px 30px rgba(17,23,19,.05); }
.source-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; font-weight: 800; }
.google-logo { background: #eef4ff; color: #4285f4; }
.health-logo { background: #ffeef0; color: #e7475c; }
.source-input > div:last-child { display: grid; gap: 2px; }
.source-input b { font-size: 13px; }
.source-input span { color: var(--muted); font-size: 9px; }
.moving-line { position: relative; width: 2px; height: 36px; margin: -9px 0 -9px 34px; overflow: hidden; background: rgba(17,23,19,.1); }
.moving-line i { position: absolute; top: -5px; left: 0; width: 2px; height: 6px; border-radius: 4px; background: var(--accent); animation: data-flow 2.4s linear infinite; }
.moving-line i:nth-child(2) { animation-delay: -.8s; }
.moving-line i:nth-child(3) { animation-delay: -1.6s; }
@keyframes data-flow { to { transform: translateY(45px); } }
.engine-card { position: relative; display: grid; justify-items: center; min-width: 190px; padding: 32px 22px; border-radius: 27px; background: var(--night); color: white; box-shadow: 0 25px 50px rgba(17,23,19,.18); text-align: center; }
.engine-card::before, .engine-card::after { content: ""; position: absolute; top: 50%; width: clamp(25px,4vw,64px); height: 1px; background: linear-gradient(90deg, rgba(22,122,93,.18), var(--accent)); }
.engine-card::before { right: 100%; }
.engine-card::after { left: 100%; transform: rotate(180deg); }
.engine-card img { margin-bottom: 17px; }
.engine-card span { color: var(--accent-bright); font-family: var(--font-mono); font-size: 8px; letter-spacing: .13em; }
.engine-card b { margin-top: 7px; font-size: 13px; }
.source-results { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.result { display: flex; align-items: center; gap: 8px; min-height: 47px; padding: 0 12px; border: 1px solid rgba(17,23,19,.1); border-radius: 14px; background: rgba(255,255,255,.74); font-size: 10px; font-weight: 700; }
.result i { width: 8px; height: 8px; border-radius: 50%; }
.result-recovery i { background: var(--recovery); }
.result-strain i { background: var(--strain); }
.result-sleep i { background: var(--sleep); }
.result-energy i { background: var(--energy); }
.strava-note { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 18px; padding: 20px 24px; border: 1px solid #f0d9d4; border-radius: 20px; background: #fff8f6; }
.strava-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: #fc4c02; color: white; font-size: 19px; }
.strava-note b { font-size: 13px; }
.strava-note p { margin: 3px 0 0; font-size: 10px; }
.strava-note > span { color: #c4522a; font-family: var(--font-mono); font-size: 8px; font-weight: 700; letter-spacing: .1em; }

/* Product worlds */
.worlds { background: var(--paper); }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.world { position: relative; min-height: 530px; overflow: hidden; padding: clamp(28px,4vw,48px); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.world-copy { position: relative; z-index: 2; max-width: 470px; }
.world-copy > span { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.world-copy h3 { margin: 14px 0 16px; }
.world-copy p { max-width: 430px; font-size: 14px; }
.world-fitness { background: #14231d; color: white; }
.world-fitness .world-copy > span { color: var(--accent-bright); }
.world-fitness p { color: rgba(255,255,255,.55); }
.load-visual { position: absolute; right: 42px; bottom: 40px; left: 42px; display: flex; align-items: end; gap: 11px; height: 200px; padding-top: 25px; border-bottom: 1px solid rgba(255,255,255,.14); }
.load-visual > span { flex: 1; height: var(--h); border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg,var(--accent-bright),#1a8062); transform-origin: bottom; transition: transform .4s var(--ease); }
.world:hover .load-visual > span { transform: scaleY(.88); }
.load-visual .target-line { position: absolute; top: 45%; right: 0; left: 0; border-top: 1px dashed rgba(255,255,255,.3); }
.world-nutrition { background: #e7f0c5; }
.world-nutrition .world-copy > span { color: #536a0c; }
.macro-visual { position: absolute; right: 42px; bottom: 38px; left: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.macro-ring { display: grid; place-items: center; align-content: center; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle at center, #e7f0c5 57%, transparent 58%), conic-gradient(#6e9f22 72%,rgba(17,23,19,.1) 0); }
.macro-ring strong { font-family: var(--font-display); font-size: 34px; letter-spacing: -.07em; }
.macro-ring span { font-size: 9px; }
.macro-visual ul { flex: 1; margin: 0; padding: 0; list-style: none; }
.macro-visual li { display: flex; align-items: center; gap: 8px; padding-block: 8px; border-bottom: 1px solid rgba(17,23,19,.1); font-size: 10px; }
.macro-visual li i { width: 7px; height: 7px; border-radius: 50%; background: #6e9f22; }
.macro-visual li:nth-child(2) i { background: #d79932; }
.macro-visual li:nth-child(3) i { background: #7a74d8; }
.macro-visual li b { margin-left: auto; }
.world-biology { grid-column: 1/-1; min-height: 490px; background: #dceff0; }
.world-biology .world-copy { max-width: 520px; }
.world-biology .world-copy > span { color: #146d72; }
.biology-visual { position: absolute; right: 5%; bottom: 4%; width: min(47%, 520px); padding: 35px; border: 1px solid rgba(17,23,19,.1); border-radius: 28px; background: rgba(255,255,255,.53); }
.biology-visual small { display: block; color: #397579; font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; }
.biology-visual strong { display: block; margin: 7px 0 1px; font-family: var(--font-display); font-size: clamp(4rem,7vw,6rem); letter-spacing: -.09em; line-height: 1; }
.biology-visual span { color: #397579; font-size: 10px; }
.biology-visual svg { width: 100%; height: 90px; margin-top: 24px; }
.biology-visual path { fill: none; stroke: #16838a; stroke-width: 4; stroke-linecap: round; }

/* Intelligence */
.intelligence { position: relative; overflow: hidden; background: var(--night); color: white; }
.intelligence::before { content: ""; position: absolute; inset: -45% 40% auto -20%; height: 850px; border-radius: 50%; background: radial-gradient(circle,rgba(81,111,222,.22),transparent 68%); pointer-events: none; }
.intelligence-grid { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px,9vw,130px); align-items: center; }
.intelligence h2 em { color: #9ca8f5; }
.intelligence-copy > p:not(.eyebrow) { max-width: 630px; color: rgba(255,255,255,.57); font-size: 1.05rem; line-height: 1.7; }
.intelligence-principles { display: grid; gap: 12px; margin-top: 34px; }
.intelligence-principles span { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.75); font-size: 12px; }
.intelligence-principles i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; color: #9ca8f5; font-family: var(--font-mono); font-size: 8px; font-style: normal; }
.review-card { padding: clamp(28px,4vw,45px); border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.045)); box-shadow: 0 40px 90px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.review-top { display: flex; justify-content: space-between; margin-bottom: 55px; color: rgba(255,255,255,.37); font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; }
.review-card h3 { margin-bottom: 18px; font-size: clamp(2rem,3.3vw,3rem); }
.review-card > p { color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.65; }
.review-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 30px 0; }
.review-proof div { display: grid; gap: 9px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.04); }
.review-proof span { color: rgba(255,255,255,.4); font-size: 8px; }
.review-proof b { font-size: 13px; }
.review-action { padding: 17px; border-left: 2px solid #9ca8f5; background: rgba(128,140,235,.09); }
.review-action span { color: #aeb8ff; font-family: var(--font-mono); font-size: 7px; letter-spacing: .12em; }
.review-action p { margin: 7px 0 0; color: rgba(255,255,255,.78); font-size: 11px; }
.review-card > small { display: block; margin-top: 24px; color: rgba(255,255,255,.28); font-size: 8px; }

/* Privacy */
.privacy { background: var(--accent-bright); }
.privacy-heading { display: grid; grid-template-columns: 1fr .5fr; column-gap: 90px; align-items: end; }
.privacy-heading .eyebrow, .privacy-heading h2 { grid-column: 1; }
.privacy-heading > p:last-child { grid-column: 2; grid-row: 2; margin-bottom: 27px; color: #174937; font-size: 1.05rem; }
.privacy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 65px; border: 1px solid rgba(8,56,40,.16); border-radius: 25px; overflow: hidden; background: rgba(8,56,40,.16); }
.privacy-card { min-height: 290px; padding: clamp(24px,3vw,38px); background: rgba(255,255,255,.23); }
.privacy-card span { font-family: var(--font-mono); font-size: 9px; }
.privacy-card h3 { margin: 70px 0 16px; font-size: 1.8rem; }
.privacy-card p { margin: 0; color: #235b47; font-size: 12px; }
.privacy-link { margin-top: 30px; }

/* FAQ */
.faq { background: white; }
.faq-grid { display: grid; grid-template-columns: .68fr 1fr; gap: 90px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 83px; padding: 22px 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.025em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 24px; height: 24px; flex: none; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 1px; background: var(--ink); transform: translate(-50%,-50%); transition: transform .2s ease; }
.faq-list summary span::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-list details[open] summary span::after { transform: translate(-50%,-50%); }
.faq-list details p { max-width: 700px; padding: 0 45px 28px 0; font-size: 13px; line-height: 1.7; }

/* Download and footer */
.download { position: relative; overflow: hidden; background: var(--night); color: white; text-align: center; }
.download-orbit { position: absolute; top: 50%; left: 50%; width: 930px; height: 930px; border: 1px solid rgba(99,214,169,.15); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 110px rgba(99,214,169,.025),0 0 0 220px rgba(99,214,169,.018); }
.download-inner { position: relative; display: grid; justify-items: center; }
.download-inner > img { margin-bottom: 28px; filter: drop-shadow(0 18px 30px rgba(99,214,169,.2)); }
.download .eyebrow { margin-bottom: 25px; }
.download h2 { max-width: 800px; }
.download-inner > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.53); font-size: 1.05rem; }
.button-light { margin-top: 25px; background: var(--accent-bright); color: #06261c; box-shadow: 0 18px 45px rgba(99,214,169,.18); }
.download-inner > small { margin-top: 13px; color: rgba(255,255,255,.28); font-size: 9px; }
.site-footer { padding: 70px 0 24px; background: #080d0b; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.footer-grid > div:first-child > p { margin: 20px 0 0; color: rgba(255,255,255,.38); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
.footer-links > div { display: grid; align-content: start; gap: 12px; }
.footer-links b { margin-bottom: 7px; color: rgba(255,255,255,.33); font-family: var(--font-mono); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.69); font-size: 12px; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 68px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.28); font-family: var(--font-mono); font-size: 8px; letter-spacing: .07em; }
.footer-bottom span:nth-child(2) { text-align: center; }
.footer-bottom span:last-child { text-align: right; }

/* Document pages */
.doc { width: min(100%, 870px); margin-inline: auto; padding: 160px var(--side) 100px; }
.doc h1 { margin: 20px 0 8px; font-size: clamp(3.3rem,7vw,6.3rem); }
.doc h2 { margin: 55px 0 18px; font-size: clamp(1.8rem,3.5vw,2.7rem); }
.doc h3 { margin: 32px 0 12px; font-size: 1.25rem; letter-spacing: -.025em; }
.doc p, .doc li { color: #52605a; font-size: 14px; line-height: 1.8; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--ink); }
.doc .updated { margin-bottom: 50px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.doc .callout { margin: 34px 0; padding: 22px; border-left: 3px solid var(--accent); background: #e8f4ee; }
.doc .callout p { margin: 0; }
.doc a.inline { color: var(--accent); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc-footer { padding: 24px 0 30px; border-top: 1px solid var(--line); }
.doc-footer .footer-bottom { border-top: 0; color: var(--muted); }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-proof { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-product { width: min(100%,680px); margin: 40px auto 0; }
  .source-float-left { left: 0; }
  .source-float-right { right: 0; }
  .signal-explorer { grid-template-columns: 230px 1fr; }
  .signal-tab { grid-template-columns: auto 1fr; }
  .signal-tab .tab-value { display: none; }
  .source-map { grid-template-columns: 1fr; }
  .engine-card { width: min(100%,280px); margin-inline: auto; }
  .engine-card::before { top: auto; right: 50%; bottom: 100%; width: 1px; height: 34px; background: linear-gradient(rgba(22,122,93,.18),var(--accent)); }
  .engine-card::after { top: 100%; left: 50%; width: 1px; height: 34px; background: linear-gradient(rgba(22,122,93,.18),var(--accent)); transform: none; }
  .source-path { grid-template-columns: 1fr 1fr; }
  .moving-line { display: none; }
  .source-results { grid-template-columns: repeat(4,1fr); }
  .intelligence-grid { grid-template-columns: 1fr; }
  .intelligence-copy { max-width: 820px; }
  .review-card { width: min(100%,670px); }
  .privacy-heading { grid-template-columns: 1fr; }
  .privacy-heading > p:last-child { grid-column: 1; grid-row: auto; max-width: 600px; }
}

@media (max-width: 760px) {
  :root { --side: 20px; --radius-lg: 25px; }
  .section-pad { padding-block: 82px; }
  h1 { font-size: clamp(3.3rem,16vw,5rem); }
  h2 { font-size: clamp(2.5rem,12vw,4rem); }
  .nav-shell { min-height: 68px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .primary-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--paper); opacity: 0; pointer-events: none; transform: translateY(-18px); transition: opacity .25s ease, transform .25s var(--ease); }
  .primary-nav a { font-family: var(--font-display); font-size: 28px; letter-spacing: -.04em; }
  .primary-nav .nav-cta { padding: 13px 22px; color: white; font-size: 17px; }
  .menu-open .primary-nav { opacity: 1; pointer-events: auto; transform: none; }
  .menu-open .menu-toggle::before { transform: translate(-50%, 0) rotate(45deg); }
  .menu-open .menu-toggle::after { transform: translate(-50%, 0) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 128px; }
  .hero-atmosphere { top: 24%; right: -75%; width: 160vw; }
  .hero-grid { gap: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-product { min-height: 640px; margin-top: 35px; }
  .phone { width: min(100%,330px); }
  .phone-screen { min-height: 645px; }
  .source-float { min-width: 134px; padding: 9px 10px; }
  .source-float-left { top: 14%; left: -11px; }
  .source-float-right { right: -10px; bottom: 13%; }
  .orbit-one { width: 480px; height: 480px; }
  .orbit-two { width: 640px; height: 640px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 30px; }
  .manifesto-grid > div > p { margin-left: 0; }
  .split-heading { grid-template-columns: 1fr; gap: 12px; }
  .signal-explorer { display: block; }
  .signal-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .signal-tabs::-webkit-scrollbar { display: none; }
  .signal-tab { flex: 0 0 auto; display: flex; width: auto; min-height: 0; padding: 9px 12px; border-radius: 14px; }
  .signal-tab > span:nth-child(2) small { display: none; }
  .signal-icon { width: 31px; height: 31px; border-radius: 10px; font-size: 14px; }
  .panel-body { padding: 28px 20px; }
  .panel-summary strong { font-size: 4.5rem; }
  .chart { height: 190px; }
  .source-path { grid-template-columns: 1fr; }
  .source-results { grid-template-columns: 1fr 1fr; }
  .strava-note { grid-template-columns: auto 1fr; }
  .strava-note > span { grid-column: 2; }
  .world-grid { grid-template-columns: 1fr; }
  .world { min-height: 520px; }
  .world-biology { grid-column: auto; min-height: 650px; }
  .biology-visual { right: 24px; bottom: 24px; left: 24px; width: auto; }
  .macro-visual { right: 24px; left: 24px; }
  .review-proof { grid-template-columns: 1fr; }
  .review-proof div { grid-template-columns: 1fr auto; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card { min-height: auto; }
  .privacy-card h3 { margin-top: 45px; }
  .faq-grid { grid-template-columns: 1fr; gap: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom span:nth-child(2), .footer-bottom span:last-child { text-align: left; }
}

@media (max-width: 390px) {
  .phone { transform: scale(.92); transform-origin: top center; }
  .hero-product { min-height: 590px; margin-bottom: -30px; }
  .source-float { display: none; }
  .hero-proof { display: none; }
  .macro-ring { width: 135px; height: 135px; }
}

@media (hover: none) {
  .hero-interaction-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
}
