/* =====================================================
   Bible 101 v2 — Dashboard Redesign Stylesheet
   Layered on top of css/style.css for ported pages:
   index.html, bible-101-dashboard.html, lessons/*.html
   ===================================================== */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --charcoal: #161616;
  --charcoal-soft: #1f1f1f;
  --bronze: #b8965a;
  --bronze-deep: #8d6f3e;
  --bronze-glow: rgba(184, 150, 90, 0.18);
  --cream: #f5f0e8;
  --cream-deep: #ece4d4;
  --sage: #e4e8e0;
  --ink: #0c0c0c;
  --paper: #fbf8f2;
  --paper-soft: #f4efe5;

  --text-primary: #1b1b1b;
  --text-secondary: #6b6557;
  --text-muted: #9a9385;
  --line: #e6dfcf;
  --line-soft: #f0eadc;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-sm:
    0 1px 2px rgba(22, 22, 22, 0.04), 0 2px 8px rgba(22, 22, 22, 0.04);
  --shadow-md:
    0 6px 18px rgba(22, 22, 22, 0.07), 0 2px 6px rgba(22, 22, 22, 0.04);
  --shadow-lg:
    0 24px 60px rgba(22, 22, 22, 0.14), 0 8px 24px rgba(22, 22, 22, 0.06);
  --shadow-xl: 0 40px 90px rgba(22, 22, 22, 0.22);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --max: 1240px;
  --gutter: clamp(1.25rem, 3vw, 2.25rem);
  --nav-h: 76px;
}

/* ---------- Reset & Base ---------- */
body.v2 {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  display: block;
}
body.v2 *,
body.v2 *::before,
body.v2 *::after {
  box-sizing: border-box;
}
body.v2 img,
body.v2 svg {
  max-width: 100%;
  display: block;
}
body.v2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
body.v2 button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Type ---------- */
body.v2 h1,
body.v2 h2,
body.v2 h3,
body.v2 h4,
body.v2 h5 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0;
}
body.v2 h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
}
body.v2 h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}
body.v2 h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
body.v2 p {
  margin: 0;
}
body.v2 em,
body.v2 .italic {
  font-style: italic;
}

body.v2 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
body.v2 .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
body.v2 .eyebrow.is-center::before {
  display: none;
}

/* ---------- Layout helpers ---------- */
body.v2 .wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
body.v2 .wrap--narrow {
  max-width: 880px;
}

body.v2 .grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Announcement bar ---------- */
body.v2 .bar {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.6rem var(--gutter);
  font-weight: 500;
}
body.v2 .bar strong {
  color: var(--bronze);
  font-weight: 700;
}
body.v2 .bar .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--bronze);
  border-radius: 50%;
  margin: 0 0.6rem;
  vertical-align: middle;
  opacity: 0.6;
}

/* ---------- Nav ---------- */
body.v2 .nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(230, 223, 207, 0.7);
  box-shadow: none;
}
body.v2 .nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
body.v2 .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
body.v2 .brand__mark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
body.v2 .brand__mark span:first-child {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--charcoal);
  text-transform: uppercase;
}
body.v2 .brand__mark span:last-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--bronze);
  text-transform: uppercase;
}
body.v2 .brand__rule {
  width: 1px;
  height: 32px;
  background: #d3ccbb;
}
body.v2 .brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  align-items: center;
}
body.v2 .brand__name span:first-child {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
body.v2 .brand__name span:last-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-top: 2px;
}
body.v2 .nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.v2 .nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
  opacity: 1;
}
body.v2 .nav__links a:hover,
body.v2 .nav__links a.is-active {
  color: var(--charcoal);
}
body.v2 .nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--bronze);
  border-radius: 2px;
}
body.v2 .nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
body.v2 .nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s;
  border: none;
  white-space: nowrap;
}
body.v2 .nav__cta:hover {
  background: var(--bronze-deep);
  color: var(--cream);
  transform: translateY(-1px);
}
body.v2 .nav__cta--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--line);
}
body.v2 .nav__cta--ghost:hover {
  background: var(--paper-soft);
  color: var(--charcoal);
  border-color: var(--bronze);
}
body.v2 .nav__cta svg {
  width: 14px;
  height: 14px;
}
body.v2 .theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-secondary);
  transition: all 0.2s;
  padding: 0;
}
body.v2 .theme-toggle:hover {
  color: var(--charcoal);
  border-color: var(--bronze);
}
body.v2 .theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}
body.v2 .nav__hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--charcoal);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ---------- Buttons ---------- */
body.v2 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s,
    box-shadow 0.25s,
    color 0.2s;
  line-height: 1;
  cursor: pointer;
}
body.v2 .btn svg {
  width: 16px;
  height: 16px;
}
body.v2 .btn--primary {
  background: var(--charcoal);
  color: var(--cream);
  box-shadow: 0 8px 22px rgba(22, 22, 22, 0.18);
}
body.v2 .btn--primary:hover {
  background: var(--bronze-deep);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(141, 111, 62, 0.32);
}
body.v2 .btn--bronze {
  background: var(--bronze);
  color: var(--charcoal);
  box-shadow: 0 8px 22px rgba(184, 150, 90, 0.32);
}
body.v2 .btn--bronze:hover {
  transform: translateY(-2px);
  background: #c8a466;
  color: var(--charcoal);
}
body.v2 .btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}
body.v2 .btn--ghost:hover {
  background: var(--paper-soft);
  border-color: var(--bronze);
  color: var(--charcoal);
}
body.v2 .btn--lg {
  padding: 1.1rem 1.9rem;
  font-size: 1rem;
}
body.v2 .btn--sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
}
body.v2 .btn--block {
  width: 100%;
}
body.v2 .btn--danger {
  background: transparent;
  color: #b0392c;
  border: 1px solid rgba(176, 57, 44, 0.4);
}
body.v2 .btn--danger:hover {
  background: rgba(176, 57, 44, 0.08);
  color: #b0392c;
}

