@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/onest-cyrillic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/onest-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:200 900;font-display:swap;src:url(/fonts/unbounded-num.woff2) format("woff2")}
/* Общий стиль страниц ChiefDesk: «неон». Дуга C и бусина из логотипа, тёмный синий фон, янтарь как акцент.
   Тёмная тема по умолчанию, светлая по prefers-color-scheme. Полосы .ink и .final всегда фирменного синего. */
:root {
  --bg: #060818; --surface: #0f1750; --band: #0a0f30; --fg: #eef0ff; --muted: #a9b4e8; --line: rgba(127,155,255,.26);
  --accent: #8aa4ff; --on-accent: #060818; --accent-hover: #b6c6ff; --accent-soft: rgba(127,155,255,.16); --accent-mid: rgba(127,155,255,.4);
  --leather: #ffb36b; --leather-text: #ffcf9a; --leather-soft: rgba(255,179,107,.14); --leather-mid: rgba(255,179,107,.38);
  --wash-a: rgba(79,109,240,.5); --wash-b: rgba(255,179,107,.2); --chat-bg: #0a1040;
  --ink: linear-gradient(135deg, #2b47c9, #16256f); --ink-fg: #fff; --ink-muted: #d3dcff; --ink-line: rgba(255,255,255,.35); --ink-surface: rgba(255,255,255,.1);
  --ink-hl: #ffd9ad; --ink-core: #fff; --ink-core-fg: #2b47c9; --ink-dots: #fff;
  --final-a: #2b47c9; --final-b: #16256f; --final-fg: #fff; --final-hl: #ffd9ad; --final-btn-bg: #cf9a68; --final-btn-fg: #1b1410; --final-btn-hover: #e0ad7a;
  --shadow: 0 0 0; --shadow-a: 0.6;
  --cta: #cf9a68; --on-cta: #1b1410; --cta-hover: #e0ad7a;
  --hero-glow: radial-gradient(ellipse 60% 70% at 80% 30%, rgba(40,58,170,.55), transparent 70%);
  --head-bg: rgba(6,8,24,.74); --focus: #fff;
  --bead: radial-gradient(circle at 34% 28%, #f8d8ae, #cf9a68 46%, #8a5a2e);
  --arc-a: #b6c6ff; --arc-b: #5473f0;
  --serif: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --num: "Unbounded", "Onest", system-ui, sans-serif;
  --fs-s: 0.875rem; --fs-m: 1.0625rem; --fs-l: 1.3rem;
  --fs-xl: clamp(2.3rem, 1.1rem + 4.4vw, 4.2rem);
  --fs-h2: clamp(1.9rem, 1.1rem + 3.2vw, 3.4rem);
  --sec: clamp(4rem, 2rem + 6.5vw, 8rem);
  --sheet: 0px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f6ff; --surface: #ffffff; --band: #e7ecfc; --fg: #0c1236; --muted: #414d7e; --line: rgba(37,64,200,.28);
    --accent: #2540c8; --on-accent: #ffffff; --accent-hover: #1a2d93; --accent-soft: rgba(51,88,224,.1); --accent-mid: rgba(51,88,224,.3);
    --leather: #c8741a; --leather-text: #a65a0c; --leather-soft: rgba(200,116,26,.12); --leather-mid: rgba(200,116,26,.35);
    --wash-a: rgba(120,150,255,.4); --wash-b: rgba(200,116,26,.15); --chat-bg: #eef2ff;
    --shadow: 37 64 200; --shadow-a: 0.22;
    --hero-glow: radial-gradient(ellipse 60% 70% at 80% 30%, rgba(120,150,255,.32), transparent 70%);
    --head-bg: rgba(244,246,255,.82); --focus: #1b2a99;
    --arc-a: #3f66ee; --arc-b: #2540c8;
    color-scheme: light;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; accent-color: var(--accent); scrollbar-color: var(--leather-mid) var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--fs-m)/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; position: relative; }
@media (min-width: 48rem) { .wrap { padding-inline: 2rem; } }
section { padding-block: var(--sec); position: relative; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.035em; }
h1 { font-size: var(--fs-xl); line-height: 1.02; }
h2 { font-size: var(--fs-h2); margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); line-height: 1.04; }
h3 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-s); }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ключевые слова в заголовках: основной синий, прямой шрифт */
.hl { color: var(--accent); }

/* иконки: один штрих, один вес */
.ico { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tile { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--leather-soft); color: var(--leather-text); flex: none; }

