@font-face { font-family: "Onest"; src: url("assets/fonts/onest-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("assets/fonts/unbounded-var.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }

:root {

  --bg: #fff8ee;
  --tint: #fff1dc;
  --card: #ffffff;
  --ink: #1b1f3b;
  --ink-2: #3f4466;
  --ink-3: #6f7392;
  --dark-2: #2b3060;
  --on-dark: #f6f1e8;
  --on-dark-2: #b7bbd8;
  --accent: #ff6b2c;
  --accent-hover: #ff7c43;
  --accent-soft: #ffe2d3;
  --lime: #c8f169;
  --lime-soft: #e4f8c4;
  --lilac: #b9a7ff;
  --lilac-soft: #e9e3ff;
  --yellow: #ffd84d;
  --yellow-soft: #fff1b8;
  --tg: #229ed9;
  --error: #c4291c;
  --ok: #2c7a18;
  --on-accent: #1b1f3b;
  --shade: #1b1f3b;
  --footer-bg: #13162f;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Unbounded", var(--font);
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --h1: clamp(1.5rem, .85rem + 3.4vw, 3.5rem);
  --h2: clamp(1.625rem, 1.1rem + 1.9vw, 2.5rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 40px; --s-9: 48px;
  --maxw: 1200px;
  --gutter: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left), env(safe-area-inset-right));
  --header-h: 68px;
  --section: clamp(64px, 8vw, 112px);

  --bw: 2px;
  --r-sm: 10px; --r: 14px; --r-lg: 18px;
  --shadow-sm: 3px 3px 0 var(--shade);
  --shadow: 4px 4px 0 var(--shade);
  --shadow-lg: 6px 6px 0 var(--shade);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #121428;
  --tint: #191c37;
  --card: #1e2243;
  --ink: #f2ede3;
  --ink-2: #cfcbdc;
  --ink-3: #9d9fbc;
  --dark-2: #262b55;
  --accent-soft: #2c1d38;
  --lime-soft: #122b35;
  --lilac-soft: #272549;
  --yellow-soft: #26244a;
  --error: #ff8373;
  --ok: #9be36a;
  --shade: #4a5096;
  --footer-bg: #0b0d1d;
  color-scheme: dark;
}
[data-theme="dark"] .hl { --hl-c: color-mix(in srgb, var(--lime) 38%, transparent); }
[data-theme="dark"] .section--route .hl { --hl-c: color-mix(in srgb, var(--yellow) 38%, transparent); }
[data-theme="dark"] .section--grid .hl { --hl-c: color-mix(in srgb, var(--lilac) 45%, transparent); }
[data-theme="dark"] .stat b i { background: linear-gradient(transparent 58%, color-mix(in srgb, var(--hl) 45%, transparent) 58%); }
[data-theme="dark"] .rocket [stroke="#1b1f3b"] { stroke: var(--ink); }
[data-theme="dark"] .footer__word { color: #1c2046; }

:is(.btn--primary, .label:not(.label--white), .mark, .sticker, .logo__lab, .ticker, .tape__strip, .skip-link, .report__title, .report.is-done .report__errors, .work__cta > h3, .work__cta > p:not(.label), .step.is-on .step__node, .totop .icon, .faq details[open] summary .icon, .report__item[aria-pressed="true"] .report__mark, .work__list .icon, .msg--out, .msg--btns i, .notif, .toast b, .seg input:checked + span, .plus-one) { color: var(--on-accent); }
.label--white { color: var(--ink); }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { display: block; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
p { text-wrap: pretty; }
::selection { background: var(--lime); color: var(--on-accent); }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--lime); font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon--tg { color: var(--tg); }
.container { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }

.label { display: inline-flex; align-items: center; gap: 2px; justify-self: start; align-self: start; padding: 4px 12px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm) 4px var(--r-sm) 4px; background: var(--lilac); color: var(--ink); font-family: var(--mono); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.label::before, .label::after { display: inline-block; opacity: .5; font-weight: 700; transition: transform .5s var(--spring) .2s, opacity .4s .2s; }
.label::before { content: "{"; }
.label::after { content: "}"; }
[data-reveal]:not(.is-visible) .label::before { opacity: 0; transform: translateX(14px) rotate(-30deg); }
[data-reveal]:not(.is-visible) .label::after { opacity: 0; transform: translateX(-14px) rotate(30deg); }
.label:hover::before { transform: translateX(-3px); transition-delay: 0s; }
.label:hover::after { transform: translateX(3px); transition-delay: 0s; }
.label--lime { background: var(--lime); }
.label--white { background: var(--card); }

.nw { white-space: nowrap; }

.hl { --hl-c: var(--lime); background: linear-gradient(var(--hl-c), var(--hl-c)) no-repeat 0 88% / 0% 40%; transition: background-size .9s var(--ease) .35s; }
.is-visible .hl { background-size: 100% 40%; }
.section--route .hl { --hl-c: var(--yellow); }
.section--grid .hl { --hl-c: var(--lilac); }

.mark { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 100% 100%; padding: 0 .12em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); height: var(--h); padding: 0 var(--s-6); border: var(--bw) solid var(--ink); border-radius: var(--r-sm); font-size: .9375rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-sm); transition: background-color .2s, box-shadow .15s, transform .15s var(--ease), translate .3s var(--ease); }
.btn { translate: var(--mx, 0px) var(--my, 0px); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--shade); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn svg { transition: transform .3s var(--spring); }
.btn:hover svg:has(use[href="#i-arrow"]) { transform: translateX(4px); }
.btn:hover svg:has(use[href="#i-tg"]) { transform: rotate(-14deg) scale(1.12); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline { background: var(--card); color: var(--ink); }
.btn--sm { --h: 40px; padding: 0 var(--s-4); font-size: .8125rem; box-shadow: 2px 2px 0 var(--shade); }
.btn--sm:hover { box-shadow: 3px 3px 0 var(--shade); }
.btn--block { width: 100%; }

.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: var(--bw) solid transparent; transition: border-color .25s; }
.header.is-stuck { border-bottom-color: var(--ink); }
.progress { position: absolute; inset: auto 0 -2px; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.header__row { display: flex; align-items: center; gap: var(--s-8); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.logo__word { text-decoration: underline wavy var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-skip-ink: none; }
.logo__lab { display: inline-block; padding: 3px 7px 4px; border: var(--bw) solid var(--ink); border-radius: 8px; background: var(--lime); color: var(--ink); box-shadow: 2px 2px 0 var(--shade); font-size: .78em; font-weight: 700; letter-spacing: -.02em; transform: rotate(-5deg); transition: transform .35s var(--spring), box-shadow .2s; }
@media (hover: hover) { .logo:hover .logo__lab { transform: rotate(4deg) scale(1.1); box-shadow: 3px 3px 0 var(--shade); } }
/* на телефоне тот же эффект по касанию (класс is-tap), через мгновение сам возвращается */
.logo.is-tap .logo__lab { transform: rotate(4deg) scale(1.1); box-shadow: 3px 3px 0 var(--shade); }
.logo__word { transition: text-decoration-color .3s; }
@media (hover: hover) { .logo:hover .logo__word { text-decoration-color: var(--lilac); } }
.logo.is-tap .logo__word { text-decoration-color: var(--lilac); }
.nav { display: flex; gap: var(--s-7); margin-left: auto; }
.nav a { position: relative; padding: var(--s-2) 0; font-size: .9375rem; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.theme { position: relative; flex: none; width: 64px; height: 36px; margin-left: var(--s-2); border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--tint); box-shadow: 2px 2px 0 var(--shade); transition: background-color .3s, box-shadow .15s, transform .15s var(--ease); }
.theme:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shade); }
.theme:active { transform: translate(2px, 2px); box-shadow: none; }
.theme__knob { position: absolute; top: 3px; left: 3px; display: grid; place-items: center; width: 26px; height: 26px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--yellow); color: var(--on-accent); transition: transform .45s var(--spring), background-color .3s; }
.theme__knob svg { position: absolute; width: 15px; height: 15px; transition: opacity .25s, transform .45s var(--spring); }
.theme__moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="dark"] .theme__knob { transform: translateX(28px); background: var(--lilac); }
[data-theme="dark"] .theme__sun { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .theme__moon { opacity: 1; transform: none; }
.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: var(--s-3); border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--card); box-shadow: 2px 2px 0 var(--shade); }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); background: var(--bg); }
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { display: grid; padding: var(--s-2) 0; }
.mobile-nav__inner > a:last-child:not(.btn) { border-bottom: 0; }
.mobile-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); font-size: 1.0625rem; font-weight: 600; }

