/* ================================================
   FEHEMT — design.css v3 · Premium Redesign
   ================================================ */

/* === TOKENS === */
:root {
  --c-bg:           #f9f4ed;
  --c-bg-alt:       #f2ebe0;
  --c-surface:      #ffffff;
  --c-dark:         #0c1a10;
  --c-dark-2:       #142218;
  --c-dark-3:       #1c3024;

  --c-brand:        #116b50;
  --c-brand-bright: #1aaa7c;
  --c-brand-deep:   #0a5040;
  --c-brand-soft:   rgba(17,107,80,.10);
  --c-brand-glow:   rgba(26,170,124,.30);

  --c-gold:         #b8923a;
  --c-gold-lt:      #d4af6c;

  --c-text:         #111a14;
  --c-body:         #2d3e30;
  --c-muted:        #637166;
  --c-border:       #e3d9ca;
  --c-border-dk:    rgba(255,255,255,.08);

  --c-ok:           #14a068;
  --c-err:          #c8344e;
  --c-warn:         #d97706;

  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-2xl:  48px;
  --r-full: 9999px;

  --sh-xs:  0 1px 4px rgba(0,0,0,.06);
  --sh-sm:  0 4px 16px rgba(0,0,0,.08), 0 1px 5px rgba(0,0,0,.05);
  --sh-md:  0 12px 40px rgba(0,0,0,.10), 0 3px 12px rgba(0,0,0,.06);
  --sh-lg:  0 28px 72px rgba(0,0,0,.13), 0 8px 24px rgba(0,0,0,.07);
  --sh-glow:0 0 56px var(--c-brand-glow);

  --t-fast: 130ms ease;
  --t-base: 220ms ease;
  --t-slow: 380ms cubic-bezier(.25,.46,.45,.94);

  --f-sans: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Compat aliases — game.css uses these legacy names */
  --bg:      var(--c-bg);
  --surface: var(--c-surface);
  --muted:   var(--c-muted);
  --border:  var(--c-border);
  --brand:   var(--c-brand);
  --text:    var(--c-text);
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;   --s-7: 3rem;    --s-8: 4rem;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--c-brand); color: #fff; }
h1,h2,h3,h4 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; padding: 0; }
input, select, textarea { font: inherit; }

/* === LAYOUT === */
.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: 52px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  letter-spacing: .01em;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 6px 24px var(--c-brand-glow);
}
.btn-primary:hover {
  background: var(--c-brand-deep);
  box-shadow: 0 10px 36px var(--c-brand-glow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn-outline:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.55);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-brand);
  border-color: var(--c-brand);
}
.btn-outline-dark:hover {
  background: var(--c-brand-soft);
}

.btn-sm  { height: 40px; padding: 0 20px; font-size: .88rem; }
.btn-lg  { height: 58px; padding: 0 40px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* === NAV === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.site-nav.scrolled {
  background: rgba(12,26,16,.9);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(255,255,255,.07);
  box-shadow: 0 2px 28px rgba(0,0,0,.28);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 20px;
}
.nav-logo { flex-shrink: 0; line-height: 0; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: none; gap: 32px; flex: 1; }
.nav-links a {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.62);
  transition: color var(--t-fast);
  letter-spacing: .01em;
}
.nav-links a:hover { color: #fff; }
.nav-right { margin-left: auto; }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--c-dark);
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Grid pattern overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 100%);
}

/* Radial green glow */
.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,170,124,.16) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -65%);
  pointer-events: none;
}

/* Arabic watermark */
.hero-arabic {
  position: absolute;
  bottom: -12%;
  right: -2%;
  font-size: clamp(160px, 28vw, 400px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.05);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  opacity: .9;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  max-width: 820px;
  margin-inline: auto;
}

