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

/* ───────────────────────────────────────────────
   Design tokens
─────────────────────────────────────────────── */
:root {
  --bg:       #0b1220;
  --panel:    #111a2b;
  --panel-2:  #0f172a;
  --panel-3:  #162033;
  --text:     #e5e7eb;
  --muted:    #9ca3af;
  --line:     #1e3050;
  --brand:    #38bdf8;
  --brand-dk: #0ea5e9;
  --green:    #22c55e;
  --yellow:   #eab308;
  --red:      #ef4444;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,0.4);
}

/* ───────────────────────────────────────────────
   Reset & base
─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ───────────────────────────────────────────────
   Layout
─────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ───────────────────────────────────────────────
   Navigation
─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand span { color: var(--brand); }

.brand-icon {
  width: 28px;
  height: 28px;
  color: var(--brand);
  flex-shrink: 0;
}

.links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 14px;
}

.links a {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
  position: relative;
}

.links a:hover {
  color: #fff;
  background: rgba(56, 189, 248, 0.08);
}

.links a.active {
  color: var(--brand);
  font-weight: 600;
}

.links a.active::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

/* ───────────────────────────────────────────────
   Hero
─────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #071020 0%, #0a2540 50%, #071828 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 70%);
  pointer-events: none;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 800;
}

.sub {
  color: #94a3b8;
  max-width: 680px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.65;
}

/* Stats bar */
.stats-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ───────────────────────────────────────────────
   Buttons
─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid #2563a8;
  background: linear-gradient(135deg, #1246a0, #0e3a82);
  color: #e0f2fe;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
  border-color: var(--brand);
}

.btn:active { transform: translateY(0); }

.btn-secondary {
  background: var(--panel-3);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(56,189,248,0.1);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

/* Speak / icon button */
.speak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s, transform 0.15s;
  flex-shrink: 0;
}

.speak-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.speak-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: rgba(56, 189, 248, 0.1);
  transform: scale(1.08);
}

.speak-btn:active { transform: scale(0.95); }

.speak-btn.playing {
  color: var(--brand);
  border-color: var(--brand);
  background: rgba(56, 189, 248, 0.15);
  animation: pulse-ring 1.2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(56,189,248,0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}

/* ───────────────────────────────────────────────
   Sections
─────────────────────────────────────────────── */
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section p.top {
  color: var(--muted);
  margin: 0 0 20px;
}

/* ───────────────────────────────────────────────
   Grid
─────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ───────────────────────────────────────────────
   Cards
─────────────────────────────────────────────── */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative;
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.12), 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}

a.card { cursor: pointer; }

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.55;
  font-size: 14px;
}

/* Vocabulary card specifics */
.vocab-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vocab-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.word {
  font-weight: 800;
  font-size: 22px;
  color: #f1f5f9;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.phon {
  font-size: 13px;
  color: #60a5fa;
  margin-top: 3px;
  font-family: 'Courier New', monospace;
}

.heb {
  font-size: 24px;
  font-weight: 800;
  direction: rtl;
  text-align: right;
  margin: 10px 0 8px;
  color: #f0f9ff;
  line-height: 1.3;
}

.example {
  color: #64748b;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 8px;
}

/* ───────────────────────────────────────────────
   Phrase cards
─────────────────────────────────────────────── */
.phrase-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phrase-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.1), 0 6px 24px rgba(0,0,0,0.3);
}

.phrase-card-header {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.phrase-card-header h3 {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.phrase-body {
  padding: 14px 18px 18px;
}

.phrase-text {
  font-family: 'Courier New', 'Lucida Console', monospace;
  font-size: 14px;
  color: #e2e8f0;
  background: #070d18;
  border: 1px solid #1e3050;
  border-radius: 8px;
  padding: 14px 16px;
  line-height: 1.7;
  margin: 0 0 14px;
  position: relative;
}

.phrase-play-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.structure-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 6px;
}

.structure-text {
  font-size: 13px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.06);
  border-left: 2px solid var(--brand);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  line-height: 1.55;
}

/* ───────────────────────────────────────────────
   Drill cards
─────────────────────────────────────────────── */
.drill-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
}

