/* ==========================================================
   FLINTREADY V3 — COMMAND CENTER BRANDED
   Shared stylesheet for all preview pages
   Source of truth: command-center-branded-homepage.html
   ========================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --ember: #FF6B35;
  --ember-hover: #ff8c5a;
  --ember-dim: #c94f1e;
  --ember-glow: rgba(255,107,53,.25);
  --ember-wash: rgba(255,107,53,.08);
  --ember-edge: rgba(255,107,53,.4);

  --stone-50:  #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-850: #1f1d1b;
  --stone-900: #1c1917;
  --stone-950: #0c0a09;

  --bg-0: #07060a;
  --bg-1: var(--stone-950);
  --bg-2: var(--stone-900);
  --bg-3: var(--stone-850);
  --stroke: #2a2623;
  --stroke-hot: #3b3530;

  --ok:     #10b981;
  --ok-dim: #0a7b5a;
  --ok-wash: rgba(16,185,129,.10);
  --warn:   #f59e0b;
  --warn-dim: #b8760a;
  --warn-wash: rgba(245,158,11,.10);
  --crit:   #ef4444;
  --crit-wash: rgba(239,68,68,.10);

  --panel-navy: linear-gradient(135deg, #1a2332 0%, #1e2a3a 100%);
  --panel-navy-stroke: rgba(255,255,255,.06);

  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 6px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

body {
  background: var(--bg-0);
  color: var(--stone-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ember); color: var(--stone-950); }

body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255,107,53,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(16,185,129,.04), transparent 60%),
    linear-gradient(to bottom, #07060a, var(--stone-950) 40%, var(--stone-950));
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============ LAYOUT ============ */
.frame { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.frame-narrow { max-width: 780px; margin: 0 auto; padding: 0 28px; }

/* ============ STATUS BAR ============ */
.mc-statusbar {
  border-bottom: 1px solid var(--stroke);
  background: rgba(7,6,10,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.mc-statusbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--stone-400);
  text-transform: uppercase;
}
.mc-statusbar-left, .mc-statusbar-right { display: flex; gap: 22px; align-items: center; }
.mc-pulse { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.mc-pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16,185,129,.7);
  animation: mc-pulse 2.4s infinite;
}
@keyframes mc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.mc-statusbar .sep { color: var(--stone-700); }
.mc-statusbar .val { color: var(--stone-100); }

/* ============ NAV ============ */
.mc-nav {
  border-bottom: 1px solid var(--stroke);
  background: rgba(12,10,9,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mc-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.mc-brand { display: flex; align-items: center; gap: 12px; }
.mc-brand img { height: 32px; width: auto; display: block; }
.mc-brand-divider { width: 1px; height: 22px; background: var(--stroke); }
.mc-brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.mc-nav-links {
  display: flex; gap: 28px; align-items: center;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  list-style: none; margin: 0; padding: 0;
}
.mc-nav-links a {
  color: var(--stone-300);
  transition: color .15s ease;
  position: relative;
  padding: 8px 0;
}
.mc-nav-links a:hover { color: var(--stone-50); }
.mc-nav-links a:hover::after,
.mc-nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ember);
}
.mc-nav-links a.active { color: var(--stone-50); }
.mc-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ember);
  color: var(--stone-950);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
}
.mc-nav-cta:hover {
  transform: translateY(-1px);
  background: var(--ember-hover);
  box-shadow: 0 10px 24px -10px var(--ember-glow);
}
.mc-nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: transparent;
  color: var(--stone-200);
}

/* ============ BUTTONS ============ */
.mc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .2s ease;
  cursor: pointer;
}
.mc-btn-primary { background: var(--ember); color: var(--stone-950); }
.mc-btn-primary:hover {
  transform: translateY(-1px);
  background: var(--ember-hover);
  box-shadow: 0 10px 24px -10px var(--ember-glow);
}
.mc-btn-secondary { background: transparent; color: var(--stone-50); border-color: var(--stroke-hot); }
.mc-btn-secondary:hover { border-color: var(--ember); color: var(--ember); }
.mc-btn svg { width: 16px; height: 16px; }

/* ============ SECTION HEAD ============ */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--stroke);
  position: relative;
}
.section:first-of-type { border-top: none; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px; flex-wrap: wrap;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ""; width: 18px; height: 1px; background: var(--ember); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0; font-weight: 600;
  color: var(--stone-50);
}
.section-sub {
  color: var(--stone-400);
  max-width: 520px;
  text-align: right;
  font-size: 14px;
  line-height: 1.55;
}

/* ============ LISTING HERO ============ */
.mc-list-hero {
  padding: 72px 0 48px;
}
.mc-list-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.mc-list-hero .eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--ember);
}
.mc-list-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 20px;
  font-weight: 600;
  color: var(--stone-50);
}
.mc-list-hero .lead {
  font-size: 18px;
  color: var(--stone-300);
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.mc-list-hero .meta-row {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-400);
  display: flex; gap: 18px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}
.mc-list-hero .meta-row .hot { color: var(--ember); }
.mc-list-hero .meta-row .val { color: var(--stone-100); }

/* ============ CARD GRID (listing) ============ */
.mc-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 72px;
}
.mc-listing-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  position: relative;
}
.mc-listing-card::before {
  content: "";
  position: absolute; left: 0; top: 0; width: 3px; height: 30px;
  background: var(--ember);
  opacity: 0;
  transition: opacity .2s ease, height .2s ease;
}
.mc-listing-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-hot);
  background: var(--bg-3);
}
.mc-listing-card:hover::before { opacity: 1; height: 60%; }
.mc-listing-card .card-image {
  aspect-ratio: 16/9;
  background: var(--bg-1);
  border-bottom: 1px solid var(--stroke);
  overflow: hidden;
}
.mc-listing-card .card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.mc-listing-card .card-body {
  padding: 22px;
  display: flex; flex-direction: column; flex: 1;
}
.mc-listing-card .card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 10px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.mc-listing-card .card-meta .hot { color: var(--ember); }
.mc-listing-card .card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 0 0 10px;
  color: var(--stone-50);
}
.mc-listing-card .card-excerpt {
  font-size: 14px;
  color: var(--stone-400);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.mc-listing-card .card-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--stone-500);
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
  display: flex; justify-content: space-between; align-items: center;
}
.mc-listing-card:hover .card-foot .arrow { color: var(--ember); transform: translateX(4px); }
.mc-listing-card .card-foot .arrow { transition: transform .2s ease, color .2s ease; }

/* ============ CONTENT PAGE HEADER ============ */
.mc-content-header {
  padding: 56px 0 40px;
}
.mc-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 26px;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.mc-breadcrumb a { color: var(--stone-400); transition: color .15s ease; }
.mc-breadcrumb a:hover { color: var(--ember); }
.mc-breadcrumb .sep { color: var(--stone-700); padding: 0 2px; }
.mc-breadcrumb .current { color: var(--stone-100); }

.mc-category-tag {
  display: inline-block;
  background: var(--ember);
  color: var(--stone-950);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.mc-content-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.028em;
  color: var(--stone-50);
  margin: 0 0 22px;
  font-weight: 600;
}
.mc-content-header .lede {
  font-size: 19px;
  color: var(--stone-300);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 720px;
}
.mc-meta-row {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone-400);
  display: flex; gap: 22px; flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}
.mc-meta-row .meta-k { color: var(--stone-600); margin-right: 8px; }
.mc-meta-row .meta-v { color: var(--stone-100); }

/* ============ PROSE (content pages) ============ */
.mc-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 0 72px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--stone-200);
}
.mc-prose > * { max-width: 720px; }
.mc-prose p { margin: 0 0 1.2em; }
.mc-prose strong { color: var(--stone-50); font-weight: 700; }
.mc-prose em { color: var(--stone-100); }

.mc-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
  color: var(--stone-50);
  margin: 2.4em 0 .8em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke);
  position: relative;
}
.mc-prose h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 48px; height: 2px;
  background: var(--ember);
}
.mc-prose h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--stone-50);
  margin: 2em 0 .6em;
}
.mc-prose h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-100);
  margin: 1.8em 0 .5em;
}

.mc-prose a {
  color: var(--stone-50);
  border-bottom: 1px solid var(--ember-dim);
  transition: color .15s ease, border-color .15s ease;
}
.mc-prose a:hover { color: var(--ember); border-bottom-color: var(--ember); }

.mc-prose ul, .mc-prose ol {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.mc-prose li { margin-bottom: .5em; color: var(--stone-200); }
.mc-prose ul li::marker { color: var(--ember); }
.mc-prose ol li::marker { color: var(--ember); font-family: var(--font-mono); font-weight: 600; }

.mc-prose blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  background: var(--bg-2);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--stone-200);
  font-size: 16px;
  line-height: 1.6;
}
.mc-prose blockquote p:last-child { margin-bottom: 0; }
.mc-prose blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-500);
}

.mc-prose code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--ember);
}
.mc-prose pre {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius);
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  margin: 1.6em 0;
}
.mc-prose pre code {
  background: transparent; border: none; padding: 0; color: var(--stone-100);
}

.mc-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
}
.mc-prose thead {
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-100);
}
.mc-prose th, .mc-prose td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
}
.mc-prose tr:nth-child(even) td { background: rgba(255,255,255,.012); }
.mc-prose tr:last-child td { border-bottom: none; }

.mc-prose img, .mc-prose figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  margin: 1.6em auto;
  max-width: 100%;
  height: auto;
}
.mc-prose figure { margin: 1.8em 0; text-align: center; }
.mc-prose figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 10px;
}

.mc-prose hr {
  border: none;
  height: 1px;
  background: var(--stroke);
  margin: 2.4em 0;
}

/* ============ AFFILIATE / CALLOUT CARD ============ */
.mc-callout {
  background: var(--panel-navy);
  border: 1px solid var(--panel-navy-stroke);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin: 2em 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.mc-callout::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: .6;
}
.mc-callout .callout-tag {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  padding: 3px 8px;
  background: var(--ember);
  color: var(--stone-950);
  border-radius: 3px;
}
.mc-callout h3, .mc-callout h4 {
  font-family: var(--font-display);
  color: var(--stone-50);
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
}
.mc-callout p { color: var(--stone-300); margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.mc-callout a.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ember);
  color: var(--stone-950);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  border-bottom: none;
  transition: background .15s ease, transform .15s ease;
}
.mc-callout a.cta:hover { background: var(--ember-hover); transform: translateY(-1px); }

/* Generic affiliate link inline styling - outlined hint */
.mc-prose a[href*="amzn.to"],
.mc-prose a[href*="amazon.com"] {
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  padding: 1px 6px;
  color: var(--ember);
}
.mc-prose a[href*="amzn.to"]:hover,
.mc-prose a[href*="amazon.com"]:hover {
  background: var(--ember);
  color: var(--stone-950);
  border-color: var(--ember);
}

/* ============ GUIDE-SPECIFIC SECTIONS (preserved shapes from source) ============ */
.guide-materials, .guide-callouts, .guide-steps, .guide-tips, .guide-related {
  margin: 2.2em 0;
}
.materials-list, .tips-list {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  list-style: none;
  margin: 0;
}
.materials-list li, .tips-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--stroke);
  color: var(--stone-200);
  position: relative;
  padding-left: 24px;
}
.materials-list li:last-child, .tips-list li:last-child { border-bottom: none; }
.materials-list li::before, .tips-list li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px;
  background: var(--ember);
  border-radius: 50%;
}

.step {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 14px 0;
}
.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}
.step h3, .step-title {
  font-family: var(--font-display);
  color: var(--stone-50);
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.callout {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1.4em 0;
  color: var(--stone-200);
  font-size: 15px;
}
.callout strong { color: var(--warn); }
.callout.warning { border-left-color: var(--crit); }
.callout.warning strong { color: var(--crit); }
.callout.success { border-left-color: var(--ok); }
.callout.success strong { color: var(--ok); }
.callout.info { border-left-color: var(--ember); }
.callout.info strong { color: var(--ember); }

.guide-related h2, .guide-tips h2, .guide-steps h2, .guide-materials h2, .guide-callouts h2 {
  margin-top: 0;
}

/* ============ RELATED CARDS STRIP ============ */
.mc-related {
  padding: 56px 0 72px;
  border-top: 1px solid var(--stroke);
}
.mc-related h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--stone-50);
  margin: 0 0 28px;
}
.mc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mc-related-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  display: flex; flex-direction: column;
}
.mc-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-hot);
  background: var(--bg-3);
}
.mc-related-card .kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 10px;
}
.mc-related-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--stone-50);
  margin: 0 0 10px;
}
.mc-related-card p {
  font-size: 13px;
  color: var(--stone-400);
  line-height: 1.55;
  margin: 0;
}

/* ============ FOOTER ============ */
.mc-footer {
  border-top: 1px solid var(--stroke);
  padding: 48px 0 32px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--stone-400);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}
.foot-grid h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin: 0 0 14px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--stone-300); transition: color .15s ease; }
.foot-grid a:hover { color: var(--ember); }
.foot-about img { height: 36px; width: auto; margin-bottom: 14px; }
.foot-about p {
  color: var(--stone-400);
  max-width: 340px;
  font-size: 13px;
  margin: 0;
  line-height: 1.55;
}
.foot-about .motto {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-top: 14px;
}
.foot-bottom {
  border-top: 1px solid var(--stroke);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--stone-600);
  text-transform: uppercase;
}
.foot-bottom .hot { color: var(--ember); }