.hero { position: relative; overflow: clip; padding-top: clamp(32px, 5vw, 64px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: clamp(32px, 5vw, 72px); align-items: stretch; padding-bottom: clamp(48px, 6vw, 80px); }
.hero__copy { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-6); min-width: 0; padding-top: var(--s-2); }
.hero h1 { font-size: var(--h1); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.hero__lead { max-width: 54ch; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.hero h1, .hero__lead, .hero__actions, .calc { animation: rise .8s var(--ease) backwards; }
.calc { animation-delay: .1s; }
.hero__lead { animation-delay: .14s; }
.hero__actions { animation-delay: .22s; }
.hero .mark { background-size: 0% 100%; animation: mark-in .9s .6s var(--ease) forwards; }
.stat { animation: pop-in .6s var(--spring) backwards; }
.stat:nth-child(1) { animation-delay: .34s; }
.stat:nth-child(2) { animation-delay: .44s; }
.stat:nth-child(3) { animation-delay: .54s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes mark-in { to { background-size: 100% 100%; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.9); } }

.stats { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-2); }
.stat { --hl: var(--lime); display: grid; gap: 6px; align-content: start; padding: var(--s-4) var(--s-5) var(--s-5); border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); transition: transform .25s var(--spring), box-shadow .2s; }
.stat:hover { transform: translate(-2px, -3px) rotate(-1.5deg); box-shadow: var(--shadow-lg); }
.stat:nth-child(2):hover { transform: translate(-2px, -3px) rotate(1.5deg); }
.stat--lilac { --hl: var(--lilac); }
.stat--accent { --hl: color-mix(in srgb, var(--accent) 55%, var(--card)); }
.stat b { justify-self: start; max-width: 100%; font-family: var(--display); font-size: clamp(1.375rem, .9rem + 1.1vw, 1.875rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; overflow-wrap: normal; word-break: normal; hyphens: none; }

.stat b i { padding: 0 3px; background: linear-gradient(transparent 58%, var(--hl) 58%); font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stat span { font-size: .8125rem; line-height: 1.4; color: var(--ink-2); }

.calc { position: relative; isolation: isolate; align-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding: var(--s-7) var(--s-6) var(--s-8); background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + 32px); }
.calc__title { font-size: 1.3125rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.calc__group { display: grid; gap: var(--s-2); }
.calc__cap { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; height: 44px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); font-size: .9375rem; font-weight: 700; cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.seg span:hover { background: var(--tint); }
.seg input:checked + span { background: var(--lime); box-shadow: inset 0 -3px 0 var(--shade); animation: chip-pop .35s var(--spring); }
@keyframes chip-pop { 0% { transform: scale(.92); } 100% { transform: none; } }
.seg input:focus-visible + span { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.addons { display: grid; }
.addon { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: var(--s-3); min-height: 42px; border-top: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent); font-size: .9375rem; cursor: pointer; }
.addon:last-child { border-bottom: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent); }
.addon input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.addon:has(input:checked) span { font-weight: 700; }
.addon input:checked { animation: chip-pop .35s var(--spring); }
.calc__result { display: flex; align-items: flex-end; gap: var(--s-4); padding: var(--s-4); border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--tint); }
.calc__result > div { display: grid; gap: var(--s-1); }
.calc__result output { font-family: var(--display); font-size: 1.875rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__result.is-bump { animation: result-bump .4s var(--spring); }
@keyframes result-bump { 40% { transform: scale(1.035) rotate(-.6deg); background: var(--lime-soft); } }
.calc__share { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: -4px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); text-decoration: underline dashed color-mix(in srgb, var(--ink) 40%, transparent); text-underline-offset: 4px; transition: color .2s; }
.calc__share .icon { width: 16px; height: 16px; transition: transform .3s var(--spring); }
.calc__share:hover { color: var(--ink); }
.calc__share:hover .icon { transform: rotate(-20deg) scale(1.15); }
.calc__base { font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.calc__base b { color: var(--ink); }

.sticker { position: absolute; z-index: 2; padding: 7px 14px; border: var(--bw) solid var(--ink); border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.3; white-space: nowrap; box-shadow: var(--shadow-sm); pointer-events: none; user-select: none; transition: transform .3s var(--ease); }
.sticker--a { top: -18px; right: 24px; background: var(--lime); transform: rotate(4deg); }
.calc:hover .sticker--a { transform: rotate(-3deg) scale(1.05); }
.calc:hover

.input { width: 100%; height: 50px; padding: 0 var(--s-4); border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--card); font-size: 1rem; transition: box-shadow .15s; }
textarea.input { height: auto; min-height: 120px; padding: 14px var(--s-4); line-height: 1.5; resize: vertical; }
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; box-shadow: 3px 3px 0 var(--lime), 3px 3px 0 var(--bw) var(--ink); }
.input[aria-invalid="true"] { border-color: var(--error); }

.ticker { overflow: hidden; border-block: var(--bw) solid var(--ink); background: var(--accent); }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; will-change: transform; }
.ticker__track span { padding: 14px 0; font-family: var(--mono); font-size: .8125rem; font-weight: 700; white-space: nowrap; }

