@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/golos-text-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/golos-text-normal-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: 'Literata';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-italic-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: 'Literata';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-normal-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;
}

:root {
  --bg: #f5f6fb;
  --surface: #ffffff;
  --ink: #15172a;
  --muted: #5a5f7a;
  --line: #e5e7f0;
  --primary: #4355ff;
  --primary-ink: #2a39d6;
  --primary-soft: #eceeff;
  --accent: #ff6a3d;
  --live: #19c37d;
  --sans: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(20,23,42,.04), 0 8px 24px -12px rgba(20,23,42,.18);
  --shadow-lg: 0 2px 6px rgba(20,23,42,.05), 0 24px 56px -20px rgba(20,23,42,.28);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --head: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--primary); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.num { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 700; font-size: .975rem; cursor: pointer; transition: transform .15s var(--ease), background-color .2s, box-shadow .2s; box-shadow: 0 6px 16px -6px rgba(67,85,255,.6); }
.btn:hover { background: var(--primary-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary-ink); }
.btn--accent { background: var(--accent); box-shadow: 0 6px 16px -6px rgba(255,106,61,.6); }
.btn--accent:hover { background: #ec5a2e; }
.btn--sm { height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-ink); }
.arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.arrow:hover svg { transform: translateX(5px); }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 40; background: rgba(245,246,251,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 28px; height: var(--head); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; letter-spacing: -.04em; }
.logo .mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 6px; margin-right: auto; }
.nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--muted); font-size: .95rem; transition: background-color .15s, color .15s; }
.nav a:hover { background: var(--primary-soft); color: var(--primary-ink); }
.head-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; margin: auto; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(25,195,125,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(25,195,125,0); } 100% { box-shadow: 0 0 0 0 rgba(25,195,125,0); } }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.045em; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); margin-top: 20px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stats b { display: block; font-size: 1.75rem; font-weight: 900; letter-spacing: -.03em; }
.hero-stats span { font-size: .875rem; color: var(--muted); }

/* class preview card (the product, shown) */
.preview { background: var(--ink); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-lg); position: relative; }
.preview-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; }
.preview-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3d55; }
.preview-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .78rem; font-weight: 700; background: var(--accent); padding: 4px 10px; border-radius: 999px; }
.preview-bar .live .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
.preview-stage { aspect-ratio: 16/10; border-radius: 14px; background: linear-gradient(135deg, #2a2f52, #1c2040); overflow: hidden; position: relative; display: grid; place-items: center; }
.preview-stage .board { position: absolute; inset: 12px; border-radius: 10px; background: #f7f8fc; }
.preview-tiles { position: absolute; right: 12px; bottom: 12px; display: grid; grid-template-columns: repeat(2, 72px); gap: 8px; }
.preview-tiles .tile { aspect-ratio: 4/3; border-radius: 8px; background: linear-gradient(160deg, #4a5280, #343a60); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.preview-tiles .tile:first-child { outline: 2px solid var(--live); }

/* ---------- sections ---------- */
section { scroll-margin-top: 84px; }
.sec { padding-block: clamp(48px, 7vw, 88px); }
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--primary-ink); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 900; letter-spacing: -.035em; }
.sec-head p { color: var(--muted); font-size: 1.075rem; margin-top: 14px; }

/* live strip */
.live-strip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; display: flex; gap: 10px; overflow-x: auto; box-shadow: var(--shadow); scrollbar-width: none; }
.live-strip::-webkit-scrollbar { display: none; }
.live-card { flex: none; width: 260px; border-radius: var(--r); padding: 16px; background: var(--bg); display: grid; gap: 6px; }
.live-card .when { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--live); }
.live-card .when .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.live-card .when.soon { color: var(--muted); }
.live-card .when.soon .dot { background: var(--muted); }
.live-card h3 { font-size: 1.05rem; }
.live-card span { font-size: .875rem; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); font-weight: 900; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* course cards */
.courses-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-cover { aspect-ratio: 16/9; position: relative; display: grid; place-items: center; }
.card-cover svg { width: 100%; height: 100%; }
.card-tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(4px); font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.card-tagline { color: var(--muted); font-size: .92rem; margin-top: 6px; flex: 1; }
.card-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--muted); margin-top: 16px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.price b { font-size: 1.3rem; font-weight: 900; letter-spacing: -.03em; }
.price span { font-size: .85rem; color: var(--muted); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--primary); color: var(--primary-ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* teachers */
.teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teacher { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem; }
.teacher h3 { font-size: 1.05rem; }
.teacher .role { color: var(--primary-ink); font-weight: 600; font-size: .85rem; }
.teacher p { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* faq */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.faq summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); }

