@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/brand/fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/brand/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/brand/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/brand/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url(/brand/fonts/playfairdisplay-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url(/brand/fonts/playfairdisplay-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url(/brand/fonts/playfairdisplay-latin.woff2) format('woff2');
  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;
}
/* Брендбук 2.3 поверх сайта Codex (20.11.2026). Цвета и шрифты меняет nginx sub_filter,
   здесь – то, что заменой не сделать: начертания, размеры Playfair, фоны-свечения, кнопки. */
h1,h2,h3,.main-price,.hero-price strong,.large-copy,.section-cta p,.hero-bottom p,
.story-copy blockquote,.nonfinancial-results>p,.workbook-final>p,.school-mission blockquote{
  font-weight:700;font-variant-numeric:lining-nums;letter-spacing:-.01em;font-style:normal}
.hero h1{font-weight:800;font-size:clamp(56px,6.2vw,92px);line-height:1}
h2{line-height:1.12}
.school-mission blockquote{font-size:clamp(32px,3.6vw,50px);line-height:1.2}
.main-price{font-size:64px;line-height:1}
.hero-price strong{font-size:42px}
.large-copy{font-size:32px;line-height:1.2}
.section-cta p,.hero-bottom p,.story-copy blockquote,.nonfinancial-results>p{font-size:25px;line-height:1.25}
.workbook-final>p{font-size:32px}
@media (max-width:640px){
  .hero h1{font-size:clamp(42px,12vw,58px)}
  h2{font-size:32px}
  .main-price{font-size:52px}
  .school-mission blockquote{font-size:30px}
  .large-copy{font-size:27px}
}
/* тёмные блоки (21.11 правка после разбора цвета): медь поверх индиго давала грязный бордово-коричневый,
   поэтому фон – только ночь и индиго со светом индиго; медь – акценты (кнопки, слова, эмблема) */
.hero{background:radial-gradient(60% 80% at 0% 0%,#2a1c8e66,#0000 70%),linear-gradient(160deg,#140e3d 0%,#140e3d 60%,#1b1460 100%)}
.bonus-section,.final-section{background:radial-gradient(28% 50% at 85% 50%,#e9832f1f,#0000 70%),radial-gradient(70% 90% at 0% 0%,#2a1c8e80,#0000 70%),#140e3d}
.school-mission{background:radial-gradient(55% 75% at 50% 110%,#3b2db399,#0000 70%),#140e3d}
.hero-visual:after{background:linear-gradient(#0000,#140e3de6)}
/* фото на первом экране: серо-чёрный фон снимка (#131318) спорил с фиолетовой ночью. Слой «осветление» цветом ночи
   делает все тёмные места снимка ночными (#140E3D), а лицо и одежду почти не трогает */
.hero-portrait{isolation:isolate}
.hero-portrait:after{content:"";position:absolute;inset:0;pointer-events:none;background:#140e3d;mix-blend-mode:lighten}
.enrollment-closed-badge{background:#ffffff0f!important;border-color:#ffffff2e!important;border-radius:10px}
/* медный текст на светлом – один тон #AE4F08 (контраст 5,4) */
.eyebrow,.quality-standard .eyebrow{color:#ae4f08}
.on-dark .eyebrow,.hero .eyebrow,.school-mission .mission-eyebrow{color:#e9832f}
/* знак «Школа, которую рекомендуют» */
.enversiya-seal{display:inline-block;line-height:0;flex:0 0 auto}
.enversiya-seal svg{display:block;filter:drop-shadow(0 6px 18px #140e3d33)}
.standard-seal{display:flex;align-items:center;gap:28px;margin:0 0 40px;padding:24px 28px;border:1px solid var(--line);border-radius:24px;background:#f7f7f9}
.standard-seal p{margin:0;color:var(--muted);font-size:18px;line-height:1.5;max-width:560px}
.standard-seal b{display:block;font-family:"Playfair Display",Georgia,serif;font-weight:700;font-size:28px;line-height:1.2;color:#2a1c8e;margin-bottom:6px;font-variant-numeric:lining-nums}
.hero-seal{display:inline-flex;align-items:center;gap:12px;margin-left:24px;vertical-align:middle;text-decoration:none;color:#ffffffd9;font-size:13px;line-height:1.35;font-weight:600}
.hero-seal:hover span{color:#e9832f}
.hero-seal .enversiya-seal svg{filter:none}
@media (max-width:640px){
  .standard-seal{flex-direction:column;text-align:center;padding:24px 18px}
  .standard-seal b{font-size:24px}
  .hero-seal{margin:16px 0 0;display:flex}
}
/* кнопки и плашки */
.button{border-radius:14px;min-height:48px}
.previous-price .price-discount{color:#111318}
.enrollment-closed-badge{border-radius:10px}
.cookie-consent-accept,.cookie-consent-necessary{border-radius:14px}
/* брендбук: без курсива; акцент в заголовке на тёмном – медью */
h1 em,h2 em,h3 em,h1 i,h2 i,h3 i,blockquote em{font-style:normal}
.on-dark h2 em,.final-section h2 em,.bonus-section h2 em{color:#e9832f}
/* Стандарт качества (21.11.2026) */
.quality-standard{border-top:1px solid var(--line)}
.quality-standard__lead{max-width:760px;color:var(--muted);font-size:19px;line-height:1.55;margin:-8px 0 32px}
.quality-standard .situation{border-radius:20px;background:#fff}
.quality-standard .situation p a{color:var(--violet);text-decoration:underline;text-underline-offset:3px}
.quality-standard .recognition-note{font-variant-numeric:lining-nums}
@media (max-width:640px){.quality-standard__lead{font-size:17px;margin-bottom:24px}}
.quality-standard .recognition-note{max-width:none}

/* 23.11 бесплатный урок – главная кнопка первого экрана, лист ожидания – контурная */
.hero .free-lesson-btn{margin-right:12px}
.hero .waitlist-secondary{background:transparent!important;color:#e9832f!important;border:1px solid #e9832f99!important}
.hero .button{white-space:nowrap}
.hero-seal{display:flex;flex-basis:100%;width:100%;margin:18px 0 0!important}
.hero :has(> .free-lesson-btn){flex-wrap:wrap;row-gap:0}
.hero-seal span{white-space:nowrap}
.hero .waitlist-secondary:hover{border-color:#e9832f!important;background:#e9832f14!important}
@media (max-width:640px){.hero .free-lesson-btn{margin:0 0 10px}}