/* ============ FOOTER CTA BLOCK (shared) ============ */
.mc-footer-cta {
  background:
    radial-gradient(600px 300px at 50% 0%, var(--ember-wash), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 48px 0;
}
.mc-footer-cta::before {
  content: ""; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
}
.mc-footer-cta .section-label { justify-content: center; margin-bottom: 14px; }
.mc-footer-cta .section-label::before { margin-right: 4px; }
.mc-footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  color: var(--stone-50);
}
.mc-footer-cta p {
  color: var(--stone-400);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .mc-listing-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .frame, .frame-narrow { padding: 0 18px; }
  .mc-nav-links { display: none; }
  .mc-nav-toggle { display: inline-flex; }
  .mc-brand-divider, .mc-brand-tag { display: none; }
  .mc-nav-cta { padding: 8px 12px; font-size: 12px; }
  .mc-statusbar-inner { font-size: 10px; gap: 10px; }
  .mc-statusbar-left .hide-sm,
  .mc-statusbar-right .hide-sm { display: none; }
  .section { padding: 48px 0; }
  .section-sub { text-align: left; }
  .mc-content-header { padding: 40px 0 30px; }
  .mc-list-hero { padding: 48px 0 32px; }
  .mc-listing-grid { grid-template-columns: 1fr; }
  .mc-related-grid { grid-template-columns: 1fr; }
  .mc-prose { font-size: 16px; }
  .mc-footer-cta { padding: 40px 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .mc-brand img { height: 28px; }
  .mc-nav-inner { height: 60px; }
  .mc-content-header h1 { font-size: 2rem; }
  .mc-list-hero h1 { font-size: 2rem; }
}

/* ==========================================================================
   V3 COMPONENT LIBRARY
   --------------------------------------------------------------------------
   Ported from live FlintReady site component classes into V3 tokens.
   Every rule below targets a class the source HTML uses verbatim. The build
   script preserves those classes; these rules provide the visual language.

   Token map (what lived in the live CSS -> what we use here):
     --mc-card       -> var(--bg-2)
     --mc-card-hi    -> var(--bg-3)
     --mc-bg         -> var(--bg-1)
     --mc-border     -> var(--stroke)
     --mc-border-hi  -> var(--stroke-hot)
     --mc-text       -> var(--stone-50)
     --mc-text-dim   -> var(--stone-300)
     --mc-text-muted -> var(--stone-500)
     --mc-ember      -> var(--ember)
     --mc-ember-glow -> var(--ember-hover)
     --mc-warn       -> var(--warn)
     --mc-data       -> var(--ok)
     --mc-mono       -> var(--font-mono)
   ========================================================================== */

/* Backfill --mc-* aliases so any hybrid rules referencing them resolve */
:root {
  --mc-card: var(--bg-2);
  --mc-card-hi: var(--bg-3);
  --mc-bg: var(--bg-1);
  --mc-border: var(--stroke);
  --mc-border-hi: var(--stroke-hot);
  --mc-text: var(--stone-50);
  --mc-text-dim: var(--stone-300);
  --mc-text-muted: var(--stone-500);
  --mc-ember: var(--ember);
  --mc-ember-glow: var(--ember-hover);
  --mc-warn: var(--warn);
  --mc-data: var(--ok);
  --mc-mono: var(--font-mono);
}

/* --------------------------------------------------------------
   MC-* UNIVERSAL UTILITIES
   -------------------------------------------------------------- */
.mc-mono { font-family: var(--font-mono); letter-spacing: .04em; }

.mc-header {
  margin: 24px 0 18px;
  font-family: var(--font-mono);
}
.mc-header-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-wrap: wrap; gap: 8px;
}
.mc-header-tag {
  display: flex; align-items: center; gap: 8px;
  color: var(--stone-400);
}
.mc-header-label { color: var(--stone-300); }
.mc-header-meta {
  display: flex; gap: 10px;
  color: var(--stone-500);
}
.mc-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16,185,129,.55);
  animation: mc-pulse 2.4s infinite;
}

.mc-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 600;
  color: var(--stone-50);
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 28px 0 12px;
}
.mc-page-sub {
  font-size: 17px;
  color: var(--stone-300);
  max-width: 720px;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* Grids */
.mc-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.mc-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mc-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 1080px) {
  .mc-grid-3 { grid-template-columns: repeat(2,1fr); }
  .mc-grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .mc-grid-2, .mc-grid-3, .mc-grid-4 { grid-template-columns: 1fr; }
}

/* Generic mc-card */
.mc-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.mc-card:hover { border-color: var(--stroke-hot); }
.mc-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
}
.mc-card-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone-400);
}
.mc-card-source, .mc-link-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
}
.mc-card-action {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone-400);
}
.mc-card-body { padding: 16px; flex: 1; }
.mc-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
}

/* mc buttons (content-scope overrides to distinguish from existing .mc-btn above) */
.mc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.mc-btn-ember { background: var(--ember); color: var(--stone-950); border-color: var(--ember); }
.mc-btn-ember:hover {
  background: var(--ember-hover);
  color: var(--stone-950);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px var(--ember-glow);
}
.mc-btn-ghost {
  background: transparent;
  color: var(--stone-100);
  border-color: var(--stroke-hot);
}
.mc-btn-ghost:hover { border-color: var(--ember); color: var(--ember); }
.mc-btn-block { width: 100%; }
.mc-btn-lg { padding: 14px 24px; font-size: 15px; }

/* mc-section-title / tag */
.mc-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--stone-50);
  letter-spacing: -.015em;
  margin: 40px 0 8px;
  display: flex; align-items: center; gap: 12px;
}
.mc-section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .12em;
  background: var(--ember-wash);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--ember-edge);
  text-transform: uppercase;
}
.mc-section-sub {
  font-size: 15px; color: var(--stone-400);
  margin: 0 0 24px;
  max-width: 720px;
}

/* mc-path-card — used on listing hubs */
.mc-path-card {
  display: flex; flex-direction: column;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  color: var(--stone-100);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}
.mc-path-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--ember), transparent);
  opacity: 0; transition: opacity .2s ease;
}
.mc-path-card:hover {
  border-color: var(--ember);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.mc-path-card:hover::before { opacity: 1; }
.mc-path-icon { font-size: 2rem; margin-bottom: 8px; line-height: 1; }
.mc-path-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 6px;
}
.mc-path-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--stone-50);
  letter-spacing: -.01em;
}
.mc-path-card p {
  font-size: 14px;
  color: var(--stone-400);
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.mc-path-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ember);
  font-weight: 600;
  text-transform: uppercase;
}
.mc-path-emergency { border-color: rgba(239,68,68,.35); }
.mc-path-emergency::before { background: linear-gradient(90deg, var(--crit), transparent); }
.mc-path-emergency .mc-path-cta { color: var(--crit); }

/* mc-track-hub — big category card */
.mc-track-hub {
  display: flex; gap: 16px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-left: 4px solid var(--ember);
  border-radius: var(--radius-lg);
  color: var(--stone-100);
  transition: border-color .2s ease, transform .15s ease, background .2s ease;
}
.mc-track-hub:hover {
  border-color: var(--stroke-hot);
  border-left-color: var(--ember);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.mc-track-hub-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.mc-track-hub-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--stone-50);
}
.mc-track-hub-body p {
  font-size: 14px; color: var(--stone-400);
  line-height: 1.5; margin: 0 0 10px;
}
.mc-track-hub-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Track color accents (used on mc-track-hub + cl-* pages) */
.cl-color-water.mc-track-hub,.mc-track-hub.cl-color-water { border-left-color: #56ccf2; }
.cl-color-food.mc-track-hub,.mc-track-hub.cl-color-food { border-left-color: #34d399; }
.cl-color-shelter.mc-track-hub,.mc-track-hub.cl-color-shelter { border-left-color: #fbbf24; }
.cl-color-first-aid.mc-track-hub,.mc-track-hub.cl-color-first-aid { border-left-color: #f87171; }
.cl-color-comms.mc-track-hub,.mc-track-hub.cl-color-comms { border-left-color: #a5b4fc; }
.cl-color-docs.mc-track-hub,.mc-track-hub.cl-color-docs { border-left-color: #f59e0b; }
.cl-color-fire.mc-track-hub,.mc-track-hub.cl-color-fire { border-left-color: var(--ember); }
.cl-color-gear.mc-track-hub,.mc-track-hub.cl-color-gear { border-left-color: #94a3b8; }
.cl-color-mindset.mc-track-hub,.mc-track-hub.cl-color-mindset { border-left-color: #c4b5fd; }

/* mc-empty */
.mc-empty {
  padding: 28px;
  color: var(--stone-500);
  font-style: italic;
  font-size: 14px;
  text-align: center;
}

/* --------------------------------------------------------------
   CHECKLIST (cl-*) — FULL PORT
   The source renders checklists as printable "pages" (cl-page). In V3
   preview we keep the page abstraction but re-skin in dark mode with
   ember accents + stone hairlines. Tracks keep their color accents.
   -------------------------------------------------------------- */

.mc-checklist-wrap {
  max-width: 920px;
  margin: 40px auto;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}

.checklist-doc { background: transparent; color: var(--stone-100); }

.cl-page {
  padding: 44px 52px;
  border-bottom: 1px dashed var(--stroke);
  position: relative;
  background: transparent;
}
.cl-page:last-child { border-bottom: none; }

/* cl-cover — title page */
.cl-cover {
  text-align: center;
  padding: 72px 52px 64px;
  background: var(--panel-navy);
  border-bottom: 1px solid var(--stroke);
}
.cl-cover-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.cl-cover-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-400);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.cl-cover-rule {
  width: 72px; height: 2px;
  background: var(--ember);
  margin: 0 auto 28px;
}
.cl-cover-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--stone-50);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.cl-cover-lede {
  font-size: 16px;
  color: var(--stone-300);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 36px;
}
.cl-cover-meta {
  display: flex; justify-content: center; gap: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-300);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.cl-cover-meta > div { display: flex; flex-direction: column; gap: 4px; }
.cl-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .16em;
}
.cl-cover-footer {
  display: flex; justify-content: center; align-items: center; gap: 20px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-400);
  letter-spacing: .08em;
}
.cl-qr {
  width: 88px; height: 88px;
  border: 1px solid var(--stroke);
  border-radius: 4px;
  padding: 4px;
  background: var(--stone-50);
}

/* Page header within a cl-page */
.cl-page-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ember);
  margin-bottom: 22px;
}
.cl-page-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cl-page-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--stone-50);
  display: flex; align-items: center; gap: 10px;
  line-height: 1.2;
  letter-spacing: -.015em;
}
.cl-page-icon { font-size: 1.5rem; }
.cl-page-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* TOC */
.cl-toc-list {
  list-style: none;
  padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 8px;
}
.cl-toc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  border-left: 4px solid var(--stone-500);
  border-radius: var(--radius);
  color: var(--stone-100);
  transition: border-color .15s ease, transform .15s ease;
  font-size: 15px;
}
.cl-toc-item:hover {
  border-color: var(--stroke-hot);
  transform: translateX(4px);
}
.cl-toc-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ember);
  font-weight: 700;
  min-width: 28px;
}
.cl-toc-icon { font-size: 1.3rem; line-height: 1; }
.cl-toc-text { flex: 1; }
.cl-toc-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--stone-50);
}
.cl-toc-sub {
  font-size: 13px;
  color: var(--stone-400);
  margin-top: 2px;
}

/* Track color accents (left border on TOC items + borders on sections) */
.cl-color-water { border-left-color: #56ccf2 !important; }
.cl-color-food { border-left-color: #34d399 !important; }
.cl-color-shelter { border-left-color: #fbbf24 !important; }
.cl-color-first-aid { border-left-color: #f87171 !important; }
.cl-color-comms { border-left-color: #a5b4fc !important; }
.cl-color-docs { border-left-color: #f59e0b !important; }
.cl-color-fire { border-left-color: var(--ember) !important; }
.cl-color-gear { border-left-color: #94a3b8 !important; }
.cl-color-mindset { border-left-color: #c4b5fd !important; }

.cl-section.cl-color-water .cl-page-header { border-bottom-color: #56ccf2; }
.cl-section.cl-color-food .cl-page-header { border-bottom-color: #34d399; }
.cl-section.cl-color-shelter .cl-page-header { border-bottom-color: #fbbf24; }
.cl-section.cl-color-first-aid .cl-page-header { border-bottom-color: #f87171; }
.cl-section.cl-color-comms .cl-page-header { border-bottom-color: #a5b4fc; }
.cl-section.cl-color-docs .cl-page-header { border-bottom-color: #f59e0b; }
.cl-section.cl-color-water .cl-page-title { color: #7dd3fc; }
.cl-section.cl-color-food .cl-page-title { color: #6ee7b7; }
.cl-section.cl-color-shelter .cl-page-title { color: #fcd34d; }
.cl-section.cl-color-first-aid .cl-page-title { color: #fca5a5; }
.cl-section.cl-color-comms .cl-page-title { color: #c7d2fe; }
.cl-section.cl-color-docs .cl-page-title { color: #fbbf24; }

/* Rule of 3s */
.cl-rule-of-3s {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255,107,53,.08) 0%, transparent 100%);
  border: 1px solid var(--ember-edge);
  border-radius: var(--radius-lg);
  margin-top: 20px;
}
.cl-ro3-header {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 14px;
}
.cl-ro3-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ember);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--ember-wash);
  border-radius: 3px;
}
.cl-ro3-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 0;
  letter-spacing: -.01em;
}
.cl-ro3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cl-ro3-grid > div {
  padding: 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}
.cl-ro3-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ember);
  margin-bottom: 4px;
  line-height: 1;
}
.cl-ro3-label {
  font-size: 13px;
  color: var(--stone-300);
  line-height: 1.4;
}
@media (max-width: 768px) { .cl-ro3-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cl-ro3-grid { grid-template-columns: 1fr; } }

/* cl-items (checklist line items) */
.cl-items {
  list-style: none;
  padding: 0; margin: 0 0 24px;
}
.cl-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--stroke);
  font-size: 15px;
  color: var(--stone-200);
  line-height: 1.55;
}
.cl-item:last-child { border-bottom: none; }
.cl-item::first-letter {
  color: var(--ember);
  font-family: var(--font-mono);
}
.cl-check {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--ember);
  line-height: 1;
  margin-top: 2px;
  font-family: var(--font-mono);
}
.cl-item-text { flex: 1; }
.cl-affil {
  display: inline-block;
  padding: 2px 8px;
  margin-left: 6px;
  background: var(--ember-wash);
  color: var(--ember);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.cl-affil:hover { background: var(--ember); color: var(--stone-950); }

/* cl-tip — pro-tip callouts inside a section */
.cl-tip {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--panel-navy);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 0 0 1px rgba(255,107,53,0.08);
}
.cl-tip-head {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .14em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cl-tip p {
  font-size: 14px;
  color: var(--stone-300);
  line-height: 1.6;
  margin: 0;
}

/* cl-close — closing CTA page */
.cl-close {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
}
.cl-close-lede {
  font-size: 16px;
  color: var(--stone-300);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 56ch;
}
.cl-close-offer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 24px 28px;
  background: var(--panel-navy);
  border: 1px solid var(--ember);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  box-shadow: 0 0 0 1px rgba(255,107,53,0.1), 0 12px 32px rgba(0,0,0,.3);
}
.cl-close-price {
  text-align: center;
  padding-right: 28px;
  border-right: 1px dashed var(--stroke);
}
.cl-close-was {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone-500);
  text-decoration: line-through;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.cl-close-now {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--ember);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.cl-close-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-400);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cl-close-list {
  list-style: none; padding: 0; margin: 0 0 12px;
}
.cl-close-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--stroke);
  font-size: 14px;
  color: var(--stone-200);
}
.cl-close-list li:last-child { border-bottom: none; }
.cl-close-qr {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 24px;
}
.cl-close-qr img {
  width: 128px; height: 128px;
  border: 1px solid var(--stroke);
  padding: 4px;
  background: var(--stone-50);
  border-radius: var(--radius);
}
.cl-close-qr-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cl-close-disclaimer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--stroke);
  font-size: 12px;
  color: var(--stone-500);
  font-style: italic;
  text-align: center;
  line-height: 1.55;
}
.cl-close-disclaimer strong { color: var(--stone-300); font-style: normal; }

@media (max-width: 768px) {
  .cl-page { padding: 28px 22px; }
  .cl-cover { padding: 48px 22px; }
  .cl-close-offer { grid-template-columns: 1fr; gap: 18px; }
  .cl-close-price { padding-right: 0; padding-bottom: 18px; border-right: none; border-bottom: 1px dashed var(--stroke); }
}

/* checklist-intro-* (the screen-only intro panel at top of a checklist) */
.checklist-screen-intro {
  margin: 36px auto;
  max-width: 820px;
  padding: 28px;
  background: var(--panel-navy);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  text-align: center;
}
.checklist-intro-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.checklist-intro-h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 0 0 14px;
}
.checklist-intro-sub {
  color: var(--stone-300);
  font-size: 15px;
  margin: 0 0 20px;
  line-height: 1.6;
}
.checklist-intro-cta {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.checklist-intro-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------
   GUIDE / GUIDE-CARD / GUIDE-BADGE
   -------------------------------------------------------------- */

.guide-article { color: var(--stone-200); }
.guide-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke);
}
.guide-header-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 12px;
}
.guide-header-meta .difficulty { color: var(--ember); }
.guide-header-meta .meta-time { color: var(--stone-300); }
.guide-header-meta .meta-budget { color: var(--ok); }
.guide-description {
  font-size: 17px;
  color: var(--stone-300);
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.guide-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
  color: var(--stone-100);
  overflow: hidden;
}
.guide-card > * { position: relative; z-index: 2; }
.guide-card:hover {
  border-color: var(--stroke-hot);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.guide-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.guide-card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex; gap: 10px;
}
/* .guide-card-locked and .guide-card-premium removed 2026-04-18
   No membership gate exists on the site; stripping per-card orange/locked
   differentiation so every guide card renders identically. */

.guide-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-300);
  padding: 3px 8px;
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  border-radius: 3px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 6px;
}