/* Pill badge */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-brand-bright);
  background: rgba(26,170,124,.12);
  border: 1px solid rgba(26,170,124,.25);
  padding: 6px 18px;
  border-radius: var(--r-full);
}
.hero-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-brand-bright);
  animation: tagPulse 2.4s ease-in-out infinite;
}
@keyframes tagPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.6); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.03;
  color: #fff;
}

.hero-em {
  font-style: normal;
  background: linear-gradient(130deg, #22d49a 0%, #c9a84c 55%, #e8d080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(.98rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,.55);
  max-width: 52ch;
  line-height: 1.7;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-hint {
  font-size: .8rem;
  color: rgba(255,255,255,.32);
  font-weight: 500;
}

/* Trust items */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.38);
  letter-spacing: .02em;
}
.hero-trust-item svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: rgba(255,255,255,.3);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-trust-sep { color: rgba(255,255,255,.15); font-size: .7rem; }

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.25));
  animation: scrollFade 2s ease-in-out infinite;
}
@keyframes scrollFade {
  0%,100% { opacity:.3; transform:scaleY(.7) translateY(-4px); }
  50%      { opacity:1; transform:scaleY(1) translateY(0); }
}

/* === STATS BAND === */
.stats-band {
  background: var(--c-brand);
  padding: 32px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 44px;
  text-align: center;
}
.stat-item strong {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-item span {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.58);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .stat-sep { display: none; }
  .stat-item { padding: 8px 22px; }
}

/* === SECTIONS === */
.section { padding: clamp(80px, 11vw, 130px) 0; }
.section-cream  { background: var(--c-bg); }
.section-white  { background: var(--c-surface); }
.section-alt    { background: var(--c-bg-alt); }

/* Section header */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section-head.centered {
  align-items: center;
  text-align: center;
  margin-inline: auto;
  max-width: 580px;
}
.section-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.section-desc {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.7;
  font-weight: 500;
  max-width: 54ch;
}

/* Eyebrow label */
.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-brand);
}
.eyebrow-label::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

/* === POUR QUI — AGE CARDS === */
.ages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.age-card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
/* Large decorative number */
.age-card::before {
  content: attr(data-num);
  position: absolute;
  top: -20px; right: 20px;
  font-size: 5.5rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--c-bg);
  line-height: 1;
  pointer-events: none;
  transition: color var(--t-base);
}
/* Color top bar */
.age-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--card-color, var(--c-brand));
  opacity: 0;
  transition: opacity var(--t-base);
}
.age-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.age-card:hover::after { opacity: 1; }
.age-card:hover::before { color: var(--c-bg-alt); }
.age-card-kids  { --card-color: #f59e0b; }
.age-card-teen  { --card-color: var(--c-brand); }
.age-card-adult { --card-color: #6366f1; }

.age-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: border-color var(--t-base);
}
.age-card:hover .age-icon-wrap { border-color: var(--card-color, var(--c-brand)); }
.age-range {
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.age-card h3 { font-size: 1.2rem; font-weight: 800; }
.age-card p  { font-size: .94rem; color: var(--c-muted); line-height: 1.65; flex: 1; }
.age-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.age-tags span {
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  color: var(--c-body);
}

/* === STEPS — HOW IT WORKS === */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .steps-wrap { flex-direction: row; gap: 28px; }
}
.step-card {
  flex: 1;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step-card:first-child {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 1px var(--c-brand);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.step-card:first-child .step-num {
  background: var(--c-brand);
  box-shadow: 0 4px 20px var(--c-brand-glow);
}
.step-card h3 { font-size: 1.1rem; font-weight: 800; }
.step-card p  { font-size: .93rem; color: var(--c-muted); line-height: 1.65; }

/* === DEMO — VOCAB + QUIZ === */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) {
  .demo-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
}

.vocab-list {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.vocab-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 15px 24px;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-fast);
}
.vocab-row:last-child { border-bottom: none; }
.vocab-row:hover { background: var(--c-bg); }
.vr-darja { font-weight: 700; font-size: .94rem; }
.vr-phon  { font-size: .8rem; color: var(--c-muted); font-style: italic; font-weight: 500; }
.vr-fr    { font-size: .88rem; color: var(--c-body); font-weight: 600; }
.vr-audio {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}
.vr-audio:hover { background: var(--c-brand); color: #fff; transform: scale(1.08); }

/* Dark quiz card */
.demo-quiz {
  background: var(--c-dark);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quiz-lbl {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-brand-bright);
}
.quiz-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  min-height: 2.8em;
}
.quiz-choices { display: flex; flex-direction: column; gap: 8px; }
.quiz-choice {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  color: rgba(255,255,255,.78);
  font-size: .93rem;
  font-weight: 600;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  cursor: pointer;
}
.quiz-choice:hover:not(:disabled) {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  transform: translateX(3px);
}
.quiz-choice.correct { background: rgba(20,160,104,.18); border-color: var(--c-ok); color: #6effc4; }
.quiz-choice.wrong   { background: rgba(200,52,78,.15);  border-color: var(--c-err); color: #ffb3be; }
.quiz-fb { font-size: .9rem; font-weight: 700; min-height: 1.4em; }

/* === TESTIMONIALS === */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3,1fr); } }

