/* Julius Academy — Lesson 01. Soft light blue and cream, premium, calm.
   A private bank, not a quiz app. */

:root {
  --cream: #faf6f0;
  --surface: #ffffff;
  --ink: #201d18;
  --muted: #7a736a;
  --blue: #7fa4c4;
  --blue-deep: #2e4a66;
  --gold: #b08d57;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(32, 29, 24, 0.07);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

button { font-family: var(--sans); cursor: pointer; }

/* ---------- Cover (landing) mode ---------- */

body.cover-mode .site-header { display: none; }
body.cover-mode .layout { padding: 0; max-width: none; margin: 0; }
body.cover-mode .stage { max-width: none; }

.cover {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0e141b;
}

.cover video.cover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover .cover-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 20, 27, 0.88) 0%, rgba(14, 20, 27, 0.45) 45%, rgba(14, 20, 27, 0.2) 100%);
}

.cover-content {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 24px 72px;
  color: var(--cream);
}

.cover-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.cover-title {
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cover-desc {
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(250, 246, 240, 0.88);
  margin-bottom: 26px;
}

.cover-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }

.cover-chip {
  font-size: 12.5px;
  color: rgba(250, 246, 240, 0.85);
  border: 1px solid rgba(250, 246, 240, 0.3);
  border-radius: 999px;
  padding: 5px 14px;
  backdrop-filter: blur(4px);
}

.cover-start {
  background: var(--cream);
  color: var(--blue-deep);
  border: none;
  border-radius: 999px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 600;
  transition: all 250ms ease;
  box-shadow: 0 12px 40px rgba(14, 20, 27, 0.45);
}

.cover-start:hover { transform: translateY(-2px); background: #fff; }

.cover-credit {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(250, 246, 240, 0.6);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(32, 29, 24, 0.06);
}

.progress-track { height: 3px; background: rgba(127, 164, 196, 0.22); }

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--blue);
  transition: width 400ms ease;
}

.header-row {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lesson-title { font-size: 13px; color: var(--muted); text-align: right; }

/* Mobile / narrow dot stepper */
.dot-stepper {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px 12px;
}

.dot-stepper .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(127, 164, 196, 0.3);
  transition: all 250ms ease;
}

.dot-stepper .dot.done { background: var(--blue); }
.dot-stepper .dot.current { background: var(--blue-deep); transform: scale(1.35); }

/* ---------- Layout ---------- */

.layout {
  flex: 1;
  width: 100%;
  padding: 32px 20px 56px;
}

.stage {
  max-width: 880px;
  margin: 0 auto;
  min-width: 0;
}

/* Floating bit controller — left side of the screen */
.sidebar { display: none; }

@media (min-width: 1280px) {
  .dot-stepper { display: none; }

  .sidebar {
    display: block;
    position: fixed;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 252px;
    max-height: 76vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 14px 44px rgba(32, 29, 24, 0.12);
    padding: 14px 12px;
    z-index: 15;
  }

  body.cover-mode .sidebar { display: none; }

  .layout { padding-left: 300px; padding-right: 24px; }
}

.sidebar ol { list-style: none; }

.sidebar li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--muted);
  transition: all 250ms ease;
}

.sidebar li.current { background: rgba(127, 164, 196, 0.14); color: var(--ink); font-weight: 500; }

.sidebar li.done { color: var(--ink); }

.sidebar .num {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(127, 164, 196, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-deep);
  background: transparent;
  transition: all 250ms ease;
}

.sidebar li.done .num { background: var(--blue); border-color: var(--blue); color: #fff; }

.sidebar li.current .num { border-color: var(--blue-deep); }

/* ---------- Bit card & entry motion ---------- */

.bit { animation: bit-enter 250ms ease both; }

@keyframes bit-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.bit-title { font-size: 34px; margin-bottom: 6px; }

.bit-instructions { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* Continue row */
.continue-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 500;
  transition: all 250ms ease;
}

.btn-primary:hover:not(:disabled) { background: #24405c; transform: translateY(-1px); }

.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }

.text-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover { color: var(--ink); }

/* ---------- Video bits: framed screen, size-contained ---------- */

.video-bit { text-align: center; }

.video-bit .bit-title { text-align: center; }

.video-screen {
  max-width: 640px;
  margin: 18px auto 0;
  background: #10161d;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(14, 20, 27, 0.28);
}

.video-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0e141b;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52vh;
  object-fit: contain;
  background: #0e141b;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 20, 27, 0.25);
  border: none;
  transition: opacity 250ms ease;
}

.play-overlay .play-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 34px rgba(14, 20, 27, 0.35);
  transition: transform 250ms ease;
}

.play-overlay:hover .play-circle { transform: scale(1.06); }

.play-overlay svg { margin-left: 5px; }

.video-caption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.video-bit .continue-row { justify-content: center; }

/* ---------- BridgeCard ---------- */

