/* =========================================================
   Verdanova — "A friend in need. With you every step."
   Futuristic theme: midnight space, glass panels, aqua pulse light.
   ========================================================= */
:root {
  --bg: #060a14;          /* midnight */
  --bg-2: #0b1020;        /* raised night */
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --edge: rgba(150, 190, 255, .14);
  --text: #e9eef9;
  --muted: #8d98b3;
  --aqua: #3ef0c8;        /* Verdanova pulse */
  --iris: #7c8cff;        /* AI / voice */
  --coral: #ff6b7a;       /* alerts, heartbeat */
  --on-aqua: #04201a;
  --radius: 22px;
  --glow: 0 0 0 1px var(--edge), 0 24px 60px -24px rgba(62, 240, 200, .25);
  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
em {
  font-style: normal;
  background: linear-gradient(90deg, var(--aqua), var(--iris));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 500 .75rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--aqua); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--aqua); color: var(--on-aqua); font: 700 1rem var(--font-body);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 30px -6px rgba(62, 240, 200, .6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 44px -4px rgba(62, 240, 200, .8); }
.btn--ghost { background: var(--glass); color: var(--text); box-shadow: inset 0 0 0 1px var(--edge); }
.btn--ghost:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--aqua); }
.btn--small { padding: .6em 1.15em; font-size: .88rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 10, 20, .7); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--edge); }
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font: 500 1.1rem var(--font-display); color: var(--text); letter-spacing: .02em; }
.logo__mark { width: 30px; height: 30px; flex: none; --mark: url(#brandGrad); filter: drop-shadow(0 0 10px rgba(62, 240, 200, .45)); }
.logo span { letter-spacing: .01em; }
.logo--light { color: var(--text); }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; font-weight: 500; font-size: .93rem; color: var(--muted); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--aqua); transition: width .25s; }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav__burger span { display: block; height: 2px; width: 22px; margin: 5px auto; background: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 4.5rem; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -10% -20% auto auto; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px;
  background:
    radial-gradient(closest-side at 60% 62%, rgba(62, 240, 200, .16), transparent),
    radial-gradient(closest-side at 35% 65%, rgba(124, 140, 255, .14), transparent);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero__copy { min-width: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.5rem; }
.slogan-tag { font: 500 .8rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 0 rgba(62, 240, 200, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 240, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 240, 200, 0); } }

