
        .legal { padding: 56px 0 80px; }
        .legal .container { max-width: 820px; }
        .legal__backlink {
            display: inline-block;
            font-family: Onest, Arial, sans-serif;
            font-size: var(--text-sm, 14px);
            color: var(--ink-4, #8a8a84);
            text-decoration: none;
            margin-bottom: 32px;
            letter-spacing: 0.02em;
        }
        .legal__backlink:hover { color: var(--ink, #1a1a18); }
        .legal h1 {
            font-family: Onest, Arial, sans-serif;
            font-size: var(--text-4xl, 34px);
            font-weight: 400;
            line-height: 1.15;
            letter-spacing: -0.01em;
            color: var(--ink, #1a1a18);
            margin-bottom: 8px;
            text-wrap: balance;
        }
        .legal__subtitle {
            font-family: Onest, Arial, sans-serif;
            font-style: italic;
            font-size: var(--text-xl, 20px);
            color: var(--ink-3, #55554f);
            margin-bottom: 8px;
        }
        .legal__meta {
            font-family: Onest, Arial, sans-serif;
            font-size: var(--text-sm, 14px);
            color: var(--ink-4, #8a8a84);
            margin-bottom: 48px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--hairline, #e3e1d9);
        }
        .legal p {
            font-family: Onest, Arial, sans-serif;
            font-size: var(--text-base, 16px);
            line-height: 1.6;
            color: var(--ink-3, #55554f);
            margin-bottom: 14px;
        }
        .edition-list { list-style: none; margin: 32px 0 0; padding: 0; }
        .edition-list li {
            border: 1px solid var(--hairline, #e3e1d9);
            border-radius: 6px;
            padding: 18px 22px;
            margin-bottom: 14px;
            font-family: Onest, Arial, sans-serif;
        }
        .edition-list a {
            font-size: var(--text-lg, 18px);
            color: var(--ink, #1a1a18);
            text-decoration: none;
            border-bottom: 1px solid var(--ink-4, #8a8a84);
        }
        .edition-list a:hover { border-bottom-color: var(--ink, #1a1a18); }
        .edition-list .period {
            display: block;
            margin-top: 6px;
            font-size: var(--text-sm, 14px);
            color: var(--ink-4, #8a8a84);
        }
        .edition-list li.current { background: var(--paper-2, #f5f4f0); }
    
/* ============================================================
   Егор и Роботы — "Quiet Machines"
   Design system foundations: color + type
   ============================================================

   Philosophy: tell a loud technology story in the quietest,
   most human visual language. Hand-drawn line on white paper.
   One accent color per composition. Air first, marks second.

   ============================================================ */

/* -------- Fonts (Option A, picked 2026-04-19) --------
   • Display / serif → Newsreader — modern editorial serif, warm,
     less XIX-century than a classical revival face.
   • Body / sans    → Public Sans — open, neutral, legible.
   • Hand accent    → Caveat — the margin-note voice.
*/
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=Public+Sans:wght@300..700&family=Caveat:wght@400..700&family=JetBrains+Mono:wght@400..600&display=swap');

:root {
  /* ---------- Color: the "95% black & white" world ---------- */

  /* Paper — never pure white. A breath of cream. */
  --paper:            #FAFAF7;
  --paper-deep:       #F2F1EB;   /* card wells, subtle separation */

  /* Ink — never pure black. A softer, more human black. */
  --ink:              #1A1A19;
  --ink-2:            #2E2E2B;   /* headings on paper */
  --ink-3:            #5B5B57;   /* body text */
  --ink-4:            #8C8C86;   /* captions, meta */
  --ink-5:            #C7C6C0;   /* hairlines, dividers */

  /* Accent — ONE per composition, used as a single drop.
     Chosen: Conifer — a deep, warm forest green, noble and quiet. */
  --conifer:          #3B5D4F;   /* the default accent */
  --conifer-ink:      #2F4B40;   /* for text on paper (AA) */
  --conifer-wash:     #DEE6E1;   /* rarely used; a single breath */

  /* Legacy aliases kept so existing markup that used terracotta
     still resolves to the new green without a rewrite. */
  --terracotta:       var(--conifer);
  --terracotta-ink:   var(--conifer-ink);
  --terracotta-wash:  var(--conifer-wash);

  /* Semantic (kept muted — no bright UI-kit reds/greens) */
  --fg-1:             var(--ink);
  --fg-2:             var(--ink-3);
  --fg-3:             var(--ink-4);
  --bg-1:             var(--paper);
  --bg-2:             var(--paper-deep);
  --hairline:         var(--ink-5);
  --accent:           var(--conifer);
  --accent-ink:       var(--conifer-ink);
  --accent-wash:      var(--conifer-wash);

  /* ---------- Type scale ---------- */

  --font-serif:       'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-sans:        'Public Sans', -apple-system, system-ui, 'Segoe UI', Helvetica, sans-serif;
  --font-hand:        'Caveat', 'Homemade Apple', cursive;
  --font-mono:        'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Fluid sizes — restrained, editorial.
     Slightly bumped up from the ultra-tight pass: headings stay quiet,
     but body text and section titles read comfortably on desktop. */
  --text-xs:          clamp(11px, 0.75rem, 12px);
  --text-sm:          clamp(13px, 0.88rem, 14px);
  --text-base:        clamp(16px, 1.05rem, 18px);
  --text-lg:          clamp(18px, 1.2rem, 21px);
  --text-xl:          clamp(20px, 1.35rem, 24px);
  --text-2xl:         clamp(22px, 1.55rem, 28px);
  --text-3xl:         clamp(26px, 1.85rem, 34px);
  --text-4xl:         clamp(30px, 2.2rem, 40px);
  --text-5xl:         clamp(34px, 2.6rem, 48px);
  --text-6xl:         clamp(40px, 3.2rem, 56px);

  --leading-tight:    1.05;
  --leading-snug:     1.2;
  --leading-normal:   1.45;
  --leading-loose:    1.7;

  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.08em;
  --tracking-caps:    0.14em;

  /* ---------- Air (the equal-partner element) ---------- */

  --space-1:          4px;
  --space-2:          8px;
  --space-3:          12px;
  --space-4:          16px;
  --space-5:          24px;
  --space-6:          32px;
  --space-7:          48px;
  --space-8:          64px;
  --space-9:          96px;
  --space-10:         128px;
  --space-11:         192px;   /* yes, really — "huge nothing" */

  /* ---------- Edges ---------- */
  /* Corners are near-square. This brand does not beg to be soft. */
  --radius-0:         0;
  --radius-1:         2px;
  --radius-2:         4px;
  --radius-pill:      999px;    /* only for the rare accent dot */

  --stroke-hair:      1px;
  --stroke-line:      1.5px;    /* the characteristic "ink" line */
  --stroke-bold:      2.5px;    /* headings-as-drawings */

  /* Shadows — almost none. A brand this quiet does not need them. */
  --shadow-0:         none;
  --shadow-1:         0 1px 0 rgba(26,26,25,0.06);
  --shadow-2:         0 8px 24px -16px rgba(26,26,25,0.18);

  /* ---------- Motion ---------- */
  --ease-paper:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-ink:          280ms;
  --dur-slow:         520ms;
}

/* ============================================================
   Semantic type roles
   Apply with class names or via elements below.
   ============================================================ */

.t-eyebrow {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-4);
}

.t-display {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-6xl);
  font-weight: 300;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  text-wrap: balance;
}

.t-h1 {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-5xl);
  font-weight: 300;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  text-wrap: balance;
}

.t-h2 {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  text-wrap: balance;
}

.t-h3 {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: var(--leading-snug);
  color: var(--ink-2);
}

.t-lead {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  line-height: var(--leading-normal);
  color: var(--ink-3);
  text-wrap: pretty;
}

.t-body {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-loose);
  color: var(--ink-3);
  text-wrap: pretty;
}

.t-small {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--ink-4);
}

.t-hand {
  font-family: Onest, Arial, sans-serif;
  font-weight: 500;
  color: var(--ink);
  /* A note in the margin of the page */
}

.t-mono {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-sm);
  color: var(--ink-3);
}

/* ============================================================
   Element defaults
   ============================================================ */

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 { @extend .t-h1; }   /* for reference only; use classes in practice */

::selection {
  background: var(--conifer);
  color: var(--paper);
}

/* A subtle paper texture — the brief allows "barely any grain". */
.paper-grain {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(26,26,25,0.025) 1px, transparent 1px),
    radial-gradient(rgba(26,26,25,0.015) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

/* ============================================================
   Егор и Роботы — Quiet Machines landing skin
   Styles the landing markup (hero/problem/solution/program/
   audience/results/author/final-cta/footer) in the quiet,
   editorial, hand-drawn register of the design system.

   This file expects `colors_and_type.css` to be loaded first.
   ============================================================ */

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Onest, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: var(--leading-normal);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

::selection { background: var(--terracotta); color: var(--paper); }

/* ---------------- Layout ---------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Sections are separated by 1.5px ink rules, not shadows. */
section {
  position: relative;
  padding: 64px 0;
  border-top: 1.5px solid var(--ink);
}
section:first-of-type { border-top: none; }

/* ---------------- Site header ---------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}
.site-header__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.site-header__brand img.site-header__blaster-logo {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.site-header__wordmark {
  font-family: Onest, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-header__note {
  font-family: Onest, Arial, sans-serif;
  font-size: 22px;
  color: var(--ink-3);
  display: none;
}
@media (min-width: 720px) { .site-header__note { display: inline; } }

.site-header__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: Onest, Arial, sans-serif; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid var(--ink); color: var(--ink);
  padding: 8px 14px; border-radius: 2px; background: var(--paper);
  text-decoration: none;
}
.site-header__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--terracotta);
}

/* ---------------- Typography primitives ---------------- */
.section-label {
  display: inline-block;
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 20px;
}

.section-title {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 18px;
  max-width: 28ch;
}

/* The old "gradient" emphasis becomes a quiet italic-serif accent.
   No gradient. No glow. Just a change of voice — и единственный
   цветной акцент страницы: хвойно-зелёный, тот же, что в рисунках. */
.gradient-text {
  background: none !important;
  -webkit-text-fill-color: var(--conifer-ink) !important;
  color: var(--conifer-ink) !important;
  font-style: italic;
  font-weight: 300;
  display: inline;
}

.section-subtitle {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  line-height: var(--leading-normal);
  color: var(--ink-3);
  max-width: 62ch;
  margin-bottom: 36px;
  text-wrap: pretty;
}

/* Section-subtitle in accent variant — крупнее и зелёным,
   для редких фраз-«вскриков», например «впишешь в резюме…». */
.section-subtitle--accent,
.section-subtitle.section-subtitle--accent {
  font-size: clamp(22px, 1.9rem, 30px);
  line-height: 1.25;
  color: var(--conifer-ink);
  font-weight: 400;
  margin-top: 8px;
  max-width: 30ch;
}
.section-subtitle--accent em { font-style: italic; font-weight: 300; }

.hand-note {
  font-family: Onest, Arial, sans-serif;
  font-size: 22px;
  color: var(--ink-3);
  display: inline-block;
}

/* ---------------- Buttons ---------------- */
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: Onest, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-ink) var(--ease-paper),
              color var(--dur-ink) var(--ease-paper);
  box-shadow: none;
}
.btn-cta:hover { background: #000; color: var(--paper); }
.btn-cta:active { background: #000; }

.btn-accent {
  background: var(--terracotta);
  color: var(--paper);
}
.btn-accent:hover { background: var(--terracotta-ink); }

/* ---------------- Hero ---------------- */
/* Hero is a 2-column layout: text on the left, illustration on the right.
   Illustration is a primary visual partner — sits BESIDE the text, not behind it.
   The illustration's background is the same paper tone as the page so it feels
   "drawn directly on the site". */
.hero {
  padding-top: 72px;
  padding-bottom: 96px;
  border-top: none;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: Onest, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 6px 12px 6px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  margin-bottom: 24px;
  background: var(--paper);
}
.hero-badge span { font-size: 0; } /* hide inline emoji if present */
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--terracotta);
}
.hero h1 {
  font-family: Onest, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 20px;
  max-width: 22ch;
}
.hero h1 .gradient-text { font-style: italic; font-weight: 300; color: var(--conifer-ink); }

/* Hero subline — вторая строка H1 заметно мельче и воздушнее основной.
   Сохраняет italic/серифную стилистику, но уходит в более тихий регистр. */
.hero h1 .hero-subline {
  display: block;
  font-family: Onest, Arial, sans-serif;
  font-size: 0.6em;          /* ~60% от основного H1 */
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--conifer-ink);
  margin-top: 10px;
}
@media (max-width: 560px) {
  .hero h1 .hero-subline {
    font-size: 0.66em;
    margin-top: 8px;
  }
}
.hero .section-subtitle {
  margin-bottom: 28px;
  font-size: var(--text-lg);
  max-width: 58ch;
}
/* The hero illustration — primary visual, side-by-side with the text. */
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
}
.hero-art img {
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
}
.hero-note {
  margin-top: 20px;
  font-family: Onest, Arial, sans-serif;
  font-size: 20px;
  color: var(--ink-3);
}
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 560px; }
  .hero h1 { max-width: none; }
}
@media (max-width: 560px) {
  .hero-art img { max-width: 320px; }
}

/* ---------------- Problem ----------------
   Новый лейаут: слева — две крупные боли с курсивными
   заголовками-«вскриками» и подробной расшифровкой; справа —
   одна общая иллюстрация на весь блок. */
.problem { background: var(--paper-deep); }
.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-top: 16px;
}
.problem-layout__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.problem-layout__art {
  /* No sticky/parallax — scrolls naturally with the content. */
  position: static !important;
  top: auto !important;
  transform: none !important;
  align-self: start;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.problem-layout__art .section-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  position: static !important;
  transform: none !important;
  /* PNG has a near-white background — blend into section's cream (#F5F2E8). */
  mix-blend-mode: multiply;
  background: transparent;
}

.problem-pain {
  border-top: 1px dashed var(--hairline);
  padding-top: 28px;
}
.problem-pain__title {
  font-family: Onest, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--conifer-ink);
  margin: 0 0 18px;
  text-wrap: balance;
  max-width: 22ch;
}
.problem-pain__title em {
  font-style: italic;
  font-weight: 300;
}
.problem-pain__body {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-3);
  max-width: 54ch;
  margin: 0 0 14px;
}
.problem-pain__body:last-child { margin-bottom: 0; }

@media (max-width: 960px) {
  .problem-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .problem-layout__art {
    position: static;
    order: -1;
  }
  .problem-layout__art .section-illustration {
    max-width: 280px;
  }
  .problem-pain__title { font-size: clamp(26px, 6vw, 34px); }
}

/* ---------------- Solution ---------------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px dashed var(--hairline);
}
.solution-card {
  padding: 40px 40px 40px 0;
  border-bottom: 1px dashed var(--hairline);
  counter-increment: solution-counter;
  background: transparent;
  border-radius: 0;
}
.solution-card:nth-child(odd) { border-right: 1px dashed var(--hairline); padding-right: 48px; }
.solution-card:nth-child(even) { padding-left: 40px; }
.solution-card-icon { display: none; }
.solution-card h3 {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
}
.solution-card h3::before {
  content: counter(solution-counter, decimal-leading-zero) "   ";
  font-family: Onest, Arial, sans-serif;
  font-weight: 300;
  color: var(--ink-4);
  margin-right: 8px;
  letter-spacing: 0.02em;
}
.solution-card:first-child h3::before { color: var(--terracotta); }
.solution-card p {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-3);
  max-width: 52ch;
}
.solution { counter-reset: solution-counter; background: var(--paper-deep); }

/* ---------------- Solution — feature block (ключевой акцент) ----------------
   Визуально «вспыхивает» на странице: более глубокий фон секции +
   внутренняя карточка на бумажном тоне с тонкой рамкой и мягкой тенью.
   Двухколоночный лейаут: текст слева (≈60%), иллюстрация справа (≈40%).
   Мобильная версия — колонки стекаются, картинка наверх. */
.solution--feature {
  background: var(--paper);
  padding: 88px 0;
}
.solution--feature .solution-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  align-items: stretch;
  min-height: 560px;
  /* Левая колонка (текст) — на более глубоком paper-deep,
     правая колонка (иллюстрация) — на светлом paper, чтобы визуально
     слиться с фоном PNG. Сделано через linear-gradient с жёсткой
     границей, чтобы не добавлять обёрток в DOM. */
  background: linear-gradient(
    to right,
    var(--paper-deep) 0%,
    var(--paper-deep) calc((1 / 2.15) * 100%),
    var(--paper) calc((1 / 2.15) * 100%),
    var(--paper) 100%
  );
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--conifer);
  padding: 56px 0 56px 48px;
  box-shadow: var(--shadow-2);
  border-radius: 2px;
  overflow: hidden;
}
.solution--feature .solution-feature__text {
  min-width: 0;
  padding-right: 56px; /* ранее роль gap: 56px */
}
.solution--feature .solution-feature__text .section-title {
  font-size: clamp(28px, 2.2rem, 40px);
  margin-bottom: 24px;
  max-width: 26ch;
}
.solution--feature .solution-feature__text .section-subtitle {
  margin-bottom: 18px;
}
.solution--feature .solution-feature__text .section-subtitle:not(.section-subtitle--accent) {
  font-family: Onest, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-3);
  max-width: 54ch;
}
.solution--feature .solution-feature__text .section-subtitle:last-child {
  margin-bottom: 0;
}
.solution--feature .solution-feature__art {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Cancel the card's vertical padding on this column so the illustration
     can occupy the full card height — no light strips above/below. */
  margin: -56px 0;
  padding: 0;
  align-self: stretch;
  overflow: hidden;
}
.solution--feature .solution-feature__art img {
  width: 100%;
  max-width: 760px;
  max-height: none;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: multiply;
  background: transparent;
  border-radius: 0;
}
@media (max-width: 960px) {
  .solution--feature { padding: 64px 0; }
  .solution--feature .solution-feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
    overflow: visible;
    /* На мобильной раскладке колонки стекаются: арт сверху — на paper,
       текст снизу — на paper-deep. Делим фон по горизонтали. */
    background: linear-gradient(
      to bottom,
      var(--paper) 0%,
      var(--paper) 45%,
      var(--paper-deep) 45%,
      var(--paper-deep) 100%
    );
  }
  .solution--feature .solution-feature__text {
    padding: 32px 32px 40px 32px;
  }
  .solution--feature .solution-feature__art {
    order: -1;
    margin: 0;
    padding: 32px 32px 0 32px;
  }
  .solution--feature .solution-feature__art img {
    max-width: 340px;
    height: auto;
    object-fit: contain;
  }
}
@media (max-width: 560px) {
  .solution--feature { padding: 48px 0; }
  .solution--feature .solution-feature {
    padding: 28px 24px;
    border-left-width: 3px;
    gap: 20px;
  }
  .solution--feature .solution-feature__text .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  .solution--feature .solution-feature__art img { max-width: 260px; }
}