/* ---------- Hero (landing) ---------- */
body.v2 .hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  min-height: 0;
}
body.v2 .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/home-hero-bible-landscape.png") center center /
    cover no-repeat;
  opacity: 0.78;
  z-index: 0;
  display: block;
}
body.v2 .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 242, 0.78) 0%, rgba(251, 248, 242, 0.5) 46%, rgba(251, 248, 242, 0.18) 100%),
    linear-gradient(180deg, rgba(251, 248, 242, 0.16) 0%, rgba(251, 248, 242, 0.08) 52%, rgba(251, 248, 242, 0.72) 100%),
    radial-gradient(
      60% 60% at 80% 20%,
      rgba(184, 150, 90, 0.08),
      transparent 70%
    ),
    radial-gradient(
      50% 50% at 10% 80%,
      rgba(228, 232, 224, 0.24),
      transparent 70%
    );
  z-index: 0;
  display: block;
  pointer-events: none;
}
body.v2 .hero .wrap {
  position: relative;
  z-index: 1;
}
body.v2 .hero__orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(184, 150, 90, 0.45),
    rgba(184, 150, 90, 0.05) 60%,
    transparent 70%
  );
  filter: blur(40px);
  top: -120px;
  right: -120px;
  z-index: 0;
  animation: v2-float 14s ease-in-out infinite;
}
@keyframes v2-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 30px) scale(1.05);
  }
}
body.v2 .hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
body.v2 .hero__title {
  margin: 1.25rem 0 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  max-width: none;
}
body.v2 .hero__title em {
  font-style: italic;
  color: var(--bronze);
  position: relative;
  display: inline-block;
}
body.v2 .hero__title em::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -0.05em;
  height: 8px;
  background: var(--bronze-glow);
  border-radius: 4px;
  z-index: -1;
}
body.v2 .hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 32em;
  margin-bottom: 2rem;
  line-height: 1.65;
}
body.v2 .hero__ctas {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

body.v2 .proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
body.v2 .proof__avatars {
  display: flex;
}
body.v2 .proof__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream-deep), var(--bronze));
  border: 2px solid var(--paper);
  margin-right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--charcoal);
}
body.v2 .proof__avatar:nth-child(2) {
  background: linear-gradient(135deg, var(--sage), var(--bronze));
}
body.v2 .proof__avatar:nth-child(3) {
  background: linear-gradient(135deg, var(--bronze), var(--bronze-deep));
  color: var(--cream);
}
body.v2 .proof__avatar:nth-child(4) {
  background: linear-gradient(135deg, var(--paper-soft), var(--cream-deep));
}
body.v2 .proof__avatar:last-child {
  margin-right: 0;
}
body.v2 .proof__text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
body.v2 .proof__text strong {
  color: var(--charcoal);
}

body.v2 .preview {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #fbf8f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.6deg);
  transition: transform 0.5s var(--ease-out);
}
body.v2 .preview:hover {
  transform: rotate(0deg) translateY(-4px);
}
body.v2 .preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(184, 150, 90, 0.35),
    transparent 70%
  );
  z-index: -1;
  opacity: 0.7;
}
body.v2 .preview__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--charcoal);
  color: var(--bronze);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
body.v2 .preview__chip .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 0 rgba(184, 150, 90, 0.7);
  animation: v2-pulse 1.8s infinite;
}
@keyframes v2-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(184, 150, 90, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(184, 150, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(184, 150, 90, 0);
  }
}
body.v2 .preview h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
body.v2 .preview__sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}
body.v2 .preview__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.v2 .preview__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0;
  font-size: 0.92rem;
  color: var(--text-primary);
  border-bottom: 1px dashed var(--line-soft);
}
body.v2 .preview__list li:last-child {
  border-bottom: none;
}
body.v2 .preview__list svg {
  width: 18px;
  height: 18px;
  stroke: var(--bronze);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}
body.v2 .preview__cta {
  margin-top: 1.5rem;
}

body.v2 .float-card {
  position: absolute;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-md);
  animation: v2-bob 5s ease-in-out infinite;
}
body.v2 .float-card svg {
  width: 14px;
  height: 14px;
  color: var(--bronze);
}
body.v2 .float-card--a {
  top: -16px;
  left: -28px;
  transform: rotate(-4deg);
}
body.v2 .float-card--b {
  bottom: -18px;
  right: -22px;
  transform: rotate(3deg);
  animation-name: v2-bob-b;
  animation-delay: 1.2s;
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--line);
}
@keyframes v2-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-6px) rotate(-4deg);
  }
}
@keyframes v2-bob-b {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}

/* ---------- Stats marquee ---------- */
body.v2 .stats {
  background: var(--charcoal);
  color: var(--cream);
  padding: 2.25rem 0;
  position: relative;
  border: none;
}
body.v2 .stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
body.v2 .stat {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
body.v2 .stat:last-child {
  border-right: none;
}
body.v2 .stat__num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.4rem;
  display: inline-flex;
  align-items: baseline;
}
body.v2 .stat__num::after {
  content: attr(data-suffix);
  font-size: 0.55em;
  color: var(--bronze);
  margin-left: 4px;
}
body.v2 .stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.55;
}