.guide-materials h2,
.guide-callouts h2,
.guide-steps h2,
.guide-tips h2,
.guide-related h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 2em 0 .8em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--stroke);
  position: relative;
  letter-spacing: -.015em;
}
.guide-materials h2::after,
.guide-callouts h2::after,
.guide-steps h2::after,
.guide-tips h2::after,
.guide-related h2::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 40px; height: 2px;
  background: var(--ember);
}

/* materials-list and tips-list (already styled above; refined here) */
.materials-list, .tips-list {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  list-style: none;
  margin: 0 0 24px;
}
.materials-list li, .tips-list li {
  padding: 12px 0 12px 24px;
  border-bottom: 1px dashed var(--stroke);
  color: var(--stone-200);
  line-height: 1.6;
  font-size: 15px;
  position: relative;
}
.materials-list li:last-child, .tips-list li:last-child { border-bottom: none; }
.materials-list li::before, .tips-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 8px; height: 8px;
  background: var(--ember);
  border-radius: 50%;
}
.material-name { font-weight: 700; color: var(--stone-50); display: block; }
.material-note {
  display: block;
  font-size: 14px; color: var(--stone-400);
  margin-top: 4px;
  font-weight: 400;
}
.material-optional {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Guide video block */
.guide-video {
  margin: 2em 0;
}
.guide-video > div {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
}
.guide-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* guide-steps / steps-list (numbered step cards) */
.guide-steps .steps-list,
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: flex; flex-direction: column; gap: 14px;
}
.step-item {
  counter-increment: step;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius);
  padding: 22px 24px 22px 64px;
  position: relative;
}
.step-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px; top: 22px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: .06em;
}
.step-item h3, .step-item .step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.step-item p {
  font-size: 15px;
  color: var(--stone-300);
  line-height: 1.65;
  margin: 0 0 10px;
}
.step-item p:last-child { margin-bottom: 0; }
.step-content { color: var(--stone-300); line-height: 1.65; }
.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 6px;
}
.step-warning {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(239,68,68,.08);
  border-left: 3px solid var(--crit);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--stone-200);
}
.step-warning strong { color: var(--crit); }

/* callout-* */
.callout-box {
  padding: 18px 22px;
  background: var(--panel-navy);
  border: 1px solid var(--panel-navy-stroke);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius);
  margin: 1.6em 0;
  color: var(--stone-200);
  line-height: 1.6;
}
.callout-budget-pick {
  padding: 18px 22px;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius);
  margin: 1.6em 0;
  color: var(--stone-100);
}
.callout-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
  display: block;
}

/* affiliate-* */
.affiliate-disclosure {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--stone-500);
  line-height: 1.55;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px dashed var(--stroke);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.affiliate-link {
  color: var(--ember);
  border-bottom: 1px dashed var(--ember-edge);
}
.affiliate-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  color: var(--ember);
  vertical-align: super;
}

/* guide-related */
.guide-related { margin: 2.6em 0; }
.guide-related__heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--stone-50);
}
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 1080px) { .related-guides-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .related-guides-grid { grid-template-columns: 1fr; } }
.related-guide-card {
  display: flex; flex-direction: column;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  color: var(--stone-100);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
  text-decoration: none;
}
.related-guide-card:hover {
  border-color: var(--stroke-hot);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.related-guide-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.related-guide-card__desc {
  font-size: 13px;
  color: var(--stone-400);
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1;
}
.related-guide-card__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* guide-pdf-cta, guide-nav, btn-back */
.guide-pdf-cta {
  margin: 1.5em 0;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.btn-pdf-download, .btn-pdf-locked {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  color: var(--stone-100);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.btn-pdf-download:hover { border-color: var(--ember); color: var(--ember); }
.btn-pdf-locked {
  opacity: .7;
  cursor: not-allowed;
  position: relative;
}
.btn-pdf-locked::after {
  content: "🔒";
  margin-left: 6px;
  font-size: 12px;
}
.guide-nav {
  margin: 2em 0;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
}
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--stone-400);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s ease;
}
.btn-back:hover { color: var(--ember); }
.btn-back svg { width: 14px; height: 14px; }

/* breadcrumb (source-level, inside container-narrow) */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 18px;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--stone-400); text-decoration: none; transition: color .15s ease; }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb span { color: var(--stone-700); padding: 0 2px; }

.container-narrow { max-width: 840px; margin: 0 auto; }

/* --------------------------------------------------------------
   MC ARTICLE (general content container for guides/premium/bundle)
   Wider than mc-prose (used for pages with grids + callouts)
   -------------------------------------------------------------- */
.mc-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 72px;
  color: var(--stone-200);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
.mc-article > h1, .mc-article > h2, .mc-article > h3 { color: var(--stone-50); }
.mc-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: 2.4em 0 .8em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke);
  position: relative;
}
.mc-article h2::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 48px; height: 2px;
  background: var(--ember);
}
.mc-article h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 1.8em 0 .5em;
  letter-spacing: -.01em;
}
.mc-article p { margin: 0 0 1.1em; }
.mc-article strong { color: var(--stone-50); font-weight: 700; }
.mc-article em { color: var(--stone-100); }
.mc-article a {
  color: var(--stone-50);
  border-bottom: 1px solid var(--ember-dim);
  transition: color .15s ease, border-color .15s ease;
}
.mc-article a:hover { color: var(--ember); border-bottom-color: var(--ember); }
.mc-article ul, .mc-article ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.mc-article li { margin-bottom: .5em; }
.mc-article ul li::marker { color: var(--ember); }
.mc-article ol li::marker { color: var(--ember); font-family: var(--font-mono); font-weight: 600; }
.mc-article blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: var(--panel-navy);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mc-article blockquote p:last-child { margin-bottom: 0; }

/* Amazon affiliate link highlight inside articles */
.mc-article a[href*="amzn.to"],
.mc-article a[href*="amazon.com"] {
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  padding: 1px 6px;
  color: var(--ember);
}
.mc-article a[href*="amzn.to"]:hover,
.mc-article a[href*="amazon.com"]:hover {
  background: var(--ember);
  color: var(--stone-950);
  border-color: var(--ember);
}

/* --------------------------------------------------------------
   SCENARIO / PLAYBOOK
   -------------------------------------------------------------- */

.scenario-wrap { padding-bottom: 72px; }

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0 28px;
}
@media (max-width: 900px) { .scenario-tabs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .scenario-tabs { grid-template-columns: 1fr; } }

.scenario-tab {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  color: var(--stone-100);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.scenario-tab:hover {
  border-color: var(--stroke-hot);
  background: var(--bg-3);
  transform: translateY(-1px);
}
.scenario-tab.active {
  border-color: var(--ember);
  background: linear-gradient(135deg, rgba(255,107,53,.12) 0%, var(--bg-2) 100%);
}
.scenario-tab-icon { font-size: 1.4rem; margin-bottom: 6px; line-height: 1; }
.scenario-tab-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--stone-50);
}
.scenario-tab-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scenario-tab.active .scenario-tab-badge { color: var(--ember); }

.scenario-panel { display: none; }
.scenario-panel.active { display: block; animation: scenarioFadeIn .25s ease-out; }

@keyframes scenarioFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.scenario-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .scenario-header { grid-template-columns: auto 1fr; }
  .scenario-actions { grid-column: 1 / -1; }
}
.scenario-icon-wrap {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(255,107,53,.2), rgba(255,107,53,.04));
  border: 1px solid var(--ember-edge);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  line-height: 1;
}
.scenario-severity {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}
.scenario-header-text h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 0 0 4px;
  letter-spacing: -.015em;
}
.scenario-header-text p {
  font-size: 15px;
  color: var(--stone-300);
  margin: 0;
}
.scenario-actions { display: flex; gap: 10px; }

.severity-critical { color: var(--crit) !important; }
.severity-warning { color: var(--warn) !important; }
.severity-watch { color: var(--ember) !important; }
.severity-info { color: var(--stone-300) !important; }

.scenario-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 900px) { .scenario-phases { grid-template-columns: 1fr; } }

.scenario-phase {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
}
.scenario-phase::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.scenario-phase-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--stroke);
}
.scenario-phase-tag {
  display: inline-block;
  font-family: var(--font-mono);
  background: var(--ember-wash);
  color: var(--ember);
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--ember-edge);
}
.scenario-phase h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--stone-50);
}
.scenario-phase-items {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.scenario-phase-items li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone-300);
}
.scenario-phase-items li::before {
  content: "▸";
  position: absolute; left: 0; top: 0;
  color: var(--ember);
  font-weight: 700;
}
.scenario-phase-items a {
  color: var(--stone-100);
  text-decoration: none;
  border-bottom: 1px dashed var(--ember-edge);
  transition: color .15s ease, border-color .15s ease;
}
.scenario-phase-items a:hover { color: var(--ember); border-bottom-color: var(--ember); }

.scenario-kit {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}
.scenario-kit-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.scenario-kit-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: var(--stone-50);
}
.scenario-kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
@media (max-width: 640px) { .scenario-kit-grid { grid-template-columns: 1fr; } }
.scenario-kit-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--stone-300);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.scenario-kit-item:hover {
  border-color: var(--stroke-hot);
  color: var(--stone-100);
}
.scenario-kit-item input[type=checkbox] {
  accent-color: var(--ember);
  margin-top: 2px;
  flex-shrink: 0;
}
.scenario-kit-item input[type=checkbox]:checked + span {
  color: var(--stone-500);
  text-decoration: line-through;
}
.scenario-kit-footer {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
}
.scenario-disclaimer {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--stone-300);
  line-height: 1.55;
}

/* tripwire — promo strip */
.tripwire-card {
  background: linear-gradient(135deg, rgba(255,107,53,.15), var(--bg-2));
  border: 1px solid var(--ember);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 20px 0 28px;
  box-shadow: 0 12px 32px -14px rgba(255,107,53,.4);
}
.tripwire-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
@media (max-width: 768px) {
  .tripwire-inner { grid-template-columns: 1fr; text-align: center; }
}
.tripwire-icon { font-size: 3rem; line-height: 1; flex-shrink: 0; }
.tripwire-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ember);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  margin-bottom: 8px;
}
.tripwire-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--stone-50);
  letter-spacing: -.01em;
}
.tripwire-text p {
  font-size: 14px;
  color: var(--stone-300);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
.tripwire-cta { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.tripwire-or {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------
   BUNDLE / PREMIUM
   -------------------------------------------------------------- */

.bundle-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 36px 0 48px;
}
@media (max-width: 1000px) { .bundle-hero { grid-template-columns: 1fr; } }

.bundle-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  margin-bottom: 16px;
}
.bundle-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--stone-50);
  margin: 0 0 16px;
}
.bundle-price-inline {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--ember);
  margin-top: 4px;
}
.bundle-lede {
  font-size: 17px;
  color: var(--stone-300);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 54ch;
}
.bundle-cta-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.bundle-was { display: flex; flex-direction: column; gap: 2px; }
.bundle-was-strike {
  font-family: var(--font-mono);
  color: var(--stone-500);
  text-decoration: line-through;
  font-size: 15px;
}
.bundle-was-save {
  font-family: var(--font-mono);
  color: var(--ember);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bundle-buy {
  padding: 16px 28px;
  font-size: 16px;
  box-shadow: 0 10px 28px -8px var(--ember-glow);
}
.bundle-trust {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 13px;
  color: var(--stone-300);
}
.bundle-trust span { font-family: var(--font-body); }

.bundle-hero-visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
}
.bundle-stack {
  position: relative;
  width: 300px;
  height: 360px;
}
.bundle-stack-item {
  position: absolute;
  width: 180px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--stroke-hot);
  border-radius: var(--radius-lg);
  color: var(--stone-100);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  box-shadow: 0 14px 32px -12px rgba(0,0,0,.6);
  transition: transform .2s ease;
}
.bundle-stack-item strong {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  color: var(--stone-50);
}
.bundle-stack-item em {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  color: var(--ember);
  margin-top: 4px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bundle-stack-1 { top: 0;   left: 20px; transform: rotate(-6deg); }
.bundle-stack-2 { top: 40px; left: 80px; transform: rotate(2deg); }
.bundle-stack-3 { top: 90px; left: 30px; transform: rotate(-3deg); }
.bundle-stack-4 { top: 150px; left: 80px; transform: rotate(4deg); }
.bundle-stack-5 { top: 210px; left: 30px; transform: rotate(-2deg); border-color: var(--ember); }
.bundle-stack-item:hover { transform: scale(1.05) rotate(0); z-index: 10; }

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .bundle-grid { grid-template-columns: 1fr; } }