.bridge-card {
  background: var(--cream);
  border: 1px solid rgba(176, 141, 87, 0.25);
  border-radius: var(--radius);
  padding: 64px 36px;
  text-align: center;
  max-width: 720px;
  margin: 6vh auto 0;
}

.bridge-ornament {
  width: 54px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
  position: relative;
}

.bridge-ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -2.5px;
  width: 6px;
  height: 6px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold);
}

.bridge-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
}

.bridge-card .continue-row { justify-content: center; }

/* ---------- Flashcards: full grid, hover flip + 3D tilt ---------- */

.flash-progress { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.flash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.flash-tilt {
  perspective: 1100px;
  min-height: 250px;
}

.flash-3d {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  transform-style: preserve-3d;
  transition: transform 480ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  will-change: transform;
}

.flash-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flash-face.back { transform: rotateY(180deg); background: var(--blue-deep); color: #fff; }

.flash-face .kicker {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 600;
}

.flash-face.back .kicker { color: rgba(250, 246, 240, 0.65); }

.flash-face .situation { font-family: var(--serif); font-size: 18.5px; line-height: 1.4; }

.flash-face .answer { font-family: var(--serif); font-size: 20px; line-height: 1.3; margin-bottom: 9px; }

.flash-face .explanation { font-size: 13px; line-height: 1.55; color: rgba(250, 246, 240, 0.8); }

.flash-tile.revealed .flash-num { background: var(--blue); border-color: var(--blue); color: #fff; }

.flash-num {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(127, 164, 196, 0.5);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease;
}

.flash-face.back .flash-num { border-color: rgba(250, 246, 240, 0.4); color: rgba(250, 246, 240, 0.8); }

.flash-hint { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 16px; }

/* ---------- Matching ---------- */

.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.match-col-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.match-example, .match-category {
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-size: 14.5px;
  margin-bottom: 12px;
  transition: all 250ms ease;
  width: 100%;
  text-align: left;
  color: var(--ink);
}

.match-example { cursor: grab; }

.match-example.selected { border-color: var(--blue-deep); background: rgba(127, 164, 196, 0.12); }

.match-example.locked, .match-category.locked {
  background: #eef4ec;
  border-color: rgba(101, 140, 96, 0.4);
  color: #3d5240;
  cursor: default;
  box-shadow: none;
}

.match-category { cursor: pointer; font-weight: 500; }

.match-category.droptarget { border-color: var(--blue); background: rgba(127, 164, 196, 0.1); }

.match-category .match-explain {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: #5c7061;
  margin-top: 6px;
}

.match-category .match-matched {
  display: block;
  font-weight: 400;
  font-style: italic;
  font-family: var(--serif);
  font-size: 15px;
  margin-top: 4px;
}

.shake { animation: shake 320ms ease; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

/* ---------- Rule of 72 ---------- */

.rule-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; margin-bottom: 30px; }

.rule-text { font-size: 15.5px; line-height: 1.75; }

.rule-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.chart-card { margin-top: 4px; }

.chart-card svg { width: 100%; height: auto; display: block; }

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.chart-legend .swatch {
  display: inline-block;
  width: 22px;
  height: 0;
  border-top-width: 2.5px;
  border-top-style: solid;
  vertical-align: middle;
  margin-right: 7px;
}

.chart-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
}

/* ---------- Bit 6: AI challenge ---------- */

.challenge-intro { font-size: 15.5px; margin-bottom: 20px; }

.challenge-input {
  width: 100%;
  min-height: 120px;
  border: 1.5px solid rgba(127, 164, 196, 0.45);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  resize: vertical;
  transition: border-color 250ms ease;
}

.challenge-input:focus { outline: none; border-color: var(--blue-deep); }

.challenge-actions { margin-top: 14px; }

.loading-dots { display: inline-flex; gap: 5px; margin-left: 14px; vertical-align: middle; }

.loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse-dot 1s ease infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.18s; }
.loading-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

.answer-card { margin-top: 24px; font-size: 15px; }

.answer-card p { margin-bottom: 12px; }

.answer-card p:last-child { margin-bottom: 0; }

.answer-card table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }

.answer-card th, .answer-card td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(32, 29, 24, 0.08);
  font-variant-numeric: tabular-nums;
}

.answer-card th { font-weight: 600; color: var(--blue-deep); }

.eval-block { margin-top: 24px; }

.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }

.meter-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 7px; }

.meter-label .score { color: var(--blue-deep); font-variant-numeric: tabular-nums; }

.meter-track { height: 6px; border-radius: 999px; background: rgba(127, 164, 196, 0.22); overflow: hidden; }

.meter-fill { height: 100%; width: 0%; border-radius: 999px; background: var(--blue); transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1); }

.eval-feedback { font-size: 15px; margin-bottom: 18px; }