/* ---------- Sections ---------- */
body.v2 .section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
body.v2 .section--paper-soft {
  background: var(--paper-soft);
}
body.v2 .section--cream {
  background: var(--cream);
}
body.v2 .section--dark {
  background: var(--charcoal);
  color: var(--cream);
}
body.v2 .section--dark h1,
body.v2 .section--dark h2,
body.v2 .section--dark h3 {
  color: var(--cream);
}
body.v2 .section--dark .eyebrow {
  color: var(--bronze);
}
body.v2 .section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
body.v2 .section__head .eyebrow {
  margin-bottom: 1rem;
}
body.v2 .section__head p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
body.v2 .section--dark .section__head p {
  color: rgba(245, 240, 232, 0.65);
}

/* ---------- Module card grid (landing curriculum preview) ---------- */
body.v2 .modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
body.v2 .modules .module-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.25s,
    box-shadow 0.3s;
  overflow: hidden;
  text-align: left;
  display: block;
}
body.v2 .modules .module-card:hover {
  transform: translateY(-4px);
  border-color: var(--bronze);
  box-shadow: var(--shadow-md);
}
body.v2 .modules .module-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle at top right,
    var(--bronze-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
body.v2 .modules .module-card:hover::after {
  opacity: 1;
}
body.v2 .module-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
body.v2 .module-card__num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 0;
}
body.v2 .module-card__weeks {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--paper-soft);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0;
}
body.v2 .modules .module-card__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
body.v2 .modules .module-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---------- Split (problem / solution) ---------- */
body.v2 .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--paper);
}
body.v2 .split__col {
  padding: 2.75rem 2.5rem;
}
body.v2 .split__col h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
body.v2 .split__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}
body.v2 .split__col li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.5;
}
body.v2 .split__col li::before {
  flex-shrink: 0;
  margin-top: 0.4rem;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}
body.v2 .split__col--problem {
  background: var(--charcoal);
  color: var(--cream);
}
body.v2 .split__col--problem h3 {
  color: var(--cream);
}
body.v2 .split__col--problem li {
  color: rgba(245, 240, 232, 0.78);
}
body.v2 .split__col--problem li::before {
  content: "\2715";
  background: rgba(231, 76, 60, 0.18);
  color: #ff8e7e;
}
body.v2 .split__col--solution {
  border-left: 4px solid var(--bronze);
}
body.v2 .split__col--solution li::before {
  content: "\2713";
  background: var(--bronze-glow);
  color: var(--bronze-deep);
}

/* ---------- Steps ---------- */
body.v2 .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
body.v2 .steps .step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: left;
  position: relative;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s;
  margin: 0;
}
body.v2 .steps .step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
body.v2 .steps .step__num {
  display: inline-flex;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--charcoal);
  color: var(--bronze);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 0 1.25rem;
  box-shadow: none;
}
body.v2 .steps .step h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: var(--text-primary);
}
body.v2 .steps .step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
body.v2 .steps .step__time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  padding: 0.3rem 0.8rem;
  background: var(--bronze-glow);
  border-radius: var(--radius-pill);
}

/* ---------- Testimonial ---------- */
body.v2 .quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
body.v2 .quote__mark {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--bronze);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -1.5rem;
}
body.v2 .quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  margin-bottom: 1.75rem;
  color: var(--cream);
}
body.v2 .quote__by {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
body.v2 .quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bronze), var(--bronze-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--serif);
}
body.v2 .quote__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cream);
}
body.v2 .quote__role {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.7);
}

body.v2 .minis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
body.v2 .mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.88rem;
}
body.v2 .mini__text {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--cream);
}
body.v2 .mini__by {
  font-size: 0.78rem;
  color: rgba(245, 240, 232, 0.6);
  font-weight: 600;
}

/* ---------- Teacher ---------- */
body.v2 .teacher {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
body.v2 .teacher__photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--cream) 0%, var(--bronze) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
body.v2 .teacher__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
body.v2 .teacher h3 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}
body.v2 .teacher__role {
  color: var(--bronze);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
body.v2 .teacher p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}
body.v2 .teacher__creds {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
body.v2 .teacher__cred {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bronze);
}
body.v2 .teacher__cred svg {
  width: 16px;
  height: 16px;
  stroke: var(--bronze);
  fill: none;
}

/* ---------- Final CTA ---------- */
body.v2 .final {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
body.v2 .final h2 {
  margin: 1rem 0 1rem;
}
body.v2 .final p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
body.v2 .final__features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
body.v2 .final__feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.75);
}
body.v2 .final__feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--bronze);
  fill: none;
  stroke-width: 2;
}