/* cta band */
.band { background: linear-gradient(135deg, var(--primary), #6a3dff); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: var(--shadow-lg); }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; }
.band p { opacity: .9; margin-top: 12px; font-size: 1.075rem; }
.band .btn { margin-top: 28px; background: #fff; color: var(--primary-ink); box-shadow: 0 8px 20px -6px rgba(0,0,0,.3); }
.band .btn:hover { background: #f0f1ff; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 36px; }
.foot .logo { margin-bottom: 14px; }
.foot-grid p { color: var(--muted); font-size: .9rem; max-width: 30ch; }
.foot h4 { font-size: .9rem; font-weight: 700; margin-bottom: 14px; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { color: var(--muted); font-size: .92rem; }
.foot-grid a:hover { color: var(--primary-ink); }
.foot-base { border-top: 1px solid var(--line); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }

/* ---------- login ---------- */
.auth { min-height: calc(100vh - var(--head)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { background: linear-gradient(150deg, var(--primary), #6a3dff); color: #fff; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside .logo { color: #fff; }
.auth-aside h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 900; margin-top: auto; }
.auth-aside ul { margin-top: 24px; display: grid; gap: 14px; }
.auth-aside li { display: flex; gap: 12px; align-items: start; opacity: .95; }
.auth-aside li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.auth-main { display: grid; place-items: center; padding: var(--gutter); }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 1.8rem; font-weight: 900; }
.auth-box > p { color: var(--muted); margin-top: 8px; }
.tabs { display: flex; gap: 4px; background: var(--bg); border-radius: 12px; padding: 4px; margin: 26px 0 22px; }
.tabs button { flex: 1; height: 40px; border: 0; background: none; border-radius: 9px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input { height: 48px; padding: 0 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.field input:focus-visible { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .err { font-size: .82rem; color: #e03151; font-weight: 600; display: none; }
.field.bad input { border-color: #e03151; }
.field.bad .err { display: block; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: .9rem; }
.auth-row a { color: var(--primary-ink); font-weight: 600; }
.notice { display: none; gap: 10px; align-items: start; padding: 13px 15px; border-radius: 12px; font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.notice.show { display: flex; }
.notice.bad { background: #fdecef; color: #c42a47; }
.notice.ok { background: #e7f8f1; color: #11835b; }
.notice svg { width: 20px; height: 20px; flex: none; }
.hp { position: absolute; left: -9999px; }
.auth-foot { margin-top: 26px; text-align: center; font-size: .85rem; color: var(--muted); }

/* ---------- course page ---------- */
.course { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: clamp(28px, 4vw, 48px); }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--muted); padding-top: 18px; }
.crumbs a:hover { color: var(--primary-ink); }
.course-hero-cover { aspect-ratio: 16/7; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; }
.course-hero-cover svg { width: 100%; height: 100%; }
.course h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; }
.course .tagline { color: var(--muted); font-size: 1.1rem; margin-top: 10px; }
.course .desc { font-size: 1.05rem; line-height: 1.7; margin-top: 22px; color: #2c3049; }
.lessons-list { margin-top: 32px; display: grid; gap: 10px; }
.lessons-list h2 { font-size: 1.3rem; margin-bottom: 8px; }
.lesson { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.lesson .n { width: 30px; height: 30px; border-radius: 8px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.lesson .ic { margin-left: auto; color: var(--muted); font-size: .82rem; display: inline-flex; gap: 6px; align-items: center; }
.enroll-card { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.enroll-card .price b { font-size: 2rem; }
.enroll-card .free { color: var(--live); font-weight: 700; font-size: .9rem; margin: 6px 0 18px; display: flex; gap: 7px; align-items: center; }
.enroll-card .btn { margin-bottom: 10px; }
.enroll-meta { margin-top: 20px; display: grid; gap: 12px; }
.enroll-meta div { display: flex; justify-content: space-between; font-size: .92rem; }
.enroll-meta dt { color: var(--muted); }
.enroll-meta dd { font-weight: 600; }

/* ---------- room (demo class) ---------- */
.room { background: var(--ink); min-height: calc(100vh - var(--head)); padding: var(--gutter); display: grid; grid-template-columns: 1fr 300px; grid-template-rows: 1fr auto; gap: 16px; }
.room-stage { grid-row: 1 / 3; background: #1c2040; border-radius: var(--r-lg); position: relative; overflow: hidden; display: grid; place-items: center; }
.room-stage .board { position: absolute; inset: 20px; border-radius: 12px; background: #f7f8fc; }
.room-side { display: flex; flex-direction: column; gap: 16px; }
.room-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.room-tile { aspect-ratio: 4/3; border-radius: 12px; background: linear-gradient(160deg, #3a4170, #2a3056); display: grid; place-items: end; padding: 8px; }
.room-tile span { color: #fff; font-size: .78rem; background: rgba(0,0,0,.4); padding: 2px 8px; border-radius: 6px; }
.room-tile.me { outline: 2px solid var(--live); }
.room-chat { flex: 1; background: #232848; border-radius: var(--r); padding: 14px; color: #c7cae8; font-size: .88rem; }
.room-bar { grid-column: 1 / -1; display: flex; justify-content: center; gap: 12px; background: #232848; border-radius: var(--r); padding: 14px; }
.room-bar button { width: 48px; height: 48px; border-radius: 12px; border: 0; background: #343a60; color: #fff; cursor: pointer; display: grid; place-items: center; }
.room-bar button svg { width: 22px; height: 22px; }
.room-bar .leave { background: #e03151; width: auto; padding: 0 20px; font-weight: 700; }

/* ---------- prose ---------- */
.prose { max-width: 720px; margin-inline: auto; padding-block: clamp(32px, 5vw, 64px); }
.prose h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 900; }
.prose .lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p { margin-top: 1em; line-height: 1.75; color: #2c3049; }

/* 404 */
.nf { min-height: 64vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 48px; }
.nf .big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; color: var(--primary); letter-spacing: -.05em; line-height: 1; }
.nf p { color: var(--muted); font-size: 1.1rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: var(--head); left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-btn { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .teachers { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .course { grid-template-columns: 1fr; }
  .enroll-card { position: static; }
  .room { grid-template-columns: 1fr; }
  .room-stage { aspect-ratio: 16/10; grid-row: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .grid, .teachers, .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; } }