.ticker__track span::before { content: "·"; display: inline-block; margin-inline: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { position: relative; padding-block: var(--section); }
.section h2 { font-size: var(--h2); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.section--tint { background-color: var(--tint); border-top: var(--bw) solid var(--ink); }

.section--services { overflow-x: clip; isolation: isolate; background-color: var(--yellow-soft); border-bottom: var(--bw) solid var(--ink); }

.section--grid { background-color: var(--lilac-soft); border-bottom: var(--bw) solid var(--ink); }

.section--route { background-color: var(--lime-soft); }

.section--faq {
  --bg: #1b1f3b; --tint: #232850; --card: #262b55; --ink: #f2ede3; --ink-2: #cfcbdc; --ink-3: #9d9fbc;
  --lime-soft: #2c3a24; --shade: #4a5096;
  --shadow-sm: 3px 3px 0 var(--shade); --shadow: 4px 4px 0 var(--shade); --shadow-lg: 6px 6px 0 var(--shade);
  overflow-x: clip; color: var(--ink); color-scheme: dark; border-block: var(--bw) solid #1b1f3b;
  background-color: var(--bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%23b9a7ff38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 26h44a8 8 0 0 1 8 8v20a8 8 0 0 1-8 8H42l-12 10v-10h-8a8 8 0 0 1-8-8V34a8 8 0 0 1 8-8Z'/%3E%3Cpath d='M38 40a6 6 0 1 1 8 5.6c-1.3.6-2 1.4-2 2.9V50'/%3E%3Ccircle cx='44' cy='55.5' r='.6'/%3E%3Cpath d='M118 110h40a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8h-6v10l-12-10h-22a8 8 0 0 1-8-8v-16a8 8 0 0 1 8-8Z'/%3E%3Cpath d='M126 126h28M126 134h18'/%3E%3Cpath d='M136 44a7 7 0 1 1 9.3 6.6c-1.5.6-2.3 1.6-2.3 3.3V56'/%3E%3Ccircle cx='143' cy='62' r='.7'/%3E%3Cpath d='M40 128a7 7 0 1 1 9.3 6.6c-1.5.6-2.3 1.6-2.3 3.3V140'/%3E%3Ccircle cx='47' cy='146' r='.7'/%3E%3C/svg%3E"); background-size: 180px 180px;
}
[data-theme="dark"] .section--faq { --bg: #1a1d3d; --card: #232751; --shade: #4a5096; border-color: #2e3366; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%23b9a7ff2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 26h44a8 8 0 0 1 8 8v20a8 8 0 0 1-8 8H42l-12 10v-10h-8a8 8 0 0 1-8-8V34a8 8 0 0 1 8-8Z'/%3E%3Cpath d='M38 40a6 6 0 1 1 8 5.6c-1.3.6-2 1.4-2 2.9V50'/%3E%3Ccircle cx='44' cy='55.5' r='.6'/%3E%3Cpath d='M118 110h40a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8h-6v10l-12-10h-22a8 8 0 0 1-8-8v-16a8 8 0 0 1 8-8Z'/%3E%3Cpath d='M126 126h28M126 134h18'/%3E%3Cpath d='M136 44a7 7 0 1 1 9.3 6.6c-1.5.6-2.3 1.6-2.3 3.3V56'/%3E%3Ccircle cx='143' cy='62' r='.7'/%3E%3Cpath d='M40 128a7 7 0 1 1 9.3 6.6c-1.5.6-2.3 1.6-2.3 3.3V140'/%3E%3Ccircle cx='47' cy='146' r='.7'/%3E%3C/svg%3E"); }
.section--faq .hl { --hl-c: color-mix(in srgb, var(--lilac) 55%, transparent); }
.section--faq .faq__qmark > span { color: var(--lilac); text-shadow: 7px 7px 0 #4a5096; }
.section--faq .help { background: var(--tint); }

.hero, .nf-page { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' fill='none' stroke='%231b1f3b24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2818 22%29 rotate%28-8 12 12%29 scale%281.1%29' d='M8 7l-5 5 5 5M16 7l5 5-5 5M14 4l-4 16'/%3E%3Cpath transform='translate%28120 40%29 rotate%286 12 12%29 scale%281%29' d='M9 4C7 4 6 5 6 7v3c0 1-1 2-2 2 1 0 2 1 2 2v3c0 2 1 3 3 3M15 4c2 0 3 1 3 3v3c0 1 1 2 2 2-1 0-2 1-2 2v3c0 2-1 3-3 3'/%3E%3Cpath transform='translate%2860 110%29 rotate%280 12 12%29 scale%281%29' d='M4 7l5 5-5 5M12 18h8'/%3E%3Cpath transform='translate%28148 128%29 rotate%2812 12 12%29 scale%280.9%29' d='M9 4 7 20M17 4l-2 16M4 9h16M3 15h16'/%3E%3Cpath transform='translate%288 160%29 rotate%2810 12 12%29 scale%280.8%29' d='M8 7l-5 5 5 5M16 7l5 5-5 5M14 4l-4 16'/%3E%3C/svg%3E"); background-size: 190px 190px; }
[data-theme="dark"] .hero, [data-theme="dark"] .nf-page { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' fill='none' stroke='%23f2ede31c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2818 22%29 rotate%28-8 12 12%29 scale%281.1%29' d='M8 7l-5 5 5 5M16 7l5 5-5 5M14 4l-4 16'/%3E%3Cpath transform='translate%28120 40%29 rotate%286 12 12%29 scale%281%29' d='M9 4C7 4 6 5 6 7v3c0 1-1 2-2 2 1 0 2 1 2 2v3c0 2 1 3 3 3M15 4c2 0 3 1 3 3v3c0 1 1 2 2 2-1 0-2 1-2 2v3c0 2-1 3-3 3'/%3E%3Cpath transform='translate%2860 110%29 rotate%280 12 12%29 scale%281%29' d='M4 7l5 5-5 5M12 18h8'/%3E%3Cpath transform='translate%28148 128%29 rotate%2812 12 12%29 scale%280.9%29' d='M9 4 7 20M17 4l-2 16M4 9h16M3 15h16'/%3E%3Cpath transform='translate%288 160%29 rotate%2810 12 12%29 scale%280.8%29' d='M8 7l-5 5 5 5M16 7l5 5-5 5M14 4l-4 16'/%3E%3C/svg%3E"); }
.section--services { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='210' fill='none' stroke='%238a6d1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2820 24%29 rotate%28-6 12 12%29 scale%281.2%29' d='M4 4h16a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1ZM3 9h18M6 6.5h.01M9 6.5h.01'/%3E%3Cpath transform='translate%28128 18%29 rotate%288 12 12%29 scale%281.15%29' d='M4 5h16v10h-9l-5 4v-4H4z M8 9h8M8 12h5'/%3E%3Cpath transform='translate%2870 104%29 rotate%284 12 12%29 scale%281.1%29' d='M8 3h11v14H8zM5 7v14h11'/%3E%3Cpath transform='translate%28160 120%29 rotate%28-10 12 12%29 scale%281.1%29' d='M8 2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2ZM11 18.5h2'/%3E%3Cpath transform='translate%2814 168%29 rotate%28-4 12 12%29 scale%280.85%29' d='M4 5h16v10h-9l-5 4v-4H4z M8 9h8M8 12h5'/%3E%3C/svg%3E"); background-size: 210px 210px; }
[data-theme="dark"] .section--services { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='210' fill='none' stroke='%23ffd84d38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2820 24%29 rotate%28-6 12 12%29 scale%281.2%29' d='M4 4h16a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1ZM3 9h18M6 6.5h.01M9 6.5h.01'/%3E%3Cpath transform='translate%28128 18%29 rotate%288 12 12%29 scale%281.15%29' d='M4 5h16v10h-9l-5 4v-4H4z M8 9h8M8 12h5'/%3E%3Cpath transform='translate%2870 104%29 rotate%284 12 12%29 scale%281.1%29' d='M8 3h11v14H8zM5 7v14h11'/%3E%3Cpath transform='translate%28160 120%29 rotate%28-10 12 12%29 scale%281.1%29' d='M8 2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2ZM11 18.5h2'/%3E%3Cpath transform='translate%2814 168%29 rotate%28-4 12 12%29 scale%280.85%29' d='M4 5h16v10h-9l-5 4v-4H4z M8 9h8M8 12h5'/%3E%3C/svg%3E"); }
.section--grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' fill='none' stroke='%235b47c455' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2816 18%29 rotate%280 12 12%29 scale%281.1%29' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3Cpath transform='translate%28104 26%29 rotate%28-6 12 12%29 scale%281%29' d='M12 3.5 21.5 20h-19zM12 10v4.5M12 17.5h.01'/%3E%3Cpath transform='translate%2854 92%29 rotate%288 12 12%29 scale%281.05%29' d='M10.5 3.5a7 7 0 1 1 0 14 7 7 0 0 1 0-14ZM15.5 15.5 21 21'/%3E%3Cpath transform='translate%28126 112%29 rotate%280 12 12%29 scale%280.9%29' d='M7 7l10 10M17 7 7 17'/%3E%3Cpath transform='translate%288 140%29 rotate%28-10 12 12%29 scale%280.8%29' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-size: 170px 170px; }
[data-theme="dark"] .section--grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' fill='none' stroke='%23b9a7ff3d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2816 18%29 rotate%280 12 12%29 scale%281.1%29' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3Cpath transform='translate%28104 26%29 rotate%28-6 12 12%29 scale%281%29' d='M12 3.5 21.5 20h-19zM12 10v4.5M12 17.5h.01'/%3E%3Cpath transform='translate%2854 92%29 rotate%288 12 12%29 scale%281.05%29' d='M10.5 3.5a7 7 0 1 1 0 14 7 7 0 0 1 0-14ZM15.5 15.5 21 21'/%3E%3Cpath transform='translate%28126 112%29 rotate%280 12 12%29 scale%280.9%29' d='M7 7l10 10M17 7 7 17'/%3E%3Cpath transform='translate%288 140%29 rotate%28-10 12 12%29 scale%280.8%29' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.section--route { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='230' height='230' fill='none' stroke='%235f7a2640' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2826 20%29 rotate%280 12 12%29 scale%281.2%29' d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11ZM12 8a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3Cpath transform='translate%28150 58%29 rotate%286 12 12%29 scale%281.1%29' d='M6 21V4M6 4h11l-2.5 4L17 12H6'/%3E%3Cpath transform='translate%2860 150%29 rotate%28-4 12 12%29 scale%281.05%29' d='M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18ZM12 7.5V12l3 2'/%3E%3Cpath transform='translate%28176 176%29 rotate%288 12 12%29 scale%280.85%29' d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11ZM12 8a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3C/svg%3E"); background-size: 230px 230px; }
[data-theme="dark"] .section--route { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='230' height='230' fill='none' stroke='%23c8f16938' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2826 20%29 rotate%280 12 12%29 scale%281.2%29' d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11ZM12 8a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3Cpath transform='translate%28150 58%29 rotate%286 12 12%29 scale%281.1%29' d='M6 21V4M6 4h11l-2.5 4L17 12H6'/%3E%3Cpath transform='translate%2860 150%29 rotate%28-4 12 12%29 scale%281.05%29' d='M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18ZM12 7.5V12l3 2'/%3E%3Cpath transform='translate%28176 176%29 rotate%288 12 12%29 scale%280.85%29' d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11ZM12 8a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3C/svg%3E"); }
.section--work { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='none' stroke='%231b1f3b3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2820 22%29 rotate%28-6 12 12%29 scale%281.2%29' d='M3 5h18v14H3zM3 16l5-5 4 4 3-3 6 6M15.5 8.5h.01'/%3E%3Cpath transform='translate%28132 26%29 rotate%280 12 12%29 scale%281%29' d='M12 3c.6 4.6 3.4 7.4 8 8-4.6.6-7.4 3.4-8 8-.6-4.6-3.4-7.4-8-8 4.6-.6 7.4-3.4 8-8Z'/%3E%3Cpath transform='translate%2882 104%29 rotate%28-8 12 12%29 scale%281.1%29' d='M6 3l13 7-5.5 1.7L11 17z'/%3E%3Cpath transform='translate%2826 150%29 rotate%280 12 12%29 scale%280.7%29' d='M12 3c.6 4.6 3.4 7.4 8 8-4.6.6-7.4 3.4-8 8-.6-4.6-3.4-7.4-8-8 4.6-.6 7.4-3.4 8-8Z'/%3E%3Cpath transform='translate%28146 142%29 rotate%288 12 12%29 scale%280.9%29' d='M3 5h18v14H3zM3 16l5-5 4 4 3-3 6 6M15.5 8.5h.01'/%3E%3C/svg%3E"); background-size: 200px 200px; }
[data-theme="dark"] .section--work { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' fill='none' stroke='%23f2ede330' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath transform='translate%2820 22%29 rotate%28-6 12 12%29 scale%281.2%29' d='M3 5h18v14H3zM3 16l5-5 4 4 3-3 6 6M15.5 8.5h.01'/%3E%3Cpath transform='translate%28132 26%29 rotate%280 12 12%29 scale%281%29' d='M12 3c.6 4.6 3.4 7.4 8 8-4.6.6-7.4 3.4-8 8-.6-4.6-3.4-7.4-8-8 4.6-.6 7.4-3.4 8-8Z'/%3E%3Cpath transform='translate%2882 104%29 rotate%28-8 12 12%29 scale%281.1%29' d='M6 3l13 7-5.5 1.7L11 17z'/%3E%3Cpath transform='translate%2826 150%29 rotate%280 12 12%29 scale%280.7%29' d='M12 3c.6 4.6 3.4 7.4 8 8-4.6.6-7.4 3.4-8 8-.6-4.6-3.4-7.4-8-8 4.6-.6 7.4-3.4 8-8Z'/%3E%3Cpath transform='translate%28146 142%29 rotate%288 12 12%29 scale%280.9%29' d='M3 5h18v14H3zM3 16l5-5 4 4 3-3 6 6M15.5 8.5h.01'/%3E%3C/svg%3E"); }

[data-theme="dark"] .section--services { --card: #352a1c; --bg: #2a2217; background-color: #2a2217; border-color: #f2ede3; }
[data-theme="dark"] .section--grid { --card: #382a45; --bg: #2b2036; background-color: #2b2036; }
[data-theme="dark"] .section--route { background-color: #112b33; }
[data-theme="dark"] .section--work { --card: #3a2229; --bg: #2c1b22; background-color: #2c1b22; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--s-4) var(--s-8); align-items: end; margin-bottom: var(--s-9); }
.head > div { display: grid; gap: var(--s-4); }
.head > p { color: var(--ink-2); }

@media (max-width: 640px) {
  .hero, .nf-page { background-size: 118px 118px; }
  .section--services { background-size: 130px 130px; }
  .section--grid { background-size: 105px 105px; }
  .section--route { background-size: 143px 143px; }
  .section--work { background-size: 124px 124px; }
}

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.card { --soft: var(--accent-soft); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4) var(--s-5) var(--s-5); background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s, background-color .3s; }
.card--lime { --soft: var(--lime-soft); }
.card--lilac { --soft: var(--lilac-soft); }
.card--yellow { --soft: var(--yellow-soft); }
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); background: color-mix(in srgb, var(--soft) 55%, var(--card)); }
.card > *:not(.card__spot) { position: relative; }
.card__spot { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--soft) 95%, transparent), transparent 70%); }
.card:hover .card__spot { opacity: 1; }
.card h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.card > p { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.card__list { display: grid; gap: 6px; margin: var(--s-2) 0 var(--s-4); }
.card__list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--s-2); font-size: .875rem; line-height: 1.45; }
.card__list li::before { content: "+"; font-family: var(--mono); font-weight: 800; color: var(--accent); line-height: 1.45; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; padding-top: var(--s-4); border-top: var(--bw) dashed var(--ink); }
.card__foot p { display: grid; }
.card__foot span { font-size: .9375rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }

.art { isolation: isolate; backface-visibility: hidden; height: 140px; margin-bottom: var(--s-3); overflow: hidden; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1px) 0 0 / 12px 12px, var(--soft); font-family: var(--mono); }
.win { position: absolute; left: 14px; right: 14px; top: 14px; bottom: -2px; overflow: hidden; border: var(--bw) solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--card); }
.win__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-bottom: 1.5px solid var(--ink); background: var(--bg); }
.win__bar i { width: 7px; height: 7px; border: 1.3px solid var(--ink); border-radius: 50%; }
.win__bar i:nth-child(1) { background: var(--accent); }
.win__bar i:nth-child(2) { background: var(--yellow); }
.win__bar i:nth-child(3) { background: var(--lime); }
.win__bar span { margin-left: auto; font-size: 9px; font-weight: 700; }

.lp { display: grid; gap: 6px; padding: 8px; transition: transform .9s cubic-bezier(.45, 0, .25, 1); }
.card:is(:hover, .is-play) .lp { transform: translateY(-58px); }
.lp__hero { position: relative; height: 38px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--accent-soft); }
.lp__hero::before { content: ""; position: absolute; left: 7px; top: 7px; width: 52%; height: 5px; border-radius: 3px; background: var(--ink); box-shadow: 0 9px 0 -1px color-mix(in srgb, var(--ink) 35%, transparent); }
.lp__hero u { position: absolute; right: 7px; bottom: 7px; width: 34px; height: 11px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--accent); }
.lp__hero--alt { background: var(--lilac-soft); }
.lp__hero--alt u { background: var(--lime); }
.lp__line { height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.lp__line--s { width: 64%; }
.lp__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.lp__row i { height: 28px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--bg); }

.st { position: absolute; inset: 12px 14px; display: flex; flex-direction: column; overflow: hidden; border: var(--bw) solid var(--ink); border-radius: 9px; background: var(--card); }
.st__bar { display: flex; align-items: center; gap: 4px; flex: none; height: 19px; padding: 0 8px; border-bottom: 1.5px solid var(--ink); background: var(--bg); }
.st__bar i { width: 6px; height: 6px; border: 1.2px solid var(--ink); border-radius: 50%; }
.st__bar i:nth-child(1) { background: var(--accent); }
.st__bar i:nth-child(2) { background: var(--yellow); }
.st__bar i:nth-child(3) { background: var(--lime); }
.st__bar span { margin-left: auto; padding: 1px 8px; border: 1.2px solid var(--ink); border-radius: 999px; background: var(--card); font-size: 8px; font-weight: 700; line-height: 1.3; }
.st__nav { display: flex; align-items: center; justify-content: space-between; flex: none; height: 24px; padding: 0 10px; border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); }
.st__nav b { width: 34px; height: 9px; border-radius: 3px; background: var(--ink); }
.st__links { position: relative; display: flex; gap: 9px; }
.st__links i { width: 20px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 28%, transparent); }
.st__links u { position: absolute; left: 0; top: 10px; width: 20px; height: 3px; border-radius: 2px; background: var(--accent); transition: transform .45s var(--spring); }
.st__body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); flex: 1; gap: 12px; min-height: 0; padding: 9px 10px; }
.st__txt { display: grid; align-content: center; gap: 6px; }
.st__txt em { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.st__txt em:first-child { width: 86%; height: 8px; background: var(--ink); }
.st__txt em.m { width: 100%; }
.st__txt em.s { width: 62%; }
.st__txt s { width: 42px; height: 13px; margin-top: 2px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--accent); }
.st__img { border: 1.5px solid var(--ink); border-radius: 6px; background: linear-gradient(135deg, transparent 56%, var(--lime) 56%), var(--lime-soft); transition: background-color .4s; }
.card:is(:hover, .is-play) .st__links u { transform: translateX(87px); }
.card:is(:hover, .is-play) .st__img { background-color: var(--accent-soft); }

