/* ============================================================
   LessonFrame — main.css
   Fingerprint: f81c21a5...
   Architecture: ITCSS / BEM / Component-based
   Theme: streaming-dark-orange
   Units: percentages + design tokens
============================================================ */

/* ---------- 01 SETTINGS / DESIGN TOKENS ---------- */
:root {
  /* Color palette */
  --bg-primary: #141414;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #212121;
  --bg-card: #1d1d1d;
  --bg-elevated: #262626;

  --accent: #f47521;
  --accent-hover: #ff8533;
  --accent-glow: rgba(244, 117, 33, 0.3);
  --accent-soft: rgba(244, 117, 33, 0.12);

  --text-primary: #ffffff;
  --text-secondary: #d1d1d1;
  --text-muted: #9a9a9a;
  --text-dim: #6f6f6f;

  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);

  /* Spacing tokens (tight rhythm) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.85rem;
  --fs-base: 0.9rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;

  /* Layout */
  --container-max: 1320px;
  --sidebar-w: 240px;
  --header-h-mobile: 64px;
  --bottom-nav-h: 60px;

  /* Border */
  --border-radius: 6px;
  --border-radius-lg: 12px;
  --border-radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 4px 15px var(--accent-glow);

  /* Motion */
  --transition: 200ms ease;
  --transition-slow: 360ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- 02 GENERIC / NORMALIZE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- 03 ELEMENTS ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-3xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: var(--fs-2xl);
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  font-size: var(--fs-lg);
  font-weight: 500;
}

p {
  margin: 0 0 var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: 1.55;
}

ul, ol {
  margin: 0;
  padding-left: 1.25rem;
}

/* ---------- 04 OBJECTS (Layout) ---------- */

.l-app {
  display: block;
  min-height: 100vh;
}

.l-main {
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.o-container {
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.o-section {
  padding: var(--space-xl) 0;
  flex: 1 1 auto;
}

.o-section + .o-section {
  border-top: 1px solid var(--line);
}

.o-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.o-section__title {
  font-size: var(--fs-xl);
  letter-spacing: -0.015em;
}

.o-section__subtitle {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-xs);
}

.o-section__more {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.o-section__more:hover {
  color: var(--accent);
}

/* ---------- 05 COMPONENTS ---------- */

/* — Site shell (sidebar header) — */
.site-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: #0f0f0f;
  border-right: 1px solid var(--line);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) 0;
  --mm-bg: #0f0f0f;
  --mm-text: var(--text-primary);
  --mm-primary: var(--accent);
  --mm-overlay-bg: rgba(0, 0, 0, 0.7);
}

.site-shell__brand {
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-xl);
}

.site-shell__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
}

.site-shell__logo:hover {
  color: var(--text-primary);
}

.site-shell__logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius);
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-accent);
}

.site-shell__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: absolute;
  right: 12px;
  top: 12px;
}

.site-shell__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.site-shell__nav {
  flex: 1;
  overflow-y: auto;
}

.site-shell__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-primary);
  padding: 4px 8px;
  display: none;
}

.site-shell__list {
  list-style: none;
  margin: 0;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-shell__sep {
  height: 1px;
  background: var(--line);
  margin: var(--space-sm) var(--space-md);
}

.site-shell__link {
  display: block;
  padding: 9% 5%;
  padding: 0.65rem 1rem;
  color: var(--text-secondary);
  font-size: var(--fs-base);
  border-radius: var(--border-radius);
  transition: background var(--transition), color var(--transition);
}

.site-shell__link:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.site-shell__link--active {
  background: var(--accent-soft);
  color: var(--accent);
}

.site-shell__link--ghost {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.site-shell__cta {
  display: block;
  margin: var(--space-sm) var(--space-md) 0;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 600;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-accent);
  transition: background var(--transition);
}

.site-shell__cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* — Overlay — */
[data-mm-overlay] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mm-overlay-bg, rgba(0,0,0,0.7));
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1050;
}

[data-mm-overlay].mm-visible {
  opacity: 1;
  visibility: visible;
}

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 500;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 6px 22px var(--accent-glow);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text-primary);
}

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

.btn--large {
  padding: 0.95rem 2rem;
  font-size: var(--fs-md);
}

.btn--block {
  width: 100%;
}

/* — Hero (TV channel banner) — */
.hero-promo {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 460px;
  max-height: 580px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  background: var(--bg-secondary);
}

.hero-promo__bg {
  position: absolute;
  inset: 0;
}

.hero-promo__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-promo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.hero-promo__content {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 8%;
  max-width: 60%;
  z-index: 2;
}

.hero-promo__label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--border-radius-pill);
  margin-bottom: var(--space-md);
}

.hero-promo__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.hero-promo__episode {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-promo__synopsis {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  max-width: 90%;
}

.hero-promo__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.hero-promo__count {
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  padding: 0.45rem 0.9rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--line);
}

/* — Channel tabs — */
.channel-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.channel-tabs::-webkit-scrollbar {
  display: none;
}

