/* =========================================================================
   InsideHer · Course Shared Stylesheet
   v2 · 2026-05-21 · premium editorial system for the public course library
   ---
   Design principles
   - Calm editorial pace · Inter throughout · no serifs
   - Light "bone & violet" surface, with deep aubergine for emphasis
   - Cards lift gently, never bounce. Motion respects reduced-motion.
   - All gradients are decorative; legibility never depends on them
   - Every primitive is theme-safe and print-safe
   ========================================================================= */

/* ----------  0 · Design Tokens  ---------- */
:root {
  /* Ink + paper */
  --ink: #0b0b0c;
  --ink-soft: #1a181f;
  --bone: #fafaf7;
  --paper: #f2ede5;
  --paper-2: #f7f2ea;
  --surface: #fffefa;
  --surface-2: #fbf8f3;

  /* Brand */
  --aubergine: #2b1b2e;
  --aubergine-2: #1c1020;
  --aubergine-3: #130b16;
  --violet: #5b4fe5;
  --violet-2: #4338c2;
  --orchid: #a24dc6;
  --magenta: #e94ba8;
  --rose: #ffc5e6;
  --sage: #6db89a;
  --warn: #c0451e;

  /* Washes */
  --violet-wash: #f0ecff;
  --violet-wash-2: #e7e1ff;
  --magenta-wash: #fde8f4;
  --magenta-wash-2: #fbd9ec;
  --sage-wash: #e8f3ee;

  /* Text */
  --text: #0b0b0c;
  --text-2: #2a2730;
  --muted: #55535c;
  --muted-2: #6b6873;
  --plum-text: #33213a;
  --plum-text-2: #4a2f55;
  --inverse: rgba(250, 250, 247, 0.92);
  --inverse-muted: rgba(250, 250, 247, 0.72);
  --inverse-faint: rgba(250, 250, 247, 0.42);

  /* Lines */
  --line: rgba(11, 11, 12, 0.10);
  --line-soft: rgba(11, 11, 12, 0.06);
  --line-strong: rgba(11, 11, 12, 0.22);
  --dark-line: rgba(250, 250, 247, 0.14);
  --dark-line-strong: rgba(250, 250, 247, 0.28);

  /* Gradients */
  --gradient: linear-gradient(105deg, var(--violet) 0%, var(--orchid) 52%, var(--magenta) 100%);
  --title-gradient: linear-gradient(96deg, var(--violet) 0%, #8b4dcf 48%, var(--magenta) 100%);
  --aurora: radial-gradient(circle at 18% 12%, rgba(91, 79, 229, 0.16), transparent 42%),
            radial-gradient(circle at 84% 6%, rgba(233, 75, 168, 0.14), transparent 40%),
            radial-gradient(circle at 96% 88%, rgba(162, 77, 198, 0.12), transparent 44%);

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(43, 27, 46, 0.06);
  --shadow-sm: 0 4px 12px rgba(43, 27, 46, 0.06);
  --shadow: 0 22px 56px rgba(43, 27, 46, 0.10);
  --shadow-lg: 0 38px 88px rgba(43, 27, 46, 0.14);
  --shadow-violet: 0 18px 44px rgba(91, 79, 229, 0.18);
  --shadow-magenta: 0 18px 44px rgba(233, 75, 168, 0.18);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;

  /* Layout */
  --content-width: 1680px;
  --reading-width: 760px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-med: 240ms;
  --t-slow: 480ms;
}

* { box-sizing: border-box; }

*:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", "Manrope", "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    linear-gradient(180deg, #fafaf7 0%, #fffefa 46%, var(--paper) 100%);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--aurora);
  opacity: 0.85;
  z-index: -1;
}

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

::selection { background: rgba(91, 79, 229, 0.22); color: var(--ink); }

/* ----------  1 · Reading Progress Bar  ---------- */
.progress-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: rgba(11, 11, 12, 0.05);
  z-index: 100;
}

.progress-bar__fill {
  width: 0;
  height: 100%;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(233, 75, 168, 0.55);
  transition: width 80ms linear;
}

