/* LiveRamp Upskilling Experience(TM) - corporate-parody variant.
 *
 * Sincere enterprise SaaS look: navy and orange, Inter for UI, Manrope for
 * display. Generous whitespace, tasteful card shadows, all the affordances a
 * trustworthy training portal is supposed to have.
 */

:root {
  --navy-900: #0b1733;
  --navy-800: #102047;
  --navy-700: #18305f;
  --navy-100: #eef1f7;
  --orange-500: #ff6b1a;
  --orange-600: #e85d10;
  --orange-100: #ffe7d6;
  --ink: #1a2238;
  --muted: #5b667d;
  --line: #d8dde7;
  --surface: #ffffff;
  --bg: #f6f8fb;
  --gold: #c79b3a;
  --gold-soft: #f3e6c4;
  --green-600: #1d8a52;

  --radius-card: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(11, 23, 51, 0.08), 0 2px 6px rgba(11, 23, 51, 0.04);
  --shadow-elev: 0 20px 60px rgba(11, 23, 51, 0.14);

  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0;
}

a { color: var(--navy-700); }

.screen {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 64px;
  min-height: 100vh;
}

/* ----- Topbar ----- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.topbar-thin { padding-bottom: 14px; margin-bottom: 22px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(135deg, var(--orange-500) 0%, var(--orange-500) 50%, var(--navy-700) 50%, var(--navy-700) 100%);
  border-radius: 5px;
}
.brand-name {
  color: var(--navy-900);
  font-size: 14px;
  text-transform: uppercase;
}
.brand-name sup {
  font-size: 8px;
  margin-left: 1px;
  font-weight: 600;
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.topnav span:hover { color: var(--navy-900); cursor: default; }

.progress-pill {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--navy-100);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--orange-500);
  color: white;
  box-shadow: 0 6px 16px rgba(255, 107, 26, 0.28);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-secondary {
  background: var(--navy-800);
  color: white;
}
.btn-secondary:hover { background: var(--navy-900); }
.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--surface); }

/* ----- Landing ----- */

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-600);
  margin: 0 0 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 8px 0 36px;
}
.hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  margin: 0 0 18px;
}
.hero-copy .lede {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 52ch;
}

.name-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
  max-width: 520px;
}
.name-card label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}
.name-card input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  margin-bottom: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.name-card input:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(24, 48, 95, 0.12);
}
.name-card input.invalid {
  border-color: var(--orange-600);
  box-shadow: 0 0 0 3px rgba(232, 93, 16, 0.16);
}
.name-card .btn { width: 100%; }
.name-card .helper {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 2px 0;
}

.hero-art {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 320px;
  background: var(--navy-100);
}

.art-real {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

[data-art-slot] {
  position: relative;
}

.trust-stat {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin: 32px 0 16px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  padding: 18px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}
.trust-logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-size: 14px;
  opacity: 0.7;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.pillar-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--orange-500);
  margin-bottom: 8px;
}
.pillar h3 { font-size: 18px; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; font-size: 14px; }

