/* Bentsa.Academy — стиль platform-os.ru (industrial tech) */
:root {
  --bg:           #f6f4ee;
  --bg-raised:    #ffffff;
  --bg-sunken:    #ece8de;
  --bg-alt:       #ece8de;

  --line:         #d9d4c5;
  --line-2:       #c4bead;
  --line-strong:  #b8b1a0;

  --fg:           #0f1115;
  --fg-muted:     #4a4d54;
  --fg-subtle:    #7a7d83;

  --accent:       #da720d;
  --accent-strong:#c15700;
  --accent-soft:  #ffe6d0;
  --accent-ink:   #1e140a;
  --accent-bg:    #ffe6d0;
  --accent-dim:   #efd1b6;

  --success:      #318f5a;
  --warning:      #d4a73e;
  --danger:       #d73337;
  --gold:         #dc932e;
  --gold-bg:      #fae9ce;

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 14px;
  --r-pill: 999px;

  --row-h: 44px;
  --pad-card: 28px;

  --container: 1140px;
  --gutter: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  padding-top: 28px;
}

/* Координатная полоска — терминал-вайб у самого верха */
body::before {
  content: "N 53°12′ · E 50°09′ · TD/" attr(data-tdid) " · REV 2026.05";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 28px;
  background: var(--fg);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.15s; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; }
ul, ol { list-style: none; }
::selection { background: var(--fg); color: var(--bg); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.mono { font-family: var(--font-mono); font-feature-settings: 'tnum', 'zero'; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 28px;
  z-index: 50;
  padding: 14px 0;
  background: rgba(246, 244, 238, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.logo span {
  color: var(--accent);
  font-weight: 600;
}

.lesson-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  padding: 4px 9px;
  border-radius: var(--r-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.lesson-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(49, 143, 90, 0.5);
  animation: pulse-success 2.4s infinite;
}
@keyframes pulse-success {
  0% { box-shadow: 0 0 0 0 rgba(49, 143, 90, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(49, 143, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(49, 143, 90, 0); }
}

/* ── Hero ── */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
/* Уголки (corner brackets) — как у platform-os */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  pointer-events: none;
}
.hero::before {
  top: 18px;
  left: 18px;
  border-right: 0;
  border-bottom: 0;
}
.hero::after {
  top: 18px;
  right: 18px;
  border-left: 0;
  border-bottom: 0;
}
/* Bottom corners через отдельный wrapper не нужны — оставляем только верхние, как у platform-os */

.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  margin-bottom: 28px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero .eyebrow::after {
  content: "LIVE";
  font-size: 9.5px;
  color: var(--success);
  letter-spacing: 0.12em;
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0 auto 24px;
  max-width: 16ch;
  color: var(--fg);
}
.hero h1 .mark,
.hero h1 .grad,
.hero h1 .accent {
  color: var(--accent);
  font-weight: 600;
  font-style: normal;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  position: relative;
  display: inline;
  padding: 0;
}
.hero .subtitle,
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.55;
  font-weight: 400;
}

/* Hero-meta — мелкие технические бейджи под h1 */
.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
}
.hero-meta .tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
  background: var(--bg-raised);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

/* ── Tabs ── */
[data-tabs] { text-align: center; }
.tabs {
  display: inline-flex;
  gap: 0;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px;
  margin: 0 auto 28px;
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.tab-btn:hover { color: var(--fg); }
.tab-btn.active {
  background: var(--fg);
  color: var(--bg);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── Video block ── */
.video-block {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 14px 18px;
  margin: 0 auto 36px;
  max-width: 920px;
  position: relative;
}
.video-block::before {
  content: "▎ВИДЕО · 16:9 · Δ —";
  position: absolute;
  top: 14px;
  left: 22px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 2;
  pointer-events: none;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--fg);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  position: relative;
  z-index: 1;
}
.video-placeholder {
  position: relative;
  z-index: 1;
  color: rgba(246, 244, 238, 0.78);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.video-placeholder .play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 0 0 0 rgba(218, 114, 13, 0.5);
  animation: pulse-accent 3s infinite;
}
@keyframes pulse-accent {
  0% { box-shadow: 0 0 0 0 rgba(218, 114, 13, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(218, 114, 13, 0); }
  100% { box-shadow: 0 0 0 0 rgba(218, 114, 13, 0); }
}
.video-block:hover .video-placeholder .play-circle { transform: scale(1.06); animation: none; }
.video-placeholder .play-circle::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent var(--accent-ink);
  margin-left: 4px;
}

/* Видео-сноска: «Смотреть на Rutube/VK/YouTube» */
.video-fallback {
  margin-top: 16px;
  padding: 10px 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.video-fallback .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 6px;
}
.video-btn {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 500;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.18s var(--ease);
}
.video-btn:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.video-btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.video-btn .dot { width: 7px; height: 7px; border-radius: 50%; }
.video-btn.rt .dot { background: #00c8ff; }
.video-btn.vk .dot { background: #2787f5; }
.video-btn.yt .dot { background: #ff0033; }

/* ── Section ── */
.section { padding: 32px 0; position: relative; }
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 56px 0 32px;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 18px;
  position: relative;
}
.section-title::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero) " /";
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  align-self: center;
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  line-height: 1.2;
}
main.container, body { counter-reset: section; }

/* ── Info card ── */
.info-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  margin-bottom: 12px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
}
.info-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.info-card p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ── Bullets ── */
.bullets {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  overflow: hidden;
}
.bullets li {
  position: relative;
  padding: 22px 28px 22px 84px;
  color: var(--fg);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s var(--ease);
  counter-increment: bullet;
}
.bullets { counter-reset: bullet; }
.bullets li:last-child { border-bottom: 0; }
.bullets li:hover { background: var(--bg); }
.bullets li::before {
  content: counter(bullet, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  position: absolute;
  left: 28px;
  top: 24px;
  padding: 3px 8px;
  border: 1px solid var(--accent-dim);
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  line-height: 1;
}

/* ── Steps ── */
.steps {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  overflow: hidden;
}
.step {
  position: relative;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s var(--ease);
}
.step:last-child { border-bottom: 0; }
.step:hover { background: var(--bg); }
.step-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--fg-subtle);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  white-space: nowrap;
  margin-top: 2px;
  line-height: 1.4;
}
.step-num::before { content: "ШАГ "; }
.step-body { padding-top: 0; }
.step-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.step-body p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.step-body p a {
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-dim);
  transition: border-color 0.15s, color 0.15s;
}
.step-body p a:hover { color: var(--accent-strong); border-bottom-color: var(--accent); }

