/* ==============================================
   ACVD Moderator Platform Course — Design System
   World Vision · Amplifying Children's Voices
   ============================================== */

:root {
  /* WV brand */
  --wv-red:        #d2232a;
  --wv-red-dark:   #9f1a1f;
  --wv-red-light:  #fde8e9;

  /* Platform UI */
  --navy:          #162035;
  --navy-mid:      #1e2a3e;
  --navy-dark:     #0f1626;
  --purple:        #7B5FDE;
  --purple-dark:   #5f44c4;
  --purple-light:  #f3eeff;
  --purple-mid:    #d4c5ff;

  /* Neutrals */
  --cream:         #f8f5ee;
  --cream-dark:    #efe9dc;
  --slate:         #f8fafc;
  --white:         #ffffff;

  /* Text */
  --text:          #1e293b;
  --text-mid:      #475569;
  --text-muted:    #94a3b8;
  --text-light:    #cbd5e1;

  /* Borders */
  --border:        #e2e8f0;
  --border-mid:    #cbd5e1;

  /* Status */
  --green:         #10b981;
  --green-light:   #ecfdf5;
  --green-dark:    #047857;
  --teal:          #14b8a6;
  --teal-light:    #f0fdfa;
  --teal-dark:     #0f766e;

  /* Legal/warning */
  --amber:         #f59e0b;
  --amber-light:   #fffbeb;
  --amber-dark:    #b45309;
  --red:           #ef4444;
  --red-light:     #fef2f2;
  --red-dark:      #b91c1c;

  /* Effects */
  --shadow-sm:     0 1px 3px rgba(22,32,53,.08);
  --shadow:        0 2px 12px rgba(22,32,53,.10);
  --shadow-md:     0 6px 24px rgba(22,32,53,.14);
  --shadow-lg:     0 12px 40px rgba(22,32,53,.18);

  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     22px;

  --font:          'Nunito', system-ui, -apple-system, sans-serif;
  --sidebar-w:     280px;
}

/* ==== Reset ==== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==== WV red top strip — site-wide ==== */
.wv-strip {
  background: var(--wv-red);
  color: white;
  padding: 6px 24px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: .01em;
}
.wv-strip-left { display: flex; gap: 12px; align-items: center; }
.wv-strip-dot {
  width: 7px; height: 7px;
  background: white;
  border-radius: 50%;
  opacity: .85;
}
.wv-strip-right { opacity: .9; }

/* ==== White header band with WV logo + ACVD wordmark ==== */
.wv-header {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.wv-header-logo {
  height: 38px;
  width: auto;
  display: block;
}
.wv-header-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.wv-header-acvd {
  display: flex;
  flex-direction: column;
}
.wv-header-acvd-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.005em;
  line-height: 1.2;
}
.wv-header-acvd-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wv-header-spacer { flex: 1; }
.wv-header-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==== Landing hero ==== */
.landing-hero {
  background:
    radial-gradient(ellipse at top right, rgba(123,95,222,.18) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(210,35,42,.10) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, #1f1538 100%);
  color: white;
  padding: 72px 28px 88px;
  position: relative;
  overflow: hidden;
}
.landing-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-video { min-width: 0; }
.hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 24px 60px -12px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.08);
}
.hero-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
}
.hero-video-caption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.65);
  margin-top: 12px;
  text-align: center;
}
.landing-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px;
  margin-bottom: 24px;
}
.landing-hero h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.landing-hero h1 .accent { color: #c4a8ff; }
.landing-hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,.82);
  margin-bottom: 26px;
  line-height: 1.55;
}
.landing-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.landing-hero-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}

/* Stack hero vertically on narrower viewports */
@media (max-width: 960px) {
  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-video { max-width: 720px; margin: 0 auto; width: 100%; }
}

/* ==== Disclaimer banner — landing ==== */
.disclaimer-band {
  background: var(--amber-light);
  border-top: 4px solid var(--amber);
  border-bottom: 1px solid #f5d97a;
  padding: 22px 28px;
}
.disclaimer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.disclaimer-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}
.disclaimer-body {
  flex: 1;
}
.disclaimer-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 6px;
}
.disclaimer-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  max-width: 920px;
}

/* ==== Landing content area ==== */
.landing-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 28px 80px;
}
.landing-section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.landing-section h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: -.015em;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.15;
}
.landing-section-lead {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 760px;
  line-height: 1.55;
}