/* ---------------- Program ---------------- */
.program-list {
  margin-top: 12px;
}
.program-module {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--hairline);
  align-items: flex-start;
}
.module-number {
  font-family: Onest, Arial, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}
.program-module:first-child .module-number { color: var(--terracotta); }
.module-content h3 {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin-bottom: 12px;
  line-height: var(--leading-snug);
}
.module-content p {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-3);
  max-width: 62ch;
}
/* Второй параграф-акцент внутри модуля (Модуль 5–6): тихая уверенность */
.module-content p + p { margin-top: 12px; }
.module-content p.module-afterword {
  font-style: italic;
  font-size: 0.95em;
  color: var(--ink-3);
  opacity: 0.88;
  margin-top: 12px;
  max-width: 62ch;
}
@media (max-width: 560px) {
  .module-content p.module-afterword { font-size: 14px; }
}

/* Афтерворд-акцент — крупный зелёный курсив, завершающий программу.
   «А ты смотришь на это и понимаешь, что теперь никогда…» */
.module-content p.module-afterword--accent {
  font-family: Onest, Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2rem, 32px);
  line-height: 1.2;
  color: var(--conifer-ink);
  opacity: 1;
  margin-top: 20px;
  max-width: 30ch;
}
.module-content p.module-afterword--accent em { font-style: italic; font-weight: 300; }
@media (max-width: 560px) {
  .module-content p.module-afterword--accent { font-size: clamp(20px, 5.5vw, 26px); }
}

