/* =====================================================================
   MAD SCI HUB — Editorial-Brutalist with one acid-green ember
   Spec: Agent A, "Mad Sci Hub Aesthetic Direction" 2026-05-11
   =====================================================================

   Design tokens. Bone-and-ink base, acid green strictly as punctuation
   (wordmark, link hover, primary CTA). Nothing else gets to be green.
*/

:root {
  --ink:         #14110F;  /* warm near-black, easier on screens than #000 */
  --bone:        #F7F3EC;  /* museum-wall warm off-white */
  --paper:       #FFFFFF;  /* card surfaces */
  --rule:        #C8BFB1;  /* hairline rules, table borders */
  --muted:       #6B645B;  /* metadata, secondary text */
  --accent:      #39FF14;  /* THE ONE — wordmark, hover, primary CTA only */
  --accent-deep: #2BC910;  /* darker variant for AA contrast text on bone */
  --quote:       #7A2E1F;  /* oxblood pull-quote, single-use */
  --ink-12:      rgba(20, 17, 15, 0.12);
  --ink-06:      rgba(20, 17, 15, 0.06);

  --serif:  "Source Serif 4", "GT Sectra Display", Georgia, "Times New Roman", serif;
  --sans:   "Inter", "Söhne", system-ui, -apple-system, sans-serif;
  --mono:   "JetBrains Mono", "Berkeley Mono", ui-monospace, monospace;

  --measure: 680px;
  --gutter:  clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a.link, .prose a {
  border-bottom: 1px solid var(--rule);
  transition: color 120ms ease, border-color 120ms ease;
}
a.link:hover, .prose a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}
button { font: inherit; cursor: pointer; }

.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }
.mono  { font-family: var(--mono); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.25; }
h4 { font-size: 1rem; line-height: 1.35; font-weight: 600; }
p  { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dropcap::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 4.6rem;
  line-height: 0.85;
  padding: 0.35rem 0.5rem 0 0;
  font-weight: 700;
  color: var(--ink);
}

.shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.shell--narrow { max-width: calc(var(--measure) + var(--gutter) * 2); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule-thick { border: 0; border-top: 2px solid var(--ink); margin: 0; }

.masthead {
  border-bottom: 1px solid var(--ink);
  background: var(--bone);
  position: sticky; top: 0; z-index: 50;
}
.masthead__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 14px;
  gap: 24px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.wordmark__dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-2px);
  box-shadow: 0 0 0 0 var(--accent);
}
.wordmark:hover .wordmark__dot { box-shadow: 0 0 0 4px rgba(57,255,20,0.18); }

.nav { display: flex; gap: 28px; align-items: baseline; }
.nav__link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 120ms ease;
}
.nav__link:hover { border-bottom-color: var(--accent); }
.nav__link--sponsor {
  font-weight: 600;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav__link:not(.nav__link--sponsor) { display: none; }
}

.hero {
  padding-top: clamp(48px, 9vw, 110px);
  padding-bottom: clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--ink);
}
.hero__eyebrow { margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.hero__eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.hero__title {
  font-family: var(--serif);
  max-width: 18ch;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 600;
}
.hero__sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  max-width: 60ch;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bone);
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}
.btn:hover { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }
.btn--lg { padding: 18px 28px; font-size: 14px; }
.btn__arrow { transform: translateY(1px); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}
.stat { padding: 36px 24px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stat__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--rule); }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule); }
}

.section {
  padding-top: clamp(64px, 9vw, 110px);
  padding-bottom: clamp(64px, 9vw, 110px);
}
.section--bordered { border-bottom: 1px solid var(--ink); }

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before {
  content: "§";
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent-deep);
  letter-spacing: 0;
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 820px) {
  .two-up { grid-template-columns: 1fr; gap: 24px; }
}
.two-up__body {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.55;
}
.two-up__body p { margin-bottom: 1.05em; }