/* ==== Module card grid ==== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .card-grid { grid-template-columns: 1fr; } }

.mod-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all .22s ease;
  position: relative;
  overflow: hidden;
}
.mod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-mid);
}
.mod-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--purple);
  opacity: 0;
  transition: opacity .22s;
}
.mod-card:hover::before { opacity: 1; }

.mod-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--purple-light);
  color: var(--purple);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.mod-card.done .mod-card-num {
  background: var(--green-light);
  color: var(--green-dark);
}
.mod-card.done .mod-card-num::after {
  content: '✓';
  margin-left: 0;
}
.mod-card.done .mod-card-num {
  font-size: 18px;
}
.mod-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 6px;
}
.mod-card-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.mod-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mod-card-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.mod-card-cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mod-card.done .mod-card-cta { color: var(--green-dark); }

/* Landing — section divider */
.landing-divider {
  height: 1px;
  background: var(--border);
  margin: 64px 0 56px;
}

/* Wellness highlight on landing */
.wellness-highlight {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--green-light) 100%);
  border: 1px solid #b0e8db;
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.wellness-highlight-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.wellness-highlight-body { flex: 1; }
.wellness-highlight-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.wellness-highlight h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.wellness-highlight p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}

/* Landing footer */
.landing-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 36px 28px;
  text-align: center;
  font-size: 13px;
}
.landing-footer-brand {
  color: white;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

/* ============================================================
   MODULE PAGE LAYOUT — sidebar + main content
   ============================================================ */

.course-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--navy);
  color: white;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 200;
  transition: transform .26s ease;
}

.sidebar-brand {
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.18);
}
.sidebar-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.sidebar-logo-img {
  height: 28px;
  width: auto;
  background: white;
  padding: 4px 8px;
  border-radius: 6px;
}
.sidebar-brand-text { line-height: 1.2; }
.sidebar-brand-name {
  font-size: 13px;
  font-weight: 800;
  color: white;
}
.sidebar-brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 1px;
}
.sidebar-course-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(196,168,255,.85);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 6px;
}

.sidebar-nav { padding: 12px 0 24px; }
.sidebar-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 12px 18px 6px;
}
.sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all .18s;
  line-height: 1.35;
}
.sidebar-item:hover {
  background: rgba(255,255,255,.05);
  color: white;
}
.sidebar-item.active {
  background: rgba(123,95,222,.15);
  color: white;
  border-left-color: var(--purple);
}
.sidebar-item.done { color: rgba(16,185,129,.85); }
.sidebar-item-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}
.sidebar-item.active .sidebar-item-num { background: var(--purple); color: white; }
.sidebar-item.done .sidebar-item-num { background: var(--green); color: white; }
.sidebar-item-text { flex: 1; }

.sidebar-footer {
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: auto;
}
.sidebar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.sidebar-back:hover { color: white; }

/* ==== Main wrap ==== */
.main-wrap {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 26px;
  box-shadow: var(--shadow-sm);
}
.menu-btn {
  display: none;
  font-size: 22px;
  color: var(--navy);
  padding: 6px;
  background: none;
  border: none;
}
.top-bar-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  flex: 1;
}
.top-bar-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-bar-bg {
  width: 120px;
  height: 6px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--wv-red) 100%);
  transition: width .4s ease;
}
.progress-pct {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 32px;
}

.content-area {
  flex: 1;
  padding: 32px 36px 64px;
  max-width: 920px;
}

/* ==== Module hero ==== */
.module-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #241a3e 100%);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  margin-bottom: 26px;
  color: white;
  position: relative;
  overflow: hidden;
}
.module-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(123,95,222,.3) 0%, transparent 70%);
  border-radius: 50%;
}
.module-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c4a8ff;
  margin-bottom: 14px;
  position: relative;
}
.module-hero-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 12px;
  font-weight: 900;
}
.module-hero h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: -.015em;
  margin-bottom: 12px;
  line-height: 1.15;
  position: relative;
}
.module-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  max-width: 720px;
  position: relative;
}

/* ==== Content blocks ==== */
.block { margin-bottom: 28px; }
.block-h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.block-h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.block-p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.block-p:last-child { margin-bottom: 0; }
.block-p strong { color: var(--navy); font-weight: 800; }