/* ── Material rows ── */
.material {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 24px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.material:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.material .label {
  font-size: 16px;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.material .label small {
  display: block;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.material a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--fg);
  border-radius: var(--r-sm);
  color: var(--bg);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.18s var(--ease);
  box-shadow: inset 0 1px rgba(255,255,255,0.1);
}
.material a:hover { background: var(--accent); color: var(--accent-ink); }

/* ── CTA ── */
.cta-card {
  position: relative;
  margin: 80px auto 60px;
  text-align: center;
  padding: 100px 32px 120px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: visible;
  color: var(--fg);
}
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
}
.cta-card::before {
  top: 18px;
  left: 18px;
  border-right: 0;
  border-bottom: 0;
}
.cta-card::after {
  bottom: 18px;
  right: 18px;
  border-left: 0;
  border-top: 0;
}
.cta-card h2 {
  margin: 0 auto 16px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg);
  max-width: 18ch;
}
.cta-card h2 + p { margin-top: 16px; }
.cta-card p {
  margin: 0 auto 32px;
  color: var(--fg-muted);
  font-size: 17px;
  font-weight: 400;
  max-width: 540px;
}

/* ── Buttons ── */
.btn {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: inset 0 1px rgba(255,255,255,0.18), 0 1px 2px rgba(0,0,0,0.06);
}
.btn::after {
  content: "→";
  font-weight: 500;
  font-size: 16px;
  transition: transform 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  color: var(--accent-ink);
  box-shadow: inset 0 1px rgba(255,255,255,0.2), 0 6px 18px rgba(193, 87, 0, 0.25);
}
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn.btn-dark {
  background: var(--fg);
  color: var(--bg);
  box-shadow: inset 0 1px rgba(255,255,255,0.1);
}
.btn.btn-dark:hover { background: #1a1c22; color: var(--bg); }

.btn.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn.btn-ghost:hover { background: var(--bg-raised); border-color: var(--fg); }

/* ── Form ── */
.form { display: grid; gap: 24px; max-width: 720px; margin: 0 auto; }
.form-field { display: grid; gap: 8px; }
.form-field label {
  font-size: 14.5px;
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.form-field .hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="email"],
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--fg);
  font: inherit;
  font-size: 15.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--fg-subtle); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field textarea { min-height: 96px; resize: vertical; }