/* ----------  2 · Layout Shells  ---------- */
.site-header,
.course-shell {
  width: min(calc(100% - clamp(44px, 8vw, 128px)), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: relative;
  padding: clamp(28px, 3vw, 42px) 0 clamp(34px, 4vw, 58px);
}

/* ----------  3 · Brand Lockup + Top Strip  ---------- */
.brand-lockup {
  width: clamp(194px, 17vw, 236px);
  max-width: 52vw;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.brand-lockup--corner { position: static; margin-bottom: clamp(56px, 7vw, 86px); }

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 66px);
  flex-wrap: wrap;
}

.brand-strip .brand-lockup { margin: 0; }
.brand-strip__meta { display: flex; flex-wrap: wrap; gap: 8px; }

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--plum-text);
  background: rgba(255, 254, 250, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  letter-spacing: 0.01em;
}

.meta-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gradient);
}

.meta-chip--ghost { background: transparent; }
.meta-chip--violet { color: var(--violet); border-color: rgba(91, 79, 229, 0.28); }
.meta-chip--magenta { color: var(--magenta); border-color: rgba(233, 75, 168, 0.32); }
.meta-chip--sage { color: var(--sage); border-color: rgba(109, 184, 154, 0.36); }

/* ----------  4 · Type System  ---------- */
.brand-row,
.brand-shell {
  position: relative;
  display: block;
  max-width: 960px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-copy { max-width: 880px; }

.eyebrow,
.section-kicker,
.module-number,
.nav-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--gradient);
  vertical-align: 0.04em;
}

.course-title {
  max-width: 13.4ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.25rem, 6.5vw, 6.5rem);
  font-weight: 510;
  line-height: 0.98;
  letter-spacing: -0.043em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.title-gradient {
  display: inline;
  background: var(--title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--violet);
  -webkit-text-fill-color: transparent;
}

.subtitle {
  max-width: 64ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.hero-stats > div {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 6px 28px 6px 0;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; padding-right: 0; }

.hero-stats__num {
  display: block;
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  font-weight: 540;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

.hero-stats__num--gradient {
  background: var(--title-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-stats__label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

/* ----------  5 · CTAs  ---------- */
.library-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 30px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.72);
  font-weight: 760;
  text-decoration: none;
  transition: transform var(--t-med) var(--ease),
              background-color var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
}

.library-link::after,
.hero-link::after {
  content: "→";
  color: var(--magenta);
  transition: transform var(--t-med) var(--ease);
}

.library-link:hover,
.hero-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.library-link:hover::after,
.hero-link:hover::after { transform: translateX(3px); }

.library-link:hover {
  border-color: rgba(91, 79, 229, 0.34);
  background: linear-gradient(90deg, rgba(91, 79, 229, 0.08), rgba(233, 75, 168, 0.08));
}

/* ----------  6 · Hero Cards  ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(20px, 2.6vw, 34px);
  align-items: start;
  margin-top: clamp(42px, 5vw, 70px);
}

.hero-card,
.hero-panel,
.nav-card,
.module {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card,
.hero-panel {
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-card--primary,
.hero-panel--statement {
  padding: clamp(28px, 3.5vw, 46px);
  color: var(--bone);
  background:
    radial-gradient(circle at 12% 12%, rgba(91, 79, 229, 0.32), transparent 38%),
    radial-gradient(circle at 92% 8%, rgba(233, 75, 168, 0.26), transparent 36%),
    radial-gradient(circle at 80% 96%, rgba(162, 77, 198, 0.22), transparent 40%),
    linear-gradient(145deg, var(--aubergine) 0%, var(--aubergine-3) 100%);
  border-color: rgba(250, 250, 247, 0.10);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(250, 250, 247, 0.06);
}

.hero-card--primary::after,
.hero-panel--statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(250, 250, 247, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}

.hero-card--secondary,
.hero-panel--meta {
  padding: clamp(24px, 3vw, 36px);
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(253, 232, 244, 0.42)),
    var(--surface);
}

.hero-card--primary .section-kicker,
.hero-panel--statement .section-kicker,
.hero-card--primary p,
.hero-panel--statement p { color: rgba(250, 250, 247, 0.82); }

.hero-card--primary h2,
.hero-panel--statement h2 {
  max-width: 14.8ch;
  margin: 0 0 16px;
  color: var(--bone);
  font-size: clamp(2.45rem, 4.3vw, 4.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-card--primary h2::first-line,
.hero-panel--statement h2::first-line {
  background: linear-gradient(95deg, #f7f4ff 0%, #e8ddff 48%, #ffc5e6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-list { margin: 0; padding-left: 18px; color: var(--muted); }
.hero-list li + li { margin-top: 10px; }
.hero-list li::marker { color: var(--violet); }

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

.tag-row span,
.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(250, 250, 247, 0.20);
  border-radius: 999px;
  color: rgba(250, 250, 247, 0.92);
  background: rgba(250, 250, 247, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  margin-top: 24px;
  padding: 11px 20px;
  border-radius: 999px;
  color: var(--bone);
  background: var(--title-gradient);
  border: 1px solid var(--line-strong);
  font-weight: 760;
  text-decoration: none;
  box-shadow: var(--shadow-magenta);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.hero-link::after { color: var(--bone); }
.hero-link:hover { box-shadow: 0 24px 56px rgba(233, 75, 168, 0.28); }

.meta-list { display: grid; gap: 0; margin: 0; }
.meta-list div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.meta-list div:last-child { border-bottom: 0; }
.meta-list dt { color: var(--muted); font-size: 0.88rem; }
.meta-list dd { margin: 4px 0 0; color: var(--plum-text); font-weight: 760; }

/* ----------  7 · Course Shell + Nav  ---------- */
.course-shell {
  display: grid;
  grid-template-columns: minmax(240px, 296px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
  margin-bottom: 96px;
}

.course-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 79, 229, 0.4) transparent;
  padding-right: 4px;
}

.course-nav::-webkit-scrollbar { width: 6px; }
.course-nav::-webkit-scrollbar-thumb { background: rgba(91, 79, 229, 0.32); border-radius: 999px; }

.nav-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(240, 236, 255, 0.5)),
    var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-card nav { display: grid; gap: 2px; }