/* ==== Screen / screenshot wrap ==== */
.screen {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin: 18px 0 22px;
  box-shadow: var(--shadow);
}
.screen-frame {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 8px 8px 0;
  position: relative;
}
.screen-frame-bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 8px;
  align-items: center;
}
.screen-dot { width: 9px; height: 9px; border-radius: 50%; }
.screen-dot.r { background: #ff5f57; }
.screen-dot.y { background: #febc2e; }
.screen-dot.g { background: #28c840; }
.screen-url {
  flex: 1;
  text-align: center;
  color: #888;
  font-size: 10px;
  font-family: ui-monospace, 'SF Mono', monospace;
  background: #2a2a2a;
  padding: 4px 10px;
  border-radius: 5px;
  margin: 0 6px;
}
.screen-img {
  width: 100%;
  display: block;
  border-radius: 6px 6px 0 0;
  background: white;
}
.screen-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Callouts overlaid on screenshots */
.screen-with-callouts { position: relative; }
.callout-dot {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(123,95,222,.55), 0 0 0 3px white;
  z-index: 2;
  animation: pulse-cd 2.4s ease-in-out infinite;
}
.callout-dot.red { background: var(--wv-red); box-shadow: 0 4px 12px rgba(210,35,42,.5), 0 0 0 3px white; }
.callout-dot.amber { background: var(--amber); box-shadow: 0 4px 12px rgba(245,158,11,.5), 0 0 0 3px white; }
.callout-dot.green { background: var(--green); box-shadow: 0 4px 12px rgba(16,185,129,.5), 0 0 0 3px white; }
@keyframes pulse-cd {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ==== Spotlight — for highlighting a specific button/element on a screenshot ==== */
.spotlight {
  position: absolute;
  border: 3px solid var(--purple);
  border-radius: 6px;
  background: rgba(123,95,222,.08);
  box-shadow:
    0 0 0 3px rgba(255,255,255,.85),
    0 0 0 6px rgba(123,95,222,.35),
    0 4px 18px rgba(123,95,222,.45);
  pointer-events: none;
  z-index: 3;
  animation: spotlight-pulse 2.4s ease-in-out infinite;
}
@keyframes spotlight-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(255,255,255,.85),
      0 0 0 6px rgba(123,95,222,.35),
      0 4px 18px rgba(123,95,222,.45);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(255,255,255,.95),
      0 0 0 10px rgba(123,95,222,.5),
      0 6px 24px rgba(123,95,222,.6);
  }
}
/* Spotlight label tag */
.spotlight::after {
  content: attr(data-label);
  position: absolute;
  background: var(--purple);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(123,95,222,.5);
  /* Default: label below, centered */
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}
/* Label position variants */
.spotlight.label-above::after {
  top: auto;
  bottom: 100%;
  transform: translateX(-50%) translateY(-10px);
}
.spotlight.label-right::after {
  top: 50%;
  left: 100%;
  transform: translateX(10px) translateY(-50%);
}
.spotlight.label-left::after {
  top: 50%;
  left: auto;
  right: 100%;
  transform: translateX(-10px) translateY(-50%);
}
/* Colour variants */
.spotlight.red {
  border-color: var(--wv-red);
  background: rgba(210,35,42,.08);
  box-shadow:
    0 0 0 3px rgba(255,255,255,.85),
    0 0 0 6px rgba(210,35,42,.35),
    0 4px 18px rgba(210,35,42,.45);
  animation-name: spotlight-pulse-red;
}
.spotlight.red::after {
  background: var(--wv-red);
  box-shadow: 0 4px 12px rgba(210,35,42,.5);
}
@keyframes spotlight-pulse-red {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(255,255,255,.85),
      0 0 0 6px rgba(210,35,42,.35),
      0 4px 18px rgba(210,35,42,.45);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(255,255,255,.95),
      0 0 0 10px rgba(210,35,42,.5),
      0 6px 24px rgba(210,35,42,.6);
  }
}
.spotlight.amber {
  border-color: var(--amber);
  background: rgba(245,158,11,.08);
  box-shadow:
    0 0 0 3px rgba(255,255,255,.85),
    0 0 0 6px rgba(245,158,11,.35),
    0 4px 18px rgba(245,158,11,.45);
}
.spotlight.amber::after { background: var(--amber); }

/* No-label variant: used when the highlighted element already has visible text (e.g. button label) */
.spotlight.no-label::after { display: none; }

/* Address-bar shot — for showing browser URL bar crops (used in Module 1 Section 5 sign-in flow) */
.address-bar-shot { margin: 14px 0 18px; max-width: 720px; }
.address-bar-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); margin-bottom: 6px; }
.address-bar-label.after { color: var(--teal); }
.address-bar-img { display: block; width: 100%; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* Inline code and keyboard-key styles */
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .94em; background: rgba(0,0,0,.05); padding: 1px 6px; border-radius: 4px; word-break: break-all; }
kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; padding: 1px 7px; border-radius: 4px; border: 1px solid rgba(0,0,0,.18); background: white; box-shadow: 0 1px 0 rgba(0,0,0,.1); }