.form-radio-group { display: flex; flex-wrap: wrap; gap: 6px; }
.form-radio-group label {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
  transition: all 0.15s;
}
.form-radio-group label:hover { border-color: var(--fg); }
.form-radio-group input { display: none; }
.form-radio-group label:has(input:checked) {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.checkbox-row input { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 48px;
}
.site-footer a { color: var(--fg-muted); }

/* ── Mobile ── */
@media (max-width: 720px) {
  body { padding-top: 24px; font-size: 15px; }
  body::before { height: 24px; font-size: 9px; letter-spacing: 0.08em; }
  .site-header { top: 24px; }
  .container { padding: 0 18px; }
  .hero { padding: 64px 0 48px; }
  .hero::before, .hero::after { width: 12px; height: 12px; top: 14px; }
  .hero::before { left: 14px; }
  .hero::after { right: 14px; }
  .hero h1 { letter-spacing: -0.03em; max-width: none; }
  .hero .subtitle, .hero-sub { font-size: 16px; }
  .step { padding: 22px 22px; gap: 14px; grid-template-columns: 1fr; }
  .step-num { justify-self: start; }
  .info-card { padding: 22px 24px; }
  .bullets li { padding: 22px 22px 22px 78px; font-size: 15px; }
  .bullets li::before { left: 22px; }
  .material { grid-template-columns: 1fr; gap: 12px; }
  .material a { text-align: center; justify-self: stretch; }
  .video-fallback { gap: 6px; }
  .video-btn { padding: 6px 10px; font-size: 10.5px; }
  .video-block { padding: 8px 8px 14px; }
  .video-placeholder .play-circle { width: 56px; height: 56px; }
  .video-placeholder .play-circle::before { border-width: 9px 0 9px 14px; }
  .cta-card { padding: 64px 22px 76px; margin: 56px auto 40px; }
  .cta-card::before, .cta-card::after { width: 12px; height: 12px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .section-title { margin: 36px 0 22px; gap: 14px; }
  .section-title::before { font-size: 10px; }
}

/* ── Active player switcher button ── */
.video-btn.active {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

/* ── Voice message block (lesson_3) ── */
.voice-block {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 14px 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.voice-block .voice-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.voice-block .voice-body { flex: 1; min-width: 0; }
.voice-block .voice-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.voice-block audio {
  width: 100%;
  display: block;
  height: 40px;
}

/* ── Quiz: выбор правильного варианта ── */
.quiz-block {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  margin: 14px 0 22px;
}
.quiz-block .quiz-question {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--fg);
}
.quiz-block .quiz-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  margin: 0 0 18px;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.quiz-option {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: inherit;
  color: var(--fg);
  text-align: center;
}
.quiz-option:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.quiz-option img {
  width: 100%;
  border-radius: var(--r-sm);
  display: block;
}
.quiz-option .quiz-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.quiz-option.correct {
  border-color: var(--success);
  background: rgba(49, 143, 90, 0.08);
}
.quiz-option.wrong {
  border-color: var(--danger);
  background: rgba(215, 51, 55, 0.08);
}
.quiz-option.locked { pointer-events: none; }
.quiz-feedback {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 14px;
  display: none;
}
.quiz-feedback.show { display: block; }
.quiz-feedback.ok {
  background: rgba(49, 143, 90, 0.1);
  color: var(--success);
  border: 1px solid rgba(49, 143, 90, 0.3);
}
.quiz-feedback.bad {
  background: rgba(215, 51, 55, 0.08);
  color: var(--danger);
  border: 1px solid rgba(215, 51, 55, 0.25);
}

/* Voice playback-rate badge */
.voice-rate {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: var(--r-sm);
  vertical-align: 1px;
}