.bundle-product {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color .2s ease, transform .15s ease;
}
.bundle-product:hover {
  border-color: var(--stroke-hot);
  transform: translateY(-2px);
}
.bundle-product-wide { grid-column: 1 / -1; border-color: var(--ember-edge); }
.bundle-product-icon { font-size: 1.75rem; margin-bottom: 8px; line-height: 1; }
.bundle-product-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
  gap: 10px;
}
.bundle-product-head h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--stone-50);
  letter-spacing: -.01em;
}
.bundle-product-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--ember-wash);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--ember-edge);
  white-space: nowrap;
}
.bundle-product p {
  font-size: 14px;
  color: var(--stone-300);
  line-height: 1.6;
  margin: 0;
}

.bundle-math {
  max-width: 560px;
  margin: 0 auto 40px;
  background: var(--bg-2);
  border: 1px solid var(--ember);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 14px 44px -18px rgba(255,107,53,.3);
}
.bundle-math-rows { margin-bottom: 18px; }
.bundle-math-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--stroke);
  font-size: 15px;
  color: var(--stone-300);
}
.bundle-math-row:last-child { border-bottom: none; }
.bundle-math-total {
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--stroke);
  color: var(--stone-100);
  font-weight: 600;
}
.bundle-math-total-val {
  color: var(--stone-500);
  text-decoration: line-through;
  font-family: var(--font-mono);
}
.bundle-math-price {
  color: var(--stone-50);
  font-size: 17px;
  border-bottom: none !important;
}
.bundle-math-price-val {
  font-family: var(--font-mono);
  color: var(--ember);
  font-size: 1.3rem;
  font-weight: 700;
}
.bundle-math-save {
  color: var(--ember);
  font-weight: 700;
  border-bottom: none !important;
}

.bundle-faq {
  max-width: 720px;
  margin: 0 auto 40px;
}
.bundle-faq details {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .15s ease;
}
.bundle-faq details[open] { border-color: var(--stroke-hot); }
.bundle-faq summary {
  cursor: pointer;
  padding: 16px 50px 16px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--stone-50);
  list-style: none;
  position: relative;
}
.bundle-faq summary::-webkit-details-marker { display: none; }
.bundle-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--ember);
  transition: transform .2s ease;
  line-height: 1;
}
.bundle-faq details[open] summary::after { content: "−"; }
.bundle-faq p {
  padding: 0 22px 18px;
  color: var(--stone-300);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.bundle-faq a { color: var(--ember); }

.bundle-final-cta {
  text-align: center;
  padding: 48px 28px;
  background:
    radial-gradient(500px 240px at 50% 0%, var(--ember-wash), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--ember);
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
}
.bundle-final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--stone-50);
  letter-spacing: -.015em;
}
.bundle-final-cta p {
  color: var(--stone-300);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.bundle-final-fine {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Premium-specific */
.premium-badge, .premium-badge-lg {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  background: linear-gradient(135deg, rgba(255,107,53,.2), rgba(255,107,53,.05));
  color: var(--ember);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid var(--ember);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px -8px rgba(255,107,53,.35);
}
.premium-badge-star { color: var(--ember); font-size: 1.6rem; }
.premium-badge-label { letter-spacing: .08em; }
.premium-badge-ring {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 2px solid var(--ember);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,107,53,.2), transparent 60%);
}
.premium-gate-cta {
  padding: 28px;
  background: var(--panel-navy);
  border: 1px solid var(--ember);
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2em 0;
}
.premium-gate-icon { font-size: 2.5rem; margin-bottom: 14px; }
.premium-gate-inner h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--stone-50);
  margin: 0 0 12px;
}
.premium-gate-note {
  font-size: 14px;
  color: var(--stone-400);
  margin-top: 14px;
}
.premium-gate-perks {
  list-style: none;
  padding: 0; margin: 16px 0;
  text-align: left;
  max-width: 380px;
  margin-left: auto; margin-right: auto;
}
.premium-gate-perks li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--stone-200);
  font-size: 14px;
  line-height: 1.5;
}
.premium-gate-perks li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--ember);
  font-weight: 700;
}
.premium-teaser-wrap {
  padding: 22px;
  background: var(--bg-2);
  border: 1px dashed var(--ember-edge);
  border-radius: var(--radius-lg);
  margin: 1.6em 0;
  text-align: center;
}
.premium-teaser-content p { margin: 0 0 14px; color: var(--stone-300); }

/* pdf-members-badge */
.pdf-members-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--warn);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 3px;
  margin-left: 8px;
}

/* btn-premium-cta, btn-premium-hero */
.btn-premium-cta, .btn-premium-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  background: var(--ember);
  color: var(--stone-950);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.btn-premium-cta:hover,
.btn-premium-hero:hover {
  background: var(--ember-hover);
  transform: translateY(-1px);
}
.btn-premium-hero { padding: 16px 28px; font-size: 17px; }

/* btn-yt, btn-download-inline */
.btn-yt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg-2);
  color: var(--stone-100);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  font-size: 13px;
  text-decoration: none;
  transition: border-color .15s ease;
}
.btn-yt:hover { border-color: var(--crit); color: var(--crit); }
.btn-download-inline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--ember-wash);
  color: var(--ember);
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .15s ease, color .15s ease;
}
.btn-download-inline:hover { background: var(--ember); color: var(--stone-950); }

/* --------------------------------------------------------------
   FR-* (FlintReady namespace) — gear / skill / guide close
   -------------------------------------------------------------- */

.fr-gear-rec {
  margin: 2.5em 0;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
}
.fr-gear-inner { }
.fr-gear-header { margin-bottom: 20px; text-align: center; }
.fr-gear-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  margin-bottom: 10px;
}
.fr-gear-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--stone-50);
  margin: 6px 0;
  border-bottom: none;
  padding-bottom: 0;
}
.fr-gear-header h2::after { display: none; }
.fr-gear-header p {
  font-size: 13px;
  color: var(--stone-400);
  font-style: italic;
  margin: 0;
}
.fr-gear-header p a { color: var(--ember); }
.fr-gear-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .fr-gear-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fr-gear-grid { grid-template-columns: 1fr; } }
.fr-gear-card {
  display: flex; flex-direction: column;
  padding: 18px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  transition: border-color .15s ease, transform .15s ease;
}
.fr-gear-card:hover {
  border-color: var(--ember);
  transform: translateY(-2px);
}
.fr-gear-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.fr-gear-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--stone-50);
  line-height: 1.3;
}
.fr-gear-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  white-space: nowrap;
  background: var(--ember-wash);
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid var(--ember-edge);
  letter-spacing: .04em;
}
.fr-gear-why {
  font-size: 13px;
  color: var(--stone-300);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.fr-gear-buy {
  display: inline-block;
  padding: 10px 16px;
  background: var(--ember);
  color: var(--stone-950);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.fr-gear-buy:hover { background: var(--ember-hover); transform: translateY(-1px); }

/* fr-skill-* */
.fr-skill-tree {
  max-width: 1200px;
  margin: 1.25rem auto;
  padding: 0 1.25rem;
}
.fr-skill-tree-inner {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.fr-skill-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap; gap: 10px;
}
.fr-skill-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--stone-50);
}
.fr-skill-tag {
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  color: var(--ember);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.fr-skill-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-400);
  letter-spacing: .06em;
}
.fr-skill-progress {
  background: var(--stroke);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}
.fr-skill-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--ember-hover));
  border-radius: 999px;
  transition: width .4s ease;
  box-shadow: 0 0 8px rgba(255,107,53,.4);
}
.fr-skill-path {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.fr-skill-path::-webkit-scrollbar { height: 6px; }
.fr-skill-path::-webkit-scrollbar-thumb { background: var(--stroke-hot); border-radius: 3px; }
.fr-skill-node {
  flex: 0 0 150px;
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 10px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--stone-100);
  position: relative;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
  text-align: center;
}
.fr-skill-node:hover {
  border-color: var(--stroke-hot);
  transform: translateY(-2px);
  background: var(--bg-3);
}
.fr-skill-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px; height: 2px;
  background: var(--stroke);
  transform: translateY(-50%);
}
.fr-skill-node:last-child::after { display: none; }
.fr-skill-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.fr-skill-icon { font-size: 1.5rem; line-height: 1; margin-bottom: 6px; }
.fr-skill-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--stone-50);
  margin-bottom: 6px;
  flex: 1;
}
.fr-skill-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .1em;
  padding: 3px 6px;
  border-radius: 3px;
  margin-top: auto;
  text-transform: uppercase;
}
.fr-skill-node.done { background: rgba(255,107,53,.08); border-color: rgba(255,107,53,.35); }
.fr-skill-node.done .fr-skill-status { color: var(--ember); background: var(--ember-wash); }
.fr-skill-node.done::after { background: var(--ember); }
.fr-skill-node.current {
  background: rgba(255,107,53,.05);
  border-color: var(--ember);
  box-shadow: 0 0 0 2px rgba(255,107,53,.14);
  animation: frNodePulse 2.5s ease-in-out infinite;
}
.fr-skill-node.current .fr-skill-status {
  color: var(--ember-hover);
  background: rgba(255,107,53,.18);
  font-weight: 700;
}
@keyframes frNodePulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(255,107,53,.14); }
  50%     { box-shadow: 0 0 0 4px rgba(255,107,53,.24); }
}

/* fr-guide-* */
.fr-guide-cover {
  max-width: 960px;
  margin: 18px auto 24px;
  padding: 0 16px;
}
.fr-guide-cover-inner {
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 8px;
}
.fr-guide-breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .08em;
}
.fr-guide-breadcrumb a { color: var(--ember); text-decoration: none; }
.fr-guide-breadcrumb a:hover { color: var(--ember-hover); }
.fr-guide-meta-row {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone-400);
  flex-wrap: wrap;
}
.fr-guide-dot { color: var(--stone-600); }
.fr-guide-pdf-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--stroke-hot);
  color: var(--stone-300);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 7px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.fr-guide-pdf-btn:hover { border-color: var(--ember); color: var(--ember); }
.fr-guide-close {
  max-width: 960px;
  margin: 3rem auto 2rem;
  padding: 0 16px;
}
.fr-guide-close-inner {
  padding: 32px;
  background: linear-gradient(135deg, var(--bg-2) 0%, rgba(255,107,53,.06) 100%);
  border: 1px solid var(--ember-edge);
  border-radius: var(--radius-lg);
  text-align: center;
}
.fr-guide-close-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  margin-bottom: 12px;
}
.fr-guide-close-inner h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--stone-50);
  margin: 0 0 10px;
  line-height: 1.2;
}
.fr-guide-close-inner p {
  font-size: 15px;
  color: var(--stone-300);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 20px;
}
.fr-guide-close-cta {
  display: flex; gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* fr-progress-bar hidden in preview (the live floating FAB) */
.fr-progress-bar { display: none !important; }

/* --------------------------------------------------------------
   MAP PAGE
   -------------------------------------------------------------- */

.mc-map-notice {
  padding: 14px 20px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius);
  color: var(--stone-200);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  margin: 24px 0 20px;
}
.mc-map-notice strong {
  font-family: var(--font-mono);
  color: var(--warn);
  letter-spacing: .1em;
}
.mc-map-notice code {
  font-family: var(--font-mono);
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--ember);
}

.mc-map-wrap { padding-bottom: 72px; }

.map-country-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  margin: 18px 0 28px;
  flex-wrap: wrap;
}
.map-country-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.map-country-select {
  padding: 10px 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke-hot);
  border-radius: var(--radius);
  color: var(--stone-100);
  font-family: var(--font-body);
  font-size: 14px;
  min-width: 280px;
  cursor: pointer;
}
.map-country-select:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 2px rgba(255,107,53,.2);
}
.map-country-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .04em;
  flex: 1;
  min-width: 200px;
}

.map-layout {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 1080px) { .map-layout { grid-template-columns: 1fr; } }

.map-alerts-panel .mc-card-body { max-height: 520px; overflow-y: auto; }
.map-center .mc-card-body { padding: 22px; min-height: 320px; }
.map-detail-panel .mc-card-body { min-height: 320px; }

.map-legend {
  display: flex; gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--stroke);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.map-legend-item { display: flex; align-items: center; gap: 6px; }
.map-legend-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  border: 1px solid currentColor;
}
.map-legend-crit { color: #fca5a5; background: rgba(239,68,68,.15); }
.map-legend-warn { color: var(--warn); background: rgba(245,158,11,.12); }
.map-legend-info { color: #7cc8ff; background: rgba(63,184,255,.1); }
.map-legend-none { color: var(--stone-500); background: rgba(30,41,59,.5); }

.map-detail-grid {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 18px;
}
.map-detail-cta {
  padding-top: 14px;
  border-top: 1px dashed var(--stroke);
}

/* alerts-* */
.alert-card {
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.alert-card.severity-critical { border-left-color: var(--crit); }
.alert-card.severity-warning { border-left-color: var(--warn); }
.alert-card.severity-watch { border-left-color: var(--ember); }
.alert-card.severity-info { border-left-color: var(--stone-400); }
.alert-event {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--stone-50);
  margin-bottom: 6px;
}
.alert-meta {
  display: flex; gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.alert-severity-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--warn);
  padding: 2px 6px;
  background: rgba(245,158,11,.1);
  border-radius: 3px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.alert-body { font-size: 13px; color: var(--stone-300); line-height: 1.55; }
.alert-areas, .alert-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-400);
  margin-top: 4px;
}
.alert-guide-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  text-decoration: none;
  letter-spacing: .08em;
}
.alert-icon { margin-right: 6px; }

.alerts-feed { padding: 12px; }
.alerts-header {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-400);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.alerts-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .08em;
}
.alerts-loading, .alerts-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone-400);
  padding: 14px;
  text-align: center;
  font-style: italic;
}
.alerts-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 6px;
  animation: mc-pulse 2.4s infinite;
}
.alerts-refresh, .alerts-source, .alerts-spinner {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .08em;
}
.alerts-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ember);
  background: var(--ember-wash);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}
.alerts-clear, .alerts-clear-link, .alerts-clear-icon, .alerts-clear-links { font-size: 12px; color: var(--stone-400); }

.global-panel { margin-top: 20px; }
.global-panel[hidden] { display: none !important; }
.global-panel .mc-card-body { padding: 22px; }
.global-notes { font-size: 13px; color: var(--stone-400); line-height: 1.6; }

/* --------------------------------------------------------------
   QUIZ / KIT / QUIZ RESULTS
   -------------------------------------------------------------- */

