/* BeeBlip website
   Same visual system as the pitch deck: violet-black ground, one accent, Helvetica Neue Thin.
   Emphasis comes from colour and weight, not size. */

:root {
  color-scheme: light;
  /* light site, blue shading; the hero keeps the deck's dark palette (see .hero) */
  --ground: #F5F8FC; --panel: #EAF0F7; --navy: #DCE6F2;
  --accent: #0B6FC2; --accent-lift: #1478D4;
  --accent-line: rgba(20, 120, 212, .28);
  --ink: #0B1426; --ink-2: #1B2538; --ink-3: #3A4A64; --ink-4: #6A7C98;
  --rule: rgba(11, 20, 38, .10);
  --glass: rgba(245, 248, 252, .86); --line: rgba(11, 20, 38, .22); --track: rgba(11, 20, 38, .07);
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --font: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ground); }
body {
  margin: 0; background: transparent; color: var(--ink-2);
  font: 300 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; font-weight: 400; color: var(--accent-lift); }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* moving deep-blue halos behind the whole page */
.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--ground); }
.aura i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.aura i:nth-child(1) { background: radial-gradient(circle, rgba(120,185,245,.35), transparent 62%); left: -25vmax; top: -30vmax; animation: au1 22s ease-in-out infinite alternate; }
.aura i:nth-child(2) { background: radial-gradient(circle, rgba(150,210,255,.35), transparent 62%); right: -30vmax; top: 5vmax; animation: au2 28s ease-in-out infinite alternate; }
.aura i:nth-child(3) { background: radial-gradient(circle, rgba(110,140,235,.22), transparent 62%); left: 10vmax; bottom: -40vmax; animation: au3 34s ease-in-out infinite alternate; }
.aura i:nth-child(4) { background: radial-gradient(circle, rgba(120,220,230,.18), transparent 60%); right: 0; bottom: -20vmax; width: 50vmax; height: 50vmax; animation: au4 26s ease-in-out infinite alternate; }
@keyframes au1 { to { transform: translate(40vmax, 30vmax) scale(1.2); } }
@keyframes au2 { to { transform: translate(-45vmax, 25vmax) scale(.85); } }
@keyframes au3 { to { transform: translate(30vmax, -35vmax) scale(1.25); } }
@keyframes au4 { to { transform: translate(-40vmax, -30vmax) scale(1.3); } }

/* film grain over everything, very quiet */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ─────────────────────────── type */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 26px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-lift);
}
.eyebrow span { color: var(--ink-4); font-weight: 500; letter-spacing: .16em; }
.eyebrow span::before { content: "·"; margin-right: 14px; color: var(--ink-4); }
.eyebrow.center { justify-content: center; }
h2 {
  margin: 0 0 22px; max-width: 22ch; text-wrap: balance;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; font-weight: 200; letter-spacing: -.02em; color: var(--ink);
}
h2 em { font-weight: 200; }
.big { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.18; font-weight: 200; letter-spacing: -.015em; color: var(--ink); max-width: 26ch; margin: 0; text-wrap: balance; }
.big em { font-weight: 300; }
.big.small { font-size: clamp(22px, 2.3vw, 30px); max-width: 38ch; margin-top: 64px; }
.body { font-size: 19px; line-height: 1.6; color: var(--ink-3); max-width: 46ch; margin: 0 0 18px; }
.body.dim { color: var(--ink-4); font-size: 16px; }
.src { font-size: 12.5px; line-height: 1.5; color: var(--ink-4); opacity: .8; margin: 28px 0 0; max-width: 80ch; }