.nav-card nav a {
  position: relative;
  display: block;
  padding: 11px 12px 11px 24px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.nav-card nav a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: transparent;
  outline: 1px solid var(--line-strong);
  outline-offset: 0;
  transform: translateY(-50%);
  transition: background var(--t-fast) var(--ease), outline-color var(--t-fast) var(--ease);
}

.nav-card nav a:hover {
  color: var(--plum-text);
  background: linear-gradient(90deg, rgba(91, 79, 229, 0.10), rgba(233, 75, 168, 0.08));
  transform: translateX(2px);
}

.nav-card nav a.is-active {
  color: var(--plum-text);
  background: linear-gradient(90deg, rgba(91, 79, 229, 0.14), rgba(233, 75, 168, 0.10));
  font-weight: 700;
}

.nav-card nav a:hover::before,
.nav-card nav a.is-active::before {
  background: var(--gradient);
  outline-color: transparent;
  box-shadow: 0 0 0 4px rgba(91, 79, 229, 0.16);
}

.nav-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.nav-card li + li { margin-top: 8px; }
.nav-card li::marker { color: var(--violet); }

.nav-card--soft,
.nav-card--compact {
  color: rgba(250, 250, 247, 0.82);
  background:
    radial-gradient(circle at 85% 16%, rgba(233, 75, 168, 0.30), transparent 32%),
    radial-gradient(circle at 12% 92%, rgba(91, 79, 229, 0.24), transparent 36%),
    linear-gradient(145deg, var(--aubergine) 0%, var(--aubergine-3) 100%);
  border-color: rgba(250, 250, 247, 0.10);
}

.nav-card--soft .nav-title,
.nav-card--compact .nav-title,
.nav-card--soft ul,
.nav-card--compact ul { color: rgba(250, 250, 247, 0.76); }

.nav-card--soft li::marker,
.nav-card--compact li::marker { color: var(--magenta); }