.drill-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.drill-card .desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.score-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.transmission-box {
  background: #070d18;
  border: 1px solid #1e3050;
  border-radius: 8px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: #7dd3fc;
  margin-bottom: 16px;
  min-height: 52px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.choice-btn {
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.03em;
}

.choice-btn:hover:not(:disabled) {
  border-color: var(--brand);
  background: rgba(56,189,248,0.07);
  transform: translateY(-1px);
}

.choice-btn:disabled { cursor: not-allowed; opacity: 0.7; }
.choice-btn.correct  { border-color: var(--green) !important; background: rgba(34,197,94,0.12) !important; color: var(--green) !important; }
.choice-btn.wrong    { border-color: var(--red) !important; background: rgba(239,68,68,0.1) !important; color: #fca5a5 !important; }

/* Number parsing inputs */
.parse-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field-label {
  width: 80px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.answer-input {
  flex: 1;
  border: 1px solid #334155;
  background: var(--panel-2);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: 'Courier New', monospace;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.answer-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

.answer-input.correct { border-color: var(--green); background: rgba(34,197,94,0.07); }
.answer-input.wrong   { border-color: var(--red);   background: rgba(239,68,68,0.07); }

.check-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #2563a8;
  background: linear-gradient(135deg, #1246a0, #0e3a82);
  color: #e0f2fe;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.check-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14,165,233,0.25);
}

.result-box {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  display: none;
}

.result-box.show { display: block; }
.result-box.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.result-box.error   { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); color: #fca5a5; }

/* Readback textarea */
.readback-area {
  width: 100%;
  border: 1px solid #334155;
  background: var(--panel-2);
  color: var(--text);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  resize: vertical;
  min-height: 80px;
  font-family: 'Inter', Arial, sans-serif;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.readback-area:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

.model-readback {
  background: #070d18;
  border: 1px solid #1e3050;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #7dd3fc;
  margin-top: 12px;
  display: none;
}

.model-readback.show { display: block; }

.model-readback-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 6px;
}

/* ───────────────────────────────────────────────
   Tab switcher
─────────────────────────────────────────────── */
.tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 9px 16px;
  border-radius: 8px 8px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  position: relative;
  bottom: -1px;
}

.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.04); }

.tab-btn.active {
  color: var(--brand);
  background: var(--panel);
  border-color: var(--line);
  border-bottom-color: var(--panel);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ───────────────────────────────────────────────
   Scenario styles
─────────────────────────────────────────────── */
.scenario-list {
  display: grid;
  gap: 20px;
}

.scenario-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.scenario-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-3);
}

.scenario-header h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.scenario-context {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.scenario-body {
  padding: 22px;
}

.step {
  display: none;
}

.step.active { display: block; }

.step-indicator {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand);
  margin-bottom: 10px;
}

.step-situation {
  background: #070d18;
  border: 1px solid #1e3050;
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.step-question {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.step-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-choice {
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.12s;
  line-height: 1.5;
}

.step-choice:hover:not(:disabled) {
  border-color: var(--brand);
  background: rgba(56,189,248,0.07);
  transform: translateX(2px);
}

.step-choice:disabled { cursor: not-allowed; }
.step-choice.correct  { border-color: var(--green) !important; background: rgba(34,197,94,0.1) !important; color: #86efac !important; }
.step-choice.wrong    { border-color: var(--red) !important; background: rgba(239,68,68,0.08) !important; color: #fca5a5 !important; }

.step-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
  display: none;
}

.step-feedback.show { display: block; }
.step-feedback.ok  { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); color: #86efac; }
.step-feedback.bad { background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.22); color: #fca5a5; }

.next-step-btn {
  margin-top: 14px;
  display: none;
}

.next-step-btn.show { display: inline-flex; }

.scenario-summary {
  display: none;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--panel-3);
  text-align: center;
}

.scenario-summary.show { display: block; }

.summary-score {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.summary-label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

/* ───────────────────────────────────────────────
   Badges
─────────────────────────────────────────────── */
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(18, 49, 81, 0.8);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(56,189,248,0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge-green  { background: rgba(34,197,94,0.1);  color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.badge-yellow { background: rgba(234,179,8,0.1);  color: #fde047; border: 1px solid rgba(234,179,8,0.3); }
.badge-gray   { background: rgba(100,116,139,0.1); color: #94a3b8; border: 1px solid rgba(100,116,139,0.25); }

/* ───────────────────────────────────────────────
   Toolbar / form controls
─────────────────────────────────────────────── */
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

input[type="search"],
input[type="text"],
input[type="number"],
select,
textarea {
  border: 1px solid #334155;
  background: var(--panel-2);
  color: var(--text);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: 'Inter', Arial, sans-serif;
}

input[type="search"],
input[type="text"] {
  min-width: 220px;
  flex: 1;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

select {
  cursor: pointer;
  padding-right: 28px;
  appearance: auto;
}

/* ───────────────────────────────────────────────
   Roadmap timeline
─────────────────────────────────────────────── */
.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.roadmap-sidebar {
  background: var(--panel-3);
  border-right: 1px solid var(--line);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-phase {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}

.roadmap-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.roadmap-content {
  padding: 24px;
}

.roadmap-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.roadmap-content li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
}

.roadmap-content li .li-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.li-icon.done    { background: rgba(34,197,94,0.15);  color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.li-icon.prog    { background: rgba(234,179,8,0.12); color: #fde047; border: 1px solid rgba(234,179,8,0.3); }
.li-icon.plan    { background: rgba(100,116,139,0.1); color: #64748b; border: 1px solid rgba(100,116,139,0.2); }

/* ───────────────────────────────────────────────
   Footer
─────────────────────────────────────────────── */
.footer {
  color: var(--muted);
  text-align: center;
  padding: 30px 0 36px;
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ───────────────────────────────────────────────
   Utility
─────────────────────────────────────────────── */
.flex-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spacer { flex: 1; }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }

/* ───────────────────────────────────────────────
   Mobile responsive
─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .links {
    gap: 2px;
  }

  .links a.active::after { display: none; }

  .grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 30px; }
  .sub { font-size: 16px; }

  .stats-bar { gap: 16px; }

  .choices {
    grid-template-columns: 1fr;
  }

  .roadmap-item {
    grid-template-columns: 1fr;
  }

  .roadmap-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 18px;
    gap: 8px;
  }

  .roadmap-title { font-size: 15px; }
}