.tg { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; background: var(--lilac-soft); }
.tg__top { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border-bottom: 1.5px solid var(--ink); background: var(--card); }
.tg__ava { display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--lime); font-family: var(--display); font-size: 11px; font-weight: 800; line-height: 1; }
.tg__name { display: flex; flex-direction: column; font-family: var(--font); font-size: 10px; font-weight: 800; line-height: 1.1; }
.tg__name small { font-size: 8px; font-weight: 600; color: var(--ink-2); }
.tg__bar { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 22px; margin: 5px 8px 6px; padding: 0 4px 0 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); font-family: var(--font); font-size: 9px; font-weight: 600; color: var(--ink-2); }
.tg__bar u { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.tg .chat { gap: 4px; padding: 6px 8px 0; }
.tg .msg { padding: 3px 8px; }
.tg .typing { padding: 5px 8px; }
.tg .msg--btns i { padding: 2px 7px; }
.chat { display: grid; gap: 5px; align-content: start; padding: 8px; }
.msg { max-width: 88%; padding: 4px 8px; border: 1.5px solid var(--ink); border-radius: 8px; font-family: var(--font); font-size: 10px; font-weight: 600; line-height: 1.3; }
.msg--in { justify-self: start; background: var(--bg); border-bottom-left-radius: 2px; }
.msg--out { justify-self: end; background: var(--lilac); border-bottom-right-radius: 2px; }
.typing, .msg--btns { grid-area: 3 / 1; justify-self: start; }
.typing { display: flex; gap: 3px; padding: 6px 8px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--bg); transition: opacity .15s; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }
.msg--btns { display: flex; gap: 4px; opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .3s var(--ease), transform .35s var(--spring); }
.msg--btns i { padding: 3px 7px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--lime); font-style: normal; font-size: 9px; font-weight: 800; }
.card:is(:hover, .is-play) .typing { opacity: 0; }
.card:is(:hover, .is-play) .msg--btns { opacity: 1; transform: none; transition-delay: .2s; }

