/* DentalCase — промо-главная. Только локальные ресурсы (CSP сайта). */
@font-face { font-family: Inter; src: url(/fonts/inter-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-SemiBold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(/fonts/interdisplay-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lora"; src: url(/fonts/lora-italic.woff2) format("woff2"); font-style: italic; font-weight: 400 700; font-display: swap; }

:root {
  --navy: #152653; --ink: #1b2340; --ink-2: #4a5272; --ink-3: #656c86;
  --accent: #4b5fd6; --accent-d: #3747b3; --pink: #e7a3e6; --pink-l: #fbeefb;
  --bg: #fbfbfe; --bg-2: #f3f4fb; --line: #e4e6f0; --line-2: #d4d8e8;
  --ok: #1f8a5b; --warn: #b5560f;
  --r: 18px; --r-sm: 12px;
  --sh: 0 1px 2px rgba(21,38,83,.06), 0 8px 24px -8px rgba(21,38,83,.12);
  --sh-lg: 0 2px 4px rgba(21,38,83,.05), 0 30px 80px -24px rgba(21,38,83,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; font: 400 17px/1.6 Inter, "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font: 500 .88em/1 ui-monospace, Consolas, monospace; background: var(--bg-2); border: 1px solid var(--line); padding: .15em .4em; border-radius: 6px; }
h1, h2, h3 { font-family: "Inter Display", Inter, sans-serif; font-weight: 600; color: var(--navy); letter-spacing: -.022em; margin: 0; }
h1 em, h2 em { font-family: Lora, Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.01em; background: linear-gradient(100deg, var(--accent) 10%, #b06bd0 60%, #d885d6); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.012em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(75,95,214,.55); outline-offset: 3px; border-radius: 6px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 500 15px/1 Inter, sans-serif; padding: 13px 20px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn.lg { padding: 16px 24px; font-size: 16px; border-radius: 14px; }
.btn.primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(21,38,83,.6); }
.btn.primary:hover { background: #1d3170; transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-d); }
.muted-in { opacity: .65; font-weight: 400; }
.link { color: var(--accent-d); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { text-decoration-thickness: 2px; }

/* Шапка */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,251,254,.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 20px/1 "Inter Display", Inter, sans-serif; color: var(--navy); text-decoration: none; letter-spacing: -.02em; }
.logo b { font-weight: 600; color: var(--accent); }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--navy) url(/favicon.svg) center/cover; flex: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links > a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.nav-links > a:hover { color: var(--navy); }
.nav-cta { display: flex; gap: 8px; }
.nav-cta-m { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; z-index: 0;
  background: radial-gradient(40% 50% at 22% 30%, rgba(75,95,214,.16), transparent 70%), radial-gradient(36% 46% at 80% 22%, rgba(231,163,230,.30), transparent 70%), radial-gradient(30% 40% at 55% 70%, rgba(120,140,240,.10), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-in { text-align: center; max-width: 1080px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.8); border: 1px solid var(--line); padding: 6px 14px 6px 10px; border-radius: 999px; box-shadow: var(--sh); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f0a020; box-shadow: 0 0 0 4px rgba(240,160,32,.18); }
.hero h1 { font-size: clamp(36px, 5.6vw, 70px); line-height: 1.03; letter-spacing: -.035em; margin: 24px 0 22px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 740px; margin: 0 auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.hero-shot { margin: 56px auto 0; max-width: 1120px; }
.caption { font-size: 13.5px; color: var(--ink-3); margin-top: 14px; }
.hero .caption, .center { text-align: center; }

/* Скриншоты */
.shot { position: relative; margin: 0; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); overflow: hidden; }
.shot > img { width: 100%; }
.hero-shot { overflow: visible; box-shadow: var(--sh-lg); border-radius: 16px; }
.hero-shot > img { border-radius: 0 0 16px 16px; }
.chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #f8f9fd); border-radius: 16px 16px 0 0; }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: #e4e6f0; }
.chrome span { margin: 0 auto; font-size: 12.5px; color: var(--ink-3); background: var(--bg-2); padding: 4px 16px; border-radius: 8px; transform: translateX(-24px); }
.float { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); padding: 10px 14px; border-radius: 12px; box-shadow: var(--sh-lg); white-space: nowrap; animation: bob 7s ease-in-out infinite; }
.float b { color: var(--navy); }
.f1 { left: -28px; top: 26%; }
.f2 { right: -32px; top: 14%; animation-delay: -2.4s; }
.f3 { right: 8%; bottom: -22px; animation-delay: -4.6s; font-weight: 600; color: var(--navy); }
.f3 span { font-weight: 400; color: var(--ink-3); }
.ok { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,138,91,.15); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Секции */
.section { padding: 120px 0; }
.head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.head.left { text-align: left; margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 16px; }
.head h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.03em; }
.daily h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.028em; }
.sub { font-size: 18px; color: var(--ink-2); margin-top: 20px; line-height: 1.6; }
.br-d { display: inline; }

/* Боль */
.pain { background: linear-gradient(180deg, var(--bg) 0%, #f4f2fa 100%); }
.pain-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.desk { position: relative; height: 470px; border-radius: 24px; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(21,38,83,.04) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(21,38,83,.04) 31px 32px), #eef0f8; border: 1px solid var(--line); overflow: hidden; }
.win { position: absolute; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(21,38,83,.35); overflow: hidden; font-size: 12px; color: var(--ink-2); }
.win-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: #f6f7fb; border-bottom: 1px solid var(--line); }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9dce8; }
.win-bar span { margin-left: 8px; font-weight: 500; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-files { left: 4%; top: 7%; width: 52%; animation: drift 9s ease-in-out infinite; }
.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.files span:nth-child(n+9):nth-child(-n+12) { display: none; }
.files span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; text-align: center; padding: 4px 2px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; line-height: 1.2; }
.files span::before { content: ""; width: 34px; height: 26px; border-radius: 4px; background: linear-gradient(135deg, #f1c9b6, #d99a86 60%, #8c5b52); }
.files span:nth-child(3n)::before { background: linear-gradient(135deg, #f6d5d5, #e28b96 55%, #b7525f); }
.files span:nth-child(13)::before, .files span:nth-child(14)::before { background: linear-gradient(135deg, #555, #222); }
.files .sel { background: rgba(75,95,214,.12); color: var(--accent-d); }
.w-editor { right: 4%; top: 4%; width: 40%; animation: drift 11s ease-in-out infinite reverse; }
.tools { display: flex; gap: 6px; padding: 8px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tools b { font-weight: 500; font-size: 10.5px; background: var(--bg-2); padding: 4px 7px; border-radius: 5px; }
.canvas { position: relative; height: 150px; background: #2b2f3d; display: grid; place-items: center; }
.face { width: 70px; height: 92px; border-radius: 40% 40% 45% 45%; background: radial-gradient(circle at 50% 30%, #f2c9aa, #d9a283); transform: rotate(-6deg); box-shadow: 0 -18px 0 -6px #6b4630; }
.crop { position: absolute; inset: 22px 46px; border: 1.5px dashed #fff; z-index: 1; animation: cropmove 6s ease-in-out infinite; }
.crop span { position: absolute; width: 8px; height: 8px; background: #fff; }
.crop span:nth-child(1) { left: -4px; top: -4px; } .crop span:nth-child(2) { right: -4px; top: -4px; } .crop span:nth-child(3) { left: -4px; bottom: -4px; } .crop span:nth-child(4) { right: -4px; bottom: -4px; }
.w-slides { left: 22%; bottom: 6%; width: 50%; animation: drift 10s ease-in-out infinite; animation-delay: -3s; }
.slide { margin: 10px; aspect-ratio: 16/8; border: 1px solid var(--line); border-radius: 4px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 6px; padding: 0 8px 8px; }
.sl-title { grid-column: 1 / -1; margin: 0 -8px; padding: 4px 8px; font-size: 10px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--navy), var(--accent) 70%, var(--pink)); }
.ph { display: grid; place-items: center; border: 1.5px dashed var(--line-2); border-radius: 4px; font-size: 10px; color: var(--ink-3); background: #fafbff; }
.sl-foot { padding: 0 10px 8px; font-size: 10.5px; color: var(--ink-3); }
.sticky { position: absolute; right: 5%; bottom: 13%; width: 150px; padding: 12px; font: italic 500 14px/1.35 Lora, Georgia, serif; color: #5a4300; background: #ffe98a; border-radius: 3px; box-shadow: 0 10px 24px -10px rgba(90,67,0,.45); transform: rotate(4deg); }
.cursor { position: absolute; width: 18px; height: 18px; left: 40%; top: 40%; background: var(--navy); clip-path: polygon(0 0, 0 100%, 30% 72%, 52% 100%, 66% 92%, 44% 64%, 82% 64%); animation: cur 8s ease-in-out infinite; z-index: 5; }
@keyframes drift { 50% { transform: translate(4px, -6px); } }
@keyframes cropmove { 50% { inset: 16px 34px 28px 56px; } }
@keyframes cur { 0%,100% { left: 30%; top: 30%; } 30% { left: 62%; top: 26%; } 60% { left: 44%; top: 72%; } 80% { left: 22%; top: 46%; } }

.loop { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--sh); }
.loop-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 18px; }
.loop-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.loop-steps li { counter-increment: s; position: relative; padding: 9px 0 9px 40px; color: var(--ink-3); border-bottom: 1px dashed var(--line); transition: color .3s; }
.loop-steps li:last-child { border-bottom: 0; }
.loop-steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--bg-2); color: var(--ink-3); transition: background .3s, color .3s; }
.loop-steps li.on { color: var(--navy); font-weight: 500; }
.loop-steps li.on::before { background: var(--navy); color: #fff; }
.loop-count { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; color: var(--ink-3); font-size: 15px; }
.loop-count b { font: 600 40px/1 "Inter Display", Inter, sans-serif; color: var(--navy); font-variant-numeric: tabular-nums; min-width: 1.4em; }
.loop-bar { height: 6px; border-radius: 6px; background: var(--bg-2); margin-top: 12px; overflow: hidden; }
.loop-bar i { display: block; height: 100%; width: 2%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--pink)); transition: width .5s var(--ease); }
.loop-note { font-size: 14px; color: var(--ink-3); margin-top: 16px; line-height: 1.5; }

.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.col { padding: 32px; border-radius: var(--r); border: 1px solid var(--line); }
.col h3 { margin-bottom: 18px; }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.col li { position: relative; padding-left: 32px; color: var(--ink-2); }
.col li::before { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.old { background: rgba(255,255,255,.55); }
.old li::before { content: "✕"; background: #f3e9ec; color: #a84a5c; }
.new { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.new::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(231,163,230,.35), transparent 70%); }
.new h3 { color: #fff; } .new li { color: #d8dcf0; }
.new li::before { content: "✓"; background: rgba(231,163,230,.2); color: var(--pink); }

/* Шаги */
.steps { display: grid; grid-template-columns: 310px 1fr; gap: 40px; align-items: start; }
.step-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; }
.step-list button { display: flex; gap: 14px; align-items: flex-start; text-align: left; font: inherit; color: var(--ink-2); background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.step-list button:hover { background: #fff; border-color: var(--line); }
.step-list button[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--sh); color: var(--navy); }
.step-list .n { font: 600 13px/1 Inter, sans-serif; color: var(--ink-3); padding: 6px 0; min-width: 22px; font-variant-numeric: tabular-nums; }
.step-list [aria-selected="true"] .n { color: var(--accent); }
.step-list b { display: block; font-weight: 600; font-size: 16px; }
.step-list small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.panel { display: grid; grid-template-columns: 1fr; gap: 28px; animation: fade .45s var(--ease); }
.panel:focus-visible { outline-offset: 8px; }
.panel-text h3 { font-size: 26px; margin-bottom: 12px; letter-spacing: -.02em; }
.panel-text > p { color: var(--ink-2); max-width: 680px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.facts li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.panel-text .link { display: inline-block; margin-top: 18px; }
.ba { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ba-switch { display: inline-flex; padding: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; }
.ba-switch button { font: 500 14px Inter, sans-serif; color: var(--ink-2); background: transparent; border: 0; padding: 8px 22px; border-radius: 9px; cursor: pointer; }
.ba-switch [aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: var(--sh); }
.ba-fig { max-width: 420px; width: 100%; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* Бенто */
.features { background: var(--bg-2); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.card h3 { font-size: 21px; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.card .note { font-size: 14px; color: var(--ink-3); padding-top: 12px; border-top: 1px dashed var(--line); margin-top: auto; }
.card .shot { margin-top: auto; border-radius: 12px; box-shadow: none; }
.card .shot.sm { margin-top: 10px; }
.c-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; }
.c-wide .shot { margin-top: 0; }
.c-wide .card-text { display: flex; flex-direction: column; gap: 12px; }
.c-wide.alt { grid-column: 2 / span 2; }
.tag { align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--accent-d); background: rgba(75,95,214,.09); padding: 5px 10px; border-radius: 999px; letter-spacing: .01em; }

/* Шаблон */
.gallery { margin: 0 0 64px; }
.gal-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 26px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.gal-track figure { flex: 0 0 min(560px, 82vw); margin: 0; scroll-snap-align: center; }
.gal-track img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--sh); background: #fff; }
.gal-track figcaption { font-size: 14px; color: var(--ink-3); margin-top: 12px; }
.gal-ctrl { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.gal-ctrl .caption { margin: 0; }
.gal-btns { display: flex; gap: 8px; }
.gal-btns button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-size: 18px; cursor: pointer; transition: border-color .2s; }
.gal-btns button:hover { border-color: var(--accent); }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.tpl-col h3 { font-size: 24px; margin-bottom: 18px; }
.tpl-col > p { color: var(--ink-2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14.5px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.principle { margin: 28px 0 0; padding: 26px 28px; border-radius: var(--r); background: linear-gradient(135deg, var(--pink-l), #eef0fd); border: 1px solid #ecd9f0; }
.principle p { font: italic 500 21px/1.4 Lora, Georgia, serif; color: var(--navy); }
.principle strong { font-weight: 600; }
.principle footer { font-size: 14px; color: var(--ink-2); margin-top: 12px; }

/* Безопасность */
.privacy { background: var(--navy); color: #d6dbef; position: relative; overflow: hidden; }
.privacy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 85% 0%, rgba(231,163,230,.18), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(75,95,214,.3), transparent 70%); pointer-events: none; }
.privacy .wrap { position: relative; }
.head.inv h2 { color: #fff; }
.head.inv .eyebrow { color: var(--pink); }
.head.inv .sub { color: #b9c0dc; }
.privacy h2 em { background: linear-gradient(100deg, #aab6ff, var(--pink)); -webkit-background-clip: text; background-clip: text; }
.arch { display: grid; grid-template-columns: 1fr 230px 1fr; gap: 0; align-items: stretch; }
.zone { border-radius: 20px; padding: 28px; border: 1px solid rgba(255,255,255,.14); }
.zone.pc { background: rgba(255,255,255,.06); box-shadow: 0 0 0 6px rgba(231,163,230,.06); }
.zone.srv { background: rgba(255,255,255,.02); border-style: dashed; }
.zone-t { font: 600 13px/1 Inter, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); margin-bottom: 18px; }
.zone.srv .zone-t { color: #9aa6d8; }
.zone ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.zone li { font-size: 15.5px; line-height: 1.5; padding-left: 20px; position: relative; }
.zone li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.zone b { color: #fff; font-weight: 600; }
.flow { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 16px; font-size: 13px; text-align: center; }
.arr { position: relative; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); color: #b9c0dc; }
.arr.down { color: #c7cdf0; }
.no { padding: 8px 10px; border-radius: 10px; border: 1px dashed rgba(231,163,230,.5); color: var(--pink); font-weight: 600; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.12); }
.proof h3 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.proof p { font-size: 15px; line-height: 1.6; color: #b9c0dc; }
.proof code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.privacy-more { margin-top: 40px; }
.link.inv { color: var(--pink); }

/* Повседневно */
.daily-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.daily h2 { margin-bottom: 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(75,95,214,.1); color: var(--accent); }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.who > div { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.who h3 { font-size: 17px; margin-bottom: 8px; }
.who p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.who-main { grid-column: 1 / -1; background: linear-gradient(135deg, #eef0fd, var(--pink-l)) !important; border-color: #e3dcf3 !important; }
.who-main h3 { font-size: 22px; }

/* Две двери */
.doors { background: var(--bg-2); }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.door:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--line-2); }
.door h3 { font-size: 30px; }
.door p { color: var(--ink-2); }
.door-go { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--accent-d); }
.door.main { background: var(--navy); border-color: var(--navy); }
.door.main h3 { color: #fff; } .door.main p { color: #c6cce6; } .door.main .door-go { color: var(--pink); }
.door.main .tag { background: rgba(240,160,32,.18); color: #ffc66b; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.faq .head { position: sticky; top: 100px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font-weight: 500; font-size: 17px; color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23152653' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .25s var(--ease), background-color .2s; }
.qa details[open] summary::after { transform: rotate(45deg); background-color: var(--bg-2); }
.qa summary:hover { color: var(--accent-d); }
.qa details p { padding: 0 48px 22px 4px; color: var(--ink-2); font-size: 16px; animation: fade .35s var(--ease); }

/* Финал */
.final { position: relative; overflow: hidden; padding: 130px 0; text-align: center; }
.final .glow { inset: 0; height: auto; -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.final-in { position: relative; max-width: 860px; }
.final h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.06; letter-spacing: -.032em; }
.final p { font-size: 19px; color: var(--ink-2); margin-top: 22px; }

/* Подвал */
.foot { border-top: 1px solid var(--line); padding: 44px 0; font-size: 14px; color: var(--ink-3); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.foot-in p { margin-top: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--accent-d); }
.foot-note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }

/* Появление */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Адаптивность */
@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .f1 { left: 12px; } .f2 { right: 12px; }
  .proof { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-links.open { display: flex; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(21,38,83,.25); }
  .nav-links.open > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--navy); }
  .nav-links.open .nav-cta-m { display: flex; gap: 10px; margin-top: 18px; }
  .nav-cta-m .btn { flex: 1; }
  .section { padding: 88px 0; }
  .pain-grid, .contrast, .tpl-grid, .daily-grid, .door-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step-list { position: static; flex-direction: row; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 4px 24px 8px; scrollbar-width: none; }
  .step-list::-webkit-scrollbar { display: none; }
  .step-list button { flex: 0 0 auto; scroll-snap-align: start; border-color: var(--line); background: #fff; padding: 12px 14px; }
  .step-list small { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-wide, .c-wide.alt { grid-column: 1 / -1; }
  .arch { grid-template-columns: 1fr; gap: 14px; }
  .flow { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 0; }
  .br-d { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 24px; }
  .hero-cta .btn { width: 100%; }
  .hero-shot { margin-top: 40px; }
  .chrome span { display: none; }
  .step-list { margin: 0 -18px; padding: 4px 18px 8px; }
  .float { font-size: 12px; padding: 7px 10px; }
  .f1 { display: none; } .f2 { right: 8px; top: -16px; } .f3 { right: 8px; bottom: -16px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 40px; text-align: left; }
  .desk { height: 380px; }
  .w-files { width: 74%; } .w-editor { width: 56%; top: 30%; } .w-slides { width: 80%; left: 6%; }
  .sticky { width: 128px; font-size: 13px; bottom: 4%; }
  .loop, .col, .card, .door { padding: 24px; }
  .facts { grid-template-columns: 1fr; }
  .bento, .who, .proof { grid-template-columns: 1fr; }
  .who-main { grid-column: auto; }
  .c-wide { grid-template-columns: 1fr; }
  .who-main { grid-column: auto; }
  .gal-ctrl { flex-direction: column; align-items: flex-start; }
  .qa details p { padding-right: 8px; }
  .foot-in { grid-template-columns: 1fr; }
  .final { padding: 90px 0; text-align: left; }
  .final .hero-cta { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