/* Приглушённая приписка (используется в блоке «не вайб-кодинг» — расписание) */
.muted-afterword {
  font-family: Onest, Arial, sans-serif;
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3);
  opacity: 0.75;
  max-width: 62ch;
}

.program-footnote {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-sm);
  color: var(--ink-4);
  margin-top: 40px;
  max-width: 70ch;
  line-height: var(--leading-normal);
  border-left: 1.5px solid var(--ink);
  padding-left: 20px;
}
.program-footnote strong {
  font-family: Onest, Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-2);
}
.program-bridge {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-2);
  max-width: 70ch;
  margin: 28px 0 0;
  line-height: var(--leading-normal);
  padding-top: 28px;
  border-top: 1px dashed var(--hairline);
}

/* ---------------- Audience ---------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.audience-card {
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  padding: 40px;
  border-radius: 0;
  box-shadow: none;
}
.audience-card-icon { display: none; }
.audience-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.audience-card__avatar {
  display: block;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  object-fit: contain;
  margin: 0;
  mix-blend-mode: multiply;
}
@media (max-width: 560px) {
  .audience-card__header { gap: 16px; }
  .audience-card__avatar { width: 60px; height: 60px; }
}
.audience-card h3 {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  line-height: var(--leading-snug);
  margin: 0;
  text-wrap: balance;
}
.audience-card p {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-3);
}
/* Первая секция audience — отличная от соседей. */
.audience { background: var(--paper-deep); }