/* ---------- Footer ---------- */
body.v2 .foot {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem var(--gutter) 2rem;
  text-align: center;
}
body.v2 .foot__brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
body.v2 .foot__tag {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
body.v2 .foot__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
body.v2 .foot__links a {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.85rem;
  transition: color 0.2s;
}
body.v2 .foot__links a:hover {
  color: var(--bronze);
}
body.v2 .foot__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Dashboard ---------- */
body.v2 .dash {
  position: relative;
  background:
    radial-gradient(
      60% 60% at 50% 0%,
      rgba(184, 150, 90, 0.18),
      transparent 70%
    ),
    var(--paper);
  padding: 2.5rem 0 4rem;
}
body.v2 .dash__greet {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
  max-width: 720px;
}
body.v2 .dash__hello {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
body.v2 .dash__name {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0.25rem 0 0.5rem;
  color: var(--charcoal);
}
body.v2 .dash__name em {
  font-style: italic;
  color: var(--bronze);
}
body.v2 .dash__sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 42em;
  line-height: 1.55;
  margin-bottom: 0;
}
body.v2 .dash__sub strong {
  color: var(--charcoal);
}

/* ---------- Continue card ---------- */
body.v2 .continue {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
body.v2 .continue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 80% at 100% 0%,
    rgba(184, 150, 90, 0.25),
    transparent 70%
  );
  pointer-events: none;
}
body.v2 .ring {
  position: relative;
  width: 96px;
  height: 96px;
}
body.v2 .ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
body.v2 .ring circle {
  fill: none;
  stroke-width: 8;
}
body.v2 .ring__bg {
  stroke: rgba(255, 255, 255, 0.12);
}
body.v2 .ring__fg {
  stroke: var(--bronze);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s var(--ease-out);
}
body.v2 .ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body.v2 .ring__pct {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
body.v2 .ring__sub {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 2px;
}
body.v2 .continue__meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  position: relative;
}
body.v2 .continue__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.25rem;
  line-height: 1.2;
  position: relative;
}
body.v2 .continue__desc {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.72);
  line-height: 1.5;
  position: relative;
}
body.v2 .continue .btn {
  white-space: nowrap;
  position: relative;
}

/* ---------- Dashboard row head ---------- */
body.v2 .row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}
body.v2 .row-head h2 {
  font-size: 1.5rem;
  color: var(--charcoal);
}
body.v2 .row-head__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- Modules timeline (dashboard accordion) ---------- */
body.v2 .timeline {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
body.v2 .timeline .module {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.3s;
  padding: 0;
  margin: 0;
}
body.v2 .timeline .module:hover {
  border-color: var(--bronze);
}
body.v2 .timeline .module.is-open {
  box-shadow: var(--shadow-sm);
}
body.v2 .timeline .module__head {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  user-select: none;
  background: transparent;
}
body.v2 .timeline .module__head:hover {
  background: transparent;
}
body.v2 .timeline .module__num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--paper-soft);
  color: var(--bronze);
  border: 1px solid var(--line);
  transition: all 0.25s;
}
body.v2 .timeline .module.is-open .module__num,
body.v2 .timeline .module.is-complete .module__num {
  background: var(--charcoal);
  color: var(--bronze);
  border-color: var(--charcoal);
}
body.v2 .timeline .module__info h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
body.v2 .timeline .module__info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}
body.v2 .timeline .module__progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  min-width: 110px;
}
body.v2 .timeline .module__progress small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}
body.v2 .bar-mini {
  width: 100px;
  height: 5px;
  background: var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}
body.v2 .bar-mini__fill {
  height: 100%;
  background: var(--bronze);
  border-radius: 999px;
  transition: width 0.7s var(--ease-out);
}
body.v2 .timeline .module__chev {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out);
}
body.v2 .timeline .module.is-open .module__chev {
  transform: rotate(180deg);
  color: var(--charcoal);
}
body.v2 .timeline .module__lessons {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
body.v2 .timeline .module.is-open .module__lessons {
  max-height: 1400px;
}
body.v2 .timeline .module__list {
  padding: 0 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
}
body.v2 .timeline .lesson {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
  border: none;
  margin: 0;
}
body.v2 .timeline .lesson:hover {
  background: var(--paper-soft);
}
body.v2 .timeline .lesson__check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--cream);
  transition: all 0.2s;
  flex-shrink: 0;
}
body.v2 .timeline .lesson.is-complete .lesson__check {
  background: var(--bronze);
  border-color: var(--bronze);
  font-size: 0.72rem;
}
body.v2 .timeline .lesson.is-complete .lesson__check::after {
  content: "\2713";
}
body.v2 .timeline .lesson.is-active .lesson__check {
  border-color: var(--bronze);
  background: var(--bronze-glow);
}
body.v2 .timeline .lesson.is-active .lesson__check::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--bronze);
  border-radius: 50%;
}
body.v2 .timeline .lesson__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.v2 .timeline .lesson__week {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
body.v2 .timeline .lesson__title {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.v2 .timeline .lesson.is-complete .lesson__title {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--line);
}
body.v2 .timeline .lesson__arrow {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition:
    transform 0.2s,
    color 0.2s;
}
body.v2 .timeline .lesson:hover .lesson__arrow {
  transform: translateX(3px);
  color: var(--bronze);
}

/* ---------- Standalone Start Here card ---------- */
body.v2 .start-here {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--bronze);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(184, 150, 90, 0.18);
  margin-bottom: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.3s;
}
body.v2 .start-here:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184, 150, 90, 0.3);
}
body.v2 .start-here__num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--charcoal);
  color: var(--bronze);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.v2 .start-here__week {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
  margin-bottom: 2px;
}
body.v2 .start-here__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
}
body.v2 .start-here__check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: var(--cream);
  flex-shrink: 0;
}
body.v2 .start-here.is-complete .start-here__check {
  background: var(--bronze);
  border-color: var(--bronze);
  font-size: 0.72rem;
}
body.v2 .start-here.is-complete .start-here__check::after {
  content: "\2713";
}
body.v2 .start-here.is-complete .start-here__title {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--line);
}

