*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229, 72, 77, 0.25);
}

.brand-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.brand-wave i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: #ffffff;
  font-style: normal;
}

.brand-wave i:nth-child(1) { height: 6px; }
.brand-wave i:nth-child(2) { height: 13px; }
.brand-wave i:nth-child(3) { height: 9px; }

.brand-hanzi {
  font-family: var(--font-cn);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.brand-sub {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.main-nav a.active {
  color: var(--text-primary);
  background: var(--bg-surface-2);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: var(--radius-pill);
}

.btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(229, 72, 77, 0.24);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
}

.btn-dark {
  background: var(--cta-dark);
  color: var(--cta-dark-text);
}

.btn-dark:hover {
  background: var(--cta-dark-hover);
}

.btn-outline {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
  font-size: 12px;
  font-weight: 700;
}

/* Hero Section (Landing Page) */
.hero-section {
  padding: 56px 0 36px;
  background:
    radial-gradient(900px 380px at 50% -60px, rgba(229, 72, 77, 0.07), transparent 70%),
    var(--bg-page);
}

.hero-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-trust {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Landing Scene Strip */
.scene-strip-wrap {
  margin-top: 32px;
}

.chip-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-row.left {
  justify-content: flex-start;
}

.chip {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}

.chip:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.chip.active {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  color: var(--cta-dark-text);
}

.mini-strip-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.mini-scene-card {
  text-align: left;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  overflow: hidden;
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}

.mini-scene-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.mini-scene-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.mini-scene-thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mini-scene-body {
  padding: 10px 12px;
}

.mini-scene-body strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-scene-body span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Landing Value Props & Sections */
.landing-section {
  padding: 64px 0;
  border-top: 1px solid var(--border-subtle);
}

.landing-section.subtle-bg {
  background: var(--bg-subtle);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head.centered {
  display: block;
  text-align: center;
  max-width: 660px;
  margin: 0 auto 38px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.section-desc {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 15.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-size: 19px;
  margin-bottom: 14px;
}

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

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.tone-demo-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tone-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.tone-pill.t1 { background: var(--tone-1-bg); color: var(--tone-1); }
.tone-pill.t2 { background: var(--tone-2-bg); color: var(--tone-2); }
.tone-pill.t3 { background: var(--tone-3-bg); color: var(--tone-3); }
.tone-pill.t4 { background: var(--tone-4-bg); color: var(--tone-4); }

/* Method Steps & FAQ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.step-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  padding: 16px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.cta-banner {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0;
  color: #cbd5e1;
  max-width: 560px;
}

/* Library Page */
.page-shell {
  padding: 36px 0 64px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.page-header h1 {
  margin: 4px 0 6px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.025em;
}

.page-header p {
  margin: 0;
  color: var(--text-secondary);
}

.continue-banner {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.continue-banner small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
}

.continue-banner strong {
  font-size: 16px;
}

.filter-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-input-wrap span {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.input-control,
.select-control {
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 0 14px;
  font-size: 14px;
}

.search-input-wrap .input-control {
  width: 100%;
  padding-left: 36px;
}

.input-control:focus,
.select-control:focus {
  outline: 2px solid rgba(229, 72, 77, 0.25);
  border-color: var(--brand-primary);
}

.course-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.course-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-subtle);
}

.course-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}

.course-badge-row {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.level-badge {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.level-Beginner { background: var(--level-beginner-bg); color: var(--level-beginner-fg); }
.level-Elementary { background: var(--level-elementary-bg); color: var(--level-elementary-fg); }
.level-Intermediate { background: var(--level-intermediate-bg); color: var(--level-intermediate-fg); }

.tier-badge {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
}

.tier-badge.free {
  background: rgba(16, 185, 129, 0.9);
}

.duration-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
}

.course-play-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.18);
  opacity: 0;
  transition: opacity 0.18s;
}

.course-card:hover .course-play-hover {
  opacity: 1;
}

.course-play-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: var(--shadow-md);
}

.course-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.course-title-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.bookmark-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.bookmark-btn.saved {
  background: var(--brand-primary-soft);
  border-color: var(--brand-primary-border);
  color: var(--brand-primary);
}

.course-cn {
  margin: 4px 0 8px;
  font-family: var(--font-cn);
  font-size: 13.5px;
  color: var(--text-secondary);
}

.course-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Dictation & Notebook Cards */
.challenge-shell {
  max-width: 780px;
  margin: 0 auto;
}

.panel-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-box {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.stat-box b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-box span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.tab-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  overflow-x: auto;
}

.tab-btn {
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

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

.vocab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.notebook-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notebook-card textarea {
  width: 100%;
  min-height: 70px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  resize: vertical;
  font-size: 13.5px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.pricing-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-md);
  position: relative;
}

.popular-tag {
  position: absolute;
  top: -12px;
  right: 22px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.price-amount {
  margin: 14px 0 6px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-amount small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-features li::before {
  content: "✓";
  color: var(--tone-3);
  font-weight: 800;
}

/* Empty State */
.empty-box {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}

.empty-box h3 {
  margin: 0 0 6px;
}

.empty-box p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

/* Modal & Dictionary Drawer */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: min(500px, 100%);
  max-height: 90dvh;
  overflow: auto;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-head h2 {
  margin: 0;
  font-size: 20px;
}

.close-x {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 20px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.close-x:hover {
  color: var(--text-primary);
  background: var(--bg-subtle);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 120;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: #0f172a;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast button {
  background: rgba(255, 255, 255, 0.16);
  border: 0;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1080px) {
  .header-inner { flex-wrap: wrap; padding: 10px 20px; }
  .site-header { height: auto; }
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 4px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 6px;
  }
  .main-nav a { font-size: 13px; padding: 6px 10px; white-space: nowrap; }
}

@media (max-width: 1024px) {
  .mini-strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .header-inner { padding: 10px 16px; }
  .container { padding: 0 16px; }
  .mini-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .vocab-grid { grid-template-columns: 1fr; }
  .hide-mobile { display: none; }
}
