/* Главная (направление C «Яркие блоки»): белый фон, чёрный, томатный (ОЗП) и салатовый (IELTS).
   Белый текст на красном — только крупные заголовки (контраст 3.3:1), основной текст на красном чёрный. */
:root {
  --ink: #111111;
  --ink-2: #4a4a4a;
  --ink-3: #7a7a7a;
  --paper: #ffffff;
  --soft: #f3f3ef;
  --line: #e4e4de;
  --red: #ff4d2e;
  --red-soft: #ffe9e4;
  --lime: #c6f432;
  --lime-soft: #f1fccf;
  --radius: 28px;
  --display: "Unbounded", "Manrope", "Segoe UI", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.display { font-family: var(--display); letter-spacing: -0.03em; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; border-radius: 14px; padding: 16px 26px; font-size: 16px; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 11px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 0 6px 0 var(--lime); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { box-shadow: 0 6px 0 var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.arrow::after { content: "→"; display: inline-block; transition: transform .15s; }
.btn:hover .arrow::after, a:hover .arrow::after { transform: translateX(3px); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-size: 15px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-right .login { font-size: 15px; font-weight: 700; text-decoration: none; }

/* HERO */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.16; letter-spacing: -0.035em; margin: 0 0 22px; }
.hl { padding: 0 .14em; border-radius: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-red { background: var(--red); color: #fff; }
.hl-lime { background: var(--lime); }
.hero p.lead { font-size: 20px; color: var(--ink-2); max-width: 560px; margin: 0 0 32px; text-wrap: pretty; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); }

/* Стопка карточек интерфейса справа */
.stack { position: relative; height: 560px; }
.card-ui { position: absolute; width: 330px; border-radius: 22px; padding: 20px; font-size: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.14); }
.card-q { background: #fff; border: 2px solid var(--ink); top: 10px; left: 0; transform: rotate(-4deg); z-index: 1; }
.card-b { background: var(--ink); color: #fff; right: 0; top: 250px; transform: rotate(3deg); z-index: 2; }
.ui-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.tag { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.tag-red { background: var(--red); color: #fff; }
.tag-lime { background: var(--lime); color: var(--ink); }
.timer { font-family: var(--display); font-size: 13px; }
.q { font-weight: 800; font-size: 15px; line-height: 1.35; margin-bottom: 12px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; margin-bottom: 7px; font-weight: 600; }
.opt i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c8c8c0; flex-shrink: 0; }
.opt.ok { border-color: var(--ink); background: var(--lime); }
.opt.ok i { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px var(--lime); }
.band { display: flex; align-items: flex-end; gap: 12px; margin: 4px 0 14px; }
.band b { font-family: var(--display); font-size: 64px; line-height: .9; color: var(--lime); }
.band span { color: #aaa; font-size: 13px; font-weight: 600; line-height: 1.3; }
.crit { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.crit .bar { grid-column: 1/-1; height: 6px; border-radius: 6px; background: #2a2a2a; overflow: hidden; }
.crit .bar i { display: block; height: 100%; background: var(--lime); border-radius: 6px; }

/* ПЛИТКИ ПРОДУКТОВ */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 40px 38px 38px; min-height: 380px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .2s ease; }
.tile:hover { transform: translateY(-4px); }
.tile h2 { font-family: var(--display); font-size: clamp(40px, 5vw, 60px); line-height: 1; margin: 0; letter-spacing: -0.03em; }
.tile .for { font-weight: 700; font-size: 17px; max-width: 340px; }
.tile ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; font-weight: 600; }
.tile li { display: flex; gap: 10px; }
.tile li::before { content: "✓"; font-weight: 800; }
.tile .go { margin-top: auto; align-self: flex-start; }
.tile .big { position: absolute; right: 28px; bottom: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; opacity: .16; pointer-events: none; }
.t-ozp { background: var(--red); color: var(--ink); }
.t-ozp h2 { color: #fff; }
.t-ozp .big { color: #fff; opacity: .28; }
.t-ielts { background: var(--ink); color: #fff; }
.t-ielts li::before { color: var(--lime); }
.t-ielts .big { color: #fff; }

/* ЦИФРЫ */
.stats { background: var(--lime); margin-top: 88px; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }
.stat span { font-weight: 700; font-size: 15px; }

/* СЕКЦИИ */
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -0.035em; margin: 0; max-width: 760px; text-wrap: balance; }
.head p { margin: 10px 0 0; color: var(--ink-2); font-size: 19px; max-width: 560px; }
.head .link { font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--lime); padding-bottom: 2px; white-space: nowrap; }
.head.ozp .link { border-color: var(--red); }

/* BENTO */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.cell { border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; position: relative; overflow: hidden; }
.cell h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.cell p { margin: 0; font-size: 16px; line-height: 1.5; opacity: .85; }
.cell .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; }
.cell .ico svg { width: 26px; height: 26px; }
.span-2 { grid-column: span 2; }
.c-white { background: #fff; }
.c-outline { background: #fff; border: 2px solid var(--ink); }
.c-ink { background: var(--ink); color: #fff; }
.c-red { background: var(--red-soft); }
.c-lime { background: var(--lime); }
.c-limesoft { background: var(--lime-soft); }
.ico-ink { background: var(--ink); color: var(--lime); }
.ico-red { background: var(--red); color: #fff; }
.ico-lime { background: var(--lime); color: var(--ink); }

.exam-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.exam-timer { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 80px); line-height: 1; letter-spacing: -0.04em; color: var(--red); }
.dots { display: grid; grid-template-columns: repeat(10, 14px); gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 4px; background: #fff; border: 2px solid var(--ink); }
.dots i.ok { background: var(--lime); }
.dots i.bad { background: var(--red); }
.fix { margin-top: auto; font-weight: 600; font-size: 15px; background: #222; border-radius: 14px; padding: 12px 14px; color: #ddd; }
.fix s { color: var(--red); text-decoration-thickness: 2px; }
.fix b { color: var(--lime); }
.words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.words span { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 5px 10px; font-weight: 700; font-size: 14px; }
.words span.due { background: var(--ink); color: var(--lime); }
.wave { display: flex; align-items: center; gap: 4px; height: 44px; margin-top: auto; }
.wave i { width: 6px; border-radius: 3px; background: var(--ink); }
.tm-note { margin-top: 28px; font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ШАГИ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step { border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; background: #fff; }
.step .n { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 18px; }
.step:nth-child(2) .n { color: var(--lime); }
.step h3 { font-family: var(--display); font-size: 21px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ОТЗЫВЫ */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.review { margin: 0; border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; background: #fff; }
.review::before { content: "“"; font-family: var(--display); font-weight: 800; font-size: 72px; line-height: .6; color: var(--red); height: 30px; }
.review:nth-child(2)::before { color: var(--ink); }
.review:nth-child(3)::before { color: #9dc21a; }
.review q { quotes: none; font-size: 17px; font-weight: 600; line-height: 1.5; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.review figcaption b { display: block; color: var(--ink); font-size: 15px; }

/* ЦЕНА */
.price-wrap { padding: 104px 16px 0; }
.price { background: var(--ink); color: #fff; border-radius: 40px; padding: 88px 0; text-align: center; }
.price .eyebrow { font-weight: 800; color: var(--lime); letter-spacing: .06em; text-transform: uppercase; font-size: 14px; margin: 0 0 14px; }
.price .amount { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 12vw, 160px); line-height: .95; letter-spacing: -0.05em; margin: 0; white-space: nowrap; }
.price .amount em { font-style: normal; color: var(--lime); }
.price .per { font-size: 20px; color: #bdbdbd; margin: 14px 0 30px; }
.price ul { list-style: none; padding: 0; margin: 0 auto 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.price li { border: 1.5px solid #3a3a3a; border-radius: 99px; padding: 7px 14px; font-weight: 700; font-size: 15px; }
.price .actions { justify-content: center; }
.price .phone { margin-top: 18px; color: #9a9a9a; font-weight: 600; font-size: 15px; }

/* ПОДВАЛ */
.footer { padding: 40px 0 44px; color: var(--ink-3); font-size: 14px; }
.footer .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.footer button:hover { color: var(--ink); text-decoration: underline; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile { transition: none; }
}
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0,1fr); padding: 40px 0 56px; }
  .stack { max-width: 460px; width: 100%; margin: 0 auto; }
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 28px; }
  .steps, .reviews { grid-template-columns: minmax(0,1fr); }
  .tile .big { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .tiles, .bento, .steps, .reviews { grid-template-columns: minmax(0,1fr); }
  .span-2 { grid-column: auto; }
  .tile { min-height: 0; padding: 32px 26px 28px; }
  .section { padding: 72px 0; }
  .hero p.lead { font-size: 18px; }
  .actions .btn { width: 100%; }
  .hero { overflow-x: clip; }
  .nav .wrap { gap: 12px; padding: 0 16px; }
  .nav-right { gap: 12px; }
  .stack { height: auto; padding: 8px 6px 12px; }
  .card-ui { position: relative; top: auto; left: auto; right: auto; width: 88%; }
  .card-b { margin: -28px 0 0 auto; }
  .tile .big { display: block; bottom: auto; top: 26px; }
  .price-wrap { padding: 72px 10px 0; }
  .price { border-radius: 28px; padding: 64px 0; }
  .stats { margin-top: 64px; }
  .dots { grid-template-columns: repeat(10, 12px); gap: 5px; }
  .dots i { width: 12px; height: 12px; }
}
@media (max-width: 380px) {
  .nav-right .login { display: none; }
}