.phone { position: absolute; left: 50%; top: 12px; display: grid; align-content: start; gap: 6px; width: 78px; height: 150px; margin-left: -39px; padding: 14px 7px 0; border: var(--bw) solid var(--ink); border-radius: 14px; background: var(--card); box-shadow: 3px 3px 0 var(--shade); transition: transform .45s var(--spring); }
.phone::before { content: ""; position: absolute; top: 5px; left: 50%; width: 22px; height: 4px; margin-left: -11px; border-radius: 3px; background: var(--ink); }
.phone__card { height: 30px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--yellow); }
.phone__row { display: flex; align-items: center; gap: 5px; }
.phone__row b { flex: 1; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.phone__row b.s { flex: .5; }
.phone__toggle { position: relative; width: 20px; height: 11px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--bg); transition: background-color .3s; }
.phone__toggle::after { content: ""; position: absolute; top: 1px; left: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--spring); }
.phone__btn { height: 14px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--accent); }
.notif { position: absolute; right: 10px; top: 30px; padding: 3px 7px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--lime); box-shadow: 2px 2px 0 var(--shade); font-size: 9px; font-weight: 800; transform: translateX(140%); transition: transform .45s var(--spring); }
.card:is(:hover, .is-play) .phone { transform: translateY(-6px) rotate(-4deg); }
.card:is(:hover, .is-play) .phone__toggle { background: var(--lime); }
.card:is(:hover, .is-play) .phone__toggle::after { transform: translateX(9px); }
.card:is(:hover, .is-play) .notif { transform: none; transition-delay: .15s; }

.check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(40px, 6vw, 88px); align-items: center; }
.check__copy { display: grid; gap: var(--s-5); }
.check__lead { max-width: 56ch; font-size: 1.0625rem; color: var(--ink-2); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-3); }
.principles li { display: grid; gap: var(--s-1); align-content: start; padding: var(--s-4) var(--s-5); border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); transition: transform .25s var(--spring), box-shadow .2s; }
.principles li:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.principles b { font-size: 1rem; }
.principles span { font-size: .875rem; line-height: 1.45; color: var(--ink-2); }