/* Second "audience" block is the "Порог входа" section — уже paper-deep;
   его оставляем как есть. */
#entry-level { background: var(--paper-deep); }

/* ---------------- Results ---------------- */
/* Match the section background to the cream tone baked into the result
   icon PNGs, so the illustration backgrounds disappear into the page. */
.results {
  margin-top: 24px;
  background: #F5F2E8;
}
.results-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px dashed var(--hairline);
  margin-top: 24px;
}
.result-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 32px 32px 32px 0;
  border-bottom: 1px dashed var(--hairline);
  align-items: center;
}
.result-item:nth-child(odd) { border-right: 1px dashed var(--hairline); padding-right: 40px; }
.result-item:nth-child(even) { padding-left: 32px; }
.result-item__icon {
  width: 140px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  display: block;
  margin-top: 0;
  mix-blend-mode: multiply;
  /* Pull the illustration to the edges — no padding around the drawing
     beyond what's already baked into the PNG. */
  transform: scale(1.15);
  transform-origin: center center;
}
@media (max-width: 560px) {
  .result-item { grid-template-columns: 96px 1fr; gap: 20px; }
  .result-item__icon { width: 96px; max-height: 120px; }
}
.result-item p {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-3);
  max-width: 52ch;
  margin: 0;
}
.result-item p strong {
  color: var(--ink);
  font-weight: 600;
}
.result-item .section-illustration--inline { display: none; }

