/* Егор Часов · HTML-first. Локальные Manrope и Lucide, без внешних запросов. */
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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 {
  color-scheme: light;
  --bg: #f5f4ee;
  --surface: #ebece6;
  --card: #fffefa;
  --text: #1b2028;
  --muted: #5a626b;
  --line: #d2d6d3;
  --accent: #2c50d5;
  --blue: #2c50d5;
  --blue-hover: #203ead;
  --focus: #2c50d5;
  --header-button-bg: #1b2028;
  --header-button-text: #fff;
  --header-button-hover: #2c50d5;
  --button-border: #2c50d5;
  --button-hover-border: #203ead;
  --overlay-shadow: #17202912;
  --portrait-bg: #dfe5f2;
  --portrait-ring: #b4c1dc;
  --note-border: #fff;
  --note-shadow: #24324e0d;
  --formats-bg: #e9ebe6;
  --graphite-bg: #191e28;
  --featured-bg: #1d2533;
  --step-line: #bdc6d1;
  --step-bg: #e5eaf9;
  --chip-bg: #e9ece6;
  --chip-text: #495449;
  --contact-bg: #2c50d5;
  --contact-card-text: #1b2028;
  --contact-card-muted: #5a626b;
  --contact-card-accent: #2c50d5;
  --message-bg: #f0f2f7;
  --message-line: #b8c4e5;
  --article-text: #414951;
  --quote-bg: #e9edf7;
  --quote-text: #243147;
  --code-bg: #e6e8e4;
  --pre-bg: #e9ece8;
  --request-bg: #f9f9f4;
  --request-secondary-bg: #edf0e9;
  --request-accent-bg: #e9edf7;
  --request-hover-line: #8093bf;
  --request-icon-bg: #e6e9e2;
  --request-icon-text: #3a4840;
  --request-secondary-icon-bg: #d9e1d2;
  --request-accent-icon-bg: #d5def4;
  --radius: 20px;
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color: var(--text);
}
/* Same dark tokens for an explicit choice and the no-JS system fallback.
   Keep these two blocks in sync; screen scope leaves print styling independent. */
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #141922;
    --surface: #1b222d;
    --card: #222b38;
    --text: #edf0f4;
    --muted: #bac2ce;
    --line: #424f62;
    --accent: #9db5ff;
    --focus: #b6c7ff;
    --header-button-bg: #dce5fa;
    --header-button-text: #172033;
    --header-button-hover: #b6c7ff;
    --button-border: #849ff3;
    --button-hover-border: #849ff3;
    --overlay-shadow: #00000040;
    --portrait-bg: #29354c;
    --portrait-ring: #506182;
    --note-border: #424f62;
    --note-shadow: #00000020;
    --formats-bg: #1b222d;
    --graphite-bg: #10151d;
    --featured-bg: #172031;
    --step-line: #4d5b70;
    --step-bg: #283653;
    --chip-bg: #29352f;
    --chip-text: #cbdacd;
    --contact-bg: #213256;
    --contact-card-text: #edf0f4;
    --contact-card-muted: #bac2ce;
    --contact-card-accent: #9db5ff;
    --message-bg: #1a2230;
    --message-line: #657cac;
    --article-text: #cbd3de;
    --quote-bg: #233047;
    --quote-text: #d3def2;
    --code-bg: #2a3340;
    --pre-bg: #1b2430;
    --request-bg: #202833;
    --request-secondary-bg: #232d31;
    --request-accent-bg: #222e46;
    --request-hover-line: #91a7d4;
    --request-icon-bg: #303d45;
    --request-icon-text: #cbdacd;
    --request-secondary-icon-bg: #344438;
    --request-accent-icon-bg: #34466b;
  }
}
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #141922;
    --surface: #1b222d;
    --card: #222b38;
    --text: #edf0f4;
    --muted: #bac2ce;
    --line: #424f62;
    --accent: #9db5ff;
    --focus: #b6c7ff;
    --header-button-bg: #dce5fa;
    --header-button-text: #172033;
    --header-button-hover: #b6c7ff;
    --button-border: #849ff3;
    --button-hover-border: #849ff3;
    --overlay-shadow: #00000040;
    --portrait-bg: #29354c;
    --portrait-ring: #506182;
    --note-border: #424f62;
    --note-shadow: #00000020;
    --formats-bg: #1b222d;
    --graphite-bg: #10151d;
    --featured-bg: #172031;
    --step-line: #4d5b70;
    --step-bg: #283653;
    --chip-bg: #29352f;
    --chip-text: #cbdacd;
    --contact-bg: #213256;
    --contact-card-text: #edf0f4;
    --contact-card-muted: #bac2ce;
    --contact-card-accent: #9db5ff;
    --message-bg: #1a2230;
    --message-line: #657cac;
    --article-text: #cbd3de;
    --quote-bg: #233047;
    --quote-text: #d3def2;
    --code-bg: #2a3340;
    --pre-bg: #1b2430;
    --request-bg: #202833;
    --request-secondary-bg: #232d31;
    --request-accent-bg: #222e46;
    --request-hover-line: #91a7d4;
    --request-icon-bg: #303d45;
    --request-icon-text: #cbdacd;
    --request-secondary-icon-bg: #344438;
    --request-accent-icon-bg: #34466b;
  }
}
* { box-sizing: border-box; }
html { --header-height: 85px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); scrollbar-gutter: stable; }
body { margin: 0; font-size: 1rem; line-height: 1.65; background: var(--bg); }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #ccd6ff; color: #17275d; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { font-weight: 650; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(3rem, 5.6vw, 5rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.35rem); }
h3 { font-size: 1.5rem; }
p { overflow-wrap: break-word; }
.container { width: min(calc(100% - 96px), 1240px); margin-inline: auto; }
.muted, .body-muted { color: var(--muted); }
h1 .muted, h2 .muted { display: block; }
.icon { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 650; line-height: 1.5; letter-spacing: .085em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: currentColor; flex-shrink: 0; }
.section { padding-block: 96px; }
.section-heading { margin-bottom: 42px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }
.section-intro { max-width: 340px; justify-self: end; color: var(--muted); font-size: 1rem; padding-bottom: 4px; }
.text-link { display: inline-flex; gap: 16px; align-items: center; min-height: 48px; line-height: 1.5; font-size: .9375rem; font-weight: 600; transition: color .18s ease; }
.text-link:hover { color: var(--accent); }
.text-link:active { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon, .button .icon { transition: transform .2s ease; }
.text-link:hover > .icon, .button:hover > .icon { transform: translate(2px, -2px); }
.back-icon { display: inline-flex; transform: rotate(180deg); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 15px 22px; border: 1px solid transparent; border-radius: 10px; font-size: .9375rem; font-weight: 650; line-height: 1.5; transition: background .2s ease, border-color .2s ease; }
.button-primary { background: var(--blue); color: #fff; border-color: var(--button-border); }
.button-primary:hover { background: var(--blue-hover); border-color: var(--button-hover-border); }
.button:active, .mobile-contact:active, .header-cta:active { transform: translateY(1px); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 20px; background: var(--blue); color: #fff; border-radius: 6px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* Компактная навигация. Главная кнопка доступна и на телефоне. */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 28px; position: relative; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; color: var(--text); font-size: 1.625rem; font-weight: 800; letter-spacing: -.065em; line-height: 1.2; white-space: nowrap; }
.wordmark-accent { color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.desktop-nav a { min-height: 48px; min-width: 44px; display: flex; align-items: center; position: relative; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--text); }
.desktop-nav a[aria-current]::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.header-cta { display: inline-flex; align-items: center; gap: 17px; min-height: 48px; padding: 10px 16px; background: var(--header-button-bg); color: var(--header-button-text); font-size: .8125rem; font-weight: 600; border-radius: 9px; line-height: 1.5; transition: background .2s; }
.header-cta:hover, .header-cta:active, .mobile-contact:hover, .mobile-contact:active { background: var(--header-button-hover); }
.header-cta .icon { width: 18px; height: 18px; flex-basis: 18px; }
.mobile-menu, .mobile-contact { display: none; }
.mobile-menu summary { min-height: 48px; min-width: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .875rem; cursor: pointer; list-style: none; }
.mobile-menu summary:hover, .mobile-menu summary:active { background: var(--surface); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-icon { width: 20px; height: 12px; border-top: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; position: relative; }
.mobile-menu[open] .menu-icon { border-color: transparent; }
.mobile-menu[open] .menu-icon::before, .mobile-menu[open] .menu-icon::after { content: ''; position: absolute; top: 4px; left: 0; height: 1.75px; width: 20px; background: currentColor; transform: rotate(45deg); }
.mobile-menu[open] .menu-icon::after { transform: rotate(-45deg); }
.mobile-menu nav { position: absolute; inset: calc(100% + 1px) -24px auto; background: var(--card); border-bottom: 1px solid var(--line); padding: 16px 24px 24px; box-shadow: 0 20px 30px var(--overlay-shadow); max-height: calc(100svh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior-y: contain; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.mobile-menu nav a:hover, .mobile-menu nav a:active { color: var(--accent); background: var(--surface); }
.mobile-menu nav a[aria-current="page"] { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }

/* Первый экран: сильная типографика и настоящий портрет. */
.hero { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,1fr); gap: clamp(32px, 4.5vw, 68px); align-items: center; padding-block: 54px 42px; }
.hero-copy { min-width: 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; margin-bottom: 27px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: .75rem; font-weight: 600; }
.hero-eyebrow .icon { color: var(--accent); width: 18px; height: 18px; flex-basis: 18px; }
.hero h1 { font-size: clamp(3rem, 5.35vw, 4.6rem); line-height: 1.12; letter-spacing: -.055em; }
.hero h1 > span { display: block; }
.hero-accent { color: var(--accent); }
.hero-description { max-width: 510px; color: var(--muted); font-size: 1.0625rem; line-height: 1.8; margin-top: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 27px; margin-top: 32px; }
.hero-note { color: var(--muted); font-size: .75rem; line-height: 1.7; margin-top: 14px; }

.mentor-portrait { min-width: 0; }
.portrait-stage { position: relative; height: 490px; overflow: hidden; border-radius: 24px 140px 24px 24px; background: var(--portrait-bg); }
.portrait-stage::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -80px; top: 80px; border: 1px solid var(--portrait-ring); }
.portrait-stage img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: calc(100% - 14px); width: auto; max-width: none; }

.portrait-note { position: absolute; z-index: 2; bottom: 20px; left: 20px; right: 20px; padding: 19px 20px; background: var(--card); border: 1px solid var(--note-border); border-radius: 12px; box-shadow: 0 6px 22px var(--note-shadow); }
.portrait-note p { font-size: 1.0625rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.4; max-width: 320px; }
.portrait-note > span { display: block; margin-top: 6px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.mentor-portrait figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 3px 0; }
.mentor-portrait figcaption strong { display: block; font-size: .9375rem; font-weight: 650; }
.mentor-portrait figcaption span { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.mentor-portrait figcaption > .icon { color: var(--accent); width: 28px; height: 28px; flex-basis: 28px; }

/* Общие поверхности и условия обучения. */
.surface-section { background: var(--surface); }
.formats-surface { background: var(--formats-bg); }

.format-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .8125rem; line-height: 1.5; margin-top: 23px; }
.format-meta .icon { width: 17px; height: 17px; flex-basis: 17px; }

.price-note { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px 48px; align-items: start; padding: 29px 0 0; margin-top: 14px; }
.price-note :is(h2, h3) { font-size: 1.3125rem; line-height: 1.4; }
.price-note p { font-size: .9375rem; color: var(--muted); max-width: 540px; }
.price-note .text-link { grid-column: 2; font-size: .875rem; color: var(--accent); }
.format-preview-grid + .price-note { margin-top: 32px; padding-top: 28px; }

/* Опыт автора и компании. */
.about-surface { --text: #f5f6f8; --muted: #bac2cf; --line: #3b424e; --accent: #b6c7ff; --focus: #b6c7ff; color: var(--text); background: var(--graphite-bg); }
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-statement { font-size: clamp(1.5rem,2.15vw,1.9rem); line-height: 1.5; letter-spacing: -.03em; margin-block: 26px 22px; }
.about-intro .body-muted { font-size: .9375rem; line-height: 1.85; max-width: 505px; }
.about-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 28px 35px; margin-top: 30px; }
.about-foot .text-link { font-size: .875rem; }
.education-fact { border-left: 1px solid var(--line); padding-left: 25px; }
.education-fact strong { display: block; color: var(--accent); font-size: 1.375rem; font-weight: 600; }
.education-fact span { color: var(--muted); font-size: .75rem; }
.companies-preview { align-self: center; min-width: 0; }
.companies-preview h3 { max-width: 340px; font-size: 1.375rem; line-height: 1.35; margin-bottom: 22px; }
.company-logos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 0; list-style: none; }
.company-logos li { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 20px 18px; background: #fff; border: 1px solid #d2d6d3; border-radius: 14px; }
.company-logos img { width: 100%; max-width: 190px; height: 52px; object-fit: contain; }
/* The supplied PNG's transparent margins replace the tile's vertical padding. */
.company-logos .company-logo-t1 { padding-block: 0; }
.company-logos .company-logo-t1 img { max-width: 280px; height: 92px; }
.companies-preview .company-logos { grid-template-columns: repeat(2,minmax(0,1fr)); }
.companies-preview .company-logos li:last-child:nth-child(odd) { grid-column: 1/-1; }
.companies-section { padding-bottom: 85px; }
.companies-section h2 { font-size: clamp(1.5rem,2.5vw,2rem); line-height: 1.3; margin-bottom: 28px; }

@media (min-width: 601px) {
  .page-about .company-logo-t1 { grid-column: 2; }
}

/* Начало работы, материалы, вопросы. */
.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 44px; padding: 0; list-style: none; }
.process-step { position: relative; padding-top: 23px; border-top: 1px solid var(--step-line); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--step-bg); color: var(--accent); font-size: .75rem; font-weight: 650; margin-bottom: 25px; }
.process-step h3 { font-size: 1.3rem; margin-bottom: 15px; line-height: 1.4; }
.process-step p { color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.materials-preview { border-top: 1px solid var(--line); }
.heading-with-link { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.heading-with-link .text-link { flex-shrink: 0; }
.article-grid, .material-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.article-card { display: flex; flex-direction: column; min-width: 0; padding: 26px 0 0; border-top: 2px solid #b7c4e5; }
.article-card:nth-child(2) { border-top-color: #afbca7; }
.article-card:nth-child(3) { border-top-color: #c6b58c; }
.article-meta { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.article-meta > span:first-child { padding: 5px 8px; background: var(--chip-bg); border-radius: 5px; color: var(--chip-text); }
.article-card :is(h2, h3) { font-size: 1.4375rem; line-height: 1.4; margin: 22px 0 15px; letter-spacing: -.03em; }
.article-card :is(h2, h3) a:hover { color: var(--accent); }
.article-card p { color: var(--muted); font-size: .9375rem; line-height: 1.8; margin-bottom: 24px; }
.article-card .text-link { margin-top: auto; font-size: .8125rem; }
.faq-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; list-style: none; cursor: pointer; padding-block: 24px; font-weight: 550; font-size: 1rem; line-height: 1.65; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { margin-top: 2px; color: var(--accent); transition: transform .18s; }
.faq-list details[open] summary { color: var(--accent); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 30px 25px 0; color: var(--muted); font-size: .9375rem; line-height: 1.85; }

/* Контакт — один ясный следующий шаг. */
.contact-section { --text: #fff; --muted: #dce5ff; --accent: #fff; --focus: #fff; color: var(--text); background: var(--contact-bg); }
.contact-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: 90px; padding-block: 76px; }
.contact-heading h2 { font-size: clamp(2.5rem,4.45vw,4rem); line-height: 1.16; letter-spacing: -.05em; }
.contact-heading h2 .muted { color: #d4dfff; }
.contact-heading .eyebrow { margin-bottom: 30px; }
.contact-action { --text: var(--contact-card-text); --muted: var(--contact-card-muted); --accent: var(--contact-card-accent); --focus: var(--contact-card-accent); color: var(--text); padding: 29px; background: var(--card); border-radius: 18px; }
.contact-action > p { font-size: .9375rem; line-height: 1.8; color: var(--muted); }
.message-example { margin-block: 22px; padding: 17px 19px; background: var(--message-bg); border-left: 2px solid var(--message-line); border-radius: 0 9px 9px 0; }
.message-example > span { display: block; color: var(--muted); font-size: .6875rem; font-weight: 650; margin-bottom: 10px; }
.message-example > p { font-size: .8125rem; white-space: pre-line; line-height: 1.85; }
.contact-action .button { width: 100%; font-size: .875rem; gap: 16px; }
.contact-action .contact-note { font-size: .6875rem; line-height: 1.75; margin-top: 13px; }
.email-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; margin-top: 8px; color: var(--muted); font-size: .75rem; }
.email-link span { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.email-link:hover span { color: var(--accent); }
.contact-callback { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-callback h3 { font-size: 1.125rem; line-height: 1.45; letter-spacing: -.025em; }
.contact-callback p { margin-block: 10px 18px; color: var(--muted); font-size: .875rem; line-height: 1.75; }
.contact-secondary { justify-content: center; color: var(--accent); background: transparent; border-color: var(--line); cursor: pointer; }
.contact-secondary:hover { background: var(--message-bg); border-color: var(--accent); }
html.contact-form-open { overflow: hidden; }
.contact-form-panel { --text: var(--contact-card-text); --muted: var(--contact-card-muted); --accent: var(--contact-card-accent); --focus: var(--contact-card-accent); --contact-window-height: 100vh; --contact-inline-gap: max(12px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); --contact-block-gap: max(12px, env(safe-area-inset-top, 0px), env(safe-area-inset-bottom, 0px)); position: fixed; top: calc(var(--contact-viewport-top, 0px) + var(--contact-viewport-height, var(--contact-window-height)) / 2); left: calc(var(--contact-viewport-left, 0px) + var(--contact-viewport-width, 100vw) / 2); right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(720px, calc(var(--contact-viewport-width, 100vw) - 2 * var(--contact-inline-gap))); height: min(820px, calc(var(--contact-viewport-height, var(--contact-window-height)) - 2 * var(--contact-block-gap))); max-width: none; max-height: none; min-width: 0; margin: 0; padding: 0; overflow: hidden; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 80px #00000040; }
@supports (height: 100dvh) {
  .contact-form-panel { --contact-window-height: 100dvh; }
}
.contact-form-panel[open] { display: flex; flex-direction: column; }
.contact-form-panel:not([open]) { display: none; }
.contact-form-panel::backdrop { background: #10172499; }
.contact-form-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(12px, 3vw, 24px); border-bottom: 1px solid var(--line); }
.contact-form-toolbar h2 { font-size: clamp(1.125rem, 3vw, 1.375rem); line-height: 1.35; letter-spacing: -.025em; }
.contact-form-close { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 10px; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.contact-form-close:hover { color: var(--accent); background: var(--message-bg); border-color: var(--accent); }
.contact-form-body { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; overflow: hidden; padding: 12px clamp(4px, 1.5vw, 16px); }
.contact-form-footer { flex: 0 0 auto; padding: 4px clamp(12px, 3vw, 24px); border-top: 1px solid var(--line); }
.contact-form-hint { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.contact-form-footer .text-link { min-height: 44px; font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; }
.contact-form-error .button { min-height: 44px; padding: 10px 16px; font-size: .875rem; }
.contact-form-status, .contact-form-error { flex: 0 0 auto; padding: 12px; color: var(--muted); font-size: .9375rem; }
.contact-form-error .button { margin-top: 14px; }
.contact-form-host { flex: 1 1 auto; min-width: 0; min-height: 0; }
.contact-form-host iframe { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.contact-section [hidden] { display: none !important; }
.site-footer { padding-block: 30px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-name { font-size: .875rem; font-weight: 650; }
.footer-note { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; }
.footer-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .75rem; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-links .icon { width: 16px; height: 16px; flex-basis: 16px; }
.footer-legal { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.75; }
.footer-legal p { max-width: 100ch; }
.footer-legal p + p { margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; margin-top: 20px; color: var(--muted); font-size: .875rem; line-height: 1.75; }
.footer-sources a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* Внутренние страницы. */
.about-hero { border-bottom: 1px solid var(--line); }
.about-hero h1 > span { display: block; }
.about-hero .hero-note { font-size: .875rem; max-width: 460px; margin-top: 25px; }
.hero-portrait { position: relative; min-width: 0; border-radius: 24px 130px 24px 24px; background: var(--portrait-bg); overflow: hidden; }
.hero-portrait img { width: 100%; height: 560px; object-fit: contain; object-position: center bottom; padding-top: 20px; }
.hero-portrait figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; background: var(--card); padding: 17px 19px; border-radius: 10px; font-size: .75rem; color: var(--muted); }
.portrait-name { display: block; font-size: 1rem; font-weight: 650; color: var(--text); margin-bottom: 3px; }
.story-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.prose > * + * { margin-top: 24px; }
.story-section .prose { font-size: 1.0625rem; line-height: 1.9; }
.career-list { border-top: 1px solid var(--line); }
.career-item { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding-block: 34px; border-bottom: 1px solid var(--line); }
.career-item h3 { font-size: 1.625rem; margin-bottom: 12px; }
.career-role { font-size: .875rem; color: var(--muted); max-width: 345px; }
.career-text { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 70px; }
.principle { border-top: 1px solid var(--line); padding-top: 25px; }
.principle h3 { font-size: 1.4375rem; margin-bottom: 16px; }
.principle p { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.boundary-note { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-bottom: 85px; }
.boundary-note h2 { font-size: 2rem; line-height: 1.3; }
.boundary-note p { color: var(--muted); margin-bottom: 20px; }
.page-intro { padding-block: 76px 64px; }
.page-intro h1 { max-width: 890px; }
.page-intro .hero-description { max-width: 610px; }
.material-list { padding-bottom: 70px; }
.reading-note { display: grid; grid-template-columns: 42px 1fr auto; gap: 25px; align-items: center; border-top: 1px solid var(--line); padding-block: 38px 65px; }
.reading-mark { font-size: 2.4rem; line-height: 1; color: var(--accent); align-self: start; }
.reading-note h2 { font-size: 1.5rem; margin-bottom: 12px; }
.reading-note p { color: var(--muted); max-width: 640px; }
.article-page { max-width: 800px; padding-block: 45px 85px; }
.breadcrumb { color: var(--muted); font-size: .875rem; margin-bottom: 35px; }
.article-header { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(2.25rem,4.1vw,3.65rem); line-height: 1.18; margin-top: 24px; letter-spacing: -.045em; }
.article-lead { font-size: 1.1875rem; line-height: 1.8; color: var(--muted); margin-top: 24px; }
.article-author { font-size: .8125rem; font-weight: 650; margin-top: 24px; }
.article-body { color: var(--article-text); font-size: 1.0625rem; line-height: 1.95; }
.article-body h2 { color: var(--text); font-size: 1.9rem; line-height: 1.35; margin-top: 48px; }
.article-body h3 { color: var(--text); font-size: 1.4rem; line-height: 1.4; margin-top: 34px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 10px; }
.article-body li::marker { color: var(--accent); }
.article-body blockquote { margin: 34px 0; padding: 17px 24px; background: var(--quote-bg); border-left: 3px solid var(--accent); color: var(--quote-text); font-size: 1.25rem; line-height: 1.7; border-radius: 0 10px 10px 0; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-body code { font-size: .9em; padding: 2px 5px; border-radius: 4px; background: var(--code-bg); overflow-wrap: anywhere; }
.article-body pre { background: var(--pre-bg); border: 1px solid var(--line); padding: 20px; overflow: auto; border-radius: 10px; font-size: .875rem; }
.article-body pre code { padding: 0; background: none; }
.article-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; }
.not-found { padding-block: 90px 110px; max-width: 870px; }
.not-found .button { margin-top: 28px; }
.legal-page { max-width: 880px; padding-block: 48px 64px; }
.legal-intro { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-intro h1 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.25; letter-spacing: -.04em; overflow-wrap: break-word; }
.legal-section { margin-top: 32px; }
.legal-section h2 { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.4; }
.legal-section p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.legal-section p + p { margin-top: 12px; }
.license-document { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

button:disabled { opacity: .6; cursor: progress; }

@media (max-width: 1150px) {
  .desktop-nav { gap: 20px; }
  .header-inner { gap: 22px; }
  .hero { gap: 35px; }
  .hero h1 { font-size: clamp(2.8rem,5.15vw,3.7rem); }
  .hero-actions { gap: 10px 20px; }
  .hero-actions .button { font-size: .875rem; padding-inline: 18px; gap: 18px; }
  .hero-actions .text-link { font-size: .875rem; }

  .portrait-stage { height: 465px; }
  .portrait-note { padding: 17px; }
  .portrait-note p { font-size: 1rem; }

  .about-preview, .contact-inner { gap: 55px; }

  .process-grid { gap: 30px; }
  .faq-section { gap: 50px; }
  .reading-note { grid-template-columns: 42px 1fr; }
  .reading-note > .text-link { grid-column: 2; }
}
@media (max-width: 900px) {
  html { --header-height: 73px; }
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 72px; gap: 20px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-contact { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 9px 13px; margin-left: auto; background: var(--header-button-bg); color: var(--header-button-text); border-radius: 8px; font-size: .8125rem; font-weight: 600; }
  .mobile-contact .icon { width: 17px; height: 17px; flex-basis: 17px; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 30px; padding-block: 42px 35px; }
  .hero h1 { font-size: clamp(2.3rem,4.9vw,3rem); }
  .hero-description { font-size: .9375rem; margin-top: 21px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .text-link { font-size: .8125rem; }

  .hero-note { font-size: .6875rem; }
  .portrait-stage { height: 425px; border-top-right-radius: 100px; }
  .portrait-note { left: 13px; right: 13px; bottom: 13px; padding: 15px; }
  .portrait-note p { font-size: .9375rem; }
  .portrait-note > span { font-size: .6875rem; }

  .mentor-portrait figcaption { padding-top: 14px; }
  .mentor-portrait figcaption span { font-size: .6875rem; }
  .section { padding-block: 74px; }
  h2 { font-size: clamp(2rem,4.2vw,2.8rem); }
  .split-heading { gap: 35px; grid-template-columns: 1.15fr .85fr; }
  .section-intro { font-size: .9375rem; }

  .about-preview { gap: 38px; }
  .company-logos { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .about-statement { font-size: 1.5rem; }
  .about-foot { gap: 20px 24px; }
  .education-fact { border: 0; padding: 0; }

  .process-grid { gap: 25px; }
  .process-step h3 { font-size: 1.1875rem; }
  .article-grid, .material-list { gap: 22px; }
  .article-card :is(h2, h3) { font-size: 1.25rem; }
  .article-card p { font-size: .875rem; }
  .faq-section { gap: 40px; grid-template-columns: .85fr 1.15fr; }
  .faq-list summary { font-size: .9375rem; gap: 16px; }
  .contact-inner { gap: 36px; grid-template-columns: .9fr 1.1fr; padding-block: 60px; }
  .contact-heading h2 { font-size: 2.5rem; }
  .contact-action { padding: 24px; }
  .contact-action .button { font-size: .8125rem; padding-inline: 15px; }
  .footer-links { gap: 12px 20px; justify-content: flex-end; }
  .hero-portrait img { height: 470px; }
  .story-section, .career-item, .principle-grid, .boundary-note { gap: 35px; }
  .page-intro { padding-block: 60px 52px; }
}
@media (max-width: 700px) {
  .about-preview { grid-template-columns: 1fr; gap: 32px; }
  .hero { grid-template-columns: 1fr; gap: 33px; }
  .hero h1 { font-size: clamp(2.7rem,7.7vw,4.1rem); }
  .hero-description { font-size: 1rem; max-width: 530px; }
  .hero-copy { max-width: 620px; }

  .hero-note { font-size: .75rem; }
  .mentor-portrait { width: 100%; max-width: 500px; justify-self: center; }
  .portrait-stage { height: 440px; border-top-right-radius: 140px; }
  .portrait-stage img { height: 100%; }
  .portrait-note { left: 18px; right: 18px; bottom: 18px; }
  .portrait-note p { font-size: 1.0625rem; max-width: none; }
  .portrait-note > span { font-size: .75rem; }
  .mentor-portrait figcaption span { font-size: .75rem; }

  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-heading h2 { font-size: clamp(2.25rem,7.8vw,3.25rem); }
  .contact-action { max-width: 580px; }
  .contact-action .button { font-size: .9375rem; }
  .about-hero .hero-portrait { width: 100%; max-width: 500px; justify-self: center; }
  .material-list { grid-template-columns: 1fr; gap: 36px; }
  .material-list .article-card :is(h2, h3) { font-size: 1.625rem; }
}
@media (max-width: 600px) {
  html { --header-height: 69px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .wordmark { font-size: 1.5rem; }
  .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .mobile-menu nav { left: -20px; right: -20px; padding-inline: 20px; }
  .mobile-contact { padding: 9px 11px; font-size: .75rem; }
  .mobile-menu summary { border: 1px solid var(--line); border-radius: 8px; }
  .hero { padding-block: 34px 28px; }
  .hero h1 { font-size: clamp(2.25rem,8.5vw,3.35rem); line-height: 1.14; }
  .hero-eyebrow { font-size: .6875rem; padding: 6px 9px; margin-bottom: 23px; }
  .hero-description { margin-top: 22px; font-size: .9375rem; }
  .hero-actions { gap: 10px; margin-top: 26px; flex-direction: column; align-items: stretch; }
  .hero-actions .button { min-height: 56px; font-size: .9375rem; padding-inline: 18px; }
  .hero-actions .text-link { justify-content: center; min-height: 44px; font-size: .875rem; }
  .hero-note { margin-top: 10px; font-size: .6875rem; text-align: center; }

  .portrait-stage { height: 395px; border-radius: 20px 105px 20px 20px; }

  .portrait-note { left: 15px; right: 15px; bottom: 15px; padding: 15px 17px; }
  .portrait-note p { font-size: 1rem; }
  .portrait-note > span { font-size: .6875rem; }

  .section { padding-block: 60px; }
  .eyebrow { font-size: .6875rem; letter-spacing: .08em; margin-bottom: 18px; }
  h1 { font-size: clamp(2.5rem,9vw,3.4rem); }
  h2 { font-size: clamp(1.9rem,7.7vw,2.5rem); line-height: 1.18; }
  .section-heading { margin-bottom: 30px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { justify-self: start; max-width: 460px; font-size: .9375rem; }

  .format-meta { font-size: .75rem; margin-top: 20px; }

  .price-note { grid-template-columns: 1fr; gap: 15px; padding-top: 24px; }
  .price-note :is(h2, h3) { font-size: 1.3125rem; }
  .price-note .text-link { grid-column: auto; font-size: .8125rem; }
  .about-preview { grid-template-columns: 1fr; gap: 32px; }
  .about-statement { font-size: 1.625rem; margin-block: 23px 20px; }
  .about-foot { gap: 22px 28px; }
  .education-fact { border-left: 1px solid var(--line); padding-left: 20px; }
  .company-logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .company-logos li { padding: 18px 14px; }
  .company-logos li:last-child:nth-child(odd) { grid-column: 1/-1; }
  .company-logos img { height: 44px; }
  .company-logos .company-logo-t1 img { height: 80px; }
  .companies-section { padding-bottom: 55px; }

  .process-grid { grid-template-columns: 1fr; gap: 27px; }
  .process-step { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px 18px; padding-top: 23px; }
  .step-number { grid-row: 1/3; margin: 0; }
  .process-step h3 { font-size: 1.1875rem; margin: 2px 0 0; }
  .process-step p { grid-column: 2; font-size: .875rem; }
  .heading-with-link { display: block; }
  .heading-with-link .text-link { margin-top: 16px; font-size: .8125rem; }
  .article-grid { grid-template-columns: 1fr; gap: 33px; }
  .article-card :is(h2, h3) { font-size: 1.4375rem; }
  .article-card p { font-size: .9375rem; }
  .faq-section { grid-template-columns: 1fr; gap: 28px; }
  .faq-list summary { font-size: .9375rem; padding-block: 22px; }
  .faq-list details p { padding-right: 15px; font-size: .875rem; }
  .contact-inner { padding-block: 52px; gap: 30px; }
  .contact-heading h2 { font-size: clamp(2.15rem,8.4vw,2.9rem); }
  .contact-heading .eyebrow { margin-bottom: 23px; }
  .contact-action { padding: 23px 21px; }
  .contact-action > p { font-size: .875rem; }
  .message-example { padding: 16px; margin-block: 20px; }
  .message-example > p { font-size: .75rem; }
  .contact-action .button { font-size: .8125rem; padding-inline: 14px; }
  .contact-action .contact-note { font-size: .6875rem; }
  .email-link { font-size: .6875rem; }
  .site-footer { padding-block: 27px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { justify-content: flex-start; gap: 6px 20px; }
  .footer-links a { font-size: .6875rem; }
  .about-hero .hero-note { text-align: left; font-size: .8125rem; }
  .hero-portrait img { height: 410px; padding-top: 10px; }
  .hero-portrait { border-radius: 20px 105px 20px 20px; }
  .hero-portrait figcaption { left: 15px; bottom: 15px; right: 15px; font-size: .6875rem; }
  .story-section, .career-item, .principle-grid, .boundary-note { grid-template-columns: 1fr; }
  .story-section { gap: 27px; }
  .story-section .prose { font-size: 1rem; }
  .career-item { gap: 19px; padding-block: 28px; }
  .career-item h3 { font-size: 1.5rem; }
  .career-text, .principle p { font-size: .9375rem; }
  .principle-grid { gap: 28px; }
  .principle h3 { font-size: 1.3125rem; }
  .boundary-note { gap: 23px; padding-bottom: 60px; }
  .boundary-note h2 { font-size: 1.75rem; }
  .boundary-note p { font-size: .9375rem; }
  .page-intro { padding-block: 44px; }
  .material-list { padding-bottom: 45px; }
  .material-list .article-card :is(h2, h3) { font-size: 1.5rem; }
  .reading-note { grid-template-columns: 1fr; gap: 20px; padding-block: 33px 50px; }
  .reading-mark { display: none; }
  .reading-note > .text-link { grid-column: auto; }
  .reading-note h2 { font-size: 1.4375rem; }
  .reading-note p { font-size: .9375rem; }
  .article-page { padding-block: 27px 55px; }
  .breadcrumb { font-size: .8125rem; margin-bottom: 28px; }
  .article-header { margin-bottom: 30px; padding-bottom: 25px; }
  .article-header h1 { font-size: clamp(2rem,7.7vw,2.8rem); line-height: 1.22; }
  .article-lead { font-size: 1.0625rem; margin-top: 22px; }
  .article-body { font-size: 1rem; line-height: 1.9; }
  .article-body h2 { font-size: 1.625rem; margin-top: 36px; }
  .article-body blockquote { font-size: 1.125rem; padding: 16px 20px; margin-block: 28px; }
  .article-bottom { margin-top: 35px; gap: 12px; }
  .article-bottom .text-link { font-size: .8125rem; }
  .not-found { padding-block: 60px 80px; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active, .mobile-contact:active, .header-cta:active, .text-link:hover > .icon, .button:hover > .icon { transform: none; }
}
@media (forced-colors: active) {
  .button, .mobile-contact, .header-cta { border: 1px solid ButtonText; }
  .eyebrow::before { background: CanvasText; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --text: #111; --muted: #333; --accent: #222; }
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .contact-section, .skip-link, .breadcrumb, .article-bottom, .hero-actions, .hero-portrait, .mentor-portrait, .reading-note { display: none; }
  .container { width: 100%; max-width: none; }
  .section, .article-page, .page-intro { padding-block: 20px; }
  .hero { display: block; padding: 0; }
  .surface-section { --text: #111; --muted: #333; --accent: #222; background: #fff; color: #111; }

  .hero-accent, .article-body, .article-lead, .article-meta { color: #222; }
  h1 { font-size: 32pt; }
  h2 { font-size: 22pt; }
  h2, h3 { break-after: avoid; }
  .career-item { break-inside: avoid; }
}

/* Подробные форматы и редакционные блоки. */
.page-home .hero h1 { font-size: clamp(2.375rem, 5vw, 4.4rem); line-height: 1.1; }
.page-home .hero-description { max-width: 470px; line-height: 1.7; }
.page-home .hero-note { max-width: 440px; }
.credibility { display: grid; grid-template-columns: 1fr 2.1fr; gap: 40px; padding-block: 32px; border-block: 1px solid var(--line); }
.credibility h2 { font-size: .8125rem; letter-spacing: 0; line-height: 1.5; color: var(--muted); text-wrap: pretty; font-weight: 500; }
.credibility-lead p { display: flex; gap: 14px; align-items: center; margin-top: 10px; font-size: .875rem; }
.credibility-lead strong { font-size: 3rem; line-height: 1; letter-spacing: -.05em; color: var(--accent); }
.credibility-facts { display: grid; grid-template-columns: .85fr 1.2fr 1fr; align-items: start; gap: 28px; padding: 0; list-style: none; }
.credibility-facts li { border-left: 1px solid var(--line); padding-left: 22px; }
.credibility-facts strong { display: block; font-size: .9375rem; line-height: 1.45; font-weight: 650; }
.credibility-facts span { display: block; margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.learning-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; padding: 0; list-style: none; }
.learning-results > li { border-top: 1px solid var(--line); padding-top: 20px; }
.margin-number { color: var(--accent); font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.learning-results h3 { font-size: 1.375rem; margin-block: 20px 14px; line-height: 1.3; }
.learning-results p { color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.format-list { border-top: 1px solid var(--line); }
.format-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; padding-block: 38px; }
.format-row + .format-row { border-top: 1px solid var(--line); }
.format-heading:target h2 { color: var(--accent); }
.format-kicker { font-size: .75rem; color: var(--muted); margin-bottom: 22px; font-weight: 600; }
.format-heading :is(h2, h3) { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.18; max-width: 420px; }
.format-body > p, .plain-points { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.plain-points { padding-left: 20px; margin-top: 18px; }
.plain-points li + li { margin-top: 8px; }
.plain-points li::marker { color: var(--accent); }
.content-steps li + li { margin-top: 16px; }
.content-steps li { padding-left: 6px; }
.format-body > p, .format-body > ul, .format-body > ol { max-width: 65ch; }
.format-body > p + p { margin-top: 16px; }
.approach-principles .principle p + p { margin-top: 14px; }
.format-body .text-link { margin-top: 22px; color: var(--accent); }
.intensive { --text: #f5f6f8; --muted: #bac2cf; --line: #3b424e; --accent: #b6c7ff; --focus: #b6c7ff; background: var(--graphite-bg); color: var(--text); padding: 38px; border-radius: 16px; margin-block: 6px; }
.intensive-numbers { display: flex; gap: 24px 38px; flex-wrap: wrap; margin: 28px 0 0; }
.intensive-numbers dt { font-size: .75rem; color: var(--muted); }
.intensive-numbers dd { margin: 5px 0 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -.025em; }
.format-body .pilot-note { font-size: .8125rem; margin-top: 22px; }
.price-note { border-top: 1px solid var(--line); margin-top: 0; }
.practice-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 85px; }
.project-note { padding: 0 0 0 22px; border-left: 3px solid var(--accent); margin-top: 35px; }
.annotation { color: var(--accent); font-size: .75rem; font-weight: 650; margin-bottom: 14px; }
.annotation::before { content: '// '; }
.project-note h3 { font-size: 1.375rem; line-height: 1.35; margin-bottom: 12px; }
.project-note > p:not(.annotation) { line-height: 1.8; }
.project-note > span { display: block; margin-top: 12px; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.practice-steps { padding: 0; list-style: none; }
.practice-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding-block: 25px; border-top: 1px solid var(--line); }
.practice-steps .margin-number { padding-top: 3px; }
.practice-steps h3 { font-size: 1.375rem; line-height: 1.3; margin-bottom: 12px; }
.practice-steps p { color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.fit-section { border-top: 1px solid var(--line); }
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; }
.fit-columns > div { border-top: 2px solid var(--accent); padding-top: 25px; }
.fit-columns > div + div { border-color: #9ca2a6; }
.fit-columns h3 { font-size: 1.4375rem; margin-bottom: 25px; }
.fit-list { display: grid; gap: 18px; padding-left: 20px; color: var(--muted); line-height: 1.8; font-size: .9375rem; }
.fit-list li::marker { color: var(--accent); }
.fit-columns > div + div li::marker { color: var(--muted); }
.speaking-note { margin-top: 28px; font-size: .8125rem; color: var(--muted); }
.article-card :is(h2, h3) a, .footer-name { display: inline-flex; align-items: center; min-height: 44px; }
.faq-list summary { min-height: 56px; }
.career-item > *, .practice-section > *, .fit-columns > *, .format-row > * { min-width: 0; }

@media (max-width: 1000px) {
  .credibility { grid-template-columns: 1fr; gap: 25px; }
  .credibility-lead { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .credibility-lead p { margin-top: 0; }
  .credibility-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .credibility-facts li:first-child { border: 0; padding-left: 0; }
  .learning-results { gap: 26px; }
  .format-row { gap: 35px; }
  .intensive { padding: 28px; }
  .practice-section { gap: 40px; }
  .fit-columns { gap: 40px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .page-home .hero h1 { font-size: 2.625rem; }
}
@media (max-width: 700px) {
  .page-home .hero h1 { font-size: clamp(2.375rem, 8.4vw, 3.75rem); }
  .page-home .hero-note { text-align: left; font-size: .75rem; }
  .mentor-portrait figcaption span { font-size: .75rem; }
  .credibility { padding-block: 26px; }
  .credibility-lead { display: block; }
  .credibility-lead p { margin-top: 16px; }
  .credibility-facts { grid-template-columns: 1fr; gap: 20px; }
  .credibility-facts li, .credibility-facts li:first-child { border: 0; border-top: 1px solid var(--line); padding: 17px 0 0; }
  .credibility-facts span { margin-top: 4px; }
  .learning-results { grid-template-columns: 1fr; gap: 28px; }
  .learning-results h3 { margin-top: 12px; }
  .format-row { grid-template-columns: 1fr; gap: 24px; padding-block: 30px; }
  .format-heading :is(h2, h3) { font-size: 1.875rem; }
  .format-kicker { margin-bottom: 15px; }
  .format-body > p, .plain-points { font-size: .9375rem; }
  .intensive { padding: 26px 23px; }
  .intensive-numbers { gap: 20px 25px; }
  .intensive-numbers dd { font-size: 1.25rem; }
  .practice-section, .fit-columns { grid-template-columns: 1fr; gap: 35px; }
  .practice-steps li:last-child { padding-bottom: 0; }
  .fit-columns h3 { font-size: 1.375rem; }
  .about-foot { gap: 22px 28px; }
  .about-foot .text-link { flex-basis: 100%; }
}
@media print {
  .credibility, .practice-section, .format-row, .fit-columns { display: block; }
  .intensive, .about-surface { --text: #111; --muted: #333; --accent: #222; color: #111; background: #fff; }
  .format-body .text-link { display: none; }
  .format-row { break-inside: avoid; }
}

/* Персональная главная: краткие форматы и знакомые ситуации. */
.hero-outcomes { display: flex; flex-wrap: wrap; gap: 10px 25px; list-style: none; padding: 24px 0 0; margin-top: 25px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.hero-outcomes li::before { content: '↗'; color: var(--accent); margin-right: 8px; }
.about-followup { margin-top: 18px; }
.request-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.request-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--request-bg); transition: border-color .2s ease; }
.request-card:nth-child(2) { background: var(--request-secondary-bg); }
.request-card:nth-child(3) { background: var(--request-accent-bg); }
.request-card:hover { border-color: var(--request-hover-line); }
.request-icon { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 10px; background: var(--request-icon-bg); color: var(--request-icon-text); margin-bottom: 25px; }
.request-card:nth-child(2) .request-icon { background: var(--request-secondary-icon-bg); }
.request-card:nth-child(3) .request-icon { background: var(--request-accent-icon-bg); color: var(--accent); }
.request-card h3 { font-size: 1.375rem; line-height: 1.35; margin-bottom: 16px; text-wrap: pretty; }
.request-card p { color: var(--muted); font-size: .9375rem; line-height: 1.8; margin-bottom: 22px; }
.request-link { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; font-size: .8125rem; line-height: 1.5; font-weight: 650; }
.request-card:hover .request-link { color: var(--accent); }
.format-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.format-preview-card { display: flex; flex-direction: column; min-width: 0; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.format-preview-card.featured { --text: #f5f6f8; --muted: #bac2cf; --line: #444d5b; --accent: #b6c7ff; --focus: #b6c7ff; background: var(--featured-bg); color: var(--text); border-color: var(--featured-bg); }
.format-preview-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .75rem; color: var(--muted); margin-bottom: 26px; }
.format-preview-top .icon { color: var(--accent); }
.format-preview-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; margin-bottom: 18px; max-width: 420px; }
.format-preview-card > p { color: var(--muted); font-size: .9375rem; line-height: 1.8; margin-bottom: 25px; }
.format-preview-card .text-link { justify-content: space-between; width: 100%; padding-top: 15px; border-top: 1px solid var(--line); margin-top: auto; color: var(--accent); }
.approach-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 85px; border-top: 1px solid var(--line); }
.approach-note { margin: 32px 0 22px; padding-left: 22px; border-left: 3px solid var(--accent); max-width: 410px; }
.approach-note > p:last-child { font-size: 1.1875rem; line-height: 1.8; letter-spacing: -.02em; }
.approach-principles { display: grid; gap: 28px; }
.approach-principles .principle h3 { font-size: 1.25rem; }
.approach-principles .principle p { font-size: .9375rem; }
.experience-strip { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 45px; padding-block: 34px; border-top: 1px solid var(--line); margin-bottom: 70px; }
.experience-strip h2 { font-size: 1.25rem; line-height: 1.5; letter-spacing: -.025em; text-wrap: pretty; }
.experience-facts { display: flex; gap: 35px; justify-content: center; margin: 0; }
.experience-facts > div { display: flex; flex-direction: column; gap: 10px; }
.experience-facts dt { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.experience-facts dd { order: -1; margin: 0; font-size: 2.75rem; line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--accent); }
.experience-strip > p { color: var(--muted); font-size: .875rem; line-height: 1.8; }
.format-index { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.format-index .text-link { font-size: .875rem; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.format-body h3 { font-size: 1.25rem; line-height: 1.4; margin-block: 26px 12px; }
.format-body > h3:first-child { margin-top: 0; }
.page-formats main > .format-list:last-child { padding-bottom: 76px; }
.page-companies .contact-action > .button { margin-top: 24px; }
@media (max-width: 1000px) {
  .request-card { padding: 23px; }
  .request-card h3 { font-size: 1.25rem; }
  .format-preview-card { padding: 28px; }
  .approach-section { gap: 40px; }
  .experience-strip { grid-template-columns: 1fr 1.3fr; gap: 25px 35px; }
  .experience-strip > p { grid-column: 1/-1; max-width: 600px; }
}
@media (max-width: 700px) {
  .request-grid, .approach-section { grid-template-columns: 1fr; }
  .request-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px 18px; }
  .request-icon { grid-row: 1/4; width: 40px; height: 40px; margin: 0; }
  .request-card h3, .request-card p { margin: 0; }
  .request-card h3 br { display: none; }
  .request-link { grid-column: 2; margin-top: 8px; }
  .format-preview-grid { grid-template-columns: 1fr; gap: 18px; }
  .format-preview-card { padding: 25px 23px; }
  .format-preview-card h3 { font-size: 1.75rem; }
  .hero-outcomes { gap: 9px 20px; font-size: .75rem; margin-top: 22px; padding-top: 20px; }
  .experience-strip { grid-template-columns: 1fr; margin-bottom: 30px; gap: 28px; }
  .experience-facts { justify-content: flex-start; gap: 50px; }
  .experience-strip > p { grid-column: auto; }
  .approach-intro .text-link { font-size: .875rem; }
  .page-formats main > .format-list:last-child { padding-bottom: 55px; }
  .format-index { gap: 5px 20px; }
}
@media print {
  .format-preview-card.featured { --text: #111; --muted: #333; --accent: #222; background: #fff; color: #111; }
  .approach-section, .experience-strip { display: block; }
  .request-card, .format-preview-card { break-inside: avoid; }
}

/* Theme: a reserved desktop slot, an overlay panel, and native mobile radios. */
.theme-desktop { position: relative; flex: 0 0 64px; height: 48px; }
.theme-toggle { min-width: 64px; min-height: 48px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: transparent; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.theme-toggle:hover, .theme-toggle:active, .theme-toggle[aria-expanded="true"] { background: var(--surface); border-color: var(--accent); }
.theme-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 232px; max-width: calc(100vw - 40px); padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: 0 12px 28px var(--overlay-shadow); }
.theme-options { margin: 0; padding: 0; border: 0; min-width: 0; }
.theme-options legend { padding: 0 0 8px; color: var(--muted); font-size: .75rem; font-weight: 600; }
.theme-options label { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid transparent; border-radius: 8px; font-size: .875rem; line-height: 1.5; cursor: pointer; }
.theme-options label + label { margin-top: 4px; }
.theme-options label span { min-width: 0; overflow-wrap: anywhere; }
.theme-options label:hover { background: var(--surface); }
.theme-options label:has(input:checked), .theme-options label:active { color: var(--text); background: var(--message-bg); border-color: var(--accent); }
.theme-options input { margin: 0; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--accent); cursor: pointer; }
.theme-options label:focus-within { outline: 3px solid var(--focus); outline-offset: 0; }
.theme-options input:focus-visible { outline: none; }
.theme-mobile { margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner { gap: 12px; }
  .desktop-nav { gap: 12px; }
}
@media (max-width: 900px) {
  .theme-desktop { display: none; }
}

/* Training catalog: visible outcomes, native disclosures and local navigation. */
.topics-intro { padding-bottom: 32px; }
.topics-intro h1 { max-width: 20ch; }
.topics-page { padding-bottom: 64px; }
.topics-note, .topics-outro { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.topics-note { display: grid; gap: 24px; align-items: start; }
.topics-note h2 { margin-bottom: 20px; font-size: 1.625rem; line-height: 1.25; }
.topics-copy { max-width: 74ch; line-height: 1.8; }
.topics-copy p + p { margin-top: 14px; }
.topics-formats { margin-top: 20px; color: var(--muted); font-size: .9375rem; }
.topics-note .button { justify-self: start; }
.topics-terms { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.75; }
.topics-toc { margin-block: 32px 44px; padding: 20px; border-radius: 12px; background: var(--surface); }
.topics-toc h2 { margin-bottom: 12px; font-size: 1rem; line-height: 1.5; letter-spacing: -.02em; }
.topics-toc ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.topics-toc a { display: flex; align-items: center; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; line-height: 1.5; }
.topics-toc a:hover, .topics-toc a:active { color: var(--accent); background: var(--card); border-color: var(--accent); }
.topics-catalog { display: grid; gap: 48px; }
.topic-group { min-width: 0; }
.topic-group > h2 { margin-bottom: 24px; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.2; }
.topic-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.topic-module { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow-wrap: anywhere; }
.topic-module:target { border-color: var(--accent); }
.topic-module h3 { margin-bottom: 22px; font-size: 1.375rem; line-height: 1.35; letter-spacing: -.025em; }
.topic-facts { margin: 0; font-size: .9375rem; line-height: 1.75; }
.topic-facts > div + div { margin-top: 20px; }
.topic-facts dt { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.topic-facts dd { margin: 6px 0 0; }
.topic-result { padding-left: 14px; border-left: 2px solid var(--accent); }
.topic-details { margin-top: 22px; border-top: 1px solid var(--line); }
.topic-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 4px; list-style: none; border-radius: 6px; font-size: .875rem; line-height: 1.6; font-weight: 600; cursor: pointer; }
.topic-details summary::-webkit-details-marker { display: none; }
.topic-details summary .icon { width: 20px; height: 20px; flex: 0 0 20px; }
.topic-details summary:hover, .topic-details summary:active { color: var(--accent); background: var(--surface); }
.topic-details[open] > summary { color: var(--accent); }
.topic-details[open] > summary .icon { transform: rotate(45deg); }
.topic-content { padding-top: 14px; font-size: .9375rem; line-height: 1.8; }
.topic-content h4 { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 650; }
.topic-content ul { padding-left: 20px; margin-top: 10px; }
.topic-content li + li { margin-top: 6px; }
.topic-content li::marker { color: var(--accent); }
.topic-content ul + h4 { margin-top: 24px; }
.topics-outro { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-top: 48px; }
.topics-outro p { flex: 1 1 400px; font-size: 1.25rem; line-height: 1.6; }
.topics-materials, .topics-promo { display: grid; gap: 18px 32px; align-items: center; }
.topics-materials { margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.topics-promo { padding-block: 24px; margin-bottom: 40px; border-block: 1px solid var(--line); }
.topics-materials h2, .topics-promo h2 { font-size: 1.375rem; line-height: 1.4; margin-bottom: 10px; }
.topics-materials p, .topics-promo p { max-width: 68ch; color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.topics-materials .text-link, .topics-promo .text-link { justify-self: start; min-height: 48px; color: var(--accent); }
@media (min-width: 901px) {
  .topics-intro { padding-bottom: 40px; }
  .topics-note { grid-template-columns: minmax(0, 1fr) auto; padding: 32px; gap: 24px 40px; }
  .topics-terms { grid-column: 1 / -1; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-module { padding: 28px; }
  .topics-catalog { gap: 64px; }
  .topics-materials, .topics-promo { grid-template-columns: minmax(0, 1fr) auto; }
}
