:root {
  --bg: #050605;
  --bg-2: #0a0d0a;
  --panel: #0c100c;
  --ink: #e8f0e6;
  --muted: #84907f;
  --faint: #3a4436;
  --line: rgba(182, 255, 107, 0.12);
  --signal: #b6ff6b;
  --signal-2: #7fd63a;
  --signal-glow: rgba(182, 255, 107, 0.35);
  --f-display: "Unbounded", "Helvetica Neue", sans-serif;
  --f-body: "Onest", "Helvetica Neue", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* dot grid + glow atmosphere */
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% 8%, rgba(182,255,107,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 60%, rgba(127,214,58,.05), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(232,240,230,.06) 1px, transparent 1.4px) 0 0 / 28px 28px,
    var(--bg);
}
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 50% { transform: translate(-3%, 2%); } 100% { transform: translate(2%, -3%); } }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: normal; color: var(--signal); }
::selection { background: var(--signal); color: var(--bg); }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border: 1px solid var(--signal); border-radius: 999px;
  background: var(--signal); color: #071006;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px var(--signal-glow); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--faint); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); box-shadow: none; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(5,6,5,.92), rgba(5,6,5,.6));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: auto; color: var(--signal); }
.brand-word { font: 800 17px/1 var(--f-display); letter-spacing: .08em; }
.brand-word b { font-weight: 400; color: var(--signal); }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--faint); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font: 500 11px/1 var(--f-mono); letter-spacing: .08em;
  padding: 7px 9px; border-radius: 999px; transition: .2s;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- load-in ---------- */
.load { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  min-height: calc(100svh - 70px);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 40px;
  padding: 56px var(--gutter) 72px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 50% { opacity: .35; } }