/* ---------------- Author ---------------- */
.author-block {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 36px;
  align-items: flex-start;
}
.author-photo {
  width: 260px; aspect-ratio: 1 / 1;
  background: var(--paper-deep);
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 0;
}
.author-photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
}
.author-info h3 {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-3xl);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  line-height: var(--leading-snug);
  margin-bottom: 20px;
}
.author-info p {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-3);
  margin-bottom: 20px;
  max-width: 64ch;
}
.author-info a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ink-5);
  transition: text-decoration-color var(--dur-ink) var(--ease-paper);
}
.author-info a:hover { text-decoration-color: var(--terracotta); color: #000; }
.author-projects {
  list-style: none;
  margin-top: 16px;
  border-top: 1px dashed var(--hairline);
  padding-top: 16px;
}
.author-projects li {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-base);
  color: var(--ink-3);
  padding: 8px 0;
  border-bottom: 1px dashed var(--hairline);
  position: relative;
  padding-left: 24px;
}
.author-projects li::before {
  content: "—";
  color: var(--ink-4);
  position: absolute; left: 0; top: 8px;
  font-family: Onest, Arial, sans-serif;
}

/* ---------------- Price block ----------------
   Отдельная секция с ценой курса и кнопкой записи.
   Цифра крупная (сопоставима с большими заголовками),
   рядом на десктопе — кнопка; на мобиле стек. */