/* ----------  8 · Module Cards  ---------- */
.course-content { display: grid; gap: 28px; }

.module {
  padding: clamp(28px, 3.6vw, 48px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(250, 250, 247, 0.88)),
    var(--surface);
  position: relative;
  overflow: clip;
}

.module::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--title-gradient);
}

.module::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 79, 229, 0.10), transparent 70%);
  pointer-events: none;
}

.module-header {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.module-number { color: var(--violet); display: inline-flex; align-items: center; gap: 8px; }
.module-number::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 79, 229, 0.4), transparent);
  min-width: 24px;
}

.module-header h2 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--aubergine);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.module-header p:last-child {
  max-width: 70ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

/* ----------  9 · Grids + Card Primitives  ---------- */
.summary-grid,
.three-grid,
.two-column,
.journey-grid,
.action-grid,
.cards-grid,
.assessment-grid,
.evidence-grid,
.quiz-grid,
.source-list,
.timeline {
  display: grid;
  gap: 18px;
}

.summary-grid,
.three-grid,
.action-grid,
.assessment-grid,
.evidence-grid,
.quiz-grid,
.source-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journey-grid,
.timeline,
.cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.summary-card,
.content-card,
.content-block,
.mini-card,
.journey-step,
.action-card,
.assessment-card,
.evidence-card,
.quiz-card,
.source-list article,
.timeline-step {
  padding: 22px;
  border: 1px solid rgba(91, 79, 229, 0.13);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(246, 243, 255, 0.4)),
    var(--surface);
  transition: transform var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease);
  position: relative;
}

.summary-card:hover,
.content-card:hover,
.mini-card:hover,
.action-card:hover,
.assessment-card:hover,
.evidence-card:hover,
.quiz-card:hover,
.source-list article:hover,
.timeline-step:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 79, 229, 0.32);
  box-shadow: var(--shadow-sm);
}

.summary-card:nth-child(3n + 2),
.content-card:nth-child(2n),
.content-block:nth-child(2n),
.mini-card:nth-child(3n + 2),
.journey-step:nth-child(2n),
.action-card:nth-child(3n + 2),
.assessment-card:nth-child(3n + 2),
.evidence-card:nth-child(3n + 2),
.quiz-card:nth-child(3n + 2),
.source-list article:nth-child(3n + 2),
.timeline-step:nth-child(2n) {
  border-color: rgba(233, 75, 168, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(253, 232, 244, 0.36)),
    var(--surface);
}

.summary-card:nth-child(3n + 2):hover,
.mini-card:nth-child(3n + 2):hover,
.action-card:nth-child(3n + 2):hover {
  border-color: rgba(233, 75, 168, 0.4);
}

