/* Veylo landing v4 — v3's look (warm off-white, navy ink, pale blue glass) plus the sales sections at the end. */
:root {
  --bg: #f7f6f3;
  --bg-2: #efede8;
  --card: #f1f0ec;
  --surface: #ffffff;
  --ink: #172a4a;
  --ink-2: #4c5870;
  --ink-3: #8a93a3;
  --muted: #9aa3b2;
  --navy: #172a4a;
  --navy-2: #22396a;
  --blue: #6fa3d2;
  --pale: #bfd4ee;
  --sand: #ece3d6;
  --line: rgba(23, 42, 74, 0.1);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-line: rgba(255, 255, 255, 0.7);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(23, 42, 74, 0.04), 0 18px 48px -12px rgba(23, 42, 74, 0.14);
  --shadow-s: 0 1px 2px rgba(23, 42, 74, 0.05), 0 8px 24px -8px rgba(23, 42, 74, 0.12);
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.016em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 0;
  font: 600 15px/1 var(--text); letter-spacing: -0.005em; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: linear-gradient(180deg, #24395f, var(--navy)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 6px 16px -6px rgba(23, 42, 74, 0.5); }
.btn-dark:hover { background: linear-gradient(180deg, #2b4471, #1b3155); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.btn-soft { background: rgba(23, 42, 74, 0.07); color: var(--ink); }
.btn-soft:hover { background: rgba(23, 42, 74, 0.11); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; height: 54px; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 22px; font-weight: 500; font-size: 16px; color: var(--ink); }
.text-link svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 14px;
  border-radius: 12px; border: 1px solid rgba(23, 42, 74, 0.18); color: var(--ink); background: rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.store svg { width: 24px; height: 24px; }
.store span { display: grid; line-height: 1.1; text-align: left; }
.store small { font-size: 11px; color: var(--ink-2); }
.store b { font: 600 17px/1.15 var(--display); letter-spacing: -0.01em; }
.store-light { color: #fff; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.12); }
.store-light small { color: rgba(255,255,255,0.85); }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 20px 50px -20px rgba(23, 42, 74, 0.28);
}

/* ---------- headings ---------- */
.two-tone { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.1; }
.two-tone span { display: block; }
.two-tone .muted { color: var(--muted); }
.center-head { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--ink-2); }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 12px var(--gutter) 0; pointer-events: none; }
.nav-pill {
  pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; gap: 8px; padding: 0 12px 0 20px; border-radius: 18px;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border: 1px solid transparent;
}
.nav.scrolled .nav-pill, .nav.open .nav-pill {
  background: rgba(247, 246, 243, 0.72); border-color: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 10px 30px -12px rgba(23, 42, 74, 0.2);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 17px/1 var(--display); letter-spacing: 0.16em; color: var(--ink); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); opacity: 0.85; }
.nav-links a:hover { background: rgba(23, 42, 74, 0.06); opacity: 1; }
.nav-lang { padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); border-radius: 10px; }
.nav-lang:hover { background: rgba(23, 42, 74, 0.06); }
.nav-lang-m, .nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding: 12px 12px 0; }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: min(860px, calc(100svh - 24px - 52px)); display: grid; place-items: center;
  background: linear-gradient(120deg, #a9c3e2, #d9dde3 55%, #ecdcc9);
  isolation: isolate;
}
.hero-bg, .hero-bg img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-bg img { object-position: 50% 50%; }
.hero-video { opacity: 0; transition: opacity 1.2s; }
.hero-video.on { opacity: 1; }
.hero-copy { max-width: 720px; padding: 120px 24px 96px; text-align: center; display: grid; justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--text); color: var(--ink); margin-bottom: 22px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.04em; color: var(--ink); }
.hero .lead { margin-top: 22px; max-width: 560px; color: #33415c; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-note { position: absolute; right: 28px; bottom: 22px; font-size: 13px; color: rgba(23, 42, 74, 0.7); }

.marquee { overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee svg { width: 17px; height: 17px; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.intro, .stats, .products, .areas, .features, .faq { padding-block: clamp(72px, 9vw, 128px); }
.intro { padding-top: clamp(56px, 7vw, 96px); }

/* tall photo cards */
.tcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tcard {
  position: relative; aspect-ratio: 3 / 4.1; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #dfe8f3, #efe8de);
}
.tcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard:hover > img { transform: scale(1.03); }
.tcard img.pos-still { object-position: 50% 60%; }
.tcard h3 {
  position: absolute; left: 22px; right: 22px; top: 22px; z-index: 2;
  font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; color: #fff; text-shadow: 0 1px 16px rgba(23, 42, 74, 0.35);
}
.tcard::after { content: ''; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(180deg, rgba(23,42,74,0.32), transparent); pointer-events: none; }
.tcard:nth-child(2) h3, .tcard-ui h3 { color: var(--ink); text-shadow: none; }
.tcard:nth-child(2)::after, .tcard-ui::after { display: none; }
.tcard-ui { background: radial-gradient(120% 80% at 20% 10%, #f4f1ec, #e6e9ee 60%, #dbe5f1); display: grid; align-items: center; justify-items: center; padding: 70px 18px 20px; }
.ui-measure { width: 100%; max-width: 250px; border-radius: 20px; padding: 18px 18px 14px; }
.ui-head { font: 600 13px/1.2 var(--text); color: var(--ink-2); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.ui-head svg { width: 15px; height: 15px; }
.ui-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(23,42,74,0.08); font-size: 13.5px; color: var(--ink-2); }
.ui-row b { font: 600 14px/1.3 var(--display); color: var(--ink); white-space: nowrap; }
.ui-row:first-of-type b { color: #2f6db0; }
.ui-foot { margin-top: 6px; font-size: 11px; color: var(--ink-3); }
.ui-bubble { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font: 600 14px/1 var(--display); }
.ui-bubble svg { width: 16px; height: 16px; }

/* calculator */
.calc { padding-inline: 12px; }
.calc-card {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  max-width: 1320px; margin: 0 auto; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: clamp(28px, 5vw, 80px); align-items: center;
  background: #cfdff1;
}
.calc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.calc-copy { display: grid; gap: 22px; justify-items: start; align-self: stretch; align-content: center; }
.calc-copy .two-tone .muted { color: rgba(23, 42, 74, 0.55); }
.calc-copy .lead { max-width: 440px; color: #2c3b57; }
.calc-copy .fine { max-width: 520px; color: rgba(23, 42, 74, 0.62); margin-top: 18px; }
.calc-widget { border-radius: 28px; padding: 22px; background: rgba(255,255,255,0.5); }
.calc-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.calc-ml { font: 600 17px/1 var(--display); color: var(--ink); }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; margin: 8px 0 14px; cursor: pointer; --p: 50%; }
input[type='range']::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #2f6db0 var(--p), rgba(255,255,255,0.85) var(--p)); }
input[type='range']::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.85); }
input[type='range']::-moz-range-progress { height: 8px; border-radius: 99px; background: #2f6db0; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(23, 42, 74, 0.3); }
input[type='range']::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(23, 42, 74, 0.3); }
input[type='range']:focus-visible { outline: none; }
input[type='range']:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(111, 163, 210, 0.6), 0 2px 10px rgba(23, 42, 74, 0.3); }
.calc-face { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 660 / 760; background: #e9ebee; }
.calc-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.calc-face .f-after { opacity: var(--mix, 0.5); transition: opacity 0.12s linear; }
.calc-face.hold .f-after { opacity: 0; }
.f-tag, .f-hold { position: absolute; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 7px 12px; background: rgba(255,255,255,0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); border: 0; }
.f-tag { left: 12px; top: 12px; }
.f-hold { right: 12px; bottom: 12px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; }
.calc-out { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 4px 2px; color: var(--ink-2); font-size: 15px; }
.calc-out b { font: 600 40px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1060px; margin: 0 auto; }
.stat { padding: 4px 36px 8px; border-left: 1px solid var(--line); }
.stat-label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.stat-label svg { width: 18px; height: 18px; }
.stat-n { font: 600 clamp(40px, 4vw, 54px)/1 var(--display); letter-spacing: -0.028em; margin: 44px 0 10px; }
.stat p:last-child { color: var(--ink-2); font-size: 16px; max-width: 280px; }
.stats .fine { max-width: 1060px; margin: 48px auto 0; padding-left: 36px; }

/* product cards */
.products { padding-top: 0; }
.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1180px; margin: 0 auto; }
.pcard { position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 360px; padding: 34px; background: linear-gradient(140deg, #f3f2ef 30%, #e3ebf4); display: flex; }
.pcard:nth-child(2) { background: linear-gradient(140deg, #f3f2ef 30%, #ece4d8); }
.pcard-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 55%; }
.pcard h3 { font-size: 23px; line-height: 1.15; }
.pcard p { margin-top: 10px; color: var(--ink-3); font-size: 16px; }
.pcard .btn { margin-top: auto; }
.pcard-img { position: absolute; pointer-events: none; transition: transform 1.4s var(--ease); filter: drop-shadow(0 30px 30px rgba(23,42,74,0.18)); }
.pcard-img.cut-syringe { width: 40%; right: 6%; top: 50%; transform: translateY(-50%) rotate(-4deg); }
.pcard-img.cut-implant { width: 46%; right: 3%; top: 50%; transform: translateY(-50%) rotate(-10deg); }
.pcard:hover .pcard-img { transform: translateY(calc(-50% - 8px)) rotate(-6deg); }

/* areas */
.areas { padding-top: 0; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #eef0f3; aspect-ratio: 3 / 4.2; padding: 22px; isolation: isolate; }
.area img { position: absolute; inset: auto -8% -6% -8%; width: 116%; max-width: none; height: auto; z-index: -1; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); transition: transform 1.2s var(--ease); }
.area:hover img { transform: scale(1.03); }
.area h3 { font-size: 22px; }
.area ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.area li { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.7); color: var(--ink-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.area-bar { margin-top: 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; }
.area-bar-main { display: flex; align-items: center; gap: 20px; padding: 20px 24px; }
.bar-thumb { width: 78px; height: 56px; object-fit: contain; flex: none; border-radius: 12px; background: linear-gradient(140deg, #e3ebf4, #ece4d8); padding: 6px; }
.area-bar-main p { font: 500 17px/1.35 var(--display); letter-spacing: -0.01em; flex: 1; }
.area-bar-facts { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 8px 24px; padding: 14px 24px; border-top: 1px solid var(--line); }
.area-bar-facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.area-bar-facts svg { width: 16px; height: 16px; color: var(--ink); }

/* details / pricing */
.details { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 128px); }
.details-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: calc(1320px + 2 * var(--gutter)); }
.carousel { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: var(--card); }
.carousel-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide .sl-life-friend { object-position: 50% 30%; }
.slide .sl-life-bathroom { object-position: 50% 25%; }
.slide .sl-hands-phone { object-position: 50% 40%; }
.carousel-ctrl { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; }
.carousel-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,0.88); box-shadow: var(--shadow-s); cursor: pointer; }
.carousel-ctrl button[disabled] { opacity: 0.45; cursor: default; }
.carousel-ctrl svg { width: 18px; height: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; background: rgba(23,42,74,0.06); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.chip svg { width: 14px; height: 14px; }
.chip-sm { padding: 4px 8px; font-size: 12px; border-radius: 6px; }
.chip-blue { background: #dbe7f5; color: #23508a; }
.panel h2 { font-size: clamp(30px, 3vw, 38px); margin-top: 18px; }
.from { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); }
.from b { font: 600 20px/1 var(--display); color: var(--ink); }
.panel-body { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; }
.plans { margin: 22px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px 0; }
.plans li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; }
.plans li div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.plans li b { font-weight: 600; font-size: 16px; }
.plans small { display: block; flex-basis: 100%; color: var(--ink-3); font-size: 13.5px; }
.plan-price { font: 600 17px/1 var(--display); white-space: nowrap; }
.plan-price small { display: inline; font: 500 13px var(--text); color: var(--ink-3); }
.plans .pack { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 14px; }
.acc { margin-top: 8px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font: 600 18px/1.3 var(--display); letter-spacing: -0.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 20px; height: 20px; flex: none; transition: transform 0.3s var(--ease); }
.acc details[open] summary svg { transform: rotate(180deg); }
.acc details p { padding: 0 0 22px; color: var(--ink-2); max-width: 640px; }
.acc details[open] p { animation: accIn 0.4s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } }

/* features */
.features { background: linear-gradient(180deg, var(--bg), #fff 30%, #fff 70%, var(--bg)); }
.fcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fcard-media { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; isolation: isolate; background: #e7ecf2; }
.fcard-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s var(--ease); }
.fcard:hover .fcard-bg { transform: scale(1.05); }
.fcard h3 { margin-top: 20px; font-size: 20px; }
.fcard > p { margin-top: 8px; color: var(--ink-3); font-size: 15.5px; max-width: 280px; }
.fui { border-radius: 18px; padding: 14px 14px 12px; width: 72%; transition: transform 0.8s var(--ease); }
.fcard:hover .fui { transform: translateY(-4px); }
.fui .ui-row { font-size: 12px; padding: 7px 0; }
.fui .ui-row b { font-size: 12.5px; }
.fui-implant { text-align: center; }
.fui-implant-img { width: 82%; margin: 4px auto 8px; filter: drop-shadow(0 10px 14px rgba(23,42,74,0.18)); }
.ui-model { font-size: 12px; color: var(--ink-2); }
.ui-model b { color: var(--ink); }
.sizes { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.sizes span { min-width: 30px; padding: 5px 7px; border-radius: 8px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,0.7); color: var(--ink-2); }
.sizes .on { background: var(--navy); color: #fff; }
.fui-real { width: 84%; padding: 8px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; }
.pair img { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; }
.pair .pair-a { left: 0; }
.pair .pair-b { right: 0; }
.pair figcaption { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 600; padding: 3px 7px; border-radius: 99px; background: rgba(255,255,255,0.8); }
.fui-link .ui-head { color: var(--ink); }

/* how it works */
.how { padding-block: clamp(72px, 9vw, 120px); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.how-head { margin-bottom: 44px; }
@media (min-width: 901px) {
  .how { height: 320vh; padding: 0; }
  .how-grid { position: sticky; top: 0; height: 100vh; min-height: 640px; }
}
.steps { counter-reset: s; border-top: 1px solid var(--line); position: relative; }
.step { border-bottom: 1px solid var(--line); position: relative; }
.step::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); transition: width 0.6s var(--ease); }
.step.on::before { width: calc(var(--sp, 0) * 100%); transition: width 0.15s linear; }
.step-btn { display: flex; align-items: center; gap: 28px; width: 100%; padding: 26px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.step-n { width: 18px; font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step-t { font: 500 clamp(18px, 1.6vw, 21px)/1.3 var(--display); letter-spacing: -0.015em; color: var(--ink-3); transition: color 0.3s; }
.step.on .step-t { color: var(--ink); }
.step p { display: grid; grid-template-rows: 0fr; padding: 0 0 0 46px; color: var(--ink-2); font-size: 16px; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.5s var(--ease), opacity 0.4s, padding 0.4s; }
.step.on p { max-height: 200px; opacity: 1; padding-bottom: 26px; margin-top: -10px; }
.step-shot { display: none; }
.how-visual { padding-top: 64px; }
.how-stage { position: relative; aspect-ratio: 4 / 4.6; max-height: calc(100vh - 140px); margin-left: auto; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: linear-gradient(160deg, #eceae5, #dde5ef); }
.how-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0.55; filter: blur(2px) saturate(0.9); transform: scale(1.05); }
.how-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(247,246,243,0.35), rgba(247,246,243,0.1)); }
.phone { width: min(46%, 270px); aspect-ratio: 600 / 1300; border-radius: 36px; padding: 7px; background: #0e1626; box-shadow: 0 30px 60px -20px rgba(23,42,74,0.45), 0 0 0 1px rgba(255,255,255,0.15) inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.how-stage .phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%) scale(0.96); opacity: 0; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.how-stage .phone.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* privacy glass card */
.privacy { padding: 0 12px; }
.priv-card {
  position: relative; max-width: 1320px; margin: 0 auto; overflow: hidden; isolation: isolate; border-radius: var(--r-xl);
  background: radial-gradient(80% 60% at 50% 0%, #e4edf7, transparent 70%), linear-gradient(180deg, #edf1f5, #efede8);
  padding: clamp(28px, 5vw, 64px);
  padding-top: clamp(260px, 32vw, 420px);
}
.priv-frame { position: absolute; left: 50%; top: clamp(28px, 4vw, 48px); transform: translateX(-50%); width: clamp(220px, 32%, 420px); height: clamp(220px, 30vw, 380px); border-radius: 36px 36px 0 0; border-bottom: 0; z-index: -1; display: flex; justify-content: center; padding-top: 22px; box-shadow: none; background: rgba(255,255,255,0.35); }
.priv-frame span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); height: max-content; }
.priv-frame svg { width: 15px; height: 15px; }
.priv-bust { position: absolute; left: 50%; top: clamp(60px, 7vw, 90px); width: clamp(240px, 34%, 460px); transform: translateX(-50%); z-index: -1; filter: drop-shadow(0 30px 40px rgba(23,42,74,0.18)); -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 76%); mask-image: linear-gradient(180deg, #000 50%, transparent 76%); }
.priv-body { position: relative; }
.priv-body::before { content: ''; position: absolute; inset: -40px calc(-1 * clamp(28px, 5vw, 64px)) calc(-1 * clamp(28px, 5vw, 64px)); z-index: -1; background: rgba(247, 246, 243, 0.55); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 60px); mask-image: linear-gradient(180deg, transparent, #000 60px); }
.priv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.eyebrow-s { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.eyebrow-s svg { width: 16px; height: 16px; color: var(--blue); }
.priv-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.priv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); padding: 28px 0 40px; }
.priv-cols h3 { font-size: 18px; }
.priv-cols p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.priv-clinic { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 22px; padding: 24px 28px; background: rgba(255,255,255,0.65); }
.priv-clinic h3 { font-size: 18px; }
.priv-clinic p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; max-width: 1180px; }
.faq h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; position: sticky; top: 110px; }
.acc-lg { margin-top: 0; border-top: 1px solid var(--line); }
.more { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 14px 20px 14px 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.more-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--card); }
.more-ic svg { width: 22px; height: 22px; }
.more b { font: 600 17px/1.2 var(--display); flex: 1; }
.more a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); font-size: 15px; }

/* final cta */
.final { padding: 0 12px; }
.final-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); max-width: 1320px; margin: 0 auto; min-height: clamp(460px, 44vw, 600px); display: grid; place-items: center; background: #b9c3cd; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; z-index: -2; }
.final-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23,42,74,0) 15%, rgba(23,42,74,0.28) 60%), linear-gradient(0deg, rgba(23,42,74,0.25), transparent 50%); }
.final-copy { text-align: center; padding: 48px 24px; color: #fff; margin-left: 30%; }
.final-copy h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.026em; text-shadow: 0 2px 30px rgba(23,42,74,0.25); }
.final .hero-note { color: rgba(255,255,255,0.85); }