/* ---------- Account row ---------- */
body.v2 .account-row {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
body.v2 .account-row h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
  color: var(--charcoal);
}
body.v2 .account-row p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}
body.v2 .account-row__buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* =====================================================
   LESSON PAGE — sticky bar, layout, dock
   ===================================================== */
body.v2 .lesson-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(230, 223, 207, 0.7);
}
body.v2 .lesson-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  height: 62px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
body.v2 .lesson-bar__crumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
body.v2 .lesson-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
body.v2 .lesson-bar__back:hover {
  color: var(--charcoal);
  border-color: var(--bronze);
}
body.v2 .lesson-bar__back svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}
body.v2 .lesson-bar__title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
body.v2 .lesson-bar__title small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}
body.v2 .lesson-steps {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.3rem 0.55rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  position: relative;
}
body.v2 .lesson-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  white-space: nowrap;
}
body.v2 .lesson-steps__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
  position: relative;
}
body.v2 .lesson-steps__dot svg {
  width: 10px;
  height: 10px;
  stroke: var(--cream);
  stroke-width: 3;
  fill: none;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s var(--ease-out);
}
body.v2 .lesson-steps__connector {
  width: 16px;
  height: 1px;
  background: var(--line);
  flex-shrink: 0;
}
body.v2 .lesson-steps__item:hover {
  color: var(--charcoal);
}
body.v2 .lesson-steps__item.is-active {
  color: var(--charcoal);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
body.v2 .lesson-steps__item.is-active .lesson-steps__dot {
  border-color: var(--bronze);
  background: var(--bronze-glow);
}
body.v2 .lesson-steps__item.is-active .lesson-steps__dot::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--bronze);
  border-radius: 50%;
  position: absolute;
  animation: v2-step-pulse 1.8s ease-in-out infinite;
}
body.v2 .lesson-steps__item.is-done {
  color: var(--bronze-deep);
}
body.v2 .lesson-steps__item.is-done .lesson-steps__dot {
  background: var(--bronze);
  border-color: var(--bronze);
}
body.v2 .lesson-steps__item.is-done .lesson-steps__dot svg {
  opacity: 1;
  transform: scale(1);
}
@keyframes v2-step-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(184, 150, 90, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(184, 150, 90, 0);
  }
}
body.v2 .lesson-bar__cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
body.v2 .lesson-bar__pct {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--charcoal);
}
body.v2 .lesson-bar__pct small {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: -2px;
}

/* Lesson page body */
body.v2 .lesson-page {
  position: relative;
  background:
    radial-gradient(
      80% 40% at 50% 0%,
      rgba(184, 150, 90, 0.12),
      transparent 60%
    ),
    var(--paper);
  padding: 2.5rem 0 5rem;
}
body.v2 .lesson-grid {
  max-width: 760px;
  margin: 0 auto;
}
body.v2 .lesson-main {
  min-width: 0;
}

/* Lesson hero */
body.v2 .lesson-hero {
  margin-bottom: 2.5rem;
}
body.v2 .lesson-hero__eyebrow {
  margin-bottom: 1rem;
}
body.v2 .lesson-hero__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
body.v2 .lesson-hero__title em {
  font-style: italic;
  color: var(--bronze);
  position: relative;
}
body.v2 .lesson-hero__title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.05em;
  height: 10px;
  background: var(--bronze-glow);
  border-radius: 4px;
  z-index: -1;
}
body.v2 .lesson-hero__lede {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 44em;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
body.v2 .lesson-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
body.v2 .lesson-hero__metaItem {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
body.v2 .lesson-hero__metaItem svg {
  width: 15px;
  height: 15px;
  stroke: var(--bronze);
  stroke-width: 2;
  fill: none;
}
body.v2 .lesson-hero__metaItem strong {
  color: var(--charcoal);
  font-weight: 600;
}
body.v2 .lesson-hero__badge {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--bronze-glow);
  color: var(--bronze-deep);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: auto;
}
body.v2 .lesson-hero__badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}
body.v2.is-lesson-complete .lesson-hero__badge {
  display: inline-flex;
  animation: v2-badge-in 0.5s var(--ease-out);
}
@keyframes v2-badge-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content block */
body.v2 .block {
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--nav-h) + 80px);
}
body.v2 .block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
body.v2 .block__headL {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
body.v2 .block__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--charcoal);
  color: var(--bronze);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
