/* N-Enterprise · каталог демо для стоматологий · v2 «премиум».
   Светлый редакционный стиль: Inter Tight + Noto Serif Display, холодный фарфор, один акцент (кобальт), много воздуха, мало рамок.
   Герой и «история» — один холст three.js (assets/stage3d.js). Без JS, без WebGL, при «уменьшении движения»
   и в версии для слабовидящих всё видно: сцена заменяется статичной картинкой, пины и анимации выключены. */

:root {
  --bg: #F3F5F6;
  --bg2: #E8EDF0;
  --card: #FFFFFF;
  --ink: #0B1317;
  --ink2: #27343B;
  --mute: #4F5E67;
  --line: #D3DADF;
  --acc: #1F4FE0;
  --acc-d: #1741BC;
  --acc-t: #E4EBFE;
  --cer: #F6F0E4;
  --sans: "Inter Tight", "Inter Tight Fallback", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Noto Serif Display", "Noto Serif Display Fallback", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease2: cubic-bezier(.7, 0, .2, 1);
  --gut: clamp(18px, 4.4vw, 56px);
  --maxw: 1360px;
  --r1: 28px;
  --r2: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html:not(.lv) { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.01em; color: var(--acc); }
b, strong { font-weight: 600; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 5px rgba(31, 79, 224, .18); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden;
  font: 500 1rem/1.1 var(--sans); letter-spacing: -.005em; text-align: center; text-decoration: none; isolation: isolate;
  transition: color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acc); transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transition: transform .5s var(--ease2), border-radius .5s var(--ease2); }