.improved-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.improved-block {
  position: relative;
  background: rgba(127, 164, 196, 0.1);
  border: 1px solid rgba(127, 164, 196, 0.35);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.6;
}

.copy-btn {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid rgba(46, 74, 102, 0.35);
  color: var(--blue-deep);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 250ms ease;
}

.copy-btn:hover { border-color: var(--blue-deep); }

.final-message {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(176, 141, 87, 0.3);
}

.error-note { color: #a04a3a; font-size: 14px; margin-top: 12px; }

/* ---------- Quiz ---------- */

.quiz-card { position: relative; }

.difficulty-badge {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(176, 141, 87, 0.45);
  border-radius: 999px;
  padding: 4px 12px;
}

.quiz-count { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

.quiz-question { font-family: var(--serif); font-size: 24px; line-height: 1.35; margin-bottom: 22px; padding-right: 90px; }

.quiz-options { display: flex; flex-direction: column; gap: 10px; }

.quiz-option {
  text-align: left;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink);
  transition: all 250ms ease;
  min-height: 44px;
}

.quiz-option:hover:not(:disabled) { border-color: rgba(127, 164, 196, 0.6); }

.quiz-option:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 2px; }

.quiz-option.correct { background: #eef4ec; border-color: rgba(101, 140, 96, 0.55); color: #3d5240; }

.quiz-option.wrong { background: #f7ebe7; border-color: rgba(160, 74, 58, 0.45); color: #7c4032; }

.quiz-option:disabled { cursor: default; }

.quiz-explanation {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(127, 164, 196, 0.1);
  border-radius: 12px;
  font-size: 14.5px;
}

.quiz-summary { text-align: center; padding: 40px 20px; }

.quiz-summary .score-line { font-family: var(--serif); font-size: 42px; margin-bottom: 8px; }

.quiz-summary .score-sub { color: var(--muted); margin-bottom: 18px; }

/* ---------- Podcast ---------- */

.podcast-card audio { width: 100%; margin-top: 18px; }

.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.tag-chip {
  font-size: 12.5px;
  color: var(--blue-deep);
  background: rgba(127, 164, 196, 0.14);
  border-radius: 999px;
  padding: 5px 13px;
}

.in-production { color: var(--muted); font-size: 14.5px; margin-top: 18px; font-style: italic; }

/* ---------- Completion ---------- */

.completion-card { text-align: center; padding: 70px 32px; }

.completion-card h1 { font-size: 42px; margin-bottom: 12px; }

.completion-card .subline { color: var(--muted); font-size: 17px; margin-bottom: 32px; }

.completion-card .btn-primary { display: inline-block; text-decoration: none; }

.completion-card .text-link { display: block; margin: 22px auto 0; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(32, 29, 24, 0.07);
  padding: 26px 20px 34px;
}

body.cover-mode .site-footer { border-top: none; background: var(--cream); }

.site-footer p {
  max-width: 880px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Mobile ---------- */

@media (max-width: 899px) {
  .layout { padding: 22px 16px 44px; }
  .bit-title { font-size: 28px; }
  .match-grid { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: 1fr; }
  .meters { grid-template-columns: 1fr; }
  .flash-grid { grid-template-columns: 1fr; }
  .flash-tilt, .flash-3d { min-height: 220px; }
  .quiz-question { padding-right: 0; margin-top: 34px; }
  .bridge-card { padding: 48px 24px; margin-top: 2vh; }
  .card { padding: 22px 18px; }
  .completion-card h1 { font-size: 32px; }
  .video-screen { padding: 7px; border-radius: 16px; }
  .video-frame video { max-height: 46vh; }
  .cover-content { padding: 90px 20px 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .bit { animation: none; }
  .flash-3d { transition: none; }
  .progress-fill, .meter-fill { transition: none; }
}

/* Clickable bit controller */
.sidebar .bit-jump {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.sidebar li:hover { background: rgba(127, 164, 196, 0.1); color: var(--ink); }

/* Wordmark — matches the homepage nav (serif, letterspaced) and links home */
a.wordmark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
a.wordmark:hover { color: var(--blue-deep); }

/* Completion: primary CTA + quiet homepage button side by side */
.completion-card .completion-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
  text-decoration: none;
}

/* Top menu — mirrors the thej.fund homepage navigation */
.main-nav { display: none; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(32, 29, 24, 0.65);
  text-decoration: none;
  transition: color 250ms ease;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-bottom: 1.5px solid var(--gold); }
.header-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  display: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(32, 29, 24, 0.55);
  padding: 10px 18px;
  transition: all 250ms ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: var(--cream); }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-cta { display: inline-flex; }
  .lesson-title { display: none; }
  .header-row { align-items: center; }
}
/* Keep the top menu visible on the cover (landing) page too */
body.cover-mode .site-header { display: block; }
body.cover-mode .progress-track,
body.cover-mode .dot-stepper { display: none; }