.report { --p: 0; position: relative; overflow: hidden; border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); }
.report.is-bump { animation: bump .5s var(--spring); }
@keyframes bump { 0% { transform: none; } 35% { transform: scale(1.025) rotate(-.6deg); } 100% { transform: none; } }
.report__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-6); border-bottom: var(--bw) solid var(--ink); background: var(--lime); }
.report__title { min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: .9375rem; font-weight: 700; }
.report__title::before { content: "$ "; color: var(--ink-3); }
.report__count { flex: none; white-space: nowrap; padding: 3px 10px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: .8125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.plus-one { position: absolute; right: 78px; top: 50%; margin-top: -11px; font-family: var(--mono); font-size: .875rem; font-weight: 800; pointer-events: none; animation: plus-one .8s var(--ease) forwards; }
@keyframes plus-one { 0% { opacity: 0; transform: translateY(8px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px); } }
.report__bar { height: 10px; border-bottom: var(--bw) solid var(--ink); background: var(--bg); }
.report__bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p)); background: repeating-linear-gradient(45deg, var(--accent) 0 8px, var(--accent-hover) 8px 16px); transition: transform .45s var(--spring), background-color .3s; }
.report.is-done .report__bar i { background: var(--lime); }
.report__hint { padding: var(--s-3) var(--s-6) 0; font-size: .8125rem; font-weight: 600; color: var(--ink-3); transition: opacity .3s; }
.report__hint::before { content: "→ "; color: var(--accent); font-weight: 800; }
.report.is-done .report__hint { opacity: .45; }
.report__list { padding: var(--s-2) var(--s-4); }
.report__list li + li { border-top: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent); }
.report__item { position: relative; overflow: hidden; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); width: 100%; padding: 11px var(--s-2); border-radius: var(--r-sm); text-align: left; font-size: .9375rem; font-weight: 550; transition: background-color .15s; }
.report__item:hover { background: var(--lilac-soft); }
.report__item em { font-style: normal; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); text-align: right; }
.report__mark { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border: var(--bw) solid var(--ink); border-radius: 7px; background: var(--accent-soft); transition: background-color .2s, transform .2s var(--spring); }
.report__item:hover .report__mark { transform: rotate(-8deg) scale(1.08); }
.report__mark b { font-family: var(--mono); font-size: .875rem; font-weight: 800; color: var(--error); transition: opacity .15s, transform .2s; }
.report__mark .icon { position: absolute; width: 15px; height: 15px; opacity: 0; transform: scale(.3) rotate(-25deg); }
.report__item[aria-pressed="true"] .report__mark { background: var(--lime); }
.report__item[aria-pressed="true"] .report__mark b { opacity: 0; transform: scale(.3); }
.report__item[aria-pressed="true"] .report__mark .icon { animation: pop-check .45s var(--spring) forwards; }
@keyframes pop-check { 0% { opacity: 0; transform: scale(.3) rotate(-25deg); } 100% { opacity: 1; transform: none; } }
.report__item.is-scanning::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--lime) 75%, transparent), transparent); transform: translateX(-100%); animation: scan-row .4s var(--ease) forwards; pointer-events: none; }
@keyframes scan-row { to { transform: translateX(100%); } }
.report__sum { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-6); border-top: var(--bw) solid var(--ink); background: var(--tint); font-size: .9375rem; font-weight: 600; transition: background-color .3s; }
.report__errors { padding: 4px 12px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--accent-soft); color: var(--error); font-family: var(--mono); font-size: .8125rem; font-weight: 700; transition: background-color .3s, color .3s; }
.report.is-done .report__sum { background: var(--lime-soft); }
.report.is-done .report__errors { background: var(--lime); color: var(--ink); }
.report__run { margin-left: auto; height: 38px; padding: 0 14px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--card); box-shadow: 2px 2px 0 var(--shade); font-size: .8125rem; font-weight: 700; transition: transform .15s var(--ease), box-shadow .15s, background-color .2s; }
.report__run:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shade); background: var(--lime-soft); }
.report__run:active { transform: translate(2px, 2px); box-shadow: none; }
.report__run:disabled { opacity: .55; cursor: progress; }
.rocket { position: absolute; left: 50%; bottom: 14px; z-index: 3; width: 34px; margin-left: -17px; opacity: 0; pointer-events: none; }
.report.is-launch .rocket { animation: launch 1.5s cubic-bezier(.55, 0, .75, .2) forwards; }
@keyframes launch { 0% { opacity: 0; transform: translateY(24px); } 12% { opacity: 1; transform: translateY(0); } 22% { transform: translate(-2px, 2px) rotate(-3deg); } 30% { transform: translate(2px, 0) rotate(3deg); } 100% { opacity: 1; transform: translateY(-640px); } }
.rocket__flame { transform-box: fill-box; transform-origin: top; }
.report.is-launch .rocket__flame { animation: flame .12s ease-in-out infinite alternate; }
@keyframes flame { to { transform: scaleY(1.35) scaleX(.85); } }
.confetti-bit { position: absolute; z-index: 4; width: 9px; height: 9px; border: 1.5px solid var(--ink); border-radius: 2px; pointer-events: none; animation: confetti 1.2s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes confetti { 0% { transform: translate(0, 0) rotate(0) scale(.3); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }

.route { --p: 0; position: relative; }
.route__track { position: absolute; height: 6px; margin-top: -3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 18px); }
.route__fill { position: absolute; inset: 0; border: var(--bw) solid var(--ink); border-radius: 3px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p)); transition: transform .15s linear; }
.route__runner { position: absolute; left: calc(var(--p) * 100%); top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--card); box-shadow: 2px 2px 0 var(--shade); transition: left .15s linear, top .15s linear; }
.route__runner::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); animation: runner 1s ease-in-out infinite alternate; }
@keyframes runner { to { transform: scale(.55); } }
.route.is-vertical .route__track { width: 6px; height: auto; margin: 0 0 0 -3px; background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 18px); }
.route.is-vertical .route__fill { transform-origin: top; transform: scaleY(var(--p)); }
.route.is-vertical .route__runner { left: 50%; top: calc(var(--p) * 100%); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.step { display: flex; flex-direction: column; align-items: center; gap: var(--s-5); }
.step__node { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 56px; height: 56px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--card); color: var(--ink); font-family: var(--display); font-size: 1.25rem; font-weight: 700; transition: background-color .3s, box-shadow .3s; }
.step.is-on .step__node { background-color: var(--lime); box-shadow: 3px 3px 0 var(--shade); animation: node-pop .5s var(--spring); }
.step.is-on .step__node::after { content: ""; position: absolute; inset: -4px; border: var(--bw) solid var(--ink); border-radius: 50%; animation: node-ring .7s var(--ease) forwards; pointer-events: none; }
.step--finish.is-on .step__node { background-color: var(--accent); }
@keyframes node-pop { 0% { transform: scale(.7); } 100% { transform: none; } }
@keyframes node-ring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.step__card { display: flex; flex: 1; flex-direction: column; gap: var(--s-2); width: 100%; padding: var(--s-6); border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); color: var(--ink); border-style: dashed; box-shadow: 0 0 0 var(--ink); transform: translateY(8px); transition: transform .45s var(--ease), box-shadow .45s; }
.step.is-on .step__card { border-style: solid; transform: none; box-shadow: var(--shadow); }
.step.is-on .step__card:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.step__card h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.step__card p { margin-bottom: var(--s-4); font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.step__time { align-self: flex-start; margin-top: auto; padding: 3px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--yellow-soft); font-family: var(--mono); font-size: .75rem; font-weight: 700; }

.work { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--s-6); align-items: stretch; }
@keyframes tab-progress { from { transform: scaleX(0); } }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.tags li { padding: 4px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--bg); font-size: .8125rem; font-weight: 600; }
.work__cta { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-7); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: var(--accent); box-shadow: var(--shadow); }
.work__cta h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
.work__cta p:not(.label) { font-size: 1rem; }
.work__list { display: grid; gap: var(--s-2); margin-block: var(--s-2) var(--s-4); }
.work__list li { display: flex; align-items: center; gap: var(--s-3); padding: 10px 14px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--card); font-size: .9375rem; font-weight: 600; }
.work__list .icon { width: 22px; height: 22px; padding: 3px; border: var(--bw) solid var(--ink); border-radius: 6px; background: var(--lime); }
.work__cta .btn { align-self: flex-start; margin-top: auto; }