.summary-card h3,
.content-card h3,
.content-block h3,
.mini-card h3,
.journey-step h3,
.action-card h3,
.assessment-card h3,
.evidence-card h3,
.quiz-card h3,
.source-list h3,
.timeline-step h3,
.checklist h3,
.feature-band h3,
.insight-band h3,
.callout h3 {
  margin: 0 0 10px;
  color: var(--plum-text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.summary-card p,
.content-card p,
.content-block p,
.mini-card p,
.journey-step p,
.action-card p,
.assessment-card p,
.evidence-card p,
.quiz-card p { color: var(--muted); }

.summary-card p:last-child,
.content-card p:last-child,
.content-block p:last-child,
.mini-card p:last-child,
.journey-step p:last-child,
.action-card p:last-child,
.assessment-card p:last-child,
.evidence-card p:last-child,
.quiz-card p:last-child { margin-bottom: 0; }

.content-card ul,
.content-block ul,
.mini-card ul,
.action-card ul,
.assessment-card ul,
.evidence-card ul,
.accordion-panel ul,
.checklist ul,
.source-list ul,
.module ul { padding-left: 18px; }

.content-card ul li::marker,
.content-block ul li::marker,
.mini-card ul li::marker,
.action-card ul li::marker { color: var(--violet); }

.content-card ul,
.content-block ul,
.mini-card ul,
.action-card ul,
.assessment-card ul,
.evidence-card ul,
.accordion-panel ul,
.checklist ul,
.source-list ul,
.hero-list { margin-top: 0; margin-bottom: 0; }

/* ----------  10 · Feature Band + Insight Band + Callouts  ---------- */
.feature-band,
.insight-band,
.callout,
.checklist {
  margin: 24px 0;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
}

.feature-band,
.insight-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
  color: var(--bone);
  background:
    radial-gradient(circle at 88% 18%, rgba(233, 75, 168, 0.40), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(91, 79, 229, 0.36), transparent 32%),
    linear-gradient(145deg, var(--aubergine) 0%, var(--aubergine-3) 100%);
  border: 1px solid rgba(250, 250, 247, 0.10);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(250, 250, 247, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-band::after,
.insight-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(250, 250, 247, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
}

.feature-band h3,
.insight-band h3,
.feature-band p,
.insight-band p,
.feature-band .section-kicker,
.insight-band .section-kicker { color: rgba(250, 250, 247, 0.88); }

.feature-band h3,
.insight-band h3 {
  color: var(--bone);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  letter-spacing: -0.015em;
}

.feature-band p:last-child,
.insight-band p:last-child,
.callout p:last-child { margin: 0; }

.callout,
.checklist {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 254, 250, 0.94), rgba(240, 236, 255, 0.46));
}

.callout--alert,
.callout--warning {
  border-color: rgba(233, 75, 168, 0.34);
  background: linear-gradient(180deg, rgba(233, 75, 168, 0.10), rgba(250, 250, 247, 0.88));
}

.callout--soft,
.callout--neutral {
  border-color: rgba(91, 79, 229, 0.26);
  background: linear-gradient(180deg, rgba(91, 79, 229, 0.08), rgba(250, 250, 247, 0.92));
}

.callout--success {
  border-color: rgba(109, 184, 154, 0.34);
  background: linear-gradient(180deg, rgba(109, 184, 154, 0.10), rgba(250, 250, 247, 0.92));
}

.callout--alert .section-kicker,
.callout--warning .section-kicker { color: var(--magenta); }
.callout--soft .section-kicker,
.callout--neutral .section-kicker { color: var(--violet); }
.callout--success .section-kicker { color: var(--sage); }

/* ----------  11 · Journey Step + Timeline ---------- */
.journey-step,
.timeline-step {
  position: relative;
  min-height: 196px;
  padding-left: 28px;
}

.journey-step::before,
.timeline-step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
}

.journey-step > *,
.timeline-step > * { margin-left: 0; }

/* ----------  12 · Evidence Featured  ---------- */
.evidence-card--featured {
  color: var(--bone);
  background:
    radial-gradient(circle at 82% 14%, rgba(233, 75, 168, 0.34), transparent 32%),
    linear-gradient(145deg, var(--aubergine) 0%, var(--aubergine-3) 100%);
  border-color: rgba(250, 250, 247, 0.12);
}

.evidence-card--featured h3,
.evidence-card--featured p,
.evidence-card--featured li,
.evidence-card--featured .section-kicker { color: rgba(250, 250, 247, 0.88); }

/* ----------  13 · Accordion  ---------- */
.accordion {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(250, 250, 247, 0.78);
}

.accordion + .accordion { margin-top: 10px; }

.accordion summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  color: var(--ink);
  font-weight: 700;
  transition: background var(--t-fast) var(--ease);
}

.accordion summary:hover { background: rgba(91, 79, 229, 0.06); }

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  color: var(--magenta);
  font-size: 1.35rem;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform var(--t-med) var(--ease);
}

.accordion[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion-panel { padding: 0 22px 22px; color: var(--muted); }

/* ----------  14 · References  ---------- */
.module--references a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 79, 229, 0.32);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.module--references a:hover { color: var(--magenta); border-bottom-color: var(--magenta); }

/* ====================================================================
   NEW PRIMITIVES · v2
   ==================================================================== */

