/* Общие стили сайта aibp.ai. Вынесены из главной, когда страниц стало больше одной:
   так дизайн правится в одном месте и не расходится между страницами. */

:root {
      --bg: oklch(0.925 0.008 135);
      --bg-2: oklch(0.945 0.006 130);
      --paper: oklch(0.97 0.005 130);
      --ink: oklch(0.19 0.012 240);
      --ink-2: oklch(0.30 0.012 240);
      --muted: oklch(0.46 0.012 235);
      --faint: oklch(0.58 0.010 230);
      --acid: oklch(0.79 0.152 74);
      --acid-2: oklch(0.73 0.152 70);
      --on-acid: oklch(0.21 0.02 60);
      --teal: oklch(0.83 0.05 88);
      --teal-deep: oklch(0.53 0.12 63);
      --line: oklch(0.86 0.010 135);
      --line-strong: oklch(0.76 0.014 135);
      --on-ink: oklch(0.95 0.005 130);
      --on-ink-muted: oklch(0.72 0.01 130);
      --line-on-ink: oklch(1 0 0 / .12);

      --display: 'Unbounded', system-ui, sans-serif;
      --grotesk: 'Onest', system-ui, sans-serif;
      --mono: 'JetBrains Mono', ui-monospace, monospace;
      --body: var(--grotesk);
      --ease: cubic-bezier(.16, 1, .3, 1);
      --ease-io: cubic-bezier(.65, 0, .35, 1);
      --maxw: 1280px;
      --pad: clamp(20px, 4vw, 56px);
      --r: 16px; --r-lg: 28px; --r-xl: 40px;
      --s3: 22px; --s4: 34px; --s5: 56px; --s6: 90px; --s7: 130px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
    /* Ограничение по горизонтали на html, а не только на body: иначе область
       отсчёта для position: fixed растягивается по содержимому и элементы
       с left/right становятся шире экрана. clip вместо hidden — чтобы html
       не стал областью прокрутки и не сломал прилипающую шапку. */
    html { overflow-x: clip; }
    /* Длинное слово переносится только если иначе не помещается. */
    h1, h2, h3, h4, .statement { overflow-wrap: break-word; }

    body { font-family: var(--body); background: var(--bg); color: var(--ink); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
    h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.0; text-wrap: balance; }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    ::selection { background: var(--acid); color: var(--on-acid); }
    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
    .mono { font-family: var(--mono); }

    /* index micro-label */
    .idx { font-family: var(--mono); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
    .idx b { color: var(--ink); font-weight: 600; }
    .idx .n { color: var(--faint); }
    .idx-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }

    /* buttons (pills) */
    .btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--grotesk); font-weight: 700; font-size: 1rem; padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .5s var(--ease), background .2s, color .2s, border-color .2s; will-change: transform; }
    .btn svg { width: 18px; height: 18px; }
    .btn-acid { background: var(--acid); color: var(--on-acid); }
    .btn-acid:hover { background: var(--acid-2); }
    .btn-ink { background: var(--ink); color: var(--on-ink); }
    .btn-ink:hover { background: var(--ink-2); }
    .btn-ghost { border-color: var(--line-strong); color: var(--ink); }
    .btn-ghost:hover { border-color: var(--ink); }
    .btn-on-ink { border-color: var(--line-on-ink); color: var(--on-ink); }
    .btn-on-ink:hover { border-color: var(--acid); color: var(--acid); }

    /* nav */
    header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
    .nav-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
    .nav-pill { display: flex; align-items: center; gap: 4px; background: color-mix(in oklch, var(--paper) 78%, transparent); backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; }
    .brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; padding-right: 10px; }
    .brand img { height: 24px; width: auto; }
    .nav-links { display: flex; gap: 4px; }
    .nav-links a { font-size: .92rem; font-weight: 600; color: var(--ink-2); padding: 9px 15px; border-radius: 999px; transition: background .18s, color .18s; }
    .nav-links a:hover { background: var(--bg); }
    .nav-cta { display: flex; align-items: center; }
    .burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in oklch, var(--paper) 78%, transparent); backdrop-filter: blur(16px); color: var(--ink); place-items: center; cursor: pointer; }
    .burger svg { width: 20px; height: 20px; }

    /* ===== HERO ===== */
    .hero { position: relative; min-height: 100svh; padding-top: 92px; padding-bottom: 36px; display: flex; flex-direction: column; overflow: hidden; }
    .hero-in { flex: 1; display: flex; flex-direction: column; }
    .hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
    .hero-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4.5vh, 52px); padding: clamp(20px, 4vh, 48px) 0; }
    .hero-word { font-family: var(--display); font-weight: 900; line-height: .86; letter-spacing: -0.03em; font-size: clamp(4.6rem, 23vw, 13rem); color: var(--ink); }
    .hero-statement { font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.7rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance; }
    .nbq{white-space:nowrap}.q-l,.q-r{display:inline-block;vertical-align:baseline}.q-l{margin-right:.15em}.q-r{margin-left:.23em}
    .mk { color: var(--on-acid); background-image: linear-gradient(var(--acid), var(--acid)); background-repeat: no-repeat; background-position: 0 42%; background-size: 100% 1.12em; padding: 0 .16em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
    .hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
    .hero-sub { max-width: 44ch; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; color: var(--muted); }
    .hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex-shrink: 0; }
    .scrollhint { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
    .scrollhint .dot { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
    .scrollhint .dot svg { width: 15px; height: 15px; animation: bob 1.8s var(--ease-io) infinite; }
    @keyframes bob { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
    @media (prefers-reduced-motion: reduce) { .scrollhint .dot svg { animation: none; } }

    /* marquee */
    .marquee { border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); overflow: hidden; padding: 16px 0; background: var(--acid); }
    .marquee-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: scrollx 26s linear infinite; }
    .marquee-track span { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 2rem); letter-spacing: -0.01em; color: var(--on-acid); padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
    .marquee-track span::after { content: '✦'; font-size: .7em; opacity: .5; }
    @keyframes scrollx { to { transform: translateX(-50%); } }
    @media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

    /* section rhythm */
    section { padding: var(--s6) 0; position: relative; }
    .reveal { opacity: 0; transform: translateY(26px); }
    .js .reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
    .reveals-instant .reveal, .reveals-instant .reveal.in, .reveals-instant .split .w { transition: none !important; opacity: 1 !important; transform: none !important; }
    @media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; } }
    /* word-split reveal */
    .split .w { display: inline-block; opacity: 0; transform: translateY(.5em); }
    .js .split.in .w { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
    @media (prefers-reduced-motion: reduce) { .js .split .w { opacity: 1 !important; transform: none !important; } }

    .statement { font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 6.2vw, 5.2rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 20ch; }
    .statement .hl { color: var(--teal-deep); }
    /* Раньше здесь стоял white-space: nowrap, чтобы короткая выделенная фраза
       не разрывалась между строк. На длинных фразах это выносило текст
       за экран на сотни пикселей. Перенос разрешён: box-decoration-break
       рисует подсветку на каждой строке отдельно. */
    .hero-statement .mk, .statement .mk, .form-grid h2 .mk { white-space: normal; }
    .lead-lg { font-size: clamp(1.1rem, 1.9vw, 1.45rem); color: var(--muted); max-width: 46ch; font-weight: 500; }

    .sec-head { margin-bottom: var(--s5); }
    .sec-head .statement { margin-top: 26px; }

    /* ===== ACID FLIP SECTION ===== */
    .flip { background: var(--acid); color: var(--on-acid); padding: clamp(90px, 16vw, 220px) 0; text-align: center; }
    .flip .statement { max-width: 24ch; margin: 0 auto; font-size: clamp(2.4rem, 8vw, 7rem); }
    .flip .idx { color: oklch(0.21 0.02 60 / .6); margin-bottom: 30px; }
    .flip .idx b, .flip .idx .n { color: var(--on-acid); }

    /* ===== FLAGSHIP (dark panel + demo) ===== */
    .flagship { background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: 1.02fr .98fr; }
    .fs-copy { padding: clamp(30px, 4vw, 60px); display: flex; flex-direction: column; }
    .fs-copy .tag { align-self: flex-start; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-acid); background: var(--acid); border-radius: 999px; padding: 7px 15px; }
    .fs-copy h3 { font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 3rem); color: var(--on-ink); margin: 24px 0 16px; letter-spacing: -0.025em; line-height: 1.02; }
    .fs-copy > p { color: var(--on-ink-muted); font-size: 1.05rem; max-width: 42ch; }
    .fs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
    .fs-chips span { font-family: var(--mono); font-size: .74rem; color: var(--on-ink); border: 1px solid var(--line-on-ink); border-radius: 999px; padding: 7px 13px; }
    .fs-demo { padding: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line-on-ink); background: oklch(0.16 0.012 240); display: flex; flex-direction: column; }
    .demo { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
    .demo-head { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); display: flex; align-items: center; gap: 9px; }
    .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 oklch(0.62 0.2 262 / .6); animation: pulse 1.9s infinite; }
    @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 oklch(0.62 0.2 262 / .5); } 50% { box-shadow: 0 0 0 8px oklch(0.62 0.2 262 / 0); } }
    .demo-log { display: flex; flex-direction: column; gap: 8px; min-height: 150px; max-height: 240px; overflow-y: auto; padding-right: 4px; }
    .dm { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.42; white-space: pre-wrap; word-break: break-word; }
    .dm.you { align-self: flex-end; background: var(--acid); color: var(--on-acid); font-weight: 500; border-bottom-right-radius: 5px; }
    .dm.bot { align-self: flex-start; background: oklch(0.26 0.012 240); color: var(--on-ink); border-bottom-left-radius: 5px; }
    .dm.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 15px; background: oklch(0.26 0.012 240); border-radius: 16px; }
    .dm.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--on-ink-muted); animation: pulse 1s infinite; }
    .dm.typing i:nth-child(2) { animation-delay: .15s; } .dm.typing i:nth-child(3) { animation-delay: .3s; }
    .demo-in { display: flex; gap: 8px; }
    .demo-in input { flex: 1; min-width: 0; background: oklch(0.26 0.012 240); border: 1px solid var(--line-on-ink); border-radius: 14px; padding: 13px 15px; color: var(--on-ink); font-family: var(--body); font-size: .94rem; outline: none; }
    .demo-in input:focus { border-color: var(--acid); }
    .demo-in input::placeholder { color: var(--on-ink-muted); }
    .demo-in button { width: 48px; flex-shrink: 0; border: none; border-radius: 14px; background: var(--acid); color: var(--on-acid); font-size: 1.1rem; cursor: pointer; }
    .demo-in button:disabled { opacity: .5; cursor: default; }

    /* ===== PRODUCT ACCORDIONS ===== */
    .accs { margin-top: var(--s4); border-top: 1.5px solid var(--ink); }
    .acc { border-bottom: 1.5px solid var(--line-strong); }
    .acc-head { width: 100%; display: grid; grid-template-columns: 70px 1fr 46px; align-items: center; gap: clamp(14px, 3vw, 40px); padding: clamp(22px, 3vw, 34px) clamp(6px, 1.5vw, 20px); background: transparent; border: none; cursor: pointer; text-align: left; color: var(--ink); }
    .acc-n { font-family: var(--mono); font-weight: 600; font-size: .82rem; color: var(--faint); transition: color .2s; align-self: start; padding-top: .5em; }
    .acc[data-open] .acc-n, .acc-head:hover .acc-n { color: var(--teal-deep); }
    .acc-title { display: block; font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.9rem); letter-spacing: -0.025em; line-height: 1.02; }
    .acc-sub { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 9px; }
    .acc-plus { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); justify-self: end; align-self: start; transition: background .25s, border-color .25s; }
    .acc-plus::before, .acc-plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .25s; }
    .acc-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
    .acc-head:hover .acc-plus { border-color: var(--ink); }
    .acc[data-open] .acc-plus { background: var(--acid); border-color: var(--acid); }
    .acc[data-open] .acc-plus::before, .acc[data-open] .acc-plus::after { background: var(--on-acid); }
    .acc[data-open] .acc-plus::after { transform: translate(-50%, -50%) rotate(0); }
    .acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
    .acc[data-open] .acc-body { grid-template-rows: 1fr; }
    .acc-inner { min-height: 0; overflow: hidden; }
    .acc-pad { padding: 2px clamp(6px, 1.5vw, 20px) clamp(30px, 4vw, 46px) 84px; }
    .acc-lead { font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 500; color: var(--ink-2); max-width: 60ch; line-height: 1.4; }
    .acc-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: clamp(24px, 4vw, 56px); margin-top: 30px; align-items: start; }
    .acc-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; }
    .acc-feats li { display: flex; gap: 12px; font-size: 1rem; font-weight: 500; color: var(--ink-2); line-height: 1.38; }
    .acc-feats li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241a0e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
    .acc-aside { display: flex; flex-direction: column; gap: 22px; }
    .acc-metric b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
    .acc-metric span { display: block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-top: 10px; }
    .acc-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; font-family: var(--grotesk); font-weight: 700; font-size: .98rem; color: var(--on-acid); background: var(--acid); padding: 13px 24px; border-radius: 999px; transition: background .2s, transform .5s var(--ease); will-change: transform; }
    .acc-cta:hover { background: var(--acid-2); }
    .acc-cta svg { width: 17px; height: 17px; }

    /* ===== SEGMENT SELECTOR ===== */
    .seg-grid { display: grid; grid-template-columns: 320px 1fr; gap: var(--s4); align-items: start; margin-top: var(--s4); }
    .seg-chips { display: flex; flex-direction: column; gap: 8px; }
    .seg-chip { text-align: left; display: flex; align-items: center; gap: 13px; padding: 16px 19px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font-family: var(--grotesk); font-weight: 700; font-size: 1.02rem; cursor: pointer; transition: border-color .18s, background .18s, color .18s; }
    .seg-chip:hover { border-color: var(--ink); }
    .seg-chip.on { border-color: var(--ink); background: var(--acid); color: var(--on-acid); }
    .seg-chip .sc-ic { width: 24px; height: 24px; flex-shrink: 0; color: currentColor; }
    .seg-panel { background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 44px); min-height: 280px; }
    .seg-panel h3 { font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 6px; }
    .seg-panel .seg-sub { color: var(--faint); font-size: .78rem; margin-bottom: 26px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
    .seg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
    .seg-col .seg-label { font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
    .seg-col.pain .seg-label { color: var(--muted); }
    .seg-col.gain .seg-label { color: var(--ink); }
    .seg-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .seg-col li { display: flex; gap: 11px; font-size: 1rem; color: var(--muted); line-height: 1.42; font-weight: 500; }
    .seg-col li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; }
    .seg-col.pain li svg { color: var(--faint); }
    .seg-col.gain li { color: var(--ink); }
    .seg-col.gain li svg { color: var(--teal-deep); }
    .seg-fade { animation: segIn .4s var(--ease); }
    @keyframes segIn { from { opacity: 0; transform: translateY(10px); } }
    @media (prefers-reduced-motion: reduce) { .seg-fade { animation: none; } }

    /* ===== CASES (oversized stats) ===== */
    .cases { display: grid; gap: 0; margin-top: var(--s4); border-top: 1.5px solid var(--ink); }
    .case { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 64px); padding: clamp(30px, 4vw, 52px) 0; border-bottom: 1.5px solid var(--line-strong); align-items: center; }
    .case-when { }
    .case-name { font-family: var(--grotesk); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
    .case-city { font-family: var(--mono); font-size: .78rem; color: var(--faint); margin-top: 5px; text-transform: uppercase; letter-spacing: .08em; }
    .case-body p { color: var(--muted); font-size: 1.02rem; font-weight: 500; max-width: 54ch; }
    .case-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); margin-top: 24px; }
    .cst b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
    .cst.key b { color: var(--teal-deep); }
    .cst span { display: block; font-family: var(--mono); font-size: .74rem; color: var(--faint); margin-top: 8px; text-transform: uppercase; letter-spacing: .06em; }

    /* ===== HELM ===== */
    .helm { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border: 1.5px solid var(--line-strong); border-radius: var(--r-xl); overflow: hidden; }
    .helm-copy { padding: clamp(30px, 4vw, 60px); }
    .helm-copy .statement { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 22px 0 18px; }
    .helm-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
    .helm-list li { display: flex; gap: 14px; font-size: 1.05rem; font-weight: 500; }
    .helm-list li svg { width: 24px; height: 24px; color: var(--teal-deep); flex-shrink: 0; margin-top: 2px; }
    .helm-visual { background: var(--ink); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 13px; }
    .helm-row { display: flex; align-items: center; gap: 13px; background: oklch(0.24 0.012 240); border: 1px solid var(--line-on-ink); border-radius: 16px; padding: 14px 16px; }
    .helm-row .av { width: 38px; height: 38px; border-radius: 50%; background: var(--acid); color: var(--on-acid); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .82rem; flex-shrink: 0; }
    .helm-row .rt { min-width: 0; }
    .helm-row .rt b { color: var(--on-ink); font-family: var(--grotesk); font-weight: 700; font-size: .95rem; }
    .helm-row .rt span { color: var(--on-ink-muted); font-size: .85rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .helm-row .badge { margin-left: auto; font-family: var(--mono); font-size: .64rem; padding: 4px 10px; border-radius: 999px; background: oklch(0.79 0.152 74 / .2); color: oklch(0.84 0.13 80); flex-shrink: 0; }

    /* ===== FORM ===== */
    .form-band { background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 90px) var(--pad); position: relative; overflow: hidden; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
    .form-grid h2 { font-family: var(--grotesk); font-weight: 800; color: var(--on-ink); font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 16px; }
    /* form marker uses the global .mk highlight */
    .form-grid > div > p { color: var(--on-ink-muted); font-size: 1.1rem; max-width: 40ch; font-weight: 500; }
    .form-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); }
    .fld { margin-bottom: 16px; }
    .fld label { display: block; font-family: var(--grotesk); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
    .fld input, .fld select { width: 100%; background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; font-family: var(--body); font-size: 1rem; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
    .fld input:focus, .fld select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px oklch(0.79 0.152 74 / .35); }
    .fld .err { display: none; color: oklch(0.55 0.18 25); font-size: .84rem; margin-top: 7px; font-weight: 600; }
    .fld .err.show { display: block; }
    /* Ошибка галочки согласия живёт вне .fld, поэтому правило своё. */
    .consent-err { display: none; color: oklch(0.55 0.18 25); font-size: .84rem; margin-top: 8px; font-weight: 600; }
    .consent-err.show { display: block; }
    .form-done { text-align: center; padding: var(--s4) 0; }
    .form-done .ok { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--acid); display: grid; place-items: center; }
    .form-done .ok svg { width: 32px; height: 32px; color: var(--on-acid); }
    .form-done h3 { font-family: var(--grotesk); font-weight: 800; font-size: 1.6rem; margin-bottom: 10px; }
    .form-done p { color: var(--muted); font-weight: 500; }

    /* ===== FOOTER ===== */
    footer { padding: var(--s5) 0 40px; }
    .foot-cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); }
    .foot-brand { max-width: 32ch; }
    .foot-brand p { color: var(--muted); font-size: .95rem; font-weight: 500; margin-top: 12px; }
    .foot-nav { display: flex; gap: var(--s5); flex-wrap: wrap; }
    .foot-col h5 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 14px; }
    .foot-col a { display: block; color: var(--ink-2); font-size: .96rem; font-weight: 600; margin-bottom: 9px; }
    .foot-col a:hover { color: var(--teal-deep); }
    .foot-bottom { margin-top: var(--s5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: .76rem; color: var(--faint); letter-spacing: .04em; }

    .skip { position: absolute; left: -9999px; top: 8px; background: var(--acid); color: var(--on-acid); padding: 10px 16px; border-radius: 999px; z-index: 200; font-weight: 700; }
    .skip:focus { left: 8px; }

    /* mobile menu */
    .mmenu { position: fixed; inset: 0; z-index: 150; background: var(--acid); color: var(--on-acid); transform: translateY(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; padding: 30px var(--pad); gap: 4px; }
    .mmenu.open { transform: none; }
    .mmenu a { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 8vw, 3rem); padding: 12px 0; border-bottom: 1.5px solid oklch(0.21 0.02 60 / .28); }
    .mmenu .btn { margin-top: 24px; justify-content: center; background: var(--ink); color: var(--on-ink); }
    .mmenu-close { position: absolute; top: 20px; right: var(--pad); width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--on-acid); background: transparent; color: var(--on-acid); display: grid; place-items: center; cursor: pointer; }

    /* ===== PRELOADER ===== */
    #preloader { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
    #preloader.done { opacity: 0; visibility: hidden; }
    .pl-in { display: flex; flex-direction: column; align-items: center; gap: 24px; }
    .pl-word { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 13vw, 9rem); letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
    .pl-bar { width: min(240px, 58vw); height: 3px; border-radius: 999px; background: var(--line-strong); overflow: hidden; }
    .pl-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--acid); }
    .pl-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

    /* ===== SMOOTH SCROLL ===== */
    .smooth-on #smooth { position: fixed; top: 0; left: 0; width: 100%; will-change: transform; }

    /* ===== TRUST STRIP ===== */
    .trust { padding: clamp(48px, 7vw, 90px) 0; }
    .trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 4vw, 56px); }
    .trust-item b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -0.03em; line-height: .9; color: var(--ink); }
    .trust-item.em b { color: var(--teal-deep); }
    .trust-item span { display: block; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-top: 14px; }

    /* ===== TIMELINE (how it works) ===== */
    .flow { position: relative; margin-top: var(--s4); }
    .flow-line { position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: var(--line-strong); overflow: hidden; }
    .flow-line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--acid); transition: transform 1.3s var(--ease); }
    .flow.in .flow-line i { transform: scaleX(1); }
    @media (prefers-reduced-motion: reduce) { .flow-line i { transition: none; transform: scaleX(1); } }
    .flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
    .fstep .dot { width: 66px; height: 66px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); position: relative; z-index: 1; transition: border-color .5s var(--ease); }
    .flow.in .fstep .dot { border-color: var(--acid); }
    .fstep h4 { font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; margin: 22px 0 10px; }
    .fstep p { color: var(--muted); font-size: 1rem; font-weight: 500; }

    /* ===== FAQ (reuses .acc) ===== */
    .faq .acc-head { grid-template-columns: 1fr 46px; }
    .faq .acc-n { display: none; }
    .faq .acc-title { font-size: clamp(1.2rem, 2.6vw, 1.9rem); }
    .faq .acc-pad { padding-left: 0; }
    .faq .acc-lead { max-width: 80ch; }

    /* ===== MOBILE CORNER NAV ===== */
    .mnav { display: none; }
    @media (prefers-reduced-motion: reduce) { .mnav-ind { transition: none; } }

    /* ===== responsive ===== */
    @media (max-width: 960px) {
      .flagship, .form-grid, .helm { grid-template-columns: 1fr; }
      .fs-demo { border-left: none; border-top: 1px solid var(--line-on-ink); }
      .helm-visual { order: -1; }
      .seg-grid { grid-template-columns: 1fr; }
      .seg-chips { flex-direction: row; flex-wrap: wrap; }
      .seg-chip { flex: 1 1 44%; }
      .case { grid-template-columns: 1fr; gap: 16px; }
      .acc-grid { grid-template-columns: 1fr; gap: 28px; }
      .acc-pad { padding-left: clamp(6px, 1.5vw, 20px); }
      .trust-row { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
      .flow-steps { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
      .flow-line { display: none; }
      .nav-links { display: none; }
      .nav-cta { display: none; }
      .burger { display: none; }
      .mnav { display: flex; align-items: stretch; gap: 0; position: fixed; left: 10px; right: 10px; max-width: calc(100vw - 20px); box-sizing: border-box; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 5px; z-index: 95; border-radius: 999px; background: color-mix(in oklch, var(--paper) 68%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); border: 1px solid color-mix(in oklch, var(--ink) 12%, transparent); box-shadow: 0 12px 34px oklch(0.35 0.02 250 / .22); touch-action: manipulation; }
      .mnav-ind { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; transform: translateX(5px); border-radius: 999px; background: var(--acid); box-shadow: 0 4px 14px oklch(0.62 0.1 78 / .35); z-index: 0; pointer-events: none; will-change: transform, width; }
      .mnav a { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; font-family: var(--grotesk); font-weight: 700; font-size: .8rem; letter-spacing: -0.01em; line-height: 1; padding: 12px 4px; border-radius: 999px; color: var(--ink); background: transparent; border: none; overflow: hidden; text-overflow: ellipsis; transition: color .28s; }
      .mnav a.active { color: var(--on-acid); }
      .idx-row .idx:nth-child(2) { display: none; }
    }
    @media (max-width: 620px) {
      body { font-size: 16px; }
      section { padding: 66px 0; }
      .wrap { padding: 0 20px; }
      .hero { padding-bottom: 92px; }
      footer { padding-bottom: 104px; }
      .seg-cols { grid-template-columns: 1fr; gap: var(--s3); }
      .acc-head { grid-template-columns: 38px 1fr 40px; gap: 12px; padding: 22px 2px; }
      .acc-title { font-size: clamp(1.35rem, 6.5vw, 1.9rem); }
      .acc-feats { grid-template-columns: 1fr; }
      .acc-plus { width: 40px; height: 40px; }
      .hero-bottom { flex-direction: column; align-items: flex-start; gap: 22px; }
      .hero-actions { align-items: flex-start; }
      .hero-actions .scrollhint { display: none; }
      .idx-row { flex-wrap: wrap; gap: 8px; }
      /* bigger, bolder mobile type (wembi rhythm) */
      .sec-head { margin-bottom: 30px; }
      .sec-head h2, .statement { font-size: clamp(2.4rem, 9.2vw, 3.2rem); line-height: 1.02; }
      .flip { padding: 96px 0; }
      .flip .statement { font-size: clamp(2.9rem, 13.5vw, 4.6rem); }
      .hero-statement { font-size: clamp(2rem, 7.8vw, 3rem); max-width: 100%; }
      .lead-lg, .hero-sub, .acc-lead { font-size: 1.08rem; }
      .trust-item b { font-size: clamp(2.8rem, 13vw, 3.6rem); }
      .cst b { font-size: clamp(2.2rem, 9vw, 3rem); }
      .form-grid h2 { font-size: clamp(2.2rem, 8.5vw, 3rem); }

      /* block N°004 — timeline as clean vertical list */
      .flow-steps { grid-template-columns: 1fr; gap: 0; }
      .fstep { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
      .fstep:first-child { border-top: none; padding-top: 4px; }
      .fstep .dot { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 54px; height: 54px; font-size: 1.15rem; }
      .fstep h4 { grid-column: 2; grid-row: 1; margin: 4px 0 8px; }
      .fstep p { grid-column: 2; grid-row: 2; }

      /* block N°005 — niches: uniform full-width pills */
      .seg-chips { flex-direction: column; }
      .seg-chip { flex: none; width: 100%; padding: 15px 18px; }

      /* block N°007 — helm: let chat text wrap, tighten */
      .helm-copy, .helm-visual { padding: 30px 22px; }
      .helm-copy .statement { font-size: clamp(2rem, 8.5vw, 2.7rem); }
      .helm-row { align-items: flex-start; }
      .helm-row .rt span { white-space: normal; overflow: visible; text-overflow: clip; }
      .helm-row .badge { align-self: center; }
    }
    @media (max-width: 380px) {
      .hero-word { font-size: 21vw; }
      .wrap { padding: 0 16px; }
    }
  
    /* Жирное — заголовочным шрифтом: Unbounded держит кириллицу и даёт
       фирменный характер там, где текст выделен. */
    b, strong, .statement, h1, h2, h3, h4 { font-family: var(--display); }
      /* ===== ДОВОДКА ПОД ТЕЛЕФОН ===== */
    @media (max-width: 620px) {
      /* Заголовочный шрифт шире прежнего — уменьшаем кегль и подтягиваем
         межстрочный, иначе крупные фразы разъезжаются на 4-5 строк. */
      .sec-head h2, .statement { font-size: clamp(1.85rem, 7.4vw, 2.5rem); line-height: 1.08;
        letter-spacing: -0.022em; max-width: 16ch; }
      .hero-statement { font-size: clamp(1.7rem, 6.8vw, 2.3rem); line-height: 1.12; }
      .hero-word { font-size: 19.5vw; letter-spacing: -0.035em; }
      h3, .acc-title { letter-spacing: -0.015em; }

      /* Выделенные слова больше не запрещаем переносить: на узком экране
         неразрывный кусок выталкивал строку за край. */
      .hero-statement .mk, .statement .mk, .form-grid h2 .mk, .nbq { white-space: normal; }

      /* Длинные слова, почты и ссылки переносим, а не режем по краю. */
      p, li, .acc-lead, .lead, footer, .fld { overflow-wrap: anywhere; }

      /* iOS зумит страницу при фокусе в поле меньше 16px — фиксируем 16px. */
      input, textarea, select, .fld input, .fld select { font-size: 16px; }

      /* Пальцем нужно попадать: минимальная высота целей нажатия. */
      .btn, .nav-cta, button, .acc-head, .seg-chip { min-height: 46px; }

      /* Ритм: одинаковые вертикальные интервалы между секциями. */
      section { padding: 58px 0; }
      .sec-head { margin-bottom: 26px; }
    }

    @media (max-width: 400px) {
      .sec-head h2, .statement { font-size: 7.2vw; max-width: 15ch; }
      .hero-word { font-size: 18.5vw; }
      .wrap { padding: 0 16px; }
      section { padding: 50px 0; }
    }

      /* ===== ПАНЕЛЬ И ЯЗЫК НА ТЕЛЕФОНЕ ===== */
    @media (max-width: 620px) {
      /* Никакого размытия НИГДЕ: на iOS оно рисуется прямоугольником поверх
         страницы и даёт светлую полосу с резкой границей. */
      .mnav, .nav-pill, .burger, .nav {
        -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
      }
      .mnav { background: var(--paper); box-shadow: 0 8px 26px oklch(0.35 0.02 250 / .18);
        /* жест целиком наш: браузер не должен перехватывать движение
           пальца под прокрутку, иначе перетаскивание обрывается */
        touch-action: none; }
      .nav-pill { background: var(--paper); }
      /* Плавность вынесена в блок ниже — она нужна на всех экранах,
         где видна панель, а не только на узких. */
      /* Переключатель языка в подвале: на телефоне это единственное место,
         где до него можно дотянуться. */
      .foot-lang { display: flex; justify-content: center; margin: 18px 0 4px; }
      .foot-lang .lang-sw { gap: 6px; }
      .foot-lang .lang-sw a { font-size: .8rem; padding: 10px 14px; border: 1.5px solid
        color-mix(in oklch, currentColor 30%, transparent); border-radius: 999px; min-height: 42px;
        display: inline-flex; align-items: center; }
    }
    .foot-lang { display: flex; justify-content: center; margin: 16px 0 0; }

      /* ===== ПЛАВНОСТЬ ТАБЛЕТКИ (везде, где видна панель) ===== */
    @media (max-width: 960px) {
      .mnav-ind { transition: transform .26s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
      /* Пока палец ведёт — без анимации, чтобы шла точно за пальцем.
         Управляем классом, а не inline-стилем: класс снимается сам в любом
         сценарии выхода из жеста и не может «залипнуть». */
      .mnav.dragging .mnav-ind { transition: none; }
    }

.lang-sw { display: inline-flex; align-items: center; gap: 2px; margin-right: 10px; }
    .lang-sw a { font-family: ui-monospace, 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 6px 7px; border-radius: 8px; color: var(--muted); text-decoration: none; line-height: 1; transition: color .15s, background .15s; }
    .lang-sw a:hover { color: var(--ink); background: color-mix(in oklch, var(--ink) 7%, transparent); }
    .lang-sw a.on { color: var(--ink); background: color-mix(in oklch, var(--ink) 10%, transparent); }
    /* В мобильном меню свои размеры: .mmenu a задаёт огромный кегль и подчёркивание. */
    .mmenu .lang-sw { margin: 20px 0 0; gap: 8px; }
    .mmenu .lang-sw a { font-family: var(--display); font-size: 1.05rem; padding: 9px 16px; border: 1.5px solid oklch(0.21 0.02 60 / .3); border-radius: 999px; color: var(--on-acid); background: none; }
    .mmenu .lang-sw a.on { background: var(--on-acid); color: var(--acid); }
    /* На странице политики шапка — flex со space-between. */
    header.top .lang-sw { margin-left: auto; margin-right: 14px; }

    /* Ссылка на подробную страницу услуги. Вторичная таблетка: форма и размер
       как у жёлтой кнопки рядом, но контуром — главное действие остаётся одно.
       align-self обязателен: во флекс-колонке inline-flex стал бы во всю ширину. */
    .acc-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px;
      font-family: var(--grotesk); font-weight: 700; font-size: .98rem;
      color: var(--ink); background: transparent;
      border: 1.5px solid var(--line-strong); padding: 12px 23px; border-radius: 999px;
      transition: border-color .18s var(--ease), color .18s var(--ease); }
    .acc-more:hover { border-color: var(--ink); }
    .acc-more svg { width: 17px; height: 17px; transition: transform .18s var(--ease); }
    .acc-more:hover svg { transform: translateX(3px); }

    /* ===== СТРАНИЦЫ УСЛУГ =====
       То, чего нет на главной: подстраничная шапка без бургер-меню, хлебные
       крошки, карточки, вопросы-ответы. На главной эти классы не встречаются,
       поэтому её вид от них не меняется. */
    .subnav { position: sticky; top: 0; z-index: 40; background: color-mix(in oklch, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
    .subnav .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
    .subnav .brand { font-family: var(--display); font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
    .subnav nav { display: none; gap: 22px; margin-left: 12px; }
    @media (min-width: 900px) { .subnav nav { display: flex; } }
    .subnav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
    .subnav nav a:hover { color: var(--ink); }
    .subnav .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

    .crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--faint); margin-bottom: 26px; }
    .crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
    .crumbs a:hover { color: var(--teal-deep); }

    .lead-xl { font-size: clamp(1.06rem, 1.9vw, 1.45rem); font-weight: 500; color: var(--ink-2); line-height: 1.45; max-width: 56ch; margin: 26px 0 0; }
    .page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

    .cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
    @media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 1050px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
    .card-b { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); }
    .card-b h3 { font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.15rem, 1.9vw, 1.45rem); letter-spacing: -.02em; margin: 0 0 10px; }
    .card-b p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }

    .two-col { display: grid; gap: 14px; grid-template-columns: 1fr; }
    @media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }
    .col-bad, .col-good { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); }
    .col-bad { background: var(--paper); border: 1px solid var(--line); }
    .col-good { background: var(--ink); color: var(--on-ink); }
    .col-good h3 { color: var(--on-ink); }
    .col-good p { color: var(--on-ink-muted); }
    .col-bad h3, .col-good h3 { font-family: var(--grotesk); font-weight: 800; font-size: 1.2rem; margin: 0 0 12px; letter-spacing: -.02em; }
    .col-bad p, .col-good p { margin: 0; line-height: 1.5; }

    .facts { display: grid; gap: 26px 40px; grid-template-columns: 1fr; margin-top: 8px; }
    @media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
    .fact b { display: block; font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.2rem, 2.1vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 10px; }
    .fact p { margin: 0; color: var(--ink-2); line-height: 1.5; }

    .qa { border-top: 1px solid var(--line-strong); }
    .qa details { border-bottom: 1px solid var(--line-strong); }
    .qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(20px, 2.4vw, 28px) 0; font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.05rem, 1.8vw, 1.35rem); letter-spacing: -.02em; color: var(--ink); }
    .qa summary::-webkit-details-marker { display: none; }
    .qa summary::after { content: '+'; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--faint); line-height: 1; }
    .qa details[open] summary::after { content: '−'; color: var(--teal-deep); }
    .qa .a { padding: 0 0 clamp(20px, 2.4vw, 28px); max-width: 68ch; color: var(--ink-2); line-height: 1.55; }
    .qa .a p { margin: 0 0 12px; }
    .qa .a p:last-child { margin: 0; }

    .final { background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl); padding: clamp(30px, 5vw, 66px); }
    .final .statement { color: var(--on-ink); max-width: 22ch; }
    .final p { color: var(--on-ink-muted); font-size: 1.06rem; max-width: 52ch; margin: 22px 0 30px; line-height: 1.5; }

    .subfoot { border-top: 1px solid var(--line); padding: 30px 0 70px; color: var(--faint); font-size: .92rem; }
    .subfoot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
    .subfoot a { color: var(--muted); text-decoration: none; font-weight: 600; }
    .subfoot a:hover { color: var(--teal-deep); }

    /* Узкие телефоны: в шапке страницы услуг не помещаются переключатель языков
       и кнопка. Разрешаем шапке переноситься на две строки — так ничего
       не обрезается и кнопка остаётся доступной. */
    @media (max-width: 460px) {
      .subnav .wrap { flex-wrap: wrap; row-gap: 10px; }
      .subnav .right { width: 100%; margin-left: 0; justify-content: space-between; flex-wrap: wrap; }
      .subnav .btn { padding: 10px 15px; font-size: .86rem; }
    }

    /* Заставка: подпись под логотипом — элемент флекса, а он по умолчанию
       не сжимается уже своего содержимого. На длинных переводах это выносило
       её за экран. */
    .pl-in { max-width: min(92vw, 560px); min-width: 0; }
    .pl-tag { max-width: 100%; min-width: 0; text-align: center; }

    /* Откуда взяты цифры. Строка короткая, но именно она отличает факт
       от обещания — и для человека, и для ИИ-ответов. */
    .case-note { margin-top: 20px; font-size: .88rem; color: var(--faint); }

    /* ===== СТАТЬИ =====
       Проза: ограничиваем строку по числу знаков, а не по пикселям —
       длинную строку глаз теряет при возврате на следующую. */
    .article { max-width: 74ch; }
    .article h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.7vw, 2.15rem); letter-spacing: -.02em; line-height: 1.15; margin: clamp(40px, 5vw, 60px) 0 14px; }
    .article h3 { font-family: var(--grotesk); font-weight: 800; font-size: 1.16rem; letter-spacing: -.01em; margin: 30px 0 10px; }
    .article p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.62; }
    .article ul, .article ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); line-height: 1.62; }
    .article li { margin-bottom: 8px; }
    .article a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
    /* Прямой ответ на вопрос заголовка — крупнее остального текста: именно его
       вытаскивают поисковики и ИИ-ответы. */
    .article .answer { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
    .a-wrap { overflow-x: auto; margin: 0 0 20px; }
    .a-table { width: 100%; border-collapse: collapse; min-width: 460px; }
    .a-table th, .a-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
    .a-table th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 400; }
    .a-table td { color: var(--ink-2); font-size: .98rem; }
    .a-table tr td:first-child { color: var(--ink); font-weight: 600; }

    /* Список статей */
    .posts { display: grid; gap: 14px; margin-top: var(--s4); }
    .post { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); text-decoration: none; transition: border-color .18s var(--ease); }
    .post:hover { border-color: var(--ink); }
    .post h3 { font-family: var(--grotesk); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.02em; margin: 0 0 8px; color: var(--ink); }
    .post p { margin: 0; color: var(--ink-2); line-height: 1.5; }
