@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&family=Caveat:wght@500;700&display=swap');

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #16202b;
  --text: #2f3640;
  --muted: #5b6470;
  --line: #e6e3dc;
  --dou: #6fa830; --dou-ink: #4a7a17; --dou-soft: #eef6e2;
  --school: #f08c00; --school-ink: #a85b00; --school-soft: #fff1dc;
  --spo: #2aa3b3; --spo-ink: #157886; --spo-soft: #e2f4f6;
  --vuz: #1570ef; --vuz-ink: #0f56b8; --vuz-soft: #e5efff;
  --hand: 'Caveat', 'Comic Sans MS', cursive;
  --teal: #37adbd;
  --teal-ink: #1d7f8c;
  --teal-soft: #e4f5f7;
  --orange: #ff8562;
  --orange-strong: #f2693f;
  --cream: #fff3e0;
  --navy: #14202e;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(30, 43, 58, .04), 0 8px 24px rgba(30, 43, 58, .07);
  --shadow-hover: 0 4px 12px rgba(30, 43, 58, .06), 0 18px 44px rgba(30, 43, 58, .11);
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Onest, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 44rem; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--teal-soft); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* шапка */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 246, 242, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.brand img { width: 24px; height: 25px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: .95rem; transition: background .15s var(--ease); }
.nav a:hover { background: #eaeef2; }
.nav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-ink); font-weight: 500; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s var(--ease), opacity .2s; }
.top.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.open .burger span:nth-child(2) { opacity: 0; }
.top.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 Onest, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--orange); color: #2a1a12; }
.btn-primary:hover { background: var(--orange-strong); color: #fff; box-shadow: 0 6px 18px rgba(242, 105, 63, .28); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfd6de; box-shadow: var(--shadow); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* секции */
section { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 48rem; }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.alt { background: var(--surface); }

/* hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; gap: 24px; }
.hero-mark { display: inline-flex; align-items: center; gap: 12px; }
.hero-mark img { height: 34px; width: auto; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; align-items: center; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.trust li::before { content: ''; width: 18px; height: 18px; flex: none; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7f8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; border-radius: 50%; }
ul.clean, ol.clean { list-style: none; padding: 0; margin: 0; }

/* сетки и карточки */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; display: grid; gap: 10px; align-content: start;
}
.alt .card { background: var(--bg); }
.card p { color: var(--muted); font-size: .98rem; }
.card ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .98rem; display: grid; gap: 4px; }
a.card { text-decoration: none; color: inherit; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
a.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: transparent; }
.card .num { font-size: .82rem; font-weight: 600; color: var(--teal-ink); letter-spacing: .04em; }
.tag { display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-size: .8rem; font-weight: 600; }
.tag-soon { background: var(--cream); color: #8a4b12; }

/* продукты на главной */
.product { padding: 28px; gap: 14px; min-height: 260px; }
.product img { height: 30px; width: auto; }
.product .link-arrow { margin-top: auto; padding-top: 8px; }

/* шаги */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 22px; left: 24px; font-weight: 700; color: var(--teal); font-size: 1rem;
}

/* чипы результатов */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.alt .chips li { background: var(--bg); }

/* роли */
.role h3 { display: flex; align-items: center; gap: 10px; }
.role h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }

/* цифры */
.stat { display: grid; gap: 4px; }
.stat b { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; }