.quiz-form { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.quiz-q {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.quiz-q-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.quiz-q-tag {
  font-family: var(--font-mono);
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  color: var(--ember);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.quiz-q-track {
  font-size: 13px;
  color: var(--stone-400);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quiz-q-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--stone-50);
  margin-bottom: 14px;
  display: block;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.quiz-q-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (max-width: 640px) { .quiz-q-options { grid-template-columns: 1fr; } }
.quiz-q-option {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  color: var(--stone-300);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
  line-height: 1.4;
}
.quiz-q-option:hover {
  border-color: var(--stroke-hot);
  background: var(--bg-3);
  color: var(--stone-100);
}
.quiz-q-option input[type=radio] { accent-color: var(--ember); margin-top: 2px; flex-shrink: 0; }
.quiz-q-option:has(input[type=radio]:checked) {
  border-color: var(--ember);
  background: rgba(255,107,53,.08);
  color: var(--stone-50);
}
.quiz-submit-row { display: flex; justify-content: center; margin-top: 14px; }

.quiz-results-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--stroke-hot);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.quiz-results-hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ember), transparent);
}
@media (max-width: 640px) {
  .quiz-results-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
.quiz-result-ring { width: 180px; height: 180px; }
.quiz-result-big {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ember);
  line-height: 1;
}
.quiz-result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.quiz-results-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--stone-50);
  letter-spacing: -.015em;
}
.quiz-results-text p {
  font-size: 15px;
  color: var(--stone-300);
  margin: 0;
  line-height: 1.6;
  max-width: 56ch;
}

.quiz-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 860px) { .quiz-results-grid { grid-template-columns: 1fr; } }
.quiz-weak, .quiz-kit {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.quiz-weak .mc-card-label, .quiz-kit .mc-card-label {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--stroke);
}
.quiz-weak-list { display: flex; flex-direction: column; gap: 8px; }
.quiz-weak-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--stone-100);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.quiz-weak-item:hover {
  border-color: var(--ember);
  background: var(--bg-3);
  transform: translateX(3px);
}
.quiz-weak-icon { font-size: 1.4rem; flex-shrink: 0; }
.quiz-weak-track {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--stone-50);
}
.quiz-weak-score {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--warn);
  margin-top: 2px;
  letter-spacing: .08em;
}
.quiz-weak-arrow { color: var(--stone-500); font-size: 1.2rem; margin-left: auto; }
.quiz-kit-list { display: flex; flex-direction: column; gap: 4px; }
.quiz-kit-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--stone-300);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .15s ease, color .15s ease;
}
.quiz-kit-row:hover { background: var(--bg-3); color: var(--stone-50); }
.quiz-kit-row input[type=checkbox] { accent-color: var(--ember); flex-shrink: 0; }
.quiz-kit-card {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  margin-bottom: 6px;
  transition: border-color .15s ease;
}
.quiz-kit-card:hover { border-color: var(--stroke-hot); }
.quiz-kit-card-head {
  display: flex; align-items: center; gap: 10px;
  flex: 1; min-width: 0;
}
.quiz-kit-check { display: flex; align-items: center; flex-shrink: 0; }
.quiz-kit-check input { accent-color: var(--ember); }
.quiz-kit-name {
  font-size: 14px;
  color: var(--stone-100);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.quiz-kit-card:has(input:checked) .quiz-kit-name {
  color: var(--stone-500);
  text-decoration: line-through;
}
.quiz-kit-buy {
  flex-shrink: 0;
  padding: 6px 12px;
  background: var(--ember-wash);
  color: var(--ember);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
  text-transform: uppercase;
}
.quiz-kit-buy:hover { background: var(--ember); color: var(--stone-950); }
.quiz-affil-note {
  font-size: 11px;
  color: var(--stone-500);
  font-style: italic;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--stroke);
}

.quiz-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 900px) { .quiz-cta-grid { grid-template-columns: 1fr; } }
.quiz-cta-card {
  display: flex; flex-direction: column;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--stone-100);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.quiz-cta-card:hover {
  border-color: var(--ember);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.quiz-cta-ember {
  background: linear-gradient(135deg, rgba(255,107,53,.15), var(--bg-2));
  border-color: var(--ember-edge);
}
.quiz-cta-icon { font-size: 1.8rem; margin-bottom: 8px; }
.quiz-cta-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--stone-50);
}
.quiz-cta-card p {
  font-size: 14px;
  color: var(--stone-400);
  margin: 0 0 14px;
  flex: 1;
  line-height: 1.55;
}
.quiz-cta-action {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ember);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quiz-retry-row { display: flex; justify-content: center; margin-bottom: 28px; }

/* kit-* (kit builder wizard) */
.kit-hero {
  background: linear-gradient(135deg, var(--stone-950) 0%, #1a2540 100%);
  padding: 48px 24px 36px;
  text-align: center;
  border-bottom: 1px solid var(--stroke);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.kit-hero-inner { max-width: 680px; margin: 0 auto; }
.kit-hero-badge {
  display: inline-block;
  background: var(--ember-wash);
  color: var(--ember);
  border: 1px solid var(--ember-edge);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kit-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--stone-50);
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.kit-hero-sub {
  font-size: 16px;
  color: var(--stone-300);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}
.kit-builder-section { padding: 36px 0; }
.kit-builder {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kit-progress {
  background: var(--bg-3);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--stroke);
}
.kit-progress-bar-track {
  flex: 1; height: 6px;
  background: var(--stroke);
  border-radius: 3px;
  overflow: hidden;
}
.kit-progress-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--ember), var(--ember-hover));
  border-radius: 3px;
  transition: width .4s var(--ease);
}
.kit-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--stone-400);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kit-step { display: none; padding: 28px; }
.kit-step.active { display: block; }
.kit-step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--stone-50);
  margin: 0 0 8px;
}
.kit-step-sub {
  font-size: 14px;
  color: var(--stone-400);
  margin: 0 0 22px;
  line-height: 1.5;
}
.kit-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.kit-options-2col { grid-template-columns: repeat(2, 1fr); }
.kit-options-budget { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) {
  .kit-options-grid,
  .kit-options-2col,
  .kit-options-budget { grid-template-columns: 1fr; }
}
.kit-option {
  background: var(--bg-3);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
  display: flex; flex-direction: column; gap: 6px;
}
.kit-option:hover {
  border-color: var(--stone-500);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.kit-option.selected {
  border-color: var(--ember);
  background: rgba(255,107,53,.08);
}
.kit-option.selected .kit-option-label { color: var(--ember); }
.kit-option-icon { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.kit-option-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--stone-50);
  transition: color .2s ease;
}
.kit-option-desc {
  font-size: 12px;
  color: var(--stone-400);
  line-height: 1.4;
  margin: 0;
}
.kit-budget-range {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ember);
  font-weight: 600;
}
.kit-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0 6px;
  border-top: 1px solid var(--stroke);
  margin-top: 6px;
}
.kit-btn-next, .kit-btn-back, .kit-btn-build, .kit-btn-restart {
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .15s ease;
  border: 1px solid transparent;
}
.kit-btn-next, .kit-btn-build { background: var(--ember); color: var(--stone-950); }
.kit-btn-next:hover:not(:disabled),
.kit-btn-build:hover { background: var(--ember-hover); transform: translateY(-1px); }
.kit-btn-next:disabled { opacity: .35; cursor: not-allowed; }
.kit-btn-back, .kit-btn-restart {
  background: transparent;
  color: var(--stone-300);
  border-color: var(--stroke-hot);
}
.kit-btn-back:hover, .kit-btn-restart:hover {
  color: var(--stone-50);
  border-color: var(--ember);
}

.kit-results-header { padding: 28px 28px 0; border-bottom: 1px solid var(--stroke); }
.kit-results-badge {
  display: inline-block;
  background: var(--ok-wash);
  color: var(--ok);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 999px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kit-results-meta { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 22px; }
.kit-meta-tag {
  font-family: var(--font-mono);
  background: var(--bg-3);
  color: var(--stone-300);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

.kit-category { padding: 22px 28px; border-bottom: 1px solid var(--stroke); }
.kit-category:last-child { border-bottom: none; }
.kit-category-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--stone-200);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 14px;
}
.kit-items-list { display: flex; flex-direction: column; gap: 10px; }
.kit-item {
  background: var(--bg-3);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s ease;
}
.kit-item:hover { border-color: var(--stroke-hot); }
.kit-item-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer;
  flex-wrap: wrap;
}
.kit-checkbox {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--ember);
  cursor: pointer;
  flex-shrink: 0;
}
.kit-item-name {
  font-weight: 600;
  color: var(--stone-50);
  font-size: 15px;
  line-height: 1.3;
}
.kit-item-desc {
  font-size: 13px;
  color: var(--stone-400);
  margin: 0;
  line-height: 1.45;
}
.kit-amazon-btn {
  display: inline-block;
  background: var(--ember-wash);
  color: var(--ember);
  border: 1px solid var(--ember-edge);
  border-radius: var(--radius);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
  align-self: flex-start;
}
.kit-amazon-btn:hover {
  background: var(--ember);
  color: var(--stone-950);
  border-color: var(--ember);
}
.kit-badge {
  display: inline-block;
  border-radius: 3px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
.kit-badge-essential { background: rgba(239,68,68,.15); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.kit-badge-recommended { background: rgba(234,179,8,.12); color: #facc15; border: 1px solid rgba(234,179,8,.3); }
.kit-badge-bonus { background: rgba(99,102,241,.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,.3); }

.kit-results-cta { padding: 28px; }
.kit-cta-box {
  background: linear-gradient(135deg, rgba(255,107,53,.14), rgba(255,107,53,.04));
  border: 1px solid var(--ember-edge);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex; gap: 18px; align-items: flex-start;
}
@media (max-width: 640px) { .kit-cta-box { flex-direction: column; } }
.kit-cta-icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; }
.kit-cta-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--stone-50);
  margin: 0 0 6px;
}
.kit-cta-content p {
  font-size: 14px;
  color: var(--stone-300);
  margin: 0 0 14px;
  line-height: 1.55;
}
.kit-cta-btn {
  display: inline-block;
  background: var(--ember);
  color: var(--stone-950);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
.kit-cta-btn:hover { background: var(--ember-hover); transform: translateY(-1px); }
.kit-results-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.kit-affiliate-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .08em;
  margin: 0;
}
.kit-affiliate-note a { color: var(--stone-400); text-decoration: underline; }

/* --------------------------------------------------------------
   FAQ / HOWTO / APPROACH / PROBLEM
   -------------------------------------------------------------- */

.approach { margin: 1.8em 0; padding: 22px; background: var(--bg-2); border: 1px solid var(--stroke); border-radius: var(--radius-lg); }
.approach-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.approach-item { display: flex; gap: 14px; padding: 14px; background: var(--bg-1); border: 1px solid var(--stroke); border-radius: var(--radius); }
.approach-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ember);
  line-height: 1;
  flex-shrink: 0;
}
.approach-text { font-size: 14px; color: var(--stone-300); line-height: 1.55; }

.problem {
  padding: 18px 22px;
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.25);
  border-left: 3px solid var(--crit);
  border-radius: var(--radius);
  margin: 1.6em 0;
}
.problem-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--crit);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

/* --------------------------------------------------------------
   BLOG
   -------------------------------------------------------------- */

.blog-content { color: var(--stone-200); font-family: var(--font-body); }
.blog-content p { margin: 0 0 1.2em; font-size: 17px; line-height: 1.75; }
.blog-content h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--stone-50);
  margin: 2em 0 .6em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke);
  position: relative;
  letter-spacing: -.015em;
}
.blog-content h2::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 48px; height: 2px;
  background: var(--ember);
}
.blog-content h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--stone-50); margin: 1.8em 0 .4em; }
.blog-content a {
  color: var(--stone-50);
  border-bottom: 1px solid var(--ember-dim);
}
.blog-content a:hover { color: var(--ember); border-bottom-color: var(--ember); }
.blog-content blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  background: var(--panel-navy);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.blog-content ul, .blog-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.blog-content li { margin-bottom: .5em; color: var(--stone-200); }

/* --------------------------------------------------------------
   EXIT MODAL (unstyled — hidden in preview, but safe fallback)
   -------------------------------------------------------------- */
.exit-modal, .exit-modal-backdrop { display: none !important; }

/* --------------------------------------------------------------
   NEWSLETTER / SIGNUP — inline forms inside articles
   -------------------------------------------------------------- */
.newsletter-cta {
  margin: 2em 0;
  padding: 24px;
  background: var(--panel-navy);
  border: 1px solid var(--stroke-hot);
  border-radius: var(--radius-lg);
}
.newsletter-cta-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.newsletter-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--stone-50);
  margin: 8px 0 8px;
}
.newsletter-cta p { color: var(--stone-300); margin: 0 0 14px; font-size: 14px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input[type=email] {
  flex: 1;
  min-width: 200px;
  padding: 11px 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  color: var(--stone-100);
  font-family: var(--font-body);
  font-size: 14px;
}
.newsletter-form input[type=email]:focus { outline: none; border-color: var(--ember); }
.newsletter-form button {
  padding: 11px 18px;
  background: var(--ember);
  color: var(--stone-950);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease;
}
.newsletter-form button:hover { background: var(--ember-hover); }
.newsletter-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .06em;
  margin-top: 10px;
}
.newsletter-success {
  padding: 14px; background: var(--ok-wash); border-radius: var(--radius);
  color: var(--ok); font-weight: 600; text-align: center;
}
.newsletter-error {
  padding: 10px 14px; color: var(--crit);
  font-size: 13px;
}
.lead-magnet-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  background: var(--ember-wash);
  padding: 4px 10px;
  border: 1px solid var(--ember-edge);
  border-radius: 3px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.signup-form { display: flex; gap: 8px; flex-wrap: wrap; }
.signup-full { width: 100%; max-width: 420px; margin: 0 auto; }
.signup-note { font-family: var(--font-mono); font-size: 11px; color: var(--stone-500); margin-top: 6px; }
.signup-success { color: var(--ok); font-weight: 600; }
.signup-error { color: var(--crit); font-size: 13px; }

/* --------------------------------------------------------------
   FEATURED / SKILLS / TRACKS SECTIONS (listing pages residual)
   -------------------------------------------------------------- */
.featured-section, .skills, .tracks-section { padding: 48px 0; }
.featured-grid, .skills-grid, .tracks-grid, .guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .featured-grid, .skills-grid, .tracks-grid, .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .featured-grid, .skills-grid, .tracks-grid, .guides-grid { grid-template-columns: 1fr; }
}
.featured-card, .skill-card, .track-card {
  display: flex; flex-direction: column;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  color: var(--stone-100);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
  text-decoration: none;
}
.featured-card:hover, .skill-card:hover, .track-card:hover {
  border-color: var(--stroke-hot);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.skill-icon, .track-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}
.card-desc { font-size: 14px; color: var(--stone-400); line-height: 1.55; margin: 8px 0 12px; }
.card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex; gap: 10px;
}
.card-track { color: var(--ember); }
.card-difficulty { color: var(--stone-400); }
.card-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: auto;
}
.track-count, .guides-count, .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-400);
}

/* --------------------------------------------------------------
   CALLOUTS (general)
   -------------------------------------------------------------- */
.callout.info { border-left-color: var(--ember); background: var(--ember-wash); }
.callout.info strong { color: var(--ember); }
.callout.tip { border-left-color: var(--ok); background: var(--ok-wash); }
.callout.tip strong { color: var(--ok); }