/* ─────────────────────────── reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ─────────────────────────── buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 26px; border-radius: 999px;
  font: 400 15px/1 var(--font); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--ground); border: 1px solid var(--ink); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
/* hover only with a real pointer, and only once the buttons have finished entering (no flash on load) */
.actions:not(.settled) .btn { pointer-events: none; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-solid:hover { background: var(--accent-lift); border-color: var(--accent-lift); }
  .btn-line:hover { border-color: var(--accent-lift); color: var(--accent-lift); }
}
.btn:focus:not(:focus-visible) { outline: none; }
.btn-time { font-size: 12px; color: #5b6477; }

/* ─────────────────────────── nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; padding: 0 max(24px, calc((100% - var(--wrap)) / 2));
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--glass); border-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(11,20,38,.4); }
.nav-logo img { width: 116px; height: auto; opacity: .95; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 400; opacity: .9; transition: color .2s, opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: var(--accent); font-weight: 500; padding: 9px 0; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ─────────────────────────── hero: light, text left, the simulated device right */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-device { position: relative; aspect-ratio: 16 / 9; }
.hero-device iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-device { margin: 0 -8px; } }
.wordmark {
  margin: 0; font-size: clamp(60px, 8vw, 120px); line-height: .95; font-weight: 200; letter-spacing: -.035em; color: var(--ink);
}
.wordmark b { font-weight: 400; color: var(--accent-lift); }
/* the dot of the ı is the sensor, strobing like the lidar */
.dotless { position: relative; display: inline-block; }
.sensor {
  position: absolute; left: 50%; top: .02em; width: .15em; height: .15em; margin-left: -.075em; border-radius: 50%; /* left/top set by placeSensor() */
  background: #0e2a44; animation: lidar-dot 1.1s linear infinite;
}
/* lidar-like strobe: a quick bright flash, a short afterglow, dark */
@keyframes lidar-dot {
  0%, 100% { background: #123a5e; box-shadow: none; }
  4%  { background: #e8f8ff; box-shadow: 0 0 .15em .05em #fff, 0 0 .6em .2em rgba(63,200,255,.9); }
  10% { background: #5ec4ea; box-shadow: 0 0 .3em .08em rgba(63,200,255,.6); }
  14% { background: #e8f8ff; box-shadow: 0 0 .15em .05em #fff, 0 0 .6em .2em rgba(63,200,255,.9); }
  24% { background: #1f5a92; box-shadow: 0 0 .15em rgba(63,200,255,.3); }
  40% { background: #123a5e; box-shadow: none; }
}
.tagline { margin: 22px 0 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 200; color: var(--ink); letter-spacing: -.01em; }
.tagline em { font-weight: 300; }
.lede { margin: 22px 0 0; max-width: 50ch; font-size: 19px; line-height: 1.6; color: var(--ink-3); }

/* ─────────────────────────── OR footage: tight on the operating hand */
.scale-film { padding: 9vh 0 10vh; }
.or-big { margin: 8px 0 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; font-weight: 200; letter-spacing: -.02em; }
.or-big em { font-weight: 200; }
.film-frame { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 600 / 560;
  box-shadow: 0 40px 80px -30px rgba(11,40,80,.35), 0 0 0 1px var(--rule); }
.film-frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(.85) contrast(1.05); }
.film-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 90% at 55% 45%, transparent 55%, rgba(11,30,60,.35)), linear-gradient(0deg, rgba(11,30,60,.5), transparent 35%); }
.rec { position: absolute; top: 16px; left: 18px; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.film-frame figcaption { position: absolute; left: 18px; bottom: 14px; z-index: 1; font-size: 12px; color: rgba(255,255,255,.7); }

.xray-head { margin-top: 8vh; }
.xray { position: relative; margin-top: 40px; border-radius: 18px; overflow: hidden; }
.xray video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.xray-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 60px 28px 22px; display: flex; gap: 28px;
  background: linear-gradient(transparent, rgba(11,30,60,.75)); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.xray-cap span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 10px; background: var(--accent-lift); box-shadow: 0 0 10px var(--accent-lift); vertical-align: 2px; }

/* ─────────────────────────── device: the parts come apart once, when the view reaches them */
.device { padding: 9vh 0; }
.device-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .device-grid { grid-template-columns: 1fr; } }
.feat { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.feat li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.feat li b { display: block; font-weight: 400; color: var(--ink); font-size: 19px; margin-bottom: 4px; }
.exploded { position: relative; aspect-ratio: 1053 / 872; }
.exploded::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,120,212,.12), transparent); }
.part { position: absolute; height: auto; filter: drop-shadow(0 18px 22px rgba(11,40,80,.28)); transition: transform 1.6s var(--ease) .2s; }
.exploded:not(.in) .part { transform: translate(var(--ax), var(--ay)); }
.part-lid { z-index: 1; } .part-board { z-index: 2; } .part-case { z-index: 3; } .part-lens, .part-button { z-index: 4; } .part-guide { z-index: 5; }
/* labels: a dot, a short hairline and plain text (no pills) */
.pin { position: absolute; z-index: 6; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--ink); opacity: 0;
  background: rgba(255,255,255,.94); padding: 6px 10px 6px 0; border-radius: 3px; box-shadow: 0 4px 14px -6px rgba(11,40,80,.35); transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pin { padding-left: 10px !important; }