.channel-tabs__tab {
  padding: 0.7rem 1.1rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  font-family: inherit;
}

.channel-tabs__tab:hover {
  color: var(--text-primary);
}

.channel-tabs__tab--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* — Series row (4-col video grid) — */
.series-row {
  margin-bottom: var(--space-xl);
}

.series-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.series-row__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.series-row__sub {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-left: var(--space-sm);
}

.series-row__more {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.series-row__more:hover {
  color: var(--accent);
}

.series-row__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5%;
  gap: var(--space-md);
}

/* — Video card — */
.video-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  box-shadow: var(--shadow-md);
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.video-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--transition);
}

.video-card:hover .video-card__thumb img {
  filter: brightness(1.1);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  background: rgba(0, 0, 0, 0.4);
}

.video-card:hover .video-card__play {
  opacity: 1;
}

.video-card__play::before {
  content: "▶";
  color: #fff;
  font-size: 2rem;
  text-shadow: 0 0 14px rgba(0,0,0,0.7);
}

.video-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.video-card__badge--new {
  background: #2ed573;
}

.video-card__badge--ep {
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.video-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: var(--fs-xs);
  padding: 2px 6px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

.video-card__body {
  padding: var(--space-sm) var(--space-md);
}

.video-card__title {
  color: var(--text-primary);
  font-size: var(--fs-base);
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__meta {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}

.video-card__meta span + span::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--text-dim);
}

/* — Metric strip — */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.metric-strip__item {
  background: var(--bg-tertiary);
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.metric-strip__value {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-strip__label {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}

/* — Feature grid — */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.feat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.feat-card__title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.feat-card__desc {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.55;
  margin: 0;
}

/* — Pricing plans — */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.plan-card:hover {
  transform: translateY(-3px);
}

.plan-card--popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.plan-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  box-shadow: var(--shadow-accent);
}

.plan-card__name {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.plan-card__price {
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-card__period {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-left: 0.3rem;
}

.plan-card__hint {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: var(--space-sm) 0 var(--space-lg);
  min-height: 2.5em;
}

.plan-card__feats {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.plan-card__feat {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.plan-card__feat::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* — Educators grid — */
.educator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.educator-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--transition);
}

.educator-card:hover {
  transform: translateY(-3px);
}

.educator-card__photo {
  width: 60%;
  max-width: 130px;
  aspect-ratio: 1;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.educator-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.educator-card__name {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.educator-card__role {
  color: var(--accent);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.educator-card__bio {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.55;
  margin: 0 0 var(--space-sm);
}

.educator-card__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  border-top: 1px solid var(--line);
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
}

/* — FAQ — */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  font-size: var(--fs-base);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-item__q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform var(--transition);
}

.faq-item--open .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.6;
  display: none;
}

.faq-item--open .faq-item__a {
  display: block;
}

/* — Payment row — */
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.pay-row__item {
  background: var(--bg-tertiary);
  border: 1px solid var(--line);
  color: var(--text-secondary);
  padding: 0.55rem 1rem;
  border-radius: var(--border-radius);
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
}

.pay-note {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-align: center;
}

/* — Cancellation steps — */
.cancel-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.cancel-step {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--line);
}

.cancel-step__num {
  font-size: var(--fs-2xl);
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.cancel-step__title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cancel-step__desc {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.5;
  margin: 0;
}

/* — Lead/Register CTA strip — */
.register-strip {
  background: linear-gradient(135deg, rgba(244, 117, 33, 0.12), rgba(244, 117, 33, 0.03));
  border: 1px solid rgba(244, 117, 33, 0.25);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.register-strip__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.register-strip__sub {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  margin-bottom: var(--space-lg);
}

/* — Disclaimer notice (subtle, neutral) — */
.editorial-notice {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  text-align: center;
  margin: var(--space-lg) auto 0;
  max-width: 600px;
  line-height: 1.55;
}

.editorial-notice a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--text-dim);
}

.editorial-notice a:hover {
  color: var(--accent);
}

/* — Footer — */
.site-foot {
  background: #0c0c0c;
  border-top: 1px solid var(--line);
  margin-top: var(--space-3xl);
  margin-left: var(--sidebar-w);
}

.site-foot__inner {
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-2xl) 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: var(--space-xl);
}

.site-foot__col--brand p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.site-foot__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.site-foot__mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 700;
}

.site-foot__tag {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
}

.site-foot__note {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.site-foot__heading {
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.site-foot__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-foot__list a {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  transition: color var(--transition);
}

.site-foot__list a:hover {
  color: var(--accent);
}

.site-foot__addr {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-style: normal;
  line-height: 1.6;
}

.site-foot__addr strong {
  color: var(--text-primary);
}

.site-foot__addr a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-foot__addr a:hover {
  color: var(--accent);
}

.site-foot__bottom {
  border-top: 1px solid var(--line);
  padding: var(--space-md) 0;
  width: 92%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.site-foot__copy,
.site-foot__one-liner {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  margin: 0;
}

.site-foot__one-liner a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--text-dim);
}

/* — Auth forms — */
.auth-page {
  max-width: 440px;
  margin: var(--space-3xl) auto;
  padding: 0 var(--space-md);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.auth-card__title {
  text-align: center;
  font-size: var(--fs-xl);
  margin-bottom: var(--space-sm);
}

.auth-card__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xl);
}