.tape { position: relative; height: 150px; overflow: clip; background: var(--bg); }
.tape__strip { position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; border-block: var(--bw) solid var(--ink); box-shadow: var(--shadow); }
.tape__strip--a { z-index: 1; margin-top: -22px; background: var(--lime); transform: rotate(-2.4deg); }
.tape__strip--b { margin-top: -22px; background: var(--lilac); transform: rotate(2.4deg); }
.tape__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.tape__strip--b .tape__track { animation-direction: reverse; animation-duration: 46s; }
.tape__track span { padding: 11px 0; font-family: var(--display); font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.tape__track span::after { content: "*"; display: inline-block; margin-inline: 22px; }

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 32px); isolation: isolate; display: grid; gap: var(--s-5); }
.faq__qmark { justify-self: center; margin-top: var(--s-2); line-height: 1; pointer-events: none; user-select: none; }
.faq__qmark > span { display: block; font-family: var(--display); font-size: 170px; font-weight: 800; line-height: .9; color: var(--lilac); -webkit-text-stroke: 3px var(--ink); text-shadow: 7px 7px 0 var(--shade); animation: q-float 5s ease-in-out infinite; }
.faq__qmark.is-spin > span { animation: q-spin .9s var(--spring); }
@keyframes q-float { 0%, 100% { transform: translateY(0) rotate(10deg); } 50% { transform: translateY(-16px) rotate(-4deg); } }
@keyframes q-spin { 0% { transform: rotate(10deg) scale(1); } 45% { transform: rotate(200deg) scale(1.15); } 100% { transform: rotate(370deg) scale(1); } }
.help { display: grid; gap: var(--s-4); justify-items: start; margin-top: var(--s-3); padding: var(--s-5); border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--lime-soft); box-shadow: var(--shadow); }
.help p { font-size: .9375rem; line-height: 1.5; }
.faq__list { display: grid; gap: var(--s-3); }
.faq details { border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); transition: box-shadow .2s, transform .2s var(--ease); }
.faq details:hover { box-shadow: 2px 2px 0 var(--shade); }
.faq details[open] { box-shadow: var(--shadow); transform: translate(-2px, -2px); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) var(--s-6); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 32px; height: 32px; padding: 6px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--bg); transition: transform .3s var(--spring), background-color .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--lime); }
.faq summary:hover .icon { background: var(--lime-soft); }
.faq details p { padding: 0 var(--s-6) var(--s-5); max-width: 64ch; color: var(--ink-2); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

.footer { overflow: hidden; border-top: var(--bw) solid color-mix(in srgb, var(--on-dark) 30%, transparent); padding: var(--s-8) 0 calc(var(--s-6) + env(safe-area-inset-bottom)); background: var(--footer-bg); color: var(--on-dark); }
.footer .logo__lab { box-shadow: 2px 2px 0 var(--accent); }
.footer .btn { box-shadow: 3px 3px 0 var(--lime); }
.footer .btn--outline { background: #fff; color: #1b1f3b; }
.footer__word { margin-top: 0; font-family: var(--display); font-size: clamp(2.5rem, 15.5vw, 13.5rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; white-space: nowrap; color: var(--dark-2); user-select: none; cursor: default; }
.footer__word span { display: inline-block; transition: color .35s; transition-delay: calc(var(--i, 0) * 35ms); }
.footer__word:hover span, .footer__word.is-tap span { color: var(--lime); animation: letter-jump .6s var(--spring) both; animation-delay: calc(var(--i, 0) * 45ms); }
/* на сенсорных экранах «наведение» залипает после касания — там эффект включается только по касанию (класс is-tap) и сам гаснет */
@media (hover: none) { .footer__word:hover:not(.is-tap) span { color: inherit; animation: none; } }
@keyframes letter-jump { 0% { transform: none; } 40% { transform: translateY(-14%) rotate(-4deg); } 100% { transform: none; } }

.footer__legal { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-6); padding-top: var(--s-5); font-size: .8125rem; color: var(--on-dark-2); }
.footer__legal a { font-weight: 600; }
.footer__legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__mono { font-family: var(--mono); }
.calc__note { margin-top: -4px; font-size: .75rem; line-height: 1.45; color: var(--ink-3); }
.footer__share { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-2); font-size: .8125rem; font-weight: 600; transition: color .2s; }
.footer__share .icon { width: 16px; height: 16px; transition: transform .3s var(--spring); }
.footer__share:hover { color: #fff; }
.footer__share:hover .icon { transform: rotate(-20deg) scale(1.15); }

.doc-header { border-bottom: var(--bw) solid var(--ink); background: var(--bg); }
.doc-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: var(--header-h); }
.back { display: inline-flex; align-items: center; gap: var(--s-2); font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.back .icon { width: 18px; height: 18px; transform: rotate(180deg); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.section, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

.cv-all :is(.section, .footer) { content-visibility: visible; }

.is-offscreen, .is-offscreen *, .is-offscreen ::before, .is-offscreen ::after { animation-play-state: paused !important; }
.is-offscreen :is(.ticker__track, .tape__track) { animation-play-state: running !important; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .footer__word { animation: word-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes word-rise { from { transform: translateY(45%) scale(.9); opacity: .2; } }
    .tape__strip--a { animation: tape-a linear both; animation-timeline: view(); }
    .tape__strip--b { animation: tape-b linear both; animation-timeline: view(); }
    @keyframes tape-a { from { transform: rotate(-6deg); } to { transform: rotate(1.5deg); } }
    @keyframes tape-b { from { transform: rotate(6deg); } to { transform: rotate(-1.5deg); } }
  }
}

.doc-header__actions { display: flex; align-items: center; gap: var(--s-5); }
.nf-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; overflow-x: clip; }
.nf { position: relative; overflow-y: clip; isolation: isolate; flex: 1; display: grid; align-items: center; padding-block: clamp(40px, 7vw, 96px); }
.nf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.nf__copy { display: grid; gap: var(--s-5); justify-items: start; }
.nf h1 { font-size: clamp(1.75rem, 1rem + 3vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
.nf__copy > p:not(.label) { max-width: 46ch; color: var(--ink-2); }
.nf__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.nf__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
.nf__links span { margin-right: var(--s-1); font-size: .875rem; color: var(--ink-3); }
.nf__links a { padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); font-size: .8125rem; font-weight: 600; transition: background-color .15s, transform .2s var(--spring); }
.nf__links a:hover { background: var(--lime); color: var(--on-accent); transform: translateY(-2px) rotate(-2deg); }
.nf__list { padding: var(--s-2) var(--s-4); }
.nf__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); padding: 11px var(--s-2); font-size: .9375rem; font-weight: 550; animation: pop-in .5s var(--spring) backwards; }
.nf__list li + li { border-top: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent); }
.nf__list li:nth-child(1) { animation-delay: .35s; }
.nf__list li:nth-child(2) { animation-delay: .5s; }
.nf__list li:nth-child(3) { animation-delay: .65s; }
.nf__list li:nth-child(4) { animation-delay: .8s; }
.nf__list em { font-style: normal; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); text-align: right; }
.nf__list em a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.nf__x { font-family: var(--mono); font-size: 1rem; font-weight: 800; color: var(--error); }
.nf__ok { background: var(--lime); color: var(--on-accent); }
.nf__ok .icon { position: static; width: 15px; height: 15px; opacity: 1; transform: none; }
.nf__big { position: absolute; right: -2%; bottom: 0; z-index: -1; margin: 0; font-family: var(--display); font-size: clamp(8rem, 30vw, 26rem); font-weight: 800; line-height: .8; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--ink) 16%, transparent); pointer-events: none; user-select: none; }
.footer--short { padding-top: 0; }
.footer--short .footer__legal { padding-top: var(--s-5); }

.totop { --sp: 0; position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border: var(--bw) solid var(--ink); border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--sp) * 1turn), var(--card) 0); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .3s, transform .35s var(--spring), box-shadow .2s; }
.totop::before { content: ""; position: absolute; inset: 6px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--lime); }
.totop .icon { position: relative; transform: rotate(-90deg); transition: transform .3s var(--spring); }
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop.is-full { background: var(--accent); }
.totop:hover { box-shadow: var(--shadow); }
.totop:hover .icon { transform: rotate(-90deg) translateX(3px); }

.cookie { position: fixed; left: calc(16px + env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90; display: grid; gap: var(--s-4); width: min(420px, calc(100% - 32px)); padding: var(--s-5); border: var(--bw) solid var(--ink); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-lg); font-size: .875rem; line-height: 1.5; animation: cookie-in .45s var(--spring) both; }
.cookie a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.cookie__head { display: flex; align-items: flex-start; gap: var(--s-4); }
.cookie__icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: var(--bw) solid var(--ink); border-radius: 50%; background: var(--yellow-soft); color: var(--ink); }
.cookie__icon .icon { width: 20px; height: 20px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); } /* «Принять» и «Отказаться» одинакового размера */
.cookie__actions .btn { justify-content: center; min-width: 0; }
.cookie.is-out { opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .3s var(--ease); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@media (max-width: 640px) { .toast { top: calc(var(--header-h) + 12px); bottom: auto; } .cookie { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); } .cookie__actions .btn { flex: 1 1 auto; } }
@media print { .cookie { display: none !important; } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 91; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 12px 18px; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); background: var(--card); box-shadow: var(--shadow); font-family: var(--mono); font-size: .875rem; font-weight: 700; translate: -50% 0; animation: toast-in .4s var(--spring); }
.toast b { padding: 2px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--lime); }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.95); } }