/* ----------  15 · Course Meta Bar  ---------- */
.course-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 250, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.course-meta__cell {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.course-meta__cell:last-child { border-right: 0; }

.course-meta__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.course-meta__value {
  display: block;
  margin-top: 6px;
  font-size: 1.06rem;
  font-weight: 660;
  color: var(--plum-text);
  line-height: 1.25;
}

/* ----------  16 · Stat Tiles  ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.stat-tile {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.stat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.stat-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.7;
}

.stat-tile__num {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 540;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.stat-tile__num--violet { color: var(--violet); }
.stat-tile__num--magenta { color: var(--magenta); }

.stat-tile__label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ----------  17 · Takeaway Pull-quote  ---------- */
.takeaway {
  margin: 24px 0 4px;
  padding: 22px 26px;
  border-left: 4px solid var(--violet);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(90deg, rgba(91, 79, 229, 0.08), rgba(233, 75, 168, 0.04));
  position: relative;
}

.takeaway__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 8px;
}

.takeaway__text {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 540;
  line-height: 1.45;
  color: var(--plum-text);
  letter-spacing: -0.005em;
}

/* ----------  18 · Quote Block  ---------- */
.quote-block {
  margin: 26px 0;
  padding: 30px 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(253, 232, 244, 0.34));
  border: 1px solid rgba(233, 75, 168, 0.18);
  position: relative;
}

.quote-block::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  color: rgba(233, 75, 168, 0.32);
  line-height: 1;
  font-weight: 700;
}

.quote-block__text {
  margin: 18px 0 14px;
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--plum-text);
  font-weight: 510;
  letter-spacing: -0.005em;
  padding-left: 6px;
}

.quote-block__cite {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------  19 · Hormone / Cycle Strip  ---------- */
.hormone-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 28px 0 18px;
  padding: 28px 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(240, 236, 255, 0.36));
  overflow: hidden;
}

.hormone-strip::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 80px;
  transform: translateY(-50%);
  background:
    radial-gradient(ellipse 240px 60px at 12% 50%, rgba(91, 79, 229, 0.20), transparent 70%),
    radial-gradient(ellipse 240px 60px at 38% 30%, rgba(162, 77, 198, 0.18), transparent 70%),
    radial-gradient(ellipse 240px 60px at 64% 70%, rgba(233, 75, 168, 0.16), transparent 70%),
    radial-gradient(ellipse 240px 60px at 88% 50%, rgba(91, 79, 229, 0.14), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.hormone-strip__phase {
  position: relative;
  padding: 0 14px;
  border-right: 1px dashed rgba(11, 11, 12, 0.10);
}
.hormone-strip__phase:last-child { border-right: 0; }

.hormone-strip__phase span:first-child {
  display: block;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 6px;
}

.hormone-strip__phase span:last-child {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--plum-text);
  line-height: 1.32;
}

/* ----------  20 · Comparison Row  ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.compare__side { padding: 22px; }
.compare__side--a { background: linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(246, 243, 255, 0.4)); }
.compare__side--b { background: linear-gradient(180deg, rgba(255, 254, 250, 0.96), rgba(253, 232, 244, 0.36)); }
.compare__divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(91, 79, 229, 0.32), transparent);
}
.compare__side h3 { margin: 0 0 12px; color: var(--plum-text); font-size: 1.06rem; }
.compare__side ul { margin: 0; padding-left: 18px; color: var(--muted); }
.compare__side ul li::marker { color: var(--violet); }
.compare__side--b ul li::marker { color: var(--magenta); }

/* ----------  21 · References list  ---------- */
.references-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: refs;
}
.references-list li {
  counter-increment: refs;
  position: relative;
  padding: 12px 0 12px 38px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.references-list li:last-child { border-bottom: 1px solid var(--line); }
.references-list li::before {
  content: counter(refs);
  position: absolute;
  left: 0; top: 12px;
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--violet-wash);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 760;
}