.testi {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--c-border); }
.testi-quote { font-size: 2.8rem; line-height: 1; color: var(--c-bg-alt); font-weight: 900; margin-bottom: -8px; }
.testi-stars { font-size: .82rem; letter-spacing: 1px; color: var(--c-gold); }
.testi p {
  font-size: .95rem;
  color: var(--c-body);
  line-height: 1.72;
  flex: 1;
  font-weight: 500;
}
.testi cite {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
  border-top: 1px solid var(--c-border);
  padding-top: 18px;
}
.testi-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.testi-av-1 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.testi-av-2 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.testi-av-3 { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.testi cite strong { display: block; font-size: .94rem; font-weight: 800; }
.testi cite span   { font-size: .78rem; color: var(--c-muted); font-weight: 500; }

/* === PRICING === */
.pricing-outer {
  display: flex;
  justify-content: center;
}
.pricing-card {
  width: min(460px, 100%);
  background: var(--c-surface);
  border: 2px solid var(--c-brand);
  border-radius: var(--r-2xl);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--sh-glow), var(--sh-lg);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(26,170,124,.07) 0%, transparent 55%);
  pointer-events: none;
}
.pricing-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--c-brand);
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--r-full);
}
.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .82rem;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}
.price-n {
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--c-text);
}
.price-u {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-muted);
}
.pricing-trial {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-brand);
  background: var(--c-brand-soft);
  padding: 10px 16px;
  border-radius: var(--r-md);
}
.pricing-features { display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--c-body);
}
.pricing-features li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-brand);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.5 10l3 3 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pricing-note {
  font-size: .8rem;
  color: var(--c-muted);
  text-align: center;
  font-weight: 500;
}

/* === FAQ === */
.faq-list {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item[open] {
  border-color: var(--c-brand);
  box-shadow: 0 4px 20px rgba(17,107,80,.08);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: .97rem;
  cursor: pointer;
  color: var(--c-text);
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-brand);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--t-base);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--c-brand); }
.faq-body {
  padding: 0 24px 22px;
  font-size: .95rem;
  color: var(--c-muted);
  line-height: 1.72;
  font-weight: 500;
}

/* === FINAL CTA (dark) === */
.final-cta {
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
}
.final-cta .section-head { position: relative; z-index: 1; }
.final-cta .section-head h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.final-cta .section-desc   { color: rgba(255,255,255,.48); }
.final-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.final-hint-inv {
  font-size: .8rem;
  color: rgba(255,255,255,.28);
  font-weight: 500;
}