/* форма листа, волны, точки, плавающие формы */
.sheet { border-radius: var(--sheet) var(--sheet) 0 0; margin-top: calc(var(--sheet) * -1); padding-top: calc(var(--sec) + var(--sheet) * 0.4); }
.wave-sep { position: absolute; left: 0; width: 100%; bottom: calc(100% - 1px); height: clamp(2rem, 5vw, 4.5rem); display: block; fill: var(--sep); pointer-events: none; }
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--fg) 16%, transparent) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at var(--dx, 85%) var(--dy, 20%), #000, transparent);
  mask-image: radial-gradient(ellipse 70% 70% at var(--dx, 85%) var(--dy, 20%), #000, transparent);
}
.shape { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.shape.sky { background: radial-gradient(closest-side, var(--wash-a), transparent); }
.shape.dot { background: var(--accent); opacity: 0.9; }
@media (max-width: 47.99rem) { .shape.dot { display: none; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(1.5rem, -1.75rem, 0) rotate(8deg); } }
@media (prefers-reduced-motion: no-preference) {
  .shape { animation: drift 13s ease-in-out infinite alternate; }
  .shape.dot { animation-duration: 9s; }
}

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--accent); color: var(--on-accent); padding: 0.5rem 1rem; border-radius: 6px; z-index: 60; }
.skip:focus { top: 0.5rem; }

header.top { padding-block: 0.75rem; position: relative; z-index: 2; }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; }
.brand { font-weight: 750; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; letter-spacing: -0.01em; }
.brand .tile { width: 2.25rem; height: 2.25rem; border-radius: 11px; background: var(--accent); color: var(--on-accent); }
.brand .tile .ico { width: 1.25rem; height: 1.25rem; }
nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: var(--fs-s); }
nav a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; transition: color 0.2s; }
nav a:hover { color: var(--accent); text-decoration: underline; }
header .head-cta, header .head-demo { display: none; }
@media (min-width: 48rem) { header .head-cta { display: inline-block; } }
@media (min-width: 62rem) { header .head-demo { display: inline-block; } }
header .head-btns { display: flex; gap: 0.6rem; align-items: center; }

.btn {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 650; text-decoration: none; text-align: center;
  padding: 0.95rem 1.6rem; border-radius: 14px; border: 2px solid var(--accent);
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.25), 0 14px 26px -12px rgb(var(--shadow) / calc(var(--shadow-a) + 0.3));
  transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 1px 2px rgb(var(--shadow) / 0.25), 0 22px 34px -12px rgb(var(--shadow) / calc(var(--shadow-a) + 0.35)); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: none; }
.btn.ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn.sm { padding: 0.6rem 1rem; font-size: var(--fs-s); border-radius: 11px; }

