
  /* Self-hosted variable fonts — Inter + Golos Text, subsets: cyrillic, cyrillic-ext, latin, latin-ext */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('assets/fonts/inter-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('assets/fonts/inter-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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-display: swap;
    font-weight: 100 900;
    src: url('assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
    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: 'Golos Text';
    font-style: normal;
    font-display: swap;
    font-weight: 400 900;
    src: url('assets/fonts/golos-text-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  @font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-display: swap;
    font-weight: 400 900;
    src: url('assets/fonts/golos-text-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  @font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-display: swap;
    font-weight: 400 900;
    src: url('assets/fonts/golos-text-latin-ext-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Golos Text';
    font-style: normal;
    font-display: swap;
    font-weight: 400 900;
    src: url('assets/fonts/golos-text-latin-wght-normal.woff2') format('woff2-variations');
    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 {
    --ink:      #0f1e2e;
    --ink-2:    #1a1a1a;
    --muted:    #6b6f75;
    --hairline: #e5e2db;
    --bg:       #ffffff;
    --bg-warm:  #f6f5f1;
    --accent:   #1e5d4c;
    --accent-2: #b8925a;
    --pad:      clamp(56px, 7vw, 112px);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Golos Text', 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
  }

  /* ---------- Header ---------- */
  .nav {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 18px clamp(20px, 5vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
  }
  .nav-mark {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-decoration: none;
  }
  .nav-links {
    display: flex;
    gap: clamp(16px, 3vw, 40px);
    list-style: none;
    margin: 0; padding: 0;
  }
  .nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .nav-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
  .nav-toggle { display: none; }
  @media (max-width: 780px) {
    .nav { flex-wrap: wrap; }
    .nav-links {
      display: none;
      order: 3;
      width: 100%;
      flex-direction: column;
      gap: 14px;
      padding: 16px 0 6px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle {
      display: block;
      background: transparent;
      border: 0;
      font-size: 22px;
      line-height: 1;
      color: var(--ink);
      cursor: pointer;
      min-width: 44px;
      min-height: 44px;
      padding: 10px 14px;
      -webkit-tap-highlight-color: transparent;
    }
  }

  /* ---------- Layout primitives ---------- */
  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
  section { padding: var(--pad) 0; }
  .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 18px;
  }
  .h-section {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
  }
  .lede {
    color: var(--muted);
    font-size: 17px;
    max-width: 62ch;
    margin: 0 0 48px;
  }

  /* ---------- Hero ---------- */
  .hero {
    background: var(--bg);
    padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
    position: relative;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
  }
  .hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 5.4vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.028em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 24px;
  }
  .hero-sub {
    font-family: 'Golos Text', sans-serif;
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 54ch;
    margin: 0 0 40px;
  }
  .hero-cta {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    letter-spacing: 0.02em;
  }
  .hero-cta:hover { color: var(--ink); border-color: var(--ink); }
  .hero-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-warm);
    border-radius: 2px;
  }
  .hero-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.15) contrast(1.05);
  }
  @media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-photo { aspect-ratio: 4 / 3; order: -1; }
  }

  /* ---------- Numbers strip ---------- */
  .numbers {
    background: var(--bg-warm);
    padding: 40px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }
  .numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .number-item .n {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
  }
  .number-item .n span { color: var(--accent); }
  .number-item .t {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
  }
  @media (max-width: 780px) {
    .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  }

  /* ---------- Capability ---------- */
  .cap-list { border-top: 1px solid var(--hairline); }
  .cap-item {
    display: grid;
    grid-template-columns: 80px 1.2fr 2fr;
    gap: clamp(20px, 4vw, 60px);
    padding: clamp(28px, 3vw, 44px) 0;
    border-bottom: 1px solid var(--hairline);
    align-items: baseline;
  }
  .cap-num {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .cap-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    line-height: 1.25;
  }
  .cap-body {
    font-size: 16.5px;
    color: var(--ink-2);
    line-height: 1.6;
    margin: 0;
    max-width: 68ch;
  }
  .cap-meta {
    display: block;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  @media (max-width: 780px) {
    .cap-item {
      grid-template-columns: 48px 1fr;
      gap: 4px 16px;
      padding: 26px 0;
      align-items: start;
    }
    .cap-num {
      grid-column: 1;
      grid-row: 1 / span 2;
      padding-top: 2px;
      font-size: 22px;
    }
    .cap-title { grid-column: 2; grid-row: 1; }
    .cap-item > div:last-child { grid-column: 2; grid-row: 2; }
  }

  /* ---------- Process ---------- */
  .process { background: var(--bg-warm); }
  .proc-item {
    display: grid;
    grid-template-columns: 100px 1fr 2fr;
    gap: clamp(20px, 4vw, 60px);
    padding: 32px 0;
    border-bottom: 1px solid var(--hairline);
    align-items: start;
  }
  .proc-item:last-child { border-bottom: 0; }
  .proc-num {
    font-family: 'Inter', sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .proc-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
  }
  .proc-time {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
  }
  .proc-body {
    font-size: 16.5px;
    color: var(--ink-2);
    line-height: 1.6;
    margin: 0;
    max-width: 62ch;
  }
  @media (max-width: 780px) {
    .proc-item {
      grid-template-columns: 56px 1fr;
      gap: 6px 16px;
      padding: 26px 0;
      align-items: start;
    }
    .proc-num {
      grid-column: 1;
      grid-row: 1 / span 2;
      font-size: 40px;
    }
    .proc-item > div:nth-child(2) { grid-column: 2; grid-row: 1; }
    .proc-body { grid-column: 2; grid-row: 2; margin-top: 10px; }
  }

  /* ---------- Cases ---------- */
  .case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
  .case-tile {
    padding: 32px 28px;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    background: var(--bg);
    transition: border-color 0.2s ease;
  }
  .case-tile:hover { border-color: var(--accent); }
  .case-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .case-tile h3 {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 12px;
    line-height: 1.3;
  }
  .case-tile p { margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }

  /* ---------- Tools ---------- */
  .subsection-head {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 48px 0 24px;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
  }
  .subsection-head:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px 32px;
  }
  .tool { text-decoration: none; color: inherit; display: block; }
  .tool .thumb {
    aspect-ratio: 16 / 10;
    background: var(--bg-warm);
    border: 1px solid var(--hairline);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
  }
  .tool .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }
  .tool:hover .thumb { border-color: var(--accent); }
  .tool:hover .thumb img { transform: scale(1.04); }
  .tool h4 {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 6px;
    letter-spacing: -0.005em;
  }
  .tool p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
  }
  .tool:hover h4 { color: var(--accent); }
  .stack-note {
    margin: 32px 0 0;
    font-size: 14px;
    color: var(--muted);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
  }

  /* ---------- About ---------- */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
  }
  .about-portrait {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 2px;
    background: var(--bg-warm);
  }
  .about-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .about-body p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    margin: 0 0 16px;
    max-width: 62ch;
  }
  .about-body p:last-child { margin-bottom: 0; }
  .about-body .kv {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 8px 24px;
    margin-top: 32px;
    font-size: 15px;
  }
  .about-body .kv dt {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    padding-top: 4px;
  }
  .about-body .kv dd { margin: 0; color: var(--ink-2); }

  /* Badges (стек технологий) */
  .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
  }
  .badge {
    display: inline-block;
    padding: 4px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    background: var(--bg-warm);
    border: 1px solid var(--hairline);
    border-radius: 2px;
    letter-spacing: 0.02em;
    line-height: 1.4;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .badge:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
  }
  @media (max-width: 780px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-body .kv { grid-template-columns: 1fr; gap: 4px 0; }
    .about-body .kv dt { margin-top: 12px; }
  }

  /* ---------- Recognition ---------- */
  .recognition {
    background: var(--bg-warm);
    padding: 48px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }
  .rec-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 24px;
    font-family: 'Inter', sans-serif;
  }
  .rec-line .label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .rec-line .body {
    font-size: 15px;
    color: var(--ink);
    flex: 1;
    min-width: 260px;
  }
  .rec-line .body b { color: var(--accent-2); font-weight: 600; }
  .rec-line a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    font-weight: 500;
  }
  .rec-line a:hover { border-bottom-color: var(--accent); }

  /* ---------- Contact ---------- */
  .contact {
    padding: var(--pad) 0;
    background: var(--ink);
    color: #d0d5db;
  }
  .contact .eyebrow { color: #94a9a3; }
  .contact .h-section { color: #ffffff; }
  .contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
  }
  .contact-body {
    font-size: 17px;
    color: #c8ccd1;
    max-width: 52ch;
    margin: 0 0 32px;
    line-height: 1.6;
  }
  .contact-line {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #d0d5db;
    margin: 8px 0;
    letter-spacing: 0.01em;
  }
  .contact-line a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 1px;
    transition: border-color 0.2s ease;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .contact-line a:hover { border-color: #ffffff; }
  .contact-side {
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #9ca3ab;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 2;
  }
  @media (max-width: 780px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-side { text-align: left; }
  }

  /* ---------- Footer ---------- */
  .footer {
    background: var(--ink);
    color: #7f868e;
    padding: 24px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    align-items: center;
  }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a {
    color: #a5adb6;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .footer-links a:hover { color: #ffffff; }
  @media (max-width: 780px) {
    .footer-row { flex-direction: column; align-items: flex-start; }
  }

  /* ---------- iPhone / узкие телефоны ---------- */
  @media (max-width: 480px) {
    body { font-size: 16px; }
    .nav-mark { font-size: 13px; letter-spacing: 0.05em; }

    /* Hero */
    .hero { padding: 40px 0 32px; }
    .hero h1 {
      font-size: 30px;
      letter-spacing: -0.018em;
      line-height: 1.08;
    }
    .hero-sub { font-size: 16.5px; margin-bottom: 28px; }
    .hero-photo { aspect-ratio: 4 / 5; }
    .hero-cta { padding: 8px 0; }

    /* Numbers strip */
    .numbers { padding: 32px 0; }
    .number-item .n { font-size: 30px; }
    .number-item .t { font-size: 11.5px; }

    /* Capability — тонкая колонка с номером + всё остальное справа */
    section { padding: clamp(48px, 8vw, 96px) 0; }
    .h-section { font-size: 26px; line-height: 1.18; letter-spacing: -0.01em; }
    .h-section br { display: none; }
    .lede { font-size: 16px; margin-bottom: 32px; }
    .cap-item {
      grid-template-columns: 40px 1fr;
      gap: 2px 14px;
      padding: 22px 0;
    }
    .cap-num { font-size: 18px; padding-top: 4px; }
    .cap-title { font-size: 18px; line-height: 1.3; }
    .cap-title br { display: none; }
    .cap-body { font-size: 15px; line-height: 1.55; }
    .cap-meta { margin-top: 10px; font-size: 10.5px; letter-spacing: 0.12em; }

    /* Process — та же схема: узкая колонка с цифрой + текст справа */
    .proc-item {
      grid-template-columns: 44px 1fr;
      gap: 2px 14px;
      padding: 22px 0;
    }
    .proc-num { font-size: 30px; letter-spacing: -0.03em; }
    .proc-title { font-size: 17px; }
    .proc-time { font-size: 11px; }
    .proc-body { font-size: 15px; margin-top: 8px; line-height: 1.55; }

    /* Cases — 1 колонка */
    .case-grid { grid-template-columns: 1fr; gap: 16px; }
    .case-tile { padding: 22px 20px; }
    .case-tile h3 { font-size: 17px; }
    .case-tile p { font-size: 14.5px; }

    /* Tools — 1 колонка, крупные тапы по карточке */
    .tools-grid { grid-template-columns: 1fr; gap: 32px 0; }
    .tool h4 { font-size: 16px; }
    .tool p { font-size: 13.5px; }
    .subsection-head { font-size: 12px; margin: 36px 0 20px; padding-top: 24px; }

    /* About — портрет маленький, kv-таблица одна колонка */
    .about-portrait { max-width: 220px; }
    .about-body p { font-size: 15.5px; }
    .about-body .kv { font-size: 14.5px; }

    /* Recognition */
    .rec-line { font-size: 13px; }
    .rec-line .label { display: block; width: 100%; margin-bottom: 4px; }
    .rec-line .body { font-size: 14px; }

    /* Contact */
    .contact { padding: 56px 0; }
    .contact-body { font-size: 15.5px; margin-bottom: 24px; }
    .contact-line { font-size: 14.5px; }
    .contact-line a {
      display: inline-block;
      padding: 6px 0;
      min-height: 24px;
    }
    .contact-side { margin-top: 32px; font-size: 12px; }

    /* Footer — ссылки столбиком, разнести по 44px */
    .footer { padding: 24px 0 40px; }
    .footer-row { gap: 20px; }
    .footer-links {
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
      width: 100%;
    }
    .footer-links a {
      padding: 12px 0;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }
  }

  /* ---------- iPhone landscape (низкие экраны ≤560px высотой) ---------- */
  @media (max-height: 560px) and (orientation: landscape) {
    .hero-photo { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .numbers { padding: 24px 0; }
    .number-item .n { font-size: 24px; }
  }

/* ===================================================================
   ДОБАВИТЬ в конец блока стилей страницы (STYLE), перед его закрывающим тегом
   Ни один текущий селектор не переопределяется: всё новое живёт внутри
   .contact, поэтому на остальные секции влияния нет.
   Переменные --ink/--accent/--hairline уже объявлены в :root страницы.
==================================================================== */

/* --- раскладка секции: форма шире, чем сейчас ---
   ВАЖНО: только для ширины > 780px. На странице уже есть правило
   @media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr } }
   с МЕНЬШЕЙ специфичностью, чем .contact .contact-grid — если не ограничить
   min-width, на телефоне сетка осталась бы двухколоночной. */
@media (min-width: 781px) {
  .contact .contact-grid { grid-template-columns: 1.55fr 1fr; }
}

/* --- форма --- */
.contact .lead-form {
  margin: 8px 0 40px;
  padding: 28px clamp(20px, 3vw, 32px);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
}
.contact .lead-form-grid { display: grid; gap: 18px; }
@media (min-width: 720px) {
  .contact .lead-form-grid { grid-template-columns: 1fr 1fr; }
}
.contact .field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.contact .field-wide { grid-column: 1 / -1; }
.contact fieldset.field { border: 0; margin: 0; padding: 0; }
.contact .field label,
.contact .field legend {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: #94a9a3; padding: 0;
}
.contact .field .req { color: var(--accent-2); }

.contact .field input[type="text"],
.contact .field textarea {
  font-family: 'Golos Text', 'Inter', sans-serif;
  font-size: 16px; line-height: 1.5; color: #ffffff;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2px; padding: 12px 14px;
  transition: border-color .18s ease, background .18s ease;
  width: 100%;
}
.contact .field textarea { resize: vertical; min-height: 108px; }
.contact .field input::placeholder,
.contact .field textarea::placeholder { color: #94a9a3; }
.contact .field input:focus,
.contact .field textarea:focus {
  /* акцент + белый оверлей: тот же --accent, читаемый на тёмном фоне */
  outline: none; border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 1px rgba(255,255,255,.28);
  background: rgba(0,0,0,.34);
}
.contact .field input:focus-visible,
.contact .field textarea:focus-visible,
.contact .chip input:focus-visible + span,
.contact .check input:focus-visible + span { outline: 2px solid rgba(30,93,76,.9); outline-offset: 3px; }

/* --- выбор задачи: чипы на radio --- */
.contact .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.contact .chip { cursor: pointer; }
.contact .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.contact .chip span {
  display: inline-block;
  font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 500;
  color: #c8ccd1; padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  transition: all .18s ease;
}
.contact .chip:hover span { border-color: rgba(255,255,255,.45); color: #fff; }
.contact .chip input:checked + span {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

/* --- согласие и служебные тексты --- */
.contact .check { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.contact .check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); flex: 0 0 auto; }
.contact .check span {
  font-size: 13.5px; line-height: 1.5; color: #9ca3ab; text-transform: none;
  letter-spacing: 0; font-weight: 400; font-family: 'Golos Text', 'Inter', sans-serif;
}
.contact .check a { color: #d0d5db; border-bottom: 1px solid rgba(255,255,255,.3); text-decoration: none; }
.contact .check a:hover { color: #fff; border-color: #fff; }
.contact .hint, .contact .form-note {
  margin: 0; font-size: 12.5px; line-height: 1.5; color: #9ca3ab;
}
.contact .err {
  margin: 10px 0 0; font-size: 13.5px; color: var(--accent-2);
}

/* --- кнопка --- */
.contact .lead-form-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact .btn-primary {
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--accent);
  border: 1px solid var(--accent); border-radius: 2px;
  padding: 14px 30px; cursor: pointer;
  transition: background .18s ease, transform .1s ease;
}
.contact .btn-primary:hover { background: var(--accent); box-shadow: inset 0 0 40px rgba(0,0,0,.28); }
.contact .btn-primary:active { transform: translateY(1px); }
.contact .btn-primary[disabled] { opacity: .55; cursor: progress; }

/* --- состояние «отправлено» --- */
.contact .form-done {
  padding: 22px 24px; border: 1px solid var(--accent); border-radius: 4px;
  background: rgba(30,93,76,.16);
}
.contact .form-done-title {
  margin: 0 0 6px; font-family: 'Inter', sans-serif; font-size: 17px;
  font-weight: 600; color: #fff;
}
.contact .form-done-body { margin: 0; font-size: 15px; color: #c8ccd1; }

/* --- прямые каналы под формой --- */
.contact .contact-channels { margin-top: 4px; }
.contact .btn-ghost {
  display: inline-block; margin-bottom: 22px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.35); border-radius: 2px;
  padding: 11px 22px; transition: all .18s ease;
}
.contact .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }

/* --- боковая колонка: ссылки --- */
.contact .contact-side a {
  color: #9ca3ab; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 1px;
}
.contact .contact-side a:hover { color: #fff; border-color: #fff; }

/* --- состояние «письмо сформировано» (mailto-вариант) --- */
.contact .form-done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.contact .form-done .btn-ghost { margin-bottom: 0; }
.contact .form-raw {
  margin: 20px 0 0; padding: 16px 18px;
  font-family: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.55; color: #c8ccd1;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px; white-space: pre-wrap; overflow-wrap: anywhere;
  max-height: 300px; overflow-y: auto;
}

/* --- мобильная перестройка (поверх существующих @media) --- */
@media (max-width: 780px) {
  .contact .contact-grid { grid-template-columns: 1fr; }
  .contact .contact-side { text-align: left; margin-top: 40px; }
  .contact .lead-form { padding: 20px 16px; }
  .contact .btn-primary { width: 100%; }
  .contact .form-done-actions { flex-direction: column; }
  .contact .form-done .btn-ghost { width: 100%; text-align: center; }
  /* чипы задач на узком экране — строками во всю ширину,
     иначе «модель для банка / инвесткома» рвётся на три строки */
  .contact .chip { display: block; width: 100%; }
  .contact .chip span { display: block; text-align: center; }
}

/* ===================================================================
   JS: счётчик символов, клиентская проверка, fetch + состояния.
   Кладём в конец страницы, перед закрывающим тегом body. Работает и без обработчика: при ошибке сети
   показываем ссылку на почту, заявка не теряется.
==================================================================== */

/* =================================================================
     РАЗВИЛКА АУДИТОРИЙ · стили новых посадочных и блока выбора.
     Ни один существующий селектор не переопределяется.
     ================================================================= */

  /* --- блок выбора пути на главной ---
     Ритм сайта: смысловые полосы идут на --bg-warm с hairline сверху и
     снизу (см. .recognition и .numbers). Без этого развилка сливалась с
     белым фоном hero и не читалась как отдельный блок. */
  #audience {
    background: var(--bg-warm);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: clamp(44px, 5vw, 72px) 0;
  }
  .aud-pick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: clamp(28px, 3vw, 40px);
  }
  .aud-note {
    margin: 22px 0 0;
    font-size: 14.5px; line-height: 1.55; color: var(--muted);
    max-width: 78ch;
  }
  .case-pending {
    margin: 20px 0 0; padding: 14px 18px;
    font-size: 14.5px; line-height: 1.55; color: var(--muted);
    background: var(--bg-warm);
    border-left: 3px solid var(--accent-2);
  }
  .aud-card {
    display: block;
    padding: clamp(22px, 2.4vw, 30px);
    border: 1px solid var(--hairline);
    border-radius: 4px;
    background: var(--bg);
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
  }
  .aud-card:hover { border-color: var(--accent); background: var(--bg); }
  .aud-card .k {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
  }
  .aud-card h3 {
    margin: 0 0 10px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 1.8vw, 21px); font-weight: 500;
    line-height: 1.25; color: var(--ink);
  }
  .aud-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
  .aud-card .go {
    display: inline-block; margin-top: 16px;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
    color: var(--accent); border-bottom: 1px solid var(--accent);
  }
  @media (max-width: 720px) { .aud-pick { grid-template-columns: 1fr; gap: 14px; } }

  /* --- посадочные: строки «вопрос → ответ» --- */
  .aud-rows { border-top: 1px solid var(--hairline); }
  .aud-row {
    display: grid;
    grid-template-columns: 1.05fr 2fr;
    gap: clamp(20px, 4vw, 56px);
    padding: clamp(24px, 2.6vw, 36px) 0;
    border-bottom: 1px solid var(--hairline);
    align-items: baseline;
  }
  .aud-row h3 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 1.9vw, 22px); font-weight: 500;
    line-height: 1.3; color: var(--ink);
  }
  .aud-row p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
  @media (max-width: 780px) {
    .aud-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  }

  /* --- нормативная база --- */
  .aud-norm { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
  .aud-norm li {
    padding: 18px 0 18px 30px;
    border-bottom: 1px solid var(--hairline);
    font-size: 16px; line-height: 1.6; color: var(--ink-2);
    position: relative;
  }
  .aud-norm li::before {
    content: "§";
    position: absolute; left: 0; top: 16px;
    font-family: 'Inter', sans-serif; color: var(--accent-2); font-size: 17px;
  }

  /* --- FAQ --- */
  .aud-faq { border-top: 1px solid var(--hairline); }
  .aud-faq details { border-bottom: 1px solid var(--hairline); }
  .aud-faq summary {
    cursor: pointer; list-style: none;
    padding: 22px 40px 22px 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(17px, 1.8vw, 20px); font-weight: 500; color: var(--ink);
    position: relative;
  }
  .aud-faq summary::-webkit-details-marker { display: none; }
  .aud-faq summary::after {
    content: "+";
    position: absolute; right: 6px; top: 20px;
    font-size: 22px; font-weight: 300; color: var(--accent);
  }
  .aud-faq details[open] summary::after { content: "−"; }
  .aud-faq .ans { padding: 0 0 24px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 78ch; }

  /* --- обратная связь внизу посадочной --- */
  .aud-cta {
    margin-top: clamp(36px, 4vw, 56px);
    padding: clamp(26px, 3vw, 40px);
    background: var(--bg-warm);
    border: 1px solid var(--hairline);
    border-radius: 4px;
    display: flex; flex-wrap: wrap; gap: 20px;
    align-items: center; justify-content: space-between;
  }
  .aud-cta .txt { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; margin: 0; }
  .aud-cta a.btn {
    display: inline-block; white-space: nowrap;
    font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
    color: #fff; background: var(--accent);
    border-radius: 3px; padding: 14px 28px; text-decoration: none;
    transition: background .18s ease;
  }
  .aud-cta a.btn:hover { background: var(--accent); box-shadow: inset 0 0 40px rgba(0,0,0,.28); }

  /* --- хлебная строка над hero на посадочных --- */
  .aud-back {
    display: inline-block; margin-bottom: 26px;
    font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 500;
    color: var(--muted); text-decoration: none;
    border-bottom: 1px solid var(--hairline); padding-bottom: 2px;
  }
  .aud-back:hover { color: var(--accent); border-color: var(--accent); }