/* === FOOTER === */
.site-footer {
  background: #080e0a;
  padding: 52px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.footer-brand img { height: 28px; width: auto; opacity: .7; }
.footer-brand p {
  font-size: .84rem;
  color: rgba(255,255,255,.28);
  margin-top: 14px;
  font-weight: 500;
  max-width: 30ch;
  line-height: 1.6;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: .86rem;
  color: rgba(255,255,255,.36);
  font-weight: 500;
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: rgba(255,255,255,.75); }
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.18);
  margin-top: 28px;
  font-weight: 500;
}

/* === STICKY BAR (mobile) === */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(12,26,16,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -8px 32px rgba(0,0,0,.22);
  transition: transform var(--t-base);
}
.sticky-bar.hidden { transform: translateY(110%); }
.sticky-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.sticky-text strong { color: #fff; font-size: .93rem; }
.sticky-text span   { color: rgba(255,255,255,.4); font-size: .78rem; font-weight: 500; }
.sticky-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.36);
  font-size: .88rem;
  transition: color var(--t-fast);
  border-radius: 50%;
}
.sticky-close:hover { color: #fff; }

/* === AUTH PAGES === */
.auth-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
  padding: 48px 24px;
}
.auth-box {
  width: min(480px, 100%);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 48px 40px;
  box-shadow: var(--sh-lg);
}
.auth-logo { display: block; margin-bottom: 32px; line-height: 0; }
.auth-logo img { height: 30px; width: auto; }
.auth-box h1 { font-size: 1.8rem; font-weight: 900; margin-bottom: 6px; }
.auth-sub { font-size: .94rem; color: var(--c-muted); margin-bottom: 28px; font-weight: 500; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: .85rem; font-weight: 700; color: var(--c-body); }
.form-input {
  padding: 14px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-input:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px var(--c-brand-soft);
}
.form-hint  { font-size: .8rem; color: var(--c-muted); font-weight: 500; }
.form-error { font-size: .85rem; color: var(--c-err); font-weight: 600; }
.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0;
  color: var(--c-muted);
  font-size: .8rem; font-weight: 600;
}
.form-divider::before,.form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--c-border);
}
.auth-link { font-size: .9rem; color: var(--c-muted); text-align: center; margin-top: 20px; font-weight: 500; }
.auth-link a { color: var(--c-brand); font-weight: 700; }
.auth-link a:hover { text-decoration: underline; }

/* === APP LAYOUT === */
.app-topbar {
  height: 64px;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--sh-xs);
}
.app-topbar-logo { font-weight: 900; font-size: 1.05rem; color: var(--c-brand); }
.app-topbar-sep  { width: 1px; height: 20px; background: var(--c-border); }
.app-session-info { font-size: .82rem; font-weight: 600; color: var(--c-muted); }