body.v2 .block__chip svg {
  width: 13px;
  height: 13px;
}
body.v2 .block__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
}
body.v2 .block__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Video/audio embeds */
body.v2 .video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
body.v2 .video-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 140deg,
    rgba(184, 150, 90, 0) 0deg,
    rgba(184, 150, 90, 0.55) 120deg,
    rgba(184, 150, 90, 0) 240deg,
    rgba(184, 150, 90, 0.45) 360deg
  );
  filter: blur(18px);
  opacity: 0.7;
  z-index: -1;
  animation: v2-halo 12s linear infinite;
}
body.v2 .video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(184, 150, 90, 0.35);
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes v2-halo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
body.v2 .video-frame__inner {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #121110;
  display: block;
}
body.v2 .video-frame__inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
body.v2 .video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: #000;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
body.v2 .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
body.v2 .video-thumb:hover img,
body.v2 .video-thumb:focus-visible img {
  transform: scale(1.03);
}
body.v2 .video-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s ease;
}
body.v2 .video-thumb:hover .video-thumb__play,
body.v2 .video-thumb:focus-visible .video-thumb__play {
  transform: translate(-50%, -50%) scale(1.08);
}
body.v2 .video-thumb:hover .video-thumb__play path:first-child {
  fill: #cc0000;
  fill-opacity: 1;
}
body.v2 .video-thumb:focus-visible {
  outline: 2px solid var(--accent, #b8965a);
  outline-offset: -2px;
}

body.v2 .audio-frame {
  background: linear-gradient(160deg, #ffffff 0%, #fbf8f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
body.v2 .audio-frame iframe {
  width: 100%;
  height: 152px;
  border: none;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
}

/* Read editorial blocks */
body.v2 .read-block {
  margin-top: 3.5rem;
  scroll-margin-top: calc(var(--nav-h) + 80px);
}
body.v2 .read-block + .read-block {
  margin-top: 3rem;
}
body.v2 .read-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
body.v2 .read-head__num {
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bronze);
  text-transform: uppercase;
}
body.v2 .read-head__rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
body.v2 .read-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 0.4rem;
  margin-bottom: 0;
  color: var(--charcoal);
}
body.v2 .read-head h2 em {
  font-style: italic;
  color: var(--bronze);
}
body.v2 .read-head__group {
  flex: 0 1 auto;
}

body.v2 .concepts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
body.v2 .concept {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 1rem;
  padding: 1.4rem 1.6rem 1.4rem 0;
  border-left: 3px solid var(--line);
  padding-left: 1.4rem;
  position: relative;
  transition: border-color 0.3s var(--ease-out);
}
body.v2 .concept:hover {
  border-left-color: var(--bronze);
}
body.v2 .concept__num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bronze);
  line-height: 0.9;
  opacity: 0.85;
}
body.v2 .concept__num small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
body.v2 .concept__body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
body.v2 .concept__body p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
body.v2 .concept__body em {
  color: var(--bronze-deep);
  font-style: italic;
}

body.v2 .scripture {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
body.v2 .scripture__intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  max-width: 40em;
}
body.v2 .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
body.v2 .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: all 0.2s var(--ease-out);
}
body.v2 .pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}

body.v2 .objectives {
  display: grid;
  gap: 0.75rem;
}
body.v2 .objective {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease-out);
}
body.v2 .objective:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
body.v2 .objective__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bronze-glow);
  color: var(--bronze-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
  margin-top: 2px;
}
body.v2 .objective__text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-primary);
}
body.v2 .objective__text strong {
  color: var(--charcoal);
  font-weight: 600;
}

body.v2 .terms {
  display: grid;
  gap: 0.6rem;
}
body.v2 .term-row {
  padding: 0.9rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
body.v2 .term-row strong {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--charcoal);
  margin-right: 0.4rem;
}

body.v2 .resource {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
body.v2 .resource:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: inherit;
}
body.v2 .resource__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--charcoal);
  color: var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.v2 .resource__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
body.v2 .resource__meta {
  min-width: 0;
}
body.v2 .resource__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}
body.v2 .resource__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}
body.v2 .resource__cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bronze-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
body.v2 .resource__cta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Complete zone */
body.v2 .complete-zone {
  margin-top: 4rem;
  padding: 3rem 2.5rem;
  background:
    radial-gradient(
      100% 100% at 50% 0%,
      rgba(184, 150, 90, 0.18),
      transparent 70%
    ),
    var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 80px);
}
body.v2 .complete-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(184, 150, 90, 0.1),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(184, 150, 90, 0.08),
      transparent 40%
    );
  pointer-events: none;
}
body.v2 .complete-zone__eyebrow {
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}
body.v2 .complete-zone h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  position: relative;
}
body.v2 .complete-zone h2 em {
  font-style: italic;
  color: var(--bronze);
}
body.v2 .complete-zone p {
  color: rgba(245, 240, 232, 0.72);
  max-width: 38em;
  margin: 0 auto 2rem;
  font-size: 1rem;
  position: relative;
}
body.v2 .complete-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem 2.2rem;
  background: var(--bronze);
  color: var(--charcoal);
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(184, 150, 90, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s var(--ease-out);
  overflow: hidden;
}
body.v2 .complete-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(184, 150, 90, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
body.v2 .complete-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.v2 .complete-btn.is-complete {
  background: var(--cream);
  color: var(--charcoal);
  pointer-events: none;
}
body.v2 .complete-btn.is-complete svg {
  color: var(--bronze-deep);
}
body.v2 .complete-btn[disabled] {
  opacity: 0.85;
  cursor: default;
}

/* Up Next card */
body.v2 .next-hero {
  margin-top: 2.5rem;
  background: linear-gradient(
    135deg,
    var(--bronze) 0%,
    var(--bronze-deep) 100%
  );
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-lg);
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
body.v2 .next-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3),
    transparent 70%
  );
}
body.v2 .next-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
  margin-bottom: 0.35rem;
  position: relative;
}
body.v2 .next-hero h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
  position: relative;
  line-height: 1.2;
}
body.v2 .next-hero p {
  color: rgba(22, 22, 22, 0.7);
  font-size: 0.92rem;
  max-width: 30em;
  margin: 0;
  position: relative;
}
body.v2 .next-hero__btn {
  background: var(--charcoal);
  color: var(--bronze);
  border-radius: var(--radius-pill);
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s var(--ease-out);
  position: relative;
  white-space: nowrap;
}
body.v2 .next-hero__btn:hover {
  transform: translateX(3px);
}
body.v2 .next-hero__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* Sticky dock */
body.v2 .lesson-dock {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.55rem 0.55rem 1.25rem;
  background: rgba(22, 22, 22, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--cream);
  border-radius: var(--radius-pill);
  box-shadow:
    0 18px 40px rgba(22, 22, 22, 0.28),
    0 0 0 1px rgba(184, 150, 90, 0.28);
  max-width: calc(100% - 2rem);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}