/* Hero scene */
.scene { position: relative; min-height: 600px; display: block; }
.scene__halo {
  position: absolute; left: 50%; top: 46%; width: 460px; height: 460px; max-width: 100%;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: url("../img/hero-orb.jpg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 62%, transparent);
  mask-image: radial-gradient(circle closest-side, #000 62%, transparent);
  opacity: .9; animation: orb 18s ease-in-out infinite;
}
@keyframes orb { 50% { transform: translate(-50%, -50%) scale(1.06) rotate(8deg); } }
.scene::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 500px; height: 500px; max-width: 108%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  border: 1px dashed rgba(124, 140, 255, .3); animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scene__grid {
  position: absolute; inset: 10% 0 0; pointer-events: none;
  background-image: linear-gradient(var(--edge) 1px, transparent 1px), linear-gradient(90deg, var(--edge) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 60%);
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 60%);
  opacity: .5;
}
.scene__photo {
  position: relative; width: min(440px, 100%); aspect-ratio: 4 / 5; object-fit: cover; margin: 0 auto;
  border-radius: 28px; box-shadow: var(--glow);
  -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent);
}
.scene__photo[hidden], .scene.has-photo .person { display: none; }
.person {
  position: relative; display: block; width: min(400px, 100%); margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(62, 240, 200, .18));
  -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent);
}
.person .glasses rect { filter: drop-shadow(0 0 6px rgba(62, 240, 200, .7)); }
.person .hud { animation: hud 2.4s ease-in-out infinite; }
@keyframes hud { 50% { opacity: .35; } }
.person .mic { opacity: .25; transition: opacity .3s; }
.scene.is-user .person .mic { opacity: 1; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.person .watch { filter: drop-shadow(0 0 8px rgba(62, 240, 200, .6)); }
.scene.is-ai .person .watch__glow { animation: watchPulse 1.2s ease-in-out infinite; }
@keyframes watchPulse { 50% { fill: #12443d; } }
.scene.is-user .person .mouth { animation: talk .35s ease-in-out infinite alternate; transform-origin: 200px 292px; }
@keyframes talk { to { transform: scaleY(.4); } }

/* Voice waves */
.voice { position: absolute; top: 33%; left: calc(50% - 150px); display: flex; gap: 4px; align-items: center; height: 40px; opacity: 0; transition: opacity .3s; }
.scene.has-photo .voice { top: 20%; left: 8%; }
.voice span { width: 4px; height: 10px; border-radius: 4px; background: var(--iris); box-shadow: 0 0 10px var(--iris); }
.scene.is-user .voice { opacity: 1; }
.scene.is-user .voice span { animation: wave .8s ease-in-out infinite; }
.voice span:nth-child(2) { animation-delay: .1s !important; }
.voice span:nth-child(3) { animation-delay: .2s !important; }
.voice span:nth-child(4) { animation-delay: .3s !important; }
.voice span:nth-child(5) { animation-delay: .4s !important; }
@keyframes wave { 50% { height: 34px; } }

/* Glass panels shared by chips, messages, cards */
.chip, .msg--user, .feature, .step, .future__item, .day__card, .join__form {
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--edge);
}

/* Vitals chip */
.chip { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 14px; font: 500 .82rem var(--font-mono); white-space: nowrap; color: var(--text); }
.chip b { font-weight: 500; color: var(--aqua); font-variant-numeric: tabular-nums; }
.chip--vitals { top: 8%; right: 0; animation: float3 6s ease-in-out infinite; }
.chip__heart { color: var(--coral); display: inline-block; animation: beat 1s infinite; }
.chip__sep { width: 1px; height: 14px; background: var(--edge); margin: 0 .3rem; }
@keyframes float3 { 50% { transform: translateY(-10px); } }
@keyframes beat { 15% { transform: scale(1.35); } 30% { transform: scale(1); } }

/* Conversation */
.convo { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .5rem; pointer-events: none; }
.msg { max-width: 78%; padding: .7rem 1rem; border-radius: 16px; font-size: .92rem; font-weight: 600; line-height: 1.4; animation: msgIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.msg small { display: block; font: 500 .66rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: .2rem; }
.msg--user { align-self: flex-start; color: var(--text); border-bottom-left-radius: 4px; background: rgba(18, 24, 44, .78); }
.msg--ai { align-self: flex-end; color: var(--on-aqua); border-bottom-right-radius: 4px; background: linear-gradient(120deg, var(--aqua), #8ff7dd); box-shadow: 0 0 40px -10px rgba(62, 240, 200, .7); }
.msg.is-old { opacity: .8; }
.msg.is-leaving { animation: msgOut .35s ease both; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes msgOut { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--edge); background: var(--bg-2); color: var(--muted); padding: 1.1rem 0; }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.4rem; font: 500 .78rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.strip__inner span { display: inline-flex; align-items: center; gap: .6rem; }
.strip__inner span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 8px var(--aqua); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section__head { max-width: 700px; margin-bottom: 3rem; }

/* Day slider */
.day { max-width: 820px; }
.day__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: 1rem; }
.day__tab { padding: .85em .5em; border-radius: 12px; border: 1px solid var(--edge); background: var(--glass); color: var(--muted); font: 500 .8rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.day__tab:hover { color: var(--text); border-color: var(--aqua); }
.day__tab.is-active { background: var(--aqua); color: var(--on-aqua); border-color: var(--aqua); box-shadow: 0 0 24px -6px rgba(62, 240, 200, .7); }
.day__range { width: 100%; accent-color: var(--aqua); margin-bottom: 1.5rem; }
.day__card { position: relative; padding: 2rem 2.2rem; border-radius: var(--radius); transition: opacity .3s, transform .3s; }
.day__card.is-swapping { opacity: 0; transform: translateY(10px); }
.day__time { font: 500 .85rem var(--font-mono); color: var(--aqua); letter-spacing: .1em; margin-bottom: .7rem; }
.day__msg { font: 400 clamp(1.1rem, 2.2vw, 1.4rem)/1.45 var(--font-display); margin-bottom: 1.2rem; }
.day__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.day__chips span { padding: .35em .9em; border-radius: 999px; background: rgba(124, 140, 255, .14); color: #c3cbff; font: 500 .75rem var(--font-mono); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { padding: 2rem; border-radius: var(--radius); transition: transform .3s, box-shadow .3s; outline: none; }
.feature:hover, .feature:focus-visible { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(62, 240, 200, .5), 0 24px 60px -24px rgba(62, 240, 200, .45); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(62, 240, 200, .1); box-shadow: inset 0 0 0 1px rgba(62, 240, 200, .3); margin-bottom: 1.3rem; }
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--aqua); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: var(--muted); margin: 0; }
.feature em { color: var(--aqua); background: none; -webkit-background-clip: initial; background-clip: initial; }
.feature--alert .feature__icon { background: rgba(255, 107, 122, .1); box-shadow: inset 0 0 0 1px rgba(255, 107, 122, .35); }
.feature--alert .feature__icon svg { stroke: var(--coral); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step { position: relative; padding: 2rem; border-radius: var(--radius); }
.step__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(62, 240, 200, .12); color: var(--aqua); font: 500 .95rem var(--font-mono); margin-bottom: 1rem; box-shadow: inset 0 0 0 1px rgba(62, 240, 200, .35); }
.step p { color: var(--muted); margin: 0; }

/* SOS */
.sos { background: radial-gradient(circle at 78% 40%, rgba(255, 107, 122, .14), transparent 45%), var(--bg-2); border-block: 1px solid var(--edge); padding: clamp(4rem, 9vw, 7rem) 0; }
.sos__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.sos__grid > * { min-width: 0; }
.sos p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.ticks li { display: flex; align-items: center; }
.ticks li::before { content: "✓"; display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin-right: .7rem; border-radius: 8px; background: rgba(62, 240, 200, .12); color: var(--aqua); font-weight: 800; font-size: .8rem; }
.sos__demo { text-align: center; }
.sos__btn { position: relative; width: 180px; height: 180px; border-radius: 50%; border: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, #ff8f9a, var(--coral) 60%, #d9384b); color: #fff; font: 600 1.8rem var(--font-display); letter-spacing: .1em; box-shadow: 0 0 0 14px rgba(255, 107, 122, .14), 0 0 0 28px rgba(255, 107, 122, .07), 0 0 60px rgba(255, 107, 122, .5); transition: transform .2s; }
.sos__btn:hover { transform: scale(1.04); }
.sos__btn.is-active { animation: sosPulse 1s infinite; }
@keyframes sosPulse { 50% { box-shadow: 0 0 0 22px rgba(255, 107, 122, .25), 0 0 0 44px rgba(255, 107, 122, .1), 0 0 80px rgba(255, 107, 122, .7); } }
.sos .sos__status { margin-top: 2.2rem; font: 500 .9rem var(--font-mono); color: var(--text); min-height: 3em; }

/* Image-backed section */
.section--fibers {
  background:
    linear-gradient(90deg, var(--bg) 35%, rgba(6, 10, 20, .7) 65%, rgba(6, 10, 20, .35)),
    linear-gradient(0deg, var(--bg), transparent 25%, transparent 75%, var(--bg)),
    url("../img/fibers.jpg") right center / cover no-repeat;
}

/* Future */
.future__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.media-card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; box-shadow: inset 0 0 0 1px var(--edge); }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.media-card:hover img { transform: scale(1.05); }
.media-card figcaption { position: absolute; inset: auto 0 0; padding: 1.6rem; background: linear-gradient(transparent, rgba(4, 7, 14, .92) 45%); }
.media-card h3 { margin-bottom: .3rem; }
.media-card p { color: var(--muted); margin: 0; }
.tag { display: inline-block; margin-bottom: .7rem; padding: .25em .7em; border-radius: 999px; font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); background: rgba(62, 240, 200, .12); box-shadow: inset 0 0 0 1px rgba(62, 240, 200, .35); }
.credit { position: absolute; right: 1rem; bottom: .7rem; font: 500 .62rem var(--font-mono); color: var(--muted); opacity: .7; }
.future__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.future__item { padding: 1.6rem; border-radius: 18px; position: relative; overflow: hidden; }
.future__item::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--aqua), var(--iris)); }
.future__item p { color: var(--muted); margin: 0; }