.channels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.channel {
  background: var(--bone);
  padding: 32px 28px 30px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
  transition: background 160ms ease;
}
.channel:hover { background: var(--paper); }
.channel--hub       { grid-column: span 6; }
.channel--lectures  { grid-column: span 6; }
.channel--clips     { grid-column: span 4; }
.channel--voltage   { grid-column: span 4; }
.channel--ambience  { grid-column: span 4; }

@media (max-width: 820px) {
  .channels { grid-template-columns: 1fr 1fr; }
  .channel--hub, .channel--lectures, .channel--clips,
  .channel--voltage, .channel--ambience { grid-column: span 1; }
}
@media (max-width: 540px) {
  .channels { grid-template-columns: 1fr; }
  .channel { min-height: 0; }
}

.channel__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.channel__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.channel__desc {
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
  flex: 1;
}
.channel__meta {
  display: flex; gap: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.channel__swatch {
  position: absolute;
  top: 32px; right: 28px;
  width: 14px; height: 14px;
  border-radius: 50%;
}
.channel--hub      .channel__swatch { background: #39FF14; }
.channel--lectures .channel__swatch { background: #1B3A5C; }
.channel--clips    .channel__swatch { background: #B0241C; }
.channel--voltage  .channel__swatch { background: #FF2A7F; }
.channel--ambience .channel__swatch { background: #C8B68A; }

.ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
}
.tier {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--rule);
  background: var(--bone);
  display: flex;
  flex-direction: column;
}
.tier:last-child { border-right: 0; }
.tier--anchor {
  background: var(--ink);
  color: var(--bone);
  position: relative;
}
.tier--anchor .tier__price,
.tier--anchor .tier__name,
.tier--anchor .tier__perks li { color: var(--bone); }
.tier--anchor::before {
  content: "HEADER ANCHOR";
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.16em;
}

.tier__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.tier__price {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.tier__price small {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-left: 4px;
}
.tier--anchor .tier__price small { color: var(--rule); }

.tier__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 14px 0 22px;
  min-height: 2.6em;
}
.tier--anchor .tier__tagline { color: var(--rule); }

.tier__perks {
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}
.tier__perks li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-top: 1px solid var(--rule);
}
.tier--anchor .tier__perks li { border-top-color: rgba(247,243,236,0.18); }
.tier__perks li:first-child { border-top: 0; padding-top: 0; }
.tier__perks li::before {
  content: "+";
  position: absolute;
  left: 0; top: 8px;
  font-family: var(--mono);
  color: var(--accent-deep);
  font-weight: 700;
}
.tier--anchor .tier__perks li::before { color: var(--accent); }
.tier__perks li:first-child::before { top: 0; }

.tier__cta { margin-top: 24px; align-self: flex-start; }

@media (max-width: 820px) {
  .ladder { grid-template-columns: 1fr 1fr; }
  .tier { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .tier:nth-child(2n) { border-right: 0; }
  .tier:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .ladder { grid-template-columns: 1fr; }
  .tier { border-right: 0; }
  .tier:last-child { border-bottom: 0; }
}

.pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--quote);
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
  max-width: 30ch;
}
.pull__attr {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.preview-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 820px) {
  .preview-shell { grid-template-columns: 1fr; }
}
.preview-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 36px 32px;
  font-family: var(--serif);
  position: relative;
  box-shadow: 8px 8px 0 var(--ink);
}
.preview-card .eyebrow { margin-bottom: 8px; }
.preview-card h3 { font-size: 1.6rem; margin-bottom: 8px; line-height: 1.18; }
.preview-card__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.preview-card__lede {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 22px;
}
.preview-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 6px 10px;
  color: var(--muted);
}

.faq-list { display: grid; gap: 0; }
.faq { border-top: 1px solid var(--rule); padding: 24px 0; }
.faq:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-deep);
  transition: transform 200ms ease;
}
.faq[open] summary::after { content: "−"; }
.faq__body {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 14px;
  max-width: 60ch;
}