.pro-tip {
  padding: 14px 18px;
  background: var(--panel-navy);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.2em 0;
}
.pro-tip::before {
  content: "PRO TIP";
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ember);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------
   LISTING-SECTION WRAPPER (hosts the original grid)
   -------------------------------------------------------------- */
.mc-listing-section {
  padding: 0 0 72px;
}

/* --------------------------------------------------------------
   BLOG LISTING
   - Full-width listing page (no mc-article-layout wrapper)
   - Category-pill filter bar + responsive card grid
   -------------------------------------------------------------- */

/* Listing-page hero lead text */
.mc-blog-hero .lead .mc-mono {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: var(--stone-500);
  letter-spacing: .08em;
}

/* Filter bar */
.mc-blog-filters { padding: 8px 0 6px; }
.mc-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 12px 0 20px;
}
.mc-filter-pill {
  background: var(--bg-2);
  color: var(--stone-300);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.mc-filter-pill:hover {
  border-color: var(--ember);
  color: var(--stone-100);
  transform: translateY(-1px);
}
.mc-filter-pill.is-active {
  background: var(--ember);
  color: var(--stone-950);
  border-color: var(--ember);
  font-weight: 600;
}
.mc-filter-pill:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

/* Listing grid wrapper */
.mc-blog-listing-wrap { padding: 4px 0 72px; }

/* Core grid — used by listing page markup. We intentionally keep
   .mc-blog-listing decoupled here (it is only ever a wrapper section,
   not a grid). */
.mc-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 12px 0 40px;
}
@media (max-width: 1100px) { .mc-blog-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
@media (max-width: 640px)  { .mc-blog-grid { grid-template-columns: 1fr; } }

/* Card — media on top, text below. Media has a fixed aspect ratio so
   cards all have the same visual rhythm regardless of image dimensions. */
.mc-blog-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--stone-100);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  display: flex;
  flex-direction: column;
  min-width: 0; /* prevent grid track overflow when titles are long */
}
.mc-blog-card[hidden] { display: none !important; }
.mc-blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--ember);
  background: var(--bg-3);
}
.mc-blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.mc-blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--stone-900);
}
.mc-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.mc-blog-card:hover .mc-blog-card-media img { transform: scale(1.04); }
.mc-blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,107,53,0.15);
  color: var(--ember);
  border: 1px solid var(--ember-edge);
  backdrop-filter: blur(4px);
}
/* Per-category tint variants — keep subtle so ember still dominates */
.mc-blog-card-tag-food      { background: rgba(16,185,129,.14);  color: #34d399; border-color: rgba(16,185,129,.35); }
.mc-blog-card-tag-water     { background: rgba(59,130,246,.14);  color: #60a5fa; border-color: rgba(59,130,246,.35); }
.mc-blog-card-tag-fire      { background: rgba(239,68,68,.14);   color: #f87171; border-color: rgba(239,68,68,.35); }
.mc-blog-card-tag-power     { background: rgba(245,158,11,.14);  color: #fbbf24; border-color: rgba(245,158,11,.35); }
.mc-blog-card-tag-first-aid { background: rgba(244,114,182,.14); color: #f472b6; border-color: rgba(244,114,182,.35); }
.mc-blog-card-tag-diy-gear  { background: rgba(148,163,184,.14); color: #cbd5e1; border-color: rgba(148,163,184,.35); }
.mc-blog-card-tag-urban     { background: rgba(167,139,250,.14); color: #a78bfa; border-color: rgba(167,139,250,.35); }
.mc-blog-card-tag-seasonal  { background: rgba(234,179,8,.14);   color: #facc15; border-color: rgba(234,179,8,.35); }
.mc-blog-card-tag-scenarios { background: rgba(255,107,53,.15);  color: var(--ember); border-color: var(--ember-edge); }

.mc-blog-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.mc-blog-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--stone-50);
  margin: 0;
  /* Clamp to 3 lines for a clean card grid */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mc-blog-card-excerpt {
  font-size: 13.5px;
  color: var(--stone-400);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mc-blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--stone-500);
  padding-top: 10px;
  margin-top: auto;
  border-top: 1px solid var(--stroke);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}
.mc-blog-card-meta .mc-sep { color: var(--stone-700); }

/* --------------------------------------------------------------
   LEGACY CLASSES (keep so any other pages that use .mc-blog-listing
   article / .mc-blog-category / .mc-blog-title still render properly —
   but the new listing uses .mc-blog-card markup above.)
   -------------------------------------------------------------- */
.mc-blog-listing article {
  display: flex; flex-direction: column;
  padding: 22px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  color: var(--stone-100);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.mc-blog-listing article:hover {
  border-color: var(--stroke-hot);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.mc-blog-category {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ember);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mc-blog-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--stone-50); margin: 0 0 10px; }
.mc-blog-excerpt { font-size: 14px; color: var(--stone-400); line-height: 1.55; margin: 0 0 12px; flex: 1; }
.mc-blog-date { font-family: var(--font-mono); font-size: 11px; color: var(--stone-500); letter-spacing: .08em; margin-top: auto; }

/* --------------------------------------------------------------
   HOME LATEST — blog-card strip on the homepage
   (reuses .mc-blog-card rules above for visual consistency with /blog/)
   -------------------------------------------------------------- */
.mc-home-latest { padding: 64px 0; }
.mc-home-latest-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.mc-home-latest-header .section-label { color: var(--ember); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.mc-home-latest-header .section-title { font-size: 28px; margin: 6px 0 0; color: var(--stone-50); font-family: var(--font-display); }
.mc-home-latest-viewall {
  color: var(--ember);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  letter-spacing: .04em;
  transition: opacity .15s ease, transform .15s ease;
}
.mc-home-latest-viewall:hover { opacity: .78; transform: translateX(2px); }
.mc-home-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
@media (max-width: 640px) {
  .mc-home-latest-grid { grid-template-columns: 1fr; }
  .mc-home-latest-header { align-items: flex-start; }
}

/* --------------------------------------------------------------
   ENLIST / SOCIAL PROOF / HERO-STATS (homepage leftovers if any)
   -------------------------------------------------------------- */
.mc-enlist, .mc-enlist-form, .mc-enlist-inner { display: block; }
.social-proof {
  display: flex; gap: 28px; justify-content: center;
  padding: 28px; flex-wrap: wrap;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  margin: 28px 0;
}
.proof-stat { text-align: center; }
.proof-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 4px;
}
.proof-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--stone-500);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------
   YT LAZY + VIDEO
   -------------------------------------------------------------- */
.yt-lazy {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.yt-lazy-thumb { width: 100%; height: 100%; object-fit: cover; }
.yt-lazy-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--stone-50);
  background: rgba(0,0,0,.3);
  transition: background .15s ease;
}
.yt-lazy-play:hover { background: rgba(0,0,0,.5); color: var(--ember); }
.yt-lazy-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  color: var(--stone-50);
  font-family: var(--font-display);
  font-size: 14px;
}
.yt-lazy-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ember);
  margin-bottom: 4px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------
   SCATTERED MISC (severity / stat / risk / badge)
   -------------------------------------------------------------- */
.badge-essential, .kit-badge-essential { background: rgba(239,68,68,.15); color: #f87171; }
.badge-recommended, .kit-badge-recommended { background: rgba(234,179,8,.12); color: #facc15; }
.badge-bonus, .kit-badge-bonus { background: rgba(99,102,241,.15); color: #a5b4fc; }

.hot { color: var(--ember); }
.gold { color: var(--warn); }
.critical { color: var(--crit); }
.warning { color: var(--warn); }
.watch { color: var(--ember); }
.done { opacity: .7; }
.selected { border-color: var(--ember) !important; background: rgba(255,107,53,.06); }
.active { /* context-dependent; most uses carry own styling */ }
.open { display: block; }
.current { color: var(--ember); }

/* --------------------------------------------------------------
   MC-PROSE TWEAK (for blog posts especially) — wider table support
   -------------------------------------------------------------- */
.mc-prose .cl-item,
.mc-prose .cl-toc-item,
.mc-prose .scenario-phase-items li {
  color: var(--stone-200);
}

/* Preserve source-styled headers (like .mc-header used on listing pages) visible */
article .mc-header { margin-top: 0; }

/* --------------------------------------------------------------
   ICONS MISC
   -------------------------------------------------------------- */
.proof-icon { font-size: 1.5rem; }
.scenario-tab-icon, .scenario-icon, .tripwire-icon, .kit-cta-icon,
.bundle-product-icon, .mc-path-icon, .mc-track-hub-icon {
  line-height: 1;
}

/* --------------------------------------------------------------
   COVERAGE FILL-INS — extra classes used on various pages
   -------------------------------------------------------------- */

/* cl-close-right — the perks column on the checklist closing page */
.cl-close-right {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: var(--stone-200);
  line-height: 1.55;
}
.cl-close-right > div { padding: 6px 0; border-bottom: 1px dashed var(--stroke); }
.cl-close-right > div:last-child { border-bottom: none; }

/* cl-color-vehicle — eighth track color (gray-slate) */
.cl-color-vehicle { border-left-color: #94a3b8 !important; }
.cl-section.cl-color-vehicle .cl-page-header { border-bottom-color: #94a3b8; }
.cl-section.cl-color-vehicle .cl-page-title { color: #cbd5e1; }

/* cl-ro3-item — alt markup for rule-of-3s items */
.cl-ro3-item {
  padding: 14px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

/* bundle-math-save-val — visible value in save row */
.bundle-math-save-val {
  font-family: var(--font-mono);
  color: var(--ember);
  font-weight: 700;
}

/* Guide meta - version / read labels */
.fr-guide-version, .fr-guide-read {
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

/* Fine print */
.fine-print {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  letter-spacing: .06em;
  line-height: 1.5;
}

/* Section dividers */
.section-divider {
  border: none;
  height: 1px;
  background: var(--stroke);
  margin: 3em 0;
}

/* Utility accent classes used in various cards */
.accent { color: var(--ember); }
.dot { color: var(--stone-600); padding: 0 4px; }
.fill { flex: 1; }
.first { color: var(--ember); font-weight: 700; }

/* Track color helpers (non-cl prefix) */
.water { color: #7dd3fc; }
.food { color: #6ee7b7; }
.fire { color: var(--ember); }
.shelter { color: #fcd34d; }
.gear { color: #cbd5e1; }
.diy { color: #cbd5e1; }
.mindset { color: #c7d2fe; }

/* Cat-* (map detail state pill) */
.cat-id, .cat-name, .cat-desc, .cat-count, .cat-arrow, .cat-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-400);
  letter-spacing: .06em;
}
.cat-name { color: var(--stone-50); font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.cat-arrow { color: var(--ember); }

/* Plan builder utility labels */
.plan-label, .pricing-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ember);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* PWA install banner stubs (hidden in preview but defensive) */
.install-banner, .pwa-install-banner { display: none !important; }

/* Ensure print buttons/anchors get a sensible appearance */
button.mc-btn { border: 1px solid transparent; }
button.mc-btn-ghost { background: transparent; }

/* --------------------------------------------------------------
   MAP — US geographic SVG (#usMap / #usMapSvg)
   Real US map replacing prior hex-tile grid. Inline SVG rendered
   server-side in /map/index.html. One <path class="mc-state"
   data-code="XX"> per state; labels are <text class="mc-state-label">.
   Swapped in 2026-04-18 (replaces button grid — prior version in git).
   -------------------------------------------------------------- */
.mc-usmap {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,107,53,.05), transparent 70%),
    var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg, 10px);
  padding: 10px;
}
.mc-usmap-geo { min-height: 0; }
@media (max-width: 720px) {
  .mc-usmap { padding: 6px; }
}

.mc-usmap-svg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--stone-200);
  overflow: visible;
}

/* Default state fill — neutral tile (path + synthetic DC circle) */
path.mc-state,
circle.mc-state {
  fill: var(--bg-3);
  stroke: var(--stroke-hot);
  stroke-width: 0.75;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill .12s ease, stroke .12s ease, stroke-width .12s ease, filter .12s ease;
  outline: none;
}
path.mc-state:hover,
circle.mc-state:hover {
  fill: var(--stone-800);
  stroke: var(--ember);
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 6px rgba(255,107,53,0.25));
}
path.mc-state:focus,
circle.mc-state:focus {
  stroke: var(--ember);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 0 2px rgba(255,107,53,0.35));
}

/* Severity tints — applied by RISK_MAP baseline, overridden by live NWS alerts */
path.mc-state-info,
circle.mc-state-info {
  fill: rgba(63,184,255,.18);
  stroke: rgba(63,184,255,.55);
}
path.mc-state-info:hover,
circle.mc-state-info:hover {
  fill: rgba(63,184,255,.32);
  stroke: #7cc8ff;
}
path.mc-state-warn,
circle.mc-state-warn {
  fill: rgba(245,158,11,.22);
  stroke: rgba(245,158,11,.6);
}
path.mc-state-warn:hover,
circle.mc-state-warn:hover {
  fill: rgba(245,158,11,.38);
  stroke: var(--warn);
}
path.mc-state-crit,
circle.mc-state-crit {
  fill: rgba(239,68,68,.28);
  stroke: rgba(239,68,68,.65);
}
path.mc-state-crit:hover,
circle.mc-state-crit:hover {
  fill: rgba(239,68,68,.44);
  stroke: var(--crit);
}

/* Active state — the one the user just clicked */
path.mc-state.active,
circle.mc-state.active {
  fill: var(--ember);
  stroke: var(--ember);
  stroke-width: 1.5;
  filter: drop-shadow(0 4px 12px rgba(255,107,53,0.45));
}
path.mc-state.active:hover,
circle.mc-state.active:hover {
  fill: var(--ember);
}

/* State labels (centroid + callouts) */
.mc-usmap-svg .mc-state-label {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .04em;
  fill: var(--stone-100);
  paint-order: stroke;
  stroke: rgba(10,10,10,0.55);
  stroke-width: 2.2;
  stroke-linejoin: round;
  user-select: none;
}
.mc-usmap-svg .mc-state-label-callout {
  fill: var(--stone-200);
}
.mc-usmap-svg line.mc-state-callout {
  stroke: var(--stone-400);
  opacity: 0.55;
}

/* Mobile: shrink labels, hide the tiniest ones below 500px */
@media (max-width: 720px) {
  .mc-usmap-svg .mc-state-label {
    font-size: 0.9em;
    stroke-width: 1.6;
  }
}
@media (max-width: 500px) {
  .mc-usmap-svg .mc-state-label,
  .mc-usmap-svg line.mc-state-callout { display: none; }
}

/* Risk chip in the detail panel — unchanged, reused from prior map CSS */
.mc-risk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--stone-200);
  font-family: var(--font-body);
  font-size: 12px;
  text-decoration: none;
  transition: background .12s, border-color .12s, color .12s;
}
.mc-risk-chip:hover {
  background: var(--ember-wash);
  border-color: var(--ember-edge);
  color: var(--stone-50);
}
.mc-risk-icon { font-size: 14px; }
.mc-risk-name { font-weight: 500; }


/* ==========================================================
   HOMEPAGE
   Page-specific rules for /index.html (command-center-branded
   homepage). Migrated from inline <style> block 2026-04-18.
   Everything here is hero + readout + readiness + cat-grid +
   intel-feed + product-line + homepage responsive tweaks.
   Rules that overlap 1:1 with the core above (statusbar, nav,
   brand, buttons, section-head, mc-footer-cta, foot-grid,
   reveal, palette, body::before/::after, focus, reduced-motion,
   frame) are intentionally NOT duplicated here.
   ========================================================== */

/* ---- Hero ---- */
.mc-hero { padding: 72px 0 56px; position: relative; }
.mc-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.mc-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 28px;
  padding: 6px 12px;
  border: 1px solid var(--ember-edge);
  background: var(--ember-wash);
  border-radius: 999px;
}
.mc-hero-eyebrow .tick {
  width: 6px; height: 6px; background: var(--ember); border-radius: 50%;
}
.mc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 24px;
  font-weight: 600;
  color: var(--stone-50);
}
.mc-hero h1 .accent {
  color: var(--ember);
  font-style: normal;
  position: relative;
}
.mc-hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 6px;
  background: var(--ember-wash);
  z-index: -1;
}
.mc-hero-motto {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 32px;
}
.mc-hero-motto .hot { color: var(--stone-200); }
.mc-hero-lead {
  font-size: 18px;
  color: var(--stone-300);
  max-width: 560px;
  margin: 0 0 40px;
  line-height: 1.55;
}
.mc-hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ---- Hero stat strip ---- */
.mc-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--stroke);
  padding-top: 28px;
  gap: 0;
}
.mc-stat { padding: 4px 0; position: relative; }
.mc-stat + .mc-stat { padding-left: 20px; }
.mc-stat + .mc-stat::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px;
  background: var(--stroke);
}
.mc-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 6px;
}
.mc-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--stone-50);
}
.mc-stat-value .unit {
  font-size: 14px;
  color: var(--stone-500);
  font-weight: 500;
  margin-left: 2px;
  font-family: var(--font-mono);
}