/* === FLASHCARD === */
.flashcard {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: 52px 44px;
  text-align: center;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 540px;
  margin-inline: auto;
  box-shadow: var(--sh-md);
}
.fc-arabic { font-size: 2.8rem; font-weight: 700; color: var(--c-brand); direction: rtl; }
.fc-phon   { font-size: 1.05rem; color: var(--c-muted); font-style: italic; font-weight: 500; }
.fc-sep    { width: 48px; height: 2px; background: var(--c-border); margin-inline: auto; }
.fc-fr     { font-size: 1.4rem; font-weight: 800; color: var(--c-text); }
.fc-audio-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border-radius: var(--r-full);
  font-weight: 700; font-size: .92rem;
  transition: background var(--t-fast), color var(--t-fast);
  margin-inline: auto;
}
.fc-audio-btn:hover { background: var(--c-brand); color: #fff; }
.fc-audio-btn svg { width: 14px; height: 14px; fill: currentColor; }
.fc-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fc-btn {
  flex: 1; min-width: 140px; height: 52px;
  border-radius: var(--r-full);
  font-weight: 700; font-size: .94rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.fc-btn:hover { transform: translateY(-2px); }
.fc-btn-later { background: var(--c-bg-alt); border: 1.5px solid var(--c-border); color: var(--c-body); }
.fc-btn-later:hover { background: var(--c-border); }
.fc-btn-known { background: var(--c-brand); color: #fff; box-shadow: 0 4px 20px var(--c-brand-glow); }
.fc-btn-known:hover { background: var(--c-brand-deep); }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================
   NOUVELLES SECTIONS
   ================================================ */

/* === MANIFESTE ÉMOTIONNEL === */
.manifesto {
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.manifesto-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-brand-bright);
}
.manifesto-eyebrow::before,
.manifesto-eyebrow::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.manifesto-body p {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,.52);
  line-height: 1.8;
  font-weight: 500;
}
.manifesto-body p strong {
  color: rgba(255,255,255,.85);
  font-weight: 700;
}
.manifesto-pull {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 28px 0;
  width: 100%;
}
.manifesto-pull blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--c-gold-lt);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* === FEATURE STRIP === */
.feature-strip {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: 40px 0;
  overflow: hidden;
}
.feature-strip-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.feature-strip-inner::-webkit-scrollbar { display: none; }
.feature-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 40px;
  border-right: 1px solid var(--c-border);
  flex-shrink: 0;
  scroll-snap-align: start;
  min-width: 220px;
}
.feature-strip-item:last-child { border-right: none; }
.fsi-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-brand-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fsi-icon svg {
  width: 20px; height: 20px;
  stroke: var(--c-brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fsi-text strong {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.fsi-text span {
  font-size: .8rem;
  color: var(--c-muted);
  font-weight: 500;
  line-height: 1.45;
}

/* === PROGRESSION 30 JOURS === */
.progress-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.progress-timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 27px; bottom: 27px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-brand) 0%, var(--c-border) 100%);
  border-radius: 2px;
}
@media (min-width: 820px) {
  .progress-timeline {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
  .progress-timeline::before { display: none; }
}
.progress-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}
@media (min-width: 820px) {
  .progress-step {
    flex: 1;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--c-surface);
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-xl);
    gap: 14px;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  }
  .progress-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--c-brand);
  }
  .progress-step:last-child { border-color: var(--c-gold); box-shadow: 0 0 0 1px var(--c-gold); }
  .progress-step:last-child:hover { box-shadow: 0 12px 36px rgba(184,146,58,.2); }
}
.progress-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 900;
  color: var(--c-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
}
.progress-step:first-child .progress-dot {
  border-color: var(--c-brand);
  color: var(--c-brand);
  background: rgba(17,107,80,.06);
}
.progress-step:last-child .progress-dot {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(184,146,58,.06);
}
@media (min-width: 820px) {
  .progress-dot { width: 48px; height: 48px; }
}
.progress-body { flex: 1; padding-top: 12px; }
@media (min-width: 820px) { .progress-body { padding-top: 0; } }
.progress-week {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.progress-step:first-child .progress-week { color: var(--c-brand); }
.progress-step:last-child .progress-week { color: var(--c-gold); }
.progress-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.progress-body p {
  font-size: .88rem;
  color: var(--c-muted);
  line-height: 1.6;
  font-weight: 500;
}
.progress-words {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: .77rem;
  font-weight: 700;
  color: var(--c-brand);
  background: var(--c-brand-soft);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.progress-step:last-child .progress-words {
  color: var(--c-gold);
  background: rgba(184,146,58,.1);
}

/* === COMPARAISON === */
.compare-wrap {
  max-width: 680px;
  margin-inline: auto;
}
.compare-table {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--c-bg);
  border-bottom: 2px solid var(--c-border);
}
.compare-head-cell {
  padding: 16px 24px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
.compare-head-cell:first-child { text-align: left; }
.compare-head-cell.is-fehemt {
  background: var(--c-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-fast);
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: var(--c-bg); }
.compare-cell {
  padding: 15px 24px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-body);
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-cell:first-child {
  justify-content: flex-start;
  color: var(--c-text);
  font-weight: 700;
}
.compare-cell.yes {
  color: var(--c-ok);
  font-size: 1.1rem;
  font-weight: 900;
}
.compare-cell.no {
  color: #d1d5db;
  font-size: 1.1rem;
}
.compare-cell.partial {
  color: var(--c-warn);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ================================================
   APP NAV (pages internes : /app, /learn, /account)
   ================================================ */
.app-body {
  background: var(--c-bg);
  min-height: 100svh;
}
.app-nav {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--sh-xs);
}
.app-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.app-nav-logo img { height: 28px; width: auto; display: block; }
.app-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
}
.app-nav-links a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-muted);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.app-nav-links a:hover {
  background: var(--c-bg);
  color: var(--c-brand);
}
.app-nav-links a.is-active {
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.app-nav-logout { margin-left: auto; }
.app-main { padding-top: 32px; padding-bottom: 64px; }

/* override btn-outline-dark for nav context */
.app-nav .btn-outline-dark {
  height: 36px;
  padding: 0 16px;
  font-size: .82rem;
}

/* ================================================
   GAME RUNNER PAGE — game-stage + learn-session-head
   ================================================ */
.game-runner { }
.learn-session-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.learn-session-head h1 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-text);
  margin-bottom: 2px;
}
.learn-session-head .kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 4px;
}
.learn-session-head .muted { font-size: .88rem; color: var(--c-muted); font-weight: 500; }
.learn-head-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.card {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-sm);
}
.game-stage {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
}
.learn-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.learn-error {
  color: var(--c-err);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 8px;
  min-height: 20px;
}
.learn-error.is-visible { display: block; }
.link-muted { font-size: .85rem; color: var(--c-muted); font-weight: 500; }
.link-muted:hover { color: var(--c-brand); }
.phaser-root { width: 100%; }
.kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 4px;
  display: block;
}
.muted { color: var(--c-muted); font-size: .92rem; }