.footnote {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ----- Photo placeholders ----- */

.photo-placeholder {
  position: relative;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.photo-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, #4a6cb0 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, var(--orange-500) 0%, transparent 50%),
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  filter: saturate(0.85);
}
.from-navy .photo-gradient { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.from-teal .photo-gradient { background: linear-gradient(135deg, #0f4c5c, #2c8aa1); }
.from-orange .photo-gradient { background: linear-gradient(135deg, #b13c00, var(--orange-500)); }
.from-violet .photo-gradient { background: linear-gradient(135deg, #2a1854, #6a4cb1); }
.from-emerald .photo-gradient { background: linear-gradient(135deg, #08312b, #1d8a52); }
.from-rose .photo-gradient { background: linear-gradient(135deg, #5a1d3a, #c54f78); }
.from-amber .photo-gradient { background: linear-gradient(135deg, #6b4400, #d99a1a); }

.photo-caption {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.photo-emoji { font-size: 36px; line-height: 1; }
.photo-label { font-size: 11px; opacity: 0.85; letter-spacing: 0.04em; }

/* ----- Module intro ----- */

.module-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 36px;
}
.module-art {
  min-height: 360px;
  background: var(--navy-100);
}
.module-text { padding: 36px 36px 36px 8px; }
.module-text h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; line-height: 1.15; }
.module-text .tagline {
  color: var(--orange-600);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 22px;
}
.module-text .objective {
  color: var(--ink);
  font-size: 15px;
  margin: 0 0 14px;
  max-width: 56ch;
}
.module-text .objective strong { color: var(--navy-900); }
.module-text .duration {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 24px;
}

.module-progress-rail {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 12px;
}
.module-dot {
  width: 36px;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
}
.module-dot.done { background: var(--navy-700); }
.module-dot.current { background: var(--orange-500); }

/* ----- Question ----- */

.q-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 36px 28px;
  box-shadow: var(--shadow-card);
}
.q-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.q-meta .q-module-title { color: var(--navy-700); font-weight: 700; }
.q-meta .q-id { color: var(--muted); }

.q-prompt {
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 24px;
  color: var(--navy-900);
}

.q-options {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.opt {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
  transition: background .12s ease, border-color .12s ease, transform .08s ease;
}
.opt:hover {
  border-color: var(--navy-700);
  background: var(--surface);
}
.opt.selected {
  border-color: var(--orange-500);
  background: var(--orange-100);
}
.opt-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--navy-100);
  color: var(--navy-800);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.opt.selected .opt-letter {
  background: var(--orange-500);
  color: white;
}
.opt-text { flex: 1; }

.kbd-hint {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 0;
}

/* ----- Module complete ----- */

.complete-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.complete-card h2 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.check-medallion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-600);
  margin-bottom: 18px;
}
.complete-sub {
  color: var(--ink);
  font-size: 17px;
  margin: 4px 0 6px;
}
.complete-lead {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

/* ----- Loading ----- */

.screen-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 48px 56px;
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 560px;
}
.loader-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--navy-100);
  border-top-color: var(--orange-500);
  margin: 0 auto 20px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-line {
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.02em;
  margin: 0 0 22px;
}
.guru {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 0;
}
.guru-text {
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 8px;
}
.guru-attribution {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ----- Toast ----- */

#toast-host {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--navy-900);
  color: white;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-elev);
  min-width: 280px;
  max-width: 360px;
  border-left: 4px solid var(--orange-500);
  animation: toast-in .25s ease both;
}
.toast.toast-out { animation: toast-out .25s ease both; }
.toast-sincere {
  background: var(--surface);
  color: var(--navy-900);
  border-left-color: var(--navy-700);
  min-width: 220px;
}
.toast-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 800;
  color: var(--orange-500);
  margin: 0 0 4px;
}
.toast-body { display: flex; gap: 10px; align-items: center; }
.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 107, 26, 0.18);
  color: var(--orange-500);
  flex-shrink: 0;
}
.toast-title { margin: 0; font-weight: 700; font-size: 14px; }
.toast-sub { margin: 2px 0 0; font-size: 12px; opacity: 0.78; }

@keyframes toast-in {
  from { transform: translateX(24px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateX(24px); opacity: 0; }
}

/* ----- Results ----- */

.results-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
}
.results-card h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.results-lede { color: var(--muted); max-width: 64ch; }

.score-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
}
.score-big { display: flex; align-items: baseline; gap: 10px; }
.score-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--navy-900);
  line-height: 1;
}
.score-of { color: var(--muted); font-size: 22px; }
.score-pct {
  margin-left: 12px;
  background: var(--orange-100);
  color: var(--orange-600);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}
.score-band {
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 12px;
  color: var(--navy-700);
  background: var(--navy-100);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

.bar-chart { display: grid; gap: 10px; margin-bottom: 28px; }
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.bar-label { color: var(--muted); font-weight: 600; }
.bar-track {
  height: 10px;
  background: var(--navy-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-700), var(--orange-500));
  transition: width .4s ease;
}
.bar-val { text-align: right; font-weight: 700; color: var(--navy-900); }

.growth {
  margin: 8px 0 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  background: var(--bg);
}
.growth summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  list-style: none;
}
.growth summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--orange-500);
}
.growth[open] summary::after { content: "-"; }
.growth-body { padding: 6px 18px 18px; display: grid; gap: 16px; }
.growth-empty { color: var(--green-600); font-weight: 600; }
.wrong {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.wrong-id {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 6px;
}
.wrong-prompt { margin: 0 0 8px; font-weight: 600; color: var(--navy-900); }
.wrong-line { margin: 0 0 6px; font-size: 13px; }
.wrong-rationale { margin: 0; font-size: 13px; color: var(--muted); }

.badges-h { margin: 28px 0 14px; font-size: 18px; }
.badge-wall {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.badge {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  opacity: 0.45;
  transition: opacity .15s ease;
}
.badge.earned {
  opacity: 1;
  background: var(--surface);
  border-color: var(--navy-700);
  box-shadow: 0 2px 6px rgba(11, 23, 51, 0.06);
}
.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-700);
  flex-shrink: 0;
}
.badge.earned .badge-icon {
  background: var(--orange-100);
  color: var(--orange-600);
}
.badge-text { display: flex; flex-direction: column; min-width: 0; }
.badge-text strong { font-size: 12px; letter-spacing: 0.04em; }
.badge-sub { font-size: 11px; color: var(--muted); }