.price-block {
  background: var(--paper);
  padding: 80px 0;
}
.price-block .section-label {
  margin-bottom: 24px;
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  row-gap: 24px;
}
.price-figure {
  font-family: Onest, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.price-cta {
  background: var(--terracotta);
  color: var(--paper);
}
.price-cta:hover { background: var(--terracotta-ink); color: var(--paper); }
.price-note {
  margin-top: 20px;
  font-family: Onest, Arial, sans-serif;
  font-size: 20px;
  color: var(--ink-3);
  max-width: 52ch;
}
@media (max-width: 560px) {
  .price-block { padding: 56px 0; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .price-cta { width: 100%; justify-content: center; }
}

/* ---------------- Final CTA ---------------- */
.final-cta {
  background: var(--paper-deep);
  padding: 72px 0;
  text-align: left;
}
.final-cta .section-title {
  font-size: var(--text-4xl);
  max-width: 28ch;
  margin-bottom: 18px;
}
.final-cta .section-subtitle { margin-bottom: 28px; }
.final-cta .btn-cta { background: var(--terracotta); color: var(--paper); }
.final-cta .btn-cta:hover { background: var(--terracotta-ink); color: var(--paper); }
.final-cta__note {
  display: block;
  margin-top: 24px;
  font-family: Onest, Arial, sans-serif;
  font-size: 22px;
  color: var(--ink-3);
}

/* ---------------- Footer ---------------- */
footer {
  padding: 48px 0;
  border-top: 1.5px solid var(--ink);
  background: var(--paper);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand img {
  height: 38px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  align-self: flex-start;
}
.footer-brand .hand-note { color: var(--ink-3); }
.footer-links {
  display: flex; gap: 32px;
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-sm);
}
.footer-links a {
  color: var(--ink-3);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ink-5);
  transition: color var(--dur-ink) var(--ease-paper),
              text-decoration-color var(--dur-ink) var(--ease-paper);
}
.footer-links a:hover { color: #000; text-decoration-color: var(--terracotta); }
.footer-copy {
  font-family: Onest, Arial, sans-serif;
  font-size: var(--text-sm);
  color: var(--ink-4);
}

/* ---------------- Fade in ---------------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms var(--ease-paper), transform 520ms var(--ease-paper);
}
.fade-in.visible {
  opacity: 1;
  transform: none; /* identity-matrix ломает sticky у потомков — снимаем после анимации */
}

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .container { padding: 0 32px; }
  .site-header { padding: 18px 32px; }
  section { padding: 72px 0; }

  .problem-grid,
  .solution-grid,
  .audience-grid,
  .results-list { grid-template-columns: 1fr; }

  .problem-item,
  .solution-card,
  .result-item {
    padding: 28px 0 !important;
    border-right: none !important;
    padding-left: 0 !important;
  }

  .program-module { grid-template-columns: 80px 1fr; gap: 20px; }
  .module-number { font-size: 44px; }

  .author-block { grid-template-columns: 1fr; gap: 32px; }
  .author-photo { width: 220px; order: -1; margin: 0 auto; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: var(--text-3xl); }
  .hero h1 { font-size: clamp(28px, 6vw, 44px); }
  .final-cta .section-title { font-size: var(--text-4xl); }
}

