/* Inter — локально (шрифт SIL OFL, файлы в assets/fonts) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('inter-1.woff2') format('woff2'), local('Inter'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('inter-2.woff2') format('woff2'), local('Inter'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('inter-3.woff2') format('woff2'), local('Inter'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('inter-4.woff2') format('woff2'), local('Inter'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('inter-5.woff2') format('woff2'), local('Inter'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('inter-6.woff2') format('woff2'), local('Inter'); 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: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('inter-7.woff2') format('woff2'), local('Inter'); 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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('inter-1.woff2') format('woff2'), local('Inter'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('inter-2.woff2') format('woff2'), local('Inter'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('inter-3.woff2') format('woff2'), local('Inter'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('inter-4.woff2') format('woff2'), local('Inter'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('inter-5.woff2') format('woff2'), local('Inter'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('inter-6.woff2') format('woff2'), local('Inter'); 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: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('inter-7.woff2') format('woff2'), local('Inter'); 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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('inter-1.woff2') format('woff2'), local('Inter'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('inter-2.woff2') format('woff2'), local('Inter'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('inter-3.woff2') format('woff2'), local('Inter'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('inter-4.woff2') format('woff2'), local('Inter'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('inter-5.woff2') format('woff2'), local('Inter'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('inter-6.woff2') format('woff2'), local('Inter'); 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: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('inter-7.woff2') format('woff2'), local('Inter'); 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; }


    :root {
      --bg:      #f8f7f4;
      --surface: #ffffff;
      --fg:      #191a17;
      --muted:   #686a63;
      --border:  #e4e1da;
      --accent:  #1d6a4f;
      --warn:    #8a5a00;

      --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
      --fg-soft:     color-mix(in oklch, var(--fg) 6%, transparent);
      --warn-soft:   color-mix(in oklch, var(--warn) 14%, transparent);

      --shadow-sm: 0 1px 2px color-mix(in oklch, var(--fg) 7%, transparent);
      --shadow-md: 0 12px 32px color-mix(in oklch, var(--fg) 10%, transparent);

      --font-display: 'Iowan Old Style', 'Charter', Georgia, 'Times New Roman', serif;
      --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
      --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

      --fs-h1: clamp(44px, 6vw, 76px);
      --fs-h2: clamp(32px, 4vw, 48px);
      --fs-h3: 22px;
      --fs-lead: 19px;
      --fs-body: 16px;
      --fs-meta: 13px;

      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 20px;
      --gap-lg: 32px;
      --gap-xl: 56px;
      --gap-2xl: 96px;
      --container: 1120px;
      --gutter: 32px;

      --radius: 10px;
      --radius-lg: 16px;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--fg);
      font-family: var(--font-body);
      font-size: var(--fs-body);
      line-height: 1.55;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }
    ::selection { background: var(--accent-soft); }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4 { text-wrap: balance; }
    [hidden] { display: none !important; }

    .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
    .section { padding-block: clamp(48px, 8vw, var(--gap-2xl)); }
    .section + .section { border-top: 1px solid var(--border); }
    section[id] { scroll-margin-top: 76px; }
    .stack { display: flex; flex-direction: column; }
    .stack > * + * { margin-top: var(--gap-md); }
    .row { display: flex; align-items: center; gap: var(--gap-md); }
    .row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
    .grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
    .grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }
    @media (max-width: 920px) {
      .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
    }

    .h1, h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
    .h2, h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
    .h3, h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; margin: 0; }
    .lead   { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
    .eyebrow {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      margin: 0 0 var(--gap-md);
    }
    .eyebrow.dim { color: var(--muted); }
    .meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
    .num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

    .topnav {
      position: sticky; top: 0; z-index: 10;
      background: color-mix(in oklch, var(--bg) 92%, transparent);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: var(--gap-md); }
    .topnav .logo { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
    .topnav nav { display: flex; gap: var(--gap-lg); flex-wrap: wrap; }
    .topnav nav a { font-size: 14px; color: var(--muted); position: relative; padding: 4px 0; white-space: nowrap; }
    .topnav nav a:hover { color: var(--fg); }
    .topnav nav a.active { color: var(--fg); }
    .topnav nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--accent); }
    @media (max-width: 760px) {
      .topnav-inner { flex-wrap: wrap; }
      .topnav nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 20px; padding-bottom: 10px; }
    }
    .pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
    .pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }

    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 20px;
      border-radius: var(--radius);
      border: 1px solid transparent;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: -0.005em;
      transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
    }
    .btn:active { transform: translateY(1px); }
    .btn-primary { background: var(--accent); color: var(--surface); border-color: var(--accent); }
    .btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, black); }
    .btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
    .btn-secondary:hover { border-color: var(--fg); }
    .btn-ink { background: var(--fg); color: var(--surface); border-color: var(--fg); }
    .btn-ink:hover { background: color-mix(in oklch, var(--fg) 86%, white); }
    .btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 8px; }
    .btn-ghost:hover { color: var(--accent); }
    .btn-arrow::after { content: '→'; transition: transform 0.15s ease; }
    .btn-arrow:hover::after { transform: translateX(2px); }
    .btn-sm { padding: 8px 14px; font-size: 13px; }

    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px;
      box-shadow: var(--shadow-sm);
    }
    .card-flat { background: transparent; border: 0; padding: 0; }
    .card-rule { background: transparent; border: 0; border-top: 1px solid var(--fg); padding: 24px 0 0; border-radius: 0; }

    .feature .feature-mark {
      width: 36px; height: 36px;
      display: grid; place-items: center;
      border: 1px solid var(--border);
      border-radius: 10px;
      color: var(--accent);
      margin-bottom: var(--gap-md);
    }
    .feature .feature-mark svg { width: 18px; height: 18px; }
    .feature h3 { margin-bottom: 6px; }
    .feature p  { margin: 0; color: var(--muted); font-size: 15px; }

    .stat .stat-num {
      font-family: var(--font-display);
      font-size: clamp(56px, 8vw, 96px);
      line-height: 0.95;
      letter-spacing: -0.04em;
      color: var(--fg);
      font-weight: 600;
    }
    .stat { border-top: 2px solid var(--fg); padding-top: 18px; }
    .stat .stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 30ch; }
    .stat .stat-unit  { font-size: 0.5em; opacity: 0.7; margin-left: 2px; }

    .pill {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 4px 10px;
      background: var(--accent-soft);
      color: var(--accent);
      border-radius: 999px;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .tag {
      display: inline-flex; align-items: center;
      padding: 4px 10px;
      background: transparent;
      color: var(--muted);
      border: 1px solid var(--border);
      border-radius: 999px;
      font-size: 12px;
    }

    .field { display: flex; flex-direction: column; gap: 6px; }
    .field label { font-size: 13px; color: var(--muted); }
    .input, .textarea {
      width: 100%;
      padding: 11px 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      background: var(--surface);
      color: var(--fg);
      font: inherit;
      font-size: 15px;
    }
    .input:focus, .textarea:focus {
      outline: 2px solid var(--accent-soft);
      border-color: var(--accent);
    }
    .textarea { min-height: 96px; resize: vertical; line-height: 1.55; }

    .ds-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .ds-table th, .ds-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
    .ds-table th { color: var(--muted); font-weight: 500; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
    .ds-table tbody tr:hover { background: var(--fg-soft); }
    .ds-table .num-col { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }

    .ph-img {
      background: linear-gradient(135deg, var(--accent-soft), var(--fg-soft)), var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      aspect-ratio: 16 / 10;
      display: grid; place-items: center;
      color: var(--muted);
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.04em;
    }

    .rule  { border: 0; border-top: 1px solid var(--border); margin: 0; }
    .rule-strong { border: 0; border-top: 1px solid var(--fg); margin: 0; }

    .hero { padding-block: clamp(64px, 9vw, 120px); }
    .hero-center   { text-align: center; max-width: 32ch; margin-inline: auto; }
    .hero h1       { margin-bottom: var(--gap-md); }
    .hero .lead    { margin-bottom: var(--gap-lg); }
    .hero-cta      { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; justify-content: center; }
    .hero-split    { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
    @media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; } }
    .hero-split h1 { font-size: clamp(38px, 4.6vw, 64px); }
    .hero-ledger {
      background-image: repeating-linear-gradient(180deg, transparent 0, transparent 39px, color-mix(in oklch, var(--fg) 5%, transparent) 39px, color-mix(in oklch, var(--fg) 5%, transparent) 40px);
    }
    .mark { font-style: normal; background: linear-gradient(0deg, var(--accent-soft) 0, var(--accent-soft) 0.32em, transparent 0.32em); padding-inline: 2px; }

    .log-row { display: grid; grid-template-columns: 120px 1fr 100px; gap: var(--gap-lg); padding: 22px 0; border-top: 1px solid var(--border); align-items: baseline; }

    /* ─── НишаБух: кастомные блоки ─────────────────────────────── */
    .section-head { max-width: 52ch; margin-bottom: 40px; }
    .controls {
      display: grid;
      grid-template-columns: minmax(220px, 1.8fr) minmax(330px, 1.3fr) minmax(130px, 1fr) minmax(130px, 1fr) auto;
      gap: 12px 16px;
      align-items: end;
      margin-bottom: 8px;
    }
    .controls .input { height: 46px; }
    .controls .btn-reset { height: 46px; padding: 0 16px; font-size: 15px; }
    .seg {
      display: flex;
      width: 100%;
      min-height: 46px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--surface);
    }
    .seg button {
      flex: 1 1 auto;
      white-space: nowrap;
      border: 0;
      background: transparent;
      padding: 0 12px;
      font-size: 14px;
      color: var(--muted);
      border-right: 1px solid var(--border);
    }
    .seg button:last-child { border-right: 0; }
    .seg button[aria-pressed="true"] { background: var(--fg); color: var(--surface); }
    @media (max-width: 1100px) {
      .controls { grid-template-columns: 1fr 1fr; }
      .controls .field.grow { grid-column: 1 / -1; }
      .controls .seg-field { grid-column: 1 / -1; }
      .controls .btn-reset { grid-column: 1 / -1; justify-self: start; }
    }
    @media (max-width: 620px) {
      .controls { grid-template-columns: 1fr; }
      .seg { flex-wrap: wrap; }
      .seg button { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--border); text-align: left; padding: 12px 14px; }
      .seg button:last-child { border-bottom: 0; }
    }
    .presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
    .preset { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; color: var(--muted); }
    .preset[aria-pressed="true"] { background: var(--fg); color: var(--surface); border-color: var(--fg); }
    .weights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 36px; margin-top: 14px; }
    .weight-row { display: grid; grid-template-columns: 130px 1fr 52px; align-items: center; gap: 12px; }
    .weight-row label { font-size: 14px; color: var(--muted); }
    .weight-row input[type="range"] { width: 100%; accent-color: var(--fg); }
    .weight-row output { font-size: 13px; text-align: right; }
    @media (max-width: 920px) { .weights { grid-template-columns: 1fr; } }
    .niche-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); margin-top: 24px; align-items: start; }
    @media (max-width: 920px) { .niche-grid { grid-template-columns: 1fr; } }
    .niche-card h3 { margin: 12px 0 4px; font-size: 19px; }
    .niche-client { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
    .rate-pill { background: var(--fg); color: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 16px; display: inline-flex; align-items: baseline; gap: 8px; }
    .pill-tier { font-family: var(--font-body); font-size: 11px; opacity: 0.72; letter-spacing: 0; }
    .rate-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); flex: none; align-self: center; }
    .rate-dot.ok { background: var(--accent); }
    .rate-dot.mid { background: var(--warn); }
    .bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 6px 0 4px; }
    .bar { height: 6px; background: var(--fg-soft); border-radius: 4px; overflow: hidden; display: block; }
    .bar i { display: block; height: 100%; background: var(--fg); border-radius: 4px; }
    .niche-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
    .pain-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .svc { list-style: none; margin: 0; padding: 0; }
    .svc li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 14px; }
    .svc li:first-child { border-top: 0; }
    .svc .num { white-space: nowrap; }
    .niche-lead { font-size: 14px; margin: 0; }
    .niche-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
    .niche-card, .partner-card { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
    .niche-card:hover, .partner-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      border-color: color-mix(in oklch, var(--fg) 22%, var(--border));
    }
    .niche-card.top1 {
      background: color-mix(in oklch, var(--accent) 5%, var(--surface));
      border-color: color-mix(in oklch, var(--accent) 30%, var(--border));
    }
    .niche-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
    .empty { text-align: center; padding: 48px 24px; border: 1px dashed var(--border); border-radius: var(--radius-lg); margin-top: 24px; background: var(--surface); }
    .empty h3 { margin-bottom: 8px; }
    .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
    .chip { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: var(--muted); }
    .chip[aria-pressed="true"] { background: var(--fg); color: var(--surface); border-color: var(--fg); }
    .partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); align-items: start; }
    @media (max-width: 920px) { .partner-grid { grid-template-columns: 1fr; } }
    .partner-card h3 { margin: 12px 0 6px; font-size: 19px; }
    .p-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
    .p-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); flex: none; }
    .p-badge.verified .p-dot { background: var(--accent); }
    .p-badge.check { border-style: dashed; }
    .p-badge.check .p-dot { background: var(--warn); }
    .p-rate { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
    .p-model, .p-fit { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
    .p-src { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
    .p-link { font-size: 14px; display: inline-block; margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; }
    .p-link:hover { text-decoration-thickness: 2px; }
    /* лента заявок */
    /* спрос в карточке и в окне ниши */
    .demand-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
    .demand-chip { font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; font-family: var(--font-mono); white-space: nowrap; }
    .demand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 8px 0 10px; }
    .demand-cell { background: var(--fg-soft); border-radius: var(--radius); padding: 10px 12px; }
    .demand-num { display: block; font-size: 20px; font-weight: 600; }
    .demand-cap { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
    .demand-bar { height: 8px; background: var(--fg-soft); border-radius: 999px; overflow: hidden; margin: 4px 0 8px; }
    .demand-bar i { display: block; height: 100%; background: var(--fg); border-radius: 999px; }
    .feed-list { display: grid; margin-top: 20px; }
    .feed-item { display: flex; gap: var(--gap-lg); align-items: flex-start; justify-content: space-between; padding: 20px 12px; margin-inline: -12px; border-top: 1px solid var(--border); transition: background 0.15s ease; }
    .feed-item:first-child { border-top: 0; }
    .feed-item:hover { background: var(--fg-soft); }
    .feed-main { max-width: 70ch; }
    .feed-title { font-size: 17px; margin: 8px 0 0; }
    .feed-item:hover .feed-title { text-decoration: underline; text-underline-offset: 3px; }
    .feed-text { margin: 0; font-size: 14px; color: var(--muted); }
    .feed-open { flex: none; font-size: 13px; color: var(--muted); white-space: nowrap; font-family: var(--font-mono); }
    .feed-item:hover .feed-open { color: var(--fg); }
    @media (max-width: 620px) { .feed-item { flex-direction: column; gap: 12px; } }
    .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap-md); }
    @media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
    .step-card { border-top: 2px solid var(--fg); padding-top: 14px; }
    .step-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
    .step-card h3 { font-size: 16px; margin: 6px 0; }
    .step-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
    .step-tools { font-size: 12px; color: var(--muted); }
    .week-card h3 { font-size: 17px; margin-bottom: 10px; }
    .week-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
    .week-card label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
    .week-card input[type="checkbox"] { accent-color: var(--fg); width: 16px; height: 16px; margin: 3px 0 0; flex: none; }
    .week-card input:checked + span { color: var(--muted); text-decoration: line-through; }
    .plan-bar { height: 8px; background: var(--fg-soft); border-radius: 999px; overflow: hidden; }
    .plan-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 0.25s ease; }
    .ctor-grid { display: grid; grid-template-columns: 320px 1fr; gap: var(--gap-xl); align-items: start; }
    @media (max-width: 920px) { .ctor-grid { grid-template-columns: 1fr; } }
    .ctor-out { padding: 24px 28px; }
    .out-row { padding: 12px 0; border-top: 1px solid var(--border); }
    .out-row:first-child { border-top: 0; padding-top: 0; }
    .out-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
    .out-val { margin: 0; font-size: 15px; }
    details.faq-item { border-top: 1px solid var(--border); padding: 18px 0; }
    details.faq-item summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
    details.faq-item summary::-webkit-details-marker { display: none; }
    details.faq-item summary::after { content: '+'; font-family: var(--font-mono); color: var(--muted); flex: none; }
    details.faq-item[open] summary::after { content: '–'; }
    details.faq-item .faq-a { margin-top: 12px; color: var(--muted); max-width: 70ch; }
    .white-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; }
    .white-list li::marker { font-family: var(--font-mono); color: var(--muted); }
    .to-top {
      position: fixed; right: 24px; bottom: 24px; z-index: 20;
      width: 44px; height: 44px; display: grid; place-items: center;
      background: var(--fg); color: var(--surface); border-radius: 50%;
      font-size: 18px; line-height: 1;
      opacity: 0; pointer-events: none; transform: translateY(8px);
      transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
      box-shadow: var(--shadow-md);
    }
    .to-top.show { opacity: 1; pointer-events: auto; transform: none; }
    .to-top:hover { background: color-mix(in oklch, var(--fg) 86%, white); }
    .modal-overlay {
      position: fixed; inset: 0; z-index: 30;
      background: color-mix(in oklch, var(--fg) 42%, transparent);
      display: grid; place-items: center; padding: 20px;
    }
    .modal {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      max-width: 760px; width: 100%;
      max-height: min(88vh, 920px);
      overflow-y: auto;
      padding: 28px;
      box-shadow: var(--shadow-md);
    }
    .modal-close {
      border: 1px solid var(--border); background: var(--surface);
      width: 36px; height: 36px; border-radius: 50%;
      font-size: 18px; line-height: 1; color: var(--muted); flex: none;
    }
    .modal-close:hover { color: var(--fg); border-color: var(--fg); }
    .no-scroll { overflow: hidden; }
    .src-group h4 { margin: 18px 0 8px; font-size: 15px; }
    .src-link {
      display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
      padding: 9px 2px; border-top: 1px solid var(--border); font-size: 14px;
    }
    .src-group .src-link:first-child { border-top: 0; }
    .src-link .arrow { color: var(--muted); font-family: var(--font-mono); flex: none; }
    a.src-link:hover { color: var(--accent); }
    a.src-link:hover .arrow { transform: translate(1px, -1px); }
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
      outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 4px;
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition: none !important; animation: none !important; }
    }
  
    /* ─── многостраничный каркас: меню слева ─────────────────── */
    .layout { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; align-items: start; }
    .sidebar {
      position: sticky; top: 0; height: 100vh; overflow-y: auto;
      background: var(--surface); border-right: 1px solid var(--border);
      padding: 22px 16px; display: flex; flex-direction: column; gap: 6px;
    }
    .sidebar .logo { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; padding: 0 10px 4px; }
    .sidebar .side-tag { padding: 0 10px 14px; }
    .sidebar nav { display: grid; gap: 3px; }
    .sidebar nav a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); }
    .sidebar nav a:hover { background: var(--fg-soft); color: var(--fg); }
    .sidebar nav a.active { background: var(--fg); color: var(--surface); }
    .sidebar .side-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 6px; }
    .sidebar .side-foot .meta { font-size: 12px; }
    .content { min-width: 0; }
    .page-intro { padding-block: clamp(32px, 5vw, 64px) 0; }
    .tile { display: block; }
    .tile:hover { border-color: color-mix(in oklch, var(--fg) 22%, var(--border)); box-shadow: var(--shadow-md); }
    .tile h3 { margin-bottom: 6px; }
    .tile p { margin: 0; color: var(--muted); font-size: 14px; }
    @media (max-width: 900px) {
      .layout { grid-template-columns: 1fr; }
      .sidebar { position: sticky; top: 0; height: auto; z-index: 10; gap: 10px; padding: 14px 16px; }
      .sidebar nav { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
      .sidebar nav a { white-space: nowrap; }
      .sidebar .side-foot { border-top: 0; padding-top: 0; margin-top: 4px; }
    }


    /* страница «Старт с нуля»: шаги-аккордеон и действия */
    details.step-item { border-top: 1px solid var(--border); padding: 16px 12px; margin-inline: -12px; border-radius: 10px; }
    details.step-item:first-of-type { border-top: 0; }
    details.step-item[open] { background: var(--fg-soft); }
    details.step-item summary { font-size: 16px; }
    details.step-item .step-body { margin-top: 12px; }
    .step-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .step-check { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 14px; cursor: pointer; color: var(--fg); }
    .step-check input { accent-color: var(--fg); width: 16px; height: 16px; margin: 0; flex: none; }
    .step-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--border); border-radius: 999px; padding: 2px 8px; }
    .step-badge.auto { color: var(--accent); border-color: color-mix(in oklch, var(--accent) 35%, var(--border)); }

    /* ─── V-next: улучшенная типографика и раскладка ─── */
    html { font-size: 17px; }
    body { font-size: 17px; line-height: 1.65; }
    .h1, h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -0.02em; }
    .h2, h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.14; }
    .h3, h3 { font-size: 20px; }
    .lead { font-size: 19px; line-height: 1.6; max-width: 66ch; }
    .eyebrow { letter-spacing: 0.1em; }
    .section { padding-block: clamp(52px, 6.5vw, 92px); }
    .card { padding: 28px; border-radius: 14px; }
    .white-list { font-size: 15.5px; gap: 10px; }
    .svc li { padding: 9px 0; }
    .faq-a { font-size: 15.5px; line-height: 1.65; }
    .niche-note { font-size: 14px; line-height: 1.6; }
    .layout { grid-template-columns: 292px 1fr; }
    .sidebar { padding: 24px 18px; gap: 0; }
    .side-logo { font-family: var(--font-display); font-size: 22px; font-weight: 600; padding: 0 10px; display: block; }
    .side-tag { padding: 4px 10px 18px; display: block; }
    .nav-group { margin-bottom: 16px; }
    .nav-group-title { display: block; padding: 0 10px 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .sidebar nav { display: grid; gap: 3px; }
    .sidebar nav a { padding: 11px 12px; font-size: 15px; }
    .side-foot { margin-top: auto; }
    .side-links { margin-top: 8px; font-size: 12px; }
    .crumbs { padding-top: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
    .crumbs a:hover { color: var(--fg); }
    .crumbs .sep { opacity: 0.6; }
    .next-card { background: color-mix(in oklch, var(--accent) 5%, var(--surface)); border: 1px solid color-mix(in oklch, var(--accent) 25%, var(--border)); border-radius: 16px; padding: 30px; }
    .next-card .meta { display: block; }
    .next-card h3 { margin: 8px 0 10px; font-size: 23px; }
    .next-card p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }
    .next-card .row { flex-wrap: wrap; }
    .mobile-top { display: none; }
    @media (max-width: 900px) {
      .layout { grid-template-columns: 1fr; }
      .sidebar { display: none; }
      .mobile-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 16px; }
      .mobile-top .side-logo { padding: 0; font-size: 20px; }
      .mnav { position: relative; }
      .mnav summary { list-style: none; cursor: pointer; border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px; font-size: 14px; font-weight: 500; }
      .mnav summary::-webkit-details-marker { display: none; }
      .mnav[open] summary { background: var(--fg); color: var(--surface); border-color: var(--fg); }
      .mnav-body { position: absolute; right: 0; top: calc(100% + 8px); width: min(86vw, 340px); max-height: 70vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px; display: grid; gap: 4px; }
      .mnav-body .nav-group-title { display: block; }
      .mnav-body a { padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--muted); }
      .mnav-body a.active { background: var(--fg); color: var(--surface); }
      .crumbs { padding-top: 16px; }
      .container { padding-inline: 20px; }
    }
  
    /* ─── понятность: блок «на этой странице», фильтры, шаги ─── */
    .page-purpose { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-top: 18px; }
    .page-purpose .pp-text { margin: 0; font-size: 16.5px; max-width: 64ch; }
    .page-purpose .btn { flex: none; }
    details.filters { margin-top: 26px; }
    details.filters > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 500; }
    details.filters > summary::-webkit-details-marker { display: none; }
    details.filters > summary::after { content: '＋'; font-family: var(--font-mono); color: var(--muted); }
    details.filters[open] > summary { background: var(--fg); color: var(--surface); border-color: var(--fg); }
    details.filters[open] > summary::after { content: '－'; color: var(--surface); }
    details.filters > .card { margin-top: 16px; }
    .steps-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .steps-strip .step-tile .meta { display: block; margin-bottom: 6px; }
    .steps-strip .step-tile h3 { margin-bottom: 4px; font-size: 18px; }
    @media (max-width: 1000px) { .steps-strip { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 620px) { .steps-strip { grid-template-columns: 1fr; } }
  
    /* ─── двухуровневая навигация: отделы-кнопки + разделы под ними ─── */
    .layout-single { grid-template-columns: 1fr; }
    .nav2 { position: sticky; top: 0; z-index: 30; background: color-mix(in oklch, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
    .nav2-top { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
    .nav2 .side-logo { font-family: var(--font-display); font-size: 21px; font-weight: 600; padding: 0; flex: none; }
    .nav2-depts { display: flex; gap: 10px; flex: 1 1 auto; overflow-x: auto; scrollbar-width: thin; }
    .dept-btn { flex: none; padding: 11px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 15px; font-weight: 600; color: var(--fg); transition: background 0.15s ease, border-color 0.15s ease; }
    .dept-btn:hover { border-color: var(--fg); }
    .dept-btn.active { background: var(--fg); color: var(--surface); border-color: var(--fg); }
    .nav2-status { display: inline-flex; align-items: center; gap: 8px; flex: none; }
    .nav2-status #data-status { max-width: 30ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav2-sections { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-bottom: 12px; }
    .nav2-sections .sec-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
    .sec-link { font-size: 15px; color: var(--muted); padding: 4px 2px; border-bottom: 2px solid transparent; }
    .sec-link:hover { color: var(--fg); }
    .sec-link.active { color: var(--fg); border-bottom-color: var(--accent); }
    @media (max-width: 900px) {
      .nav2-top { flex-wrap: wrap; gap: 10px; }
      .nav2-depts { order: 3; width: 100%; padding-bottom: 4px; }
      .dept-btn { padding: 9px 14px; font-size: 14px; }
      .nav2-status #data-status, .nav2-status #data-count { display: none; }
      .nav2-sections { padding-bottom: 10px; gap: 4px 14px; }
    }
  
    /* ─── названия разделов: пилюли с нумерацией ─── */
    .nav2-sections { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 12px; }
    .sec-link { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--fg); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
    .sec-link:hover { border-color: var(--fg); }
    .sec-link .sec-num { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); transition: color 0.15s ease; }
    .sec-link.active { background: color-mix(in oklch, var(--accent) 12%, var(--surface)); border-color: color-mix(in oklch, var(--accent) 45%, var(--border)); }
    .sec-link.active .sec-num { color: var(--accent); }
    @media (max-width: 900px) {
      .sec-link { padding: 7px 13px; font-size: 14px; }
    }
  
    /* ─── меню слева: отделы-кнопки и их разделы ─── */
    .layout, .layout-single { grid-template-columns: 300px 1fr; align-items: start; }
    .sidebar { display: flex; }
    .side-logo { font-family: var(--font-display); font-size: 21px; font-weight: 600; padding: 0 8px; display: block; }
    .side-tag { padding: 2px 8px 14px; display: block; }
    .side-nav { display: grid; gap: 14px; }
    .side-group { display: grid; gap: 0; }
    .side-dept { display: block; padding: 12px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 15.5px; font-weight: 600; color: var(--fg); transition: border-color 0.15s ease, background 0.15s ease; }
    .side-dept:hover { border-color: var(--fg); }
    .side-dept.active { background: var(--fg); color: var(--surface); border-color: var(--fg); }
    .side-sections { display: grid; gap: 2px; margin: 8px 0 0 10px; padding-left: 10px; border-left: 2px solid var(--border); }
    .side-sec { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; color: var(--muted); }
    .side-sec:hover { background: var(--fg-soft); color: var(--fg); }
    .side-sec.active { background: color-mix(in oklch, var(--accent) 12%, var(--surface)); color: var(--fg); font-weight: 500; }
    .side-copy { margin-top: 8px; font-size: 12px; }
    .nav2.mob-only { display: none; }
    @media (max-width: 900px) {
      .layout, .layout-single { grid-template-columns: 1fr; }
      .sidebar { display: none; }
      .nav2.mob-only { display: block; }
    }
  
    /* ─── меню: отделы-выпадашки и заметные разделы ─── */
    .sidebar { background: var(--bg); padding: 22px 16px; }
    .side-group { border: 0; }
    .side-group > summary { list-style: none; cursor: pointer; }
    .side-group > summary::-webkit-details-marker { display: none; }
    .side-dept { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 15.5px; font-weight: 600; color: var(--fg); transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
    .side-dept:hover { border-color: var(--fg); }
    .side-group[open] > .side-dept { background: var(--fg); color: var(--surface); border-color: var(--fg); }
    .side-dept .chev { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
    .side-group[open] > .side-dept .chev { color: var(--surface); }
    .side-dept .chev::after { content: '▸'; }
    .side-group[open] > .side-dept .chev::after { content: '▾'; }
    .side-sections { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 12px; border-left: 2px solid var(--border); }
    .side-sec { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--fg); }
    .side-sec:hover { background: var(--fg-soft); }
    .side-sec .num-badge { font-family: var(--font-mono); font-size: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--fg-soft); color: var(--muted); display: grid; place-items: center; flex: none; }
    .side-sec.active { background: color-mix(in oklch, var(--accent) 14%, var(--surface)); font-weight: 600; }
    .side-sec.active .num-badge { background: var(--accent); color: var(--surface); }
    .side-nav { gap: 10px; }
  
    /* ─── V-compact: плотнее и компактнее ─── */
    .container { max-width: 1040px; padding-inline: 28px; }
    .section { padding-block: clamp(30px, 3.6vw, 52px); }
    .h1, h1 { font-size: clamp(30px, 3.6vw, 44px); }
    .h2, h2 { font-size: clamp(23px, 2.6vw, 31px); }
    .h3, h3 { font-size: 18.5px; }
    .lead { font-size: 17.5px; max-width: 62ch; }
    .section-head { margin-bottom: 26px; }
    .card { padding: 20px; border-radius: 12px; }
    .grid-2, .grid-3, .grid-4 { gap: 18px; }
    .grid-2-1, .grid-1-2 { gap: 32px; }
    .white-list { font-size: 15px; gap: 7px; }
    .svc li { padding: 7px 0; }
    .faq-a { font-size: 15px; }
    .faq-item { padding: 14px 0; }
    .page-purpose { margin-top: 14px; padding: 13px 16px; }
    .crumbs { padding-top: 14px; }
    .eyebrow { margin-bottom: 12px; }
    details.step-item { padding: 13px 12px; }
    .steps { gap: 16px; }
    .step-card { padding-top: 12px; }
    .niche-grid, .partner-grid { gap: 18px; }
    .niche-card h3 { font-size: 17.5px; }
    .stat .stat-num { font-size: clamp(40px, 5.4vw, 64px); }
    .steps-strip { gap: 14px; }
    .side-sec { padding: 9px 11px; }
    footer.pagefoot { padding-block: 34px; }
  
    /* ─── V-theme navy: тёмная тема по образцу ─── */
    :root {
      --bg: #0d1522;
      --surface: #151f30;
      --surface-2: #1b2740;
      --fg: #eef3fa;
      --muted: #93a2b8;
      --border: #26344d;
      --accent: #3f8cff;
      --ok: #34d399;
      --warn: #f59e0b;
      --accent-2: #34d399;
      --accent-3: #f59e0b;
      --accent-4: #a78bfa;
      --accent-soft: color-mix(in oklch, var(--accent) 22%, transparent);
      --fg-soft: color-mix(in oklch, var(--fg) 8%, transparent);
      --shadow-sm: 0 1px 0 color-mix(in oklch, #000 35%, transparent);
      --shadow-md: 0 18px 44px color-mix(in oklch, #000 50%, transparent);
      --font-display: 'Inter', 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
      --font-body: 'Inter', 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    }
    body { background: var(--bg); color: var(--fg); }
    .card { background: var(--surface); border-color: var(--border); box-shadow: none; }
    .card:hover { border-color: color-mix(in oklch, var(--accent) 45%, var(--border)); }
    .eyebrow, .sec-label, .niche-label, .out-label { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; font-size: 11.5px; color: var(--muted); }
    .num, .stat-num, .demand-num, .step-num, .sec-num, .num-badge, .rate-pill, .svc .num { font-family: var(--font-mono); }
    .lead { color: var(--muted); }

    /* кнопки и активные состояния — синий акцент */
    .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
    .btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, white); }
    .btn-secondary { background: var(--surface); border-color: var(--border); color: var(--fg); }
    .btn-secondary:hover { border-color: var(--accent); }
    .btn-ink { background: var(--accent); border-color: var(--accent); color: #fff; }
    .dept-btn, .side-dept { background: var(--surface); border-color: var(--border); }
    .dept-btn:hover, .side-dept:hover { border-color: var(--accent); }
    .dept-btn.active, .side-group[open] > .side-dept { background: var(--accent-soft); color: var(--fg); border-color: var(--accent); }
    .side-group[open] > .side-dept .chev, .dept-btn.active .chev { color: var(--accent); }
    .sec-link { background: var(--surface); border-color: var(--border); color: var(--fg); }
    .sec-link:hover { border-color: var(--accent); }
    .sec-link.active { background: var(--accent-soft); border-color: var(--accent); }
    .sec-link.active .sec-num { color: var(--accent); }
    .side-sec:hover { background: var(--fg-soft); }
    .side-sec.active { background: var(--accent-soft); }
    .side-sec.active .num-badge { background: var(--accent); color: #fff; }
    .chip[aria-pressed="true"], .preset[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
    .sidebar { background: var(--bg); }

    /* KPI-акценты: цветные верхние границы и метрики */
    .stat { border-top: 3px solid var(--accent); }
    .stat:nth-child(2) { border-top-color: var(--accent-2); }
    .stat:nth-child(3) { border-top-color: var(--accent-3); }
    .step-card { border-top: 3px solid var(--accent); }
    .steps .step-card:nth-child(2) { border-top-color: var(--accent-2); }
    .steps .step-card:nth-child(3) { border-top-color: var(--accent-3); }
    .steps .step-card:nth-child(4) { border-top-color: var(--accent-4); }
    .stat .stat-num { color: var(--fg); font-weight: 700; }
    .demand-num { color: var(--fg); font-weight: 700; }
    .rate-dot.ok { background: var(--accent-2); }
    .rate-dot.mid { background: var(--accent-3); }
    .rate-pill { background: var(--surface-2); color: var(--fg); border: 1px solid var(--border); }
    .pill { background: var(--accent-soft); color: var(--accent); }
    .next-card { background: color-mix(in oklch, var(--accent) 10%, var(--surface)); border-color: color-mix(in oklch, var(--accent) 40%, var(--border)); }
    .demand-cell { background: var(--surface-2); }
    .mark { background: linear-gradient(0deg, var(--accent-soft) 0, var(--accent-soft) 0.32em, transparent 0.32em); }
    .hero-ledger { background-image: repeating-linear-gradient(180deg, transparent 0, transparent 39px, color-mix(in oklch, var(--fg) 6%, transparent) 39px, color-mix(in oklch, var(--fg) 6%, transparent) 40px); }
    .to-top { background: var(--accent); color: #fff; }
    .to-top:hover { background: color-mix(in oklch, var(--accent) 88%, white); }
    .nav2 { background: color-mix(in oklch, var(--bg) 92%, transparent); }
    .plan-bar { background: var(--fg-soft); }
    .plan-bar i, .demand-bar i { background: var(--accent); }
    .step-badge.auto { color: var(--accent); border-color: color-mix(in oklch, var(--accent) 40%, var(--border)); }
    .ds-table tbody tr:hover { background: var(--fg-soft); }
    .footer, footer.pagefoot { color: var(--muted); }
    .p-link { color: var(--accent); }
  
    /* контраст: тёмный текст на синем акценте (AA) */
    :root { --on-accent: #08172e; }
    .btn-primary { color: var(--on-accent); font-weight: 600; }
    .btn-ink { color: var(--on-accent); font-weight: 600; }
    .chip[aria-pressed="true"], .preset[aria-pressed="true"], .seg button[aria-pressed="true"] { color: var(--on-accent); }
    .side-sec.active .num-badge { color: var(--on-accent); }
    .to-top { color: var(--on-accent); }

    /* ─── настройки оформления ─── */
    .theme-light {
      --bg: #f8f7f4;
      --surface: #ffffff;
      --surface-2: #f1efe9;
      --fg: #191a17;
      --muted: #686a63;
      --border: #e4e1da;
      --on-accent: #ffffff;
    }
    html.fs-large body { font-size: 18.5px; }
    .theme-btn { position: fixed; right: 24px; bottom: 82px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font-size: 14px; box-shadow: var(--shadow-md); cursor: pointer; }
    .theme-btn:hover { border-color: var(--accent); }
    .theme-panel { position: fixed; right: 24px; bottom: 138px; z-index: 41; width: min(92vw, 330px); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-md); display: none; }
    .theme-panel.open { display: block; }
    .theme-row { display: grid; gap: 8px; margin-bottom: 14px; }
    .theme-row:last-child { margin-bottom: 0; }
    .theme-row .meta { text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
    .swatches { display: flex; gap: 8px; flex-wrap: wrap; }
    .swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
    .swatch[aria-pressed="true"] { border-color: var(--fg); }
    .seg-inline { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
    .seg-inline button { border: 0; background: transparent; padding: 8px 13px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
    .seg-inline button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
    #theme-slot .theme-row { max-width: 420px; }
  
    /* оформление: внизу слева */
    .theme-btn { left: 20px; right: auto; bottom: 20px; display: none; }
    .theme-panel { left: 20px; right: auto; bottom: 72px; }
    @media (max-width: 900px) { .theme-btn { display: inline-flex; } }
    .side-foot .theme-btn-inline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--fg); font-size: 14px; cursor: pointer; }
    .side-foot .theme-btn-inline:hover { border-color: var(--accent); }
  
    /* ─── лендинг-стиль (по образцу: тёмный баннер, белые карточки, бирюза) ─── */
    :root {
      --bg: #f2f2f2;
      --surface: #ffffff;
      --surface-2: #f7f7f7;
      --fg: #2b2b2b;
      --muted: #6b6b6b;
      --border: #e6e6e6;
      --accent: #16b7a9;
      --on-accent: #ffffff;
      --ok: #2ecc71;
      --warn: #f5a623;
      --accent-2: #2ecc71;
      --accent-3: #f5a623;
      --accent-4: #4a90e2;
      --coral: #e45c6a;
      --dark: #2b2b2b;
      --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);
      --fg-soft: color-mix(in oklch, var(--fg) 6%, transparent);
      --radius: 12px;
      --radius-lg: 16px;
      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.12);
      --font-display: 'Inter', 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
      --font-body: 'Inter', 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
    }
    .theme-dark {
      --bg: #0d1522; --surface: #151f30; --surface-2: #1b2740;
      --fg: #eef3fa; --muted: #93a2b8; --border: #26344d;
      --on-accent: #ffffff;
      --shadow-sm: 0 1px 0 rgba(0, 0, 0, 0.35);
      --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.5);
    }
    .card { box-shadow: var(--shadow-sm); border-color: transparent; }
    .tile:hover, .card:hover { box-shadow: var(--shadow-md); }
    .btn { border-radius: 999px; }
    .btn-secondary { background: var(--surface); border-color: var(--border); }
    .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
    .chip, .preset, .seg, .seg button:first-child, .seg button:last-child { border-radius: 999px; }
    .chip[aria-pressed="true"], .preset[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

    /* тёмный баннер первого экрана */
    .hero-band { background: var(--dark); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: center; box-shadow: var(--shadow-md); }
    @media (max-width: 900px) { .hero-band { grid-template-columns: 1fr; } }
    .hero-band .eyebrow { color: color-mix(in oklch, #fff 62%, transparent); }
    .hero-band h1 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin: 10px 0 14px; }
    .hero-band .hero-sub { color: color-mix(in oklch, #fff 78%, transparent); font-size: 17.5px; max-width: 46ch; margin: 0 0 22px; }
    .hero-pill { background: #fff; color: var(--dark); border: 0; border-radius: 999px; padding: 13px 26px; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
    .hero-pill:hover { background: #f0f0f0; }
    .hero-art { display: grid; place-items: center; }
    .hero-art svg { width: min(100%, 380px); height: auto; }

    /* сетка карточек-услуг с цветными иконками */
    .svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    @media (max-width: 1050px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 760px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 460px) { .svc-grid { grid-template-columns: 1fr; } }
    .svc-tile { display: block; background: var(--surface); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
    .svc-tile:hover { box-shadow: var(--shadow-md); }
    .svc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
    .svc-ico svg { width: 22px; height: 22px; }
    .svc-tile h3 { font-size: 17px; margin: 0 0 6px; }
    .svc-tile p { margin: 0; color: var(--muted); font-size: 14px; }

    /* бирюзовая полоса преимуществ */
    .trust-band { background: var(--accent); color: var(--on-accent); border-radius: 24px; padding: clamp(20px, 3vw, 34px) clamp(20px, 3vw, 40px); display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: center; }
    @media (max-width: 900px) { .trust-band { grid-template-columns: 1fr; } }
    .trust-band h2 { color: var(--on-accent); font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
    .trust-band p { margin: 8px 0 0; color: color-mix(in oklch, #fff 82%, transparent); font-size: 15px; }
    .trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    @media (max-width: 1050px) { .trust-items { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .trust-items { grid-template-columns: 1fr; } }
    .trust-item { display: flex; gap: 12px; align-items: flex-start; }
    .trust-item .ti-ico { width: 34px; height: 34px; border-radius: 10px; background: color-mix(in oklch, #fff 22%, transparent); display: grid; place-items: center; flex: none; }
    .trust-item .ti-ico svg { width: 18px; height: 18px; }
    .trust-item b { display: block; font-size: 15.5px; font-weight: 600; }
    .trust-item span { font-size: 13.5px; color: color-mix(in oklch, #fff 80%, transparent); }
  
    /* оформление — в меню, сразу под подписью */
    .theme-btn-inline { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px 14px; margin: 0 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--fg); font-size: 14.5px; font-weight: 500; cursor: pointer; }
    .theme-btn-inline::before { content: '◐'; font-size: 13px; color: var(--accent); }
    .theme-btn-inline:hover { border-color: var(--accent); color: var(--accent); }
  
    /* ─── логотип: градиентный вордмарк (по образцу) ─── */
    .side-logo { font-family: 'Inter', 'Poppins', 'Montserrat', 'Segoe UI', system-ui, sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; display: inline-block; color: var(--accent); }
    @supports ((-webkit-background-clip: text) or (background-clip: text)) {
      .side-logo {
        background: linear-gradient(90deg, #b24fa7 0%, #a45db4 18%, #8e6ac9 40%, #717dde 62%, #5b85e9 80%, #4a6cf7 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
      }
    }
    .side-logo:hover { filter: brightness(1.08); }
    .nav2 .side-logo { font-weight: 800; }
  
    /* оформление — внизу меню */
    .side-foot { position: sticky; bottom: 0; background: var(--bg); padding-top: 10px; }
    .side-foot .theme-btn-inline { margin: 10px 0 0; }
  