.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

/* ----- Certificate ----- */

.certificate {
  margin-top: 12px;
  background: linear-gradient(180deg, #fdf8ee 0%, #fdfbf3 100%);
  padding: 36px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: #5a4318;
}
.cert-border {
  border: 4px double var(--gold);
  padding: 6px;
  border-radius: 6px;
}
.cert-inner {
  border: 1px solid var(--gold);
  padding: 40px 56px 32px;
  border-radius: 4px;
  text-align: center;
  position: relative;
}
.cert-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 800;
  font-size: 11px;
  color: var(--gold);
  margin: 0 0 18px;
}
.cert-pre { margin: 0 0 8px; font-size: 14px; color: #6b5223; }
.cert-name {
  font-family: "Manrope", serif;
  font-size: clamp(28px, 4vw, 44px);
  color: #2c1d04;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.cert-post { margin: 0; font-size: 14px; color: #6b5223; }
.cert-course {
  font-family: "Manrope", serif;
  font-style: italic;
  font-size: 20px;
  color: #2c1d04;
  margin: 6px 0 18px;
}
.cert-achievement { font-size: 14px; max-width: 60ch; margin: 0 auto 20px; color: #5a4318; }
.cert-score {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  margin: 0 0 28px;
  background: var(--gold-soft);
}

.cert-foot {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: end;
  gap: 24px;
  margin: 16px 0 14px;
}
.cert-sig, .cert-date { text-align: center; }
.cert-sig-script {
  font-family: "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 30px;
  color: #1a3a78;
  line-height: 1;
  margin-bottom: 4px;
  transform: rotate(-3deg);
}
.cert-sig-line {
  border-top: 1px solid #8a6b22;
  margin: 6px 0 4px;
}
.cert-sig-name { font-size: 12px; font-weight: 700; color: #2c1d04; letter-spacing: 0.04em; }
.cert-sig-title { font-size: 11px; color: #6b5223; }
.cert-date-val { font-size: 15px; font-weight: 600; color: #2c1d04; }
.cert-seal { color: var(--gold); display: flex; justify-content: center; }
.cert-footer {
  margin-top: 18px;
  font-size: 10px;
  color: #6b5223;
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ----- Fatal ----- */

.screen-fatal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  margin-top: 40px;
}
.screen-fatal pre {
  background: var(--bg);
  padding: 14px;
  border-radius: 8px;
  overflow: auto;
  font-size: 12px;
}

/* ----- Print stylesheet (Save Certificate as PDF) ----- */

@media print {
  body { background: white; }
  body * { visibility: hidden; }
  .certificate, .certificate * { visibility: visible; }
  .certificate {
    position: absolute;
    inset: 0;
    box-shadow: none;
    margin: 0;
  }
  @page { size: landscape; margin: 12mm; }
}

/* ----- Responsive ----- */

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .module-card { grid-template-columns: 1fr; }
  .module-text { padding: 24px; }
  .module-art { min-height: 240px; }
  .topnav { display: none; }
  .score-band { margin-left: 0; }
  .score-row { flex-wrap: wrap; gap: 14px; }
  .cert-foot { grid-template-columns: 1fr; }
  .cert-seal { order: -1; }
}