/* Styled lists inside content blocks */
.block-list { margin: 8px 0 12px; padding-left: 22px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.block-list li { margin-bottom: 8px; }
.block-list li:last-child { margin-bottom: 0; }

/* Inline NEEDS ATTENTION badge — used to match the dashboard tile UI */
.needs-attention {
  display: inline-block;
  background: var(--amber-light, #fff3cd);
  color: var(--amber-dark, #92400e);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
}

/* Callout legend */
.callout-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.legend-row {
  display: flex;
  gap: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.legend-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legend-num.red { background: var(--wv-red); }
.legend-num.amber { background: var(--amber); }
.legend-num.green { background: var(--green); }
.legend-text { font-size: 13.5px; line-height: 1.5; }
.legend-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 2px;
}
.legend-text span { color: var(--text-mid); }

/* ==== Legal Decision Point callout — ZERO TOLERANCE rule ==== */
.legal-callout {
  background: var(--amber-light);
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 22px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.legal-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--amber-dark);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.legal-callout-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: white;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-callout-body { flex: 1; }
.legal-callout-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.legal-callout p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

/* ==== Wellness callout ==== */
.wellness-callout {
  background: var(--teal-light);
  border: 2px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 22px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.wellness-callout-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wellness-callout-body { flex: 1; }
.wellness-callout-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.wellness-callout p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}

/* ==== Info callout (neutral) ==== */
.info-callout {
  background: var(--purple-light);
  border: 1px solid var(--purple-mid);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.info-callout strong { color: var(--purple-dark); font-weight: 800; }

/* ==== Button-anatomy grid (showing what each button does) ==== */
.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}
.btn-anatomy {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  border-top: 4px solid var(--purple);
}
.btn-anatomy.approve { border-top-color: var(--green); }
.btn-anatomy.reject { border-top-color: var(--red); }
.btn-anatomy.keep { border-top-color: var(--text-muted); }
.btn-anatomy.edit { border-top-color: var(--text-mid); }
.btn-anatomy.escalate { border-top-color: var(--purple); }

.btn-anatomy-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--slate);
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.btn-anatomy.approve .btn-anatomy-label { background: var(--green-light); color: var(--green-dark); }
.btn-anatomy.reject .btn-anatomy-label { background: var(--red-light); color: var(--red-dark); }
.btn-anatomy.escalate .btn-anatomy-label { background: var(--purple-light); color: var(--purple-dark); }

.btn-anatomy-what {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.btn-anatomy-what strong { color: var(--navy); font-weight: 800; }

/* ==== Tabs row preview (for menu items / categories) ==== */
.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}
.tab-pill {
  background: var(--slate);
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.tab-pill.active {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 800;
}

/* ==== Prev/Next navigation ==== */
.module-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.module-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
  max-width: 360px;
}
.module-nav-link:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
}
.module-nav-link.next { text-align: right; align-items: flex-end; }
.module-nav-link.disabled {
  opacity: .4;
  pointer-events: none;
}
.module-nav-direction {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.module-nav-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

/* ==== Responsive ==== */
@media (max-width: 980px) {
  .sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .main-wrap { margin-left: 0; }
  .menu-btn { display: block; }
  .content-area { padding: 24px 22px 48px; }
  .module-hero { padding: 26px 24px; }
  .module-nav { flex-direction: column; }
  .module-nav-link { max-width: 100%; }
  .module-nav-link.next { text-align: left; align-items: flex-start; }
}

@media (max-width: 640px) {
  .wv-header { padding: 12px 18px; gap: 12px; }
  .wv-header-logo { height: 30px; }
  .wv-header-acvd-name { font-size: 12px; }
  .wv-header-acvd-sub { font-size: 10px; }
  .landing-hero { padding: 52px 20px 64px; }
  .landing-content { padding: 48px 20px 60px; }
  .disclaimer-band { padding: 18px 20px; }
  .disclaimer-inner { flex-direction: column; gap: 12px; }
  .top-bar { padding: 0 16px; gap: 10px; }
  .top-bar-title { font-size: 12px; }
  .progress-bar-bg { width: 80px; }
  .callout-dot { width: 24px; height: 24px; font-size: 11px; box-shadow: 0 3px 8px rgba(123,95,222,.55), 0 0 0 2px white; }
}

/* ==== Print ==== */
@media print {
  .wv-strip, .sidebar, .top-bar, .module-nav, .menu-btn { display: none; }
  .main-wrap { margin-left: 0; }
  .content-area { padding: 0; max-width: 100%; }
  body { background: white; }
  .module-hero { background: white; color: var(--navy); border: 2px solid var(--navy); }
  .module-hero h1, .module-hero p, .module-hero-eyebrow { color: var(--navy); }
  .callout-dot { animation: none; }
  .screen { box-shadow: none; page-break-inside: avoid; }
  .legal-callout, .wellness-callout, .info-callout { page-break-inside: avoid; }
}