body.v2 .lesson-dock__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  padding-right: 0.25rem;
}
body.v2 .lesson-dock__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
body.v2 .lesson-dock__label span {
  color: var(--cream);
}
body.v2 .lesson-dock__title {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 26ch;
}
body.v2 .lesson-dock__btn {
  padding: 0.8rem 1.35rem;
  background: var(--bronze);
  color: var(--charcoal);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s;
  white-space: nowrap;
}
body.v2 .lesson-dock__btn:hover {
  background: #c8a466;
  transform: translateY(-1px);
}
body.v2 .lesson-dock__btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
body.v2.is-lesson-complete .lesson-dock {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(24px);
}

/* ---------- Reveal on scroll ---------- */
body.v2 .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
body.v2 .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   DARK MODE — toggled via body.v2.dark
   ===================================================== */
body.v2.dark {
  --paper: #121212;
  --paper-soft: #1b1b1b;
  --line: #2a2a2a;
  --line-soft: #232323;
  --text-primary: #f0ebdf;
  --text-secondary: #a39c8b;
  --text-muted: #6e6759;
  --cream-deep: #2a2520;
  background: var(--paper);
  color: var(--text-primary);
}
body.v2.dark h1,
body.v2.dark h2,
body.v2.dark h3,
body.v2.dark h4 {
  color: var(--text-primary);
}
body.v2.dark .nav {
  background: rgba(18, 18, 18, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
body.v2.dark .brand__mark span:first-child,
body.v2.dark .brand__name span:first-child {
  color: var(--text-primary);
}
body.v2.dark .nav__cta {
  background: var(--bronze);
  color: var(--charcoal);
}
body.v2.dark .nav__cta--ghost {
  background: var(--paper-soft);
  color: var(--text-secondary);
  border-color: var(--line);
}
body.v2.dark .theme-toggle {
  background: var(--paper-soft);
  border-color: var(--line);
}
body.v2.dark .stats {
  background: #0c0c0c;
}
body.v2.dark .modules .module-card,
body.v2.dark .steps .step,
body.v2.dark .tile,
body.v2.dark .panel,
body.v2.dark .timeline .module,
body.v2.dark .start-here,
body.v2.dark .preview,
body.v2.dark .concept,
body.v2.dark .objective,
body.v2.dark .resource,
body.v2.dark .pill,
body.v2.dark .term-row {
  background: var(--paper-soft);
  border-color: var(--line);
}
body.v2.dark .preview {
  background: linear-gradient(160deg, #1f1f1f 0%, #161613 100%);
}
body.v2.dark .module-card__weeks {
  background: #2a2a2a;
}
body.v2.dark .timeline .lesson:hover {
  background: rgba(255, 255, 255, 0.04);
}
body.v2.dark .bar {
  background: #0c0c0c;
  border-bottom: 1px solid var(--line);
}
body.v2.dark .section--paper-soft {
  background: var(--paper-soft);
}
body.v2.dark .section--cream {
  background: #1f1b13;
  color: var(--text-primary);
}
body.v2.dark .split {
  background: var(--paper-soft);
  border-color: var(--line);
}
body.v2.dark .preview__list li {
  border-bottom-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}
body.v2.dark .float-card--b {
  background: var(--paper-soft);
  color: var(--text-primary);
  border-color: var(--line);
}
body.v2.dark .lesson-bar {
  background: rgba(18, 18, 18, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
body.v2.dark .lesson-steps {
  background: var(--paper-soft);
  border-color: var(--line);
}
body.v2.dark .lesson-steps__dot {
  background: var(--paper);
}
body.v2.dark .audio-frame {
  background: linear-gradient(160deg, #1f1f1f 0%, #171715 100%);
}
body.v2.dark .lesson-bar__back {
  background: rgba(255, 255, 255, 0.03);
}
body.v2.dark .lesson-dock {
  background: rgba(10, 10, 10, 0.94);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(184, 150, 90, 0.3);
}

/* Lesson page text — remap charcoal-colored text to readable cream in dark mode.
   These selectors all hard-code color: var(--charcoal), which stays near-black
   in dark mode because --charcoal is preserved for backgrounds. */
body.v2.dark .lesson-hero__metaItem strong,
body.v2.dark .objective__text strong,
body.v2.dark .block__title,
body.v2.dark .resource__title,
body.v2.dark .pill,
body.v2.dark .term-row strong,
body.v2.dark .timeline .module__info h3,
body.v2.dark .timeline .lesson__title {
  color: var(--text-primary);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  body.v2 .hero__grid {
    grid-template-columns: 1fr;
  }
  body.v2 .preview {
    transform: none;
    max-width: 520px;
    margin: 0 auto;
  }
  body.v2 .float-card {
    display: none;
  }
}

@media (max-width: 900px) {
  body.v2 .modules {
    grid-template-columns: repeat(2, 1fr);
  }
  body.v2 .split {
    grid-template-columns: 1fr;
  }
  body.v2 .split__col--solution {
    border-left: none;
    border-top: 4px solid var(--bronze);
  }
  body.v2 .steps {
    grid-template-columns: 1fr;
  }
  body.v2 .minis {
    grid-template-columns: 1fr;
  }
  body.v2 .teacher {
    grid-template-columns: 1fr;
    text-align: center;
  }
  body.v2 .teacher__photo {
    max-width: 280px;
    margin: 0 auto;
  }
  body.v2 .teacher__creds {
    justify-content: center;
  }
  body.v2 .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.v2 .stat {
    border-right: none;
  }
  body.v2 .continue {
    grid-template-columns: 72px 1fr;
  }
  body.v2 .continue .btn {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 880px) {
  body.v2 .lesson-bar__inner {
    grid-template-columns: auto 1fr auto;
    height: 56px;
  }
  body.v2 .lesson-bar__title {
    display: none;
  }
  body.v2 .lesson-steps__item span:not(.lesson-steps__dot) {
    display: none;
  }
  body.v2 .lesson-steps__item {
    padding: 0.35rem;
  }
  body.v2 .lesson-steps__connector {
    width: 10px;
  }
}

@media (max-width: 768px) {
  body.v2 .nav__links {
    display: none;
  }
  body.v2 .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    gap: 0.5rem;
    z-index: 45;
  }
  body.v2.dark .nav__links.is-open {
    background: var(--paper-soft);
  }
  body.v2 .nav__hamburger {
    display: block;
  }
}

@media (max-width: 720px) {
  body.v2 .audio-frame {
    padding: 0.75rem;
  }
  body.v2 .concept {
    grid-template-columns: 58px 1fr;
    gap: 0.75rem;
    padding-left: 1rem;
  }
  body.v2 .concept__num {
    font-size: 2.4rem;
  }
  body.v2 .resource {
    grid-template-columns: auto 1fr;
  }
  body.v2 .resource__cta {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }
  body.v2 .complete-zone {
    padding: 2rem 1.25rem;
  }
  body.v2 .next-hero {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  body.v2 .lesson-bar__cta {
    display: none;
  }
}

@media (max-width: 640px) {
  body.v2 .hero {
    background: var(--paper);
    overflow-x: hidden;
  }
  body.v2 .hero::before {
    display: none;
  }
  body.v2 .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(251, 248, 242, 0.96) 0%,
        rgba(251, 248, 242, 0.9) 45%,
        rgba(251, 248, 242, 0.98) 100%
      ),
      linear-gradient(
        90deg,
        rgba(184, 150, 90, 0.12) 0%,
        rgba(228, 232, 224, 0.22) 52%,
        rgba(251, 248, 242, 0.4) 100%
      );
  }
  body.v2 .hero__grid,
  body.v2 .hero__content,
  body.v2 .hero .reveal {
    min-width: 0;
  }
  body.v2 .hero__title {
    max-width: min(350px, calc(100vw - 40px));
    font-size: clamp(2rem, 10vw, 2.35rem);
    line-height: 1.05;
    overflow-wrap: break-word;
  }
  body.v2 .hero__lede,
  body.v2 .proof {
    max-width: min(350px, calc(100vw - 40px));
  }
  body.v2 .preview {
    max-width: min(350px, calc(100vw - 40px));
    margin-left: 0;
    margin-right: 0;
  }
  body.v2 .modules {
    grid-template-columns: 1fr;
  }
  body.v2 .timeline .module__head {
    grid-template-columns: 44px 1fr auto;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
  }
  body.v2 .timeline .module__progress {
    display: none;
  }
  body.v2 .timeline .lesson {
    grid-template-columns: 24px 1fr;
    padding: 0.65rem 0.5rem;
  }
  body.v2 .timeline .lesson__arrow {
    display: none;
  }
  body.v2 .quote__text {
    font-size: 1.2rem;
  }
  body.v2 .preview {
    padding: 1.5rem;
  }
  body.v2 .continue {
    grid-template-columns: 72px 1fr;
    padding: 1.25rem 1.25rem;
  }
  body.v2 .ring {
    width: 72px;
    height: 72px;
  }
  body.v2 .ring__pct {
    font-size: 1.15rem;
  }
  body.v2 .lesson-page {
    padding-bottom: 7rem;
  }
  body.v2 .lesson-dock {
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    max-width: 100%;
    border-radius: 0;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    box-shadow:
      0 -10px 30px rgba(22, 22, 22, 0.22),
      0 -1px 0 rgba(184, 150, 90, 0.28);
  }
  body.v2 .lesson-dock__title {
    display: none;
  }
  body.v2 .lesson-dock__meta {
    flex: 1;
  }
  body.v2 .lesson-dock__btn {
    flex-shrink: 0;
  }
  body.v2.is-lesson-complete .lesson-dock {
    transform: translateY(100%);
  }
}

@media (max-width: 420px) {
  body.v2 .dash {
    padding: 1.75rem 0 3rem;
  }
  body.v2 .dash__name {
    font-size: 1.7rem;
  }
  body.v2 .brand__mark span:first-child {
    font-size: 12px;
    letter-spacing: 0.16em;
  }
  body.v2 .brand__mark span:last-child {
    font-size: 10px;
    letter-spacing: 0.16em;
  }
  body.v2 .brand__name span:first-child {
    font-size: 14px;
  }
  body.v2 .brand__name span:last-child {
    font-size: 10px;
    letter-spacing: 0.3em;
  }
  body.v2 .brand__rule {
    height: 24px;
  }
  body.v2 .start-here {
    grid-template-columns: 44px 1fr auto;
    padding: 0.9rem 1rem;
  }
}