.btn:hover::before, .btn:focus-visible::before { transform: none; border-radius: 0; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 1.12rem; }
.btn--ink, .btn--acc { background: var(--ink); color: #fff; }
.btn--ink:hover, .btn--acc:hover { color: #fff; box-shadow: 0 14px 34px -12px rgba(31, 79, 224, .6); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn--line::before { background: #fff; }
.btn--line:hover { color: var(--acc); }
.btn:active { transform: scale(.975); }
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(4px); }

/* ---------- top bar, low-vision switch, niches ---------- */
.studio-bar { background: var(--ink); color: #fff; position: relative; z-index: 6; }
.studio-bar__in { display: flex; align-items: center; gap: 16px; min-height: 52px; }
.studio-bar__link { display: inline-flex; align-items: center; min-height: 44px; font: 600 1.05rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; padding: 12px 0; }
.studio-bar__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.studio-bar__note { display: none; margin-right: auto; font-size: .86rem; color: #AEBBC3; }
@media (min-width: 900px) { .studio-bar__note { display: block; } }
.studio-bar__link { margin-right: auto; }
@media (min-width: 900px) { .studio-bar__link { margin-right: 0; } }
.lvbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: 500 .84rem/1 var(--sans); cursor: pointer; transition: background-color .25s; }
.lvbtn:hover { background: rgba(255, 255, 255, .24); }
.lvbtn[aria-pressed="true"] { background: #fff; color: var(--ink); }
.lvbtn__i { font: 400 1rem/1 var(--serif); }
@media (max-width: 520px) { .lvbtn__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .lvbtn { padding: 0 12px; } }

.mast { background: transparent; position: relative; z-index: 5; }
.mast__in { padding-block: 10px 0; }
.niches { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.niche { display: inline-flex; align-items: center; min-height: 44px; padding: 0 clamp(10px, 2vw, 16px); border-radius: 999px; color: var(--mute); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .25s, background-color .25s; }
.niche:hover { color: var(--ink); background: rgba(11, 19, 23, .06); }
.niche.is-current { background: var(--ink); color: #fff; }

/* ---------- stage: hero + pinned story, one canvas ---------- */
.stage { position: relative; background: linear-gradient(180deg, #D9E2E8 0%, #E3EAEE 40%, #DAE3E8 100%); margin-top: -56px; padding-top: 56px; }
.stage__pin { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; z-index: 0; pointer-events: none; }
.stage.is-3d .stage__pin { position: sticky; top: 0; margin-bottom: -100vh; margin-bottom: -100svh; }
.stage__pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 58% at 74% 42%, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 72%); }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.stage.is-live #gl, .stage.is-static #gl { opacity: 1; }
.stage__fallback { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .9s; }
.stage__poster, .stage__poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.stage__poster img { object-fit: contain; object-position: 50% 50%; max-width: none; }
.stage__fallback svg { width: min(30vw, 300px); height: auto; aspect-ratio: 60 / 92; fill: url(#g-cer); stroke: #CFC8B8; stroke-width: .7; stroke-linejoin: round; filter: drop-shadow(0 40px 40px rgba(11, 19, 23, .2)); transform: translate(clamp(0px, 29vw, 440px), -2vh); }
@media (max-width: 899px) { .stage__fallback svg { width: min(40vw, 200px); transform: translate(clamp(0px, 14vw, 60px), -4vh); } }
.stage.is-3d.is-live .stage__fallback { opacity: 0; transition: opacity .5s ease .85s; } /* постер уходит, когда холст под ним уже непрозрачен */
.stage.is-static .stage__fallback { opacity: 0; }
.stage__tags { position: absolute; inset: 0; }
.stage__tag { position: absolute; left: 0; top: 0; display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; font: 500 .8rem/1 var(--sans); white-space: nowrap; color: var(--ink); background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 24px -10px rgba(11, 19, 23, .25), inset 0 0 0 1px rgba(255, 255, 255, .8); opacity: 0; transition: opacity .5s, background-color .35s, color .35s; will-change: transform; }
.stage__tag b { font-weight: 600; letter-spacing: .06em; }
.stage.is-arch .stage__tag { opacity: 1; }
.stage__tag.is-on { background: var(--ink); color: #fff; }
@media (max-width: 640px) { .stage__tag { padding: 5px 8px; font-size: .68rem; } .stage__tag { font-size: 0; } .stage__tag b { font-size: .72rem; } }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100vh - 110px); min-height: calc(100svh - 110px); padding-block: clamp(150px, 46svh, 360px) clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .hero { min-height: calc(100svh - 110px); padding-top: 56px; } }
.hero__in { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.kicker__no { background: var(--ink); color: #fff; padding: 7px 14px; border-radius: 999px; letter-spacing: .12em; }
h1 { font: 300 min(9vw, 3rem)/.98 var(--sans); letter-spacing: -.045em; }
@media (min-width: 720px) { h1 { font-size: clamp(3.2rem, 6.9vw, 8rem); line-height: .94; } }
h1 .ln { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.1em; }
h1 .ln__in { display: inline-block; will-change: transform; }
h1 em { font-weight: 300; letter-spacing: -.025em; padding-right: .06em; }
.hero__bottom { display: grid; gap: clamp(26px, 3vw, 40px); align-items: end; margin-top: clamp(6px, 1.5vw, 20px); }
@media (min-width: 1060px) { .hero__bottom { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(32px, 5vw, 96px); } }
.hero__lead { max-width: 34em; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.5; color: var(--ink2); }
.doors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; }
.doors li:last-child .door { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-inline: 12px; }
.doors li:last-child .door::before { display: none; }
.doors li:last-child .door:hover { color: var(--acc); }
.doors li:last-child .door__t > :first-child { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.door { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 8px 22px 8px 24px; border-radius: 999px; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 10px 30px -14px rgba(11, 19, 23, .25); overflow: hidden; isolation: isolate; transition: color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transition: transform .5s var(--ease2), border-radius .5s var(--ease2); }
.door:hover::before, .door:focus-visible::before { transform: none; border-radius: 0; }
.door:hover, .door:focus-visible { color: #fff; }
.door:active { transform: scale(.98); }
.door--main { background: var(--ink); color: #fff; box-shadow: 0 18px 40px -16px rgba(11, 19, 23, .6); }
.door--main::before { background: var(--acc); }
.door__no { display: none; }
.door__t { display: grid; gap: 2px; font: 500 1.02rem/1.15 var(--sans); }
.door__t small { font: 400 .8rem/1.2 var(--sans); opacity: .72; }
.door .i { width: 1.2em; height: 1.2em; transition: transform .4s var(--ease); }
.door:hover .i { transform: translateX(3px); }
.hero__note { margin-top: 14px; max-width: 36em; font-size: .88rem; line-height: 1.5; color: var(--mute); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(14px, 2.4vw, 36px); padding-top: 18px; border-top: 1px solid rgba(11, 19, 23, .22); }
.facts li { display: grid; gap: 2px; align-content: start; }
.facts b { font: 300 clamp(1.25rem, 2.3vw, 2.1rem)/1.08 var(--sans); letter-spacing: -.035em; }
.facts span { font-size: clamp(.78rem, 1vw, .92rem); line-height: 1.3; color: var(--mute); }
@media (max-width: 520px) { .facts { gap: 0 12px; } .facts b { font-size: 1.12rem; } }
.hero__cue { position: absolute; right: var(--gut); top: 96px; display: none; align-items: center; gap: 10px; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.hero__cue i { width: 1px; height: 54px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 900px) { .hero__cue { display: flex; } }

/* ---------- story: пакеты на зубной дуге ---------- */
.story { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 140px); }
.story__in { display: grid; gap: clamp(28px, 4vw, 48px); }
.story__head h2 { margin-top: 22px; max-width: 16em; font: 300 clamp(2rem, 4.6vw, 4.2rem)/1.02 var(--sans); letter-spacing: -.04em; }
.story__caps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.story__cap { padding: 26px 24px 24px; border-radius: var(--r1); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9); }
.story__n { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.story__n b { color: var(--acc); font-weight: 600; }
.story__cap { container-type: inline-size; }
.story__name { margin-top: 10px; font: 300 clamp(2.2rem, 5vw, 3.4rem)/1 var(--serif); letter-spacing: -.02em; }
@supports (font-size: 1cqw) { .story__name { font-size: min(12.5cqw, 3.6rem); } }
.story__price { margin-top: 12px; font: 300 clamp(1.7rem, 3vw, 2.5rem)/1.05 var(--sans); letter-spacing: -.035em; }
.story__meta { margin-top: 6px; font-size: .94rem; color: var(--mute); }
.story__t { margin-top: 14px; max-width: 30em; color: var(--ink2); }
.story__ex { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.story__ex a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .25s, color .25s; }
.story__ex a:hover { background: var(--ink); color: #fff; }
.story__note { font-size: .9rem; color: var(--mute); }
.story__meter { display: none; }
@media (max-width: 899px) { .story__cap:nth-child(n) { background: var(--card); } }

/* pinned (JS + WebGL, no reduced motion) */
.stage.is-3d .story { height: 480vh; height: 480svh; padding: 0; }
.stage.is-3d .story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; }
.stage.is-3d .story__in { position: relative; height: 100%; padding-block: clamp(26px, 5vh, 64px); gap: 0; grid-template-rows: auto 1fr auto; align-content: stretch; pointer-events: none; }
.stage.is-3d .story__head { grid-row: 1; max-width: min(36rem, 100%); }
.stage.is-3d .story__head h2 { font-size: clamp(1.45rem, 3.1vw, 2.9rem); margin-top: 14px; }
.stage.is-3d .story__caps { position: absolute; top: clamp(26px, 5vh, 64px); right: 0; width: min(33rem, 46%); display: grid; grid-template-columns: 1fr; gap: 0; }
.stage.is-3d .story__cap { grid-area: 1 / 1; padding: 0; background: none; box-shadow: none; opacity: 0; transform: translateY(26px); visibility: hidden; transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .55s; }
.stage.is-3d.is-caps .story__cap.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; pointer-events: auto; }
@supports (font-size: 1cqw) { .stage.is-3d .story__name { font-size: min(12.5cqw, 5.6rem); } }
.stage.is-3d .story__price { font-size: clamp(1.6rem, 3.4vw, 3rem); }
.stage.is-3d .story__note { grid-row: 3; align-self: end; max-width: 26em; }
.stage.is-3d .story__meter { display: block; position: absolute; left: 0; right: 0; bottom: clamp(8px, 2vh, 20px); height: 2px; background: rgba(11, 19, 23, .14); }
.stage.is-3d .story__meter i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--q, 0)); }
/* невысокие окна (ноутбуки 1280×720, 1366×768): описание пакета убираем, чтобы кнопки «Опора»/«Штиль» не налезали на подписи зубов */
@media (min-width: 900px) and (max-height: 820px) { .stage.is-3d .story__t { display: none; } }
@media (max-width: 899px) {
  .stage.is-3d .story__in { padding-top: 22px; }
  .stage.is-3d .story__head h2 { font-size: clamp(1.25rem, 5.2vw, 1.7rem); max-width: 14em; }
  .stage.is-3d .story__head .kicker { display: none; }
  .stage.is-3d .story__caps { position: static; width: 100%; margin-top: 14px; grid-row: 2; align-self: start; }
  @supports (font-size: 1cqw) { .stage.is-3d .story__name { font-size: min(12.5cqw, 3.4rem); } }
  .stage.is-3d .story__price { font-size: 1.5rem; margin-top: 6px; }
  .stage.is-3d .story__t { display: none; }
  .stage.is-3d .story__ex { margin-top: 10px; }
  .stage.is-3d .story__note { font-size: .78rem; margin-bottom: 76px; max-width: none; }
  .stage.is-3d .story__n { font-size: .72rem; }
}

/* ---------- phones: reading text is at least 16px (the pinned 3D story keeps its own compact footnote) ---------- */
@media (max-width: 759px) {
  .hero__note, .story__meta, .story__note { font-size: 1rem; }
  .stage.is-3d .story__note { font-size: .875rem; }
}

/* ---------- below the fold: layout and paint are skipped until a section is near the screen ----------
   Not on the stage (pinned scenes) nor on the catalog (tooth links scroll to its cards). Sizes are the measured heights (phone / desktop). */
.sec--anat, .sec--law, .sec--how, .sec--pkg, .sec--pay, .sec--care, .sec--faq, .cta { content-visibility: auto; }
.sec--anat { contain-intrinsic-block-size: auto 1250px; }
.sec--law { contain-intrinsic-block-size: auto 3050px; }
.sec--how { contain-intrinsic-block-size: auto 1900px; }
.sec--pkg { contain-intrinsic-block-size: auto 5400px; }
.sec--pay { contain-intrinsic-block-size: auto 1400px; }
.sec--care { contain-intrinsic-block-size: auto 4150px; }
.sec--faq { contain-intrinsic-block-size: auto 930px; }
.cta { contain-intrinsic-block-size: auto 700px; }
@media (min-width: 760px) {
  .sec--anat { contain-intrinsic-block-size: auto 1100px; }
  .sec--law { contain-intrinsic-block-size: auto 2450px; }
  .sec--how { contain-intrinsic-block-size: auto 1400px; }
  .sec--pkg { contain-intrinsic-block-size: auto 3000px; }
  .sec--pay { contain-intrinsic-block-size: auto 1100px; }
  .sec--care { contain-intrinsic-block-size: auto 2300px; }
  .sec--faq { contain-intrinsic-block-size: auto 950px; }
  .cta { contain-intrinsic-block-size: auto 850px; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(84px, 12vw, 190px); }
.sec__head { display: grid; gap: 18px; max-width: 64rem; margin-bottom: clamp(36px, 5vw, 72px); }
.sec__no { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sec__no b { display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; letter-spacing: .06em; }
.sec__head h2 { font: 300 clamp(2.2rem, 5.8vw, 5.4rem)/1 var(--sans); letter-spacing: -.045em; }
.sec__head h2 em { letter-spacing: -.03em; }
.sec__lead { max-width: 38em; font-size: clamp(1.06rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink2); }
.note { margin-top: 28px; font-size: .92rem; color: var(--mute); }
.sec--how, .sec--pay, .sec--faq, .sec--anat { background: var(--bg2); }

/* ---------- tooth chart ---------- */
.chart { padding: clamp(22px, 3vw, 40px) clamp(14px, 3vw, 40px) clamp(18px, 2.4vw, 30px); margin-bottom: clamp(32px, 4vw, 56px); background: var(--card); border-radius: var(--r1); box-shadow: 0 30px 80px -40px rgba(11, 19, 23, .3); }
.chart__cap { display: grid; gap: 6px; padding: 0 6px 6px; }
.chart__cap span:first-child { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.chart__cap span:last-child { max-width: 44em; font-size: .94rem; color: var(--ink2); }
.chart__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
@media (min-width: 640px) { .chart__row { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.chart__row li { display: flex; min-width: 0; }
.tooth {
  position: relative; flex: 1; display: grid; grid-template-rows: clamp(84px, 11vw, 130px) auto auto 1fr; justify-items: center; align-items: start; row-gap: 5px;
  min-width: 0; min-height: 44px; padding: 32px 4px 16px; border-radius: var(--r2); text-align: center; text-decoration: none; color: var(--ink);
  --tf: #fff; transition: background-color .3s var(--ease);
}
.tooth[data-t="2"] { --tf: #D7E1FD; }
.tooth[data-t="3"] { --tf: #8FA9F5; }
.tooth[data-t="4"] { --tf: var(--acc); }
.tooth svg { grid-row: 1; align-self: end; width: calc(var(--s, 1) * clamp(40px, 5.4vw, 74px)); height: auto; aspect-ratio: 60 / 92; overflow: visible; fill: var(--tf); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; transition: transform .5s var(--ease), fill .3s; }
.tooth__n { grid-row: 2; margin-top: 8px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; color: var(--mute); }
.tooth__rung { grid-row: 3; display: block; width: 30px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) calc(var(--r, 0) * 25%), var(--line) 0); }
.tooth__name { grid-row: 4; font: 400 clamp(.95rem, 1.5vw, 1.25rem)/1.15 var(--serif); letter-spacing: -.01em; }
.tooth__p { position: absolute; left: 50%; top: 4px; transform: translate(-50%, 6px); white-space: nowrap; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 .76rem/1.2 var(--sans); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); z-index: 2; }
.tooth:hover, .tooth:focus-visible { background: var(--bg); }
.tooth:hover svg, .tooth:focus-visible svg { transform: translateY(-12px) rotate(-3deg); }
.tooth:hover .tooth__p, .tooth:focus-visible .tooth__p { opacity: 1; transform: translate(-50%, 0); }
.tooth:hover .tooth__n { color: var(--ink); }
.tooth:focus-visible { outline-offset: -3px; }
.tooth:active svg { transform: translateY(-4px) scale(.94); }
@media (hover: none) { .tooth__p { position: static; transform: none; opacity: 1; background: none; color: var(--mute); padding: 0; grid-row: 5; font-size: .74rem; } .tooth { grid-template-rows: clamp(84px, 11vw, 130px) auto auto auto 1fr; } }
.chart__stage { margin-top: 12px; min-height: 3.4em; padding: 14px 18px; border-radius: var(--r2); background: var(--acc-t); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; line-height: 1.4; }
.chart__stage b { font: 400 1.35rem/1.2 var(--serif); }
.chart__stage i { font: 600 .74rem/1.2 var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-d); }
.chart__stage span { color: var(--ink2); }

/* ---------- filters ---------- */
.filters { display: grid; gap: 18px; margin-bottom: 26px; }
.filters__row { display: grid; gap: 18px 40px; }
@media (min-width: 900px) { .filters__row { grid-template-columns: auto 1fr; } }
.fgroup__t { margin-bottom: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.fgroup__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font: 500 .96rem/1 var(--sans); transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip.is-zero { color: #7C8A92; }
.chip__t { width: 11px; height: auto; aspect-ratio: 60 / 92; flex: none; fill: var(--tf); stroke: currentColor; stroke-width: 4; stroke-linejoin: round; }
.chip__n { font-size: .78rem; color: var(--mute); font-weight: 600; }
.chip[aria-pressed="true"] .chip__n { color: #C6D0D6; }
.filters__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.filters__count { font-size: .94rem; color: var(--mute); }
.filters__reset { min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--acc); }

/* ---------- rail ---------- */
.rail { overflow-x: auto; scrollbar-width: none; position: sticky; top: 10px; z-index: 30; width: max-content; max-width: 100%; margin: 0 auto clamp(26px, 4vw, 44px); border-radius: 999px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 14px 40px -16px rgba(11, 19, 23, .32), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.rail__row { display: flex; }
.rail__a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; min-width: 44px; padding: 6px clamp(8px, 1.6vw, 18px); border-radius: 999px; text-decoration: none; color: var(--ink); font: 600 .8rem/1 var(--sans); letter-spacing: .08em; transition: background-color .3s var(--ease), color .3s; }
.rail__a svg { width: 12px; height: auto; aspect-ratio: 60 / 92; flex: none; fill: var(--tf); stroke: currentColor; stroke-width: 4; stroke-linejoin: round; transition: transform .3s var(--ease); }
.rail__a span { display: none; font: 400 1rem/1 var(--serif); letter-spacing: 0; }
@media (min-width: 1000px) { .rail__a span { display: inline; } }
.rail__a:hover { background: rgba(11, 19, 23, .07); }
.rail__a.is-current { background: var(--ink); color: #fff; }
.rail__a.is-current svg { transform: translateY(-2px); }
.rail__a:focus-visible { outline-offset: -3px; }
@media (max-width: 599px) { .rail__a b { font-size: .74rem; } .rail__a { padding-inline: 6px; gap: 5px; } .rail__a svg { width: 10px; } }

/* ---------- catalog grid: big cards ---------- */
.tgrid { display: grid; gap: clamp(48px, 6vw, 96px) clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tgrid > .cell:nth-child(even) { margin-top: clamp(60px, 9vw, 140px); } }
.cell { scroll-margin-top: 96px; }
.cell[data-pack="start"] { --r: 1; } .cell[data-pack="clinic"] { --r: 2; } .cell[data-pack="premium"] { --r: 3; } .cell[data-pack="custom"] { --r: 4; }
.plate { display: grid; gap: 22px; transition: transform .6s var(--ease); }
.plate__shot { position: relative; display: block; overflow: hidden; border-radius: var(--r1); aspect-ratio: 4 / 4.6; background: var(--bg2); box-shadow: 0 40px 90px -50px rgba(11, 19, 23, .5); outline: 1px solid rgba(11, 19, 23, .1); outline-offset: -1px; cursor: pointer; isolation: isolate; }
.plate__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.001); transition: transform 1.2s var(--ease); }
.plate__shot::after { content: "Открыть демо"; position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; padding: 0 22px; min-height: 54px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 .95rem/1 var(--sans); white-space: nowrap; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
@media (hover: hover) { .plate__shot:hover img { transform: scale(1.05); } .plate__shot:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.plate__tier { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 22px -10px rgba(11, 19, 23, .45), inset 0 0 0 1px rgba(11, 19, 23, .08); color: var(--ink); font: 600 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.plate__fdi { position: absolute; right: 18px; top: 18px; z-index: 2; padding: 4px 16px 7px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 22px -10px rgba(11, 19, 23, .45), inset 0 0 0 1px rgba(11, 19, 23, .08); color: var(--ink); font: 300 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--serif); font-style: italic; }
@media (max-width: 640px) { .plate__tier { left: 12px; top: 12px; padding: 6px 11px; font-size: .66rem; } .plate__fdi { right: 12px; top: 12px; padding: 2px 12px 5px; font-size: 1.3rem; } }
.plate__body { display: grid; gap: 10px; }
.plate__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.plate__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mute); }
.plate__name { font: 300 clamp(2.6rem, 5.2vw, 4.6rem)/1 var(--serif); letter-spacing: -.025em; }
.plate__kind { font-size: 1.18rem; font-weight: 500; letter-spacing: -.015em; }
.plate__sig { max-width: 34em; color: var(--ink2); }
.plate__lbl { display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.plate__foot { display: grid; gap: 18px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .plate__foot { grid-template-columns: 1fr auto; align-items: end; } }
.plate__price::before { content: ""; display: block; width: 92px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) calc(var(--r, 0) * 25%), var(--line) 0); }
.plate__price b { display: block; font: 300 clamp(1.9rem, 3.2vw, 2.7rem)/1.05 var(--sans); letter-spacing: -.04em; }
.plate__price span { display: block; margin-top: 4px; font-size: .9rem; color: var(--mute); }
.plate__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.plate__want { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.plate__want:hover { color: var(--acc); }
.cell.is-flash .plate__shot { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 40px 90px -50px rgba(11, 19, 23, .5); } 25% { box-shadow: 0 0 0 6px var(--acc), 0 40px 90px -40px rgba(31, 79, 224, .7); } }
.plate--cta { align-content: center; min-height: 100%; padding: clamp(32px, 4vw, 56px); border-radius: var(--r1); background: var(--acc); color: #fff; gap: 16px; }
.plate--cta .plate__lbl { color: #D5E0FF; }
.plate--cta .plate__name { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.plate--cta .plate__kind { font-size: 1.04rem; font-weight: 400; color: #E2EAFF; }
.plate--cta .btn { background: #fff; color: var(--ink); justify-self: start; margin-top: 8px; }
.plate--cta .btn::before { background: var(--ink); }
.plate--cta .btn:hover { color: #fff; }
.plate--cta :focus-visible { outline-color: #fff; box-shadow: none; }
.empty { padding: 36px; border-radius: var(--r1); background: var(--card); display: grid; gap: 10px; justify-items: start; }

/* ---------- anatomy: первый экран клиники ---------- */
.anatomy { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1000px) { .anatomy { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.shot { border-radius: var(--r1); background: var(--card); box-shadow: 0 50px 110px -50px rgba(11, 19, 23, .55); overflow: hidden; }
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #E9EEF1; font-size: .8rem; color: var(--mute); }
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; background: #C9D2D8; }
.shot__bar span { margin-left: 14px; padding: 5px 14px; border-radius: 999px; background: #fff; }
.shot__body { position: relative; display: grid; gap: 16px; padding: clamp(22px, 3.4vw, 44px); }
.shot__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: .86rem; color: var(--mute); }
.shot__nav b { margin-right: auto; font-size: 1.1rem; color: var(--ink); }
.shot__eye { padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.shot__eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.shot__h { position: relative; max-width: 14em; font: 300 clamp(1.8rem, 3.8vw, 3.4rem)/1.05 var(--sans); letter-spacing: -.04em; }
.shot__h u { text-decoration: none; font-family: var(--serif); font-style: italic; color: var(--acc); }
.shot__btn { position: relative; justify-self: start; padding: 15px 28px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; }
.shot__doc { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r2); background: var(--bg); }
.shot__doc i { width: 46px; height: 46px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #fff, #CBD5DB); }
.shot__doc p { display: grid; font-size: .9rem; }
.shot__doc span { font-size: .8rem; color: var(--mute); }
.shot__warn { position: relative; padding: 14px 16px; border-radius: var(--r2); background: var(--ink); color: #fff; font-size: .92rem; font-weight: 500; }
.pin { position: absolute; right: -8px; top: -8px; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; font: 600 .76rem/1 var(--sans); box-shadow: 0 0 0 4px rgba(31, 79, 224, .2); }
.shot__btn .pin { right: -10px; }
.anatomy__t { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.anatomy__list { margin-top: 18px; display: grid; gap: 0; }
.anatomy__list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.12rem; line-height: 1.4; }
.anatomy__list b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: #fff; font-size: .82rem; }

/* ---------- law ---------- */
.ledger { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 960px) { .ledger { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.ledger__h { margin-bottom: 22px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.strikes { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.strikes li { font: 300 clamp(2.4rem, 5vw, 4.2rem)/1.1 var(--serif); font-style: italic; letter-spacing: -.02em; color: #7C8A92; }
.strikes s { text-decoration-thickness: 2px; text-decoration-color: var(--acc); }
.nolist { margin-top: 28px; display: grid; }
.nolist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.nolist .i { margin-top: .15em; color: var(--acc); }
.yeslist { counter-reset: y; display: grid; }
.yeslist li { counter-increment: y; display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.yeslist li::before { content: counter(y, decimal-leading-zero); grid-row: span 2; font: 300 1.7rem/1.1 var(--serif); font-style: italic; color: var(--acc); }
.yeslist b { display: block; font-size: 1.18rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.yeslist span { display: block; margin-top: 4px; color: var(--ink2); }
.qr { width: 1.3em; height: 1.3em; vertical-align: -.3em; margin-left: 4px; fill: var(--ink); }
.band { margin-top: clamp(48px, 7vw, 96px); padding: clamp(32px, 5vw, 72px); border-radius: var(--r1); background: var(--ink); color: #fff; display: grid; gap: 14px; }
.band__cap { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #AEBBC3; }
.band__txt { max-width: 18em; font: 300 clamp(2rem, 5.2vw, 4.6rem)/1.05 var(--sans); letter-spacing: -.04em; }
.band__sub { color: #C6D0D6; }
.pair { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 18px; }
@media (min-width: 900px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair__item { padding: clamp(24px, 3vw, 40px); border-radius: var(--r1); display: grid; gap: 14px; align-content: start; }
.pair__item--no { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--mute); }
.pair__item--yes { background: var(--card); box-shadow: 0 30px 70px -44px rgba(11, 19, 23, .4); }
.pair figcaption { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pair__item--yes figcaption { color: var(--acc); }
.pair blockquote { font: 400 clamp(1.1rem, 1.7vw, 1.4rem)/1.45 var(--serif); letter-spacing: -.01em; }
.pair__item--no blockquote { text-decoration: line-through; text-decoration-color: rgba(31, 79, 224, .55); text-decoration-thickness: 1.5px; }

/* ---------- how ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1160px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r1); background: var(--card); }
.steps__n { font: 300 clamp(4rem, 7vw, 6.4rem)/.9 var(--serif); font-style: italic; color: var(--acc); }
.steps__when { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.steps h3 { margin-top: 6px; font: 500 1.4rem/1.2 var(--sans); letter-spacing: -.025em; }
.steps p { color: var(--ink2); font-size: 1rem; }
.offer { margin-top: clamp(28px, 4vw, 56px); display: grid; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 72px); border-radius: var(--r1); background: var(--acc); color: #fff; }
@media (min-width: 900px) { .offer { grid-template-columns: 1fr auto; } }
.offer__k { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #D5E0FF; }
.offer__h { margin-top: 12px; max-width: 18em; font: 300 clamp(1.8rem, 3.8vw, 3.4rem)/1.08 var(--sans); letter-spacing: -.04em; }
.offer__t { margin-top: 14px; max-width: 36em; color: #E2EAFF; }
.offer .btn { background: #fff; color: var(--ink); }
.offer .btn::before { background: var(--ink); }
.offer .btn:hover { color: #fff; }
.offer :focus-visible { outline-color: #fff; box-shadow: none; }

/* ---------- packages ---------- */
.pkgs { display: grid; gap: 16px; }
@media (min-width: 760px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .pkgs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pkg article { position: relative; display: grid; align-content: start; gap: 14px; height: 100%; padding: clamp(26px, 2.4vw, 34px); border-radius: var(--r1); background: var(--card); box-shadow: 0 30px 70px -50px rgba(11, 19, 23, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pkg article:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(11, 19, 23, .4); }
.pkg__n { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.pkg article { container-type: inline-size; }
.pkg__name { font: 300 clamp(2rem, 3.2vw, 3rem)/1 var(--serif); letter-spacing: -.02em; }
@supports (font-size: 1cqw) { .pkg__name { font-size: min(11.5cqw, 3rem); } }
.pkg__price { font: 300 clamp(1.8rem, 2.6vw, 2.4rem)/1.05 var(--sans); letter-spacing: -.04em; white-space: nowrap; }
.pkg__meta { font-size: .9rem; color: var(--mute); }
.pkg__lead { color: var(--ink2); }
.pkg__list { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pkg__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; line-height: 1.4; }
.pkg__list .i { width: 18px; height: 18px; margin-top: 1px; color: var(--acc); stroke-width: 2.2; }
.pkg__ex { font-size: .92rem; color: var(--mute); }
.pkg__ex a { color: var(--ink); font-family: var(--serif); font-size: 1.04rem; text-decoration-color: var(--acc); text-underline-offset: 4px; }
.pkg__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; color: var(--acc); }
.pkg__link .i { transition: transform .35s var(--ease); }
.pkg__link:hover .i { transform: translateX(5px); }
.pkg--hot article { background: var(--ink); color: #fff; box-shadow: 0 40px 90px -40px rgba(11, 19, 23, .7); }
.pkg--hot .pkg__n, .pkg--hot .pkg__meta, .pkg--hot .pkg__ex { color: #AEBBC3; }
.pkg--hot .pkg__lead { color: #D8E0E4; }
.pkg--hot .pkg__list { border-color: rgba(255, 255, 255, .18); }
.pkg--hot .pkg__list .i, .pkg--hot .pkg__link { color: #9DB6FF; }
.pkg--hot .pkg__ex a { color: #fff; }
.pkg--hot :focus-visible { outline-color: #fff; box-shadow: none; }
.pkg__badge { position: absolute; right: 22px; top: 22px; padding: 7px 12px; border-radius: 999px; background: var(--acc); color: #fff; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* ladder */
.ladder { margin-top: clamp(56px, 8vw, 110px); }
.ladder__head h3 { font: 300 clamp(1.8rem, 3.6vw, 3.2rem)/1.05 var(--sans); letter-spacing: -.04em; }
.ladder__head p { margin-top: 12px; max-width: 46em; color: var(--ink2); }
.ladder__scroll { margin-top: 28px; overflow-x: auto; border-radius: var(--r1); background: var(--card); box-shadow: 0 30px 70px -50px rgba(11, 19, 23, .45); -webkit-overflow-scrolling: touch; }
.ladder__scroll:focus-visible { outline-offset: 3px; }
.lad { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.lad th, .lad td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.35; }
.lad thead th { position: relative; padding-top: 46px; font: 300 1.5rem/1.1 var(--serif); letter-spacing: -.01em; background: var(--card); }
.lad thead th small { display: block; margin-top: 6px; font: 500 .86rem/1.2 var(--sans); color: var(--mute); }
.lad__bar { position: absolute; left: 18px; top: 20px; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) calc(var(--r) * 25%), var(--line) 0); }
.lad tbody th, .lad tfoot th { width: 28%; font-weight: 500; position: sticky; left: 0; background: var(--card); z-index: 1; }
.lad tbody th small { display: block; margin-top: 2px; font-weight: 400; font-size: .82rem; color: var(--mute); }
.lad td.yes .i { width: 1.25em; height: 1.25em; padding: 3px; border-radius: 50%; background: var(--acc-t); color: var(--acc); stroke-width: 2.4; }
.lad td.new { background: #F1F5FF; }
.lad td.new.yes .i { background: var(--acc); color: #fff; }
.lad td.no { color: #6E7C84; }
.lad td.val { font-weight: 500; }
.lad td.val i { font-style: normal; color: var(--mute); font-weight: 400; }
.lad tr:last-child > * { border-bottom: 0; }
.lad tfoot th, .lad tfoot td { border-top: 1px solid var(--ink); background: var(--card); }
.lad tfoot a { font-family: var(--serif); font-size: 1.05rem; text-decoration-color: var(--acc); text-underline-offset: 4px; }
.ladder__steps { display: none; margin-top: 20px; gap: 14px; }
.lstep { position: relative; padding: 36px 22px 22px; border-radius: var(--r1); background: var(--card); }
.lstep__bar { position: absolute; left: 22px; top: 20px; width: 64px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc) calc(var(--r) * 25%), var(--line) 0); }
.lstep h4 { font: 300 1.9rem/1.1 var(--serif); }
.lstep h4 small { display: block; margin-top: 4px; font: 500 .92rem/1.2 var(--sans); color: var(--mute); }
.lstep__k { margin-top: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.lstep ul { margin-top: 8px; display: grid; }
.lstep li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.4; }
.lstep ul li::before { content: "+"; position: absolute; left: 2px; top: 9px; color: var(--acc); font-weight: 600; }
.lstep__ex { margin-top: 12px; font-size: .92rem; color: var(--mute); }
.lstep__ex a { font-family: var(--serif); color: var(--ink); text-decoration-color: var(--acc); text-underline-offset: 4px; }
@media (max-width: 759px) { .ladder__scroll { display: none; } .ladder__steps { display: grid; } }

/* ---------- payment ---------- */
.pay { display: grid; gap: 14px; }
@media (min-width: 900px) { .pay { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay > article { position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(26px, 3vw, 44px); border-radius: var(--r1); background: var(--card); }
.pay h3 { font: 300 clamp(1.7rem, 2.8vw, 2.5rem)/1.1 var(--sans); letter-spacing: -.035em; }
.pay p { color: var(--ink2); max-width: 34em; }
.pay__k { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.pay__badge { position: absolute; right: 22px; top: 22px; padding: 7px 12px; border-radius: 999px; background: var(--acc-t); color: var(--acc-d); font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.pay__a { background: var(--ink) !important; color: #fff; }
.pay__a p { color: #D2DBE0; }
.pay__a .pay__badge { background: var(--acc); color: #fff; }
.split { display: flex; gap: 6px; margin-top: 12px; }
.split span { display: grid; align-content: end; gap: 2px; min-height: 96px; padding: 14px 14px 12px; border-radius: var(--r2); background: var(--acc-t); font-size: .8rem; line-height: 1.25; color: var(--ink2); }
.split span:nth-child(1) { background: var(--acc); color: #fff; }
.split span:nth-child(2) { background: #A8BDFA; color: var(--ink); }
.split b { font: 300 clamp(1.8rem, 3.4vw, 3rem)/1 var(--sans); letter-spacing: -.04em; }
.split--one span { background: rgba(255, 255, 255, .12) !important; color: #fff !important; }

/* ---------- care ---------- */
.gift { display: grid; gap: 6px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r1); background: var(--acc-t); margin-bottom: 18px; }
.gift p:first-child { font: 400 clamp(1.2rem, 2vw, 1.7rem)/1.3 var(--sans); letter-spacing: -.02em; }
.gift p:last-child { color: var(--ink2); max-width: 46em; }
.cares { display: grid; gap: 16px; }
@media (min-width: 900px) { .cares { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.care article { position: relative; display: grid; align-content: start; gap: 12px; height: 100%; padding: clamp(26px, 2.6vw, 36px); border-radius: var(--r1); background: var(--card); }
.care article { container-type: inline-size; }
.care__name { font: 300 clamp(1.8rem, 2.6vw, 2.5rem)/1.05 var(--serif); letter-spacing: -.02em; }
@supports (font-size: 1cqw) { .care__name { font-size: min(10.5cqw, 2.5rem); } }
.care__price { font: 300 clamp(1.8rem, 2.6vw, 2.4rem)/1.05 var(--sans); letter-spacing: -.04em; }
.care__price small, .ai__price small { font-size: .9rem; letter-spacing: 0; color: var(--mute); margin-left: 4px; }
.care__lead { color: var(--ink2); }
.care__list { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.care__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; line-height: 1.4; }
.care__list .i { width: 18px; height: 18px; margin-top: 1px; color: var(--acc); stroke-width: 2.2; }
.care__terms { display: grid; gap: 0; margin-top: 6px; border-top: 1px solid var(--line); }
.care__terms div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.care__terms dt { color: var(--mute); }
.care__terms dd { font-weight: 500; text-align: right; }
.care__terms i { font-style: normal; color: var(--acc); font-weight: 600; }
.care__badge { position: absolute; right: 20px; top: 20px; padding: 7px 12px; border-radius: 999px; background: var(--acc); color: #fff; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.care--rec article { background: var(--ink); color: #fff; }
.care--rec .care__lead { color: #D2DBE0; }
.care--rec .care__list, .care--rec .care__terms, .care--rec .care__terms div { border-color: rgba(255, 255, 255, .18); }
.care--rec .care__terms dt, .care--rec .care__price small { color: #AEBBC3; }
.care--rec .care__list .i, .care--rec .care__terms i { color: #9DB6FF; }
.ai { margin-top: clamp(56px, 8vw, 110px); }
.ai__head { max-width: 46em; }
.ai__head h3 { font: 300 clamp(1.9rem, 3.6vw, 3.2rem)/1.05 var(--sans); letter-spacing: -.04em; }
.ai__head p { margin-top: 12px; color: var(--ink2); }
.ai__grid { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 800px) { .ai__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ai__grid article { display: grid; gap: 10px; align-content: start; height: 100%; padding: clamp(26px, 2.6vw, 36px); border-radius: var(--r1); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.ai__grid h4 { font: 300 1.9rem/1.1 var(--serif); }
.ai__price { font: 300 clamp(1.7rem, 2.4vw, 2.2rem)/1.1 var(--sans); letter-spacing: -.04em; }
.ai__setup { font-weight: 500; color: var(--acc); }

/* ---------- faq ---------- */
.faq__list { display: grid; }
.qa { border-top: 1px solid rgba(11, 19, 23, .18); }
.qa:last-child { border-bottom: 1px solid rgba(11, 19, 23, .18); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 18px 0; cursor: pointer; list-style: none; font: 400 clamp(1.15rem, 1.9vw, 1.7rem)/1.25 var(--sans); letter-spacing: -.025em; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--acc); }
.qa__i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.qa[open] .qa__i { transform: rotate(135deg); background: var(--ink); color: #fff; box-shadow: none; }
.qa p { max-width: 46em; padding: 0 56px 28px 0; color: var(--ink2); }
@media (min-width: 1000px) { .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 clamp(40px, 6vw, 96px); align-items: start; } .faq .sec__head { position: sticky; top: 96px; margin-bottom: 0; } }

/* ---------- cta + footer ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(96px, 14vw, 220px); background: var(--acc); color: #fff; }
.cta::before { content: ""; position: absolute; right: -10vw; top: -30%; width: 60vw; height: 160%; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)); pointer-events: none; }
.cta__in { position: relative; display: grid; gap: 40px; }
.cta__k { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #D5E0FF; }
.cta h2 { margin-top: 16px; max-width: 14em; font: 300 clamp(2.4rem, 6.6vw, 6.6rem)/.98 var(--sans); letter-spacing: -.05em; }
.cta h2 em { color: #D5E0FF; }
.cta__t { margin-top: 24px; max-width: 34em; font-size: 1.15rem; color: #E2EAFF; }
.cta__acts { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--acc { background: #fff; color: var(--ink); }
.cta .btn--acc::before { background: var(--ink); }
.cta .btn--acc:hover { color: #fff; }
.cta :focus-visible { outline-color: #fff; box-shadow: none; }
.foot { padding-block: clamp(36px, 5vw, 64px) calc(clamp(36px, 5vw, 64px) + 70px); background: var(--ink); color: #C6D0D6; }
@media (min-width: 760px) { .foot { padding-bottom: clamp(36px, 5vw, 64px); } }
.foot__in { display: grid; gap: 10px; }
.foot__brand { font-size: 1.2rem; color: #fff; }
.foot__note { max-width: 56em; font-size: .88rem; line-height: 1.5; }
.foot a { color: #fff; text-underline-offset: 3px; }
.foot :focus-visible { outline-color: #fff; box-shadow: none; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(243, 245, 246, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.dock .btn { flex: 1; }
.dock__tel { display: grid; place-items: center; width: 52px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (min-width: 760px) { .dock { display: none; } }

/* ---------- reveal on top of motion-lite ---------- */
.ml-ready .plate__shot img { transition: transform 1.2s var(--ease); }
/* entrance: CSS only, text is painted from the first frame (it moves, it never starts at opacity 0) */
@keyframes ln-rise { from { transform: translateY(58%); } to { transform: none; } }
@keyframes hero-rise { from { transform: translateY(18px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.lv) h1 .ln__in { animation: ln-rise 1.1s var(--ease) both; }
  html:not(.lv) h1 .ln:nth-child(2) .ln__in { animation-delay: .09s; }
  html:not(.lv) h1 .ln:nth-child(3) .ln__in { animation-delay: .18s; }
  html:not(.lv) [data-hero="fade"] { animation: hero-rise .9s var(--ease) .12s both; }
}
html.js.gs [data-img-reveal] { clip-path: inset(0 0 100% 0 round var(--r1)); }
html.js.gs [data-img-reveal].is-shown { clip-path: inset(0 0 0 0 round var(--r1)); transition: clip-path 1.3s var(--ease2); }

html.still *, html.still *::before, html.still *::after { transition: none !important; animation: none !important; }

/* ---------- low-vision & reduced motion ---------- */
html.lv { font-size: 125%; --bg: #fff; --bg2: #fff; --card: #fff; --ink: #000; --ink2: #000; --mute: #000; --line: #000; --acc: #0033CC; --acc-d: #0033CC; --acc-t: #fff; }
html.lv body { background: #fff; color: #000; }
html.lv *, html.lv *::before, html.lv *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.lv [data-reveal], html.lv [data-hero] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
html.lv h1 .ln__in, html.lv .ml-word__in { transform: none !important; opacity: 1 !important; }
html.lv .stage { background: #fff; }
html.lv .stage__pin, html.lv .stage__tags, html.lv .hero__cue { display: none !important; }
html.lv .hero { min-height: 0; padding-top: 28px; }
html.lv a { text-decoration: underline; }
html.lv .btn, html.lv .door, html.lv .chip, html.lv .plate__shot, html.lv .pkg article, html.lv .care article, html.lv .pay > article, html.lv .steps li, html.lv .story__cap, html.lv .chart, html.lv .shot, html.lv .ai__grid article, html.lv .pair__item, html.lv .ladder__scroll, html.lv .lstep { border: 2px solid #000; box-shadow: none; }
html.lv .btn--acc, html.lv .btn--ink, html.lv .door--main { background: #000; color: #FFE600; }
html.lv .cta, html.lv .offer, html.lv .plate--cta, html.lv .band, html.lv .pkg--hot article, html.lv .care--rec article, html.lv .pay__a, html.lv .foot { background: #000; color: #fff; }
html.lv .cta *, html.lv .offer *, html.lv .plate--cta *, html.lv .band *, html.lv .pkg--hot article *, html.lv .care--rec article *, html.lv .pay__a *, html.lv .foot * { color: #fff; }
html.lv .btn::before, html.lv .door::before { display: none; }
html.lv .studio-bar { color: #fff; }
html.lv .lvbtn { background: #FFE600; color: #000; }
html.lv h1 { font-weight: 500; }
/* версия для слабовидящих: обычная плотность букв и не тонкий шрифт у крупных заголовков и цен */
html.lv :is(h1, h2, h3, h4, .band__txt, .offer__h, .facts b, .story__price, .plate__price b, .pkg__price, .care__price, .ai__price, .split b, .shot__h, .strikes li, .steps__n) { letter-spacing: 0 !important; font-weight: 500; }
html.lv :is(.pkg__name, .care__name, .plate__name, .story__name, .tooth__name, .lad thead th) { letter-spacing: 0; font-weight: 500; }
html.lv em { letter-spacing: 0 !important; font-weight: 500; }
html.lv .tooth__p { opacity: 1; position: static; transform: none; background: none; color: #000; grid-row: 5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__cue i { animation: none; }
  [data-hero], h1 .ln__in { opacity: 1 !important; transform: none !important; }
  [data-img-reveal] { clip-path: none !important; }
  .plate__shot:hover img, .pkg article:hover, .tooth:hover svg { transform: none; }
}

/* AI: three products + legal line (04.11) */
@media (min-width: 1000px) { .ai__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ai__tag { justify-self: start; font: 500 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); padding: 7px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; }
.ai__legal { margin-top: 22px; display: grid; gap: 10px 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); color: var(--ink2); }
.ai__legal li { display: flex; gap: 10px; align-items: flex-start; }
.ai__legal .i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--acc); }

/* phones: the rest of the reading text is at least 16px (this block sits last so it wins over the base sizes above) */
@media (max-width: 759px) {
  .note, .foot__note, .pkg__meta, .pkg__list li, .pkg__ex, .band__cap, .lstep li, .lstep__ex { font-size: 1rem; }
}