.foot {
  border-top: 1px solid var(--ink);
  padding: 56px 0 40px;
  font-family: var(--sans);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 820px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
}
.foot__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { padding: 5px 0; font-size: 14px; }
.foot__col a:hover { color: var(--accent-deep); }
.foot__mission {
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 36ch;
  margin-top: 8px;
}
.foot__base {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
@media (max-width: 540px) {
  .foot__base { flex-direction: column; gap: 8px; }
}

/* =====================================================================
   LESSON PAGE
   ===================================================================== */

.lesson-shell { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.lesson-header {
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
.lesson-hero {
  padding: clamp(40px, 6vw, 70px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--ink);
}
.lesson-hero .eyebrow { margin-bottom: 16px; }
.lesson-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 18ch;
}
.lesson-hero__lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  max-width: 56ch;
  color: var(--ink);
  margin-bottom: 28px;
}
.lesson-hero__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 24px; flex-wrap: wrap;
}
.lesson-hero__meta strong { color: var(--ink); font-weight: 500; }

.video-frame {
  margin: clamp(28px, 4vw, 48px) 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.video-frame iframe,
.video-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}
.video-frame__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  background:
    linear-gradient(45deg, rgba(57,255,20,0.05) 25%, transparent 25%, transparent 50%, rgba(57,255,20,0.05) 50%, rgba(57,255,20,0.05) 75%, transparent 75%, transparent),
    var(--ink);
  background-size: 28px 28px;
}

.prose {
  max-width: var(--measure);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.65;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) 0;
}
.prose h2 {
  font-size: 1.8rem;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  letter-spacing: -0.01em;
}
.prose h2::before {
  content: "§ ";
  color: var(--accent-deep);
  font-weight: 400;
  font-style: italic;
}
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; margin-bottom: 0.3em; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose figure { margin: 1.8em 0; }
.prose figcaption {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  line-height: 1.4;
}
.prose code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--ink-06);
  padding: 1px 6px;
  border-radius: 2px;
}

.quiz {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  margin: clamp(40px, 6vw, 60px) 0;
}
.quiz__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
}
.quiz__head h2 { font-family: var(--serif); font-size: 1.6rem; }
.quiz__progress {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.quiz__question {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.quiz__options { display: grid; gap: 10px; margin-bottom: 28px; }
.quiz__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  background: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.45;
  cursor: pointer;
  transition: all 120ms ease;
}
.quiz__option:hover { border-color: var(--ink); background: var(--paper); }
.quiz__option--selected { border-color: var(--ink); background: var(--paper); }
.quiz__option--correct {
  border-color: var(--accent-deep);
  background: rgba(57,255,20,0.08);
}
.quiz__option--wrong {
  border-color: var(--quote);
  background: rgba(122,46,31,0.07);
}
.quiz__option-letter {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
  width: 18px;
}
.quiz__feedback {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  margin-top: 14px;
  color: var(--muted);
  min-height: 1.5em;
}

.cert-gate {
  border: 1px solid var(--ink);
  padding: 36px 32px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start;
}
.cert-gate h2 { font-family: var(--serif); font-size: 1.5rem; }
.cert-gate input[type="text"] {
  font-family: var(--serif);
  font-size: 1.2rem;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  background: var(--bone);
  width: 100%;
  max-width: 360px;
  color: var(--ink);
}
.cert-gate input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lms-strip {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 32px 0;
  align-items: center;
}
.lms-strip__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.lms-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.lms-btn:hover { border-color: var(--ink); background: var(--bone); }

@media print {
  .masthead, .nav, .lms-strip, .foot, .quiz__head + form button,
  .video-frame, .cert-gate { display: none !important; }
  body { background: white; color: black; }
  .prose { max-width: none; }
  a { color: black; border-bottom: 0; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(20,17,15,0.02) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 1;
  mix-blend-mode: multiply;
}
main, header, footer { position: relative; z-index: 2; }