/* hero */
.hero { padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) calc(var(--sec) + var(--sheet) * 0.5); isolation: isolate; overflow-x: clip; }
.hero .wrap { display: grid; gap: 3.5rem; align-items: center; }
.hero .copy { display: grid; gap: 1.75rem; justify-items: start; min-width: 0; }
.hero .lead { color: var(--muted); font-size: var(--fs-l); line-height: 1.45; max-width: 34rem; }
.fit { max-width: 36rem; }
.cta { display: grid; gap: 0.6rem; justify-items: start; }
.cta .btn { max-width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; align-items: start; }
.cta-item { display: grid; gap: 0.6rem; justify-items: start; max-width: 100%; }
.hero-video { position: relative; justify-self: center; width: min(100%, 260px); isolation: isolate; }
.hero-video::before { content: ""; position: absolute; z-index: -1; inset: 8% -35% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent 72%); filter: blur(10px); }
.hero-video .phone { padding: 8px; background: #17171b; border-radius: 34px; box-shadow: 0 1px 2px rgb(var(--shadow) / 0.25), 0 34px 60px -22px rgb(var(--shadow) / calc(var(--shadow-a) + 0.25)); }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1714; max-height: 520px; object-fit: cover; border-radius: 26px; background: #000; }
.hero-video figcaption { margin-top: 1rem; }
@media (min-width: 40rem) { .hero-video { width: 252px; } .hero-video video { max-height: 560px; } }
.how-cta { display: grid; gap: 0.6rem; justify-items: start; margin-top: 2rem; }
@media (min-width: 62rem) { .hero .wrap { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }

/* пример диалога: окно мессенджера */
figure { margin: 0; }
.chat-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.chat-head .back { width: 1.25rem; height: 1.25rem; color: var(--muted); }
.ava { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.ava .ico { width: 1.3rem; height: 1.3rem; }
.chat-head b { display: block; line-height: 1.2; }
.chat-head small { display: block; color: var(--muted); font-size: 0.75rem; line-height: 1.2; }
.chat-body { display: grid; gap: 0.6rem; padding: 1rem 0.9rem 1.15rem; position: relative;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--fg) 12%, transparent) 1px, transparent 1.5px); background-size: 18px 18px; }
.msg { display: grid; gap: 0.4rem; max-width: 90%; padding: 0.65rem 0.85rem; border-radius: 18px; font-size: var(--fs-s); line-height: 1.45; position: relative; }
.msg.me { justify-self: end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.msg.bot { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg .tag { font-size: 0.75rem; }
.voice { display: flex; align-items: center; gap: 0.6rem; }
.play { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--on-accent); color: var(--accent); flex: none; }
.play .ico { width: 0.9rem; height: 0.9rem; margin-left: 2px; }
.wave { display: flex; align-items: center; gap: 2px; height: 1.75rem; min-width: 0; }
.wave i { display: block; width: 3px; height: 10px; border-radius: 2px; background: currentColor; opacity: 0.85; flex: none; transform-origin: center; }
.wave i:nth-child(4n+2) { height: 18px; }
.wave i:nth-child(4n+3) { height: 26px; }
.wave i:nth-child(4n) { height: 14px; }
.wave i:nth-child(7n) { height: 22px; }
.said { font-size: var(--fs-s); min-height: 1.45em; }
.botwrap { position: relative; justify-self: start; max-width: 90%; }
.typing { display: flex; opacity: 0; position: absolute; left: 0; top: 0; align-items: center; gap: 4px; padding: 0.85rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; border-bottom-left-radius: 5px; transition: opacity 0.25s; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; justify-self: start; width: min(100%, 17rem); }
.fake-btn { text-align: center; padding: 0.5rem 0.75rem; border-radius: 10px; font-size: var(--fs-s); font-weight: 650; background: var(--surface); border: 1px solid var(--line); color: var(--accent); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.fake-btn.yes { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.done { justify-self: start; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem 0.6rem 0.65rem; border-radius: 16px; font-size: var(--fs-s); font-weight: 650; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-mid); }
.done .ico { width: 1.5rem; height: 1.5rem; }
figcaption { margin-top: 1.1rem; text-align: center; font-size: var(--fs-s); color: var(--muted); position: relative; z-index: 1; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes bars { 0%, 100% { transform: scaleY(0.45); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: no-preference) {
  .typing i { animation: dot 0.9s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: 0.15s; }
  .typing i:nth-child(3) { animation-delay: 0.3s; }
}

/* ситуации */
.situations { list-style: none; margin: 0; padding: 0; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.08), 0 30px 56px -30px rgb(var(--shadow) / var(--shadow-a)); }
.situations li { display: grid; gap: 1.5rem; align-content: start; padding: 1.9rem 1.5rem; font-family: var(--serif); font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.situations li + li { border-top: 1px solid var(--line); }
.situations .tile { width: 3.5rem; height: 3.5rem; border-radius: 16px; }
.situations .tile .ico { width: 1.75rem; height: 1.75rem; }
@media (min-width: 48rem) {
  .situations { grid-template-columns: repeat(3, 1fr); }
  .situations li { padding: 2.5rem 2.1rem 2.75rem; min-height: 16rem; }
  .situations li + li { border-top: 0; border-left: 1px solid var(--line); }
  .situations li:nth-child(2) { background: var(--band); }
}

/* шаги */
.band { background: var(--band); overflow: clip; isolation: isolate; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: s; }
.steps > li { counter-increment: s; position: relative; display: grid; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.08), 0 26px 48px -28px rgb(var(--shadow) / var(--shadow-a)); }
.art { border-radius: 25px 25px 0 0; display: grid; place-items: center; height: 9.5rem; background: var(--accent-soft); position: relative; overflow: hidden; }
.art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent) 1.2px, transparent 1.7px); background-size: 16px 16px; opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000); mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000); }
.art > * { position: relative; }
.steps .body { display: grid; gap: 0.6rem; padding: 1.5rem 1.5rem 1.75rem; min-width: 0; }
.steps .body::before { content: counter(s); font-family: var(--serif); font-size: 3.25rem; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: lining-nums; }
.steps b { display: block; margin-bottom: 0.25rem; font-size: var(--fs-l); line-height: 1.25; letter-spacing: -0.01em; }
.say { overflow-wrap: anywhere; font-family: var(--mono); font-size: 0.92em; background: var(--leather-soft); padding: 0.1em 0.45em; border-radius: 6px; }
.steps .body > span { min-width: 0; display: block; }
.mini-mic { display: flex; align-items: center; gap: 0.9rem; }
.mini-mic .big { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 0 18px color-mix(in srgb, var(--accent) 8%, transparent); }
.mini-mic .big .ico { width: 1.75rem; height: 1.75rem; }
.mini-mic .wave { height: 2.5rem; color: var(--accent); }
.mini-q { display: grid; gap: 0.6rem; width: 11.5rem; }
.mini-q .bub { background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 0.7rem 0.8rem; display: grid; gap: 0.4rem; }
.mini-q .bub i { display: block; height: 6px; border-radius: 3px; background: var(--leather-mid); }
.mini-q .bub i + i { width: 62%; }
.mini-q .actions { width: 100%; }
.mini-q .fake-btn { padding: 0.35rem; }
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
  .steps > li:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 4.75rem; right: -2.25rem; width: 2.25rem; border-top: 2px solid var(--leather-mid); }
}

