:root {
  /* Brand palette 2026-10-05 — sampled from assets/masterclass-cta.png */
  --parchment: #FBF6EF;
  --fuchsia: #D60775;          /* button-core avg from masterclass CTA */
  --fuchsia-hover: #B00560;
  --yellow-gold: #FBCC64;      /* gold stroke avg from masterclass CTA */
  --yellow-hl: #F5D24A;        /* bright faded highlighter */
  --yellow-box: #FFF7D9;       /* soft yellow tint panel */
  --ink: #2A1F24;              /* warm dark ink (readable on parchment + yellow) */
  --muted: #5A4E56;
  --line: #E8DFD2;             /* warm line on parchment */
  --soft: #F4EDF8;             /* KEEP light purple panels */
  --purple: #713399;           /* keep for non-heading accents (icons, video border) */
  --orange: var(--fuchsia);    /* legacy alias → fuchsia */
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font: 16px/1.5 "DM Sans", sans-serif;
  border-top: 5px solid var(--fuchsia);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }
.site-header, .layout, .site-footer {
  width: min(1200px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.signature-brand img {
  width: 150px;
  height: 65px;
  object-fit: contain;
  display: block;
  filter: brightness(0);
}
.version {
  margin: 0;
  max-width: 420px;
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
}
.page-title {
  width: min(1200px, calc(100% - 40px));
  margin: 28px auto 0;
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 28px;
  row-gap: 12px;
  align-items: center;
}
.title-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.page-title .script-btn { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
.page-title .hero-line { grid-column: 1 / -1; grid-row: 2; }
.page-title h1 {
  margin: 0;
  max-width: 22em;
  font: 800 42px/1.08 Manrope, sans-serif;
  letter-spacing: -0.03em;
}
.page-title .hero-sub {
  margin: 14px 0 0;
  max-width: 40em;
  color: var(--ink);
  font: 700 22px/1.3 Manrope, sans-serif;
}
.hl {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
  cursor: default;
}
.hl-mark {
  position: absolute;
  z-index: -1;
  left: -0.12em;
  bottom: 0.2em;
  width: calc(100% + 0.26em);
  height: 0.66em;
  transform: rotate(-1.2deg);
  pointer-events: none;
}
.page-title .hero-line {
  margin: 12px 0 0;
  max-width: 46em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}
.page-title .hero-line + .hero-line {
  margin-top: 4px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 25fr) minmax(0, 60fr) minmax(0, 15fr);
  gap: 18px;
  align-items: start;
  padding: 26px 0 10px;
}
.section-title h2 {
  font: 700 22px/1.2 Manrope, sans-serif;
  margin: 0 0 12px;
}
.toc-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.list-title {
  margin: 0;
  padding: 12px 14px;
  background: var(--soft);
  color: var(--fuchsia);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
}
.lesson {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  text-align: left;
  color: var(--ink);
}
.lesson:hover { background: #f8f2fc; }
.lesson[aria-current="true"] {
  background: #eee0f7;
  color: #672b90;
  box-shadow: inset 4px 0 var(--fuchsia);
}
.lesson .num { font-size: 12px; color: var(--muted); width: 22px; }
.lesson strong { font-weight: 600; font-size: 14px; }
.lesson-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lesson-copy strong { display: block; }
.lesson-copy small,
.now-playing .eyebrow,
.now-playing .simple-intro,
.now-playing .resource-label { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--fuchsia); font-weight: 700; }

details { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 14px;
  color: var(--fuchsia);
}
summary:hover { background: #f8f2fc; }
.downloads { margin: 0; padding: 0 14px 8px; }
.resource {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
a.resource:hover strong { text-decoration: underline; }
.below-player {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 14px;
}
.below-player .now-playing { flex: 1; min-width: 0; }
.lesson-download { flex: 0 0 auto; margin: 0; }
.lesson-download[hidden] { display: none; }
.download-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--fuchsia);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.download-btn:hover { background: var(--fuchsia-hover); }
.script-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 360px;
  padding: 14px 18px 12px;
  border-radius: 10px;
  background: var(--fuchsia);
  color: #fff;
  text-align: center;
}
.script-label {
  font: 700 17px/1.25 Manrope, sans-serif;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.script-sub {
  font: 500 12.5px/1.3 "DM Sans", sans-serif;
  color: #ffe6f2;
}
.script-btn:hover { background: var(--fuchsia-hover); }
.simple-system { margin-top: 12px; }
.simple-intro { margin: 0 0 3px; }
.simple-steps {
  margin: 0;
  padding-left: 1.3em;
  color: var(--muted);
  font: 400 14px/1.4 "DM Sans", sans-serif;
}
.simple-steps li { margin: 1px 0; }
.resource strong { display: block; font-weight: 600; color: var(--ink); font-size: 13px; }
.resource small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.resource > span:last-child { color: var(--purple); font-weight: 600; white-space: nowrap; }
.player {
  aspect-ratio: 16/9;
  background: #201326;
  border: 3px solid #561477;
  border-radius: 10px;
  box-shadow: 0 8px 22px #50087918;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.player-kicker { margin: 0 0 8px; letter-spacing: 1.4px; font-size: 12px; font-weight: 700; color: #e7ceef; text-transform: uppercase; }
.player-title { margin: 0; font: 700 32px/1.2 Manrope, sans-serif; }
.player-note { margin: 12px 0 0; color: #d7c3e4; font-size: 14px; }
.now-playing {
  padding: 16px 18px 18px;
  background: var(--yellow-box);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(42, 31, 36, 0.08), 0 1px 3px rgba(251, 204, 100, 0.35);
  border: 1px solid rgba(251, 204, 100, 0.35);
}
.now-playing .eyebrow { margin: 0 0 2px; }
.now-playing h3 { margin: 0 0 4px; font: 600 17px/1.3 Manrope, sans-serif; color: var(--ink); }
#lesson-desc { margin: 0; color: var(--muted); font: 400 14px/1.4 "DM Sans", sans-serif; max-width: 62ch; }
#lesson-desc[hidden] { display: none; }
.now-playing .resource-label { margin: 12px 0 3px; }
#lesson-resources { margin: 0; padding-left: 18px; color: var(--muted); font: 400 14px/1.4 "DM Sans", sans-serif; }
#lesson-resources li { margin: 1px 0; }
.offers { min-width: 0; position: relative; }
.cta-intro {
  display: block;
  margin: 0 0 12px;
  font: 400 14px/1.4 "DM Sans", sans-serif;
  color: #75677e;
}
.ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px #50087914;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter .18s ease;
}
.cta-card:hover,
.cta-card:focus-visible {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 24px 44px #50087955;
  outline: 3px solid var(--fuchsia);
  outline-offset: 3px;
}
.cta-card:hover img,
.cta-card:focus-visible img { filter: brightness(1.08); }
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 13px;
}
.copy { margin: 0; }
.connect-bar { display: flex; align-items: center; gap: 8px; }
.connect-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
#lessons { display: flex; flex-direction: column; }
.player.has-video {
  padding: 0;
  display: block;
  overflow: hidden;
  background: #000;
}
.player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.player-coming { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; }
.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--purple);
  background: #fff;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: var(--soft); }
@media (max-width: 860px) {
  .site-header, .layout, .site-footer, .page-title {
    width: min(1200px, calc(100% - 32px));
  }
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
  }
  .signature-brand img { width: 120px; height: auto; }
  .connect-bar { gap: 10px; }
  .connect-label { font-size: 13px; }
  .social-icon { width: 44px; height: 44px; }
  .page-title {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .title-copy { order: 1; }
  .page-title .hero-line { order: 2; font-size: 16px; }
  .page-title .script-btn {
    order: 3;
    display: flex;
    width: 100%;
    max-width: none;
    margin-top: 16px;
  }
  .script-label { white-space: normal; }
  .page-title h1 { font-size: 30px; }
  .page-title .hero-sub { font-size: 19px; }
  .layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 16px;
  }
  .system { order: 1; }
  .player-col { order: 2; }
  .offers { order: 3; }
  .ctas { gap: 18px; }
  .script-btn { text-align: center; }
  .lesson { padding: 14px; }
  .summary { padding: 16px 14px; }
  .below-player { flex-direction: column; gap: 12px; }
  .lesson-download:not([hidden]) { align-self: flex-end; }
  .resource > span:last-child { white-space: normal; }
  .now-playing h3 { font-size: 17px; }
}