/* ----------  22 · End-of-Course CTA  ---------- */
.end-cta {
  margin: 32px 0 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
  color: var(--bone);
  background:
    radial-gradient(circle at 12% 16%, rgba(91, 79, 229, 0.38), transparent 36%),
    radial-gradient(circle at 86% 6%, rgba(233, 75, 168, 0.30), transparent 36%),
    radial-gradient(circle at 80% 96%, rgba(162, 77, 198, 0.24), transparent 40%),
    linear-gradient(145deg, var(--aubergine) 0%, var(--aubergine-3) 100%);
  border: 1px solid rgba(250, 250, 247, 0.10);
  position: relative;
  overflow: hidden;
}

.end-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(250, 250, 247, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
}

.end-cta h2 {
  max-width: 18ch;
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--bone);
}

.end-cta p { color: rgba(250, 250, 247, 0.82); max-width: 56ch; }

.end-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.end-cta__actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}

.end-cta__actions a:first-child {
  color: var(--ink);
  background: var(--bone);
  box-shadow: var(--shadow-sm);
}
.end-cta__actions a:first-child::after { content: "→"; color: var(--magenta); }
.end-cta__actions a:first-child:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.end-cta__actions a:not(:first-child) {
  color: var(--bone);
  background: rgba(250, 250, 247, 0.08);
  border: 1px solid rgba(250, 250, 247, 0.22);
}
.end-cta__actions a:not(:first-child):hover {
  background: rgba(250, 250, 247, 0.14);
  transform: translateY(-2px);
}

/* ----------  23 · Back-to-top  ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 254, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), background var(--t-med) var(--ease);
  z-index: 90;
  cursor: pointer;
}

.back-to-top[data-visible="true"] { opacity: 1; pointer-events: auto; }

.back-to-top:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: var(--bone);
  border-color: transparent;
}

/* ----------  24 · Reveal-on-scroll  ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal][data-revealed="true"] { opacity: 1; transform: translateY(0); }

/* ----------  25 · Glossary term  ---------- */
.glossary-term {
  position: relative;
  cursor: help;
  border-bottom: 1.5px dotted rgba(91, 79, 229, 0.6);
  color: var(--plum-text);
  font-weight: 600;
}

.glossary-term:hover { color: var(--violet); }

.glossary-term[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--aubergine);
  color: var(--bone);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
  white-space: normal;
  box-shadow: var(--shadow);
  z-index: 50;
}

/* ----------  26 · Trust row  ---------- */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.7);
}

.trust-row__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-row__item::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--violet-wash);
  color: var(--violet);
  font-weight: 760;
  font-size: 0.78rem;
}

/* ----------  27 · Course Toolbar  ---------- */
.course-toolbar {
  position: fixed;
  top: 18px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-xs);
  z-index: 95;
}

.course-toolbar button,
.course-toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 660;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.course-toolbar button:hover,
.course-toolbar a:hover {
  background: linear-gradient(90deg, rgba(91, 79, 229, 0.10), rgba(233, 75, 168, 0.08));
  color: var(--plum-text);
}

