@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic-wght-normal.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-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ── Tokens ─────────────────────────────────────────────────────
   Indigo + lime, same values as the app (src/index.css). Indigo: buttons, links, logo tile.
   Lime: highlights, always with dark text (--on-lime); never lime text on white.
   Dark theme: system setting, or the manual toggle (data-theme on <html>, remembered in localStorage). */
:root {
  --page: #f5f5fa; --surface: #ffffff; --raise: #ececf5; --text: #14152b; --hint: #62637a; --line: #e4e4ef;
  --accent: #2b2d8f; --accent-soft: #eeeefa; --on-accent: #ffffff; --lime: #c6f432; --on-lime: #16180a; --focus: #2b2d8f;
  --tile: #2b2d8f; --violet: #7442e8; --violet-soft: #f3eeff; --ok: #337a0f; --bad: #c4303d;
  --indigo: #2b2d8f; --on-indigo: #ffffff; --on-indigo-hint: rgba(255,255,255,.84);
  --shadow: 0 1px 2px rgba(20,21,60,.05), 0 12px 32px -16px rgba(20,21,60,.22);
  --shadow-lift: 0 2px 4px rgba(20,21,60,.06), 0 22px 44px -18px rgba(20,21,60,.32);
  --glass: rgba(255,255,255,.55); --glass-edge: rgba(255,255,255,.9); --glass-shade: rgba(20,21,60,.14);
  --blob-a: #b7b9ff; --blob-b: #e4fa9c; --blob-c: #cfd0f4;
  /* Phone mock-ups use the app's own screen colours */
  --ph-frame: #14152b; --ph-page: #f1f1f9; --ph-card: #ffffff; --ph-a: #e2e3f6; --ph-a-text: #2b2d8f; --ph-v: #e9e0ff; --ph-v-text: #5f30cf; --ph-warn: #8a4b00; --ph-sel: #2b2d8f;
  --r-card: 28px; --r-btn: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0c0c17; --surface: #17182b; --raise: #1d1e33; --text: #ededf6; --hint: #9c9db8; --line: #2a2b45;
    --accent: #c6f432; --accent-soft: #1f2236; --on-accent: #16180a; --focus: #c6f432;
    --tile: #3335a6; --violet: #b49cff; --violet-soft: #251e40; --ok: #86d65e; --bad: #ff7a85;
    --shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 32px -16px rgba(0,0,0,.7);
    --shadow-lift: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 44px -16px rgba(0,0,0,.8);
    --glass: rgba(23,24,43,.6); --glass-edge: rgba(255,255,255,.12); --glass-shade: rgba(0,0,0,.5);
    --blob-a: #2b2d8f; --blob-b: #3c4a12; --blob-c: #22245e;
    --ph-frame: #2a2b45; --ph-page: #0c0c17; --ph-card: #17182b; --ph-a: #262860; --ph-a-text: #c9caff; --ph-v: #2e2550; --ph-v-text: #ddd3ff; --ph-warn: #fbbf24; --ph-sel: #c6f432;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0c0c17; --surface: #17182b; --raise: #1d1e33; --text: #ededf6; --hint: #9c9db8; --line: #2a2b45;
  --accent: #c6f432; --accent-soft: #1f2236; --on-accent: #16180a; --focus: #c6f432;
  --tile: #3335a6; --violet: #b49cff; --violet-soft: #251e40; --ok: #86d65e; --bad: #ff7a85;
  --shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 32px -16px rgba(0,0,0,.7);
  --shadow-lift: inset 0 1px 0 rgba(255,255,255,.07), 0 22px 44px -16px rgba(0,0,0,.8);
  --glass: rgba(23,24,43,.6); --glass-edge: rgba(255,255,255,.12); --glass-shade: rgba(0,0,0,.5);
  --blob-a: #2b2d8f; --blob-b: #3c4a12; --blob-c: #22245e;
  --ph-frame: #2a2b45; --ph-page: #0c0c17; --ph-card: #17182b; --ph-a: #262860; --ph-a-text: #c9caff; --ph-v: #2e2550; --ph-v-text: #ddd3ff; --ph-warn: #fbbf24; --ph-sel: #c6f432;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

/* ── Base ───────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 400 17px/1.5 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
  position: relative; isolation: isolate;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; }
.num, .money { font-variant-numeric: tabular-nums; }
.money { white-space: nowrap; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: var(--r-btn); }
.hidden { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.narrow { max-width: 760px; }

/* Soft static colour fields behind every page (the hero has its own moving set). */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 90% 0%, color-mix(in oklab, var(--blob-c) 55%, transparent), transparent 70%),
    radial-gradient(40vmax 30vmax at 0% 100%, color-mix(in oklab, var(--blob-c) 40%, transparent), transparent 70%);
}