@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
  body { font-size: 1.125rem; }
}
@media (min-width: 2200px) {
  :root { --maxw: 1480px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 56px; --section: 56px; }
  .hero__copy { position: relative; top: auto; }
  .faq__side { position: static; }
  .tape { height: 110px; }
}
@media print {
  .calc__share, .footer__share, .header, .ticker, .tape, .totop, .sticker, .rocket, .footer__word, .report__run { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding-block: 24px; background: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .step__card { border-style: solid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
@media (max-width: 1100px) {
  .nav { gap: var(--s-6); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); max-width: 760px; }
  .step { flex-direction: row; align-items: flex-start; gap: var(--s-4); }
}
@media (max-width: 960px) {

  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--bg) 97%, transparent); }
  .nav { display: none; }
  .header__row { gap: var(--s-3); }
  .theme { margin-left: auto; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { position: relative; top: auto; }
  .calc { max-width: 560px; }
  .head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .head > p { max-width: 60ch; }
  .check, .work, .faq { grid-template-columns: minmax(0, 1fr); }
  .report { max-width: 560px; }
  .faq__side { position: static; }
  .faq__qmark { justify-self: end; margin-top: calc(var(--s-6) * -1); }
  .faq__qmark > span { font-size: 120px; }
  .nf__grid { grid-template-columns: minmax(0, 1fr); }
  .nf__report { width: 100%; max-width: 560px; }
  }
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero__lead { font-size: 1.0625rem; }
  .hero__actions { align-self: stretch; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }

  .stat { grid-template-columns: min-content minmax(0, 1fr); align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); }
  @supports (grid-template-columns: subgrid) { .stats { grid-template-columns: min-content minmax(0, 1fr); column-gap: 0; } .stat { grid-column: 1 / -1; grid-template-columns: subgrid; } }
  .stat b { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.5rem); }
  .cards, .principles { grid-template-columns: minmax(0, 1fr); }
  .head { margin-bottom: var(--s-7); }
  .step__node { width: 46px; height: 46px; font-size: 1.0625rem; }
  .step__card { padding: var(--s-5); }
  .calc { padding-inline: var(--s-5); }
  .calc__result output { font-size: 1.625rem; }
  .report__head, .report__sum { padding-inline: var(--s-4); }
  .report__hint { padding-inline: var(--s-4); }
  .report__list { padding-inline: var(--s-2); }
  .report__item { grid-template-columns: 26px minmax(0, 1fr); }
  .report__item em { grid-column: 2; text-align: left; margin-top: -6px; }
  .report__run { margin-left: 0; }
  .doc-header__actions { gap: var(--s-3); }
  .doc-header .back { font-size: .875rem; }
  .nf { align-items: start; padding-block: var(--s-7) var(--s-9); }
  .nf__actions { align-self: stretch; }
  .nf__actions .btn { flex: 1 1 100%; }
  .nf__links span { flex-basis: 100%; margin: 0 0 2px; }
  /* на телефоне серые подписи тоже видны: справа, в одну строку, а длинное название пункта переносится */
  .nf__list li { gap: var(--s-2); }
  .nf__list em { white-space: nowrap; font-size: .6875rem; }
  .nf__big { display: none; }

  .footer__legal, .footer--short .footer__legal { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer__legal > :not(button) { padding-block: 12px; line-height: 20px; }
  .footer__legal > button { min-height: 44px; }
  .work__cta { padding: var(--s-6) var(--s-5); }
  .faq summary { padding: var(--s-4); font-size: 1rem; }
  .faq details p { padding: 0 var(--s-4) var(--s-4); }
  .faq__qmark { display: none; }
  .tape { height: 120px; }
  .tape__strip--a { transform: rotate(-5deg); }
  .tape__strip--b { transform: rotate(5deg); }
  .tape__track span { padding: 9px 0; font-size: .8125rem; }
  .tape__track span::after { margin-inline: 16px; }
  .totop { right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  }
@media (max-width: 420px) {
  .doc-header__actions .back { display: none; }
}
@media (max-width: 380px) {
  .calc__result { padding: var(--s-3); }
  .calc__result output { font-size: 1.4rem; }
  .sticker--a { right: 12px; }
  .work__cta h3 { font-size: min(1.3rem, 8vw); }
}
@media (hover: none) {
  .card:hover { transform: none; box-shadow: var(--shadow); background: var(--card); }
  .card:hover .card__spot { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .step__card { opacity: 1; transform: none; }
  .report__item[aria-pressed="true"] .report__mark .icon { opacity: 1; transform: none; }
  .hero .mark { background-size: 100% 100%; }
  .hl { background-size: 100% 40%; }
}

@media (max-width: 640px) { body:has(.cookie:not(.is-out)) .totop { opacity: 0; pointer-events: none; } }

@media (max-width: 340px) {
  :root { --gutter: max(12px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .header__row, .doc-header__row { gap: var(--s-2); }
  .logo { font-size: .95em; }
  .doc-header .back { display: none; }
  :root { --h1: 1.3rem; --h2: 1.4rem; }
}

@media (pointer: coarse) {
  .btn--sm, .report__run, .seg span { min-height: 44px; }
  .theme { position: relative; }
  .theme::after { content: ""; position: absolute; inset: -6px; }
  .calc__share, .footer__share, .back { min-height: 44px; }
}

.card { -webkit-font-smoothing: antialiased; backface-visibility: hidden; }
.art :is(.pg, .win, .phone, .notif) { backface-visibility: hidden; outline: 1px solid transparent; }

.stub { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border: var(--bw) solid var(--ink); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); }
.stub__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); padding: var(--s-4) var(--s-4) var(--s-3); }
.stub__tab { padding: 8px 16px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--card); font-size: .875rem; font-weight: 700; opacity: .6; }
.stub__tab.is-active { background: var(--lime); box-shadow: 2px 2px 0 var(--shade); opacity: 1; }
.stub__body { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6) var(--s-7) var(--s-7); }
.stub__type { font-family: var(--mono); font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.stub h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.stub__body > p:not(.stub__type) { font-size: .9375rem; color: var(--ink-2); }

.stub__badge { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 7px 14px; border: var(--bw) solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--on-accent); font-size: .8125rem; font-weight: 800; }
.stub__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: stub-dot 1.6s ease-in-out infinite; }
@keyframes stub-dot { 50% { opacity: .25; } }
.stub__shot { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .62fr); gap: clamp(14px, 3vw, 32px); align-items: stretch; height: clamp(230px, 24vw, 290px); padding: clamp(16px, 3vw, 32px); border-block: var(--bw) solid var(--ink); background: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1px) 0 0 / 12px 12px, var(--lime-soft); font-family: var(--mono); }
.mock { display: flex; flex-direction: column; min-height: 0; overflow: hidden; border: var(--bw) solid var(--ink); background: var(--card); box-shadow: var(--shadow-sm); }
.mock--site { border-radius: 10px; }
.mock--phone { border-radius: 16px; }
.mock__bar { display: flex; align-items: center; gap: 5px; flex: none; height: 24px; padding: 0 10px; border-bottom: 1.5px solid var(--ink); background: var(--bg); }
.mock__bar i { width: 8px; height: 8px; border: 1.3px solid var(--ink); border-radius: 50%; }
.mock__bar i:nth-child(1) { background: var(--accent); }
.mock__bar i:nth-child(2) { background: var(--yellow); }
.mock__bar i:nth-child(3) { background: var(--lime); }
.mock__bar span { margin-left: auto; font-size: 10px; font-weight: 700; }
.mock__page { display: grid; grid-template-rows: 1.2fr 1fr 1.2fr; flex: 1; gap: 10px; min-height: 0; padding: 12px; }
.mock__hero { position: relative; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--accent-soft); }
.mock__hero::before { content: ""; position: absolute; left: 10px; top: 10px; width: 46%; height: 6px; border-radius: 3px; background: var(--ink); box-shadow: 0 12px 0 -1px color-mix(in srgb, var(--ink) 35%, transparent); }
.mock__hero u { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 12px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--accent); }
.mock__hero--alt { background: var(--lilac-soft); }
.mock__hero--alt u { background: var(--lime); }
.mock__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock__row i { border: 1.5px solid var(--ink); border-radius: 5px; background: var(--bg); }
.mock__notch { flex: none; width: 34%; height: 6px; margin: 8px auto 0; border-radius: 3px; background: var(--ink); }
.mock__chat { display: grid; grid-template-rows: 1fr 1fr 1fr auto; flex: 1; gap: 8px; min-height: 0; padding: 10px; }
.mock__chat p { border: 1.5px solid var(--ink); border-radius: 8px 8px 8px 2px; background: var(--bg); }
.mock__chat p.out { justify-self: end; width: 72%; border-radius: 8px 8px 2px 8px; background: var(--lilac); }
.mock__chat u { height: 16px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--lime); }
@media (max-width: 800px) { .stub__shot { grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr); height: 220px; } }

@media (max-width: 800px) {
  .stub__body { padding: var(--s-6) var(--s-5); }
}