@media (max-width: 560px) {
  .container { padding: 0 24px; }
  .site-header { padding: 16px 24px; }
  .site-header__wordmark { font-size: 18px; }
  .site-header__badge { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .section-subtitle { font-size: var(--text-lg); }
  .audience-card { padding: 28px; }
}

/* ---------------- GIF demos ---------------- */
.gif-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  margin-top: 32px !important;
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
}

/* Финальная фраза-выделение под сеткой демо.
   Тот же italic-зелёный голос, что и другие акценты. */
.gif-grid__outro {
  margin: 40px 0 0;
  font-family: Onest, Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2rem, 30px);
  line-height: 1.25;
  color: var(--conifer-ink);
  max-width: 32ch;
  text-wrap: balance;
}
.gif-grid__outro em { font-style: italic; font-weight: 300; }
@media (max-width: 560px) { .gif-grid__outro { font-size: clamp(20px, 5.5vw, 26px); } }
.gif-card {
  background: var(--paper) !important;
  border: 1px solid var(--hairline) !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.gif-card > div:first-child {
  aspect-ratio: 16 / 10;
  background: var(--paper-deep) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gif-card > div:first-child img {
  max-width: 70% !important;
  max-height: 70% !important;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.92;
}
.gif-card > div:last-child {
  padding: 16px 20px !important;
}
.gif-card h3 {
  font-family: Onest, Arial, sans-serif;
  font-size: 17px !important;
  font-weight: 400 !important;
  margin-bottom: 6px !important;
  color: var(--ink);
}
.gif-card p {
  font-size: 13px !important;
  line-height: 1.5;
  color: var(--ink-3) !important;
}
@media (max-width: 768px) {
  .gif-grid { grid-template-columns: 1fr !important; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---------------- Section illustrations ----------------
   Illustrations sit BESIDE the text in a 2-column row, never inside the
   text flow as float overlays. The image background is the same paper
   tone as the page (#FAFAF7) and uses mix-blend-mode: multiply so it
   reads as if drawn directly on the page. Sizes are deliberately
   restrained — illustrations support the copy, they don't dominate. */
.section-illustration {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0;
  opacity: 0.95;
  mix-blend-mode: multiply;
  background: transparent;
}
.section-illustration--inline {
  max-width: 96px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 12px;
  opacity: 0.95;
  mix-blend-mode: multiply;
}
.section-illustration--corner {
  max-width: 140px;
  margin: 32px 0 0 auto;
  display: block;
  opacity: 0.9;
  mix-blend-mode: multiply;
}

/* Two-column row: text on one side, illustration on the other.
   Image column is intentionally narrow — illustration is a SUPPORTING
   note next to the text, not a dominant visual. Default: text LEFT,
   illustration RIGHT (small, ~220px). Modifier --reverse swaps sides. */
.section-with-art {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}
.section-with-art--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
}
.section-with-art--reverse .section-with-art__art { order: -1; }
.section-with-art__text { min-width: 0; }
.section-with-art__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-with-art .section-illustration {
  margin: 0;
  max-width: 220px;
  width: 100%;
}
/* Tighter rule for the section title when it sits beside an illustration —
   it should not stretch beyond its column. */
.section-with-art .section-title {
  margin-bottom: 16px;
}

/* Legacy float helper kept for back-compat — but now it just behaves as
   a small inline-block aligned right inside the text column. Not used
   in the new layout. */
.section-illustration--right {
  display: block;
  max-width: 200px;
  margin: 0 0 16px auto;
  opacity: 0.95;
  mix-blend-mode: multiply;
}

/* Mobile: stack columns, image goes on top, smaller. */
@media (max-width: 640px) {
  .section-with-art,
  .section-with-art--reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-with-art__art { order: -1; }
  .section-with-art .section-illustration { max-width: 160px; margin: 0 auto; }
  .section-illustration--right { max-width: 140px; margin: 0 auto 12px; }
  .section-illustration--corner { display: none; }
  .section-illustration--inline { display: block; margin: 10px 0 0; max-width: 80px; }
}
/* Not-vibe-coding: full-height illustration to the right of the text block */
.not-vibecoding-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: center;
  max-width: 1200px;
}
.not-vibecoding-layout .section-illustration {
  margin: 0;
  width: 100%;
  max-width: 780px;
  height: auto;
  opacity: 1;
  align-self: center;
  justify-self: center;
  mix-blend-mode: multiply;
  background: transparent;
}
@media (max-width: 768px) {
  .not-vibecoding-layout { grid-template-columns: 1fr; gap: 24px; }
  .not-vibecoding-layout .section-illustration {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
    position: static;
  }
}

/* Program roadmap — широкая горизонтальная иллюстрация после интро-текста */
.program-roadmap-illustration {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 32px 0 48px;
}