/* ── Header: sticky; glass appears once the page is scrolled (site.js adds .scrolled) ── */
header.top { position: sticky; top: 0; z-index: 20; padding: 8px 0; }
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 60px; border-radius: 20px; padding: 6px 8px 6px 16px;
  transition: background .25s, box-shadow .25s;
}
@media (min-width: 601px) { header.top .wrap { width: calc(100% - 24px); } }
@media (max-width: 600px) { header.top .wrap { width: calc(100% - 16px); padding: 6px 6px 6px 8px; } }
header.top.scrolled .wrap {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px color-mix(in oklab, var(--glass-edge) 50%, transparent), 0 16px 40px -24px var(--glass-shade);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.top.scrolled .wrap { background: var(--surface); }
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--text); text-decoration: none; font: 800 18px 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; letter-spacing: -0.02em; }
.brand i { width: 30px; height: 30px; border-radius: 9px; background: var(--tile); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand svg { width: 21px; height: 21px; }
.top-right { display: flex; align-items: center; gap: 4px; }
nav.links { display: flex; gap: 2px; font-size: 15px; align-items: center; margin-right: 4px; }
nav.links a { color: var(--hint); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 10px; transition: color .15s, background .15s; }
nav.links a:hover { color: var(--text); background: color-mix(in oklab, var(--text) 6%, transparent); }
@media (max-width: 760px) { nav.links { display: none; } }
.theme-toggle { width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--hint); transition: color .15s, background .15s; flex-shrink: 0; }
.theme-toggle:hover { color: var(--text); background: color-mix(in oklab, var(--text) 7%, transparent); }
.theme-toggle svg { width: 20px; height: 20px; }
/* Светлая тема — луна (нажмите, станет темно), тёмная — солнце */
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn); border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 600 16px/1.2 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif;
  text-decoration: none; text-align: center; transition: transform .18s ease, box-shadow .18s ease, background .18s;
  box-shadow: 0 10px 24px -14px rgba(20,21,60,.55);
}
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--hint); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn.lime { background: var(--lime); color: var(--on-lime); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: scale(.98); }
@media (prefers-reduced-motion: no-preference) {
  .btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(20,21,60,.6); }
  .btn.ghost:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px var(--hint), 0 12px 24px -16px rgba(20,21,60,.4); }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-zone { position: relative; }
.blobs { position: absolute; inset: -120px 0 -40px; z-index: -1; pointer-events: none; overflow: hidden; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.blobs i:nth-child(1) { width: 46vmax; height: 46vmax; max-width: 620px; max-height: 620px; right: -6%; top: 0; background: var(--blob-a); }
.blobs i:nth-child(2) { width: 30vmax; height: 30vmax; max-width: 420px; max-height: 420px; right: 26%; top: 40%; background: var(--blob-b); }
.blobs i:nth-child(3) { width: 34vmax; height: 34vmax; max-width: 460px; max-height: 460px; left: -10%; top: 10%; background: var(--blob-c); }
@media (max-width: 600px) { .blobs i { filter: blur(48px); opacity: .38; } }

.hero { padding-top: 40px; padding-bottom: 64px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .hero { grid-template-columns: 1.15fr 1fr; gap: 56px; padding-top: 64px; padding-bottom: 96px; } }
.hero h1 { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.025em; max-width: 13ch; }
.hero .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--hint); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .fine { display: block; margin-top: 14px; color: var(--hint); font-size: 14px; }

/* Example card — glass (the only glass besides the header) */
.receipt {
  position: relative; border-radius: var(--r-card); padding: 26px; width: 100%; max-width: 440px; justify-self: end;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px color-mix(in oklab, var(--glass-edge) 55%, transparent), 0 30px 70px -34px var(--glass-shade);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .receipt { background: var(--surface); } }