/* возможности */
.features-grid { display: grid; gap: 2.5rem; align-items: start; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.feat { display: flex; align-items: center; gap: 1rem; width: 100%; margin: 0; text-align: left; font: inherit; font-weight: 550; line-height: 1.35; color: var(--fg);
  padding: 0.75rem 1rem 0.75rem 0.75rem; background: var(--band); border: 1px solid var(--line); border-radius: 18px; cursor: pointer;
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.06); transition: transform 0.25s var(--ease), border-color 0.2s, background 0.2s, color 0.2s; }
.feat:hover { border-color: var(--accent); background: var(--surface); transform: translateX(4px); }
.feat[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.feat[aria-pressed="true"]:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: none; }
.feat[aria-pressed="true"] .tile { background: color-mix(in srgb, var(--on-accent) 22%, transparent); color: var(--on-accent); }
.features .tile { width: 2.75rem; height: 2.75rem; }
@media (prefers-reduced-motion: reduce) { .feat, .dk, .go .dm, .go .dm-cal, .go .dm-btns { transition: none; } }
/* панель с примером диалога */
.demo-wrap { min-width: 0; }
.demo-label { margin-bottom: 0.6rem; font-size: var(--fs-s); font-weight: 650; color: var(--muted); }
.demo { background: var(--chat-bg); border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.1), 0 30px 56px -30px rgb(var(--shadow) / calc(var(--shadow-a) + 0.1)); }
.demo .chat-head { padding: 0.7rem 1rem; }
.demo-body { display: grid; gap: 0.6rem; align-content: start; padding: 1rem 0.9rem 1.1rem; min-height: 25rem;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--fg) 12%, transparent) 1px, transparent 1.5px); background-size: 18px 18px; }
.dm { max-width: 92%; padding: 0.65rem 0.85rem; border-radius: 18px; font-size: var(--fs-s); line-height: 1.5; white-space: pre-line; }
.dm.me { justify-self: end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.dm.bot { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.dm .tag { display: block; margin-bottom: 0.4rem; font-size: 0.75rem; white-space: normal; }
.dm .voice { margin-bottom: 0.4rem; }
.dm-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-self: start; }
.dk { padding: 0.45rem 0.8rem; border-radius: 10px; font-size: var(--fs-s); font-weight: 650; background: var(--surface); border: 1px solid var(--line); color: var(--accent); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.dk.pressed { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(0.95); }
.dm-cal { justify-self: start; width: min(100%, 17.5rem); display: grid; gap: 0.7rem; padding: 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.dm-cal .cal-top { display: flex; align-items: center; gap: 0.4rem; color: var(--leather-text); }
.dm-cal .cal-top i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--leather-mid); }
.dm-cal .cal-ev { display: grid; gap: 0.15rem; padding: 0.75rem 0.9rem; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.dm-cal .cal-ev b { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
.demo-note { padding: 0 1.1rem 1.1rem; font-size: var(--fs-s); color: var(--muted); min-height: 1.4rem; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* режим печати: скрипт добавляет .go; без него и при reduced-motion всё видно сразу */
.go .dm, .go .dm-cal, .go .dm-btns { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.go .on { opacity: 1; transform: none; }
.go .ch { opacity: 0; }
.go .ch.c { opacity: 1; }
@media (min-width: 62rem) { .features-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } .demo-wrap { position: sticky; top: 1.5rem; } }
.sheet.alt { background: var(--surface); }

/* общие классы для SVG-иллюстраций */
.a-surface { fill: var(--surface); }
.a-line { stroke: var(--line); fill: none; stroke-width: 2; }
.a-acc { fill: var(--accent); }
.a-soft { fill: var(--accent-soft); }
.a-mid { fill: var(--accent-mid); }
.a-leas { fill: var(--leather-soft); }
.a-bar { fill: var(--on-accent); opacity: 0.85; }
.a-bar2 { fill: var(--accent); opacity: 0.5; }
.a-bar3 { fill: var(--leather); opacity: 0.55; }
.a-ring { fill: var(--surface); stroke: var(--leather); stroke-width: 2; }
.a-ico { color: var(--accent); stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.a-ico.lea { color: var(--leather-text); }
.a-ico.on { color: var(--on-accent); }

/* данные: тёмно-синий лист в обеих темах */
.ink { background: var(--ink); color: var(--ink-fg); --sep: var(--ink); isolation: isolate; }
.ink .hl { color: var(--ink-hl); }
.ink a { color: var(--ink-hl); }
.ink :focus-visible { outline-color: var(--ink-hl); }
.ink .dots { background-image: radial-gradient(circle, color-mix(in srgb, var(--ink-dots) 28%, transparent) 1.2px, transparent 1.7px); }
.ink-grid { display: grid; gap: 3rem; align-items: center; }
.who { margin: 0; display: grid; gap: 1rem; }
.who > div { display: grid; gap: 0.5rem; padding: 1.25rem 1.25rem 1.4rem; border: 1px solid var(--ink-line); border-radius: 22px; background: var(--ink-surface); }
.who dt { display: flex; align-items: center; gap: 0.9rem; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.who dt .tile { background: var(--leather-soft); color: var(--leather-text); width: 2.75rem; height: 2.75rem; }
.who dd { margin: 0; color: var(--ink-muted); }
.terms { max-width: 44rem; margin-top: 1.5rem; color: var(--ink-muted); }
.vault { width: min(100%, 26rem); margin-inline: auto; }
.vault svg { width: 100%; height: auto; display: block; }
.v-ring { fill: none; stroke: var(--ink-line); stroke-width: 1.5; opacity: 0.7; }
.v-link { stroke: var(--ink-hl); stroke-width: 2; opacity: 0.5; stroke-linecap: round; }
.v-tile { fill: var(--leather-soft); stroke: var(--ink-line); stroke-width: 2; }
.v-core { fill: var(--ink-core); }
.v-ico { color: var(--leather-text); stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.v-ico.dark { color: var(--ink-core-fg); stroke-width: 2; }
@media (min-width: 62rem) { .ink-grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } .vault { margin-inline: auto 0; } }

/* цены */
#prices { overflow-x: clip; }
.plan-intro { max-width: 44rem; margin-bottom: 2rem; }
.plans { display: grid; gap: 1.25rem; }
/* место под цены, пока они грузятся: страница не прыгает */
.js .plans { min-height: 51.65rem; }
.js .soon { min-height: 22.2rem; }
@media (min-width: 48rem) { .js .plans { min-height: 27.4rem; } .js .soon { min-height: 9.9rem; } }
@media (min-width: 48rem) { .plans { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 1.75rem; display: grid; gap: 0.75rem; align-content: start; min-width: 0;
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.06), 0 26px 48px -30px rgb(var(--shadow) / var(--shadow-a)); }
.plan h3 { font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.02em; }
.plan.pilot { border: 2px solid var(--accent); background: var(--surface);
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.1), 0 34px 64px -28px rgb(var(--shadow) / calc(var(--shadow-a) + 0.15)); }
.price { font-family: var(--serif); font-size: calc(var(--fs-xl) * 0.78); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; line-height: 1.05; }
.price small { font-family: var(--font); font-size: var(--fs-s); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.badge { justify-self: start; font-size: var(--fs-s); font-weight: 650; color: var(--on-accent); background: var(--accent); padding: 0.2rem 0.8rem; border-radius: 99px; }
.cond { padding-top: 0.75rem; border-top: 1px solid var(--line); font-weight: 600; }
.inc { color: var(--muted); font-size: var(--fs-s); }
.plan .btn { justify-self: start; margin-top: 0.5rem; }
.soon-title { margin: 3.5rem 0 0.75rem; font-size: var(--fs-m); font-weight: 650; color: var(--muted); display: flex; align-items: center; gap: 0.75rem; }
.soon-title::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.soon { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .soon { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.soon-item { display: grid; gap: 0.25rem; padding: 1.25rem 1.5rem 0.5rem; border: 1px solid var(--line); border-radius: 22px; align-content: start; justify-items: start; background: var(--band); }
.soon-item h4 { margin: 0; font-size: var(--fs-m); font-weight: 700; }
.soon-item .soon-price { color: var(--muted); font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.soon-item a { font-size: var(--fs-s); display: inline-flex; align-items: center; min-height: 44px; }
.costs { margin-top: 2rem; max-width: 44rem; }

/* запуск */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; max-width: 54rem; }
.timeline::before { content: ""; position: absolute; left: 0.6rem; top: 0.9rem; bottom: 0.9rem; border-left: 2px solid var(--leather-mid); }
.timeline li { display: grid; gap: 0.25rem; padding: 0 0 2rem 2.5rem; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--leather-soft); }
.timeline li:last-child::before { background: var(--surface); border: 3px solid var(--accent); }
.timeline b { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.timeline span { color: var(--muted); }
@media (min-width: 48rem) { .timeline li { grid-template-columns: 16rem 1fr; gap: 2rem; } .timeline b { grid-column: 1; } }

/* вопросы */
.faq { display: grid; gap: 0.75rem; max-width: 50rem; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.2s, box-shadow 0.2s; }
details[open] { border-color: var(--leather-mid); box-shadow: 0 20px 38px -28px rgb(var(--shadow) / var(--shadow-a)); }
summary { cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; border-radius: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  background: linear-gradient(var(--leather-text), var(--leather-text)) center / 0.8rem 2px no-repeat,
    linear-gradient(var(--leather-text), var(--leather-text)) center / 2px 0.8rem no-repeat, var(--leather-soft);
  transition: background-size 0.3s var(--ease); }
details[open] summary::after { background-size: 0.8rem 2px, 2px 0, auto; }
summary:hover { color: var(--accent); }
details p { padding: 0 1.25rem 1.15rem; color: var(--muted); }

.final { background: linear-gradient(135deg, var(--final-a), var(--final-b)); color: var(--final-fg); isolation: isolate; overflow-x: clip; --sep: var(--final-a); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 92% 30%, transparent 0 3.2rem, color-mix(in srgb, var(--final-fg) 12%, transparent) 3.2rem calc(3.2rem + 1px)); }
.final .wrap { display: grid; gap: 1.5rem; justify-items: start; }
.final h2 { margin-bottom: 0; }
.final .hl { color: var(--final-hl); }
.final p { max-width: 36rem; font-size: var(--fs-l); line-height: 1.4; }
.final .btn { background: var(--final-btn-bg); color: var(--final-btn-fg); border-color: var(--final-btn-bg); }
.final .btn:hover { background: var(--final-btn-hover); border-color: var(--final-btn-hover); color: var(--final-btn-fg); }
.final :focus-visible { outline-color: var(--final-fg); }

footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: var(--fs-s); color: var(--muted); }
footer .wrap { display: grid; gap: 0.5rem; }
footer b { color: var(--fg); }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* мягкое появление при прокрутке (включает скрипт: .anim на html) */
.anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rd, 0s); }
.anim .reveal.in { opacity: 1; transform: none; }

/* ===== переопределения: форма и материал нового стиля ===== */
html { background: var(--bg); scrollbar-color: #2a3a9a var(--bg); }
body { font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2 { font-family: var(--font); font-weight: 800; letter-spacing: -0.04em; }
h3, .price, .plan h3, .timeline b, .situations li { font-family: var(--font); }
.price { font-family: var(--num); font-weight: 700; letter-spacing: -0.04em; }
a:hover { color: var(--fg); }
::selection { background: #7f9bff; color: #060818; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.hl { color: var(--leather-text); }
.ink .hl, .final .hl { color: var(--ink-hl); }
.tile { background: var(--leather-soft); color: var(--leather-text); box-shadow: inset 0 0 0 1px var(--leather-mid); }
.ico { stroke-width: 1.75; }

/* шапка */
header.top { position: sticky; top: 0; z-index: 50; padding-block: .55rem; background: var(--head-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { color: var(--fg); font-weight: 750; }
.brand .logo { width: 2.2rem; height: 2.2rem; flex: none; filter: drop-shadow(0 0 10px rgba(79,109,240,.5)); }
nav a { color: var(--muted); }
nav a:hover { color: var(--fg); text-decoration: none; }

/* кнопки: янтарная пилюля, контурная вторая */
.btn { border-radius: 999px; border: 0; background: var(--cta); color: var(--on-cta); font-weight: 700; padding: .9rem 1.6rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.18), 0 12px 22px -10px rgba(0,0,0,.55); }
.btn:hover { background: var(--cta-hover); color: var(--on-cta); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(0,0,0,.18), 0 16px 30px -10px rgba(255,179,107,.55); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.sm { border-radius: 999px; padding: .55rem 1.1rem; }
.final .btn { background: var(--final-btn-bg); color: var(--final-btn-fg); }
.final .btn:hover { background: var(--final-btn-hover); color: var(--final-btn-fg); }

/* секции: ровные полосы, без «листов» и волн */
section { padding-block: var(--sec); }
.sheet { border-radius: 0; margin-top: 0; padding-top: var(--sec); }
.wave-sep { display: none; }
.band, .sheet.alt { background: var(--band); }
.ink { background: var(--ink); color: var(--ink-fg); }
.final { background: linear-gradient(135deg, var(--final-a), var(--final-b)); }

/* hero: свечение и дуга C с бусиной как знак страницы */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) var(--sec); background: var(--hero-glow); }
.hero::before { content: ""; position: absolute; z-index: -1; right: -3%; top: -2%; width: min(44rem, 78vw); aspect-ratio: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20600%20600%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23c4d1ff%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235f80ff%22/%3E%3C/linearGradient%3E%3CradialGradient%20id%3D%22b%22%20cx%3D%22.34%22%20cy%3D%22.28%22%20r%3D%22.8%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f8d8ae%22/%3E%3Cstop%20offset%3D%22.46%22%20stop-color%3D%22%23cf9a68%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238a5a2e%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath%20d%3D%22M503.6%20140A262%20262%200%201%200%20503.6%20460%22%20fill%3D%22none%22%20stroke%3D%22url%28%23g%29%22%20stroke-width%3D%2234%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%22514%22%20cy%3D%22300%22%20r%3D%2244%22%20fill%3D%22url%28%23b%29%22/%3E%3C/svg%3E") center / contain no-repeat, radial-gradient(closest-side, rgba(79,109,240,.35), transparent 72%); opacity: .92; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .hero::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20600%20600%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233f66ee%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232540c8%22/%3E%3C/linearGradient%3E%3CradialGradient%20id%3D%22b%22%20cx%3D%22.34%22%20cy%3D%22.28%22%20r%3D%22.8%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f8d8ae%22/%3E%3Cstop%20offset%3D%22.46%22%20stop-color%3D%22%23cf9a68%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238a5a2e%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath%20d%3D%22M503.6%20140A262%20262%200%201%200%20503.6%20460%22%20fill%3D%22none%22%20stroke%3D%22url%28%23g%29%22%20stroke-width%3D%2234%22%20stroke-linecap%3D%22round%22/%3E%3Ccircle%20cx%3D%22514%22%20cy%3D%22300%22%20r%3D%2244%22%20fill%3D%22url%28%23b%29%22/%3E%3C/svg%3E") center / contain no-repeat, radial-gradient(closest-side, rgba(120,150,255,.3), transparent 72%); opacity: .95; } }
.hero .shape.sky, .hero .dots { display: none; }
.shape.dot { background: var(--bead); opacity: 1; box-shadow: 0 0 14px rgba(255,179,107,.6); }
.hero .wrap { gap: 2.5rem; }
.hero .lead { color: var(--muted); }
.fit { color: var(--muted); }
@media (max-width: 47.99rem) { .hero::before { opacity: .3; right: -40%; top: 0; width: 90vw; } }

/* карточки: тёмное стекло */
.situations, .steps > li, .plan, .soon-item, details, .demo, .fact, .who > div { border-color: var(--line); }
.situations, .steps > li, .plan, .demo { box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 56px -30px rgb(var(--shadow) / var(--shadow-a)); }
.situations li:nth-child(2) { background: var(--band); }
.steps .body::before { color: var(--leather-text); font-family: var(--num); font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; }
.plan.pilot { border: 1.5px solid var(--leather); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 60px -10px rgba(255,179,107,.4), 0 30px 60px -28px rgb(var(--shadow) / var(--shadow-a)); }
.badge { background: var(--cta); color: var(--on-cta); }
.soon-item { background: var(--band); }
.say { background: var(--accent-soft); color: var(--fg); }
details[open] { border-color: var(--accent-mid); }
summary:hover { color: var(--accent); }
.timeline::before { border-left-color: var(--accent-mid); }
.timeline li::before { background: var(--bead); box-shadow: 0 0 0 5px var(--leather-soft); }
.timeline li:last-child::before { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.msg.me, .dm.me { background: var(--accent); color: var(--on-accent); }
.fake-btn.yes, .dk.pressed { background: var(--accent); color: var(--on-accent); }
.hero-video::before { background: radial-gradient(closest-side, rgba(79,109,240,.55), transparent 72%); }
.hero-video .phone { background: #05070f; box-shadow: 0 0 0 1px var(--line), 0 34px 60px -22px rgba(0,0,0,.8), 0 0 50px -10px rgba(79,109,240,.45); }
.final::before { background: repeating-radial-gradient(circle at 92% 30%, transparent 0 3.2rem, rgba(255,255,255,.12) 3.2rem calc(3.2rem + 1px)); }
html { scroll-padding-top: 5rem; }
@media (max-width: 61.99rem) { header .head-btns { margin-left: auto; } header .head-cta { display: inline-block; } }
footer { background: #04061a; color: #a9b4e8; border-top: 1px solid var(--line); }
footer b { color: #fff; }
footer a { color: #b6c6ff; }

/* ===== правки после ревью внутренних страниц ===== */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--accent); }
.field input, .field textarea { border-color: var(--accent-mid); }
html { scrollbar-color: #2a3a9a var(--bg); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { scrollbar-color: #9bb0ee var(--bg); } }
:root { --band: #0d1440; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --band: #e7ecfc; } }
/* ритм текста в секциях */
section .lead { max-width: 44rem; margin-bottom: 1.5rem; }
section h2 + .lead { margin-top: -1.25rem; }
section .wrap > ul:not(.topics):not(.situations):not(.timeline), section .wrap > ol:not(.steps) { margin-block: 1rem; padding-left: 1.3rem; max-width: 44rem; }
section .wrap > p { max-width: 44rem; }
section .wrap > p + p { margin-top: .9rem; }
.topics > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* плитки и плюс в FAQ: синий, без коричневой подложки */
.tile { background: var(--accent-soft); color: var(--leather-text); box-shadow: inset 0 0 0 1px var(--accent-mid); }
summary::after { background: linear-gradient(var(--accent), var(--accent)) center / .8rem 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px .8rem no-repeat, var(--accent-soft) !important; }
details[open] summary::after { background: linear-gradient(var(--accent), var(--accent)) center / .8rem 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 0 0 no-repeat, var(--accent-soft) !important; }
/* таблица сравнения на телефоне: подсказка, липкий первый столбец, тень у края */
.cmp-hint { display: none; }
@media (max-width: 47.99rem) {
  .cmp-hint { display: block; margin-top: 1rem; font-size: var(--fs-s); color: var(--muted); }
  .cmp { background-image: linear-gradient(90deg, transparent calc(100% - 2rem), rgba(79,109,240,.45)); background-attachment: local, scroll; }
  .cmp tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  .cmp thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--band); }
}
/* навигация на телефоне: прокручиваемая строка ссылок под шапкой */
@media (max-width: 61.99rem) {
  header.top .wrap { flex-wrap: wrap; }
  header.top nav { display: flex; order: 3; width: 100%; gap: 1.1rem; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; margin: 0; padding-bottom: .15rem; scrollbar-width: none; }
  header.top nav::-webkit-scrollbar { display: none; }
  header.top nav a { min-height: 40px; flex: none; }
}
/* блоки-заметки (примеры находок, условия) */
.note { padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.note + .note { margin-top: 1rem; }
/* 404 */
.nf-links { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.nf-links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); text-decoration: none; font-weight: 600; }
.nf-links a::after { content: "→"; color: var(--accent); }
.nf-links a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* движение на внутренних страницах */
.tile { transition: transform .35s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .anim .topics > li.reveal, .anim .steps > li.reveal { transition: opacity .9s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
  .anim .topics > li.reveal.in:hover, .anim .steps > li.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
  .topics > li:hover .tile { transform: scale(1.1) rotate(-5deg); }
  .hero-video { animation: vfloat 7s ease-in-out infinite; }
  @keyframes vfloat { 50% { transform: translateY(-9px); } }
  .hero-video::before { animation: vglow 5s ease-in-out infinite; }
  @keyframes vglow { 50% { opacity: .55; } }
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
    details[open]::details-content { block-size: auto; }
  }
}
