/* Главная 01Школы: яркий первый экран с выбором класса и предмета, ниже — светлые разделы для чтения. */
:root { --sky: #38d1ff; --mint: #5cf2b8; --sun: #ffd23f; --glass: rgba(255, 255, 255, .1); --glass-line: rgba(255, 255, 255, .22); --ink: #141c46; --ink-soft: #464f78; --line: #e1e7f6; --paper: #f5f7ff; --r: 22px; }
html { scroll-behavior: smooth; background: #1a0f5c; }
section[id] { scroll-margin-top: 76px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 1180px; max-width: 100%; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }

/* Яркий фон первого экрана */
body::before { background: linear-gradient(140deg, #2a0fa8 0%, #3b2bdc 34%, #1f6dff 66%, #08b6e6 100%); }
body::after { background: radial-gradient(30% 34% at 80% 16%, rgba(255, 70, 190, .55), transparent 70%), radial-gradient(30% 32% at 14% 22%, rgba(56, 209, 255, .5), transparent 70%), radial-gradient(34% 34% at 20% 84%, rgba(92, 242, 184, .45), transparent 70%), radial-gradient(32% 32% at 86% 80%, rgba(255, 210, 63, .38), transparent 70%); }
.top.scrolled, .top.open { background: rgba(32, 18, 130, .96); }

/* Знаки предметов на фоне */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky span { position: absolute; font-size: clamp(90px, 14vw, 200px); font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .06); white-space: nowrap; }
.sky span:nth-child(1) { left: 3%; top: 8%; rotate: -12deg; } .sky span:nth-child(2) { right: 4%; top: 6%; rotate: 9deg; }
.sky span:nth-child(3) { left: 40%; top: 32%; rotate: -6deg; } .sky span:nth-child(4) { right: 2%; top: 44%; rotate: 14deg; }
.sky span:nth-child(5) { left: 2%; top: 52%; rotate: 8deg; } .sky span:nth-child(6) { left: 48%; top: 70%; rotate: -10deg; }
.sky span:nth-child(7) { right: 12%; top: 78%; rotate: 6deg; } .sky span:nth-child(8) { left: 10%; top: 82%; rotate: -8deg; }
.sky span:nth-child(9) { left: 64%; top: 14%; rotate: 4deg; } .sky span:nth-child(10) { left: 22%; top: 22%; rotate: 12deg; }

/* Первый экран */
.hero-in { width: 1180px; max-width: 100%; margin: 0 auto; padding: 44px max(20px, env(safe-area-inset-right, 0px)) 6px max(20px, env(safe-area-inset-left, 0px)); text-align: center; }
.kicker { display: inline-block; margin: 0 0 16px; padding: 7px 16px; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #1a0f5c; background: var(--sun); border-radius: 30px; box-shadow: 0 8px 22px -8px rgba(255, 210, 63, .8); }
.hero-title { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0; font: 700 clamp(54px, 9vw, 100px)/1 Ubuntu, sans-serif; letter-spacing: -2.5px; text-shadow: 0 6px 30px rgba(20, 0, 90, .35); }
.hero-title img { width: clamp(70px, 10vw, 120px); height: auto; filter: drop-shadow(0 14px 30px rgba(20, 0, 90, .5)); animation: bob 5s ease-in-out infinite; }
.hero-title b { background: linear-gradient(120deg, var(--sun), #ff8ad8 55%, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes bob { 50% { translate: 0 -8px; } }
.hero-lead { max-width: 700px; margin: 18px auto 26px; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hero-stats li { min-width: 136px; padding: 12px 18px; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 18px; backdrop-filter: blur(8px); }
.hero-stats b { display: block; font-size: 26px; line-height: 1.2; color: #fff; }
.hero-stats span { font-size: 13.5px; color: rgba(255, 255, 255, .85); }

/* Шаги выбора: класс → предмет → тема */
.pick-in { width: 1180px; max-width: 100%; margin: 0 auto; padding: 22px max(20px, env(safe-area-inset-right, 0px)) 60px max(20px, env(safe-area-inset-left, 0px)); }
.steps-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 6px; padding: 0; list-style: none; }
.steps-bar li { display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .8); background: var(--glass); border: 1px solid var(--glass-line); border-radius: 40px; }
.steps-bar li i { display: grid; place-items: center; width: 28px; height: 28px; font-style: normal; color: #1a0f5c; background: rgba(255, 255, 255, .75); border-radius: 50%; }
.steps-bar li.on { color: #1a0f5c; background: var(--sun); border-color: transparent; }
.steps-bar li.on i { background: #fff; }
.steps-bar li.done { color: #1a0f5c; background: var(--mint); border-color: transparent; }
.steps-bar li.done i { color: #fff; background: #109e6c; }
.steps-bar .arrow { padding: 0; background: none; border: 0; color: rgba(255, 255, 255, .6); }

.step-box { margin-top: 18px; padding: 22px; background: rgba(255, 255, 255, .1); border: 1px solid var(--glass-line); border-radius: 26px; backdrop-filter: blur(8px); }
.step-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 14px; margin: 0 0 16px; }
.step-head .step-n { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; font-size: 21px; font-weight: 700; color: #1a0f5c; background: var(--sun); border-radius: 15px; box-shadow: 0 8px 18px -8px rgba(255, 210, 63, .9); }
.step-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.step-head p { grid-column: 2; margin: 2px 0 0; font-size: 15.5px; color: rgba(255, 255, 255, .88); }
.find { grid-column: 3; grid-row: 1 / span 2; display: flex; align-items: center; gap: 8px; width: min(300px, 32vw); height: 50px; padding: 0 14px; color: #6d7693; background: #fff; border-radius: 14px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.find .ico { flex: none; font-size: 19px; }
.find input { flex: 1; min-width: 0; height: 100%; font: 16px Ubuntu, sans-serif; color: var(--ink); background: none; border: 0; outline: none; }
.find:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }

.grade-bar { display: grid; grid-template-columns: auto repeat(11, minmax(0, 1fr)); gap: 8px; }
.grade { height: 56px; padding: 0 8px; font: 700 19px Ubuntu, sans-serif; color: #fff; background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .28); border-radius: 16px; cursor: pointer; transition: transform .12s, background .12s; }
.grade small { display: block; font-size: 11px; font-weight: 400; opacity: .8; }
.grade.all { padding: 0 18px; font-size: 15px; }
.grade:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.grade.on { color: #1a0f5c; background: var(--sun); border-color: #fff; box-shadow: 0 10px 22px -8px rgba(255, 210, 63, .95); transform: translateY(-2px); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 226px; padding: 20px 20px 18px; color: #fff; text-decoration: none; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 52%, color-mix(in srgb, var(--c) 85%, #000) 100%); border: 2px solid rgba(255, 255, 255, .3); border-radius: var(--r); box-shadow: 0 16px 30px -16px rgba(20, 0, 90, .7); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.tile[hidden] { display: none; }
.tile::before { content: ''; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; background: rgba(255, 255, 255, .16); border-radius: 50%; transition: scale .3s; }
.tile:hover { transform: translateY(-6px) rotate(-.4deg); border-color: #fff; box-shadow: 0 30px 46px -18px color-mix(in srgb, var(--c) 75%, #000); }
.tile:hover::before { scale: 1.7; }
.tile-top { display: flex; align-items: center; justify-content: space-between; }
.tile-ico { display: grid; place-items: center; width: 54px; height: 54px; font-size: 29px; background: rgba(255, 255, 255, .25); border-radius: 16px; }
.tile-new { padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #1a0f5c; background: var(--sun); border-radius: 20px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.tile-name { margin-top: 8px; font-size: 24px; line-height: 1.15; letter-spacing: -.3px; text-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.tile-lead { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .95); }
.tile-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto; padding-top: 12px; font-size: 13px; color: #fff; border-top: 1px solid rgba(255, 255, 255, .3); }
.tile-range { padding: 3px 10px; font-weight: 700; color: var(--c); background: #fff; border-radius: 20px; }
.tile-go { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 36px; height: 36px; background: #fff; border-radius: 50%; opacity: 0; translate: -6px 0; transition: opacity .18s, translate .18s; }
.tile-go svg { width: 18px; height: 18px; fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-go, .tile:focus-visible .tile-go { opacity: 1; translate: 0 0; }
.empty { margin: 26px 0 0; text-align: center; font-size: 17px; color: #fff; }

/* Светлая часть страницы */
.light { color: var(--ink); background: var(--paper); border-radius: 36px 36px 0 0; box-shadow: 0 -20px 40px -30px rgba(20, 0, 90, .6); }
.sec { padding-top: 60px; }
.sec-head { max-width: 760px; margin: 0 0 24px; }
.sec-head h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -.5px; }
.sec-head p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.feature { --g1: #2f6bff; --g2: #7b3ff2; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .18s, box-shadow .18s; }
.feature:nth-child(2) { --g1: #ff5a8a; --g2: #ff9d3c; } .feature:nth-child(3) { --g1: #12c2a0; --g2: #0a8fe0; }
.feature:nth-child(4) { --g1: #a24dff; --g2: #ff5ad1; } .feature:nth-child(5) { --g1: #ff8a1f; --g2: #ffcc2e; } .feature:nth-child(6) { --g1: #00b4d8; --g2: #3a5bff; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -22px var(--g1); }
.feature-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; font-size: 27px; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); border-radius: 16px; box-shadow: 0 10px 20px -10px var(--g1); }
.feature h3 { margin: 0 0 6px; font-size: 19px; } .feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: p; }
.path li { --g: #2f6bff; position: relative; counter-increment: p; padding: 66px 16px 0 0; }
.path li:nth-child(2) { --g: #7b3ff2; } .path li:nth-child(3) { --g: #ff5a8a; } .path li:nth-child(4) { --g: #ff8a1f; } .path li:nth-child(5) { --g: #12c2a0; }
.path li::before { content: counter(p); position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; font-size: 20px; font-weight: 700; color: #fff; background: var(--g); border: 4px solid var(--paper); border-radius: 50%; box-sizing: content-box; box-shadow: 0 8px 18px -8px var(--g); }
.path li::after { content: ''; position: absolute; left: 46px; right: 0; top: 25px; height: 4px; background: linear-gradient(90deg, var(--g), #d6dcf2); border-radius: 4px; }
.path li:last-child::after { display: none; }
.path b { display: block; margin-bottom: 4px; font-size: 18px; } .path span { display: block; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

.labs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.lab { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.lab::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); }
.lab:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 22px 36px -24px var(--c); }
.lab-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; font-size: 27px; color: #fff; background: var(--c); border-radius: 16px; box-shadow: 0 10px 20px -10px var(--c); }
.lab b { font-size: 19px; line-height: 1.25; }
.lab span:not(.lab-ico) { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.lab em { display: inline-flex; align-self: flex-start; margin-top: auto; padding: 8px 14px; font-style: normal; font-weight: 700; color: #fff; background: var(--c); border-radius: 12px; }

.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.roles article { --g: #2f6bff; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--g); border-radius: var(--r); }
.roles article:nth-child(2) { --g: #ff5a8a; } .roles article:nth-child(3) { --g: #12c2a0; }
.role-tag { display: inline-block; padding: 4px 12px; font-size: 13px; font-weight: 700; color: #fff; background: var(--g); border-radius: 20px; }
.roles h3 { margin: 12px 0 10px; font-size: 20px; }
.roles ul { margin: 0; padding: 0; list-style: none; }
.roles li { position: relative; padding: 5px 0 5px 26px; font-size: 15px; color: var(--ink-soft); }
.roles li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2.5px solid var(--g); border-bottom: 2.5px solid var(--g); rotate: -45deg; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .18s; }
.faq details[open] { box-shadow: 0 16px 30px -24px rgba(47, 107, 255, .7); border-color: #c9d7ff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 0 22px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; font-size: 22px; color: #fff; background: linear-gradient(135deg, #2f6bff, #7b3ff2); border-radius: 50%; transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { margin: 0; padding: 0 22px 20px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }

.cta-sec { padding-bottom: 64px; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 34px 38px; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 90, 209, .55), transparent 70%), linear-gradient(135deg, #3b2bdc, #1f6dff 60%, #08b6e6); border-radius: 28px; box-shadow: 0 24px 44px -26px rgba(59, 43, 220, .9); }
.cta-box h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); } .cta-box p { margin: 0; font-size: 16.5px; color: #fff; }
.cta-btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 30px; font-size: 17px; font-weight: 700; color: #1a0f5c; text-decoration: none; background: var(--sun); border-radius: 16px; box-shadow: 0 12px 24px -10px rgba(255, 210, 63, .9); transition: transform .15s; }
.cta-btn:hover { transform: translateY(-2px); }

/* Страница предмета */
.subject-preview { padding-block: 36px 64px; min-height: 60vh; }
.subject-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 20px; color: #fff; text-decoration: none; }
.subject-back:hover { text-decoration: underline; }
.subject-intro { display: flex; align-items: center; gap: 24px; padding: 32px; background: linear-gradient(120deg, #3b2bdc, #1f6dff); border-radius: 24px; }
.subject-mark { display: grid; place-items: center; flex: none; width: 88px; height: 88px; font-size: 34px; font-weight: 700; background: #ffffff2e; border-radius: 22px; }
.subject-intro h1 { margin: 8px 0; font-size: 42px; line-height: 1.2; overflow-wrap: anywhere; } .subject-intro p { margin: 0; }
.subject-status { padding: 4px 10px; font-size: 12px; background: #0002; border-radius: 20px; }
.subject-notice { max-width: 700px; padding: 28px 0; line-height: 1.8; } .subject-notice h2 { margin: 0 0 12px; font-size: 24px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; } .facts i { padding: 4px 10px; font-style: normal; font-size: 13px; background: var(--glass); border-radius: 8px; }

/* Подвал */
.foot { background: #160b4e; }

@media (max-width: 980px) {
  .grade-bar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grade.all { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .step-head { grid-template-columns: auto minmax(0, 1fr); }
  .find { grid-column: 1 / -1; grid-row: auto; width: 100%; margin-top: 14px; }
  .path { grid-template-columns: 1fr; }
  .path li { padding: 4px 0 22px 64px; min-height: 70px; }
  .path li::after { left: 25px; right: auto; top: 50px; bottom: 0; width: 4px; height: auto; background: linear-gradient(180deg, var(--g), #d6dcf2); }
  .features { grid-template-columns: 1fr; }
  .steps-bar .arrow { display: none; }
}
@media (max-width: 560px) {
  .hero-in { padding-top: 26px; }
  .hero-title { gap: 10px; letter-spacing: -1.5px; }
  .hero-stats li { min-width: 0; flex: 1 1 40%; padding: 10px 12px; }
  .step-box { padding: 16px; border-radius: 22px; }
  .grade { height: 50px; font-size: 17px; border-radius: 14px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { min-height: 186px; padding: 16px 14px 14px; }
  .tile-ico { width: 44px; height: 44px; font-size: 23px; border-radius: 13px; }
  .tile-name { font-size: 19px; } .tile-lead { display: none; } .tile-go { display: none; }
  .tile-foot { font-size: 12px; }
  .light { border-radius: 26px 26px 0 0; }
  .cta-box { padding: 26px 22px; } .cta-btn { width: 100%; justify-content: center; }
  .subject-intro { padding: 24px 20px; gap: 16px; align-items: flex-start; } .subject-mark { width: 54px; height: 54px; font-size: 24px; border-radius: 14px; } .subject-intro h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .hero-title img { animation: none; } html { scroll-behavior: auto; } .tile, .lab, .grade, .feature, .cta-btn, .tile-go { transition: none; } }

/* Сброс старых правил плиток классов из style.css: плитки предметов — карточки с текстом слева. */
.pick .tile { grid-column: auto; align-items: stretch; justify-content: flex-start; text-align: left; }
.pick .tile .tile-name { font-size: 24px; line-height: 1.15; letter-spacing: -.3px; }
.pick .tile .tile-ico { font-size: 29px; }
.pick .tile .tile-lead { font-size: 14.5px; }
.pick .tile .tile-foot, .pick .tile .tile-foot span { font-size: 13px; }
.pick .tile .tile-new { font-size: 12px; }
@media (max-width: 560px) {
  .pick .tile .tile-name { font-size: 19px; }
  .pick .tile .tile-ico { font-size: 23px; }
  .pick .tile .tile-foot, .pick .tile .tile-foot span { font-size: 12px; }
}

/* Шапка всегда плотная: над светлыми разделами белые ссылки остаются читаемыми. */
.top { background: rgba(32, 18, 130, .96); box-shadow: 0 10px 26px -16px rgba(20, 0, 90, .8); backdrop-filter: blur(8px); }
@media (max-width: 560px) { .pick .tile .tile-name { font-size: 17px; letter-spacing: -.2px; overflow-wrap: anywhere; } .tile-new { font-size: 11px; padding: 3px 8px; } }
@media (max-width: 560px) { .pick .tile { padding: 14px 12px 12px; } .pick .tile .tile-name { font-size: 16.5px; overflow-wrap: normal; hyphens: auto; } }

/* Спокойная контрастная палитра: тёмно-синий фон, глубокие цвета предметов, жёлтый — только для активного. */
html { background: #0c1240; }
body::before { background: linear-gradient(160deg, #0b1038 0%, #121a52 45%, #18236a 100%); }
body::after { background: radial-gradient(34% 34% at 82% 14%, rgba(47, 107, 255, .32), transparent 70%), radial-gradient(30% 32% at 12% 24%, rgba(56, 160, 220, .18), transparent 70%), radial-gradient(34% 34% at 22% 86%, rgba(30, 140, 110, .16), transparent 70%); }
.top, .top.scrolled, .top.open { background: rgba(10, 15, 52, .97); }
.sky span { color: rgba(255, 255, 255, .03); }
.hero-title { text-shadow: none; }
.hero-title b { background: linear-gradient(120deg, #5cc1fa, #34d399); -webkit-background-clip: text; background-clip: text; }
.kicker { color: #9fdcff; background: rgba(92, 193, 250, .12); border: 1px solid rgba(92, 193, 250, .4); box-shadow: none; }
.hero-stats li, .step-box { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.steps-bar li { color: #d7defa; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.steps-bar li i { color: #0c1240; background: #c9d3f5; }
.steps-bar li.on { color: #0c1240; background: #ffd23f; }
.steps-bar li.done { color: #0c1240; background: #7ee2b8; }
.steps-bar li.done i { background: #0f7a52; }
.grade { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.grade:hover { background: rgba(255, 255, 255, .16); }
.grade.on { color: #0c1240; background: #ffd23f; border-color: #ffd23f; box-shadow: 0 8px 18px -10px rgba(255, 210, 63, .9); }
.step-head .step-n { box-shadow: none; }
.tile { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 90%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 78%, #000) 100%); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .85); }
.tile::before { background: rgba(255, 255, 255, .08); }
.tile:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .55); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .9); }
.tile-ico { background: rgba(0, 0, 0, .18); }
.tile-name { text-shadow: none; }
.tile-lead { color: #fff; }
.tile-foot { border-top-color: rgba(255, 255, 255, .25); }
.tile-new { background: #ffd23f; box-shadow: none; }
/* Светлая часть: приглушённые акценты */
.light { background: #f3f5fb; }
.feature, .feature:nth-child(n) { --g1: #1f5fd6; --g2: #1f5fd6; }
.feature-ico { box-shadow: none; }
.feature:hover { box-shadow: 0 18px 30px -24px rgba(16, 26, 74, .6); }
.path li, .path li:nth-child(n) { --g: #1f5fd6; }
.path li::before { box-shadow: none; }
.path li::after { background: #c9d4ee; }
.roles article, .roles article:nth-child(n) { --g: #1f5fd6; }
.faq summary::after { background: #1f5fd6; }
.faq details[open] { box-shadow: 0 14px 26px -22px rgba(16, 26, 74, .6); border-color: #c4d0ec; }
.cta-box { background: linear-gradient(135deg, #121a52, #1f5fd6); box-shadow: none; }
.cta-btn { box-shadow: none; }
.lab-ico { box-shadow: none; }
.foot { background: #0a0f34; }