@media (max-width: 919px) { .receipt { justify-self: stretch; max-width: 520px; } }
.receipt .head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--hint); margin-bottom: 12px; }
.receipt .head b { color: var(--text); font-weight: 600; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; border-top: 1px solid color-mix(in oklab, var(--line) 80%, transparent); }
.receipt .row:first-of-type { border-top: 0; }
.receipt .row > span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt .total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 14px 16px; border-radius: 18px; background: var(--lime); color: var(--on-lime); }
.receipt .total span { font-size: 15px; font-weight: 600; }
.receipt .total b { font: 800 34px/1 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.receipt .note { margin: 12px 0 0; font-size: 13px; color: var(--hint); }
.js-anim .receipt .total { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.js-anim .receipt .total.on { opacity: 1; transform: none; }

/* ── Trust strip ────────────────────────────────────────────── */
.trust-band { padding-top: 8px; padding-bottom: 16px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 15px; color: var(--hint); }
.trust li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.trust svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
@media (max-width: 600px) { .trust { justify-content: flex-start; display: grid; gap: 4px; } }

/* ── Sections ───────────────────────────────────────────────── */
section.block { padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 920px) { section.block { padding-top: 72px; padding-bottom: 72px; } }
.sec-head { max-width: 720px; margin-bottom: 32px; }
section h2 { font-size: clamp(28px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--hint); margin: 0; font-size: 17px; max-width: 40em; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--violet); margin-bottom: 10px; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; } .split.rev > :first-child { order: 2; } }
.split .visual { display: flex; justify-content: center; }
.tick { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.tick li { position: relative; padding-left: 32px; }
.tick li::before, .ba .now li::before { content: ''; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 6px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2316180a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.card-s { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); }

/* Three moments */
.moments { display: grid; gap: 16px; }
@media (min-width: 920px) { .moments { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 919px) { .moments { grid-template-columns: 1fr 1fr; } .moments > :last-child { grid-column: 1 / -1; } }
.moment { padding: 26px 22px 0; display: flex; flex-direction: column; overflow: hidden; }
.moment .when { font-size: 14px; font-weight: 600; color: var(--hint); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.moment .when svg { width: 18px; height: 18px; color: var(--accent); }
.moment h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.moment p { margin: 0 0 22px; color: var(--hint); font-size: 16px; }
.moment .visual { margin-top: auto; display: flex; justify-content: center; height: 320px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.moment .phone { --pw: 236px; }

/* Payroll line */
.calc { margin: 24px 0 0; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc .lbl { width: 100%; font-size: 13px; font-weight: 600; color: var(--hint); }
.calc span { white-space: nowrap; }
.calc .op { color: var(--hint); }
.calc .res { padding: 4px 10px; border-radius: 10px; background: var(--lime); color: var(--on-lime); font-weight: 700; }

/* Fact plaque + disclaimer */
.fact { margin: 22px 0 0; padding: 16px 20px 6px; border-left: 4px solid var(--violet); font-size: 16px; }
.fact p { margin: 0; }
.fact a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.disclaimer { margin: 14px 0 0; font-size: 14px; color: var(--hint); }

/* Before / after */
.ba { display: grid; gap: 16px; }
@media (min-width: 760px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba > div { padding: 26px 24px; border-radius: var(--r-card); }
.ba h3 { margin: 0 0 14px; font-size: 20px; }
.ba ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ba li { position: relative; padding-left: 32px; }
.ba .was { box-shadow: inset 0 0 0 1.5px var(--line); }
.ba .was li { color: var(--hint); }
.ba .was li::before { content: ''; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%239c9db8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* Steps */
.steps { display: grid; gap: 14px; counter-reset: s; padding: 0; margin: 0 0 28px; list-style: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; padding: 24px 22px; }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.steps b { display: block; margin-bottom: 6px; font-size: 18px; }
.steps span { color: var(--hint); font-size: 16px; }

/* Buy a point */
.buy { padding: 32px 24px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .buy { grid-template-columns: 1fr auto; padding: 40px; gap: 40px; } }
.buy h2 { margin-bottom: 10px; }

/* ── Plans ──────────────────────────────────────────────────── */
.period { display: inline-flex; padding: 4px; gap: 4px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); margin-top: 22px; }
.period button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; color: var(--hint); font: 600 15px 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.period button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.period .save { font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--on-lime); }
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 920px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; padding: 30px 26px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
@media (prefers-reduced-motion: no-preference) { .plan:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); } }
.plan.main, .plan.main:hover { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-lift); }
.plan h3 { margin: 0; font-size: 22px; }
.plan .for { color: var(--hint); font-size: 15px; margin: 4px 0 22px; }
.plan .price { font: 800 clamp(34px, 3.3vw, 44px)/1 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--hint); letter-spacing: 0; }
.plan .per { color: var(--hint); font-size: 14px; margin-bottom: 22px; min-height: 3em; font-variant-numeric: tabular-nums; }
.plan ul { margin: 0 0 24px; padding: 0; list-style: none; flex: 1; display: grid; gap: 8px; align-content: start; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; }
.plan li::before { content: ''; position: absolute; left: 0; top: .28em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23337a0f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--on-lime); background: var(--lime); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.plan .keep { color: var(--hint); font-size: 14px; margin: -8px 0 18px; }
.old { color: var(--hint); font-weight: 600; }
.plan .old { display: none; }
.plans-foot { margin: 22px 0 0; color: var(--hint); font-size: 15px; }
.plans-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.ai { font-size: 12px; font-weight: 700; color: var(--violet); background: var(--violet-soft); border-radius: 6px; padding: 1px 6px; margin-left: 4px; white-space: nowrap; }

/* ── Founder ────────────────────────────────────────────────── */
.founder { padding: 30px 24px; display: grid; gap: 22px; align-items: center; }
@media (min-width: 760px) { .founder { grid-template-columns: auto 1fr; gap: 36px; padding: 40px; } }
.avatar { width: 112px; height: 112px; border-radius: 32px; background: var(--indigo); color: var(--lime); display: flex; align-items: center; justify-content: center; font: 800 38px 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; letter-spacing: -0.02em; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder blockquote { margin: 0 0 8px; font-size: 19px; line-height: 1.5; }
.founder .who { color: var(--hint); font-size: 15px; margin: 0 0 18px; }
.founder .who b { color: var(--text); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 10px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--hint); font-weight: 400; font-size: 26px; line-height: 1; transition: transform .2s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details > p { margin: 0 0 18px; color: var(--hint); max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) { details[open] > p { animation: faq-in .3s ease; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ── Final call ─────────────────────────────────────────────── */
.final { background: var(--indigo); color: var(--on-indigo); border-radius: 32px; padding: 44px 24px; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 760px) { .final { padding: 64px 40px; } }
.final::before { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198,244,50,.25), transparent); pointer-events: none; }
.final h2 { color: var(--on-indigo); max-width: 18em; margin: 0 auto 12px; position: relative; }
.final p { color: var(--on-indigo-hint); margin: 0 0 26px; position: relative; }
.final .btn { position: relative; box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); }
.final .btn:focus-visible { outline-color: var(--lime); }

/* ── Footer ─────────────────────────────────────────────────── */
footer { padding: 48px 0 56px; color: var(--hint); font-size: 14px; }
footer .wrap { display: grid; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer a { color: var(--hint); text-decoration: none; } footer a:hover { color: var(--text); text-decoration: underline; }
footer .req-line a { text-decoration: underline; }
footer .copy { margin: 0; }

/* ── Reveal on scroll (site.js adds .js-anim only when motion is allowed) ── */
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }

/* ── Phone mock-ups: HTML/CSS screens in the app's style, labelled «Пример» ── */
.phone { --pw: 260px; position: relative; width: var(--pw); flex-shrink: 0; padding: 9px; border-radius: 40px; background: var(--ph-frame); box-shadow: 0 30px 60px -30px rgba(20,21,60,.45); font-size: 12px; line-height: 1.35; color: var(--text); text-align: left; }
.phone .scr { border-radius: 32px; background: var(--ph-page); overflow: hidden; height: calc(var(--pw) * 1.9); padding: 36px 12px 14px; position: relative; display: flex; flex-direction: column; gap: 8px; }
.phone .scr::before { content: ''; position: absolute; top: 10px; left: 50%; width: 72px; height: 18px; margin-left: -36px; border-radius: 999px; background: var(--ph-frame); }
.phone .ex { position: absolute; top: 22px; right: -10px; z-index: 2; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--on-lime); box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.phone .t { font-size: 15px; font-weight: 700; margin: 0 2px; }
.phone .s { color: var(--hint); font-size: 11px; margin: -6px 2px 0; }
.phone .c { background: var(--ph-card); border-radius: 16px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(20,21,60,.05), 0 6px 16px -10px rgba(20,21,60,.2); }
.phone .r { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.phone .r b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone .h { color: var(--hint); }
.phone .big { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone .limeplate { background: var(--lime); color: var(--on-lime); border-radius: 14px; padding: 10px 12px; }
.phone .limeplate .h { color: var(--on-lime); }
.phone .pbtn { margin-top: auto; text-align: center; padding: 11px; border-radius: 12px; background: #2b2d8f; color: #fff; font-weight: 600; }
.phone .chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.phone .chip.ok { background: color-mix(in oklab, var(--ok) 16%, var(--ph-card)); color: var(--ok); }
.phone .chip.warn { background: color-mix(in oklab, #f59e0b 18%, var(--ph-card)); color: var(--ph-warn); }
.phone .chip.ai { background: var(--ph-v); color: var(--ph-v-text); margin: 0; }
.phone .photo { height: 88px; border-radius: 12px; background: linear-gradient(135deg, #cfd0f4, #b7b9ff 60%, #e4fa9c); position: relative; }
.phone .photo::after { content: 'Фото 09:02'; position: absolute; left: 8px; bottom: 6px; font-size: 10px; font-weight: 600; color: #fff; background: rgba(20,21,43,.7); padding: 2px 6px; border-radius: 6px; }
.phone .chk { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.phone .chk i { width: 16px; height: 16px; border-radius: 5px; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2316180a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; flex-shrink: 0; }
.phone .toast { background: #14152b; color: #fff; border-radius: 14px; padding: 9px 11px; font-size: 11px; display: flex; gap: 8px; align-items: flex-start; }
:root[data-theme="dark"] .phone .toast { background: #2a2b45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone .toast { background: #2a2b45; } }
.phone .toast i { width: 18px; height: 18px; border-radius: 6px; background: #2b2d8f; flex-shrink: 0; position: relative; }
.phone .toast i::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #c6f432; }
.phone .bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 6px; }
.phone .bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--ph-a); }
.phone .bars span:last-child { background: var(--ph-sel); }
.phone .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 10px; }
.phone .cal .dw { color: var(--hint); font-weight: 600; padding-bottom: 2px; }
.phone .cal span { border-radius: 7px; padding: 3px 0 4px; background: var(--ph-card); min-height: 30px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.phone .cal span.e { background: transparent; }
.phone .cal span.dw { background: transparent; min-height: 0; padding: 0 0 2px; }
.phone .cal span em { font-style: normal; font-size: 8.5px; font-weight: 700; line-height: 1; padding: 1px 3px; border-radius: 4px; }
.phone .cal .a em { background: var(--ph-a); color: var(--ph-a-text); }
.phone .cal .b em { background: var(--ph-v); color: var(--ph-v-text); }
.phone .cal .today { box-shadow: inset 0 0 0 1.5px var(--ph-sel); }
.phone .bubble { align-self: flex-end; max-width: 88%; background: #2b2d8f; color: #fff; border-radius: 14px 14px 4px 14px; padding: 8px 10px; }
.phone .line { height: 6px; border-radius: 3px; background: var(--line); margin: 5px 0; }
.phone .who { display: flex; align-items: center; gap: 8px; }
.phone .who i { width: 26px; height: 26px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 11px; background: var(--ph-a); color: var(--ph-a-text); flex-shrink: 0; }
.phone .who i.v { background: var(--ph-v); color: var(--ph-v-text); }
.phone .who > span { flex: 1; min-width: 0; }
.phone .who small { display: block; color: var(--hint); font-size: 10px; }

/* ── Pay page ───────────────────────────────────────────────── */
.card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; margin-bottom: 16px; }
.card h2 { margin: 0 0 6px; font-size: 22px; }
.muted { color: var(--hint); }
.choice { display: grid; gap: 10px; margin: 16px 0; }
.choice label { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; min-height: 48px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.choice label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); }
.choice input { accent-color: var(--accent); margin-right: 10px; width: 20px; height: 20px; flex-shrink: 0; vertical-align: -4px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 15px; }
.field input, .field select { font: inherit; font-size: 16px; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--page); color: var(--text); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 14px; margin: 0; }
#code { min-height: 48px; font-size: 16px; }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14px; color: var(--hint); margin-bottom: 12px; }
.check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--accent); }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.pay-row a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.status { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); margin: 14px 0; font-size: 15px; }
.status.ok { background: color-mix(in oklab, var(--ok) 14%, var(--surface)); }
.status.bad { background: color-mix(in oklab, #d93a3a 14%, var(--surface)); }
.status.checking::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 10px; vertical-align: -1px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--focus); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.test-badge { display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--violet); background: var(--violet-soft); border-radius: 999px; padding: 4px 12px; }

/* ── Legal ──────────────────────────────────────────────────── */
.legal h1 { font-size: 30px; margin: 24px 0 8px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { max-width: 72ch; }
.fill { background: var(--accent-soft); color: var(--accent); padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ── Phone layout (360 px first) ────────────────────────────── */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 16px; padding-bottom: 48px; gap: 28px; }
  .hero h1 { font-size: 36px; margin-bottom: 12px; }
  .hero .lead { font-size: 16px; margin-bottom: 20px; }
  .hero .cta .btn, .steps-cta .btn, .final .btn, .buy .btn { width: 100%; }
  .receipt { padding: 18px 16px; }
  .receipt .total b { font-size: 30px; }
  section.block { padding-top: 56px; padding-bottom: 56px; }
  .card { padding: 20px 16px; }
  .plan { padding: 26px 20px; }
  .period { display: flex; }
  .period button { flex: 1; justify-content: center; padding: 0 10px; }
  .pay-row .btn { width: 100%; }
  .brand { font-size: 17px; }
}
@media (max-width: 374px) { .brand { gap: 7px; font-size: 16px; } .top-cta { padding: 0 12px !important; } }

/* ── Reduced motion: everything off ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .blobs i { transform: none !important; }
}
.founder .founder-h { font-size: 15px; font-weight: 600; color: var(--hint); letter-spacing: 0; margin: 0 0 10px; }

/* ── Блоки «Новая точка» и «Тарифы» в оформлении прототипа landing/index.html (шрифт — Onest сайта) ── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--hint); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--lime); }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.buy { border-radius: calc(var(--r-card) + 8px); padding: 32px 24px; gap: 28px; overflow: hidden; position: relative; }
.buy .sub { margin-bottom: 24px; }
@media (min-width: 900px) { .buy { grid-template-columns: 1.2fr .8fr; padding: 48px; gap: 40px; } }
.gauge { width: 100%; max-width: 260px; margin: 0 auto; display: block; }
.gauge-track { stroke: var(--raise); }
.gauge-num { font: 780 30px 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; fill: var(--text); }
.gauge-cap { font: 500 12px 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; fill: var(--hint); }
.gauge-arc { transition: stroke-dashoffset 1.4s ease .2s; }
.js-anim .buy:not(.in) .gauge-arc { stroke-dashoffset: 252; }

.period { background: var(--raise); box-shadow: none; border-radius: 14px; }
.period button { border-radius: 11px; }
.period button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.plans { align-items: start; margin-top: 8px; }
.plan.main { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow); }
.plan.main:hover { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-lift); }
.plan .tag { position: absolute; top: -13px; left: 24px; margin: 0; font-weight: 700; padding: 5px 12px; }
.plan .price { font-weight: 780; font-size: 40px; }
.plan li::before { content: '✓'; top: 0; width: auto; height: auto; border-radius: 0; background: none; color: var(--accent); font-weight: 800; }
.plan .btn { width: 100%; margin-top: auto; }
.plans-foot { text-align: center; }
@media (max-width: 919px) { .plan.main { order: -1; } .plans { gap: 26px; } }

/* ── Адаптив для телефона и планшета (25.11) ───────────────────────── */

/* Расчёт зарплаты: строки вместо длинной формулы */
.calc { display: block; padding: 18px 20px; }
.calc .lbl { display: block; margin-bottom: 6px; }
.calc .cr { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.calc .cr b { font-weight: 650; white-space: nowrap; }
.calc .cr.m b { color: var(--hint); }
.calc .res { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 16px; border-radius: 16px; background: var(--lime); color: var(--on-lime); font-weight: 600; }
.calc .res b { font-size: 24px; font-weight: 800; white-space: nowrap; letter-spacing: -0.01em; }

/* «Утро / Вечер / Конец месяца» до 920 px — листаемая лента вместо столбика */
@media (max-width: 919px) {
  .moments { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; margin: 0 -24px; padding: 4px 24px 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .moments::-webkit-scrollbar { display: none; }
  .moments > * { scroll-snap-align: start; }
  .moments > :last-child { grid-column: auto; }
  .moment .visual { height: 270px; }
  .js-anim .moments .reveal { opacity: 1; transform: none; }
  .moments + .swipe-hint { display: flex; }
}
@media (max-width: 600px) { .moments { margin: 0 -16px; padding: 4px 16px 20px; scroll-padding: 0 16px; } }
@media (min-width: 640px) and (max-width: 919px) { .moments { grid-auto-columns: calc((100% - 62px) / 2.15); } }
.swipe-hint { display: none; align-items: center; gap: 8px; margin-top: 2px; font-size: 14px; color: var(--hint); }
.swipe-hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.swipe-hint i.on { width: 18px; border-radius: 3px; background: var(--accent); transition: width .2s; }

/* Зарплата и претензия: на планшете текст и экран рядом, на телефоне экран короче */
@media (min-width: 700px) and (max-width: 919px) {
  .split { grid-template-columns: 1fr 250px; gap: 32px; align-items: start; }
  .split.rev > :first-child { order: 0; }
  .split .phone { --pw: 236px; }
  .split .visual { position: sticky; top: 96px; }
}
@media (max-width: 699px) {
  .split { gap: 28px; }
  .split .visual { height: 440px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
  .split .phone { --pw: 248px; }
}

/* Первый экран на планшете: карточка-пример по центру */
@media (min-width: 601px) and (max-width: 919px) { .receipt { justify-self: center; } .hero h1 { max-width: 16ch; } }

/* Тарифы на планшете: «Про» на всю ширину, остальные два рядом */
@media (min-width: 640px) and (max-width: 919px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 26px 16px; align-items: stretch; }
  .plan.main { grid-column: 1 / -1; }
  .plan.main ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* Телефон: компактнее отступы и шрифты длинных блоков */
@media (max-width: 600px) {
  section.block { padding-top: 48px; padding-bottom: 48px; }
  .sec-head { margin-bottom: 22px; }
  .sub { font-size: 16px; }
  .moment { padding: 22px 18px 0; }
  .moment h3 { font-size: 19px; }
  .moment p { font-size: 15px; margin-bottom: 18px; }
  .tick { gap: 8px; }
  .tick li { font-size: 15.5px; }
  .fact { padding: 16px 18px 6px; }
  .fact p { font-size: 15.5px; }
  .buy { padding: 26px 20px; }
  .plan .price { font-size: 36px; }
  summary { font-size: 16.5px; }
  .founder blockquote { font-size: 17px; }
}

@media (min-width: 601px) and (max-width: 919px) { section.block { padding-top: 52px; padding-bottom: 52px; } }
.moments + .swipe-hint { margin-top: -6px; }

/* Синие кнопки — полупрозрачное «стекло» (светлая тема; в тёмной кнопки лаймовые и остаются плотными) */
:root:not([data-theme="dark"]) .btn:not(.ghost):not(.lime) {
  background: linear-gradient(135deg, rgba(58,60,214,.94) 0%, rgba(43,45,160,.92) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.14), 0 12px 26px -12px rgba(50,52,200,.6);
}
:root:not([data-theme="dark"]) .btn:not(.ghost):not(.lime):hover { background: linear-gradient(135deg, rgba(66,68,230,.97) 0%, rgba(48,50,176,.96) 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.ghost):not(.lime) { background: var(--accent); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 24px -14px rgba(0,0,0,.55); } }

/* Оплата: кто платит */
.payer { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--raise); margin: 0 0 18px; }
.payer button { min-height: 48px; border: 0; border-radius: 11px; background: transparent; color: var(--hint); font: 600 15px 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; cursor: pointer; line-height: 1.2; padding: 6px 8px; }
.payer button small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.payer button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.faq-list { margin: 6px 0 10px; padding-left: 20px; color: var(--hint); display: grid; gap: 4px; }
details[open] > .faq-list { animation: none; }

/* ── SEO-страницы: калькулятор окупаемости и штрафы ПВЗ (kalkulyator-pvz.html, shtrafy-pvz.html) ── */
.crumbs { font-size: 14px; color: var(--hint); margin: 8px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '→'; margin: 0 8px; color: var(--hint); }
.crumbs a { color: var(--hint); display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.page-head { padding-top: 8px; padding-bottom: 28px; }
.page-head h1 { font-size: clamp(32px, 4.8vw, 50px); line-height: 1.1; letter-spacing: -0.025em; margin: 8px 0 14px; max-width: 18ch; }
.page-head .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--hint); margin: 0; max-width: 40em; }
.updated { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--hint); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Калькулятор */
.pc { display: grid; gap: 20px; align-items: start; }
@media (min-width: 920px) { .pc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; } .pc-out { position: sticky; top: 92px; } }
.pc-form { padding: 24px; display: grid; gap: 30px; }
@media (max-width: 600px) { .pc-form { padding: 20px 16px; } }
.pc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.pc legend { font-size: 18px; font-weight: 700; padding: 0; margin-bottom: 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pc legend small, .pc-out .ex-tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--on-lime); letter-spacing: 0; }
.pc .row2 { display: grid; gap: 12px; }
@media (min-width: 480px) { .pc .row2 { grid-template-columns: 1fr 1fr; } }
.pc label.f { display: grid; gap: 6px; font-size: 15px; }
.pc label.f > span { color: var(--text); font-weight: 500; }
.pc input[type="number"], .pc select {
  font: inherit; font-size: 16px; min-height: 48px; width: 100%; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--page); color: var(--text); font-variant-numeric: tabular-nums;
}
.pc select { padding-right: 40px; -webkit-appearance: none; appearance: none; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%239c9db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.pc input:focus-visible, .pc select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; border-radius: 12px; }
.pc .unit { position: relative; display: block; }
.pc .unit input { padding-right: 52px; }
.pc .unit i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--hint); font-size: 15px; pointer-events: none; }
.pc .hint { font-size: 13.5px; color: var(--hint); margin: 0; line-height: 1.45; }
.pc .calc-line { font-size: 14px; color: var(--hint); margin: 0; font-variant-numeric: tabular-nums; }
.pc .calc-line b { color: var(--text); font-weight: 650; white-space: nowrap; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--raise); }
.seg label { position: relative; display: flex; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 4px 8px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--hint); line-height: 1.2; }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
.pc .check { color: var(--text); margin: 0; align-items: flex-start; line-height: 1.4; }
.pc .check input { margin-top: 1px; }
.pc-reset { justify-self: start; }