/* тарифы */
.prices { align-items: stretch; }
.price { padding: 28px; gap: 14px; }
.price.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.price .amount { font-size: 2.2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price ul { padding-left: 1.1em; }
.price .btn { margin-top: auto; }

/* тёмный блок */
.dark { background: var(--navy); color: #d7dee6; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #8fd6e0; }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.dark .card p, .dark .card ul { color: #b9c3ce; }
.dark .lead { color: #b9c3ce; }

/* форма */
.lead-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
form.lead { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .92rem; font-weight: 500; color: var(--ink); }
.field input {
  min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid #cfd6de;
  font: 400 1rem Onest, system-ui, sans-serif; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(55, 173, 189, .22); }
.field .err { color: #b42318; font-size: .88rem; min-height: 0; }
.consent { font-size: .82rem; color: var(--muted); }
.form-msg { padding: 12px 14px; border-radius: var(--r-sm); background: var(--cream); font-size: .95rem; }
.form-msg[hidden] { display: none; }
.trap { position: absolute; left: -10000px; }

/* модалка */
dialog.modal { border: 0; padding: 0; border-radius: var(--r-lg); width: min(480px, calc(100% - 32px)); background: transparent; }
dialog.modal::backdrop { background: rgba(20, 28, 38, .48); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .22s var(--ease); }
dialog.modal form.lead { box-shadow: var(--shadow-hover); }
.modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); cursor: pointer; font-size: 22px; line-height: 1; color: var(--muted); flex: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* статья */
.article { max-width: 46rem; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 12px 0 20px; }
.article h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.article p, .article li { font-size: 1.06rem; margin: 0 0 14px; }
.article ul { padding-left: 1.2em; }
.back { text-decoration: none; font-weight: 500; }

/* подвал */
footer { background: var(--navy); color: #b9c3ce; padding: 56px 0 32px; font-size: .95rem; }
footer a { color: #e3e9ef; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; font-weight: 600; }
.foot ul { display: grid; gap: 8px; }
.foot .brand { color: #fff; }
.legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }

/* появление */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav a { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .top.open .nav { display: flex; }
  .burger { display: block; }
  .top-actions .btn-ghost { display: none; }
  .top .wrap { gap: 12px; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .lead-box { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .top-actions .btn-primary { padding: 0 14px; }
}
.dark .stat b { color: #fff; }
.dark .stat span { color: #b9c3ce; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--teal-ink); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }
.faq details p { margin: 0 0 18px; color: var(--text); }


/* ================= редизайн 2026-10 ================= */
.hand { font-family: var(--hand); font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; color: var(--teal-ink); line-height: 1; transform: rotate(-2deg); display: inline-block; width: fit-content; }
.hl { position: relative; white-space: normal; background: linear-gradient(transparent 62%, rgba(255, 152, 0, .28) 62%, rgba(255, 152, 0, .28) 92%, transparent 92%); }
.lockup { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-size: 1.05rem; }
.lockup img { width: 22px; height: 23px; }
.lockup b { font-weight: 700; }
.lockup-lg { font-size: 1.35rem; gap: 11px; }
.lockup-lg img { width: 28px; height: 29px; }
.lk-dou b { color: var(--dou); } .lk-school b { color: var(--school); } .lk-spo b { color: var(--spo); } .lk-vuz b { color: var(--vuz); }

/* признание — настоящие знаки вместо галочек */
.badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; align-items: center; }
.badges li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.badges img { height: 28px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.badges li:hover img { filter: none; opacity: 1; }
.badge-reg { display: grid; place-items: center; width: 34px; height: 28px; border-radius: 6px; border: 1.5px solid var(--muted); font-size: .72rem; font-weight: 800; color: var(--muted); }

/* hero: текст + живая сцена из настоящих экранов */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 32, 43, .09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-split h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.hero-split .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero-copy { display: grid; gap: 22px; }
.hero-stage { position: relative; min-height: 460px; }
.browser { margin: 0; background: #fff; border-radius: 14px; box-shadow: 0 2px 4px rgba(22, 32, 43, .05), 0 24px 60px rgba(22, 32, 43, .14); overflow: hidden; border: 1px solid rgba(22, 32, 43, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f2f1ec; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d5cc; }
.browser-bar span { margin-left: 10px; font-size: .74rem; color: var(--muted); background: #fff; padding: 2px 10px; border-radius: 6px; }
.browser img { width: 100%; height: auto; }
.stage-main { position: absolute; top: 40px; left: 0; width: 100%; transform: rotate(-1.2deg); }
.phone-shot { height: auto; border-radius: 13% / 4.6%; box-shadow: 0 22px 44px rgba(22, 32, 43, .22); }
.stage-phone { position: absolute; right: -24px; top: 150px; width: 27%; max-width: 200px; transform: rotate(3deg); animation: floaty 7s ease-in-out infinite; }
.note { position: absolute; font-family: var(--hand); font-weight: 700; font-size: 1.45rem; color: var(--school-ink); display: inline-flex; align-items: flex-end; gap: 2px; line-height: 1; pointer-events: none; }
.note svg { color: currentColor; }
.note.n1 { top: -12px; left: 34%; transform: rotate(-3deg); }
.note.n2 { bottom: 6px; left: 8%; color: var(--teal-ink); transform: rotate(-3deg); }
.note.n2 svg { transform: rotate(-70deg); }
.note.n3 { top: -10px; left: 8%; transform: rotate(-4deg); }
@keyframes floaty { 50% { transform: rotate(3deg) translateY(-10px); } }

.stage-phones { display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.stage-phones .phone-shot { position: relative; width: 31%; }
.stage-phones .p-a { transform: rotate(-5deg) translate(18px, 26px); z-index: 1; }
.stage-phones .p-b { transform: translateY(-14px); z-index: 2; width: 34%; }
.stage-phones .p-c { transform: rotate(5deg) translate(-18px, 30px); z-index: 1; }

/* продукты — лестница возрастов вместо одинаковых карточек */
.ladder { display: grid; border-top: 1px solid var(--line); }
.rung { display: grid; grid-template-columns: 150px 1fr 48px; gap: 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; position: relative; transition: background .25s var(--ease), padding .25s var(--ease); border-radius: 4px; }
.rung-age b { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: .95; }
.rung-age small { color: var(--muted); font-size: .9rem; }
.rung-body { display: grid; gap: 8px; max-width: 44rem; }
.rung-body > span:last-child { color: var(--muted); }
.rung-go { font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .25s var(--ease), background .25s, color .25s; }
.rung-dou .rung-age b { color: var(--dou); } .rung-school .rung-age b { color: var(--school); } .rung-spo .rung-age b { color: var(--spo); } .rung-vuz .rung-age b { color: var(--vuz); }
.rung:hover { padding-left: 20px; }
.rung-dou:hover { background: var(--dou-soft); } .rung-school:hover { background: var(--school-soft); } .rung-spo:hover { background: var(--spo-soft); } .rung-vuz:hover { background: var(--vuz-soft); }
.rung:hover .rung-go { transform: translateX(4px); background: var(--ink); color: #fff; border-color: var(--ink); }

/* год — три замера, живой радар */
.year-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.year-text { display: grid; gap: 18px; }
.year-steps { display: grid; gap: 8px; margin-top: 8px; counter-reset: st; }
.year-steps button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; width: 100%; padding: 14px 18px 14px 56px; border-radius: var(--r-md); position: relative; transition: background .2s; }
.year-steps button::before { counter-increment: st; content: counter(st); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; border: 2px solid var(--line); color: var(--muted); transition: all .2s; }
.year-steps b { color: var(--ink); font-size: 1.05rem; }
.year-steps span { color: var(--muted); font-size: .95rem; }
.year-steps button[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow); }
.year-steps li:nth-child(1) button[aria-selected="true"]::before { background: #a7c7cf; border-color: #a7c7cf; color: #fff; }
.year-steps li:nth-child(2) button[aria-selected="true"]::before { background: var(--teal); border-color: var(--teal); color: #fff; }
.year-steps li:nth-child(3) button[aria-selected="true"]::before { background: var(--school); border-color: var(--school); color: #fff; }
.year-steps button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.year-radar { margin: 0; display: grid; gap: 8px; justify-items: center; }
.year-radar figcaption { font-size: .85rem; color: var(--muted); }
.radar { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.r-ring { fill: none; stroke: #e2ded5; stroke-width: 1; }
.r-ring:last-of-type { stroke: #cfcac0; }
.r-spoke { stroke: #e7e3db; stroke-width: 1; }
.r-label { font: 500 12.5px Onest, sans-serif; fill: var(--muted); }
.r-stage { stroke-width: 2.4; stroke-linejoin: round; transition: opacity .6s var(--ease), transform .8s var(--ease); transform-origin: center; transform-box: view-box; }
.r-s0 { fill: rgba(167, 199, 207, .25); stroke: #8fb6bf; stroke-dasharray: 5 5; }
.r-s1 { fill: rgba(55, 173, 189, .22); stroke: var(--teal); }
.r-s2 { fill: rgba(240, 140, 0, .2); stroke: var(--school); }
.radar[data-show="0"] .r-s1, .radar[data-show="0"] .r-s2, .radar[data-show="1"] .r-s2 { opacity: 0; transform: scale(.82); }

/* роли — вкладки с настоящими экранами */
.roles-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--bg); border-radius: 999px; width: fit-content; margin-bottom: 28px; }
.roles-tabs button { all: unset; cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .98rem; color: var(--muted); transition: background .2s, color .2s; }
.roles-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.roles-tabs button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.role-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.role-panel[hidden] { display: none; }
.role-copy { display: grid; gap: 12px; }
.role-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.025em; }
.role-copy p { color: var(--muted); font-size: 1.05rem; }
.role-panel .browser { animation: rise .5s var(--ease); }
.role-lock { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 56px 24px; border-radius: var(--r-lg); background: repeating-linear-gradient(-45deg, #f3f1ec 0 12px, #efede7 12px 24px); color: var(--muted); }
.phones-mini { display: flex; justify-content: center; }
.phones-mini .phone-shot { width: min(300px, 70%); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* доказательства — редакционные цифры */
.ev-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.ev { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); text-decoration: none; color: #c3ccd6; transition: background .25s, transform .25s var(--ease); }
.ev:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.ev b { font-size: clamp(3rem, 6vw, 4.6rem); line-height: .9; color: #fff; font-weight: 800; letter-spacing: -0.05em; }
.ev-big b { font-size: clamp(4.2rem, 9vw, 7rem); color: #ffb35c; }
.ev i { font-style: normal; color: #8fd6e0; margin-top: auto; }

/* данные */
.data-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.data-grid > div { display: grid; gap: 16px; }
.data-facts { display: grid; gap: 10px; }
.data-facts li { display: flex; align-items: baseline; gap: 16px; padding: 16px 20px; background: var(--surface); border-radius: var(--r-md); color: var(--muted); }
.data-facts b { font-size: 2rem; font-weight: 800; color: var(--teal-ink); min-width: 64px; letter-spacing: -0.03em; }

/* клиенты — бегущая строка */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li a { display: block; padding: 12px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--text); text-decoration: none; white-space: nowrap; font-size: .95rem; transition: border-color .2s, color .2s; }
.marquee li a:hover { border-color: var(--teal); color: var(--teal-ink); }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* бенто для школы */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-card { background: var(--bg); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; }
.b-card p { color: var(--muted); }
.b-wide { grid-column: span 2; grid-row: span 2; }
.b-wide .browser { margin-top: 14px; }
.b-orange { background: var(--school-soft); }
.b-orange h3 { color: var(--school-ink); }
.b-fil { grid-template-columns: 80px 1fr; align-items: center; background: var(--spo-soft); }
.b-fil img { width: 80px; height: 80px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split > div:first-child { display: grid; gap: 18px; }
.who-list { display: grid; gap: 12px; margin-top: 6px; }
.who-list li { padding-left: 18px; border-left: 3px solid var(--school); color: #c3ccd6; }
.who-list b { color: #fff; }
.browser.on-dark { box-shadow: 0 30px 80px rgba(0, 0, 0, .4); border-color: rgba(255, 255, 255, .1); }

/* карточки на остальных страницах — без «шаблона»: мягкие плашки, без рамок */
.card { border-color: transparent; background: var(--surface); border-radius: var(--r-lg); padding: 26px; }
.alt .card { background: var(--bg); }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.grid.g3 .card:nth-child(3n+1) { background: var(--school-soft); }
.alt .grid.g3 .card:nth-child(3n+1) { background: var(--school-soft); }
.dark .grid.g3 .card:nth-child(3n+1) { background: rgba(255, 152, 0, .1); }
.price.featured { border: 2px solid var(--school); }
.price .tag { background: var(--school-soft); color: var(--school-ink); }

@media (max-width: 1000px) {
  .hero-split .wrap, .year-grid, .role-panel, .data-grid, .split { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; aspect-ratio: 1.25; margin-top: 12px; }
  .stage-phones { aspect-ratio: auto; min-height: 420px; }
  .ev-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 680px) {
  .rung { grid-template-columns: 88px 1fr; gap: 14px; padding: 20px 4px; }
  .rung-go { display: none; }
  .rung:hover { padding-left: 8px; }
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .note { font-size: 1.15rem; }
  .note svg { width: 30px; }
  .stage-phones { min-height: 340px; }
  .roles-tabs { border-radius: var(--r-md); }
  .roles-tabs button { padding: 9px 13px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-phone, .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
.b-fil img { mix-blend-mode: multiply; }
.nw { white-space: nowrap; }
@media (max-width: 680px) {
  .badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 18px; }
  .badges li { font-size: .8rem; gap: 8px; }
  .badges img { height: 22px; }
  .badge-reg { width: 28px; height: 22px; }
  .rung { grid-template-columns: 70px 1fr; }
  .rung-age b { font-size: 2rem; }
  .rung-body { font-size: .95rem; }
  .note.n2 { display: none; }
  .note.n1 { left: auto; right: 4%; }
}

/* требования и боли */
.req { border-top: 2px solid var(--ink); }
.req-row { display: grid; grid-template-columns: 1.05fr 1.3fr 1fr; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); align-items: start; }
.req-head { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 4px; }
.req-row b { display: block; color: var(--ink); font-size: 1.04rem; line-height: 1.35; }
.req-row small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.req-get { color: var(--teal-ink); font-weight: 600; }
.req-note { margin-top: 22px; color: var(--muted); font-size: .95rem; max-width: 52rem; }
.req-note .link-arrow { margin-left: 6px; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pain { background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.pain-role { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-ink); }
.pain-q::before { content: 'Задача'; display: block; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.pain-a::before { content: 'Решение'; display: block; font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.pain-q { font-size: 1.08rem; font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -0.01em; }
.pain-a { color: var(--text); padding-top: 10px; border-top: 1px solid var(--line); }
.std-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.std-nav a { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.std-nav a:hover { border-color: var(--teal); }
@media (max-width: 1000px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .req-head { display: none; }
  .req-row { grid-template-columns: 1fr; gap: 8px; }
  .req-get::before { content: 'Что получаете: '; color: var(--muted); font-weight: 500; }
  .pains { grid-template-columns: 1fr; }
}
.byline { color: var(--muted); font-size: .92rem; margin: -8px 0 22px; }
.lead-p { font-size: 1.12rem; background: var(--surface); border-left: 4px solid var(--school); padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0; }
.article ol { padding-left: 1.3em; }
.article .faq { margin: 8px 0 28px; }
.gloss { display: grid; gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.gloss-item { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.gloss dt { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.gloss dd { margin: 0; color: var(--text); }
@media (max-width: 680px) { .gloss-item { grid-template-columns: 1fr; gap: 6px; } }

.year-steps .ys { display: grid; gap: 4px; padding: 14px 18px 14px 56px; border-radius: var(--r-md); position: relative; background: var(--surface); }
.year-steps .ys::before { counter-increment: st; content: counter(st); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--teal); color: #fff; }
.year-steps .ys b { color: var(--ink); } .year-steps .ys span { color: var(--muted); font-size: .95rem; }
.pains.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (max-width: 680px) { .pains.n4 { grid-template-columns: 1fr; } }
