:root {
  --bg: #ffffff;
  --bg-2: #f3f7f4;
  --line: #e1e8e3;
  --navy: #171c30;
  --text: #171c30;
  --muted: #586174;
  --accent: #0b8a5f;
  --accent-hover: #087350;
  --accent-soft: #e5f5ed;
  --gold: #a67c1a;
  --gold-line: #d9b24c;
  --radius: 16px;
  --max: 1160px;
  --head: "DM Serif Display", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--head); line-height: 1.08; letter-spacing: -0.01em; font-weight: 400; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 4.9vw, 4.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.4rem; }
p { color: var(--muted); }
.lead { font-size: 1.18rem; max-width: 60ch; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
em.hl { font-style: italic; color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-hover); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 19px 34px; font-size: 1.08rem; }

/* Header + progress */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--head); font-size: 1.5rem; color: var(--navy); }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .95rem; color: var(--muted); }
.nav-links a:hover { color: var(--navy); }
.nav-links .btn { padding: 11px 22px; color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.6rem; cursor: pointer; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; }

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p { margin-top: 18px; font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }

/* Fine print: deliberately quiet */
.fine { font-size: .75rem; color: #9099a8; }
.fine a { text-decoration: underline; text-decoration-color: #cdd3dc; }
sup.ast { color: #a0a8b5; font-size: .7em; margin-left: 1px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: linear-gradient(180deg, #f3faf6 0%, #ffffff 100%); }
.hero-copy { position: relative; max-width: 640px; }
.hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.2vw, 3.6rem); }
.hero .lead { margin: 24px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 20px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .wi { display: inline-block; }
.gsap-ready .hero h1 .wi { transform: translateY(115%); }

/* Marquees */
.marquees { padding: 30px 0; border-block: 1px solid var(--line); background: #fff; display: grid; gap: 14px; overflow: hidden; }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-track { display: flex; gap: 14px; width: max-content; animation: mq 50s linear infinite; }
.mq.rev .mq-track { animation-direction: reverse; animation-duration: 60s; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem; color: var(--navy); white-space: nowrap; }
.mq-chip svg { width: 18px; height: 18px; color: var(--accent); }
.mq.alt .mq-chip { background: #f6fbf8; border-color: #e3efe8; color: #2f6b55; }
@keyframes mq { to { transform: translateX(calc(-50% - 7px)); } }

/* Cards */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .2s, box-shadow .2s; box-shadow: 0 1px 2px rgba(23,28,48,.04); }
.card:hover { border-color: #b9d8c9; box-shadow: 0 10px 30px rgba(23,28,48,.07); }
.card h3 { margin-bottom: 10px; }
svg.ico, i.ico { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; stroke-width: 1.75; display: block; }

/* Doors: gentle lift + cursor spotlight */
.door { display: flex; flex-direction: column; padding: 34px 32px; border-top: 4px solid var(--accent); }
.door::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(11,138,95,.10), transparent 45%); }
.door:hover::after { opacity: 1; }
.door.reveal.in { transition: opacity .6s ease, transform .25s ease, border-color .2s, box-shadow .2s; transition-delay: 0s; }
.door.reveal.in:hover { transform: translateY(-4px); }
.door .im { font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.door .type { font-family: var(--head); font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.05; color: var(--accent); margin: 6px 0 18px; }
.door p { font-size: .98rem; }
.door .link { margin-top: auto; padding-top: 24px; color: var(--accent); font-weight: 600; }

/* Four steps */
.fsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: fs; }
.fstep { position: relative; padding: 30px 26px; }
.fstep::before { counter-increment: fs; content: counter(fs); position: absolute; top: 18px; right: 22px; font-family: var(--head); font-size: 3rem; line-height: 1; color: var(--accent-soft); }
.fstep h3 { font-size: 1.25rem; }
.fstep p { font-size: .95rem; }

/* Models explorer */
.explorer { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.tile { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: border-color .2s, background .2s, transform .2s; color: var(--navy); }
.tile:hover { border-color: #b9d8c9; transform: translateY(-2px); }
.tile .ico { margin: 0; flex: none; width: 42px; height: 42px; padding: 10px; }
.tile b { display: block; font-weight: 600; font-size: .98rem; line-height: 1.25; }
.tile small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.tile[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); }
.tile[aria-selected="true"] .ico { background: #fff; }
.mpanel { background: var(--navy); color: #fff; border-radius: 20px; padding: 34px; display: flex; flex-direction: column; min-height: 480px; }
.mpanel .swap { display: flex; flex-direction: column; gap: 14px; height: 100%; animation: swap .35s ease; }
.mpanel .p-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #5ee0a8; }
.mpanel .p-ico svg { width: 24px; height: 24px; }
.mpanel h3 { color: #fff; font-size: 1.9rem; }
.mpanel p { color: #b9c0d0; }
.mpanel .note { font-size: .9rem; border-left: 2px solid #5ee0a8; padding-left: 12px; }
.mpanel ul { list-style: none; display: grid; gap: 8px; font-size: .9rem; color: #d4d9e4; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.mpanel ul li::before { content: "✓ "; color: #5ee0a8; }
.mpanel .btn { margin-top: auto; background: #fff; color: var(--navy); align-self: flex-start; }
.mpanel .btn:hover { background: #5ee0a8; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Quiz */
.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: 0 16px 40px rgba(23,28,48,.08); }
.q-prog { height: 6px; background: var(--accent-soft); border-radius: 99px; overflow: hidden; margin-bottom: 26px; }
.q-prog i { display: block; height: 100%; background: var(--accent); border-radius: 99px; width: 0; transition: width .5s ease; }
.q-step { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.quiz-card h3 { margin-bottom: 20px; font-size: 1.7rem; }
.q-opts { display: grid; gap: 10px; }
.q-opt { text-align: left; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); font-size: 1rem; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.q-opt:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateX(4px); }
.q-back { margin-top: 18px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .9rem; }
.q-result h3.big { font-size: 2.2rem; color: var(--accent); margin-bottom: 8px; }
.q-alt { margin-top: 18px; padding: 14px 16px; background: var(--bg-2); border-radius: 10px; font-size: .92rem; color: var(--muted); }
.q-alt b { color: var(--navy); }

/* Clinic OS stack */
.os-stack { display: grid; gap: 12px; }
.layer { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; box-shadow: 0 1px 2px rgba(23,28,48,.04); }
.layer .ico { margin: 0; flex: none; }
.layer h3 { font-size: 1.2rem; margin-bottom: 2px; }
.layer p { font-size: .9rem; }
.layer .tag { margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.layer.base { background: var(--navy); border-color: var(--navy); }
.layer.base h3 { color: #fff; } .layer.base p { color: #b9c0d0; } .layer.base .tag { color: #5ee0a8; }
.layer.base .ico { background: rgba(255,255,255,.1); color: #5ee0a8; }
.layer:nth-child(1) { margin-left: 0; } .layer:nth-child(2) { margin-left: 12px; } .layer:nth-child(3) { margin-left: 24px; } .layer:nth-child(4) { margin-left: 36px; }

/* Method rail */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-top: 34px; }
.rail { position: absolute; top: 8px; left: 0; right: 0; height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.rail-fill { height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.step { position: relative; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .5s, box-shadow .5s; }
.step::before { content: ""; position: absolute; top: -32px; left: 24px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--line); transition: border-color .5s, background .5s; }
.step.active { border-color: #9fd3bb; box-shadow: 0 14px 36px rgba(11,138,95,.1); }
.step.active::before { border-color: var(--accent); background: var(--accent); }
.step .when { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 99px; }
.step h3 { margin: 14px 0 10px; }
.step ul { list-style: none; margin-top: 12px; }
.step li { color: var(--muted); font-size: .95rem; padding-left: 20px; position: relative; margin-bottom: 8px; }
.step li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* Checks */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; color: var(--navy); font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.checks li span { display: block; color: var(--muted); font-size: .93rem; font-weight: 400; }
.x li::before { content: "✕"; background: #fdeaea; color: #c24141; }
.never { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; }
.never b { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.never span { padding: 8px 14px; border-radius: 99px; background: #fdeaea; color: #a83a3a; font-size: .85rem; font-weight: 500; }
.ph-tag { display: inline-block; font-size: .7rem; letter-spacing: .1em; color: var(--gold); font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }

/* Engine */
.engine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eng .num { font-family: var(--head); color: var(--accent); font-size: 1.6rem; display: block; margin-bottom: 8px; }
.eng p { font-size: .95rem; }

/* Lab */
.lab { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.lab-controls, .lab-viz { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.ctl { margin-bottom: 22px; }
.ctl label { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 8px; }
.ctl output { color: var(--accent); font-weight: 700; }
.ctl select { width: 100%; padding: 12px 14px; border: 1px solid #cfd8d2; border-radius: 10px; font: inherit; color: var(--navy); background: #fff; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 24px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.kpis div { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; }
.kpis span { display: block; font-size: .78rem; color: var(--muted); }
.kpis b { font-family: var(--head); font-weight: 400; font-size: 1.7rem; color: var(--navy); }
.kpis b.pos { color: var(--accent); } .kpis b.neg { color: #c24141; }
.chart-box { height: 230px; }
.chart-box canvas { width: 100%; height: 100%; display: block; }

/* Included */
.incl { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.incl .row { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); transition: background .2s; }
.incl .row:last-child { border-bottom: 0; }
.incl .row:hover { background: #f8fcf9; }
.incl b { color: var(--navy); font-weight: 600; }
.incl p { font-size: .92rem; margin-top: 2px; }
.badge { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: 5px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.badge.bonus { background: #fbf3dc; color: var(--gold); }
.incl-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; padding: 26px 30px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #bfe3d1; }
.incl-cta p { max-width: 54ch; color: var(--muted); }
.incl-cta p b { color: var(--navy); }

/* Guarantee */
.guarantee-wrap { padding: 96px 0; }
.guarantee { border: 2px solid var(--gold-line); border-radius: 28px; padding: 60px 40px; text-align: center; background: linear-gradient(180deg, #fffaf0, #ffffff); transform-origin: 50% 50%; }
.guarantee h2 { max-width: 20ch; margin: 0 auto 18px; }
.guarantee .gbadge { display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: .14em; font-size: .78rem; text-transform: uppercase; margin-bottom: 18px; }
.guarantee p { max-width: 60ch; margin-inline: auto; }
.big-nums { display: flex; justify-content: center; gap: 64px; margin: 8px 0 26px; flex-wrap: wrap; }
.big-nums b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(3.4rem, 8vw, 5.6rem); line-height: 1; color: var(--accent); }
.big-nums span { color: var(--muted); font-size: .95rem; }

/* Founder */
.founder-photo { aspect-ratio: 4/5; border-radius: var(--radius); background: #fff; border: 1px dashed #b4c5ba; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.creds { list-style: none; margin: 26px 0; display: grid; gap: 14px; }
.creds li { padding-left: 22px; position: relative; color: var(--navy); font-weight: 500; }
.creds li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { background: var(--bg-2); font-family: var(--head); font-weight: 400; font-size: 1.1rem; color: var(--navy); }
td:first-child { color: var(--navy); font-weight: 600; }
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.win { color: var(--accent); font-weight: 600; background: #f7fcf9; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-family: var(--head); font-size: 1.35rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 14px; max-width: 70ch; }

/* Final CTA (grows on scroll) */
.final-sec { padding: 40px 0 96px; }
.final { background: var(--navy); border-radius: 36px; padding: 96px 28px; text-align: center; transform-origin: 50% 100%; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(ellipse at center, rgba(61,220,151,.22), transparent 65%); pointer-events: none; }
.final > * { position: relative; }
.final h2 { max-width: 18ch; margin: 0 auto 20px; color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); }
.final .lead { margin: 0 auto 36px; color: #b9c0d0; }
.final .btn-primary { background: #3ddc97; color: #052014; }
.final .btn-primary:hover { background: #63e8ae; }
/* Free checklist (its own section) */
.checklist-sec { padding: 0 0 96px; }
.magnet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); }
.magnet h3 { font-size: 1.7rem; margin-bottom: 6px; }
.magnet p { font-size: .95rem; }
.magnet form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 340px; max-width: 520px; }
.magnet input { flex: 1 1 220px; padding: 14px 18px; border-radius: 999px; border: 1px solid #cfd8d2; background: #fff; color: var(--navy); font: inherit; }
.magnet input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.magnet .btn { padding: 14px 26px; }
.magnet .ok { display: none; width: 100%; color: var(--accent); font-size: .92rem; font-weight: 600; }
.magnet .ok.show { display: block; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-2); }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.foot-links { display: flex; gap: 24px; color: var(--muted); font-size: .95rem; flex-wrap: wrap; }
.foot-links a:hover { color: var(--navy); }
.legal { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 10px; }
.legal p { font-size: .73rem; line-height: 1.55; color: #8f98a6; max-width: 110ch; }
.legal p b { color: #7d8696; font-weight: 600; }

.sticky-cta { position: fixed; inset: auto 0 0 0; padding: 12px 16px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); display: none; z-index: 40; }
.sticky-cta .btn { width: 100%; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Booking page */
.book-hero { padding: 80px 0 60px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: 0 16px 40px rgba(23,28,48,.08); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--navy); font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; background: #fff; border: 1px solid #cfd8d2; border-radius: 10px; color: var(--navy); font: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-msg { display: none; padding: 22px; border-radius: 12px; background: var(--accent-soft); border: 1px solid #bfe3d1; color: var(--navy); }
.form-msg.show { display: block; }
.next-steps { list-style: none; counter-reset: s; display: grid; gap: 20px; margin-top: 8px; }
.next-steps li { counter-increment: s; padding-left: 52px; position: relative; color: var(--navy); font-weight: 500; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: var(--head); }
.next-steps li span { display: block; color: var(--muted); font-size: .93rem; font-weight: 400; }
.placeholder { outline: 1px dashed #b4c5ba; outline-offset: -1px; }

/* Responsive */
@media (max-width: 980px) {
  .g3, .engine { grid-template-columns: repeat(2, 1fr); }
  .fsteps, .timeline { grid-template-columns: repeat(2, 1fr); }
  .split, .explorer, .lab { grid-template-columns: 1fr; gap: 36px; }
  .layer:nth-child(n) { margin-left: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  section { padding: 68px 0; }
  .g2, .g3, .engine, .fsteps, .timeline, .row2, .tiles { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 22px 20px 28px; border-bottom: 1px solid var(--line); gap: 18px; }
  .nav-links.open { display: flex; }
  .hero { padding: 48px 0 56px; }
  .guarantee { padding: 40px 22px; }
  .form-card, .quiz-card, .lab-controls, .lab-viz { padding: 24px 20px; }
  .sticky-cta { display: block; }
  .final { padding: 64px 20px; border-radius: 26px; }
  .layer .tag { display: none; }
  .incl .row { padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .mq-track { animation: none; }
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ===== Hero visual (launch tracker) ===== */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.o1 { width: 420px; height: 420px; background: rgba(11,138,95,.18); top: -120px; right: 4%; }
.o2 { width: 340px; height: 340px; background: rgba(217,178,76,.16); bottom: -140px; left: -80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero-visual { position: relative; padding: 24px 0; }
.tracker { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: 0 30px 70px rgba(23,28,48,.14); position: relative; }
.tracker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-family: var(--head); font-size: 1.35rem; color: var(--navy); }
.tracker-head em { font-family: var(--body); font-style: normal; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #9aa3b0; }
.tr-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.tr-row b { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; }
.tr-row small { color: var(--muted); font-size: .8rem; }
.tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.tick svg { width: 16px; height: 16px; stroke-width: 3; }
.tr-bar { height: 8px; background: var(--accent-soft); border-radius: 99px; margin-top: 20px; overflow: hidden; }
.tr-fill { height: 100%; background: var(--accent); border-radius: 99px; transform-origin: 0 50%; }
.tr-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.tr-foot b { color: var(--accent); }
.gsap-ready .tr-row { opacity: 0; transform: translateX(-16px); }
.gsap-ready .tick { transform: scale(0); }
.gsap-ready .tr-fill { transform: scaleX(0); }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: .85rem; font-weight: 600; color: var(--navy); box-shadow: 0 12px 30px rgba(23,28,48,.14); animation: floaty 5s ease-in-out infinite; }
.chip svg { width: 16px; height: 16px; color: var(--accent); }
.chip-a { top: -4px; right: -10px; }
.chip-b { bottom: -2px; left: -18px; animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Clinic OS layers: shift right on hover */
.os-stack .layer { transition: opacity .6s ease, transform .25s ease, border-color .2s, box-shadow .2s; }
.os-stack .layer.reveal.in { transition-delay: 0s; }
.os-stack .layer.reveal.in:hover { transform: translateX(12px); border-color: #9fd3bb; box-shadow: 0 10px 28px rgba(23,28,48,.09); }
.os-stack .layer.base.reveal.in:hover { border-color: var(--navy); }

/* Lab legend */
.legend { display: flex; gap: 18px; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.k-prof { background: #0b8a5f; } .k-rev { background: #cfe9dc; }

/* Quiz fill-in answer */
.q-input { width: 100%; padding: 16px 18px; border: 1px solid #cfd8d2; border-radius: 12px; font: inherit; color: var(--navy); background: #fff; }
.q-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.q-row { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.q-hint { font-size: .85rem; color: var(--muted); margin-top: 10px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
}
@media (max-width: 720px) {
  .chip-a { right: 0; } .chip-b { left: 0; }
  .magnet { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } }

.gtext { color: var(--accent); }
.founder-photo { overflow: hidden; padding: 0; border-style: solid; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.legal a { color: inherit; text-decoration: underline; }
.doc-page { max-width: 820px; padding: 140px 0 80px; }
.doc-page h1 { font-size: clamp(2.2rem,4vw,3rem); margin-bottom: 8px; }
.doc-page h2 { font-size: 1.4rem; margin: 38px 0 10px; }
.doc-page p, .doc-page li { color: var(--text, #3a4254); line-height: 1.7; margin-top: 10px; }
.doc-page ul { padding-left: 22px; }
.doc-page .updated { color: var(--muted); font-size: .9rem; }

.mpanel .p-img { width: 100%; height: 170px; object-fit: cover; border-radius: 14px; display: block; }

/* model explorer: tiles and panel share one fixed height so nothing shifts */
.explorer { align-items: stretch; }
.tiles { grid-template-rows: repeat(5, 1fr); }
.tile { min-height: 0; }
.mpanel { min-height: 0; padding: 22px 26px 24px; overflow: hidden; }
.mpanel .swap { gap: 10px; }
.mpanel .p-img { height: 150px; flex: none; }
.mpanel .p-ico { display: none; }
.mpanel h3 { font-size: 1.55rem; }
.mpanel p { font-size: .92rem; line-height: 1.5; }
.mpanel ul { grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: .82rem; padding-top: 10px; }
.mpanel .btn { padding: 11px 20px; }
@media (min-width: 981px) { .explorer { height: 540px; } .tiles { height: 100%; } }
@media (max-width: 980px) { .mpanel .p-img { height: 190px; } .mpanel ul { grid-template-columns: 1fr; } }

/* ===== UI/UX pass: accessibility, touch, feedback ===== */
html { scroll-padding-top: 88px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.mpanel :focus-visible, .final :focus-visible { outline-color: #5ee0a8; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.fine { color: #6e7787; font-size: .8rem; }
.legal p { color: #6e7787; }
.btn { min-height: 48px; }
.nav-links a:not(.btn) { padding: 10px 4px; }
.tile, .q-opt { min-height: 56px; }
.foot-links a { display: inline-block; padding: 8px 0; }
summary { min-height: 44px; }
.mq:focus-within .mq-track { animation-play-state: paused; }
.field input, .field select, .field textarea, .q-input, .magnet input { font-size: 16px; }
.field .err { color: #b42318; font-size: .88rem; margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; }
.field .err::before { content: "⚠"; }
.field [aria-invalid="true"], .magnet input[aria-invalid="true"] { border-color: #b42318; background: #fffafa; }
.err-summary { display: none; border: 1px solid #f1b5ad; background: #fff5f4; color: #7a1c12; border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: .95rem; }
.err-summary.show { display: block; }
.err-summary a { color: inherit; text-decoration: underline; }
.err-summary:focus { outline: 3px solid #b42318; outline-offset: 2px; }
.magnet .err-inline { color: #b42318; font-size: .88rem; flex-basis: 100%; margin-top: 6px; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
img { height: auto; }
.mpanel .p-img { aspect-ratio: 3 / 2; }
@media (hover: none) { .door.reveal.in:hover, .tile:hover, .os-stack .layer.reveal.in:hover { transform: none; } }
@media (max-width: 760px) { .btn-lg { width: 100%; } .cta-row { flex-direction: column; align-items: stretch; } }