/* Join */
.join { padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(62, 240, 200, .16), transparent 60%), var(--bg); }
.join__inner { max-width: 640px; }
.join p { color: var(--muted); }
.join__form { display: flex; gap: .6rem; margin-top: 2rem; padding: .4rem; border-radius: 999px; }
.join__form input { flex: 1; min-width: 0; border: 0; padding: 0 1.2rem; font: 500 1rem var(--font-body); background: transparent; color: var(--text); outline: none; }
.join__form input::placeholder { color: var(--muted); }
.join .join__msg { margin-top: 1rem; font-weight: 600; color: var(--aqua); min-height: 1.6em; }

/* Footer */
.footer { background: #04070e; border-top: 1px solid var(--edge); color: var(--muted); padding: 3rem 0; font-size: .88rem; }
.footer__inner { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 2rem; align-items: start; }
.footer__slogan { margin-top: .8rem; font: 500 .75rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }
.footer__note { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .sos__grid { grid-template-columns: 1fr; }
  .scene { min-height: 580px; max-width: 520px; margin-inline: auto; width: 100%; }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .future__grid { grid-template-columns: repeat(3, 1fr); }
  .future__media { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--edge); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav__links a { padding: 1rem 16px; border-top: 1px solid var(--edge); color: var(--text); }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav .btn--small { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .features, .steps, .future__grid { grid-template-columns: 1fr; }
  .day__tabs { grid-template-columns: repeat(2, 1fr); }
  .scene { min-height: 540px; }
  .scene__halo { width: 360px; height: 360px; }
  .scene::before { width: 380px; height: 380px; }
  .media-card { aspect-ratio: 4 / 5; }
  .section--fibers { background: linear-gradient(rgba(6, 10, 20, .82), rgba(6, 10, 20, .82)), url("../img/fibers.jpg") center / cover no-repeat; }
  .chip--vitals { top: 0; font-size: .74rem; }
  .msg { max-width: 88%; font-size: .85rem; }
  .voice { left: 4px; }
  .join__form { flex-direction: column; border-radius: 20px; }
  .join__form input { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Products ---------- */
.pfilter { display: inline-flex; gap: .4rem; padding: .35rem; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); margin-bottom: 1.6rem; flex-wrap: wrap; }
.pfilter__btn { padding: .55em 1.2em; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 .78rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.pfilter__btn:hover { color: var(--text); }
.pfilter__btn.is-active { background: var(--aqua); color: var(--on-aqua); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.product { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.product:hover { transform: translateY(-4px); }
.product.is-picked { box-shadow: inset 0 0 0 2px var(--aqua), 0 24px 60px -24px rgba(62, 240, 200, .5); }
.product__visual { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 1.5rem; background: radial-gradient(circle at 50% 60%, rgba(62, 240, 200, .16), transparent 65%), var(--bg-2); border-bottom: 1px solid var(--edge); }
.product__visual svg { width: 100%; max-width: 220px; overflow: visible; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.product:hover .product__visual svg { transform: scale(1.06) rotate(-2deg); }
.product .dev-stroke { stroke: var(--dev); fill: none; transition: stroke .3s; }
.product .dev-fill { fill: var(--dev); stroke: rgba(150, 190, 255, .25); stroke-width: 1.5; transition: fill .3s; }
.product .lens { fill: rgba(62, 240, 200, .12); }
.product .screen { fill: #04070e; stroke: rgba(62, 240, 200, .5); stroke-width: 1.5; }
.product .screen-text { fill: var(--aqua); font: 600 14px var(--font-body); }
.product .hudline { fill: none; stroke: var(--aqua); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px var(--aqua)); stroke-dasharray: 80; animation: ecg 2.4s linear infinite; }
.product .accentline, .product .accentdot { fill: var(--aqua); filter: drop-shadow(0 0 4px var(--aqua)); }
.product .hole { fill: rgba(0, 0, 0, .35); }
@keyframes ecg { from { stroke-dashoffset: 80; } to { stroke-dashoffset: -80; } }
.product__body { display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem; flex: 1; }
.product__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.product__top .tag { margin: 0; }
.product__badge { font: 500 .66rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product h3 { margin: 0; }
.product__line { color: var(--muted); font-size: .92rem; margin: 0; }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: .86rem; }
.specs li { display: flex; gap: .55rem; align-items: baseline; }
.specs li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); translate: 0 -2px; }
.swatches { display: flex; gap: .55rem; margin-top: auto; padding-top: .3rem; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: box-shadow .2s, transform .2s; }
.sw:hover { transform: scale(1.1); }
.sw.is-on { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 2px var(--bg), 0 0 0 4px var(--aqua); }
.product__pick { width: 100%; }
.product.is-picked .product__pick { background: var(--aqua); color: var(--on-aqua); box-shadow: none; }
.myset { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; margin-top: 1.6rem; padding: 1.3rem 1.6rem; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); }
.myset__info { min-width: 0; flex: 1 1 320px; }
.myset__label { margin: 0 0 .2rem; font: 500 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.myset__items { margin: 0; font-weight: 600; }
.myset__tip { margin: .3rem 0 0; color: var(--muted); font-size: .88rem; }
.myset__tip:empty { display: none; }
#reserveBtn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.pnote { margin-top: 1rem; font: 500 .72rem var(--font-mono); color: var(--muted); }
.join .join__set { margin: 1rem auto 0; max-width: 520px; padding: .7rem 1rem; border-radius: 14px; background: rgba(62, 240, 200, .1); color: var(--text); font-size: .92rem; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } .myset .btn { width: 100%; } }
.product[hidden] { display: none; }
.product.is-picked { outline: 2px solid var(--aqua); outline-offset: -2px; }
@media (max-width: 560px) { .product__visual { aspect-ratio: 16 / 9; } }
/* Product drawings v2 */
.pgrid { grid-template-columns: repeat(3, 1fr); }
.product .glint { stroke: rgba(255, 255, 255, .35); stroke-width: 3; stroke-linecap: round; }
.product .knit { fill: none; stroke: rgba(0, 0, 0, .28); stroke-dasharray: 2 5; }
.product .pod { fill: #0d0f14; stroke: rgba(150, 190, 255, .3); stroke-width: 1.5; }
.product .buckle { fill: none; stroke: #9aa3b5; stroke-width: 3; }
.product .tape { fill: none; stroke: #e8e4d8; stroke-width: 10; stroke-linecap: round; }
.product .btnc { fill: #1a1f2a; stroke: rgba(150, 190, 255, .3); }
.product .screen-text--big { font-size: 20px; letter-spacing: .04em; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.product__visual { aspect-ratio: 16 / 10; }
.product__visual svg { max-width: 290px; filter: drop-shadow(0 0 1px rgba(210, 225, 255, .55)) drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.product__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__photo[hidden], .product.has-photo .product__visual svg { display: none; }

/* ---------- Health Station ---------- */
.station { background: radial-gradient(ellipse at 20% 50%, rgba(124, 140, 255, .1), transparent 60%), var(--bg); }
.station__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.kiosk { position: relative; max-width: 420px; width: 100%; margin-inline: auto; }
.kiosk > svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.kiosk .k-glow { fill: var(--aqua); filter: drop-shadow(0 0 6px var(--aqua)); }
.hot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(6, 10, 20, .85); color: var(--aqua); font: 600 .72rem var(--font-mono); box-shadow: inset 0 0 0 1.5px var(--aqua), 0 0 0 0 rgba(62, 240, 200, .5); animation: hotPulse 2.4s infinite; transition: background .2s, color .2s, transform .2s; }
.hot:hover { transform: scale(1.12); }
.hot.is-on { background: var(--aqua); color: var(--on-aqua); animation: none; box-shadow: 0 0 22px rgba(62, 240, 200, .8); }
@keyframes hotPulse { 70% { box-shadow: inset 0 0 0 1.5px var(--aqua), 0 0 0 10px rgba(62, 240, 200, 0); } }
.station__side { display: grid; gap: 1rem; min-width: 0; }
.spot { padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px rgba(62, 240, 200, .35); transition: opacity .18s, transform .18s; }
.spot.is-swapping { opacity: 0; transform: translateY(6px); }
.spot__n { margin: 0 0 .4rem; font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); }
.spot h3 { margin-bottom: .4rem; }
.spot p { color: var(--muted); margin: 0; }
.spot .spot__spec { margin-top: .8rem; font: 500 .8rem var(--font-mono); color: var(--text); }
.report { padding: 1.2rem 1.4rem; border-radius: var(--radius); background: #f3f5f9; color: #0b1020; }
.report__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .6rem; border-bottom: 2px solid #0b1020; font: 600 .95rem var(--font-display); }
.report__sample { font: 500 .62rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; padding: .2em .6em; border-radius: 999px; background: #dfe4ec; color: #4a5266; }
.report__rows { list-style: none; margin: 0; padding: 0; }
.report__rows li { display: grid; grid-template-columns: 1fr auto 5.2rem; align-items: center; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid #dfe4ec; font-size: .9rem; }
.report__rows b { font-variant-numeric: tabular-nums; font-weight: 700; }
.report__rows i { font: normal 500 .66rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: .25em 0; border-radius: 999px; }
.report__rows i.ok { background: #d5f7ec; color: #0b5a45; }
.report__rows i.watch { background: #ffe9cc; color: #8a4b00; }
.report__foot { margin: .7rem 0 0; font-size: .8rem; color: #4a5266; }
.station__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.who { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.who li { padding: .3em .8em; border-radius: 999px; font: 500 .72rem var(--font-mono); color: var(--muted); box-shadow: inset 0 0 0 1px var(--edge); }
@media (max-width: 960px) { .station__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .station__cta .btn { width: 100%; } }
/* Four devices + ECG drawing */
.pgrid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.product .pad { fill: #15171d; }
.product .ring-btn { fill: none; stroke: #cfd5df; stroke-width: 1.6; }
.product .pad-text { fill: #e9eef9; font: 700 15px var(--font-body); }
.product__top .tag, .product__badge { white-space: nowrap; }

/* Footer credits */
.footer__copy p { margin: 0 0 .3rem; }
.footer__copy b { color: var(--text); font-weight: 600; }

/* ---------- Health Check page ---------- */
.nav__links a[aria-current="page"] { color: var(--aqua); }
.vitals__title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.vgrid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4rem; align-items: start; }
.scanner, .result, .record, .needs { border-radius: var(--radius); background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); min-width: 0; }
.scanner { padding: 1rem; }
.scanner__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(62, 240, 200, .12), transparent 60%), #04070e; }
.scanner__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.scanner__placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.scanner__placeholder svg { width: 34%; fill: none; stroke: rgba(150, 190, 255, .25); stroke-width: 2; }
.scanner__oval { position: absolute; inset: 0; width: 100%; height: 100%; }
.oval-track { fill: none; stroke: rgba(150, 190, 255, .25); stroke-width: .8; stroke-dasharray: 1.5 1.5; vector-effect: non-scaling-stroke; }
.oval-fill { fill: none; stroke: var(--aqua); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px var(--aqua)); transition: stroke-dashoffset .3s; }
.scanner__mode { position: absolute; top: .8rem; left: .8rem; padding: .3em .8em; border-radius: 999px; font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #ffd28a; background: rgba(40, 28, 6, .75); box-shadow: inset 0 0 0 1px rgba(255, 210, 138, .4); }
.scanner__mode.is-live { color: var(--aqua); background: rgba(4, 32, 26, .75); box-shadow: inset 0 0 0 1px rgba(62, 240, 200, .45); }
.scanner__hint { position: absolute; left: 50%; bottom: .9rem; translate: -50% 0; margin: 0; max-width: calc(100% - 2rem); padding: .55rem 1rem; border-radius: 12px; background: rgba(6, 10, 20, .8); font-weight: 600; font-size: .9rem; text-align: center; }
.scanner__bar { display: flex; align-items: center; gap: .8rem; margin: 1rem .2rem .2rem; }
.scanner__progress { flex: 1; height: 6px; border-radius: 6px; background: rgba(150, 190, 255, .12); overflow: hidden; }
.scanner__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua), var(--iris)); transition: width .3s; }
.scanner__pct { font: 500 .8rem var(--font-mono); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.scanner__actions { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.scanner__actions .btn[disabled], .result__actions .btn[disabled] { opacity: .4; pointer-events: none; }
.scanner__status { margin: .6rem .2rem 0; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.result { padding: 1.4rem 1.5rem; }
.result__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.result__head .eyebrow { margin: 0; }
.chip-q { font: 500 .7rem var(--font-mono); padding: .25em .7em; border-radius: 999px; background: rgba(124, 140, 255, .15); color: #c3cbff; }
.result__empty { display: grid; place-items: center; min-height: 220px; color: var(--muted); text-align: center; }
.result__hr { display: flex; align-items: baseline; gap: .5rem; margin: 1rem 0 .6rem; }
.result__hr b { font: 500 clamp(3rem, 7vw, 4.4rem) var(--font-display); line-height: 1; color: var(--aqua); font-variant-numeric: tabular-nums; }
.result__hr span { font: 500 .9rem var(--font-mono); color: var(--muted); }
.result__list { margin: 0; display: grid; gap: 0; }
.result__list div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--edge); }
.result__list dt { color: var(--muted); }
.result__list dd { margin: 0; font-weight: 600; text-align: right; }
.rh--ok { color: var(--aqua); } .rh--watch { color: #ffc46b; } .rh--alert { color: var(--coral); }
.result__demo { margin: .9rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: rgba(255, 196, 107, .1); color: #ffd28a; font-size: .85rem; }
.result__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.result__actions .btn { padding: .7em 1.1em; font-size: .9rem; }
.result__msg { margin: .7rem 0 0; color: var(--aqua); font-weight: 600; min-height: 1.4em; }
.record { margin-top: 1.4rem; padding: 1.5rem; }
.record__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.record__head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.record__head .pfilter { margin: 0; }
.trend { padding: 1rem 1.1rem .6rem; border-radius: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--edge); margin-bottom: 1rem; }
.trend__label { display: flex; justify-content: space-between; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trend__label b { color: var(--aqua); font-weight: 500; }
.trend svg { display: block; width: 100%; height: 110px; margin-top: .4rem; }
.table-wrap { overflow-x: auto; }
.rtable { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.rtable th { text-align: left; font: 500 .68rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: .6rem .6rem; border-bottom: 1px solid var(--edge); }
.rtable td { padding: .75rem .6rem; border-bottom: 1px solid var(--edge); vertical-align: middle; }
.rtable td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.rtable .empty { text-align: center; color: var(--muted); padding: 1.6rem; }
.src { font-weight: 600; }
.sample { font: 500 .62rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: .15em .5em; border-radius: 999px; background: rgba(150, 190, 255, .12); color: var(--muted); margin-left: .3rem; }
.pill { font: normal 500 .66rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: .3em .7em; border-radius: 999px; white-space: nowrap; }
.pill--ok { background: rgba(62, 240, 200, .14); color: var(--aqua); }
.pill--watch { background: rgba(255, 196, 107, .14); color: #ffc46b; }
.pill--alert { background: rgba(255, 107, 122, .15); color: var(--coral); }
.needs { margin-top: 1.4rem; padding: 1.3rem 1.5rem; }
.needs ul { margin: .4rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.needs li { margin-bottom: .3rem; }
@media (max-width: 960px) { .vgrid { grid-template-columns: 1fr; } }