/* ================================================
   LEARN APP (/app — flashcards SRS)
   ================================================ */
.learn-app { }
.learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 860px) {
  .learn-grid { grid-template-columns: 2fr 1fr; }
}
.learn-main { display: flex; flex-direction: column; gap: 16px; }
.learn-progress-card { }
.learn-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.learn-progress-top h2 { font-size: 1.15rem; font-weight: 800; }
.learn-progress-bar-wrap {
  background: var(--c-bg-alt);
  border-radius: var(--r-full);
  height: 10px;
  overflow: hidden;
}
.learn-progress-bar {
  height: 100%;
  background: var(--c-brand);
  border-radius: var(--r-full);
  transition: width .4s ease;
}
.learn-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* ================================================
   LEARN PAGE v2 — /learn (jeux interactifs)
   ================================================ */
.learn-page-wrap {
  padding: 36px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header */
.learn-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.learn-page-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 6px;
}
.learn-page-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--c-text);
  margin-bottom: 4px;
}
.learn-page-sub {
  font-size: .88rem;
  color: var(--c-muted);
  font-weight: 500;
}
.learn-page-meta {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 4px;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--c-bg-alt);
  color: var(--c-body);
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  border: 1.5px solid var(--c-border);
}
.lp-badge-accent {
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border-color: transparent;
}

/* Error */
.learn-page-error {
  display: none;
  color: var(--c-err);
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 16px;
  background: rgba(200,52,78,.06);
  border: 1px solid rgba(200,52,78,.18);
  border-radius: var(--r-sm);
}
.learn-page-error.is-visible { display: block; }

/* Stage */
.learn-page-stage {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
}
.learn-page-loading {
  color: var(--c-muted);
  font-size: .9rem;
  padding: 32px 28px;
  font-style: italic;
}

/* Actions */
.learn-page-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.learn-page-quit {
  font-size: .85rem;
  color: var(--c-muted);
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
}
.learn-page-quit:hover { color: var(--c-brand); }

/* Active nav link */
.app-nav-links a.is-active {
  color: var(--c-brand);
  background: var(--c-brand-soft);
}