/* ---- Hero right-side navy readout panel ---- */
.mc-readout {
  background: var(--panel-navy);
  border: 1px solid var(--panel-navy-stroke);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.mc-readout::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: .6;
}
.mc-readout-header {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-400);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 18px;
}
.mc-readout-header .mc-title { color: var(--stone-100); }
.mc-readout-header a.mc-title { transition: color .15s ease; }
.mc-readout-header a.mc-title:hover { color: var(--ember); cursor: pointer; }
.mc-readout-header .live {
  color: var(--ok);
  display: inline-flex; align-items: center; gap: 6px;
}
.mc-readout-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  font-size: 13px;
}
.mc-readout-row:last-child { border-bottom: none; }
.mc-readout-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.mc-readout-row .v {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--stone-100);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.mc-readout-row .v.ok { color: var(--ok); }
.mc-readout-row .v.warn { color: var(--warn); }
.mc-readout-row .v.hot { color: var(--ember); }
.mc-readout-footer {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-500);
  display: flex; justify-content: space-between;
}

/* Hover color for the Mission Control brand-tag link when present in nav */
a.mc-brand-tag:hover { color: var(--ember); cursor: pointer; }

/* ---- Homepage section dividers ---- */
/* Uses shared .section but homepage wants a top border + padding specific
   to the long-form narrative flow (intel → readiness → products). */
.mc-home .section,
body > main > .section {
  /* no-op placeholder — rely on shared .section; kept here only for
     future homepage-scoped overrides without touching the global rule. */
}

/* ---- Readiness check block ---- */
.mc-readiness {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.mc-readiness-left { padding: 36px 40px; border-right: 1px solid var(--stroke); }
.mc-readiness-right {
  padding: 36px 40px;
  background:
    radial-gradient(400px 200px at 100% 0%, var(--ember-wash), transparent 70%),
    var(--bg-1);
  display: flex; flex-direction: column;
}
.mc-readiness-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 10px;
}
.mc-readiness h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.01em;
  color: var(--stone-50);
}
.mc-readiness-desc {
  color: var(--stone-400);
  font-size: 14px;
  margin: 0 0 28px;
  line-height: 1.55;
}
.rq-item {
  display: block;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  font-size: 14px;
  color: var(--stone-300);
  line-height: 1.5;
  position: relative;
}
.rq-item:hover { border-color: var(--stroke-hot); color: var(--stone-100); }
.rq-item input { position: absolute; opacity: 0; pointer-events: none; }
.rq-item .rq-box {
  display: inline-block;
  width: 16px; height: 16px;
  border: 1px solid var(--stone-600);
  border-radius: 3px;
  margin-right: 12px;
  vertical-align: -3px;
  position: relative;
  transition: border-color .15s ease, background .15s ease;
}
.rq-item input:checked ~ .rq-box {
  background: var(--ember);
  border-color: var(--ember);
}
.rq-item input:checked ~ .rq-box::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 8px;
  border-right: 2px solid var(--stone-950);
  border-bottom: 2px solid var(--stone-950);
  transform: rotate(45deg);
}
.rq-item:has(input:checked) {
  border-color: var(--ember);
  background: var(--ember-wash);
  color: var(--stone-100);
}

/* ---- Score gauge (homepage large variant) ---- */
.mc-score-gauge {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 20px 0;
}
.mc-score-ring {
  width: 200px; height: 200px;
  position: relative;
  margin-bottom: 24px;
}
.mc-score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mc-score-ring .track { stroke: var(--stroke); }
.mc-score-ring .fill {
  stroke: var(--ember);
  transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1), stroke .4s ease;
  filter: drop-shadow(0 0 8px var(--ember-glow));
}
.mc-score-ring.good .fill { stroke: var(--ok); filter: drop-shadow(0 0 8px var(--ok-wash)); }
.mc-score-ring.warn .fill { stroke: var(--ember); }
.mc-score-ring.crit .fill { stroke: var(--crit); }
.mc-score-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mc-score-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--stone-50);
  font-variant-numeric: tabular-nums;
}
.mc-score-max {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-top: 4px;
}
.mc-score-rating {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}
.mc-score-rating.good { color: var(--ok); }
.mc-score-rating.warn { color: var(--ember); }
.mc-score-rating.crit { color: var(--crit); }
.mc-score-next {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: auto;
  font-size: 13px;
  color: var(--stone-300);
  line-height: 1.5;
}
.mc-score-next-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 6px;
}
.mc-score-next a {
  color: var(--ember);
  font-weight: 700;
  border-bottom: 1px solid var(--ember-dim);
}
.mc-score-next a:hover { color: var(--ember-hover); border-color: var(--ember); }

/* ---- Category grid ---- */
.mc-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mc-cat-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  display: flex; flex-direction: column;
  min-height: 190px;
}
.mc-cat-card::before {
  content: "";
  position: absolute; left: 0; top: 0; width: 3px; height: 30px;
  background: var(--ember);
  opacity: 0;
  transition: opacity .2s ease, height .2s ease;
}
.mc-cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--stroke-hot);
  background: var(--bg-3);
}
.mc-cat-card:hover::before { opacity: 1; height: 60%; }
.mc-cat-card .cat-id {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-600);
  margin-bottom: 10px;
}
.mc-cat-card .cat-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 6px;
  color: var(--stone-50);
}
.mc-cat-card .cat-desc {
  font-size: 13px;
  color: var(--stone-400);
  margin-bottom: auto;
  padding-bottom: 16px;
  line-height: 1.5;
}
.mc-cat-card .cat-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--stone-500);
  padding-top: 14px;
  border-top: 1px solid var(--stroke);
}
.mc-cat-card .cat-count { color: var(--ember); font-weight: 600; }
.mc-cat-card .cat-arrow { transition: transform .2s ease; }
.mc-cat-card:hover .cat-arrow { transform: translateX(4px); color: var(--ember); }

/* ---- Intel feed ---- */
.mc-intel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.mc-intel-list {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mc-intel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-400);
  background: var(--bg-1);
}
.mc-intel-row {
  display: grid;
  grid-template-columns: 110px 1fr 140px 100px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--stroke);
  font-size: 14px;
  transition: background .15s ease;
  cursor: pointer;
}
.mc-intel-row:last-child { border-bottom: none; }
.mc-intel-row:hover { background: var(--bg-3); }
.mc-intel-row:hover .intel-title { color: var(--ember); }
.intel-ts {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--stone-500);
  letter-spacing: .05em;
}
.intel-title {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--stone-100);
  transition: color .15s ease;
  line-height: 1.4;
}
.intel-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.intel-cat .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember); margin-right: 8px; vertical-align: 1px;
}
.intel-cat.water .dot   { background: #3b82f6; }
.intel-cat.fire .dot    { background: var(--ember); }
.intel-cat.food .dot    { background: var(--ok); }
.intel-cat.diy .dot     { background: #a78bfa; }
.intel-cat.first .dot   { background: var(--crit); }
.intel-cat.shelter .dot { background: #ec4899; }
.intel-cat.urban .dot   { background: #06b6d4; }
.intel-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  text-align: center;
}
.intel-badge.new { background: var(--ember-wash); color: var(--ember); border: 1px solid var(--ember-edge); }
.intel-badge.upd { background: var(--ok-wash); color: var(--ok); border: 1px solid var(--ok-dim); }

/* ---- Homepage mission sidebar panels ----
   These are the small product/mission panels in the intel-feed right column.
   SCOPED under .mc-mission so they do not collide with the primary dashboard
   .mc-panel rule defined in the MISSION CONTROL section below (which is a
   gradient premium card with an ember top-sweep ::before). */
.mc-mission {
  display: flex; flex-direction: column; gap: 16px;
}
.mc-mission .mc-panel {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  overflow: visible; /* override mission-control variant */
  position: static;
}
.mc-mission .mc-panel::before { content: none; } /* no ember sweep on the sidebar variant */
.mc-mission .mc-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-400);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 14px;
  background: transparent;
}
.mc-mission .mc-panel-head .status {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ok);
}
.mc-mission-item {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed var(--stroke);
  font-size: 13px;
  align-items: flex-start;
}
.mc-mission-item:last-child { border-bottom: none; }
.mc-mission-thumb {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--bg-1);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ember);
  letter-spacing: .1em;
  line-height: 1.1;
  text-align: center;
}
.mc-mission-body { flex: 1; min-width: 0; }
.mc-mission-title {
  font-weight: 500;
  color: var(--stone-100);
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.mc-mission-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--stone-500);
  text-transform: uppercase;
}
.mc-mission-price { color: var(--ember); font-weight: 600; }

/* ---- Product line (homepage large product cards) ---- */
.mc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mc-product-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  transition: border-color .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}
.mc-product-card:hover { border-color: var(--ember-edge); transform: translateY(-2px); }
.mc-product-card.featured { border-color: var(--ember); }
.mc-product-card.featured::before {
  content: "BUNDLE";
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  padding: 3px 8px;
  background: var(--ember);
  color: var(--stone-950);
  border-radius: 3px;
}
.mc-product-price {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--ember);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.mc-product-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  color: var(--stone-50);
}
.mc-product-desc {
  font-size: 13px;
  color: var(--stone-400);
  margin-bottom: auto;
  padding-bottom: 16px;
  line-height: 1.5;
}
.mc-product-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .15s ease;
}
.mc-product-card:hover .mc-product-link { gap: 10px; }

/* ---- Homepage footer CTA email form (extends shared .mc-footer-cta) ---- */
.mc-footer-cta form {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  max-width: 480px; margin: 0 auto;
}
.mc-footer-cta input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 14px 16px;
  border: 1px solid var(--stroke-hot);
  background: var(--bg-1);
  color: var(--stone-100);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
}
.mc-footer-cta input[type="email"]::placeholder { color: var(--stone-500); }
.mc-footer-cta input[type="email"]:focus { border-color: var(--ember); }
.mc-footer-cta .mc-btn { padding: 14px 20px; }
.mc-footer-cta .fine-print {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-600);
}

/* ---- Homepage responsive ---- */
@media (max-width: 1080px) {
  .mc-hero-grid { grid-template-columns: 1fr; }
  .mc-readout { max-width: 480px; }
  .mc-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .mc-product-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-intel-grid { grid-template-columns: 1fr; }
  .mc-readiness { grid-template-columns: 1fr; }
  .mc-readiness-left { border-right: none; border-bottom: 1px solid var(--stroke); }
}
@media (max-width: 768px) {
  .mc-hero { padding: 48px 0 40px; }
  .mc-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .mc-stat + .mc-stat { padding-left: 0; }
  .mc-stat:nth-child(3) { padding-left: 20px; }
  .mc-stat + .mc-stat::before { display: none; }
  .mc-stat:nth-child(even)::before {
    content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--stroke);
  }
  .mc-cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mc-cat-card { padding: 18px; min-height: 160px; }
  .mc-product-grid { grid-template-columns: 1fr; }
  .mc-readiness-left, .mc-readiness-right { padding: 26px 22px; }
  .mc-intel-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 18px;
  }
  .intel-ts { order: 3; }
  .intel-cat { order: 2; }
  .intel-badge { justify-self: start; }
  .mc-intel-header { padding: 14px 18px; }
  .mc-score-ring { width: 160px; height: 160px; }
  .mc-score-value { font-size: 46px; }
}
@media (max-width: 480px) {
  .mc-cat-grid { grid-template-columns: 1fr; }
  .mc-hero h1 { font-size: 36px; }
  .mc-hero-lead { font-size: 16px; }
}

/* ==========================================================
   MISSION CONTROL
   Page-specific rules for /mission-control/index.html.
   Migrated from inline <style> block 2026-04-18.
   NOTE on .mc-panel:
     Mission Control uses .mc-panel as a PRIMARY dashboard card
     with gradient bg + ember top-sweep ::before. The homepage
     uses the same class name for plain sidebar panels — which
     are scoped above under `.mc-mission .mc-panel` to avoid
     collision. The unscoped rule below is therefore the
     canonical `.mc-panel` treatment across the site.
   ========================================================== */

/* ---- Mission Control page header ---- */
.mc-page-head { padding: 48px 0 24px; }
.mc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-400);
  background: var(--ember-wash);
  border: 1px solid var(--ember-edge);
  padding: 6px 12px;
  border-radius: 999px;
}
.mc-eyebrow .tick {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember-glow);
}
.mc-page-head h1 {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 14px 0 10px;
  color: var(--stone-50);
}
.mc-page-head h1 .accent { color: var(--ember); }
.mc-page-lead {
  font-size: 18px;
  color: var(--stone-300);
  max-width: 680px;
  margin: 0;
}
.mc-page-meta {
  margin-top: 18px;
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.mc-page-meta span .val { color: var(--stone-200); }
.mc-page-meta .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--stone-700);
  align-self: center; display: inline-block; margin: 0 2px;
}