.field {
  margin-bottom: var(--space-md);
}

.field__label {
  display: block;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.field__input {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--line-strong);
  color: var(--text-primary);
  padding: 0.7rem 0.9rem;
  border-radius: var(--border-radius);
  font-size: var(--fs-base);
  font-family: inherit;
  transition: border-color var(--transition);
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field__hint {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  margin-top: 0.3rem;
}

.field__check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.field__check input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.field__check a {
  color: var(--accent);
}

.auth-error {
  background: rgba(255, 71, 71, 0.08);
  border: 1px solid rgba(255, 71, 71, 0.3);
  color: #ff8e8e;
  padding: 0.7rem 0.9rem;
  border-radius: var(--border-radius);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
}

.auth-success {
  background: rgba(46, 213, 115, 0.08);
  border: 1px solid rgba(46, 213, 115, 0.3);
  color: #7ee5a3;
  padding: 0.7rem 0.9rem;
  border-radius: var(--border-radius);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
}

.auth-alt {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* — Page hero (non-home) — */
.page-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-lg);
}

.page-hero__crumb {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.page-hero__title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.page-hero__lead {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  max-width: 680px;
}

/* — Legal pages prose — */
.legal-prose {
  max-width: 760px;
  margin: 0 auto;
}

.legal-prose h2 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.legal-prose h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-prose p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0 0 var(--space-sm);
}

.legal-prose ul {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
  padding-left: 1.25rem;
  margin: 0 0 var(--space-sm);
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-prose .legal-prose__updated {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-style: italic;
}

/* — Dashboard — */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.dash-stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
}

.dash-stat__label {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.dash-stat__value {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text-primary);
}

/* — Contact — */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
}

.contact-info__row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}

.contact-info__row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info__label {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info__value {
  color: var(--text-primary);
  font-size: var(--fs-base);
}

.contact-info__value a {
  color: var(--text-primary);
}

.contact-info__value a:hover {
  color: var(--accent);
}

/* — Loading spinner — */
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(255,255,255,0.15); }
  50%      { box-shadow: 0 0 50px rgba(255,255,255,0.35); }
}

@keyframes scale-fade-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* — Video modal (cinema-blur) — */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px) saturate(0.6);
  -webkit-backdrop-filter: blur(18px) saturate(0.6);
  padding: var(--space-md);
  animation: scale-fade-in 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal__player {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  background: rgba(10, 10, 10, 0.85);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.video-modal__play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 0 30px rgba(255,255,255,0.15);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.video-modal__play-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-modal__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 0 16px 10px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.video-modal__progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-bottom: 6px;
  overflow: hidden;
}

.video-modal__progress::after {
  content: "";
  display: block;
  width: 22%;
  height: 100%;
  background: #fff;
}

.video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--transition);
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.modal-open {
  overflow: hidden;
}

/* ---------- 06 UTILITIES ---------- */
.u-mt-lg { margin-top: var(--space-lg); }
.u-mb-lg { margin-bottom: var(--space-lg); }
.u-text-center { text-align: center; }

/* ---------- 07 MEDIA QUERIES ---------- */
@media (max-width: 1100px) {
  .series-row__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .metric-strip,
  .pricing-grid,
  .cancel-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .educator-grid,
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-foot__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-shell {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: var(--header-h-mobile);
    flex-direction: row;
    align-items: center;
    padding: 0 var(--space-md);
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .site-shell__brand {
    padding: 0;
    margin: 0;
    flex: 1;
  }

  .site-shell__toggle {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
  }

  .site-shell__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-primary);
    border-right: 1px solid var(--line);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    z-index: 1100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 60px 16px 16px;
  }

  .site-shell__nav.mm-open {
    transform: translateX(0);
  }

  .site-shell__close {
    display: block;
  }

  .site-shell__list {
    padding: 0;
  }

  .site-shell__link {
    padding: 0.85rem 0.6rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .l-main {
    margin-left: 0;
    padding-top: calc(var(--header-h-mobile) + var(--space-md));
    padding-bottom: calc(var(--bottom-nav-h) + var(--space-md));
  }

  .site-foot {
    margin-left: 0;
  }

  .site-foot__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .series-row__grid,
  .pricing-grid,
  .metric-strip,
  .cancel-steps,
  .educator-grid,
  .feat-grid,
  .dash-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-promo {
    height: 70vh;
    min-height: 380px;
  }

  .hero-promo__content {
    max-width: 90%;
    bottom: 6%;
  }

  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }

  .o-container {
    width: 94%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