@media (max-width: 760px) { .course-toolbar { display: none; } }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1180px) {
  .course-shell { grid-template-columns: 1fr; }
  .course-nav { position: relative; top: 0; max-height: none; overflow: visible; }
  .hero-grid,
  .summary-grid,
  .three-grid,
  .two-column,
  .journey-grid,
  .action-grid,
  .cards-grid,
  .timeline,
  .assessment-grid,
  .evidence-grid,
  .quiz-grid,
  .source-list,
  .feature-band,
  .insight-band,
  .compare,
  .course-meta,
  .hormone-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare__divider { display: none; }
  .course-meta__cell:nth-child(2n) { border-right: 0; }
  .course-meta__cell { border-bottom: 1px solid var(--line); }
  .course-meta__cell:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 760px) {
  .site-header,
  .course-shell { width: min(calc(100% - 24px), var(--content-width)); }
  .site-header { padding-top: 24px; }
  .brand-lockup { width: 188px; }
  .brand-lockup--corner { margin-bottom: 54px; }

  .course-title {
    max-width: 100%;
    font-size: clamp(2.55rem, 10.6vw, 3.6rem);
    letter-spacing: -0.04em;
  }

  .hero-grid,
  .module-header,
  .summary-grid,
  .three-grid,
  .two-column,
  .journey-grid,
  .action-grid,
  .cards-grid,
  .timeline,
  .assessment-grid,
  .evidence-grid,
  .quiz-grid,
  .source-list,
  .feature-band,
  .insight-band,
  .compare,
  .course-meta,
  .hormone-strip,
  .stat-row,
  .hero-stats { grid-template-columns: 1fr; }

  .hero-stats > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .hero-stats > div:last-child { border-bottom: 0; }

  .course-meta__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .course-meta__cell:last-child { border-bottom: 0; }

  .hero-card,
  .hero-panel,
  .module { border-radius: 24px; }

  .hero-card--primary h2,
  .hero-panel--statement h2 {
    max-width: 100%;
    font-size: clamp(2.08rem, 9.4vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .module { padding: 24px 20px; }
  .module-header { grid-template-columns: 1fr; gap: 12px; }

  .end-cta__actions a { width: 100%; justify-content: center; }
}

/* ====================================================================
   REDUCED MOTION
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ====================================================================
   PRINT
   ==================================================================== */
@media print {
  body { background: white; color: black; }
  body::before { display: none; }
  .progress-bar,
  .back-to-top,
  .course-toolbar,
  .hero-link,
  .library-link,
  .end-cta__actions { display: none !important; }

  .site-header,
  .course-shell { width: 100%; max-width: 100%; padding: 0; margin: 0; }
  .course-shell { display: block; }
  .course-nav { display: none; }
  .module,
  .hero-card,
  .feature-band,
  .insight-band,
  .end-cta {
    border: 1px solid #ccc !important;
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .module::after, .module::before { display: none; }
  .hero-card--primary h2, .feature-band h3, .insight-band h3, .end-cta h2 { color: black !important; }
  .hero-card--primary p, .feature-band p, .insight-band p, .end-cta p { color: #333 !important; }
  .title-gradient { color: black !important; -webkit-text-fill-color: black !important; background: none !important; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  .nav-card nav a::after, .end-cta__actions a::after, .library-link::after, .hero-link::after { content: ""; }
}

/* ====================================================================
   PUBLIC WEBSITE CONSISTENCY PASS · 2026-05-21
   Aligns course pages with the flagship homepage rhythm.
   ==================================================================== */
body {
  background: linear-gradient(180deg, var(--bone) 0%, #fffefa 52%, var(--paper) 100%);
}

body::before {
  opacity: 0.32;
}

.site-header {
  padding-top: clamp(24px, 2.8vw, 38px);
  padding-bottom: clamp(42px, 5vw, 68px);
}

.brand-strip {
  margin-bottom: clamp(30px, 4vw, 54px);
}

.course-title {
  max-width: 18ch;
  font-size: clamp(3rem, 5.55vw, 5.7rem);
  line-height: 1.02;
  letter-spacing: -0.036em;
}

.course-title .title-gradient {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.subtitle {
  max-width: 68ch;
  font-size: clamp(1.02rem, 1.12vw, 1.14rem);
  line-height: 1.68;
}

.hero-stats {
  margin-top: 30px;
}

.hero-grid {
  margin-top: clamp(34px, 4vw, 54px);
}

.hero-card--primary h2,
.hero-panel--statement h2 {
  max-width: 20ch;
  font-size: clamp(2.05rem, 3.45vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.034em;
}

.hero-card,
.hero-panel,
.module,
.nav-card {
  border-radius: 22px;
}

.course-shell {
  margin-bottom: 82px;
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 22px;
    padding-bottom: 34px;
  }

  .brand-strip {
    margin-bottom: 34px;
  }

  .course-title {
    max-width: 100%;
    font-size: clamp(2.7rem, 11vw, 3.65rem);
    line-height: 1.01;
    letter-spacing: -0.035em;
  }

  .course-title .title-gradient {
    white-space: normal;
  }

  .subtitle {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-card--primary h2,
  .hero-panel--statement h2 {
    font-size: clamp(2rem, 8.8vw, 2.85rem);
    line-height: 1.06;
  }
}