.exploded.in .pin { opacity: 1; transform: none; transition-delay: 1.4s; }
.exploded.in .pin:nth-of-type(2) { transition-delay: .15s; } .exploded.in .pin:nth-of-type(3) { transition-delay: .3s; }

/* ─────────────────────────── journey: before / after */
.journey { padding: 9vh 0; }
.compare { position: relative; margin-top: 56px; aspect-ratio: 16 / 8; border-radius: 18px; overflow: hidden; background: radial-gradient(80% 90% at 50% 50%, #ffffff, #dde7f2); --c: 50%; user-select: none; }
.compare figure { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; }
.compare img { max-width: 70%; max-height: 72%; object-fit: contain; }
.cmp-a { clip-path: inset(0 calc(100% - var(--c)) 0 0); }
.cmp-b { clip-path: inset(0 0 0 var(--c)); }
.compare figcaption { position: absolute; bottom: 22px; font-size: 14px; color: var(--ink-3); max-width: 36ch; }
.cmp-a figcaption { left: 26px; } .cmp-b figcaption { right: 26px; text-align: right; }
.compare figcaption b { display: block; font-size: 28px; font-weight: 200; color: var(--ink); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--c); width: 1px; background: var(--line); pointer-events: none; }
.cmp-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; letter-spacing: 2px; color: #fff; background: var(--ink); box-shadow: 0 6px 20px rgba(11,20,38,0,0,.5); }

/* ─────────────────────────── closing */
.closing { padding: 12vh 0 11vh; text-align: center; background: radial-gradient(60% 60% at 50% 40%, rgba(20,120,212,.10), transparent 70%); }
.closing-h { margin: 0 auto; max-width: 24ch; font-size: clamp(34px, 4.8vw, 64px); }
.credit { margin: 64px auto 0; font-size: 14px; line-height: 1.7; color: var(--ink-4); }

/* Swiss made mark */
.ch { width: 1.15em; height: 1.15em; flex: none; border-radius: 2px; }
.eyebrow .swiss::before { display: none; }
.eyebrow .swiss { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.eyebrow .swiss .ch { width: 14px; height: 14px; }
.swiss-foot { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; font-weight: 500; }

/* ─────────────────────────── footer */
.foot { background: #FBFCFE; border-top: 1px solid var(--rule); padding: 64px 0 72px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-4); }
.foot-in p { margin: 0; }
.foot-in img { opacity: .75; }

/* ─────────────────────────── film dialog */
.film { width: min(1280px, 94vw); padding: 0; border: 0; background: #000; border-radius: 14px; overflow: visible; }
.film::backdrop { background: rgba(3, 6, 12, .88); backdrop-filter: blur(8px); }
.film video { width: 100%; border-radius: 14px; }
.film-close { position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

/* ─────────────────────────── reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .gauge-track, .reading-bg img { transform: none !important; }
}

/* ─────────────────────────── phones */
html, body { overflow-x: clip; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 60px; padding: 0 16px; }
  .nav-logo img { width: 96px; }
  .nav-links .nav-cta { padding: 7px 12px; font-size: 13px; }
  .eyebrow { flex-wrap: wrap; gap: 6px 10px; font-size: 11px; letter-spacing: .18em; margin-bottom: 18px; }
  .eyebrow span::before { margin-right: 10px; }
  .eyebrow .swiss::before { display: none; }
  .hero { padding-top: 76px; }
  .tagline { font-size: 24px; }
  .lede, .body { font-size: 17px; }
  .actions { gap: 10px; }
  .btn { height: 46px; padding: 0 20px; font-size: 14px; }
  .noise { min-height: 80vh; padding: 12vh 0; }
  .gauge-track img { width: 150vw; }
  .bar { grid-template-columns: 1fr 64px; gap: 8px 12px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-v { grid-row: 1; grid-column: 2; font-size: 24px; }
  .scale-film, .bone, .journey, .voices, .reading, .experience { padding-top: 10vh; padding-bottom: 10vh; }
  .or-grid { gap: 28px; }
  .unit-caption { margin-top: 20px; font-size: 13px; }
  .step h3 { font-size: 26px; }
  .step p { font-size: 16px; }
  .xray-cap { flex-wrap: wrap; gap: 8px 18px; padding: 40px 16px 14px; font-size: 11px; }
  .bone-grid { gap: 32px; }
  .vs-col { padding-right: 0; }
  .compare { aspect-ratio: 4 / 5; }
  .compare img { max-width: 88%; max-height: 60%; }
  .compare figcaption { bottom: 16px; font-size: 12px; max-width: 42%; }
  .compare figcaption b { font-size: 22px; }
  .cmp-a figcaption { left: 16px; } .cmp-b figcaption { right: 16px; }
  .stat { border-right: 0; margin-right: 0; padding: 22px 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .closing { padding: 14vh 0 12vh; }
  .credit { margin-top: 40px; }
  .pin { font-size: 11px; padding: 5px 10px 5px 6px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

/* the exploded stage reveals by opening, not by sliding */
.exploded[data-reveal] { opacity: 1; transform: none; }

/* ─────────────────────────── BeeBlip vs depth gauge: two cards, grey/red for the gauge, blue for BeeBlip */
.versus-table { padding: 9vh 0; }
.vs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
@media (max-width: 760px) { .vs2 { grid-template-columns: 1fr; } }
.vs-card { border-radius: 20px; padding: 26px 28px 14px; }
.vs-card.old { background: #EEF0F3; border: 1px solid rgba(11,20,38,.08); }
.vs-card.new { background: linear-gradient(160deg, #1478D4, #0B5FB0); color: #fff; box-shadow: 0 30px 60px -30px rgba(11,95,176,.6); }
.vs-name { margin: 0 0 14px; font-size: 26px; font-weight: 200; letter-spacing: -.01em; color: var(--ink); }
.vs-card.new .vs-name { color: #fff; }
.vs-name .tag { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9A5B5B; }
.vs-card.new .tag { color: #BFE3FF; }
.vs-list { list-style: none; margin: 0; padding: 0; }
.vs-list li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid rgba(11,20,38,.08); font-size: 17px; color: var(--ink-3); }
.vs-card.new .vs-list li { border-color: rgba(255,255,255,.18); color: #fff; }
.vs-list small { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 2px; }
.vs-card.new small { color: #BFE3FF; }
.vs-list li::before { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.vs-list.x li::before { content: "✕"; color: #C84A4A; background: rgba(200,74,74,.12); }
.vs-list.ok li::before { content: "✓"; color: #0B5FB0; background: #fff; }

/* ─────────────────────────── How it works: live simulator + notes */
.experience { padding: 10vh 0; }
.try { display: grid; grid-template-columns: 2.1fr 1fr; gap: 48px; align-items: center; }
@media (min-width: 1300px) { .experience .wrap.try { width: min(1400px, 100% - 48px); } }
@media (max-width: 980px) { .try { grid-template-columns: 1fr; } }
.try-device { position: relative; aspect-ratio: 16 / 10; }
.try .notes { margin-top: 26px; }
.try-device iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.notes { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.notes li { position: relative; padding: 14px 0 14px 18px; border-left: 1px solid var(--rule); color: var(--ink-4); transition: color .3s, border-color .3s; }
.notes li b { display: block; color: var(--ink-3); font-weight: 400; font-size: 17px; }
.notes li span { display: block; font-size: 14.5px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.notes li em { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin .3s; }
.notes li.on { border-color: var(--accent-lift); color: var(--ink-3); }
.notes li.on b { color: var(--ink); }
.notes li.on span { max-height: 90px; opacity: 1; margin-top: 4px; }
.notes li.on em { max-height: 60px; margin-top: 10px; }
.notes li.on::before { content: ""; position: absolute; left: -4px; top: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-lift); box-shadow: 0 0 8px rgba(20,120,212,.6); }
.notes button { font: 13px var(--font); color: var(--accent); background: rgba(20,120,212,.07); border: 1px solid var(--accent-line); border-radius: 999px; padding: 5px 11px; cursor: pointer; }
@media (hover: hover) { .notes button:hover { background: rgba(20,120,212,.15); } }



/* ─────────────────────────── alternating bands: text left / visual right, then flipped */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child, .device-grid.flip > :first-child { order: 2; }
.device-grid.flip { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 900px) { .split, .device-grid.flip { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child, .device-grid.flip > :first-child { order: 0; } .gauge-img { width: 100%; } }

/* ─────────────────────────── the gauge: instrument centred, compact column chart */
.gauge { padding: 9vh 0 10vh; }
.gauge-img { margin: 36px 0 0; width: 100%; }
.gauge-img img { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(11,40,80,.22)); }
.chart { margin: 0; padding: 22px 24px 18px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid var(--rule); }
.chart figcaption { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-4); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; height: 190px; margin: 18px 0 6px; align-items: end; }
.col { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; }
.col b { font-size: 30px; font-weight: 200; color: var(--accent-lift); }
.col b::after { content: "%"; font-size: .55em; margin-left: 2px; }
.col i { align-self: end; justify-self: center; width: 46px; height: 0; border-radius: 6px 6px 0 0; background: linear-gradient(var(--accent-lift), var(--accent)); transition: height 1.3s var(--ease) .3s; }
.chart.in .col i { height: calc(var(--v) * 1%); }
.col:nth-child(2) i { transition-delay: .45s; } .col:nth-child(3) i { transition-delay: .6s; }
.col span { margin-top: 8px; font-size: 14px; color: var(--ink); } .col small { display: block; font-size: 12px; color: var(--ink-4); }
.col::before { content: ""; grid-row: 2; grid-column: 1; align-self: end; border-bottom: 1px solid var(--rule); }
.chart .src { margin-top: 12px; }

/* ─────────────────────────── surgeons: three donuts */
.voices { padding: 9vh 0; }
.pies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pie { position: relative; margin: 0; text-align: center; }
.pie svg { transform: rotate(-90deg); }
.pie circle { fill: none; stroke-width: 3.2; }
.pie circle:first-child { stroke: var(--track); }
.pie circle:last-child { stroke: var(--accent-lift); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease) .3s; }
.pies.in .pie circle:last-child { stroke-dasharray: var(--v) 100; }
.pies.in .pie:nth-child(2) circle:last-child { transition-delay: .45s; } .pies.in .pie:nth-child(3) circle:last-child { transition-delay: .6s; }
.pie .ring { position: relative; width: 100%; max-width: 150px; aspect-ratio: 1; margin: 0 auto; }
.pie .ring svg { display: block; width: 100%; height: 100%; max-width: none; }
.pie b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(22px, 6vw, 30px); font-weight: 200; color: var(--ink); }
.pie figcaption { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }


/* ─────────────────────────── 2024 / 2026: the handle nudges once so you see it moves */
.compare.in .cmp-handle::after { animation: nudge 1.6s var(--ease) .6s 2; }
.compare.in .cmp-a { animation: nudge-clip-a 1.6s var(--ease) .6s 2; }
.compare.in .cmp-b { animation: nudge-clip-b 1.6s var(--ease) .6s 2; }
.compare.in .cmp-handle { animation: nudge-line 1.6s var(--ease) .6s 2; }
@keyframes nudge { 0%, 100% { transform: translate(-50%, -50%); } 30% { transform: translate(calc(-50% - 60px), -50%); } 65% { transform: translate(calc(-50% + 60px), -50%); } }
@keyframes nudge-line { 0%, 100% { transform: none; } 30% { transform: translateX(-60px); } 65% { transform: translateX(60px); } }
@keyframes nudge-clip-a { 0%, 100% { clip-path: inset(0 calc(100% - var(--c)) 0 0); } 30% { clip-path: inset(0 calc(100% - var(--c) + 60px) 0 0); } 65% { clip-path: inset(0 calc(100% - var(--c) - 60px) 0 0); } }
@keyframes nudge-clip-b { 0%, 100% { clip-path: inset(0 0 0 var(--c)); } 30% { clip-path: inset(0 0 0 calc(var(--c) - 60px)); } 65% { clip-path: inset(0 0 0 calc(var(--c) + 60px)); } }
.cmp-handle::after { transform: translate(-50%, -50%); }

.nav .logo-light { display: none; }
.btn svg { margin-right: -2px; }

/* ─────────────────────────── gauge: ten screws per row, the wrong ones hollow */
.waffle { margin: 0; padding: 26px 28px 20px; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid var(--rule); box-shadow: 0 20px 40px -30px rgba(11,40,80,.35); }
.w-big { margin: 0 0 18px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; font-weight: 200; color: var(--ink); }
.w-big b { font-weight: 300; color: #D14B4B; font-size: 1.5em; margin-right: 6px; letter-spacing: -.02em; }
.wrow { display: grid; grid-template-columns: 120px 1fr 74px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.wrow span { font-size: 15px; color: var(--ink); } .wrow span small { display: block; font-size: 12px; color: var(--ink-4); }
.wrow b { text-align: right; font-size: 24px; font-weight: 200; color: #D14B4B; } .wrow b small { font-size: 12px; color: var(--ink-4); margin-left: 3px; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.dots i, .w-key i { display: block; aspect-ratio: 1; border-radius: 50%; border: 1.6px solid #D14B4B; background: transparent; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.dots i.ok, .w-key i.ok { border-color: var(--accent-lift); background: var(--accent-lift); }
.waffle.in .dots i { transform: scale(1); }
.waffle.in .wrow:nth-of-type(1) .dots i { transition-delay: calc(var(--k) * 40ms); }
.w-key { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--ink-4); }
.w-key i { width: 11px; transform: none; } .w-key i:not(:first-child) { margin-left: 12px; }
@media (max-width: 640px) { .wrow { grid-template-columns: 1fr 60px; } .wrow .dots { grid-column: 1 / -1; grid-row: 2; } }

/* partner strip (hidden for now) */
.partners { padding: 2vh 0 6vh; }
.partners-in { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.partners p { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); }
.partners img { height: 28px; width: auto; filter: grayscale(1); opacity: .6; }

/* phones: centre the short hero block; longer copy further down stays left-aligned for reading */
@media (max-width: 640px) {
  .hero-inner { text-align: center; }
  .hero-inner .eyebrow, .hero-inner .actions { justify-content: center; }
  .hero-inner .lede { margin-left: auto; margin-right: auto; }
}

/* ─────────────────────────── phones: a big copy of the device joystick drives the simulator (the drawn one is too small to hit) */
.pad { display: none; }
@media (max-width: 900px), (pointer: coarse) {
  .pad { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: -34px auto 0; position: relative; }
  .pad-hint { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--accent); }
  /* grey case material, round recessed well, engraved arrows, blue domed cap: same as on the device */
  .pad-joy { position: relative; width: 124px; height: 124px; border-radius: 50%;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"), radial-gradient(circle at 50% 42%, #6a6c70, #55575b 70%, #4b4d51);
    box-shadow: inset 0 3px 6px rgba(0,0,0,.35), inset 0 -1px 1px rgba(255,255,255,.12), 0 1px 0 rgba(255,255,255,.6), 0 10px 22px -10px rgba(11,40,80,.45); }
  .pad-joy button { position: absolute; border: 0; background: transparent; padding: 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .pad-joy .up, .pad-joy .down { left: 30%; width: 40%; height: 30%; } .pad-joy .up { top: 0; } .pad-joy .down { bottom: 0; }
  .pad-joy .left, .pad-joy .right { top: 30%; width: 30%; height: 40%; } .pad-joy .left { left: 0; } .pad-joy .right { right: 0; }
  .pad-joy .up::after, .pad-joy .down::after, .pad-joy .left::after, .pad-joy .right::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border: 7px solid transparent; filter: drop-shadow(0 1px 0 rgba(255,255,255,.14)); transition: filter .15s; }
  .pad-joy .up::after { border-bottom: 10px solid #37393d; border-top: 0; transform: translate(-50%, -30%); }
  .pad-joy .down::after { border-top: 10px solid #37393d; border-bottom: 0; transform: translate(-50%, -70%); }
  .pad-joy .left::after { border-right: 10px solid #37393d; border-left: 0; transform: translate(-30%, -50%); }
  .pad-joy .right::after { border-left: 10px solid #37393d; border-right: 0; transform: translate(-70%, -50%); }
  .pad-joy .up:active::after { border-bottom-color: #3FC8FF; filter: drop-shadow(0 0 6px #3FC8FF); }
  .pad-joy .down:active::after { border-top-color: #3FC8FF; filter: drop-shadow(0 0 6px #3FC8FF); }
  .pad-joy .left:active::after { border-right-color: #3FC8FF; filter: drop-shadow(0 0 6px #3FC8FF); }
  .pad-joy .right:active::after { border-left-color: #3FC8FF; filter: drop-shadow(0 0 6px #3FC8FF); }
  .pad-joy .push { left: 27%; top: 27%; width: 46%; height: 46%; border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(255,255,255,.06) 0 1px, transparent 1px 4px), radial-gradient(circle at 38% 32%, #4a8fe6, #1f5fbf 60%, #174a98);
    box-shadow: 0 6px 0 #123b7a, 0 10px 14px rgba(0,0,0,.45), inset 0 1px 1px rgba(255,255,255,.35); transition: transform .08s, box-shadow .08s; }
  .pad-joy .push:active { transform: translateY(4px) scale(.96); box-shadow: 0 2px 0 #123b7a, 0 3px 5px rgba(0,0,0,.4), inset 0 1px 1px rgba(255,255,255,.25); }
  .pad-joy:has(.up:active) .push { transform: translateY(-5px); } .pad-joy:has(.down:active) .push { transform: translateY(5px); }
  .pad-joy:has(.left:active) .push { transform: translateX(-5px); } .pad-joy:has(.right:active) .push { transform: translateX(5px); }
}

/* ─────────────────────────── phones: hamburger menu */
.nav-burger { display: none; }
@media (max-width: 760px) {
  .nav-burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
  .nav-burger i, .nav-burger i::before, .nav-burger i::after { content: ""; display: block; width: 22px; height: 1.6px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
  .nav-burger i::before { position: absolute; top: -7px; } .nav-burger i::after { position: absolute; top: 7px; }
  .nav.open .nav-burger i { background: transparent; }
  .nav.open .nav-burger i::before { transform: translateY(7px) rotate(45deg); } .nav.open .nav-burger i::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { position: fixed; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: rgba(245,248,252,.97); box-shadow: 0 20px 30px -20px rgba(11,40,80,.35);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a, .nav-links a:not(.nav-cta) { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--rule); }
  .nav-links .nav-cta { border-bottom: 0; }
  .nav.open { background: rgba(245,248,252,.97); }
}
@media (max-width: 700px) {
  .hero-device { aspect-ratio: 16 / 4.6; }
  .try-device { aspect-ratio: 16 / 6.2; }
  .nav.open, .nav-links { background: #F5F8FC; }
}

/* surgeon's line, shown when the hero simulator reaches C2 */
.quote { position: absolute; left: 4%; bottom: 6%; z-index: 2; margin: 0; max-width: 300px; padding: 14px 18px 12px; border-radius: 16px 16px 16px 4px;
  background: #fff; box-shadow: 0 18px 40px -18px rgba(11,40,80,.45), 0 0 0 1px var(--rule);
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 0 100%; pointer-events: none; transition: opacity .5s var(--ease), transform .6s cubic-bezier(.3,1.5,.5,1); }
.quote.show { opacity: 1; transform: none; }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 300; color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { margin-top: 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.quote::before { content: ""; position: absolute; left: 18px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-lift); display: none; }
@media (max-width: 700px) { .quote { left: 0; bottom: -18px; max-width: 250px; padding: 10px 14px; } .quote blockquote { font-size: 16px; } }

/* hero invitation to try the simulator; fades once it is used */
.try-hint { position: absolute; z-index: 2; left: 22%; top: 74%; margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink-3); max-width: 300px; transition: opacity .5s; }
.try-hint b { display: block; font-weight: 400; font-size: 19px; color: var(--accent); }
.try-hint svg { position: absolute; left: 12%; bottom: 100%; transform: scaleY(-1); width: 54px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.try-hint.gone { opacity: 0; }
@media (max-width: 900px), (pointer: coarse) { .try-hint { display: none; } }

/* ─────────────────────────── About page */
.about-hero { padding: calc(72px + 10vh) 0 10vh; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.portrait { position: relative; margin: 0; aspect-ratio: 1; max-width: 420px; border-radius: 50%;
  overflow: hidden; box-shadow: 0 30px 60px -28px rgba(11,40,80,.5); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }   /* scale hides the photo's own anti-aliased edge */
@media (max-width: 900px) { .portrait { max-width: 240px; } }
.about-creds { list-style: none; margin: 16px 0 0; padding: 0; }
.about-creds li { font-size: 17px; line-height: 1.5; color: var(--ink-3); }
.about-name { margin: 0; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; font-weight: 200; letter-spacing: -.02em; color: var(--ink); }
.about-role { margin: 16px 0 0; display: inline-block; padding: 5px 0; border-top: 1px solid var(--accent-line); padding-top: 10px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--accent); }
.about-text { margin-top: 34px; max-width: 58ch; }
.about-text p { margin: 0 0 16px; font-size: 18px; line-height: 1.65; color: var(--ink-3); }
.about-quote { margin: 36px 0 0; padding-left: 22px; border-left: 2px solid var(--accent-lift); font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 200; color: var(--ink); max-width: 36ch; }
.nav-links a[aria-current="page"] { color: var(--accent); }

/* founder strip on the home page */
.founder { padding: 6vh 0; }
.founder-in { display: flex; align-items: center; gap: 32px; padding: 28px 32px; border-radius: 22px; background: rgba(255,255,255,.65); border: 1px solid var(--rule); }
.founder-in img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; clip-path: circle(48%); box-shadow: 0 14px 30px -14px rgba(11,40,80,.5); }
.founder .eyebrow { margin-bottom: 8px; }
.founder-name { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 200; color: var(--ink); letter-spacing: -.01em; }
.founder-creds { margin: 6px 0 12px; font-size: 15px; color: var(--ink-3); }
.founder-link { font-size: 15px; color: var(--accent); text-decoration: none; font-weight: 500; }
.founder-link:hover { text-decoration: underline; }
@media (max-width: 640px) { .founder-in { flex-direction: column; text-align: center; padding: 24px 20px; } .founder .eyebrow { justify-content: center; } }