/* footer */
.foot { padding: clamp(72px, 8vw, 110px) 0 120px; }
.foot-grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 6vw, 96px); max-width: 1180px; }
.qr-card { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(180deg, #e9e7e2, #dfe3e8); text-align: center; padding: 30px 26px 0; display: grid; justify-items: center; }
.qr-card h2 { font-size: 23px; margin-top: 18px; }
.qr-card p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; max-width: 240px; }
.qr { width: 112px; height: 112px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-s); }
.qr img { width: 100%; height: 100%; }
.qr-photo { width: calc(100% + 52px); max-width: none; margin-top: 20px; aspect-ratio: 1.1; object-fit: cover; object-position: 50% 70%; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-content: start; padding-top: 12px; }
.foot-h { font: 500 12px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot-cols li + li { margin-top: 12px; }
.foot-cols a { font-size: 15.5px; font-weight: 500; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { max-width: 1180px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.foot-bottom p { font-size: 13px; color: var(--ink-3); max-width: 820px; }

/* bottom dock */
.dock { position: fixed; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; transform: translateY(140%); transition: transform 0.6s var(--ease); }
.dock.on { transform: none; }
.dock-in { pointer-events: auto; display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 18px; border-radius: 16px; background: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 18px 40px -14px rgba(23,42,74,0.35); max-width: 100%; }
.dock-t { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-t img { flex: none; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 10px; font-size: 14.5px; }
  .tcards, .fcards { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .area { aspect-ratio: 4 / 4.2; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; padding: 10px; border-radius: 18px; background: #f7f6f3; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .nav-lang-m { display: block; }
  .nav-lang { display: none; }
  .nav-pill { position: relative; margin-left: auto; }
  .brand { margin-right: auto; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(23,42,74,0.06); cursor: pointer; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .calc-card { grid-template-columns: 1fr; }
  .calc-widget { max-width: 440px; width: 100%; margin: 0 auto; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 28px; }
  .stat-n { margin: 22px 0 8px; }
  .stats .fine { padding-left: 0; margin-top: 16px; }
  .pcards { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { display: none; }
  .how-list { padding-block: 0; }
  .step p { max-height: none; opacity: 1; padding: 0 0 18px 46px; margin-top: -10px; }
  .step-t { color: var(--ink); }
  .step::before { display: none; }
  .step-shot { display: block; padding: 4px 0 28px 46px; }
  .step-shot .phone { width: min(62%, 240px); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .foot-grid { grid-template-columns: 1fr; }
  .qr-card { max-width: 420px; }
  .priv-cols { grid-template-columns: 1fr; gap: 22px; }
  .priv-clinic { flex-direction: column; align-items: flex-start; }
  .final-copy { margin-left: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding-top: 8px; }
  .nav-pill { height: 58px; padding: 0 8px 0 16px; }
  .nav-pill > .btn { display: none; }
  .hero { padding: 8px 8px 0; }
  .hero-card { min-height: 0; display: grid; place-items: start stretch; border-radius: 26px; background: #a9caea; }
  .hero-bg { position: relative; inset: auto; grid-area: 1 / 1; align-self: end; height: auto; }
  .hero-bg img { position: static; height: auto; }
  .hero-copy { grid-area: 1 / 1; padding: 100px 16px 300px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .hero .lead { font-size: 16.5px; margin-top: 16px; }
  .hero-cta { margin-top: 24px; flex-wrap: nowrap; gap: 8px; }
  .hero-cta .btn-lg { height: 50px; padding: 0 18px; font-size: 15px; }
  .hero-cta .store { height: 50px; padding: 0 12px 0 10px; gap: 8px; }
  .hero-cta .store b { font-size: 15px; }
  .hero-cta .store small { font-size: 10px; }
  .hero-note { left: 0; right: 0; text-align: center; bottom: 14px; }
  .eyebrow { font-size: 13px; margin-bottom: 16px; }
  .tcards, .fcards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .tcards::-webkit-scrollbar, .fcards::-webkit-scrollbar { display: none; }
  .tcard { flex: 0 0 74%; scroll-snap-align: start; }
  .fcard { flex: 0 0 80%; scroll-snap-align: start; }
  .calc, .privacy, .final { padding-inline: 8px; }
  .calc-card, .priv-card, .final-card { border-radius: 26px; }
  .calc-card { padding: 28px 18px 18px; gap: 24px; }
  .calc-widget { padding: 16px; border-radius: 22px; }
  .calc-out b { font-size: 34px; }
  .calc-copy .fine { margin-top: 4px; }
  .pcard { min-height: 300px; padding: 24px; }
  .pcard-copy { max-width: 60%; }
  .pcard-img.cut-syringe { width: 44%; right: -2%; }
  .pcard-img.cut-implant { width: 42%; right: 2%; }
  .area-grid { grid-template-columns: 1fr; gap: 10px; }
  .area { aspect-ratio: auto; min-height: 250px; padding: 20px; border-radius: 22px; }
  .area ul { max-width: 62%; gap: 5px; }
  .area li { font-size: 12px; padding: 4px 9px; }
  .area img { inset: auto -14% -12% auto; width: 62%; -webkit-mask-image: radial-gradient(60% 60% at 58% 58%, #000 55%, transparent 100%); mask-image: radial-gradient(60% 60% at 58% 58%, #000 55%, transparent 100%); }
  .area-bar-main { flex-wrap: wrap; padding: 18px; }
  .area-bar-main p { flex-basis: calc(100% - 100px); font-size: 15.5px; }
  .area-bar-main .btn { width: 100%; }
  .area-bar-facts { justify-content: flex-start; flex-direction: column; padding: 16px 18px; }
  .carousel { aspect-ratio: 4 / 5; }
  .priv-card { padding: 22px 18px 18px; padding-top: 300px; }
  .priv-frame { width: 72%; height: 260px; }
  .priv-bust { width: 78%; top: 54px; }
  .priv-body::before { inset: -40px -18px -18px; }
  .priv-clinic { padding: 20px; }
  .final-card { min-height: 560px; place-items: end center; }
  .final-bg { object-position: 14% 50%; }
  .final-card::before { background: linear-gradient(0deg, rgba(23,42,74,0.55), rgba(23,42,74,0.05) 70%); }
  .final-copy { padding: 0 18px 64px; }
  .final .hero-note { bottom: 18px; }
  .qr-card { max-width: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .dock-in { width: 100%; justify-content: space-between; gap: 10px; }
  .dock-t { font-size: 14px; }
  .more { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .dock-t span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; row-gap: 10px; }
  .marquee-track li[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js .rv { opacity: 1; transform: none; }
  .hero-video { display: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255,255,255,0.88); }
}

/* =====================================================================
   v4 additions
   ===================================================================== */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl { position: relative; }
.two-tone { letter-spacing: -0.018em; }
.center-head .lead { margin-top: 18px; max-width: 620px; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #2f6db0; }

.btn-cta svg { width: 20px; height: 20px; margin-top: -2px; }
.micro { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); letter-spacing: 0.005em; }
.bonus { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #23508a; background: rgba(219, 231, 245, 0.85); border: 1px solid rgba(255,255,255,0.7); }
.bonus svg { width: 17px; height: 17px; flex: none; }
.bonus-solid { background: #dbe7f5; border-color: transparent; }
.bonus-light { color: #fff; background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bonus-row { margin: 12px 0 0; }
.hero-wl { margin-top: 24px; width: min(100%, 460px); border-radius: 18px; padding: 12px 12px 8px; box-shadow: none; text-align: left; background: rgba(255,255,255,0.42); }
.hero-wl-t { font: 600 14px/1.2 var(--display); color: var(--ink); margin: 0 4px 10px; }

/* waitlist form */
.wl { display: grid; gap: 8px; }
.wl-row { display: flex; gap: 8px; }
.wl-field { position: relative; flex: 1; min-width: 0; }
.wl-field svg { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.wl input[type='email'] { width: 100%; height: 48px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid rgba(23,42,74,0.16); background: rgba(255,255,255,0.85); font: 400 16px var(--text); color: var(--ink); }
.wl input[type='email']::placeholder { color: var(--ink-3); }
.wl input[type='email']:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.wl .btn { height: 48px; flex: none; }
.wl-compact .btn { padding: 0 16px; }
.wl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; padding: 0 2px; }
.wl-consent input { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: var(--navy); }
.wl-consent a { text-decoration: underline; text-underline-offset: 2px; }
.wl-msg { font-size: 13px; color: #a3362b; min-height: 0; }
.wl-msg:empty { display: none; }
.wl-done { display: flex; align-items: center; gap: 8px; font: 600 15px/1.35 var(--display); color: var(--ink); padding: 10px 2px; }
.wl-done svg { width: 20px; height: 20px; color: #2b8a5e; flex: none; }
.wl-done[hidden] { display: none; }
.wl.done .wl-row, .wl.done .wl-consent, .wl.done .wl-msg { display: none; }
.wl.busy .btn { opacity: 0.6; pointer-events: none; }
.wl-light .wl-consent, .wl-light .wl-done { color: #fff; }
.wl-light .wl-done svg { color: #bfe8d2; }
.wl-light .wl-msg { color: #ffd9d3; }
.wl-light input[type='email'] { border-color: rgba(255,255,255,0.5); }
.wl-title { font: 600 16px/1.3 var(--display); margin-bottom: 10px; }

/* problem */
.problem { padding-block: clamp(72px, 9vw, 128px) clamp(48px, 6vw, 80px); }
.two-tone-xl { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; }
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1120px; margin: 0 auto; }
.worry { background: var(--surface); border-radius: var(--r-lg); padding: 28px 28px 30px; box-shadow: var(--shadow-s); }
.worry-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8eff8; color: #2f6db0; }
.worry-ic svg { width: 22px; height: 22px; }
.worry h3 { margin-top: 22px; font-size: 21px; line-height: 1.2; }
.worry p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.problem-note { text-align: center; margin: 32px auto 0; max-width: 620px; color: var(--ink-2); font-size: 15.5px; }

/* tabs / segmented control */
.tabs, .seg { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(23,42,74,0.06); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
.tabs { margin: 0 auto 28px; }
.tabs button, .seg button { flex: none; border: 0; background: none; height: 40px; padding: 0 16px; border-radius: 10px; font: 500 15px/1 var(--text); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.tabs button[aria-selected='true'], .seg button[aria-selected='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23,42,74,0.12); font-weight: 600; }
.js [data-off] { display: none; }

/* gallery */
.gallery { padding-block: clamp(48px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.g-panel:focus-visible { outline-offset: 8px; }
.g-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.g-panel[data-off] + .g-panel { margin-top: 0; }
.js .g-panel + .g-panel:not([data-off]) { margin-top: 0; }
.ba { margin: 0; }
.ba-stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #e9ebee; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; isolation: isolate; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: rgba(255,255,255,0.95); box-shadow: 0 0 12px rgba(23,42,74,0.25); z-index: 2; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); box-shadow: 0 4px 16px rgba(23,42,74,0.25); color: var(--ink); }
.ba-knob svg { width: 15px; height: 15px; margin: 0 -2px; }
.ba-tag { position: absolute; top: 12px; z-index: 1; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 6px 11px; background: rgba(255,255,255,0.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); }
.ba-tag-l { left: 12px; }
.ba-tag-r { right: 12px; background: rgba(23,42,74,0.78); color: #fff; }
.ba-stage:has(.ba-range:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.ba figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.ba-viz { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #23508a; background: #dbe7f5; border-radius: 6px; padding: 4px 7px; }
.ba-what b { color: var(--ink); font-weight: 600; }
.ba-ai { font-size: 12px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; }
.ba-ai-abs { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,0.8); border: 0; }
.hint { display: none; }
.gallery .fine { max-width: 760px; margin: 26px auto 0; }

/* compare */
.compare { padding-block: clamp(72px, 9vw, 120px) clamp(40px, 5vw, 64px); }
.compare-grid { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: clamp(28px, 6vw, 96px); align-items: center; max-width: 1180px; }
.compare-copy { display: grid; gap: 22px; justify-items: start; }
.compare-copy .lead { max-width: 480px; }
.compare-read { width: 100%; max-width: 420px; border-radius: 20px; padding: 18px 18px 10px; background: rgba(255,255,255,0.7); }
.compare-read .ui-row:first-of-type b { color: #2f6db0; }
.compare-copy .fine { max-width: 460px; }
.compare-stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: #e9ebee; box-shadow: var(--shadow); }
.compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.45s var(--ease); }
.compare-stage img.on { opacity: 1; }
.compare-stage .f-tag { left: 14px; top: 14px; }

/* app demo */
.demo { padding-block: clamp(56px, 7vw, 96px); }
.demo-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 7vw, 120px); align-items: center; max-width: 1080px; }
.demo-copy { display: grid; gap: 22px; justify-items: start; }
.demo-copy .lead { max-width: 460px; }
.demo-stage { position: relative; padding: 40px clamp(20px, 5vw, 70px); border-radius: var(--r-xl); background: radial-gradient(90% 70% at 50% 30%, #e4edf7, #efede8 75%); }
.iphone { position: relative; width: clamp(230px, 24vw, 300px); aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 9px; background: linear-gradient(145deg, #2a3446, #0e1626); box-shadow: 0 0 0 1.5px #3c4658 inset, 0 40px 70px -24px rgba(23,42,74,0.5); }
.iphone video { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: #0e1626; }
.demo-btn { position: absolute; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,0.9); box-shadow: var(--shadow-s); cursor: pointer; }
.demo-btn svg { width: 18px; height: 18px; grid-area: 1 / 1; }
.demo-btn .pz, .demo-btn[data-playing] svg:first-child { display: none; }
.demo-btn svg:last-child { display: none; }
.demo-btn[data-playing] svg:last-child { display: block; }

/* promise + comparison */
.promise { padding-block: clamp(72px, 9vw, 120px); }
.promise-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 88px); align-items: center; max-width: 1180px; }
.promise-copy { display: grid; gap: 20px; justify-items: start; }
.promise-copy .chip { margin-bottom: -4px; }
.promise-h { font: 600 15px/1.2 var(--text); color: var(--ink); margin-top: 6px; }
.vs { background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.vs-title { font-size: 19px; margin-bottom: 14px; }
.vs table { width: 100%; border-collapse: collapse; font-size: 15px; }
.vs th { text-align: left; font: 600 13px/1.2 var(--text); color: var(--ink-3); padding: 0 12px 12px 0; letter-spacing: 0.01em; }
.vs th:first-child { color: #23508a; }
.vs td { padding: 13px 12px 13px 0; border-top: 1px solid var(--line); vertical-align: top; width: 50%; }
.vs .yes, .vs .no { display: flex; gap: 8px; align-items: flex-start; }
.vs .yes { color: var(--ink); font-weight: 500; }
.vs .no { color: var(--ink-3); }
.vs svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.vs .yes svg { color: #2b8a5e; }
.vs .no svg { color: #b6bcc7; }
.vs .fine { margin-top: 14px; }

/* founder + tester card */
.community { padding-block: clamp(72px, 9vw, 120px) clamp(24px, 4vw, 48px); }
.community-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; max-width: 1180px; align-items: stretch; }
.founder { margin: 0; background: linear-gradient(150deg, #fff, #f3f1ed); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-s); }
.founder blockquote { margin: 18px 0 0; display: grid; gap: 14px; }
.founder blockquote p { font: 400 clamp(18px, 1.6vw, 21px)/1.55 var(--display); letter-spacing: -0.006em; color: var(--ink); }
.founder blockquote p:first-child::before { content: '“'; }
.founder blockquote p:last-child::after { content: '”'; }
:lang(pl) .founder blockquote p:first-child::before { content: '„'; }
.founder figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.founder figcaption > span:not(.sig) { display: grid; line-height: 1.25; }
.founder figcaption b { font: 600 16px var(--display); }
.founder figcaption small { font-size: 14px; color: var(--ink-3); }
.founder-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.founder-mono { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2b4471, var(--navy)); color: #fff; font: 600 19px/1 var(--display); letter-spacing: 0.06em; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(23,42,74,0.14); }
.sig { margin-left: auto; font: italic 400 26px/1 'Times New Roman', Georgia, serif; color: rgba(23,42,74,0.55); transform: rotate(-4deg); }
.tester-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); background: radial-gradient(120% 90% at 0% 0%, #e4edf7, #eef0f3 60%); }
.tester-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.tester-ic svg { width: 22px; height: 22px; }
.tester-card h3 { font-size: 22px; margin-top: 6px; }
.tester-card > p:not(.bonus):not(.fine) { color: var(--ink-2); font-size: 16px; }
.tester-card .bonus { margin-top: 2px; }
.tester-card .btn { margin-top: 10px; }
.testers { padding-block: clamp(56px, 7vw, 96px) 0; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.quote { margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-s); }
.quote blockquote { margin: 0; font: 400 18px/1.5 var(--display); }
.quote figcaption { margin-top: 16px; display: grid; }
.quote small { color: var(--ink-3); }

/* pricing panel (v4: free first) */
.panel h2 { font-size: clamp(32px, 3.4vw, 44px); }
.free-line { margin: 12px 0 20px; font-size: 18px; color: var(--ink-2); max-width: 460px; }
.premium-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.premium-head b { font: 600 20px/1 var(--display); }
.panel-body { margin-top: 10px; }
.plans li.best .plan-price { color: #23508a; font-size: 19px; }
.panel-wl { margin: 4px 0 18px; padding: 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-s); }

/* final */
.final-copy { max-width: 560px; }
.final .hero-cta { margin-top: 28px; }
.final .micro { color: rgba(255,255,255,0.9); }
.final-wl { margin-top: 22px; text-align: left; padding: 14px; border-radius: 18px; background: rgba(23,42,74,0.28); border: 1px solid rgba(255,255,255,0.25); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.final-wl .wl-title { font-size: 14px; color: #fff; margin: 0 2px 10px; }
.final-card { min-height: clamp(560px, 50vw, 680px); }

/* dock: two-line text */
.dock-t > span { display: grid; line-height: 1.2; }
.dock-t small { font: 400 12px var(--text); color: var(--ink-3); }

@media (max-width: 1100px) {
  .community-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .worries { grid-template-columns: 1fr; max-width: 560px; }
  .compare-grid, .demo-grid, .promise-grid { grid-template-columns: 1fr; }
  .compare-stage { max-width: 460px; width: 100%; margin: 0 auto; order: -1; }
  .compare-copy { order: 1; }
  .demo-stage { justify-self: center; }
  .demo-copy { order: 1; }
}
@media (max-width: 760px) {
  .hero-wl { margin-top: 20px; padding: 12px 12px 8px; }
  .hero-cta .btn-cta { width: 100%; max-width: 340px; }
  .micro { font-size: 12.5px; }
  .bonus { font-size: 12px; text-align: left; }
  .wl-row { flex-direction: column; }
  .wl-compact .wl-row { flex-direction: row; }
  .wl-compact .btn { padding: 0 12px; font-size: 14px; }
  .wl .btn { width: 100%; }
  .wl-compact .btn { width: auto; }
  .worry { padding: 22px; }
  .worry h3 { margin-top: 16px; font-size: 19px; }
  .tabs { width: 100%; border-radius: 12px; gap: 2px; }
  .tabs button { flex: 1 1 auto; padding: 0 8px; font-size: 13.5px; height: 38px; }
  .g-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .g-row::-webkit-scrollbar { display: none; }
  .g-row .ba { flex: 0 0 82%; scroll-snap-align: start; }
  .g-row .ba:only-child { flex-basis: 100%; }
  .hint { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--ink-3); }
  .hint svg { width: 14px; height: 14px; }
  .seg { width: 100%; }
  .seg { gap: 2px; }
  .seg button { flex: 1 1 auto; padding: 0 7px; font-size: 13px; }
  .demo-stage { padding: 28px 40px; width: 100%; display: grid; justify-items: center; }
  .iphone { width: min(68vw, 260px); }
  .vs td { font-size: 14px; }
  .vs th { font-size: 12px; }
  .sig { display: none; }
  .final-card { min-height: 0; place-items: end center; padding-top: 300px; }
  .final-copy { padding: 0 16px 56px; }
  .final-wl { padding: 12px; }
  .dock-t small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .compare-stage img { transition: none; }
}

/* ---------- v4 subpages: treatment pages + clinics (src/v4-pages.mjs) ---------- */
.foot-cols { grid-template-columns: 1.35fr repeat(4, 1fr); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(23,42,74,0.25); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.t-hero { padding: 116px 0 clamp(48px, 6vw, 80px); background: radial-gradient(70% 60% at 85% 20%, #e4edf7, transparent 70%), radial-gradient(60% 60% at 0% 100%, #f1e8dc, transparent 70%); }
.t-hero-grid { display: grid; grid-template-columns: 1.1fr minmax(300px, 460px); gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 1180px; }
.t-hero-copy { display: grid; justify-items: start; }
.t-hero h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.028em; }
.t-hero .lead { margin-top: 20px; max-width: 580px; }
.t-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.t-hero .micro { margin-top: 12px; }
.t-hero-media { min-width: 0; }
.t-ba .ba-stage { box-shadow: var(--shadow); }
.t-note-s { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: right; }
.c-hero-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow); }

.t-what { padding-block: clamp(56px, 7vw, 96px); }
.t-what-grid { display: grid; grid-template-columns: 1.2fr minmax(280px, 420px); gap: clamp(28px, 6vw, 88px); align-items: start; max-width: 1180px; }
.t-what-copy h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.t-what-copy p { color: var(--ink-2); font-size: 17.5px; line-height: 1.65; max-width: 640px; }
.t-what-copy p + p { margin-top: 14px; }
.t-what-side { display: grid; gap: 14px; position: sticky; top: 100px; }
.t-facts { background: var(--surface); border-radius: var(--r-lg); padding: 10px 20px; box-shadow: var(--shadow-s); }
.t-facts .ui-row:first-of-type { border-top: 0; }
.t-facts .ui-row b { white-space: normal; text-align: right; color: var(--ink); }
.t-facts .ui-row:first-of-type b { color: var(--ink); }
.t-disclaimer { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); background: #eef3f9; border-radius: 18px; padding: 16px 18px; }
.t-disclaimer svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #2f6db0; }

.t-gallery { padding-top: clamp(32px, 4vw, 56px); }

.t-amounts { padding-block: clamp(56px, 7vw, 100px); }
.t-seg { margin: 0 auto 22px; }
.dose-wrap { max-width: 760px; margin: 0 auto; }
.dose { border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); background: rgba(255,255,255,0.75); display: grid; gap: 12px; }
.dose-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dose-top label { display: grid; gap: 2px; }
.dose-top label b { font: 600 19px/1.2 var(--display); }
.dose-top label span { font-size: 14px; color: var(--ink-3); }
.dose-top output { font: 600 clamp(26px, 3vw, 34px)/1 var(--display); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dose-bar { position: relative; height: 10px; border-radius: 999px; background: rgba(23,42,74,0.07); margin-top: 2px; }
.dose-band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: repeating-linear-gradient(135deg, #b7cfeb 0 6px, #cfdff2 6px 12px); }
.dose-mark { position: absolute; top: 50%; left: var(--v, 0%); width: 4px; height: 18px; margin-left: -2px; transform: translateY(-50%); border-radius: 2px; background: var(--navy); transition: left 0.08s; }
.dose-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dose-seen { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); }
.dose-key { width: 22px; height: 10px; border-radius: 999px; flex: none; background: repeating-linear-gradient(135deg, #b7cfeb 0 6px, #cfdff2 6px 12px); }
.dose-out { font-size: 14.5px; color: #8a4b12; background: #fbf1e4; border-radius: 12px; padding: 10px 12px; }
.dose-out[hidden] { display: none; }
.dose-mm { border-top: 1px solid var(--line); padding-top: 12px; }
.dose-mm .ui-head { margin-bottom: 4px; }
.dose-src { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.dose-src span { color: var(--ink-3); }
.dose-src a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.t-note { max-width: 680px; margin: 22px auto 0; }
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 980px; margin: 0 auto; }
.t-stat { background: var(--surface); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-s); display: grid; gap: 6px; }
.t-stat b { font: 600 clamp(28px, 3vw, 38px)/1 var(--display); letter-spacing: -0.02em; }
.t-stat span { font-size: 14.5px; color: var(--ink-2); }
.t-makers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }

.t-vs { padding-block: clamp(48px, 6vw, 88px); }
.t-vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1180px; }
.t-vs-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-s); }
.t-vs-card h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(21px, 2vw, 26px); margin-bottom: 18px; }
.t-vs-card h2 svg { width: 24px; height: 24px; flex: none; color: #2f6db0; }
.t-vs-doc { background: linear-gradient(160deg, #eef3f9, #f4f2ee); box-shadow: none; }
.t-vs-doc .checks svg { color: var(--ink-3); }

.t-how { padding-block: clamp(48px, 6vw, 88px); }
.t-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.t-step { background: var(--card); border-radius: var(--r-lg); padding: 28px 24px 26px; display: grid; justify-items: start; align-content: start; gap: 8px; overflow: hidden; }
.t-step .phone { width: min(56%, 190px); margin: 0 auto 18px; justify-self: center; }
.t-step .step-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 14px/1 var(--display); }
.t-step h3 { font-size: 20px; }
.t-step p { color: var(--ink-2); font-size: 15.5px; }

.t-related { padding-block: clamp(72px, 9vw, 120px) clamp(24px, 4vw, 40px); }
.t-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1180px; margin: 0 auto; }
.t-rel { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-s); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.t-rel:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.t-rel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
.t-rel-body { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 18px 18px 20px; }
.t-rel-body b { font: 600 19px/1.2 var(--display); margin-top: 4px; }
.t-rel-body > span:not(.chip):not(.t-rel-more) { font-size: 14.5px; color: var(--ink-2); }
.t-rel-more { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; font-size: 14px; font-weight: 600; }
.t-rel-more svg { width: 16px; height: 16px; }
.t-rel-clinic { background: radial-gradient(120% 90% at 0% 0%, #e4edf7, #eef0f3 60%); }
.t-rel-clinic img { object-position: 50% 40%; }

/* clinics */
.t-bring { padding-block: clamp(56px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.t-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.t-viewer { padding-block: clamp(56px, 7vw, 96px); }
.t-viewer-grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: center; max-width: 1180px; }
.t-viewer-copy { display: grid; gap: 18px; align-self: start; position: sticky; top: 110px; }
.vm { margin: 0; display: grid; gap: 12px; }
.vm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 18px 18px 0 0; background: #e2e6ec; }
.vm-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #c4cad3; }
.vm-bar p { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-left: 8px; padding: 5px 10px; border-radius: 8px; background: #f5f6f8; font-size: 12.5px; color: var(--ink-2); min-width: 0; }
.vm-bar svg { width: 12px; height: 12px; flex: none; }
.vm-page { margin-top: -12px; border-radius: 0 0 22px 22px; background: #EDF0F4; color: #111722; padding: clamp(16px, 3vw, 28px); display: grid; gap: 14px; font: 15px/1.55 -apple-system, 'SF Pro Text', Inter, system-ui, sans-serif; box-shadow: var(--shadow); }
.vm-eyebrow { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #667085; }
.vm-h1 { font: 600 22px/1.25 -apple-system, 'SF Pro Display', Inter, system-ui, sans-serif; margin-top: 2px; }
.vm-notice { background: #EEF5FC; border-radius: 16px; padding: 12px 14px; font-size: 13.5px; }
.vm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vm-pair figure { margin: 0; position: relative; }
.vm-pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #E2E7ED; }
.vm-pair figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,0.88); border-radius: 999px; padding: 3px 9px; font-size: 12px; }
.vm-card { background: #fff; border: 1px solid rgba(17,23,34,0.08); border-radius: 18px; padding: 14px 16px; font-size: 14px; }
.vm-card ul { margin: 0; padding-left: 18px; list-style: disc; }
.vm-card li { margin: 3px 0; }
.vm-h2 { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.vm-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: #667085; }
.t-benefits { padding-block: clamp(56px, 7vw, 96px); }
.t-ben-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.t-ben { background: var(--surface); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-s); }
.t-ben h3 { font-size: 20px; }
.t-ben p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.t-privacy { padding-block: clamp(56px, 7vw, 96px); background: var(--bg-2); }
.t-priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; max-width: 1180px; margin: 0 auto; }
.t-priv-grid li { display: flex; gap: 12px; align-items: flex-start; }
.t-priv-grid li > svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: #2b8a5e; }
.t-priv-grid h3 { font-size: 18px; }
.t-priv-grid p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.t-partner { padding-block: clamp(72px, 9vw, 120px); }
.t-partner-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 88px); align-items: start; max-width: 1180px; }
.t-partner-copy { display: grid; gap: 18px; justify-items: start; }
.t-partner-copy h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.t-partner-copy .text-link { margin-top: 4px; }
.t-form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); }
.lead-form { display: grid; gap: 14px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.lf { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); min-width: 0; }
.lf small { font-weight: 400; color: var(--ink-3); }
.lf-wide { grid-column: 1 / -1; }
.lf input, .lf textarea { width: 100%; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(23,42,74,0.16); background: #fbfbfa; font: 400 16px/1.4 var(--text); color: var(--ink); }
.lf input { height: 48px; }
.lf textarea { resize: vertical; min-height: 104px; }
.lf input:focus, .lf textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.lead-form .btn { justify-self: start; }
.lead-form .wl-msg { font-size: 14px; }
.lf-fallback { display: none; font-size: 14px; color: var(--ink-2); background: #eef3f9; border-radius: 12px; padding: 12px 14px; }
.lf-fallback:target { display: block; }
.js .lf-fallback { display: none; }
.lead-form.done > :not(.wl-done):not(input):not(.hp) { display: none; }
.lead-form.busy .btn { opacity: 0.6; pointer-events: none; }

@media (max-width: 1100px) {
  .t-rel-grid { grid-template-columns: repeat(2, 1fr); }
  .t-cards { grid-template-columns: repeat(2, 1fr); }
  .t-priv-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .t-hero-grid, .t-what-grid, .t-vs-grid, .t-viewer-grid, .t-partner-grid { grid-template-columns: 1fr; }
  .t-hero-media { max-width: 460px; width: 100%; }
  .t-what-side, .t-viewer-copy { position: static; }
  .t-steps { grid-template-columns: 1fr; max-width: 520px; }
  .t-step { grid-template-columns: 96px 1fr; column-gap: 18px; align-items: start; }
  .t-step .phone { grid-row: 1 / span 3; width: 96px; margin: 0; border-radius: 18px; padding: 4px; }
  .t-step .phone img { border-radius: 14px; }
  .t-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .t-hero { padding-top: 96px; }
  .t-cta { width: 100%; }
  .t-cta .btn { width: 100%; }
  .t-hero .lead { margin-top: 16px; }
  .t-note-s { text-align: left; }
  .t-rel-grid, .t-cards, .t-ben-grid, .t-priv-grid { grid-template-columns: 1fr; }
  .t-rel { grid-template-columns: 112px 1fr; grid-template-rows: auto; }
  .t-rel img { height: 100%; aspect-ratio: auto; }
  .t-rel-body { padding: 14px 16px 16px; }
  .t-rel-body b { font-size: 17px; }
  .lf-grid { grid-template-columns: 1fr; }
  .lead-form .btn { width: 100%; }
  .dose-top { flex-direction: column; align-items: flex-start; }
  .vm-pair { gap: 6px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ===== round 2: playground, early access, compact pricing, FAQ tabs, founder portrait ===== */
.intro .center-head .lead { margin-top: 16px; }
.pg { padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 112px); }
.pg-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; max-width: 1120px; margin: 0 auto; }
.pg-view { margin: 0; }
.pg-view .ba-stage { aspect-ratio: 4 / 5; border-radius: var(--r-xl); box-shadow: var(--shadow); height: 100%; max-height: 720px; }
.pg-view .ba-knob { width: 52px; height: 52px; }
.pg-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; clip-path: inset(0 0 0 var(--pos));
  background: rgb(150, 198, 250);
  mix-blend-mode: screen; opacity: 0; transition: opacity 0.5s var(--ease);
  -webkit-mask: var(--mask) center / 100% 100% no-repeat; mask: var(--mask) center / 100% 100% no-repeat; }
.pg-view.hl .pg-glow { opacity: 0.42; }
.pg-view.hl.pulse .pg-glow { animation: pgPulse 2.4s var(--ease) 1; }
@keyframes pgPulse { 0% { opacity: 0; } 35% { opacity: 0.7; } 100% { opacity: 0.42; } }
.pg-view.sweeping .ba-after, .pg-view.sweeping .ba-line, .pg-view.sweeping .pg-glow { transition: clip-path 0s, left 0s; }
.pg-panel { border-radius: var(--r-xl); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 18px; background: rgba(255,255,255,0.75); }
.pg-label { font: 600 12px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.pg-seg { width: 100%; }
.pg-seg button { flex: 1 1 auto; padding: 0 10px; font-size: 14px; }
.pg-seg button[aria-checked='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23,42,74,0.12); font-weight: 600; }
.pg-faces { display: flex; gap: 10px; }
.pg-face { width: 54px; height: 54px; padding: 0; border-radius: 50%; border: 0; overflow: hidden; cursor: pointer; background: #e9ebee; box-shadow: 0 0 0 2px transparent, 0 0 0 4px transparent; transition: box-shadow 0.25s; }
.pg-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.5); }
.pg-face[aria-checked='true'] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2f6db0; }
.pg-group[hidden] { display: none; }
.pg-read { margin-top: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.pg-metric { font-size: 15px; color: var(--ink-2); }
.pg-metric span { color: var(--ink-3); }
.pg-mm { font: 600 clamp(44px, 4.6vw, 60px)/1 var(--display); letter-spacing: -0.03em; color: #23508a; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pg-what { margin-top: 10px; font-size: 16px; color: var(--ink); }
.pg-viz { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.pg-viz [hidden] { display: none; }
.pg-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.pg-toggle input { width: 16px; height: 16px; accent-color: #2f6db0; margin: 0; }
.pg-panel .btn { margin-top: auto; }
.pg-fine { max-width: 760px; margin: 22px auto 0; }

.early { padding: clamp(40px, 6vw, 80px) 12px; scroll-margin-top: 80px; }
.early-card { max-width: 1320px; margin: 0 auto; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr minmax(320px, 480px); gap: clamp(24px, 5vw, 72px); align-items: center;
  background: radial-gradient(90% 120% at 0% 0%, #dfeaf6, transparent 60%), radial-gradient(80% 100% at 100% 100%, #efe5d8, transparent 60%), #eef0f2; }
.early-copy { display: grid; gap: 18px; justify-items: start; }
.early-copy .lead { max-width: 500px; }
.early-points { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.early-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.early-points svg { width: 16px; height: 16px; color: #2b8a5e; }
.early-box { border-radius: 24px; padding: 22px; background: rgba(255,255,255,0.72); }
.early-box .wl-row { flex-direction: column; }
.early-box .wl input[type='email'] { height: 54px; font-size: 17px; }
.early-box .wl .btn { height: 54px; width: 100%; font-size: 16px; }
.early-fine { margin-top: 12px; }
.wl-done-x { display: block; }
.wl-done-x[hidden] { display: none; }
.early-done { display: grid; gap: 14px; }
.early-done-h { display: flex; align-items: center; gap: 10px; font: 600 21px/1.25 var(--display); }
.early-done-h svg { width: 24px; height: 24px; color: #2b8a5e; flex: none; }
.early-go { display: flex; align-items: center; gap: 18px; }
.early-go .btn { flex: 1; }
.early-go .btn svg { width: 20px; height: 20px; margin-top: -2px; }
.early-qr { margin: 0; display: grid; justify-items: center; gap: 6px; }
.early-qr img { width: 96px; height: 96px; padding: 6px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-s); }
.early-qr figcaption { font-size: 11.5px; color: var(--ink-3); max-width: 110px; text-align: center; line-height: 1.3; }
.early-mail { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.early-mail svg { width: 18px; height: 18px; }
.wl.done ~ .early-fine { display: none; }

.pricing2 { padding-block: clamp(56px, 7vw, 96px); }
.pricing2 .center-head { margin-bottom: 28px; }
.start-free { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-s); font-size: 15.5px; color: var(--ink-2); }
.start-free b { color: var(--ink); }
.start-free svg { width: 18px; height: 18px; color: #2b8a5e; flex: none; }
.plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.plan-card { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-s); border: 1.5px solid transparent; }
.plan-card.best { border-color: #2f6db0; box-shadow: 0 18px 40px -18px rgba(47,109,176,0.45); }
.plan-card .chip { position: absolute; top: 18px; right: 18px; }
.plan-name { font: 600 16px/1.2 var(--display); }
.plan-card .plan-price { font: 600 30px/1.1 var(--display); letter-spacing: -0.02em; white-space: normal; }
.plan-card.best .plan-price { color: #23508a; }
.plan-card .plan-price small { font: 500 14px var(--text); color: var(--ink-3); }
.plan-views { font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.pricing-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.pricing-foot a { display: inline-flex; align-items: center; gap: 2px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.pricing-foot svg { width: 15px; height: 15px; }

.faq2 .center-head { margin-bottom: 24px; }
.faq-tabs { margin: 0 auto 18px; }
.faq2 .faq-panel { max-width: 820px; margin: 0 auto; }
.faq2 .more { max-width: 820px; margin: 32px auto 0; }
.faq2 h2 { position: static; }

.founder-v2 { display: grid; grid-template-columns: minmax(220px, 0.8fr) 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: 1080px; margin: 0 auto; padding: clamp(18px, 2.4vw, 28px); }
.founder-media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: #e6e6e6; }
.founder-portrait { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); }
.founder-portrait.founder-mono { display: grid; place-items: center; font-size: 64px; border-radius: 0; box-shadow: none; }
.founder-v2 .founder-text { padding-right: clamp(0px, 2vw, 24px); }
.founder-v2 .founder-photo { filter: grayscale(1); }
.community { padding-block: clamp(56px, 7vw, 96px) clamp(16px, 3vw, 32px); }

@media (max-width: 900px) {
  .pg-grid { grid-template-columns: 1fr; max-width: 520px; }
  .pg-view .ba-stage { height: auto; }
  .early-card { grid-template-columns: 1fr; }
  .founder-v2 { grid-template-columns: 1fr; }
  .founder-media { max-width: 340px; aspect-ratio: 1; }
  .founder-portrait { object-position: 50% 25%; }
}
@media (max-width: 760px) {
  .pg-panel { padding: 18px; gap: 16px; }
  .pg-seg button { font-size: 13px; padding: 0 6px; }
  .pg-face { width: 48px; height: 48px; }
  .pg-mm { font-size: 44px; }
  .early { padding-inline: 8px; }
  .early-card { border-radius: 26px; padding: 26px 18px 18px; }
  .early-box { padding: 16px; }
  .early-qr { display: none; }
  .plan-row { grid-template-columns: 1fr; gap: 10px; }
  .plan-card { grid-template-columns: 1fr auto; align-items: center; padding: 16px 18px; gap: 2px 12px; }
  .plan-card .chip { position: static; grid-column: 1 / -1; justify-self: start; margin-bottom: 4px; }
  .plan-card .plan-price { grid-column: 2; grid-row: span 2; font-size: 24px; text-align: right; }
  .plan-card.best .plan-price { grid-row: 2 / span 2; }
  .plan-views { grid-column: 1; }
  .start-free { display: block; border-radius: 16px; text-align: left; padding: 12px 16px; }
  .start-free svg { display: inline; vertical-align: -3px; margin-right: 6px; }
  .faq-tabs { width: auto; max-width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); border-radius: 0; padding-inline: var(--gutter); background: none; }
  .faq-tabs button { background: rgba(23,42,74,0.06); }
}
@media (prefers-reduced-motion: reduce) {
  .pg-glow { transition: none; }
}

/* ===== nav: Treatments mega-menu ===== */
.nav-dd { position: static; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px 10px 14px; border: 0; background: none; border-radius: 10px; font: 500 15px/1.2 var(--text); color: var(--ink); opacity: 0.85; cursor: pointer; }
.nav-dd-btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { background: rgba(23, 42, 74, 0.06); opacity: 1; }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
@media (min-width: 901px) {
  .nav-pill { position: relative; }
  .nav-dd-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: min(1120px, calc(100vw - 32px)); padding: 18px; border-radius: 24px;
    background: rgba(250, 249, 247, 0.9); border: 1px solid rgba(255,255,255,0.95); box-shadow: 0 30px 70px -24px rgba(23,42,74,0.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
    opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0s 0.3s; }
  .nav-dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav-dd.open .nav-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.2s, transform 0.3s var(--ease); }
  .dd-mega { display: grid; grid-template-columns: 1fr 240px; gap: 18px; }
  .dd-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .dd-dot { display: none; }
}
.dd-col { min-width: 0; }
.dd-area { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #eef0f3; }
.dd-area img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.25); transition: transform 0.6s var(--ease); }
.dd-col:hover .dd-area img { transform: scale(1.32); }
.dd-h { display: flex; align-items: center; gap: 10px; margin: 12px 8px 4px; font: 600 15px/1.2 var(--display); color: var(--ink); }
.dd-col ul { display: grid; gap: 2px; }
.nav-links .dd-col a { display: grid; gap: 2px; padding: 8px; border-radius: 10px; opacity: 1; font-size: 14.5px; }
.dd-col a b { font-weight: 600; }
.dd-col a small { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.nav-links .dd-col a:hover, .nav-links .dd-col a:focus-visible { background: rgba(23,42,74,0.06); }
.nav-links .dd-col a.dd-area { display: block; padding: 0; border-radius: 14px; background: #eef0f3; }
.dd-feat { display: grid; gap: 10px; align-content: start; }
.nav-links a.dd-card { display: grid; gap: 0; padding: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-s); opacity: 1; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.nav-links a.dd-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; }
.dd-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 70%; }
.dd-card span { display: grid; gap: 2px; padding: 10px 12px 12px; }
.dd-card b { display: inline-flex; align-items: center; gap: 2px; font-size: 14.5px; }
.dd-card b svg { width: 14px; height: 14px; }
.dd-card small { font-size: 12.5px; color: var(--ink-3); }
.dd-foot { grid-column: 1 / -1; display: flex; justify-content: flex-start; padding-top: 10px; border-top: 1px solid var(--line); }
.nav-links .dd-foot a { display: inline-flex; align-items: center; gap: 2px; padding: 6px 8px; font-size: 14px; font-weight: 600; opacity: 1; }
.dd-foot svg { width: 15px; height: 15px; }
@media (max-width: 1180px) and (min-width: 901px) {
  .nav-links a, .nav-dd-btn { padding-inline: 9px; font-size: 14.5px; }
  .dd-mega { grid-template-columns: 1fr; }
  .dd-feat { grid-template-columns: 1fr 1fr; }
  .dd-card { grid-template-columns: 120px 1fr !important; align-items: center; }
  .dd-card img { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 900px) {
  .nav-links { max-height: calc(100svh - 96px); overflow-y: auto; }
  .nav-dd-btn { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 17px; }
  .nav-dd-panel { display: none; padding: 2px 6px 10px; }
  .nav-dd.open .nav-dd-panel { display: block; }
  .nav-links .dd-col a.dd-area { display: none; }
  .dd-cols { display: grid; gap: 4px; }
  .dd-h { margin: 10px 8px 2px; font-size: 15.5px; }
  .dd-dot { width: 36px; height: 36px; flex: none; border-radius: 50%; overflow: hidden; background: #eef0f3; box-shadow: 0 0 0 2px #fff; }
  .dd-dot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.6); }
  .dd-col ul { padding-left: 46px; }
  .nav-links .dd-col a { padding: 7px 8px; font-size: 15.5px; }
  .dd-feat { grid-template-columns: 1fr 1fr; margin-top: 10px; }
  .dd-card span { padding: 8px 10px 10px; }
  .dd-card small { display: none; }
  .dd-foot { padding: 8px 2px 0; margin-top: 10px; }
}
.pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
.pills::-webkit-scrollbar { display: none; }
.pills button { flex: none; white-space: nowrap; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(23,42,74,0.12); background: rgba(255,255,255,0.7); font: 500 14px/1 var(--text); color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.pills button:hover { border-color: rgba(23,42,74,0.25); }
.pills button[aria-checked='true'] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.pills-steps button { min-width: 72px; }
.pg-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.pg-rows { margin-top: 8px; }
.pg-rows .ui-row { font-size: 13.5px; padding: 7px 0; }
.pg-typ { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.pg-typ[hidden] { display: none; }
.pg-typ b { color: var(--ink); font-weight: 600; }
.cfg .pg-panel { gap: 16px; min-width: 0; }
.cfg .pg-group { min-width: 0; }
.cfg [data-cfg].loading .ba-stage::after { content: ''; position: absolute; inset: 0; z-index: 3; background: rgba(247,246,243,0.25); }
.pg-mm { margin-top: 4px; }
@media (max-width: 760px) {
  .pills { margin-right: calc(-1 * 18px); }
  .pills button { height: 36px; padding: 0 12px; font-size: 13.5px; }
}

.pg-rows .ui-row b, .pg-rows .ui-row:first-of-type b { color: var(--ink); }

/* ===== area tiles: bigger bust on the right; links + pills in a left column; pills full width below the chin line ===== */
.areas .area { aspect-ratio: auto; height: auto; min-height: clamp(360px, 27vw, 390px); display: flex; flex-direction: column; padding: 22px 20px 18px; }
.areas .area img { inset: 0 -14% auto auto; width: 90%; max-width: none; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent 6%, #000 34%), linear-gradient(0deg, transparent 0%, #000 22%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 6%, #000 34%), linear-gradient(0deg, transparent 0%, #000 22%); mask-composite: intersect; }
.areas .area::before { content: ''; position: absolute; inset: auto 0 0; height: 34%; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(238,240,243,0.95) 0%, rgba(238,240,243,0.8) 60%, rgba(238,240,243,0) 100%); }
.area-head h3 { font-size: 21px; line-height: 1.15; }
.area-count { margin-top: 3px; font-size: 13px; color: var(--ink-3); }
.area-bottom { margin-top: auto; padding-top: 14px; position: relative; z-index: 2; display: grid; gap: 10px; }
.areas .area ul.area-more { display: grid; justify-items: start; gap: 6px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid rgba(23,42,74,0.12); max-width: 48%; }
.areas .area .area-more li, .areas .area .area-list li { -webkit-backdrop-filter: none; backdrop-filter: none; }
.areas .area .area-more li { padding: 0; background: none; border-radius: 0; }
.area-more a { display: inline-flex; align-items: center; gap: 2px; padding: 0; background: none; border: 0; box-shadow: none; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--navy); text-underline-offset: 3px; }
.area-more a:hover { text-decoration: underline; background: none; color: var(--navy); }
.area-more svg { width: 14px; height: 14px; flex: none; }
.areas .area ul.area-list { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; max-width: none; }
.areas .area .area-list li { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; line-height: 1; font-weight: 500; color: var(--ink); white-space: nowrap; background: rgba(255,255,255,0.92); border: 1px solid rgba(23,42,74,0.07); }
.area-list small { font-size: 10px; font-weight: 400; color: var(--ink-3); }
.area-list small::before { content: '·'; margin-right: 3px; }
.areas .area ul.area-more { border-bottom: 0; padding-bottom: 0; }
.area-bottom hr { margin: 0; border: 0; border-top: 1px solid rgba(23,42,74,0.12); }
@media (max-width: 1100px) { .areas .area { min-height: 380px; } }
@media (max-width: 760px) {
  .areas .area { min-height: 0; padding: 20px; }
  .areas .area img { inset: -6% -18% auto auto; width: 72%; }
  .areas .area::before { height: 45%; }
  .area-bottom { padding-top: 56px; }
}
/* configurator: switch, badge on the image, equal column heights */
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: 500 14px/1.2 var(--text); color: var(--ink-2); cursor: pointer; text-align: left; }
.switch-track { position: relative; flex: none; width: 42px; height: 25px; border-radius: 999px; background: rgba(23,42,74,0.2); transition: background 0.2s; }
.switch-thumb { position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(23,42,74,0.3); transition: transform 0.2s var(--ease); }
.switch[aria-checked='true'] .switch-track { background: var(--navy); }
.switch[aria-checked='true'] .switch-thumb { transform: translateX(17px); }
.switch:focus-visible { outline: none; }
.switch:focus-visible .switch-track { box-shadow: 0 0 0 3px rgba(111,163,210,0.6); }
.pg-badge { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 6px 11px; border-radius: 999px; font-size: 12px; color: var(--ink); background: rgba(255,255,255,0.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.pg-badge b { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; color: #23508a; }
@media (min-width: 901px) {
  .cfg .pg-view { display: flex; }
  .cfg .pg-view .ba-stage { aspect-ratio: auto; height: 100%; max-height: none; min-height: 560px; width: 100%; }
  .cfg .pg-view .ba-stage img { object-position: 50% 45%; }
}
/* founder v3: single column */
.founder-v3 { max-width: 760px; margin: 0 auto; padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px); text-align: left; }
.founder-v3 blockquote { max-width: 65ch; }
.founder-v3 blockquote p { font-size: clamp(18px, 1.5vw, 20px); }
.founder-v3 figcaption { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.founder-v3 .founder-photo { filter: grayscale(1); width: 52px; height: 52px; }

/* pricing: cloud panel, equal plan cards, timeline line, single CTA */
.pricing3 { padding: clamp(40px, 6vw, 80px) 12px; }
.pr-card { position: relative; overflow: hidden; isolation: isolate; max-width: 1320px; margin: 0 auto; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); background: #cfdff1; display: grid; gap: 26px; justify-items: center; }
.pr-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.pr-head { text-align: center; display: grid; justify-items: center; gap: 14px; max-width: 760px; }
.pr-head .two-tone { font-size: clamp(32px, 3.6vw, 48px); }
.pr-head .two-tone .muted { color: rgba(23,42,74,0.55); font-size: 0.62em; line-height: 1.25; margin-top: 6px; }
.pr-free { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; max-width: 620px; font-size: 14.5px; color: var(--ink-2); }
.pr-free b { color: var(--ink); font-weight: 600; }
.pr-free span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pr-free svg { width: 16px; height: 16px; color: #2b8a5e; }
.pr-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; max-width: 1020px; align-items: stretch; }
.pc { display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: rgba(255,255,255,0.78); border: 1px solid rgba(255,255,255,0.95); box-shadow: 0 18px 40px -22px rgba(23,42,74,0.35); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.pc-name { font: 600 17px/1.2 var(--display); }
.pc-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #dbe7f5; color: #23508a; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pc-price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.pc-price b { font: 600 42px/1 var(--display); letter-spacing: -0.03em; }
.pc-price span { font-size: 15px; color: var(--ink-3); }
.pc-billed { margin-top: 6px; min-height: 20px; font-size: 14px; color: var(--ink-2); }
.pc-facts { margin-top: 16px; display: grid; gap: 8px; }
.pc-facts li { display: flex; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.pc-facts svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #2f6db0; }
.pc-line { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.pc-facts + .pc-line { margin-top: 18px; }
.pc { justify-content: flex-start; }
.pc-best { background: linear-gradient(170deg, #22396a, var(--navy)); color: #fff; border-color: var(--navy); box-shadow: 0 26px 50px -24px rgba(23,42,74,0.6); }
.pc-best .pc-price span, .pc-best .pc-billed, .pc-best .pc-facts li, .pc-best .pc-line { color: rgba(255,255,255,0.8); }
.pc-best .pc-line { border-top-color: rgba(255,255,255,0.16); }
.pc-best .pc-facts svg { color: #9cc6f0; }
.pr-time { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; color: var(--ink-2); }
.pr-time li { display: inline-flex; align-items: center; gap: 6px; }
.pr-time li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(23,42,74,0.25); }
.pr-time li.on::before { background: #2f6db0; }
.pr-time b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.pr-foot { display: grid; justify-items: center; gap: 12px; }
.pr-more { font-size: 14px; color: var(--ink-2); text-align: center; }
.pr-more b { color: var(--ink); }
.pr-more a { display: inline-flex; align-items: center; gap: 2px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); white-space: nowrap; }
.pr-more svg { width: 14px; height: 14px; }
.pr-fine { max-width: 720px; text-align: center; color: rgba(23,42,74,0.62); }
@media (max-width: 900px) {
  .pr-plans { grid-template-columns: 1fr; max-width: 460px; }
  .pc-annual { order: -1; }
}
@media (max-width: 760px) {
  .pricing3 { padding-inline: 8px; }
  .pr-card { border-radius: 26px; padding: 26px 16px 22px; gap: 22px; }
  .pr-free { font-size: 13.5px; gap: 6px 12px; }
  .pr-free b { flex-basis: 100%; }
  .pc { padding: 20px; }
  .pc-price b { font-size: 36px; }
  .pr-time { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pr-foot, .pr-foot .btn { width: 100%; }
  .founder-v3 { padding: 24px 20px; }
}

/* legal pages (privacy, terms) in the shared shell */
.legal4 { padding: clamp(120px, 12vw, 150px) 0 clamp(72px, 8vw, 110px); }
.legal4 .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.legal4 h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.08; }
.legal4 .draft { display: inline-block; margin: 14px 0 28px; padding: 5px 11px; border-radius: 8px; background: var(--bg-2); font-size: 13px; color: var(--ink-3); }
.legal4 h2 { font-size: clamp(20px, 2vw, 24px); margin: 38px 0 10px; }
.legal4 p { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.legal4 p + p { margin-top: 10px; }
.legal4 .legal-back { margin-top: 44px; }

/* ===== mobile round 6 ===== */
.nav-cta-m, .how-dots { display: none; }
/* horizontal card rows: no vertical scroll inside them (reveal uses opacity only there) */
[data-scroller] { overflow-y: hidden; }
.js [data-scroller] > .rv { transform: none; }
@media (max-width: 900px) {
  .nav-links .nav-cta-m { display: flex; margin-top: 8px; color: #fff; opacity: 1; height: 52px; font-size: 16px; }
  /* How it works: swipeable step cards, no pinning */
  .how { height: auto; }
  .how-grid > * { min-width: 0; }
  .how .steps { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 0;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); touch-action: pan-x pan-y; }
  .how .steps::-webkit-scrollbar { display: none; }
  .how .step { flex: 0 0 80%; scroll-snap-align: start; display: flex; flex-direction: column; border: 0; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-s); padding: 18px 18px 0; overflow: hidden; }
  .how .step-btn { padding: 0; gap: 10px; pointer-events: none; }
  .how .step-n { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
  .how .step-t { font-size: 18px; color: var(--ink); }
  .how .step p { padding: 10px 0 16px; margin: 0; max-height: none; opacity: 1; font-size: 15px; line-height: 1.45; }
  .how .step-shot { display: flex; justify-content: center; padding: 0; margin-top: auto; height: 290px; overflow: hidden; }
  .how .step-shot .phone { width: 64%; height: auto; border-radius: 30px 30px 0 0; padding: 6px 6px 0; align-self: flex-start; }
  .how .step-shot .phone img { border-radius: 25px 25px 0 0; }
  .how-head { margin-bottom: 24px; }
  .how-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .how-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(23,42,74,0.2); transition: width 0.25s, background 0.25s; }
  .how-dots span.on { width: 20px; border-radius: 4px; background: var(--navy); }
}
@media (max-width: 760px) {
  /* compact CTA next to the burger */
  .nav-pill > .btn { display: inline-flex; height: 36px; padding: 0 12px; font-size: 13.5px; margin-left: auto; }
  .nav-pill .brand { margin-right: 0; }
  .nav-toggle { margin-left: 6px; }
  /* privacy: smaller bust, panel covers everything */
  .priv-card { padding: 20px 16px 16px; padding-top: 220px; }
  .priv-frame { width: 64%; height: 200px; top: 22px; padding-top: 14px; }
  .priv-frame span { font-size: 12.5px; }
  .priv-bust { width: 56%; top: 46px; }
  .priv-body::before { inset: -30px -16px -16px; }
  .priv-head { gap: 16px; padding-bottom: 20px; }
  .priv-head h2 { font-size: 27px; }
  .priv-head .btn { width: 100%; }
  .priv-cols { padding: 22px 0 26px; gap: 18px; }
  .priv-clinic { padding: 18px; gap: 14px; }
  .priv-clinic .btn { width: 100%; }
}
@media (max-width: 360px) {
  .nav-pill > .btn { display: none; }
}

/* ===== footer v2: horizontal QR card + link groups + bar ===== */
.foot { padding: clamp(56px, 6vw, 80px) 0 110px; }
.foot .foot-grid { display: grid; grid-template-columns: minmax(360px, 430px) 1fr; gap: clamp(28px, 4vw, 56px); max-width: 1180px; align-items: start; }
.foot .qr-card { display: grid; grid-template-columns: 40% 1fr; align-items: stretch; text-align: left; padding: 0; height: 224px; justify-items: stretch; background: linear-gradient(135deg, #ecebe7, #e1e5ea); }
.foot .qr-photo { width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: cover; object-position: 50% 62%; }
.foot .qr-body { display: grid; align-content: center; justify-items: start; gap: 6px; padding: 18px 20px; }
.foot .qr { width: 84px; height: 84px; padding: 7px; border-radius: 12px; margin-bottom: 6px; }
.foot .qr-card h2 { margin: 0; font-size: 20px; }
.foot .qr-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .qr-card p { margin: 0; font-size: 13.5px; line-height: 1.4; max-width: 220px; }
.foot-links { display: grid; gap: 26px; padding-top: 6px; }
.foot .foot-cols { display: grid; grid-template-columns: minmax(380px, 2.3fr) minmax(120px, 1fr) minmax(110px, 1fr); gap: 24px 40px; padding: 0; }
.foot-col-wide ul { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 36px; }
.foot-col-wide li + li { margin-top: 0 !important; }
.foot .foot-cols a { white-space: nowrap; overflow-wrap: normal; font-size: 15px; }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.foot-lang { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(23,42,74,0.06); }
.foot-lang a { padding: 5px 10px; border-radius: 7px; font-weight: 500; color: var(--ink-2); }
.foot-lang a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23,42,74,0.12); }
.foot-mail { white-space: nowrap; font-weight: 500; }
.foot-mail:hover, .foot-early:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-early { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; font-weight: 600; color: var(--navy); }
.foot-early svg { width: 15px; height: 15px; }
.foot .foot-bottom { margin-top: 44px; padding-top: 26px; }
@media (max-width: 1100px) {
  .foot .foot-grid { grid-template-columns: 1fr; }
  .foot .qr-card { max-width: 520px; }
}
@media (max-width: 760px) {
  .foot .qr-card { height: 200px; max-width: none; grid-template-columns: 38% 1fr; }
  .foot .qr { width: 72px; height: 72px; }
  .foot .qr-card h2 { font-size: 18px; }
  .foot .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .foot .foot-col-wide { grid-column: 1 / -1; }
  .foot-col-wide ul { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .foot-col-wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .foot-cols a { font-size: 15px; }
  .foot-bar { gap: 14px 20px; }
}
/* How it works mobile cards: less gap above the screenshot */
@media (max-width: 900px) {
  .how .step-shot { margin-top: 4px; height: 270px; }
  .how .step p { padding-bottom: 14px; }
}

/* ===== round 8 ===== */
.wl-done .btn svg { color: currentColor; }
.early-go { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: stretch; }
.early-go-main { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.early-go-main .btn { width: 100%; flex: none; }
.early-go .early-mail { margin: 0; }
.early-wait { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.early-done-closed .bonus { margin-top: 0; justify-self: start; }
.foot .foot-grid { max-width: calc(1280px + 2 * var(--gutter)); }
@media (min-width: 1101px) { .foot .foot-grid { grid-template-columns: minmax(380px, 440px) 1fr; gap: clamp(32px, 6vw, 96px); } }
.foot .foot-bottom { max-width: calc(1280px + 2 * var(--gutter)); }
.foot .qr-closed .qr-body { gap: 10px; }
.foot .qr-closed h2 { font-size: 22px; }
.qr-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; margin-top: 4px; }
.qr-go svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .early-go { grid-template-columns: 1fr; }
}

/* ===== round 9: nav width = content width; opaque, structured mega-menu ===== */
.nav-pill { max-width: var(--wrap); }
@media (min-width: 901px) {
  .nav-dd-panel { left: 0; right: 0; width: auto; transform: translateY(6px); top: calc(100% + 8px); padding: 20px 20px 0; border-radius: 22px;
    background: #fbfaf8; border: 1px solid rgba(23,42,74,0.08); box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 28px 60px -24px rgba(23,42,74,0.35);
    -webkit-backdrop-filter: none; backdrop-filter: none; transition: opacity 0.18s, transform 0.22s var(--ease), visibility 0s 0.22s; }
  .nav-dd.open .nav-dd-panel { transform: none; transition: opacity 0.18s, transform 0.22s var(--ease); }
  .dd-mega { display: grid; grid-template-columns: 1fr 250px; gap: 0; }
  .dd-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-right: 20px; align-items: start; }
  .dd-feat { padding-left: 20px; border-left: 1px solid rgba(23,42,74,0.1); gap: 12px; }
  .dd-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 18px; padding: 12px 0 14px; border-top: 1px solid rgba(23,42,74,0.1); }
}
.dd-area { aspect-ratio: auto; height: 110px; border-radius: 12px; }
.dd-area img { object-position: 50% 58%; transform: scale(1.35); }
.dd-col:hover .dd-area img { transform: scale(1.4); }
.dd-h { margin: 14px 0 6px; font: 700 11.5px/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.dd-col ul { gap: 2px; margin: 0 -8px; }
.nav-links .dd-col a { padding: 7px 8px; gap: 2px; }
.dd-col a b { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.dd-col a small { font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.nav-links a.dd-card { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: transparent; box-shadow: none; }
.nav-links a.dd-card:hover { background: rgba(23,42,74,0.05); transform: none; box-shadow: none; }
.dd-card img { width: 76px; height: 60px; aspect-ratio: auto; border-radius: 10px; object-fit: cover; object-position: 50% 70%; }
.dd-card span { padding: 0; }
.dd-card b { font-size: 14.5px; }
.dd-card small { font-size: 12.5px; line-height: 1.3; }
.nav-links .dd-foot a { padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.nav-links .dd-foot a:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) and (min-width: 901px) {
  .dd-mega { grid-template-columns: 1fr; }
  .dd-feat { grid-template-columns: 1fr 1fr; border-left: 0; padding-left: 0; padding-top: 14px; margin-top: 14px; border-top: 1px solid rgba(23,42,74,0.1); }
  .dd-cols { padding-right: 0; }
  .dd-card { grid-template-columns: 76px 1fr !important; }
  .dd-card img { height: 60px; }
}
@media (max-width: 900px) {
  .dd-h { margin: 12px 0 4px; font: 600 15.5px/1.2 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); }
  .dd-col ul { margin: 0; }
  .nav-links a.dd-card { grid-template-columns: 1fr; padding: 0; background: #fff; box-shadow: var(--shadow-s); overflow: hidden; }
  .dd-card img { width: 100%; height: auto; aspect-ratio: 16 / 8; border-radius: 0; }
  .dd-card span { padding: 8px 10px 10px; }
  .dd-foot { justify-content: space-between; flex-direction: row; }
}

/* nav: near-opaque bar; a soft fade strip behind it so page text never shows sharply around the bar */
.nav.scrolled .nav-pill, .nav.open .nav-pill { background: rgba(250, 250, 248, 0.92); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-color: rgba(23,42,74,0.07); }
.nav::before { content: ''; position: absolute; inset: 0 0 auto; height: 96px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: linear-gradient(180deg, rgba(247,246,243,0.96) 0%, rgba(247,246,243,0.85) 55%, rgba(247,246,243,0) 100%); }
.nav.scrolled::before { opacity: 1; }
@media (max-width: 760px) { .nav::before { height: 80px; } }

/* ===== early-access modal ===== */
html.ea-lock { overflow: hidden; }
.ea-modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; overflow: auto; color: var(--ink); }
.ea-modal::backdrop { background: rgba(23, 42, 74, 0.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ea-modal[open] { display: grid; place-items: center; animation: eaFade 0.2s ease-out; }
.ea-card { position: relative; width: min(520px, calc(100% - 32px)); margin: 24px auto; padding: 30px 28px 24px; border-radius: 26px; display: grid; gap: 14px; justify-items: start;
  background: rgba(251, 250, 248, 0.94); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 40px 90px -30px rgba(23,42,74,0.55); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  animation: eaUp 0.28s var(--ease); }
.ea-card h2 { font-size: 30px; line-height: 1.1; padding-right: 40px; }
.ea-sub { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ea-card .wl { width: 100%; }
.ea-card .wl-row { flex-direction: column; }
.ea-card .wl input[type='email'] { height: 54px; font-size: 17px; }
.ea-card .wl .btn { height: 54px; width: 100%; font-size: 16px; }
.ea-card .early-points { margin-top: 2px; }
.ea-card .wl.done ~ .early-points { display: none; }
.ea-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(23,42,74,0.07); cursor: pointer; color: var(--ink); }
.ea-close:hover { background: rgba(23,42,74,0.12); }
.ea-close svg { width: 18px; height: 18px; }
@keyframes eaFade { from { opacity: 0; } }
@keyframes eaUp { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@media (max-width: 640px) {
  .ea-modal[open] { place-items: end stretch; }
  .ea-card { width: 100%; margin: 0; border-radius: 24px 24px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); border-bottom: 0; animation: eaSheet 0.3s var(--ease); }
  .ea-card::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: rgba(23,42,74,0.18); }
  .ea-card h2 { font-size: 26px; }
  @keyframes eaSheet { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .ea-modal[open], .ea-card { animation: none; } }
.ea-card > .chip { margin-right: 46px; }
.ea-card:has(.wl.done) > .chip { display: none; }
.early-wait { font-weight: 400; font-family: var(--text); }

/* ===== hero: scroll-driven stage =====
   The card is a size container: CSS places every layer at its START position in cq units; v4.js adds the
   transforms towards the END composition, keyed to scroll progress (transform/opacity only). */
.hero-scroll { padding: 12px 12px 0; }
.hs-stage { position: relative; }
.js .hs-stage { height: 160vh; }
.hs-card { position: sticky; top: 12px; height: calc(100svh - 24px); min-height: 560px; max-height: 1000px; container-type: size; display: block; overflow: hidden; perspective: 1400px;
  background: linear-gradient(120deg, #a9c3e2, #d9dde3 55%, #ecdcc9); }
.hs-bg, .hs-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hs-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hs-scene > * { position: absolute; will-change: transform, opacity; transform-origin: 50% 50%; }
.hs-bust { width: min(86cqh, 44cqw); aspect-ratio: 1000 / 1006; left: -16cqw; bottom: -3cqh; z-index: 3; transform-style: preserve-3d; filter: drop-shadow(0 30px 40px rgba(23,42,74,0.18)); }
.hs-bust img, .hs-scrub, .hs-scrub canvas, .hs-scrub video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hs-jaw { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 0 10px rgba(130,190,255,0.95)) drop-shadow(0 0 22px rgba(110,170,240,0.8)); mix-blend-mode: screen; }
.hs-implant { width: 14cqw; left: 74cqw; top: 14cqh; z-index: 4; filter: drop-shadow(0 18px 20px rgba(23,42,74,0.2)); }
.hs-syringe { width: 15cqw; left: 82cqw; top: 40cqh; z-index: 4; filter: drop-shadow(0 18px 20px rgba(23,42,74,0.2)); }
.hs-disc { border-radius: 50%; aspect-ratio: 1; z-index: 2; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.85), rgba(225,236,248,0.5) 45%, rgba(190,212,238,0.35) 70%, rgba(255,255,255,0.55));
  border: 2px solid rgba(255,255,255,0.75); box-shadow: inset 0 0 0 6px rgba(160,200,240,0.25), 0 20px 40px -18px rgba(23,42,74,0.35); }
.hs-disc1 { width: 13cqw; left: 80cqw; top: 6cqh; }
.hs-disc2 { width: 11cqw; left: 70cqw; top: 60cqh; }
.hs-disc3 { width: 7cqw; left: 90cqw; top: 76cqh; }
.hs-sphere { width: 6cqw; aspect-ratio: 1; left: 91cqw; top: 30cqh; border-radius: 50%; z-index: 4; background: radial-gradient(circle at 32% 28%, #8fb3ec 0%, #2747a0 30%, #102463 70%, #0a1640 100%); box-shadow: 0 18px 30px -12px rgba(10,22,64,0.6); }
.hs-copy { position: absolute; left: 50%; top: 50%; z-index: 5; width: min(680px, 92cqw); padding: 0 24px; transform: translate(-50%, -50%); will-change: transform, opacity; }
.hs-copy .lead { margin-left: auto; margin-right: auto; }
.hero-scroll .hero-note { z-index: 5; }
.hero-scroll .marquee { margin-top: 0; }
@media (max-width: 760px) {
  .hero-scroll { padding: 8px 8px 0; }
  .js .hs-stage { height: 140vh; }
  .hs-card { top: 8px; height: calc(100svh - 16px); min-height: 600px; border-radius: 26px; background: linear-gradient(180deg, #a3c4e4 0%, #bdc5ce 52%, #dfc9b6 100%); }
  .hs-bg { display: none; }
  .hs-bust { width: min(84cqw, 41cqh); left: 50%; margin-left: calc(-0.5 * min(84cqw, 41cqh)); bottom: -1cqh; }
  .hs-implant { width: 22cqw; left: 76cqw; top: 58cqh; }
  .hs-syringe { width: 28cqw; left: 78cqw; top: 70cqh; }
  .hs-disc1 { width: 26cqw; left: -8cqw; top: 46cqh; }
  .hs-disc2 { width: 22cqw; left: 82cqw; top: 66cqh; }
  .hs-disc3 { width: 14cqw; left: 4cqw; top: 80cqh; }
  .hs-sphere { width: 10cqw; left: 86cqw; top: 52cqh; }
  .hs-copy { top: 9cqh; transform: translate(-50%, 0); padding: 0 16px; }
  .hero-scroll .hero-copy { padding: 56px 0 0; }
  .hero-scroll .hero-copy .lead { font-size: 15.5px; margin-top: 12px; }
  .hero-scroll .hero-copy .hero-cta { margin-top: 18px; }
  .hero-scroll .eyebrow { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hs-stage { height: auto; }
  .hs-card { position: relative; top: 0; }
}

/* scrubbed full-frame video stage (lab) */
.hs-video .hs-full, .hs-video .hs-full img, .hs-video .hs-full video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 14% 50%; }
@media (min-width: 761px) { .hs-video .hs-card { height: min(860px, calc(100svh - 76px)); min-height: 0; } }
.hs-video .hs-full video { opacity: 0; transition: opacity 0.2s; }
.hs-video .hs-full.ready video { opacity: 1; }
.hs-video .hs-card { background: #c9d6e6; }
@media (max-width: 760px) {
  .js .hs-video .hs-stage { height: auto; }
  .hs-video .hs-card { position: relative; top: 0; height: auto; min-height: 0; max-height: none; container-type: normal; display: grid; place-items: start stretch; background: #a9caea; }
  .hs-video .hs-full { position: relative; inset: auto; grid-area: 1 / 1; align-self: end; height: auto; }
  .hs-video .hs-full img { position: static; height: auto; }
  .hs-video .hs-full img { content: url(/assets/img/v3/hero-tall.webp); }
  .hs-video .hs-copy { position: relative; left: auto; top: auto; transform: none; grid-area: 1 / 1; width: auto; padding: 100px 16px 300px; }
}
@media (prefers-reduced-motion: reduce) { .js .hs-video .hs-stage { height: auto; } }

/* ===== lab hero: loop at rest; layer A (bust turn) + layer B (objects) when scrolled ===== */
.hl-a, .hl-b { display: none; }
@media (min-width: 761px) {
  .hl-a { display: block; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
  .hl-a video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  .hl-b { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.25s ease; }
  .hl-on .hl-a, .hl-on .hl-b { opacity: 1; }
  .hl-obj { position: absolute; will-change: transform; transform-origin: 50% 50%; filter: drop-shadow(0 14px 16px rgba(23,42,74,0.14)); }
  .hl-obj img { width: 100%; height: 100%; animation: hlFloat 6s ease-in-out infinite; }
  .hl-disc2 img { animation-delay: -2s; }
  .hl-syringe img { animation-delay: -4s; animation-duration: 7s; }
  .hl-implant img { animation-delay: -1s; animation-duration: 5.5s; }
  @keyframes hlFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
}
@media (prefers-reduced-motion: reduce) { .hl-a, .hl-b { display: none !important; } }
