/* Boca Labs — violet glass system.
   Palette: Soft Amethyst, Lilac Mist, Crystal Haze, Deep Graphite + a saturated violet for hero surfaces. */
:root {
  --amethyst: #AFA3D6;
  --lilac: #D5CEEC;
  --haze: #EFEFF4;
  --graphite: #2E2C39;
  --violet: #5A3FD9;
  --violet-hi: #7258EA;
  --violet-deep: #33238F;
  --amber: #F3B95F;
  --ink: var(--graphite);
  --muted: #65627A;
  --line: #DCD8EA;
  --glass-bg: rgba(255, 255, 255, .12);
  --glass-line: rgba(255, 255, 255, .24);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--haze); color: var(--ink); font: 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.035em; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--violet); }
.hp { position: absolute; left: -9999px; }
a { color: inherit; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font: 500 15px Inter, sans-serif; text-decoration: none; cursor: pointer; background: var(--graphite); color: #fff; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: var(--graphite); box-shadow: 0 6px 20px rgba(20, 10, 70, .18); }
.btn-light:hover { background: var(--haze); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: progress; }
.text-link { background: none; border: 0; padding: 0; font: 500 14px Inter, sans-serif; color: inherit; text-decoration: none; cursor: pointer; opacity: .9; }
.text-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Glass */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-line);
  box-shadow: 0 20px 50px rgba(20, 10, 70, .25), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .08);
}

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; text-decoration: none; }
.logo svg { width: 22px; height: 22px; fill: currentColor; }
.nav-pill { display: flex; gap: 4px; padding: 5px; border-radius: 16px; box-shadow: none; }
.nav-pill a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 11px; font-size: 14px; text-decoration: none; opacity: .85; transition: background .2s, opacity .2s; }
.nav-pill a:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav-pill a.active { opacity: 1; background: rgba(255, 255, 255, .18); }
.nav-pill a i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.nav.on-light { color: var(--ink); background: rgba(239, 239, 244, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.on-light .nav-pill { background: rgba(255, 255, 255, .6); border-color: var(--line); }
.nav.on-light .nav-pill a.active { background: #fff; }
.nav.on-light .btn-light { background: var(--graphite); color: #fff; box-shadow: none; }

/* Violet backdrop: color fields + blurred subject behind reeded glass */
.hero, .fb-page { background: linear-gradient(160deg, var(--violet-hi) 0%, var(--violet) 50%, var(--violet-deep) 100%); color: #fff; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fb-page .hero-bg { position: fixed; }
.field { position: absolute; border-radius: 50%; filter: blur(60px); }
.f1 { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: var(--violet-hi); opacity: .9; }
.f2 { width: 50vw; height: 50vw; right: -14vw; bottom: -22vw; background: #241868; opacity: .8; }
.f3 { width: 30vw; height: 30vw; right: 18vw; top: 8vh; background: var(--amethyst); opacity: .45; animation: drift 16s ease-in-out infinite; }
.hero-subject { position: absolute; left: 50%; top: 46%; width: min(52vw, 760px); translate: -50% -50%; rotate: -10deg; filter: blur(46px) saturate(160%) brightness(1.5); opacity: .9; animation: sway 12s ease-in-out infinite; }
.hero-glow { position: absolute; left: 50%; top: 44%; width: min(46vw, 680px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(243, 185, 95, .55) 0%, rgba(213, 206, 236, .35) 35%, transparent 68%); filter: blur(30px); }
.reeds {
  position: absolute; inset: 0;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .13) 0px, rgba(255, 255, 255, .02) 5px,
    rgba(20, 10, 70, .04) 11px, rgba(20, 10, 70, .14) 15px, rgba(255, 255, 255, .13) 16px);
}
.grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  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"); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto auto; grid-template-areas: ". ." "copy ctas" "feat feat"; column-gap: 48px; padding-top: 92px; padding-bottom: 24px; }
.hero-copy { grid-area: copy; align-self: end; }
.hero .eyebrow { color: rgba(255, 255, 255, .75); }
.hero h1 { font-size: clamp(52px, 7.4vw, 108px); line-height: .96; margin: 10px 0 22px; text-shadow: 0 2px 30px rgba(20, 10, 70, .2); }
.lede { max-width: 32em; font-size: 16px; color: rgba(255, 255, 255, .8); }
.hero-ctas { grid-area: ctas; align-self: end; justify-self: end; display: flex; align-items: center; gap: 24px; padding-bottom: 6px; }
.hero-copy > *, .hero-ctas, .hero-features { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3), .hero-ctas { animation-delay: .14s; }
.hero-features { animation-delay: .3s; }

.hero-features { grid-area: feat; list-style: none; padding: 20px 0 0; margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
.hero-features li { position: relative; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.hero-features li:first-child { color: #fff; }
.hero-features li:first-child::before { content: ""; position: absolute; top: -21px; left: 0; width: 72%; height: 1px; background: #fff; }
.hero-features svg { display: block; width: 18px; height: 18px; margin-bottom: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Waitlist */
.signup { position: relative; overflow: hidden; color: #fff; border-radius: 32px; padding: 0; margin-bottom: 48px; max-width: 1152px;
  background: radial-gradient(circle at 85% 20%, var(--amber) 0%, transparent 28%), linear-gradient(150deg, var(--violet-hi), var(--violet-deep)); }
.signup-inner { position: relative; z-index: 1; padding: 56px 44px; }
.signup h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; }
.signup-inner > p { color: rgba(255, 255, 255, .8); margin: 8px 0 28px; }
.signup form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: end; }
.signup label { display: grid; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.signup input { font: 15px Inter, sans-serif; padding: 13px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .12); color: #fff; }
.signup input:focus { outline: 2px solid #fff; outline-offset: 1px; }

.footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; padding-bottom: 32px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* Thanks page */
.thanks { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 16px; }

/* Feedback page */
.fb-page { min-height: 100svh; }
.fb-page .nav { position: absolute; }
.fb-main { position: relative; z-index: 1; min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 40px; }
.fb-card { width: min(560px, 100%); border-radius: 30px; padding: 26px 28px 24px; background: rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); }
.fb-top { display: flex; align-items: center; gap: 14px; }
.fb-count { font-size: 13px; color: rgba(255, 255, 255, .75); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fb-progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.fb-progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: #fff; transition: width .5s var(--ease); }
.q h1 { font-size: clamp(30px, 4.6vw, 42px); line-height: 1.05; margin: 26px 0 18px; }
.q.enter { animation: step-in .45s var(--ease); }
.q-sub { color: rgba(255, 255, 255, .78); margin: -6px 0 18px; }
.q-hint { font-size: 13px; color: rgba(255, 255, 255, .75); margin-top: 10px; }
.big-input { width: 100%; font: 300 22px Inter, sans-serif; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; resize: vertical; -moz-appearance: textfield; }
textarea.big-input { font-size: 17px; font-weight: 400; }
.big-input::placeholder { color: rgba(255, 255, 255, .55); }
.big-input:focus { outline: 2px solid #fff; outline-offset: 1px; }
.big-input::-webkit-outer-spin-button, .big-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: grid; place-items: center; height: 104px; border-radius: 22px; font-size: 46px; font-weight: 300; cursor: pointer; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); transition: background .2s, color .2s, transform .2s var(--ease); }
.choices span:hover { background: rgba(255, 255, 255, .18); }
.choices input:checked + span { background: #fff; color: var(--violet); transform: scale(1.03); }
.choices input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.rec { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.mic { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: #fff; color: var(--violet); touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform .15s, background .2s, color .2s; }
.mic svg { width: 26px; height: 26px; fill: currentColor; }
.mic.recording { background: #E5486A; color: #fff; transform: scale(1.08); animation: ping 1.2s infinite; }
.rec-info { display: grid; gap: 2px; min-width: 0; flex: 1; }
.rec-info .q-hint { margin: 0; }
.rec-player { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.rec-player audio { height: 36px; width: 100%; min-width: 0; }
.photos { display: flex; gap: 10px; flex-wrap: wrap; }
.photos .thumb, .add-photo { position: relative; width: 92px; height: 92px; border-radius: 18px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(20, 10, 70, .75); color: #fff; font-size: 11px; cursor: pointer; }
.add-photo { display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); font-size: 28px; cursor: pointer; }
.add-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fb-error { margin-top: 16px; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: rgba(229, 72, 106, .22); color: #FFE3EA; }
.fb-nav { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.fb-nav #skip { margin-left: auto; }
.fb-nav #skip[hidden] + #next { margin-left: auto; }
.fb-done { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 48px 28px; }
.fb-done h1 { font-size: 44px; }
.fb-done .q-sub { margin: 0 0 12px; }
.check { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--violet); display: grid; place-items: center; font-size: 28px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes drift { 50% { translate: -6vw 4vh; } }
@keyframes float { 50% { translate: 0 -14px; } }
@keyframes sway { 50% { rotate: -4deg; translate: -48% -50%; } }
@keyframes live { to { box-shadow: 0 0 0 10px rgba(124, 240, 176, 0); } }
@keyframes ping { to { box-shadow: 0 0 0 16px rgba(229, 72, 106, 0); } }
@keyframes bar { 50% { transform: scaleY(.55); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .fb-card { background: var(--violet-deep); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .reeds, .grain { display: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .fb-card { background: rgba(40, 26, 120, .88); }
}

@media (max-width: 900px) {
  .nav-pill { display: none; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "copy" "ctas" "feat"; min-height: 100svh; padding-top: 120px; row-gap: 28px; align-content: end; }
  .hero-ctas { justify-self: start; }
  .hero-subject { width: 110vw; top: 22%; }
  .hero-glow { width: 90vw; top: 22%; }
  .hero-grid { min-height: auto; padding-top: 0; }
  .hero-features { grid-template-columns: 1fr 1fr; margin-top: 8px; row-gap: 22px; }
  .signup-inner { padding: 36px 22px; }
  .signup form { grid-template-columns: 1fr; }
  .fb-card { padding: 22px 20px 20px; }
  .choices span { height: 88px; }
}

/* Feedback v2: fast chairside controls */
.loc-chip { font-size: 13px; line-height: 1; opacity: .9; }
.age { display: grid; justify-items: center; gap: 14px; padding: 4px 0 2px; }
.age-val { font-size: 84px; font-weight: 300; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.age-slider { --fill: 40%; width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: pan-y; }
.age-slider::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, #fff var(--fill), rgba(255, 255, 255, .22) var(--fill)); }
.age-slider::-moz-range-track { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .22); }
.age-slider::-moz-range-progress { height: 10px; border-radius: 10px; background: #fff; }
.age-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; margin-top: -13px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 6px 18px rgba(20, 10, 70, .35), 0 0 0 6px rgba(255, 255, 255, .18); }
.age-slider::-moz-range-thumb { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 6px 18px rgba(20, 10, 70, .35), 0 0 0 6px rgba(255, 255, 255, .18); }
.age-slider:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 12px; }
.age-scale { width: 100%; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .6); padding: 0 8px; margin-top: -8px; }
.age-nudge { display: flex; align-items: center; gap: 18px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.nudge { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; font: 300 26px Inter, sans-serif; cursor: pointer; }
.nudge:active { background: rgba(255, 255, 255, .25); }
.choices.two { grid-template-columns: 1fr 1fr; }
.choices.two span { height: 140px; font-size: 36px; position: relative; }
.choices kbd { position: absolute; right: 12px; bottom: 10px; font: 500 11px Inter, sans-serif; padding: 2px 6px; border-radius: 6px; border: 1px solid currentColor; opacity: .45; }
@media (hover: none) { .choices kbd { display: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; font-size: 15px; cursor: pointer; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); transition: background .15s, color .15s; }
.chips input:checked + span { background: #fff; color: var(--violet); border-color: #fff; }
.chips input:checked + span::before { content: "✓"; margin-right: 8px; font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.big-input.small { font-size: 16px; font-weight: 400; padding: 13px 16px; margin-top: 14px; }
.rec-hero { flex-direction: column; text-align: center; gap: 6px; padding: 22px 16px 18px; margin-top: 0; }
.rec-hero .mic { width: 96px; height: 96px; margin-bottom: 8px; }
.rec-hero .mic svg { width: 36px; height: 36px; }
.rec-hero strong { font-weight: 500; font-size: 17px; }
.rec-hero .rec-player { width: 100%; }
.fb-done { gap: 14px; }
@media (max-width: 900px) {
  .age-val { font-size: 72px; }
  .choices.two span { height: 120px; }
}

/* ===== Hero v3: floating product shot (L + R devices, glass orbs) ===== */
.hero { background: radial-gradient(120% 90% at 20% 0%, #8E7BF2 0%, transparent 55%), linear-gradient(165deg, #7A63EC 0%, #5A3FD9 45%, #3A2899 100%); }
.hero .reeds { opacity: .55; }
.hero-product { position: absolute; z-index: 1; right: 4%; top: 6%; width: min(52vw, 760px); aspect-ratio: 1 / 1.02; pointer-events: none;
  --tx: 0deg; --ty: 0deg; transform: perspective(1400px) rotateY(var(--tx)) rotateX(var(--ty)); transition: transform .6s var(--ease); }
.float { position: absolute; }
.float img { display: block; width: 100%; height: auto; }
.f-a { width: 62%; left: 2%; top: 2%; rotate: -16deg; z-index: 2; animation: bob 7s ease-in-out infinite, rise 1.2s var(--ease) both; }
.f-a img { filter: drop-shadow(0 50px 50px rgba(18, 8, 70, .45)) drop-shadow(0 0 1px rgba(255,255,255,.6)); }
.f-b { width: 46%; right: 0; bottom: 4%; rotate: 22deg; z-index: 1; animation: bob 8s ease-in-out -3s infinite, rise 1.2s var(--ease) .15s both; }
.f-b img { transform: scaleX(-1); filter: drop-shadow(0 40px 40px rgba(18, 8, 70, .4)) saturate(.95) brightness(.97); }
.orb { position: absolute; border-radius: 50%; z-index: 3; animation: bob 6s ease-in-out infinite; }
.orb.o1 { width: 7%; aspect-ratio: 1; left: 0; top: 46%; background: radial-gradient(circle at 32% 30%, #fff 0 8%, #CFC6F7 30%, #6B55D9 75%, #3A2899); box-shadow: 0 16px 30px rgba(18,8,70,.35); animation-delay: -1s; }
.orb.o2 { width: 4.5%; aspect-ratio: 1; left: 58%; top: 4%; background: radial-gradient(circle at 32% 30%, #fff 0 10%, #FFE2AE 35%, #E0A24A 80%); box-shadow: 0 12px 24px rgba(18,8,70,.3); animation-delay: -2.5s; }
.orb.o3 { width: 9%; aspect-ratio: 1; right: 6%; top: 36%; background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,.25) 30%, rgba(255,255,255,.06) 70%); border: 1px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation-delay: -4s; }
.orb.o4 { width: 3.2%; aspect-ratio: 1; left: 30%; bottom: 6%; background: radial-gradient(circle at 32% 30%, #fff 0 10%, #FFE2AE 35%, #E0A24A 80%); animation-delay: -1.8s; }
@keyframes bob { 50% { translate: 0 -16px; } }
.hero-glow { left: 68%; top: 42%; }
.hero-subject { left: 68%; top: 40%; }

/* ===== Overview ===== */
.overview { padding: 130px 0 110px; }
.overview h2, .story h2, .rotate h2, .material h2, .details h2 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1; margin: 12px 0 22px; }
.overview-lede { font-size: 19px; color: var(--muted); max-width: 36em; margin-bottom: 56px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px 32px 24px; display: grid; gap: 10px; }
.duo-card h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; }
.duo-card p { color: var(--muted); max-width: 30em; }
.duo-art { width: 100%; max-width: 320px; margin-top: 12px; }

/* ===== Story: scroll-driven needle animation ===== */
.story { position: relative; height: 340vh; color: #fff; background: linear-gradient(165deg, #6A52E6, #4A33C9 55%, #2E2084); }
.story-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-content: center; }
.story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; width: 100%; padding-top: 40px; }
.story .eyebrow, .details .eyebrow { color: rgba(255,255,255,.75); }
.steps { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 6px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: 18px; opacity: .45; transition: opacity .4s, background .4s; }
.steps li::before { content: attr(data-n); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,.5); }
.steps li b { font-weight: 500; font-size: 17px; }
.steps li span { font-size: 14px; color: rgba(255,255,255,.8); }
.steps li.active { opacity: 1; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.steps li.active::before { background: #fff; color: var(--violet); border-color: #fff; }
.scene { position: relative; border-radius: 32px; padding: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 70px rgba(18,8,70,.35);
  --seat: 0; --bite: 0; --push: 0; }
.scene svg { display: block; width: 100%; height: auto; border-radius: 24px; background: radial-gradient(circle at 45% 45%, #F7F4FF, #E4DDFA 70%); }
.scene .device { transform: translateY(calc((1 - var(--seat)) * -150px)); opacity: calc(.15 + var(--seat) * .85); }
.scene .upper { transform: translateY(calc(var(--bite) * 80px - 14px)); }
.scene .syringe { transform: translateX(calc(-70px + var(--push) * 410px)); }
.scene .nerve-glow { opacity: calc(var(--push) * .5); transform-box: fill-box; transform-origin: center; }
.scene.arrived .nerve-glow { animation: glow 1.6s ease-in-out infinite; }
.scene .window-glint { opacity: calc(var(--push) * (1 - var(--push)) * 2.2); mix-blend-mode: soft-light; }
.scene-tag { position: absolute; top: 22px; right: 22px; padding: 6px 14px; border-radius: 999px; background: var(--graphite); color: #fff; font-size: 13px; font-weight: 500; }
.story-note { position: relative; z-index: 1; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); }
@keyframes glow { 50% { opacity: .9; transform: scale(1.25); } }

/* ===== Rotation ===== */
.rotate { padding: 130px 0; }
.rotate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rotate-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 30em; }
.angle-ctl { display: grid; gap: 10px; margin-top: 30px; max-width: 360px; font-size: 13px; font-weight: 500; color: var(--violet); }
.angle-ctl input { -webkit-appearance: none; appearance: none; height: 36px; background: transparent; cursor: pointer; }
.angle-ctl input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--lilac), var(--violet), var(--lilac)); }
.angle-ctl input::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--lilac), var(--violet), var(--lilac)); }
.angle-ctl input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 3px solid var(--violet); box-shadow: 0 4px 12px rgba(51,35,143,.3); }
.angle-ctl input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--violet); }
.dial { position: relative; border-radius: 32px; background: #fff; border: 1px solid var(--line); padding: 24px; }
.dial svg { display: block; width: 100%; height: auto; }
.dial-lbl { font: 500 14px Inter, sans-serif; fill: var(--muted); }
.dial-read { position: absolute; right: 26px; bottom: 20px; font-size: 54px; font-weight: 300; letter-spacing: -.04em; color: var(--violet); font-variant-numeric: tabular-nums; }

/* ===== Material ===== */
.material { padding: 40px 0 130px; }
.material-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.material-shot { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #E9E3FB 40%, #CFC4F2 100%); }
.material-shot img { width: 135%; max-width: none; height: auto; rotate: 12deg; translate: 8% 10%; filter: drop-shadow(0 30px 40px rgba(51,35,143,.25)); }
.material-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 30em; }
.tags { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.tags li:first-child { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ===== Design details bento ===== */
.details { position: relative; overflow: hidden; color: #fff; padding: 130px 0 110px; background: linear-gradient(165deg, #6A52E6, #4A33C9 55%, #2E2084); }
.details .wrap { position: relative; z-index: 1; }
.details h2 { margin-bottom: 48px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { border-radius: 26px; padding: 26px; display: grid; align-content: start; gap: 8px; min-height: 230px; box-shadow: none; }
.tile h3 { font-size: 22px; line-height: 1.15; }
.tile p { font-size: 14px; color: rgba(255,255,255,.82); }
.tile-wide { grid-column: span 2; }
.tile-art { width: 100%; max-height: 80px; margin-top: auto; padding-top: 16px; }
.slide-needle { animation: needle 3.2s var(--ease) infinite; }
@keyframes needle { 0% { transform: translateX(-190px); } 60%, 100% { transform: translateX(80px); } }
.mini-arm { animation: arm 4s ease-in-out infinite; }
@keyframes arm { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.lr { display: flex; gap: 12px; margin-top: auto; padding-top: 16px; }
.lr span { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; font-weight: 500; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); }
.details-note { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.7); }
.signup { margin-top: 110px; }

@media (max-width: 900px) {
  .hero-product { left: 50%; right: auto; top: 76px; width: min(100vw, 520px); translate: -50% 0; }
  .hero-grid { min-height: 100svh; padding-top: min(108vw, 560px); align-content: start; }
  .hero-glow, .hero-subject { left: 50%; top: 26%; }
  .duo, .rotate-grid, .material-grid { grid-template-columns: 1fr; gap: 28px; }
  .overview, .rotate, .details { padding: 90px 0; }
  .story { height: 300vh; }
  .story-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 64px; }
  .story-copy h2 { display: none; }
  .story-copy .eyebrow { display: none; }
  .steps li { display: none; }
  .steps li.active { display: grid; }
  .story-copy { order: 2; }
  .story-note { font-size: 12px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .material-shot { aspect-ratio: 4 / 3.4; }
  .signup { margin-top: 80px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { min-height: 0; }
}
/* hero contrast tune */
.hero .hero-glow { opacity: .45; }
.hero .hero-subject { opacity: .5; }
.nav:not(.on-light) .nav-pill { background: rgba(30, 18, 100, .28); }
.f-a { width: 58%; }
.f-b { width: 44%; bottom: 0; right: -2%; }
@media (max-width: 900px) {
  .dial-read { font-size: 38px; left: 22px; right: auto; top: 16px; bottom: auto; }
}