/* ---- Dashboard grid ---- */
.mc-dash { padding: 12px 0 56px; }
.mc-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.mc-grid .col-a { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mc-grid .col-b { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---- Primary panel / card (Mission Control variant) ---- */
.mc-panel {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.mc-panel::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember-edge), transparent);
  opacity: .5;
}
.mc-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(0,0,0,.2);
}
.mc-panel-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-300);
}
.mc-panel-title .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 10px var(--ember-glow);
}
.mc-panel-title.ok .dot {
  background: var(--ok);
  box-shadow: 0 0 10px rgba(16,185,129,.4);
  animation: mc-pulse 2.4s infinite;
}
.mc-panel-action {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.mc-panel-action a { color: var(--ember); transition: color .15s ease; }
.mc-panel-action a:hover { color: var(--ember-hover); }
.mc-panel-body { padding: 22px 20px; }

/* ---- Threat readout ---- */
.mc-threat-top {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 18px;
}
.mc-threat-level {
  display: flex; flex-direction: column; gap: 4px;
}
.mc-threat-level .lvl-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.mc-threat-level .lvl-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.mc-threat-level.ok .lvl-value { color: var(--ok); }
.mc-threat-level.warn .lvl-value { color: var(--warn); }
.mc-threat-level.crit .lvl-value { color: var(--crit); }
.mc-threat-note {
  color: var(--stone-300);
  font-size: 14px;
  max-width: 480px;
}
.mc-threat-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--stroke-hot);
  background: transparent;
  color: var(--stone-100);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.mc-threat-cta:hover {
  border-color: var(--ember);
  color: var(--ember);
  background: var(--ember-wash);
}
.mc-threat-rows { display: flex; flex-direction: column; gap: 10px; }
.mc-threat-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: border-color .15s ease, transform .15s ease;
}
.mc-threat-row:hover { border-color: var(--stroke-hot); transform: translateX(2px); }
.mc-threat-row .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}
.mc-threat-row .badge.ok   { background: var(--ok-wash);   color: var(--ok);   border: 1px solid rgba(16,185,129,.3); }
.mc-threat-row .badge.warn { background: var(--warn-wash); color: var(--warn); border: 1px solid rgba(245,158,11,.3); }
.mc-threat-row .badge.crit { background: var(--crit-wash); color: var(--crit); border: 1px solid rgba(239,68,68,.3); }
.mc-threat-row .body { color: var(--stone-200); font-size: 14px; }
.mc-threat-row .body strong { color: var(--stone-50); font-weight: 600; }
.mc-threat-row .body .meta {
  color: var(--stone-500); font-size: 12px;
  display: block; margin-top: 2px;
  font-family: var(--font-mono); letter-spacing: .04em;
}
.mc-threat-row .go {
  font-family: var(--font-mono); font-size: 11px; color: var(--stone-400);
  transition: color .15s ease;
}
.mc-threat-row:hover .go { color: var(--ember); }

/* ---- Mission Control guides (2-column inside a panel) ---- */
.mc-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mc-guide-card {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.mc-guide-card:hover {
  border-color: var(--ember-edge);
  transform: translateY(-2px);
  background: var(--bg-3);
}
.mc-guide-track {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}
.mc-guide-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--stone-50);
  line-height: 1.25;
  margin: 0 0 8px;
}
.mc-guide-desc {
  font-size: 13px;
  color: var(--stone-400);
  line-height: 1.45;
  margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mc-guide-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.mc-guide-meta .go { color: var(--ember); }

/* ---- Mission Control product status strip (small cards) ----
   Distinct from homepage .mc-product-card — this is the 4-up
   compact "Gumroad Status" strip inside a panel body. */
.mc-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mc-prod-card {
  background: var(--bg-2);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  transition: border-color .15s ease, transform .15s ease;
}
.mc-prod-card:hover { border-color: var(--ember-edge); transform: translateY(-2px); }
.mc-prod-card.featured { border-color: var(--ember); }
.mc-prod-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ok);
  margin-bottom: 10px;
}
.mc-prod-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px rgba(16,185,129,.4);
}
.mc-prod-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 6px;
}
.mc-prod-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--stone-50);
  margin-bottom: 4px;
}
.mc-prod-desc {
  font-size: 12px;
  color: var(--stone-400);
  line-height: 1.4;
  margin-bottom: 14px;
  min-height: 34px;
}
.mc-prod-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ember);
  transition: gap .15s ease;
}
.mc-prod-card:hover .mc-prod-link { gap: 10px; }

/* ---- Mission Control readiness widget (small ring) ----
   Distinct from homepage's .mc-score-ring (200px). */
.mc-score-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 10px 0 6px;
}
.mc-score-ring-small { position: relative; width: 140px; height: 140px; }
.mc-score-ring-small svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mc-score-ring-small circle { fill: none; stroke-width: 10; }
.mc-score-ring-small .track { stroke: var(--stroke); }
.mc-score-ring-small .fill {
  stroke: var(--stone-500);
  transition: stroke-dashoffset .7s var(--ease), stroke .3s ease;
  stroke-linecap: round;
}
.mc-score-ring-small.good .fill    { stroke: var(--ok); }
.mc-score-ring-small.warn .fill    { stroke: var(--warn); }
.mc-score-ring-small.crit .fill    { stroke: var(--crit); }
.mc-score-ring-small.unknown .fill { stroke: var(--stone-600); stroke-dasharray: 4 6; }
.mc-score-val-small {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--stone-50);
}
.mc-score-val-small .n { font-size: 40px; line-height: 1; }
.mc-score-val-small .u {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; color: var(--stone-500);
  text-transform: uppercase; margin-top: 4px;
}
.mc-score-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}
.mc-score-status.good    { color: var(--ok); }
.mc-score-status.warn    { color: var(--warn); }
.mc-score-status.crit    { color: var(--crit); }
.mc-score-status.unknown { color: var(--stone-400); }
.mc-score-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: var(--ember);
  color: var(--stone-950);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
}
.mc-score-cta:hover {
  transform: translateY(-1px);
  background: var(--ember-hover);
  box-shadow: 0 10px 24px -10px var(--ember-glow);
}
.mc-score-cta.secondary {
  background: transparent;
  border: 1px solid var(--stroke-hot);
  color: var(--stone-100);
}
.mc-score-cta.secondary:hover {
  border-color: var(--ember);
  color: var(--ember);
  background: var(--ember-wash);
  box-shadow: none;
  transform: none;
}

/* ---- Quick-jump panel ---- */
.mc-jump-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.mc-jump-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--stone-200);
  font-size: 14px;
  border: 1px solid transparent;
  transition: all .15s ease;
}
.mc-jump-list li a:hover {
  background: var(--bg-2);
  border-color: var(--stroke);
  color: var(--stone-50);
}
.mc-jump-list li a .label { display: flex; align-items: center; gap: 10px; }
.mc-jump-list li a .icon { width: 16px; height: 16px; color: var(--ember); }
.mc-jump-list li a .chevron {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stone-500);
  transition: transform .15s ease, color .15s ease;
}
.mc-jump-list li a:hover .chevron { color: var(--ember); transform: translateX(2px); }

/* ---- .hide-sm default (hidden below 768px, see mobile query) ---- */
.hide-sm { display: inline; }

/* ---- Mission Control footer override (vs shared .mc-footer) ----
   MC wants a tinted bg and tighter vertical rhythm; shared .mc-footer
   has no bg + more top margin. Apply via .mc-footer.mc-footer-dash. */
.mc-footer.mc-footer-dash {
  background: var(--bg-1);
  padding: 56px 0 36px;
  margin-top: 32px;
}
/* MC's footer grid is 1.6fr 1fr 1fr 1fr (vs shared 1.5fr repeat(3, 1fr)) */
.mc-footer-dash .foot-grid {
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
.mc-footer-dash .foot-about p {
  color: var(--stone-400); font-size: 14px; margin: 0 0 14px; max-width: 360px;
}
.mc-footer-dash .foot-about .motto {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--stone-500); letter-spacing: .08em;
}
.mc-footer-dash h5 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin: 0 0 14px; font-weight: 500;
}
.mc-footer-dash ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.mc-footer-dash ul a {
  color: var(--stone-300); font-size: 14px;
  transition: color .15s ease;
}
.mc-footer-dash ul a:hover { color: var(--ember); }
.mc-footer-dash .foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .06em;
  color: var(--stone-500);
  text-transform: uppercase;
}
.mc-footer-dash .foot-bottom .hot { color: var(--ember); }

/* ---- Mission Control responsive ---- */
@media (max-width: 1080px) {
  .mc-grid { grid-template-columns: 1fr; }
  .mc-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-page-head h1 { font-size: 44px; }
}
@media (max-width: 768px) {
  .hide-sm { display: none; }
  .mc-page-head { padding: 32px 0 20px; }
  .mc-page-head h1 { font-size: 34px; }
  .mc-page-lead { font-size: 15px; }
  .mc-guide-grid { grid-template-columns: 1fr; }
  .mc-prod-grid { grid-template-columns: 1fr 1fr; }
  .mc-threat-top { grid-template-columns: 1fr; gap: 10px; }
  .mc-threat-cta { justify-self: start; }
  .mc-footer-dash .foot-bottom {
    flex-direction: column; gap: 8px; align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .mc-prod-grid { grid-template-columns: 1fr; }
  .mc-page-head h1 { font-size: 30px; }
}

/* =========================================================================
   AFFILIATES
   Reusable components for partner banners.
   - Desktop: `.mc-affiliate-rail` sticky right-rail (>=1024px only)
   - Mobile/tablet: `.mc-affiliate-inline` centered inline block (<1024px)
   - Disclosure label: `.mc-affiliate-disclosure` (FTC-compliant, adjacent)
   Dark-theme only. No light inline backgrounds on banner frames.
   ========================================================================= */
.mc-affiliate-rail {
  display: none;
}
@media (min-width: 1024px) {
  .mc-affiliate-rail {
    display: block;
    width: 300px;
    max-width: 300px;
    margin: 0;
    padding: 10px;
    background: var(--bg-2);
    border: 1px solid var(--stone-800);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
  }
  /* When the rail lives inside the reserved aside column, make it follow
     the reader. Outside the aside (legacy fallback), it renders as a
     static block at the top of main — no overlap possible. */
  .mc-article-aside .mc-affiliate-rail {
    position: sticky;
    top: 96px;
  }
}
.mc-affiliate-rail a,
.mc-affiliate-inline a {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.mc-affiliate-rail img,
.mc-affiliate-inline img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 4px;
}
.mc-affiliate-inline {
  display: block;
  max-width: 300px;
  margin: 2.25rem auto;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--stone-800);
  border-radius: 8px;
}
@media (min-width: 1024px) {
  .mc-affiliate-inline { display: none; }
}
.mc-affiliate-disclosure {
  display: block;
  margin-top: 8px;
  padding: 0 2px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--stone-400);
  font-style: italic;
  text-align: left;
}
.mc-affiliate-inline .mc-affiliate-disclosure {
  text-align: center;
}

/* Round 2 additions — square + horizontal-strip partner banners.
   `.mc-affiliate-square`  = 400x400 partner (e.g. Grid Doctor). Lives in
                             the right-rail slot on desktop (≥1024px),
                             becomes centered inline on tablet + mobile.
   `.mc-affiliate-strip`   = 320x50 slim horizontal banner (e.g. Ready Hour).
                             Always centered, works as a section-break strip
                             on every viewport. Low-pressure secondary slot. */
.mc-affiliate-square {
  display: none;
}
@media (min-width: 1024px) {
  .mc-affiliate-square {
    display: block;
    width: 300px;
    max-width: 300px;
    margin: 0;
    padding: 10px;
    background: var(--bg-2);
    border: 1px solid var(--stone-800);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,.35);
  }
  .mc-article-aside .mc-affiliate-square {
    position: sticky;
    top: 96px;
  }
}
.mc-affiliate-square.is-inline {
  display: block;
  max-width: 300px;
  margin: 2.25rem auto;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--stone-800);
  border-radius: 8px;
  float: none;
  position: static;
}
@media (min-width: 1024px) {
  .mc-affiliate-square.is-inline { display: none; }
}
.mc-affiliate-square a {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.mc-affiliate-square img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 4px;
}

.mc-affiliate-strip {
  display: block;
  max-width: 320px;
  margin: 2.25rem auto;
  padding: 8px 8px 4px;
  background: var(--bg-2);
  border: 1px solid var(--stone-800);
  border-radius: 6px;
  text-align: center;
}
.mc-affiliate-strip a {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.mc-affiliate-strip img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 3px;
}
.mc-affiliate-strip .mc-affiliate-disclosure {
  text-align: center;
  margin-top: 6px;
  font-size: 11px;
}

/* =========================================================================
   ARTICLE LAYOUT (2-column wrapper for pages with a sticky affiliate rail)
   Added 2026-04-18 to fix affiliate rails overlaying article content.
   The helper `C:\scripts\fix-article-layout.py` wraps <main> contents
   in .mc-article-layout > (.mc-article-main + .mc-article-aside) on every
   page that carries a `.mc-affiliate-rail` or `.mc-affiliate-square`.
   The aside reserves horizontal column space so the rail can no longer
   float on top of the article body.
   ========================================================================= */
.mc-article-layout {
  display: block;
}
.mc-article-layout > .mc-article-main { min-width: 0; }
.mc-article-layout > .mc-article-aside { display: none; }

@media (min-width: 1024px) {
  .mc-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
  }
  .mc-article-layout > .mc-article-main {
    min-width: 0; /* critical — prevents grid child from overflowing */
  }
  .mc-article-layout > .mc-article-aside {
    display: block;
    width: 320px;
    padding-top: 28px;
  }
  /* Any `.frame` / `.frame-narrow` inside the main column should no longer
     re-center with their own max-width — the grid column already provides
     horizontal bounds. Neutralise so content fills the 1fr column. */
  .mc-article-layout > .mc-article-main > .frame,
  .mc-article-layout > .mc-article-main > .frame-narrow {
    max-width: none;
    padding: 0;
  }
  /* Keep `.mc-article` + `.mc-checklist-wrap` centered within the main
     column but let them breathe the full 1fr width. */
  .mc-article-layout > .mc-article-main .mc-article {
    max-width: none;
  }
}

/* Tablet / mobile: stack, hide aside, let .mc-affiliate-inline carry the
   banner load as it already does. */
@media (max-width: 1023px) {
  .mc-article-layout { display: block; }
  .mc-article-layout > .mc-article-aside { display: none !important; }
}