.pc-out { padding: 24px; }
@media (max-width: 600px) { .pc-out { padding: 20px 16px; } }
.pc-out h2 { font-size: 20px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pc-out .rows { margin: 0; }
.pc-out .rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.pc-out .rows div:first-child { border-top: 0; }
.pc-out dt { color: var(--hint); }
.pc-out dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-out .rows .sum dt { color: var(--text); font-weight: 600; }
.pc-out .total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--lime); color: var(--on-lime); }
.pc-out .total span { font-size: 15px; font-weight: 600; }
.pc-out .total b { font: 800 clamp(26px, 3vw, 32px)/1 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.pc-out .total.neg { background: color-mix(in oklab, var(--bad) 14%, var(--surface)); color: var(--text); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--bad) 45%, transparent); }
.pc-out .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pc-out .kpi { padding: 14px; border-radius: 16px; background: var(--raise); }
.pc-out .kpi span { display: block; font-size: 13px; color: var(--hint); }
.pc-out .kpi b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.pc-out .kpi small { display: block; font-size: 12.5px; color: var(--hint); line-height: 1.35; font-variant-numeric: tabular-nums; }
.pc-out .warn { margin: 12px 0 0; font-size: 14px; padding: 10px 12px; border-radius: 12px; background: color-mix(in oklab, #f59e0b 16%, var(--surface)); color: var(--text); }
.pc-out .disc { margin: 14px 0 0; font-size: 13.5px; color: var(--hint); line-height: 1.45; }
.pc-out .btn { width: 100%; margin-top: 16px; }
@media (max-width: 360px) { .pc-out .kpis { grid-template-columns: 1fr; } }

/* Статья под калькулятором / страница штрафов */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin: 48px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.prose .muted, .prose .src { color: var(--hint); }
.prose .src { font-size: 14px; }
.prose a { text-underline-offset: 2px; }
.formula { margin: 6px 0 16px; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-variant-numeric: tabular-nums; font-size: 16px; line-height: 1.5; }
.formula b { font-weight: 700; }
.note-box { margin: 18px 0; padding: 14px 18px; border-radius: 16px; border-left: 4px solid var(--violet); background: var(--surface); box-shadow: var(--shadow); font-size: 15.5px; }
.note-box p:last-child { margin-bottom: 0; }
.toc { margin: 0 0 8px; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.toc b { display: block; font-size: 14px; color: var(--hint); margin-bottom: 6px; font-weight: 600; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border-radius: 16px; box-shadow: var(--shadow); background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 650; background: var(--raise); }
.prose tr:last-child td { border-bottom: 0; }
.cta-box { margin: 40px 0 8px; padding: 28px 24px; border-radius: 28px; background: var(--indigo); color: var(--on-indigo); }
.cta-box h2 { color: var(--on-indigo); margin: 0 0 10px; font-size: clamp(22px, 2.8vw, 28px); }
.cta-box p { color: var(--on-indigo-hint); margin: 0 0 18px; }
.cta-box .btn:focus-visible { outline-color: var(--lime); }
.cta-box .fine { display: block; margin: 12px 0 0; font-size: 13.5px; color: var(--on-indigo-hint); }
@media (max-width: 600px) { .cta-box .btn { width: 100%; } }
.prose .faq { margin-top: 8px; }

/* Шаблон претензии */
.tpl { margin: 12px 0 20px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.tpl-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.tpl-bar b { font-size: 15px; }
.tpl pre { margin: 0; padding: 18px; white-space: pre-wrap; word-break: break-word; font: 400 15px/1.55 'Onest', -apple-system, 'Segoe UI', system-ui, sans-serif; color: var(--text); max-height: 520px; overflow: auto; }
.tpl-status { font-size: 14px; color: var(--ok); min-height: 1.2em; }
.pc [hidden], .pc-out [hidden] { display: none !important; }
.more-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: 15px; font-weight: 600; }
.pc input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.pc input[type="number"]::-webkit-inner-spin-button, .pc input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Переход из бесплатных инструментов в продукт */
.pc-out .upsell { margin-top: 16px; padding: 16px; border-radius: 16px; background: color-mix(in oklab, var(--violet) 12%, var(--surface)); }
.pc-out .upsell b { display: block; font-size: 16px; margin-bottom: 4px; }
.pc-out .upsell p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.pc-out .upsell .btn { margin-top: 12px; }
.tpl-upsell { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); background: color-mix(in oklab, var(--violet) 10%, var(--surface)); }
.tpl-upsell p { margin: 0; flex: 1 1 280px; font-size: 14.5px; line-height: 1.45; }
@media (max-width: 600px) { .tpl-upsell .btn { width: 100%; } }
