:root {
  --ink: #14221e;
  --muted: #5e6d66;
  --line: #dfe8e1;
  --paper: #f7f8f3;
  --panel: #ffffff;
  --green: #0f6b4f;
  --green-dark: #083e31;
  --gold: #d9a441;
  --red: #b93838;
  --blue: #1f5f8b;
  --shadow: 0 16px 40px rgba(20, 34, 30, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 248, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: var(--green-dark);
  font-weight: 800;
}

.brand-name,
.brand-subtitle {
  display: block;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.hero,
.lesson-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 7vw, 82px) clamp(18px, 5vw, 72px) clamp(22px, 4vw, 52px);
}

.hero h1,
.page-heading h1,
.lesson-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text,
.page-heading p,
.lesson-hero p,
.section-header p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button {
  padding: 0 16px;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: white;
  border-color: var(--line);
}

.text-link {
  color: var(--green);
}

.table-visual {
  min-height: 360px;
}

.felt {
  min-height: 360px;
  padding: 28px;
  border: 12px solid #724c2e;
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 56%),
    var(--green-dark);
  box-shadow: var(--shadow);
}

.dealer-label {
  width: fit-content;
  padding: 8px 12px;
  color: white;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  font-weight: 800;
}

.cards {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 52px 0;
}

.card {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 0.72;
  color: var(--ink);
  background: white;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  font-size: 42px;
  font-weight: 900;
}

.card.red {
  color: var(--red);
}

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

.decision-strip span,
.tag-row span,
.status-pill {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section,
.page-heading {
  padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 72px);
}

.page-heading.compact {
  padding-bottom: 20px;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2,
.split h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.playlist-card,
.path-row,
.lesson-row,
.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 34, 30, 0.06);
}

.playlist-card {
  padding: 20px;
}

.playlist-card h3,
.path-row h2,
.lesson-row h2 {
  margin: 8px 0;
}

.playlist-card p,
.path-row p,
.lesson-row p {
  color: var(--muted);
}

.card-meta,
.path-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.band {
  background: #eaf0eb;
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
}

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

.metric {
  padding: 18px;
}

.metric strong {
  display: block;
  font-size: 32px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.path-list,
.lesson-list {
  display: grid;
  gap: 14px;
}

.path-row,
.lesson-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.lesson-row {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.lesson-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: var(--green-dark);
  font-weight: 900;
}

.video-panel {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--green-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-panel iframe,
.video-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  color: white;
  text-align: center;
}

.video-placeholder span {
  font-size: 22px;
  font-weight: 900;
}

.lesson-content {
  max-width: 880px;
}

.lesson-content h1 {
  display: none;
}

.lesson-content h2 {
  margin-top: 28px;
  font-size: 28px;
}

.lesson-content p,
.lesson-content li {
  color: var(--muted);
  font-size: 17px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: white;
  background: var(--green-dark);
}

.footer p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 860px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .lesson-hero,
  .split,
  .path-row,
  .lesson-row {
    grid-template-columns: 1fr;
  }

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

  .table-visual {
    min-height: 280px;
  }

  .felt {
    min-height: 280px;
  }
}