h1 {
  margin: 0;
  font: 800 clamp(38px, 5.3vw, 80px)/.95 var(--f-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
h1 em { display: inline-block; text-shadow: 0 0 40px var(--signal-glow); }
.lede { max-width: 30em; margin: 28px 0 36px; color: #b9c3b5; font-size: clamp(16px, 1.4vw, 19px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 40px; margin: 52px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats dt { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-stats dd { margin: 10px 0 0; font: 600 30px/1 var(--f-display); }

/* scope: band inside a 360° instrument */
.scope { position: relative; aspect-ratio: 1; width: 100%; max-width: 540px; justify-self: center; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
#ticks line { stroke: var(--faint); stroke-width: 1; transition: stroke .5s, opacity .5s; }
#ticks line.major { stroke: #5c7a3e; stroke-width: 1.5; }
#ticks line.lit { stroke: var(--signal); transition: none; filter: drop-shadow(0 0 3px var(--signal)); }
#ticks line.head { stroke: #fff; }
#ticks text { fill: var(--muted); font: 500 8px var(--f-mono); letter-spacing: .1em; }
.orbit { fill: none; stroke: var(--line); stroke-width: 1; }
.orbit-done { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: 0; filter: drop-shadow(0 0 10px var(--signal)); }
.scope.done .orbit-done { animation: done 1.1s var(--ease); }
@keyframes done { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.scan-txt { fill: var(--muted); font: 500 9px var(--f-mono); letter-spacing: .18em; }
.scan-txt tspan { fill: var(--signal); }
.scope.done .chip { border-color: rgba(182,255,107,.6); box-shadow: 0 0 24px -6px var(--signal-glow); }
.chip { transition: border-color .6s, box-shadow .6s; }
@keyframes spin { to { transform: rotate(360deg); } }
.halo { position: absolute; inset: 26%; border-radius: 50%; background: radial-gradient(circle, rgba(182,255,107,.42), rgba(182,255,107,.08) 55%, transparent 70%); filter: blur(10px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .75; } }
.device { position: absolute; left: 50%; top: 50%; width: 40%; transform: translate(-50%, -50%); }
.band { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.85)) brightness(1.18) contrast(1.04); }
.eye { position: absolute; left: 66.4%; top: 40.9%; width: 23%; opacity: .96; filter: drop-shadow(0 0 6px var(--signal-glow)); }
.beat { position: absolute; left: 77.9%; top: 46.5%; width: 0; height: 0; }
.beat i { position: absolute; left: 50%; top: 50%; width: 46px; height: 30px; margin: -15px 0 0 -23px; border: 1.5px solid var(--signal); border-radius: 50%; opacity: 0; animation: beat var(--beat, 1s) cubic-bezier(.2,.6,.3,1) infinite; }
.beat i:nth-child(2) { animation-delay: calc(var(--beat, 1s) * .18); }
@keyframes beat { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.eye svg path { fill: var(--signal) !important; }
.chip {
  position: absolute; display: flex; align-items: baseline; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(10,13,10,.94); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip b { font: 600 22px/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.chip i { font-style: normal; font-size: 11px; color: var(--signal); }
.c1 { top: 12%; left: 2%; }
.c2 { top: 20%; right: 0; animation-delay: -1.5s; }
.c3 { bottom: 18%; left: 0; animation-delay: -3s; }
.c4 { bottom: 10%; right: 6%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { padding: 18px 28px; font: 500 13px/1 var(--f-mono); letter-spacing: .2em; color: var(--muted); display: flex; align-items: center; gap: 28px; }
.ticker span::after { content: ""; width: 5px; height: 5px; background: var(--signal); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section:not(.hero) { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker { margin: 0 0 18px; font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--signal); }
h2 { margin: 0; font: 600 clamp(32px, 4.6vw, 62px)/1.02 var(--f-display); letter-spacing: -.03em; }
.section-head p:not(.kicker) { margin: 22px 0 0; color: #aab4a6; max-width: 40em; }
h3 { margin: 0; font: 600 20px/1.2 var(--f-display); letter-spacing: -.01em; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.card:hover { border-color: rgba(182,255,107,.35); }
.card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(182,255,107,.10), transparent 65%); pointer-events: none; }
.card header { display: flex; align-items: center; gap: 14px; }
.idx { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--signal); color: var(--signal); border-radius: 50%; font: 500 13px var(--f-mono); }
.card p { margin: 0; color: #aab4a6; font-size: 15.5px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.tags li { padding: 6px 10px; border: 1px solid var(--faint); border-radius: 999px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--muted); }
.tags .soon { border-style: dashed; color: var(--signal-2); }
.ecg, .trend, .hypno, .avatars { height: 80px; margin: 26px 0 22px; width: 100%; }
.ecg path { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; filter: drop-shadow(0 0 4px var(--signal-glow)); vector-effect: non-scaling-stroke; }
.in .ecg path { animation: draw 2.6s var(--ease) forwards, ecgloop 2.6s linear 2.6s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ecgloop { 0% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1400; } }
.hypno { position: relative; border-left: 1px solid var(--faint); border-bottom: 1px solid var(--faint); }
.hypno i { position: absolute; left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); top: calc((var(--l) - 1) * 25%); height: 25%; background: var(--signal); opacity: calc(.25 + var(--l) * .18); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.in .hypno i { transform: scaleX(1); }
.in .hypno i:nth-child(n) { transition-delay: calc(var(--x) * 12ms); }
/* membership */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.col { padding: 36px; }
.col ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.col li { position: relative; padding-left: 30px; font-size: 16px; }
.col.old { color: var(--muted); }
.col.old li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.col.new { background: linear-gradient(160deg, rgba(182,255,107,.14), rgba(182,255,107,.03)); border-left: 1px solid var(--line); }
.col.new h3 { color: var(--signal); }
.col.new li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.note { margin: 22px 0 0; font: 500 13px/1.5 var(--f-mono); color: var(--muted); }

/* join */
.join-box { position: relative; text-align: center; padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 80px); border-radius: 32px; border: 1px solid rgba(182,255,107,.3); background: radial-gradient(600px 300px at 50% 0%, rgba(182,255,107,.16), transparent 70%), var(--panel); overflow: hidden; }
.join-mark { width: 64px; margin: 0 auto 28px; color: var(--signal); filter: drop-shadow(0 0 20px var(--signal-glow)); }
.join-box > p { max-width: 34em; margin: 20px auto 40px; color: #aab4a6; }
form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; max-width: 860px; margin: 0 auto; text-align: left; align-items: end; }
.field span { display: block; margin: 0 0 8px 4px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%; height: 54px; padding: 0 20px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--faint); border-radius: 999px;
  font: 400 16px var(--f-body); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(182,255,107,.12); }
.field input::placeholder { color: var(--faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { grid-column: 1 / -1; min-height: 1.5em; margin: 6px 0 0; text-align: center; font-size: 15px; }
.form-msg.ok { color: var(--signal); }
.form-msg.err { color: #ff8a7a; }
button[disabled] { opacity: .6; pointer-events: none; }

/* faq */
.qa { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font: 600 clamp(17px, 1.6vw, 21px)/1.3 var(--f-display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--faint); border-radius: 50%; font: 400 18px var(--f-mono); color: var(--signal); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 28px; max-width: 46em; color: #aab4a6; }

/* footer */
.foot { max-width: var(--max); margin: clamp(80px, 12vw, 150px) auto 0; padding: 40px var(--gutter) 36px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.mail { font: 500 15px var(--f-mono); color: var(--signal); }
.disclaimer, .copy { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.copy { margin-top: 6px; font-family: var(--f-mono); }

/* ---------- journey ---------- */
.j-pills { position: sticky; top: 82px; z-index: 5; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; gap: 8px; margin: -16px 0 40px; padding: 6px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.j-pills button {
  display: flex; align-items: baseline; gap: 8px; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; background: none; color: var(--muted);
  font: 500 14px/1 var(--f-mono); transition: background .3s, color .3s;
}
.j-pills small { font: 500 12px/1 var(--f-body); }
.j-pills button[aria-selected="true"] { background: var(--signal); color: #071006; }
.j-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.j-device { align-self: start; position: sticky; top: 150px; height: calc(100svh - 170px); max-height: 760px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.j-device::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(182,255,107,.22), transparent 65%); filter: blur(20px); z-index: -1; }
.j-progress { display: flex; gap: 6px; }
.j-progress i { width: 26px; height: 3px; padding: 8px 0; box-sizing: content-box; background: var(--faint) content-box; border-radius: 3px; cursor: pointer; transition: background .4s, width .4s; }
.j-progress i.on { background: var(--signal) content-box; width: 44px; }
.j-steps { list-style: none; margin: 0; padding: 0 0 12svh; }
.j-steps li { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.j-steps li.on { opacity: 1; }
.j-time { font: 500 13px/1 var(--f-mono); letter-spacing: .14em; color: var(--signal); margin-bottom: 18px; }
.j-steps h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
.j-steps p { margin: 18px 0 0; color: #aab4a6; max-width: 30em; }

/* phone */
.phone {
  container-type: inline-size;
  position: relative; width: min(clamp(250px, 21vw, 290px), calc((100svh - 230px) * 9 / 19)); aspect-ratio: 9 / 19;
  padding: 10px; border-radius: 46px;
  background: linear-gradient(145deg, #2a3127, #0d100c 40%, #1b2019);
  box-shadow: 0 0 0 1px #3a4436, 0 40px 90px -20px rgba(0,0,0,.9), 0 0 60px -10px rgba(182,255,107,.18), inset 0 0 0 1px rgba(255,255,255,.04);
}
.island { position: absolute; z-index: 3; top: 5.5cqw; left: 50%; width: 30cqw; height: 8.5cqw; transform: translateX(-50%); background: #000; border-radius: 99px; }
.screens { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: radial-gradient(120% 60% at 50% 0%, #10170e, #060806 60%); }
.screen {
  position: absolute; inset: 0; padding: 15cqw 6.5cqw 6cqw;
  display: flex; flex-direction: column; gap: 4.2cqw;
  font-size: 4.4cqw; color: var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(6%) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .55s;
  pointer-events: none;
}
.screen.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sb { position: absolute; top: 6.2cqw; left: 9cqw; right: 9cqw; display: flex; justify-content: space-between; align-items: center; font: 600 3.9cqw/1 var(--f-body); }
.sb-ic { display: flex; align-items: flex-end; gap: .8cqw; }
.sb-ic i { width: 1cqw; background: var(--ink); border-radius: 1px; }
.sb-ic i:nth-child(1) { height: 1.6cqw; } .sb-ic i:nth-child(2) { height: 2.3cqw; } .sb-ic i:nth-child(3) { height: 3cqw; }
.sb-ic b { width: 6cqw; height: 3cqw; margin-left: 1.4cqw; border: .5cqw solid var(--ink); border-radius: 1cqw; background: linear-gradient(90deg, var(--signal) 70%, transparent 70%) padding-box; }
.app-hi, .app-title { margin: 0; font: 600 6.2cqw/1.1 var(--f-display); letter-spacing: -.02em; }
.screen small { display: block; font: 500 2.9cqw/1.25 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.mini { padding: 3cqw; border-radius: 4cqw; background: rgba(255,255,255,.035); border: 1px solid rgba(182,255,107,.08); }
.mini small { font-size: 2.4cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini b { display: block; margin-top: 1.6cqw; font: 600 5cqw/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mini b i { font: 500 2.6cqw var(--f-mono); color: var(--signal); margin-left: .6cqw; font-style: normal; }
.pcard { padding: 3.6cqw; border-radius: 4.5cqw; background: rgba(255,255,255,.035); border: 1px solid rgba(182,255,107,.08); }
.advice-sm { display: flex; gap: 2.4cqw; align-items: flex-start; margin-top: auto; padding: 3.4cqw; border-radius: 4.5cqw; background: rgba(182,255,107,.08); font-size: 3.3cqw; line-height: 1.35; }
.advice-sm .dot { margin-top: 1cqw; width: 1.8cqw; height: 1.8cqw; }

/* s1 ring + week bars */
.p-ring { position: relative; align-self: center; width: 52cqw; margin-top: 1cqw; text-align: center; }
.p-ring svg { transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #172015; stroke-width: 9; }
.ring-fg { fill: none; stroke: var(--signal); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; filter: drop-shadow(0 0 4px var(--signal-glow)); transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.active .ring-fg { stroke-dashoffset: calc(314.16 * (1 - var(--p))); }
.ring-num { position: absolute; inset: 0 0 auto; height: 52cqw; display: flex; align-items: center; justify-content: center; }
.ring-num b { font: 800 15cqw/1 var(--f-display); letter-spacing: -.05em; }
.ring-num span { font: 500 4.5cqw var(--f-mono); color: var(--signal); margin: 0 0 6cqw 1cqw; }
.p-ring small { margin-top: 1cqw; }
.wbars { display: flex; align-items: flex-end; gap: 2cqw; height: 13cqw; margin-top: 3cqw; }
.wbars i { flex: 1; height: 8%; border-radius: 1.2cqw; background: #2a3a22; transition: height .8s var(--ease); }
.wbars i.today { background: var(--signal); box-shadow: 0 0 10px var(--signal-glow); }
.active .wbars i { height: calc(var(--h) * 100%); }
.active .wbars i:nth-child(n) { transition-delay: calc(.3s + var(--h) * .3s); }

/* s2 live workout */
.live { display: flex; align-items: center; gap: 2cqw; font: 500 3.2cqw/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.live .tmr { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.dot.hot { background: #ff6b5a; box-shadow: 0 0 10px #ff6b5a; }
.bpm { display: flex; align-items: baseline; gap: 2cqw; }
.bpm b { font: 800 20cqw/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.bpm span { font: 500 4.5cqw var(--f-mono); color: var(--signal); }
.live-ecg { height: 14cqw; overflow: hidden; border-block: 1px solid rgba(182,255,107,.08); }
.live-ecg svg { width: 200%; height: 100%; animation: ecgscroll 2.4s linear infinite; }
.live-ecg path { fill: none; stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px var(--signal-glow)); }
@keyframes ecgscroll { to { transform: translateX(-50%); } }
.zones { display: grid; gap: 2cqw; }
.z { display: grid; grid-template-columns: 7cqw 1fr 7cqw; align-items: center; gap: 2cqw; font: 500 2.9cqw/1 var(--f-mono); color: var(--muted); }
.z i { height: 3.2cqw; border-radius: 2cqw; background: linear-gradient(90deg, #3d5a26, var(--signal)); width: 0; transition: width 1s var(--ease); }
.z:nth-child(1) i { background: linear-gradient(90deg, #8a6b1f, #ffb35a); }
.active .z i { width: calc(var(--w) * 100%); }
.active .z:nth-child(2) i { transition-delay: .1s; } .active .z:nth-child(3) i { transition-delay: .2s; } .active .z:nth-child(4) i { transition-delay: .3s; } .active .z:nth-child(5) i { transition-delay: .4s; }
.z em { font-style: normal; text-align: right; color: var(--ink); }
.hr-card { margin-top: auto; }
.hr-trend { width: 100%; height: 16cqw; margin-top: 2.4cqw; overflow: visible; }
.hr-trend .a { fill: rgba(182,255,107,.12); opacity: 0; transition: opacity .8s var(--ease) 1s; }
.hr-trend .l { fill: none; stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.active .hr-trend .a { opacity: 1; }
.active .hr-trend .l { stroke-dashoffset: 0; }

/* s3 family */
.member { display: flex; align-items: center; gap: 3cqw; padding: 3.2cqw; border-radius: 4.5cqw; background: rgba(255,255,255,.035); border: 1px solid rgba(182,255,107,.08); opacity: 0; transform: translateX(8%); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.active .member { opacity: 1; transform: none; }
.active .member:nth-of-type(2) { transition-delay: .12s; } .active .member:nth-of-type(3) { transition-delay: .24s; } .active .member:nth-of-type(4) { transition-delay: .36s; }
.av { flex: none; width: 10cqw; height: 10cqw; display: grid; place-items: center; border-radius: 50%; border: .6cqw solid var(--signal); font: 600 4cqw/1 var(--f-display); color: var(--signal); }
.m-info { min-width: 0; flex: 1; }
.m-info b { display: block; font: 600 4cqw/1.2 var(--f-body); }
.m-info small { text-transform: none; letter-spacing: 0; font-size: 2.9cqw; margin-top: .8cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { flex: none; padding: 1.4cqw 2.4cqw; border-radius: 99px; background: rgba(182,255,107,.12); color: var(--signal); font: 500 2.6cqw/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.st.active { background: rgba(255,179,90,.14); color: #ffb35a; }
.alert-card { display: flex; gap: 3cqw; padding: 3.4cqw; border-radius: 4.5cqw; border: 1px solid rgba(182,255,107,.25); background: rgba(182,255,107,.06); }
.alert-card .dot { margin-top: 1.2cqw; }
.alert-card b { font: 600 3.5cqw/1.2 var(--f-body); }
.alert-card small { text-transform: none; letter-spacing: 0; font: 400 3cqw/1.35 var(--f-body); margin-top: 1cqw; }
.soon-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 3.4cqw; color: var(--muted); }
.pill-soon { padding: 1.4cqw 2.6cqw; border: 1px dashed var(--signal-2); border-radius: 99px; color: var(--signal-2); font: 500 2.6cqw/1 var(--f-mono); text-transform: uppercase; }

/* s4 sleep */
.sleep-total b { font: 800 15cqw/1 var(--f-display); letter-spacing: -.04em; }
.sleep-total small { margin-top: 1.6cqw; }
.hyp { display: grid; grid-template-columns: auto 1fr; gap: 2.4cqw; padding: 3.4cqw; border-radius: 4.5cqw; background: rgba(255,255,255,.035); border: 1px solid rgba(182,255,107,.08); }
.hyp-lbl { display: grid; grid-template-rows: repeat(4, 1fr); font: 500 2.4cqw/1 var(--f-mono); color: var(--muted); align-items: center; text-transform: uppercase; }
.hyp-plot { position: relative; height: 28cqw; background: repeating-linear-gradient(to bottom, transparent 0 calc(25% - 1px), rgba(255,255,255,.05) calc(25% - 1px) 25%); }
.hyp-plot i { position: absolute; left: calc(var(--x) * 1%); width: calc(var(--w) * 1%); top: calc(var(--l) * 25% + 3%); height: 19%; border-radius: 1cqw; background: var(--signal); opacity: calc(.35 + var(--l) * .2); transform: scaleY(0); transition: transform .45s var(--ease); }
.hyp-plot i[style*="--l:0"] { background: #ffb35a; }
.active .hyp-plot i { transform: scaleY(1); transition-delay: calc(var(--x) * 9ms + .2s); }

.split { display: flex; height: 4cqw; margin-top: 2.6cqw; border-radius: 2cqw; overflow: hidden; gap: .6cqw; }
.split i { width: 0; background: var(--c); transition: width .9s var(--ease); }
.active .split i { width: calc(var(--w) * 1%); }
.split-lg { display: flex; flex-wrap: wrap; gap: 1.6cqw 3cqw; margin-top: 2.4cqw; font: 500 2.6cqw/1 var(--f-mono); color: var(--muted); }
.split-lg span { display: inline-flex; align-items: center; gap: 1.2cqw; }
.split-lg b { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--c); }
.split-lg em { font-style: normal; }

/* sensor card visuals v2 */
.trend .t-area { fill: url(#tg); opacity: 0; transition: opacity 1.2s var(--ease) .8s; }
.trend .t-line { fill: none; stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; filter: drop-shadow(0 0 4px var(--signal-glow)); }
.trend .t-2 { stroke: #ffb35a; filter: none; opacity: .8; }
.in .trend .t-area { opacity: 1; }
.in .trend .t-line { animation: draw 2.2s var(--ease) forwards; }
.in .trend .t-2 { animation-delay: .4s; }
.avatars { position: relative; display: flex; align-items: center; gap: 0; }
.avatars span { position: relative; z-index: 1; width: 46px; height: 46px; margin-right: -10px; display: grid; place-items: center; border-radius: 50%; background: var(--panel); border: 1.5px solid var(--signal); color: var(--signal); font: 600 15px/1 var(--f-display); }
.avatars span.me { background: var(--signal); color: #071006; font-size: 10px; box-shadow: 0 0 18px var(--signal-glow); }
.avatars .pulse-line { position: absolute; left: 180px; right: 0; top: 50%; height: 30px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M0 15h40l6-10 8 20 6-10h60' fill='none' stroke='%23b6ff6b' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x left center / 120px 30px; opacity: .7; animation: dash 2s linear infinite; }
@keyframes dash { to { background-position: 120px center; } }

/* mobile sticky CTA */
.m-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; gap: 8px; }
  .scope { max-width: 400px; width: 92%; }
  .cards { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .col.new { border-left: 0; border-top: 1px solid var(--line); }
  form { grid-template-columns: 1fr; }
  .btn[type="submit"] { width: 100%; }

  .j-pills { margin: -20px 0 28px; width: 100%; justify-content: space-between; position: sticky; top: 72px; z-index: 5; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(10,13,10,.85); }
  .j-pills button { flex: 1; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; font-size: 13px; }
  .j-pills small { font-size: 10.5px; }
  .j-grid { grid-template-columns: 1fr; gap: 20px; }
  .j-device { position: relative; top: 0; height: auto; gap: 16px; }
  .phone { width: min(236px, 62vw); }
  .j-steps { order: -1; position: relative; scroll-padding: 0 var(--gutter); }
  .phone { touch-action: pan-y; }
  .j-steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; }
  .j-steps::-webkit-scrollbar { display: none; }
  .j-steps li { flex: 0 0 86%; min-height: 0; padding-bottom: 20px; scroll-snap-align: center; opacity: 1; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); transition: border-color .3s; }
  .j-steps li.on { border-color: rgba(182,255,107,.45); }
  .j-steps h3 { font-size: 21px; }
  .j-steps p { font-size: 15px; margin-top: 10px; }
  .j-time { margin-bottom: 12px; }

  .m-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    height: 54px; border-radius: 999px; background: var(--signal); color: #071006;
    font: 600 15px/1 var(--f-body); box-shadow: 0 12px 40px -6px rgba(0,0,0,.8), 0 0 30px -6px var(--signal-glow);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .m-cta.show { transform: none; }
  .foot { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { gap: 10px; }
  .nav .btn-sm { display: none; }
  .brand-word { font-size: 15px; }
  .hero-stats { gap: 24px; margin-top: 36px; }
  .hero-stats dd { font-size: 24px; }
  .chip { padding: 7px 9px; }
  .chip b { font-size: 16px; }
  .card, .col { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .load, .reveal { opacity: 1; transform: none; }
}
