/* Trainova Fit v8. Flat colour blocks (navy, warm light, cobalt), Urbanist, CSS 3D phones.
   Rules: no gradients, no glow or blur shadows, reveal once, one moving thing per view. */

@font-face { font-family: Urbanist; font-weight: 400; font-display: swap; src: url(../assets/fonts/urbanist-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Urbanist; font-weight: 600; font-display: swap; src: url(../assets/fonts/urbanist-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Urbanist; font-weight: 800; font-display: swap; src: url(../assets/fonts/urbanist-latin-800-normal.woff2) format("woff2"); }

:root { --ease: cubic-bezier(.22, 1, .36, 1); --green: #1FD66B; --cobalt: #0047AB; --navy: #06122B; --warm: #F4EFE7; --nav-h: 76px; }
[data-theme=dark]   { --bg: var(--navy);   --fg: #F3F6FC; --mut: rgba(243,246,252,.7);  --line: rgba(255,255,255,.14); --word: rgba(255,255,255,.2);  --btn: #fff;    --btnfg: #06122B; --acc: #7FA6FF; --card: #0D1C3D; }
[data-theme=light]  { --bg: var(--warm);   --fg: #0B1220; --mut: rgba(11,18,32,.66);    --line: rgba(11,18,32,.14);    --word: rgba(11,18,32,.14);   --btn: #0B1220; --btnfg: #fff;    --acc: #0047AB; --card: #EBE4D8; }
[data-theme=light]  { --good: #0B7F3E; --bad: #C4321F; }
[data-theme=dark]   { --good: #4ADE80; --bad: #FF8A75; }
[data-theme=cobalt] { --bg: var(--cobalt); --fg: #fff;    --mut: rgba(255,255,255,.8);  --line: rgba(255,255,255,.28); --word: rgba(255,255,255,.4);  --btn: #fff;    --btnfg: #0047AB; --acc: #fff;    --card: #0A3F93; }

/* Light mode: dark blocks turn white (the footer stays navy). Dark mode: cream blocks turn raised navy. Cobalt stays. */
[data-mode=light] [data-theme=dark]:not(footer) { --bg: #FFFFFF; --fg: #0B1220; --mut: rgba(11,18,32,.66); --line: rgba(11,18,32,.14); --word: rgba(11,18,32,.12); --btn: #0B1220; --btnfg: #fff; --acc: #0047AB; --card: #F4EFE7; --good: #0B7F3E; --bad: #C4321F; }
[data-mode=dark] [data-theme=light] { --bg: #0D1C3D; --fg: #F3F6FC; --mut: rgba(243,246,252,.72); --line: rgba(255,255,255,.14); --word: rgba(255,255,255,.16); --btn: #fff; --btnfg: #06122B; --acc: #7FA6FF; --card: #132653; --good: #4ADE80; --bad: #FF8A75; }
[data-mode=dark] #exercises { --m-p: #7FA6FF; --m-s: rgba(127,166,255,.35); --m-body: #0D1C3D; --m-line: rgba(255,255,255,.16); }
[data-mode=dark] .pin-tag { background: #fff; color: #0B1220; }
[data-mode=dark] .atlas-svg .pin-clone, [data-mode=dark] .atlas-svg .pin-clone * { stroke: #fff !important; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: Urbanist, system-ui, sans-serif; background: var(--navy); color: #F3F6FC; -webkit-font-smoothing: antialiased; overflow-x: clip; line-height: 1.5; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; color: #06122B; padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; word-break: break-all; }

section, footer { background: var(--bg); color: var(--fg); position: relative; }
.wrap { width: min(1180px, 90vw); margin: 0 auto; }
.sheet { border-radius: 56px 56px 0 0; margin-top: -56px; padding-top: 56px; z-index: 2; }
.scene { padding-block: clamp(110px, 12vw, 180px); overflow-x: clip; }

/* type */
.eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--acc); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1 { font-weight: 800; font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: clamp(36px, 4.8vw, 68px); line-height: 1; letter-spacing: -.03em; }
h3 { font-weight: 800; letter-spacing: -.02em; }
.sub { margin-top: 22px; color: var(--mut); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 30em; }
.note { margin-top: 18px; font-size: 13px; color: var(--mut); }

/* buttons */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 99px; background: var(--btn); color: var(--btnfg); font-weight: 800; font-size: 15px; text-decoration: none; border: 0; transition: transform .35s var(--ease), background .5s, color .5s; }
.pill:hover { transform: translateY(-2px); }
.pill svg { width: 18px; height: 18px; flex: none; }
.pill[aria-disabled=true] { opacity: .55; pointer-events: none; }
.link { color: var(--fg); font-weight: 800; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 4px; transition: border-color .3s; }
.link:hover { border-color: var(--fg); }

/* reveal once */
.js [data-r] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .in[data-r], .js .in [data-r] { opacity: 1; transform: none; }
.in [data-r="1"], .in[data-r="1"] { transition-delay: .12s; } .in [data-r="2"], .in[data-r="2"] { transition-delay: .24s; } .in [data-r="3"], .in[data-r="3"] { transition-delay: .36s; }

/* ---------- nav ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); color: var(--fg); transition: color .5s var(--ease), background .5s var(--ease); }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(20px, 4vw, 56px); }
.logo { display: block; position: relative; width: 176px; height: 35px; flex: none; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.hdr[data-theme=dark] .l-dark, .hdr[data-theme=light] .l-light, .hdr[data-theme=cobalt] .l-cobalt { opacity: 1; }
[data-mode=light] .hdr[data-theme=dark] .l-dark, [data-mode=dark] .hdr[data-theme=light] .l-light { opacity: 0; }
[data-mode=light] .hdr[data-theme=dark] .l-light, [data-mode=dark] .hdr[data-theme=light] .l-dark { opacity: 1; }
.theme-btn { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 99px; color: var(--fg); }
.theme-btn svg { width: 22px; height: 22px; animation: tin .25s var(--ease); }
[data-mode=light] .i-moon, :root:not([data-mode=light]) .i-sun { display: none; }
@keyframes tin { from { opacity: 0; transform: rotate(-90deg); } }
.nav ul { display: flex; gap: 30px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; opacity: .72; transition: opacity .2s; padding: 10px 0; }
.nav a:hover, .nav a[aria-current] { opacity: 1; }
.hdr-tools { display: flex; align-items: center; gap: 12px; }
.hdr .pill { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: none; border-radius: 99px; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-panel { display: none; }
@media (max-width: 899px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .hdr .pill { display: none; }
  .logo { width: 150px; height: 30px; }
  .menu-panel { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); padding: 24px 6vw; display: grid; align-content: start; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
  .menu-panel.open { opacity: 1; visibility: visible; }
  .menu-panel a { font-size: 28px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
  html.menu-open { overflow: hidden; }
}

/* ---------- splash ---------- */
.splash { display: none; }
.js .splash { display: grid; place-items: center; position: fixed; inset: 0; z-index: 80; background: var(--navy); pointer-events: none; animation: splash-out .7s var(--ease) 1.25s forwards; }
.splash img { width: min(300px, 62vw); animation: splash-in 1s var(--ease) both; }
@keyframes splash-in { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* ---------- phone ---------- */
.phone { --w: min(290px, 31vh); position: relative; width: var(--w); aspect-ratio: 900 / 2050; transform-style: preserve-3d; margin: 0 auto; }
.phone .body, .phone .slice, .phone .back { position: absolute; inset: calc(var(--w) * -.03); border-radius: calc(var(--w) * .17); background: #0b0d12; }
.phone .slice { background: #1b1f29; }
.phone .body { border: 1px solid #2b303c; }
.phone .back { background: #161a23; border: 1px solid #2b303c; transform: translateZ(-11px) rotateY(180deg); backface-visibility: hidden; }
.back .cam { position: absolute; left: 9%; top: 4%; width: 15%; height: 23%; border-radius: 99px; background: #0b0d12; border: 1px solid #2b303c; display: grid; justify-items: center; align-content: space-evenly; }
.back .cam i { width: 62%; aspect-ratio: 1; border-radius: 50%; background: #050608; border: 2px solid #2b303c; }
.back .flash { position: absolute; left: 28%; top: 6%; width: 4.5%; aspect-ratio: 1; border-radius: 50%; background: #E9E2CF; }
.phone .screen { position: absolute; inset: 0; border-radius: calc(var(--w) * .135); overflow: hidden; background: #0E1117; container-type: inline-size; transform: translateZ(1px); backface-visibility: hidden; }
.phone .screen > img, .phone .screen > video { width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 2.2%; left: 50%; width: 4.2%; aspect-ratio: 1; transform: translateX(-50%) translateZ(2px); border-radius: 50%; background: #000; z-index: 9; }

/* big outlined word */
.bigword { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 800; font-size: min(17vw, 250px); letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--word); pointer-events: none; user-select: none; white-space: nowrap; }

/* ---------- live screen (coordinates in original 900 x 2050 px) ---------- */
.sc { --u: calc(100cqw / 900); position: absolute; inset: 0; color: #fff; }
.sc > * { position: absolute; }
.sc .foot { left: 0; top: calc(190 * var(--u)); width: 100%; height: calc(1860 * var(--u)); object-fit: cover; opacity: 0; transition: opacity .9s; }
.sc .kp { left: 0; top: calc(190 * var(--u)); width: 100%; height: calc(1860 * var(--u)); }
.sc .kp svg { width: 100%; height: 100%; }
.sc .kp line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sc .kp circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.sc .bar { left: 0; top: 0; width: 100%; height: calc(190 * var(--u)); background: #0E1117; }
.sc .t1 { left: 0; width: 100%; top: calc(98 * var(--u)); text-align: center; font-weight: 600; font-size: calc(35 * var(--u)); }
.sc .t2 { left: 0; width: 100%; top: calc(143 * var(--u)); text-align: center; font-size: calc(22 * var(--u)); color: #4C7DFF; }
.sc .x, .sc .rf { top: calc(104 * var(--u)); font-size: calc(40 * var(--u)); opacity: .9; }
.sc .x { left: calc(42 * var(--u)); } .sc .rf { right: calc(42 * var(--u)); }
.sc .live { left: calc(29 * var(--u)); top: calc(219 * var(--u)); width: calc(103 * var(--u)); height: calc(51 * var(--u)); border-radius: calc(14 * var(--u)); background: #F0482C; display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); font-weight: 800; font-size: calc(22 * var(--u)); }
.sc .live::before { content: ""; width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-radius: 50%; background: #fff; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.sc .timer { left: calc(304 * var(--u)); top: calc(213 * var(--u)); width: calc(295 * var(--u)); height: calc(71 * var(--u)); border-radius: calc(36 * var(--u)); background: rgba(18,20,26,.78); display: flex; align-items: center; justify-content: center; gap: calc(22 * var(--u)); font-size: calc(27 * var(--u)); }
.sc .dots { display: flex; gap: calc(12 * var(--u)); }
.sc .dots i { width: calc(15 * var(--u)); height: calc(15 * var(--u)); border-radius: 50%; background: #3F6BFF; }
.sc .dots i:last-child { background: none; border: calc(3 * var(--u)) solid #3F6BFF; }
.sc .mist { left: calc(29 * var(--u)); top: calc(286 * var(--u)); width: calc(190 * var(--u)); height: calc(133 * var(--u)); border-radius: calc(22 * var(--u)); background: rgba(18,20,26,.74); text-align: center; }
.sc .mist b { position: absolute; left: 0; right: 0; top: calc(12 * var(--u)); font-size: calc(58 * var(--u)); font-weight: 400; }
.sc .mist em { position: absolute; left: 0; right: 0; bottom: calc(14 * var(--u)); font-style: normal; font-size: calc(20 * var(--u)); letter-spacing: .2em; }
.sc .reps { left: calc(692 * var(--u)); top: calc(214 * var(--u)); width: calc(190 * var(--u)); height: calc(190 * var(--u)); border-radius: calc(22 * var(--u)); background: rgba(18,20,26,.74); text-align: center; }
.sc .reps b { position: absolute; left: 0; right: 0; top: calc(14 * var(--u)); font-size: calc(74 * var(--u)); font-weight: 400; }
.sc .reps em { position: absolute; left: 0; right: 0; top: calc(106 * var(--u)); font-style: normal; font-size: calc(22 * var(--u)); letter-spacing: .3em; }
.sc .reps span { position: absolute; left: 0; right: 0; bottom: calc(14 * var(--u)); font-size: calc(21 * var(--u)); }
.sc .toast { left: calc(23 * var(--u)); top: calc(1936 * var(--u)); width: calc(386 * var(--u)); height: calc(103 * var(--u)); border-radius: calc(20 * var(--u)); background: rgba(18,20,26,.84); display: flex; align-items: center; gap: calc(20 * var(--u)); padding: 0 calc(20 * var(--u)); }
.sc .toast .ic { width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: #22C55E; display: grid; place-items: center; font-size: calc(26 * var(--u)); font-weight: 800; flex: none; }
.sc .toast.bad .ic { background: #F0482C; }
.sc .toast p { font-size: calc(24 * var(--u)); line-height: 1.25; }
.sc .toast p b { font-weight: 800; display: block; font-size: calc(27 * var(--u)); }
.sc .res { inset: 0; opacity: 0; transform: translateY(8%); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.sc .res img { width: 100%; height: 100%; object-fit: cover; }
.sc.done .res { opacity: 1; transform: none; }
.sc .res, .sc .ring { will-change: transform; }
.sc.done[data-focus] .res { transition: transform 1s var(--ease), opacity .8s var(--ease); }
.sc .ring { opacity: 0; border: calc(5 * var(--u)) solid #4C7DFF; border-radius: calc(26 * var(--u)); transition: all .9s var(--ease); pointer-events: none; }
.sc .hud { transition: opacity .6s; }
.sc.done .hud { opacity: 0; }
.sc .foot, .sc .kp { z-index: 1; } .sc .bar, .sc .t1, .sc .t2, .sc .x, .sc .rf, .sc .hud { z-index: 3; } .sc .res { z-index: 4; } .sc .ring { z-index: 5; }

/* ---------- 1 hero ---------- */
#hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; z-index: 1; display: grid; place-items: center; }
.hero-in { width: min(1240px, 92vw); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 20px; height: 100%; padding-top: 60px; position: relative; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
h1 .ln > span { display: block; }
h1 em { font-style: normal; color: var(--acc); }
.js h1 .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.go h1 .ln > span { transform: none; }
.go h1 .ln:nth-child(2) > span { transition-delay: .1s; } .go h1 .ln:nth-child(3) > span { transition-delay: .2s; } .go h1 .ln:nth-child(4) > span { transition-delay: .3s; }
.lede { margin-top: 28px; max-width: 30em; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--mut); }
.ctas { margin-top: 38px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.ctas small, .meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-weight: 600; color: var(--mut); font-size: 13px; margin-top: 8px; }
.js .fade { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.go .fade { opacity: 1; transform: none; }
.go .fade.d1 { transition-delay: .35s; } .go .fade.d2 { transition-delay: .5s; } .go .fade.d3 { transition-delay: .65s; }
.stage { position: relative; height: min(82vh, 760px); display: grid; place-items: center; perspective: 1800px; }
.rig { transform-style: preserve-3d; }
.js .rig { transform: translateY(90px) rotateY(-38deg) rotateX(8deg) scale(.9); opacity: 0; transition: transform 1.8s var(--ease) .25s, opacity 1s .25s; }
.go .rig { transform: none; opacity: 1; }
.tilt { transform-style: preserve-3d; will-change: transform; }
/* front phone is the live session; the result phone sits behind it, up and to the right */
.duo { --fw: min(250px, 28vh); position: relative; width: calc(var(--fw) * 1.52); height: calc(var(--fw) * 2.4); transform-style: preserve-3d; }
.duo .phone { position: absolute; margin: 0; }
.duo .front { --w: var(--fw); left: 0; bottom: 0; transform: translateZ(50px) rotateZ(-1.5deg); }
.duo .rear { --w: calc(var(--fw) * .9); right: 0; top: 0; transform: translateZ(-60px) rotateZ(3deg) rotateY(-5deg); }
.tag { position: absolute; bottom: -1%; left: 0; right: 0; text-align: center; padding-left: .18em; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); white-space: nowrap; font-size: 13px; }

/* ---------- 2 steps ---------- */
#inside { margin-top: 0; }
#result .result { margin-top: 0; }
.result { margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: end; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border-top: 1px solid var(--line); }
.stats div { padding: 26px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font-weight: 800; font-size: clamp(38px, 4vw, 58px); letter-spacing: -.03em; line-height: 1; }
.stats span.lbl { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--mut); line-height: 1.4; }
.c-good { color: var(--good); } .c-bad { color: var(--bad); }
.ln-good { stroke: var(--good); } .ln-bad { stroke: var(--bad); }
.k-good { background: var(--good); } .k-bad { background: var(--bad); }
.chart { border-top: 1px solid var(--line); padding-top: 22px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart path { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.js .chart path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.js .in .chart path { stroke-dashoffset: 0; }
.chart text { font: 600 12px Urbanist, sans-serif; fill: currentColor; opacity: .7; }
.chart-key { display: flex; gap: 18px; font-size: 13px; font-weight: 600; color: var(--mut); margin-top: 8px; }
.chart-key i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
#proof, #closing { padding-block: clamp(64px, 8vw, 110px); }
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.proof > div { border-top: 1px solid var(--line); padding-top: 22px; }
.proof .fig { display: block; font-weight: 800; font-size: clamp(38px, 4vw, 58px); letter-spacing: -.03em; line-height: 1; }
.proof h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.05; }
.proof p { margin-top: 10px; color: var(--mut); line-height: 1.5; max-width: 26em; }
.proof .fig + p { margin-top: 12px; }
.three { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: t; }
.three li { border-top: 1px solid var(--line); padding-top: 22px; }
.three li::before { counter-increment: t; content: "0" counter(t); display: block; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--acc); }
.three h3 { font-size: clamp(20px, 1.8vw, 26px); }
.three p { margin-top: 8px; color: var(--mut); line-height: 1.55; }
.three a { color: var(--fg); font-weight: 800; }

/* ---------- 3 inside the app ---------- */
/* the video already has a #0047AB background, so its edges disappear into the section */
#inside { background: #0047AB; }
.in-video { position: relative; margin-top: 48px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0047AB; container-type: size; }
.in-video.view-on video { visibility: hidden; }
.in-view { position: absolute; inset: 0; display: grid; place-items: center; background: #0047AB; perspective: 1600px; }
.in-view[hidden] { display: none; }
.in-view .phone { --w: calc(100cqh / 2.6); transform: rotateY(-8deg) rotateX(2deg); }
.in-video video { width: 100%; height: 100%; object-fit: cover; }
.in-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.in-chips button { min-height: 44px; padding: 0 18px; border-radius: 99px; background: none; border: 1px solid var(--line); font-size: 14px; font-weight: 800; letter-spacing: .04em; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.in-chips button b { margin-right: 8px; opacity: .7; }
.in-chips button:hover { border-color: #fff; }
.in-chips button[aria-current=true] { background: #fff; color: var(--cobalt); border-color: #fff; }
.in-caps { margin-top: 28px; display: grid; gap: 20px; }
.in-cap h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.in-cap p { margin-top: 8px; color: var(--mut); max-width: 34em; }

/* ---------- 4 exercises ---------- */
.ex-names { margin-top: 18px; display: flex; flex-wrap: wrap; font-weight: 800; font-size: 15px; }
.ex-names span:not(:last-child)::after { content: "/"; margin: 0 12px; color: var(--acc); }
.ex-grid { margin-top: 56px; display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.ex-side { display: grid; gap: 24px; }
.ex-list { display: grid; gap: 2px; }
.ex-list button { display: grid; grid-template-columns: 40px 1fr; align-items: center; text-align: left; width: 100%; min-height: 56px; padding: 10px 0; background: none; border: 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--mut); transition: color .3s, padding .4s var(--ease); }
.ex-list button .num { font-size: 13px; letter-spacing: .1em; }
.ex-list button:hover { color: var(--fg); }
.ex-list button[aria-selected=true] { color: var(--fg); padding-left: 8px; }
.ex-list button[aria-selected=true] .num { color: var(--acc); }
.ex-panel { background: var(--card); border-radius: 28px; padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; transition: opacity .15s var(--ease), transform .15s var(--ease); }
.ex-panel.swap { opacity: 0; transform: scale(.985); }
.ex-info { display: grid; gap: 22px; align-content: start; }
.ex-info h3 { font-size: clamp(28px, 3.2vw, 42px); }
.ex-eq { color: var(--mut); }
.ex-info h4 { margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 12px; background: none; border: 1px solid var(--line); border-radius: 99px; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--fg); transform: translateY(-1px); }
.chip[aria-pressed=true] { border-color: var(--fg); background: var(--bg); }
.sw { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; }
.sw-p { background: var(--m-p); }
.sw-s { background: var(--m-s); border: 1px solid var(--m-p); }
.sw-n { border: 1.5px dashed var(--mut); }
#exercises { --m-p: #0047AB; --m-s: #9DB8E8; --m-body: #F4EFE7; --m-line: rgba(11,18,32,.16); }
.map-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--mut); }
.map-key span { display: inline-flex; align-items: center; gap: 8px; }
.faults li { padding: 9px 0; border-top: 1px solid var(--line); font-weight: 600; }
.ex-live { min-height: 1.5em; font-size: 14px; color: var(--mut); }
.ex-map { display: grid; justify-items: center; gap: 12px; align-content: start; }
.atlas-toggle { display: none; gap: 8px; }
.atlas-toggle button { min-height: 44px; padding: 0 20px; border-radius: 99px; background: none; border: 1px solid var(--line); font-weight: 600; }
.atlas-toggle button[aria-pressed=true] { background: var(--fg); color: var(--card); border-color: var(--fg); }
.atlas-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.atlas-fig { position: relative; min-width: 0; }
.atlas-box { position: relative; width: 100%; aspect-ratio: 596 / 1133; }
.atlas-box svg { width: 100%; height: 100%; }
.atlas-fig figcaption { text-align: center; font-size: 13px; color: var(--mut); margin-top: 6px; }
.atlas-svg path, .atlas-svg g { fill: var(--m-body); stroke: var(--m-line); stroke-width: .6; pointer-events: none; }
.atlas-svg g { fill: none; stroke: none; }
.atlas-svg #underlayer, .atlas-svg .atlas-skip { display: none; }
.atlas-svg .is-p, .atlas-svg .is-p path { fill: var(--m-p); stroke: var(--m-p); stroke-width: .6; pointer-events: all; cursor: pointer; }
.atlas-svg .is-s, .atlas-svg .is-s path { fill: var(--m-s); stroke: var(--m-p); stroke-width: .9; pointer-events: all; cursor: pointer; }
.atlas-svg .pin-top, .atlas-svg .pin-top * { pointer-events: none; }
.atlas-svg .pin-clone, .atlas-svg .pin-clone * { fill: none !important; stroke: #0B1220 !important; stroke-width: 2.4px !important; vector-effect: non-scaling-stroke; }
.pin-tag { position: absolute; z-index: 2; max-width: 160px; width: max-content; display: grid; gap: 2px; padding: 8px 12px; background: #0B1220; color: #fff; border-radius: 10px; font-size: 13px; line-height: 1.25; pointer-events: none; opacity: 0; transform: scale(.96); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.pin-tag.on { opacity: 1; transform: none; }
.pin-tag b { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.pin-tag span { opacity: .75; }
@media (min-width: 1024px) { .atlas-pair #fig-front, .atlas-pair #fig-back { display: block !important; } }

/* ---------- 5 privacy ---------- */
.priv-big { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 8px; }
.priv-big b { font-weight: 800; font-size: clamp(140px, 22vw, 320px); line-height: .8; letter-spacing: -.06em; color: var(--acc); }
.priv-big h2 { max-width: 12em; }
.acc { margin-top: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 16px 0; font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .4s var(--ease); }
.acc details[open] > summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.acc .body { padding: 0 0 26px; display: grid; gap: 12px; max-width: 52em; color: var(--mut); }
.acc .body b { color: var(--fg); }
.acc .body a { color: var(--fg); }
.acc details[open] .body { animation: open .6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 6 download ---------- */
.dl-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.dl-cta { margin-top: 36px; display: grid; gap: 14px; justify-items: start; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: var(--mut); }
.specs b { color: var(--fg); }
.whats { font-size: 15px; color: var(--mut); max-width: 34em; }
.whats strong { display: block; color: var(--fg); }
.sha { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; color: var(--mut); max-width: 34em; }
.copy { min-height: 36px; padding: 0 14px; border-radius: 99px; background: none; border: 1px solid var(--line); font-weight: 800; font-size: 13px; }
#history ul { display: grid; gap: 4px; font-size: 14px; }
#history li { display: flex; gap: 14px; color: var(--mut); }
.dl-side { display: grid; justify-items: center; gap: 36px; }
.dl-phone { perspective: 1600px; }
.dl-phone .phone { --w: min(220px, 50vw); transform: rotateY(-18deg) rotateX(4deg); }
.js .dl-phone .spin { transform: rotateY(0); }
.dl-phone.in .spin { animation: spin 1.9s var(--ease) .2s both; }
.spin { transform-style: preserve-3d; }
@keyframes spin { from { transform: rotateY(-360deg); } to { transform: rotateY(0); } }
.qr { display: flex; align-items: center; gap: 22px; max-width: 440px; }
.qr img { width: 184px; height: 184px; background: #fff; border-radius: 14px; padding: 8px; flex: none; }
.qr p { font-size: 14px; color: var(--mut); }
.qr strong { display: block; color: var(--fg); }
#download .acc { margin-top: clamp(56px, 7vw, 90px); }
.install-steps { display: grid; gap: 18px; counter-reset: i; }
.install-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 6px; }
.install-steps li::before { counter-increment: i; content: counter(i); width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--cobalt); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.install-steps h3 { color: var(--fg); font-size: 17px; }
.install-steps p + p { margin-top: 6px; font-size: 14px; }
.acc dl { display: grid; gap: 14px; }
.acc dt { color: var(--fg); font-weight: 800; }
.setup-list { display: grid; gap: 12px; }

.setup { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.setup h2 { font-size: clamp(30px, 3.2vw, 46px); margin-bottom: 22px; }
.setup-list p { color: var(--mut); line-height: 1.55; } .setup-list b { color: var(--fg); }
.setup-svg { width: 100%; height: auto; }
.su-panel { fill: #06122B; } .su-floor { fill: rgba(255,255,255,.3); }
.su-t1 { fill: #F3F6FC; } .su-t2 { fill: rgba(243,246,252,.75); } .su-dim { stroke: rgba(255,255,255,.55); }
.setup-fig.in .su-cone { transform-origin: 123px 176px; animation: cone 1s var(--ease) both; }
.setup-fig.in .su-kp { animation: fadein .6s var(--ease) .8s both; }
@keyframes cone { from { transform: scaleX(0); } }
@keyframes fadein { from { opacity: 0; } }

/* ---------- 7 about, faq, footer ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.about-grid p { margin-top: 18px; color: var(--mut); font-size: clamp(16px, 1.3vw, 18px); max-width: 34em; }
.about-grid p strong { color: var(--fg); }
.novi { display: block; width: min(300px, 70vw); justify-self: center; }
.novi img { display: block; width: 100%; height: auto; }
#faq .acc { margin-top: 36px; }
.closing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.closing span { font-weight: 800; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1; }
footer { padding: 48px 0 40px; font-size: 14px; color: var(--mut); z-index: 2; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.foot h3 { color: var(--fg); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { display: grid; gap: 6px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--fg); }
.credit { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; align-content: center; gap: 0; padding-top: 84px; }
  .stage { order: 2; }
  #hero { position: relative; height: auto; min-height: 0; padding: 0 0 40px; }
  .hero-in { height: auto; }
  .stage { height: auto; padding: 8px 0 36px; }
  .duo { --fw: min(158px, 40vw); }
  .tag { bottom: 0; }
  .proof { grid-template-columns: 1fr; gap: 24px; }
  h1 { font-size: clamp(38px, 10.5vw, 56px); }
  .lede { margin-top: 14px; font-size: 15px; } .ctas { margin-top: 18px; }
  .result, .dl-grid, .setup, .about-grid, .ex-grid, .ex-panel, .priv-big { grid-template-columns: 1fr; }
  .ex-list { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x proximity; padding-bottom: 6px; }
  .ex-list button { flex: none; width: auto; border: 1px solid var(--line); border-radius: 99px; padding: 0 16px 0 8px; min-height: 48px; scroll-snap-align: start; }
  .ex-list button[aria-selected=true] { padding-left: 8px; border-color: var(--fg); }
  .atlas-toggle { display: flex; }
  .atlas-pair { grid-template-columns: 1fr; max-width: 280px; }
  .three { grid-template-columns: 1fr; gap: 24px; }
  .in-video { aspect-ratio: 1; margin-top: 32px; } /* crop the 16:9 sides so the phone in the video stays readable */
  .foot { grid-template-columns: 1fr; }
  .sheet { border-radius: 32px 32px 0 0; margin-top: -32px; padding-top: 32px; }
  .stats div + div { padding-left: 14px; }
}

/* ---------- reduced motion: final states ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .splash { display: none; }
  .js .rig, .js .fade, .js [data-r], .js h1 .ln > span { transform: none !important; opacity: 1 !important; }
  .sc .live::before { animation: none; }
}
