
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  * { -webkit-tap-highlight-color: transparent; }
  a, button { touch-action: manipulation; }

  :root {
    --header-h: 48px;
    --bg: #FAFAF6;
    --bg-soft: #F2F0E8;
    --bg-chrome: #ECEAE2;
    --ink: #1A1A1A;
    --ink-2: #4A4438;
    --ink-3: #5A5751;
    --ink-4: #8A8678;
    --accent: #1A8870;
    --accent-soft: #E8F4EE;
    --line: #D6D3C8;
    --line-soft: #E5E3DD;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* при якорном переходе секция не уезжает под sticky-шапку */
  .hero, .section, .footer {
    scroll-margin-top: calc(var(--header-h) + 12px);
  }

  /* IDE chrome */
  .chrome {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-chrome);
    border-bottom: 0.5px solid var(--line);
  }

  .chrome-bar {
    padding: 9px 16px;
    display: flex;
    gap: 6px;
    align-items: center;
    border-bottom: 0.5px solid var(--line);
  }

  .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #C9C6BA;
  }

  .breadcrumb {
    margin-left: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-3);
  }

  .tabs {
    display: flex;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs::-webkit-scrollbar { display: none; }

  .tab {
    padding: 10px 18px;
    color: var(--ink-3);
    border-right: 0.5px solid var(--line);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    text-decoration: none;
  }

  .tab.active {
    background: var(--bg);
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  .tab:hover:not(.active) { background: rgba(0,0,0,0.03); }

  /* layout */
  .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* hero */
  .hero { padding: 96px 0 80px; }

  .hero-line-1 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 10px;
    animation: fadeUp 0.5s 0.05s ease-out backwards;
  }

  .hero-title {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 22px;
    animation: fadeUp 0.5s 0.1s ease-out backwards;
  }

  .cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--accent);
    margin-left: 6px;
    animation: blink 1s steps(2) infinite;
    vertical-align: -2px;
  }

  @keyframes blink { 50% { opacity: 0; } }

  .hero-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-4);
    margin-bottom: 26px;
    animation: fadeUp 0.5s 0.15s ease-out backwards;
  }

  .hero-sub {
    font-size: 17px;
    color: var(--ink-2);
    max-width: 540px;
    line-height: 1.6;
    margin-bottom: 36px;
    animation: fadeUp 0.5s 0.2s ease-out backwards;
  }

  .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeUp 0.5s 0.25s ease-out backwards;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    border: 1px solid transparent;
  }

  .btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
  }
  .btn-primary:hover { background: #146850; border-color: #146850; }

  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }
  .btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-4); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* sections */
  .section { padding: 64px 0; border-top: 0.5px solid var(--line); }

  .section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.6px;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }

  .section-sub {
    font-size: 15px;
    color: var(--ink-3);
    margin-bottom: 36px;
    max-width: 540px;
  }

  /* stack */
  .stack-group {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 0.5px solid var(--line-soft);
    align-items: baseline;
  }
  .stack-group:last-child { border-bottom: none; }

  .stack-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-4);
  }

  .chips { display: flex; gap: 6px; flex-wrap: wrap; }

  .chip {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    padding: 5px 11px;
    background: var(--bg-soft);
    color: var(--ink-2);
    border-radius: 4px;
    transition: all 0.15s;
  }
  .chip.accent { background: var(--accent-soft); color: var(--accent); }
  .chip:hover { background: var(--accent-soft); color: var(--accent); }

  /* cases — tabs + expandable */
  .case-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    border-bottom: 0.5px solid var(--line-soft);
  }

  .case-tab {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    padding: 8px 14px;
    background: transparent;
    color: var(--ink-3);
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
  }
  .case-tab:hover { background: var(--bg-soft); color: var(--ink); }
  .case-tab.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(26, 136, 112, 0.18);
  }
  .tab-count { font-size: 11px; opacity: 0.55; }

  .cases { display: grid; gap: 8px; }

  .case {
    background: var(--bg-soft);
    border: 0.5px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s;
  }
  .case[open] { border-color: var(--accent); background: var(--bg); }
  .case:hover:not([open]) { border-color: var(--ink-4); }

  .case-head {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 18px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    align-items: center;
  }
  .case-head::-webkit-details-marker { display: none; }
  .case-head::marker { display: none; content: ''; }

  .case-marker {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: var(--bg-chrome);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.15s;
  }
  .case-marker::before { content: '+'; }
  .case[open] .case-marker {
    background: var(--accent);
    color: white;
  }
  .case[open] .case-marker::before { content: '−'; }

  .case-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .case-name { font-size: 15px; font-weight: 500; color: var(--ink); }
  .case-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-4);
  }

  .case-stat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
  }
  .stat-old { color: var(--ink-4); text-decoration: line-through; }
  .stat-arrow { color: var(--ink-4); }
  .stat-new { color: var(--accent); font-weight: 500; }

  .case-body {
    padding: 4px 20px 22px 66px;
    border-top: 0.5px solid var(--line-soft);
    display: grid;
    gap: 14px;
    animation: caseFade 0.25s ease-out;
  }
  @keyframes caseFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .case-body-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.6;
    padding-top: 14px;
  }
  .case-body-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--accent);
  }

  .case-show-more {
    margin-top: 14px;
    width: 100%;
    background: transparent;
    border: 0.5px dashed var(--line);
    border-radius: 8px;
    padding: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-3);
    cursor: pointer;
    transition: all 0.15s;
  }
  .case-show-more:hover {
    background: var(--bg-soft);
    border-color: var(--accent);
    color: var(--accent);
    border-style: solid;
  }
  .case-show-more.is-hidden { display: none; }

  /* process */
  .process-list { display: grid; gap: 28px; }

  .step { display: grid; grid-template-columns: 100px 1fr; gap: 24px; }

  .step-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--accent);
  }

  .step-title { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
  .step-desc { color: var(--ink-3); line-height: 1.6; }

  /* footer */
  .footer {
    padding: 80px 0 64px;
    border-top: 0.5px solid var(--line);
    background: var(--bg-soft);
  }

  .terminal {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.95;
  }

  .term-prompt { color: var(--accent); }
  .term-out { color: var(--ink-2); }

  .term-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
  }
  .term-link:hover { background: var(--accent-soft); }


  /* responsive */
  @media (max-width: 700px) {
    .container { padding: 0 20px; }
    .hero { padding: 56px 0 48px; }
    .section { padding: 48px 0; }
    .stack-group { grid-template-columns: 1fr; gap: 8px; }
    .case-head {
      grid-template-columns: 28px 1fr;
      grid-template-rows: auto auto;
      gap: 4px 14px;
      padding: 14px 16px;
      align-items: start;
    }
    .case-marker { grid-row: 1 / span 2; align-self: center; }
    .case-meta { grid-column: 2; grid-row: 1; }
    .case-stat { grid-column: 2; grid-row: 2; font-size: 11px; }
    .stat-old { display: none; }
    .case-body { padding: 4px 16px 18px; }
    .case-body-row { grid-template-columns: 1fr; gap: 4px; }
    .case-tabs { gap: 2px; }
    .case-tab { padding: 9px 12px; font-size: 11px; min-height: 40px; }
    .step { grid-template-columns: 1fr; gap: 8px; }
    .tabs { font-size: 12px; }
    .tab { padding: 13px 14px; font-size: 12px; }
  }

  /* отключаем sticky-hover на тач-устройствах */
  @media (hover: none) {
    .tab:hover:not(.active) { background: transparent; }
    .case-tab:hover { background: transparent; color: var(--ink-3); }
    .case:hover:not([open]) { border-color: var(--line); }
    .chip:hover { background: var(--bg-soft); color: var(--ink-2); }
    .chip.accent:hover { background: var(--accent-soft); color: var(--accent); }
    .term-link:hover { background: transparent; }
    .btn-primary:hover { background: var(--accent); border-color: var(--accent); }
    .btn-ghost:hover { background: transparent; border-color: var(--line); }
    .case-show-more:hover {
      background: transparent;
      border-color: var(--line);
      color: var(--ink-3);
      border-style: dashed;
    }
  }

  /* уважаем системную настройку reduce-motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    .cursor { animation: none; opacity: 1; }
  }

  /* ===== v4: услуги, схемы, демо, FAQ в той же системе ===== */
  [hidden] { display: none !important; }
  .skip { position: absolute; left: -999px; background: #fff; padding: 8px 12px; z-index: 200; } .skip:focus { left: 8px; top: 8px; }
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .hero-sub a, .section-sub a, .about a { color: var(--accent); }
  .hero-example { margin-top: 56px; }
  .ex-label, .side-cond { font-family: 'IBM Plex Mono', monospace; }
  .ex-label { font-size: 12px; color: var(--ink-4); margin-bottom: 18px; }

  .svc-list { border-top: 0.5px solid var(--line-soft); }
  .svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; padding: 16px 0; border-bottom: 0.5px solid var(--line-soft); text-decoration: none; color: inherit; transition: background .15s; }
  .svc-row b { font-weight: 500; font-size: 16px; }
  .svc-row span { font-size: 14px; color: var(--ink-3); }
  .svc-row:hover b { color: var(--accent); }
  .about { margin-top: 18px; font-size: 14px; color: var(--ink-3); max-width: 620px; }

  /* схема процесса */
  .flowfig { margin: 0; }
  .flow { position: relative; isolation: isolate; padding-top: 2px; --human: #B7791F; --track: var(--accent); --branch: var(--human); --plate: var(--bg); }
  .case > .case-body .flow { --plate: var(--bg); }
  .flow.armed { --track: var(--line); --branch: var(--line); }
  .rail { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: 14px; list-style: none; }
  .rail::before { content: ""; position: absolute; left: 7px; width: calc((100% + 14px) * (var(--n) - 1) / var(--n)); top: 8px; height: 2px; background: var(--track); transition: background-color .2s; }
  .node { position: relative; padding-top: 28px; min-width: 0; grid-row: 1; grid-column: var(--col); }
  .fd { position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--plate); border: 2px solid var(--track); z-index: 2; transition: border-color .16s, background-color .16s; }
  .term > .fd { width: 18px; height: 18px; top: 0; border-width: 5px; }
  .node.cur > .fd { background: var(--accent); border-color: var(--accent); }
  .node.past > .fd { border-color: var(--accent); }
  .nbody { display: block; }
  .nbody > b { display: block; font-weight: 500; font-size: 14px; line-height: 1.3; color: var(--ink); }
  .nsub { display: block; font-size: 13px; line-height: 1.4; color: var(--ink-3); margin-top: 2px; }
  .okline { display: block; margin-top: 5px; font-size: 12px; line-height: 1.35; color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
  .check > .fd { width: 16px; height: 16px; left: -1px; top: 1px; border-radius: 2px; transform: rotate(45deg); border-color: var(--ink); }
  .check.cur > .fd { background: var(--ink); border-color: var(--ink); }
  .has-side .nbody { padding-left: 18px; }
  .has-side::after { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--branch); transition: background-color .2s; }
  .side { position: relative; grid-row: 2; grid-column: var(--col) / span var(--span); padding: 20px 0 0 44px; min-width: 0; }
  .side::before { content: ""; position: absolute; left: 6px; top: 0; width: 24px; height: 30px; border: solid var(--branch); border-width: 0 0 2px 2px; border-bottom-left-radius: 12px; transition: border-color .2s; }
  .sfd { position: absolute; left: 24px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--plate); border: 2px solid var(--branch); z-index: 2; }
  .side-cond { display: block; font-size: 12px; line-height: 1.35; color: var(--ink-4); }
  .side-cond::before { content: "// "; }
  .side > b { display: block; font-weight: 500; font-size: 14px; margin-top: 1px; }
  .side-notify, .has-side:not(.check) { --branch: var(--track); }
  .side.reached .sfd { background: var(--human); border-color: var(--human); }
  .ovl { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; overflow: visible; z-index: 1; }
  .ovl path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
  .ovl .human { stroke: var(--human); }
  .marker { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--plate); pointer-events: none; z-index: 3; opacity: 0; will-change: transform; }
  .fctl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; min-height: 34px; }
  .fctl button { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-3); background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 6px 11px; min-height: 34px; cursor: pointer; transition: all .15s; }
  .fctl button:hover { border-color: var(--ink-4); color: var(--ink); }
  .fctl button:active { transform: scale(.97); }
  .fctl [aria-pressed=true] { background: var(--accent-soft); color: var(--accent); border-color: rgba(26,136,112,.3); }
  .fctl .gone { visibility: hidden; }

  /* кейс: тело в оригинальной сетке, схема и демо на всю ширину */
  .case-wide { padding-top: 16px; }
  .case-body { min-width: 0; }
  .case-note { color: var(--ink-3); font-size: 13px; display: block; margin-top: 3px; }

  /* демо как окно редактора */
  .demo { margin: 0; border: 0.5px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg-soft); font-size: 13px; max-width: 620px; }
  .demo .dbar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; background: var(--bg-chrome); border-bottom: 0.5px solid var(--line); }
  .demo .dbar .breadcrumb { margin-left: 10px; font-size: 11px; }
  .demo .dot { width: 9px; height: 9px; }
  .scn { padding: 12px 14px; display: grid; gap: 7px; align-content: start; }
  .scn + .scn { border-top: 0.5px solid var(--line); }
  .scn h4 { font-family: 'IBM Plex Mono', monospace; font-weight: 400; font-size: 11px; color: var(--ink-4); }
  .scn h4::before { content: "// "; }
  .r { position: relative; }
  .r::after { content: ""; position: absolute; inset: -3px -5px; border: 1px solid var(--accent); border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .16s; }
  .r.now::after { opacity: 1; }
  .msg { max-width: 88%; padding: 6px 10px; border-radius: 7px; line-height: 1.35; background: var(--bg); border: 0.5px solid var(--line); justify-self: start; }
  .msg b { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 400; color: var(--ink-4); }
  .msg.out { justify-self: end; background: var(--accent-soft); border-color: rgba(26,136,112,.2); }
  .conds { list-style: none; justify-self: end; display: grid; gap: 2px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; padding-right: 4px; }
  .conds li::before { content: "✓\00a0"; color: var(--accent); }
  .conds .bad::before { content: "✕\00a0"; color: #B7791F; }
  .file { justify-self: end; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 7px; background: var(--accent-soft); font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
  .file i { width: 12px; height: 15px; border-radius: 2px; background: var(--accent); }
  .doc dl { display: grid; gap: 9px; margin: 0; }
  .doc dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; }
  .doc dt { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--accent); padding-top: 2px; }
  .doc dd { margin: 0; line-height: 1.4; }
  .doc dd span { display: block; }
  .demo figcaption { padding: 6px 14px 10px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-4); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .demo video { display: block; width: 100%; height: auto; background: #f7f7fc; }
  .vbtn { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--ink-3); background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; cursor: pointer; }

  /* FAQ: те же раскрывающиеся строки */
  .faq-list { display: grid; gap: 8px; }
  .faq-a { padding: 12px 20px 18px 66px; font-size: 14px; color: var(--ink-2); border-top: 0.5px solid var(--line-soft); }
  .plist { list-style: none; border-top: 0.5px solid var(--line-soft); }
  .plist li { padding: 12px 0; border-bottom: 0.5px solid var(--line-soft); font-size: 15px; }
  .plist li::before { content: "→ "; color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
  .price-line { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-4); margin-bottom: 26px; }
  .crumb { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-4); margin-bottom: 14px; }
  .crumb a { color: var(--accent); text-decoration: none; }
  .hero-title.inner { font-size: clamp(30px, 4.4vw, 46px); }
  .prose h2 { font-size: 18px; font-weight: 500; margin: 26px 0 8px; }
  .prose p, .prose ul { margin-bottom: 10px; color: var(--ink-2); }
  .prose ul { padding-left: 20px; }
  .others { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 24px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
  .others a { color: var(--accent); }

  @media (max-width: 760px) {
    .rail { grid-template-columns: 1fr; row-gap: 20px; }
    .rail::before { left: 6px; width: 2px; top: 8px; bottom: 6px; height: auto; }
    .node, .side { grid-row: auto; grid-column: 1; }
    .node { padding: 0 0 0 28px; }
    .fd { left: 0; top: 2px; }
    .term > .fd { left: -2px; top: 0; }
    .has-side .nbody { padding-left: 0; }
    .has-side::after { display: none; }
    .side { padding: 0 0 0 50px; margin-top: -6px; }
    .side::before { left: 6px; top: 8px; width: 24px; height: 2px; border: 0; border-radius: 0; background: var(--branch); }
    .sfd { left: 28px; top: 2px; }
    .node.term::after { content: ""; position: absolute; left: 5px; width: 4px; top: 18px; bottom: -6px; background: var(--plate); }
    .svc-row { grid-template-columns: 1fr; }
    .faq-a { padding: 10px 16px 16px; }
  }
  @media (prefers-reduced-motion: reduce) { .ovl, .marker, .fctl, .vbtn { display: none !important; } }

  /* v4.1: ответ в начале страницы, сравнение, калькулятор, статьи */
  .answer { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 680px; }
  .answer p + p { margin-top: 12px; }
  .answer a, .art a, .calc-note a { color: var(--accent); }
  .tblw { overflow-x: auto; border: 0.5px solid var(--line); border-radius: 8px; }
  .cmp { border-collapse: collapse; width: 100%; min-width: 720px; font-size: 13px; line-height: 1.45; }
  .cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 0.5px solid var(--line-soft); vertical-align: top; }
  .cmp thead th { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 400; color: var(--ink-3); background: var(--bg-soft); }
  .cmp tbody th { font-weight: 500; }
  .cmp td:nth-child(2), .cmp thead th:nth-child(2) { background: var(--accent-soft); color: var(--ink); }
  .cmp tbody tr:last-child > * { border-bottom: 0; }
  .calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .calc label { display: grid; gap: 6px; font-size: 13px; color: var(--ink-3); align-content: start; }
  .calc input { font: 15px 'IBM Plex Mono', monospace; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; width: 100%; min-height: 44px; }
  .calc input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .calc-out { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: auto auto; column-gap: 14px; padding: 14px 16px; background: var(--bg-soft); border: 0.5px solid var(--line); border-radius: 8px; }
  .calc-out span { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-4); }
  .calc-out b { font-size: clamp(18px, 3vw, 26px); font-weight: 500; letter-spacing: -.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
  .calc-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); max-width: 680px; }
  .art { max-width: 720px; font-size: 16px; line-height: 1.7; }
  .art .answer { padding-bottom: 20px; border-bottom: 0.5px solid var(--line); margin-bottom: 8px; }
  .art h2 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -.3px; }
  .art ol { padding-left: 22px; margin-bottom: 12px; color: var(--ink-2); } .art li { margin-bottom: 8px; }
  .art-cta { margin: 36px 0 8px; padding-top: 24px; border-top: 0.5px solid var(--line); }
  .art-cta p { font-weight: 500; color: var(--ink); margin-bottom: 14px; }
  @media (max-width: 700px) { .calc { grid-template-columns: 1fr; } .calc-out { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap: 2px; } .calc-out b { margin-bottom: 8px; } }

  .hero-h1 { font-size: 17px; font-weight: 500; color: var(--ink); max-width: 540px; line-height: 1.45; margin-bottom: 8px; letter-spacing: 0; animation: fadeUp 0.5s 0.18s ease-out backwards; }
  .case-link { display: inline-block; margin-top: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent); text-decoration: none; }
  .case-link:hover { text-decoration: underline; }
  .case-page { background: var(--bg); border-color: var(--line); }
  .case-page .case-body { padding: 8px 24px 26px; border-top: 0; }
  .sch-h { font-size: 16px; font-weight: 500; margin-bottom: 14px; }
  @media (max-width: 700px) { .case-page .case-body { padding: 4px 16px 20px; } }
