/* An Army of Torches — Action Plan Website
   Color palette matched to armyoftorches.com (dark + sunrise gold) */

:root {
  /* Core surfaces (from live site HSL tokens) */
  --bg: #000000;
  --bg-elevated: #0f0f18;           /* ~ hsl(240 40% 10%) */
  --bg-secondary: #1c1a2e;          /* ~ hsl(240 20% 18%) */
  --bg-muted: #252236;              /* ~ hsl(240 15% 20%) */
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-solid: #12101f;

  /* Text */
  --fg: #ffffff;
  --fg-muted: #a6a6a6;              /* ~ 0 0% 65% */
  --fg-dim: rgba(255, 255, 255, 0.72);

  /* Primary gold (theme-gold / primary: 43 96% 56%) */
  --gold: #f5b824;
  --gold-soft: #fcc44d;             /* --sunrise-gold */
  --gold-bright: #fcd34d;
  --gold-pale: #fcf6ba;             /* gold-text gradient start */
  --gold-deep: #bf953f;             /* gold-text gradient end */
  --gold-amber: #f5a623;            /* --sunrise-amber */
  --gold-dim: #aa771c;

  /* Sunrise spectrum (hero / accents) */
  --sunrise-top: #0a0a23;
  --sunrise-mid-1: #1a1145;
  --sunrise-mid-2: #3d1259;
  --sunrise-rose: #a8326e;
  --sunrise-pink: #e05580;
  --sunrise-peach: #f0845a;

  /* Semantic */
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.12);
  --danger: #dc2626;
  --danger-bg: rgba(220, 38, 38, 0.12);

  /* Borders / effects */
  --line: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(245, 166, 35, 0.45);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --glow-gold: 0 0 24px rgba(245, 166, 35, 0.28);

  /* Compat aliases (existing HTML/CSS class names) */
  --navy: var(--sunrise-top);
  --navy-mid: var(--sunrise-mid-1);
  --navy-light: var(--sunrise-mid-2);
  --cream: var(--bg-elevated);
  --cream-2: var(--bg-muted);
  --ink: var(--fg);
  --muted: var(--fg-muted);
  --white: #ffffff;

  --radius: 0.75rem;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--gold-pale); }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 35, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-gold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 0; min-height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--fg); text-decoration: none; font-weight: 700;
}
.logo:hover { color: var(--gold-soft); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-pale), var(--gold-amber) 45%, var(--gold-deep));
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 18px rgba(245, 166, 35, 0.45);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 10px 16px 6px 16px;
  background: var(--sunrise-top); border-radius: 2px 2px 40% 40%;
  opacity: 0.4;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 0.95rem; letter-spacing: 0.02em; }
.logo-text span {
  font-size: 0.68rem; font-weight: 500; color: var(--gold-soft);
  letter-spacing: 0.08em; text-transform: uppercase;
}

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--gold);
  color: var(--gold); padding: 0.4rem 0.7rem; border-radius: 8px; cursor: pointer;
}
.nav { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: rgba(255,255,255,0.88); text-decoration: none; font-size: 0.82rem;
  padding: 0.4rem 0.55rem; border-radius: 8px; white-space: nowrap;
}
.nav a:hover, .nav a.active {
  color: #000;
  background: var(--gold);
}
.nav .btn-nav {
  background: var(--gold); color: #000; font-weight: 700;
  margin-left: 0.25rem; padding: 0.45rem 0.85rem;
}
.nav .btn-nav:hover { background: var(--gold-soft); color: #000; }

/* Hero — sunrise gradient like live site */
.hero {
  background:
    radial-gradient(ellipse 90% 70% at 70% 0%, rgba(245, 166, 35, 0.18), transparent 55%),
    linear-gradient(
      165deg,
      var(--sunrise-top) 0%,
      var(--sunrise-mid-1) 35%,
      var(--sunrise-mid-2) 58%,
      #2a0f3a 78%,
      #1a0a14 100%
    );
  color: var(--fg);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(168, 50, 110, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(240, 132, 90, 0.12), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 700; margin-bottom: 0.85rem;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15; max-width: 18ch; margin-bottom: 1rem; font-weight: 700;
  color: var(--fg);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--gold-pale), var(--gold-amber) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: 1.1rem; max-width: 52ch; color: var(--fg-dim); margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
  max-width: 720px;
}
.stat-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-gold);
  border-radius: 12px; padding: 0.85rem 0.75rem; text-align: center;
}
.stat-pill strong {
  display: block; font-size: 1.25rem;
  background: linear-gradient(92deg, var(--gold-pale), var(--gold-amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-pill span {
  font-size: 0.72rem; color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* Buttons — primary gold on black (matches live primary-foreground: black) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: #000;
  box-shadow: var(--glow-gold);
}
.btn-gold:hover { background: var(--gold-soft); color: #000; }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--fg);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(245, 166, 35, 0.08);
}
.btn-navy {
  background: var(--bg-secondary);
  color: var(--gold);
  border-color: var(--line-gold);
}
.btn-navy:hover {
  background: var(--bg-muted);
  color: var(--gold-pale);
}
.btn-outline-navy {
  background: transparent;
  border-color: var(--line-gold);
  color: var(--gold-soft);
}
.btn-outline-navy:hover {
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-pale);
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

/* Sections */
.section { padding: 3.5rem 0; background: var(--bg); }
.section-alt { background: var(--bg-elevated); }
.section-navy {
  background: linear-gradient(160deg, var(--sunrise-top), var(--sunrise-mid-1) 50%, var(--sunrise-mid-2));
  color: var(--fg);
}
.section-navy .muted { color: var(--fg-dim); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--fg); margin-bottom: 0.5rem; line-height: 1.2;
}
.section-navy .section-head h2 { color: var(--fg); }
.section-head p { color: var(--fg-muted); }
.section-navy .section-head p { color: var(--fg-dim); }
.muted { color: var(--fg-muted); }
.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  background: linear-gradient(160deg, hsla(0,0%,100%,0.06), hsla(0,0%,100%,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.card:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}
.card h3 { font-size: 1.05rem; color: var(--fg); margin-bottom: 0.4rem; }
.card p, .card li { font-size: 0.92rem; color: var(--fg-muted); }
.card-gold-edge { border-top: 3px solid var(--gold-amber); }
.card-navy {
  background: linear-gradient(160deg, rgba(26, 17, 69, 0.85), rgba(10, 10, 35, 0.95));
  color: var(--fg);
  border-color: var(--line-gold);
}
.card-navy h3 { color: var(--gold-soft); }
.card-navy p, .card-navy li { color: var(--fg-dim); }
.card-navy a { color: var(--gold-pale); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillar {
  background: linear-gradient(160deg, hsla(0,0%,100%,0.07), hsla(0,0%,100%,0.02));
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.pillar::before {
  content: attr(data-num); position: absolute; top: 0.5rem; right: 0.85rem;
  font-family: var(--display); font-size: 2.5rem; color: rgba(252, 196, 77, 0.12); font-weight: 700;
}
.pillar h3 { color: var(--fg); margin-bottom: 0.35rem; }
.pillar p { color: var(--fg-muted); font-size: 0.92rem; }
.pillar .tag {
  color: var(--gold-amber); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* Workstream chips */
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ws {
  border-radius: var(--radius); padding: 1.2rem;
  background: linear-gradient(160deg, hsla(0,0%,100%,0.06), transparent);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-amber);
}
.ws .id { font-weight: 800; color: var(--gold-soft); font-size: 0.8rem; }
.ws h3 { font-size: 1rem; margin: 0.25rem 0; color: var(--fg); }
.ws p { font-size: 0.85rem; color: var(--fg-muted); }
.ws a { color: var(--gold-soft); }

/* Lists */
.checklist { list-style: none; }
.checklist li {
  padding: 0.45rem 0 0.45rem 1.7rem; position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem; color: var(--fg-dim);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold-amber); font-weight: 800;
}
.checklist li:last-child { border-bottom: 0; }
.checklist a { color: var(--gold-soft); }

/* Forms */
.form-card {
  background: linear-gradient(160deg, hsla(0,0%,100%,0.07), hsla(0,0%,100%,0.02));
  border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--gold-soft); margin-bottom: 0.3rem;
}
input, select, textarea {
  width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--line); border-radius: 10px;
  font: inherit;
  background: rgba(0, 0, 0, 0.45);
  color: var(--fg);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.35); }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(245, 166, 35, 0.55);
  border-color: var(--gold-amber);
}
select option { background: #12101f; color: #fff; }
textarea { min-height: 110px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.form-note { font-size: 0.8rem; color: var(--fg-muted); }
.form-success {
  display: none;
  background: var(--success-bg);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
  padding: 1rem; border-radius: 10px; margin-top: 1rem; font-weight: 600;
}
.form-success.show { display: block; }
.field-error { color: #fca5a5; font-size: 0.78rem; margin-top: 0.25rem; display: none; }
.field-error.show { display: block; }

/* Tiers */
.tier {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  background: linear-gradient(160deg, hsla(0,0%,100%,0.06), transparent);
  display: flex; flex-direction: column; gap: 0.75rem;
  position: relative;
}
.tier.featured {
  border-color: var(--gold-amber);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.35), var(--glow-gold);
  transform: scale(1.02);
}
.tier .badge {
  position: absolute; top: -10px; right: 1rem;
  background: var(--gold); color: #000;
  font-size: 0.7rem; font-weight: 800; padding: 0.25rem 0.6rem; border-radius: 999px;
}
.tier h3 { color: var(--fg); }
.tier .price { font-size: 1.8rem; font-weight: 800; color: var(--gold-soft); }
.tier .price span { font-size: 0.85rem; font-weight: 500; color: var(--fg-muted); }
.tier ul { list-style: none; flex: 1; }
.tier ul li {
  font-size: 0.88rem; padding: 0.3rem 0; color: var(--fg-muted);
  padding-left: 1.2rem; position: relative;
}
.tier ul li::before { content: "•"; position: absolute; left: 0; color: var(--gold-amber); font-weight: 800; }
.tier .muted { color: var(--fg-muted); }

/* Timeline */
.timeline { border-left: 3px solid var(--gold-amber); padding-left: 1.25rem; margin-left: 0.5rem; }
.timeline-item { margin-bottom: 1.5rem; position: relative; }
.timeline-item::before {
  content: ""; width: 12px; height: 12px; background: var(--gold);
  border-radius: 50%; position: absolute; left: -1.7rem; top: 0.3rem;
  box-shadow: 0 0 0 3px var(--bg), 0 0 10px rgba(245,166,35,0.6);
}
.timeline-item h3 { color: var(--fg); font-size: 1rem; }
.timeline-item .phase {
  font-size: 0.75rem; font-weight: 800; color: var(--gold-soft);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.tab-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--fg-dim);
  padding: 0.5rem 0.9rem; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 0.85rem;
}
.tab-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade 0.25s ease; }
@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* Quiz */
.quiz-q { margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.quiz-q h4 { color: var(--fg); margin-bottom: 0.65rem; font-size: 0.98rem; }
.quiz-options { display: grid; gap: 0.45rem; }
.quiz-options label {
  display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500;
  color: var(--fg-dim);
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem; border-radius: 10px; cursor: pointer;
}
.quiz-options label:has(input:checked) {
  border-color: var(--gold-amber);
  background: rgba(245, 166, 35, 0.1);
  color: var(--fg);
}
.quiz-options input { width: auto; margin-top: 0.2rem; }
.quiz-result {
  display: none; margin-top: 1rem; padding: 1.25rem; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sunrise-mid-1), var(--sunrise-top));
  border: 1px solid var(--line-gold);
  color: var(--fg);
}
.quiz-result.show { display: block; }
.quiz-result h3 { color: var(--gold-soft); margin-bottom: 0.4rem; }

/* Tables */
.table-wrap {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td {
  padding: 0.75rem 0.9rem; text-align: left;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
th {
  background: linear-gradient(90deg, var(--sunrise-mid-1), var(--sunrise-top));
  color: var(--gold-soft); font-weight: 600;
}
td { color: var(--fg-dim); }
tr:last-child td { border-bottom: 0; }
tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
table a { color: var(--gold-soft); }

/* Partner logos strip */
.logo-wall {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1rem;
}
.logo-slot {
  border: 1px dashed var(--line); border-radius: 12px; min-height: 72px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.03);
  color: var(--fg-muted);
  font-size: 0.8rem; font-weight: 600; text-align: center; padding: 0.5rem;
}
.logo-slot.filled {
  border-style: solid; border-color: var(--gold-amber);
  color: var(--gold-soft);
  background: rgba(245, 166, 35, 0.08);
}

/* Progress / dashboard */
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.metric {
  background: linear-gradient(160deg, hsla(0,0%,100%,0.06), transparent);
  border-radius: var(--radius); padding: 1.2rem;
  border: 1px solid var(--line);
}
.metric .label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-muted); font-weight: 700;
}
.metric .value { font-size: 1.6rem; font-weight: 800; color: var(--gold-soft); margin: 0.2rem 0; }
.metric input[type="number"] {
  max-width: 100px; margin-top: 0.35rem;
  background: rgba(0,0,0,0.4); color: var(--fg);
}

/* Page hero compact */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 85% 0%, rgba(245, 166, 35, 0.15), transparent 50%),
    linear-gradient(135deg, var(--sunrise-top), var(--sunrise-mid-1) 60%, var(--sunrise-mid-2));
  color: var(--fg);
  padding: 2.75rem 0 2.25rem;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.page-hero p { color: var(--fg-dim); max-width: 58ch; }

/* Footer */
.site-footer {
  background: #05050f;
  color: var(--fg-muted);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line-gold);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.site-footer h4 {
  color: var(--gold-soft); font-size: 0.85rem; margin-bottom: 0.75rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.site-footer a {
  color: var(--fg-dim); text-decoration: none;
  display: block; font-size: 0.88rem; padding: 0.2rem 0;
}
.site-footer a:hover { color: var(--gold-pale); }
.footer-brand p { font-size: 0.88rem; margin-top: 0.5rem; max-width: 32ch; color: var(--fg-muted); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.75rem; font-size: 0.8rem; color: var(--fg-muted);
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.tag {
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--fg-dim);
}
.tag.gold {
  background: rgba(245, 166, 35, 0.18);
  color: var(--gold-soft);
}
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.video-card {
  background: linear-gradient(160deg, hsla(0,0%,100%,0.06), transparent);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--sunrise-top), var(--sunrise-mid-2) 70%, rgba(245,166,35,0.35));
  display: grid; place-items: center; color: var(--gold-soft); font-size: 2rem;
}
.video-card .body { padding: 0.9rem 1rem 1.1rem; }
.video-card h3 { font-size: 0.95rem; color: var(--fg); margin-bottom: 0.25rem; }
.video-card p { font-size: 0.8rem; color: var(--fg-muted); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 0.4rem 0.8rem; border-radius: 999px; cursor: pointer;
  font-size: 0.82rem; font-weight: 600; color: var(--fg-dim);
}
.filter-btn.active {
  background: var(--gold); color: #000; border-color: var(--gold);
}
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.quote-block {
  border-left: 4px solid var(--gold-amber);
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-family: var(--display); font-size: 1.15rem;
  color: var(--gold-pale);
  margin: 1.25rem 0;
}

/* Inline style overrides used in HTML (light-theme leftovers) */
.section-head .eyebrow,
p.eyebrow { color: var(--gold-soft) !important; }
h2[style*="color:var(--navy)"],
h2[style*="color: var(--navy)"],
h3[style*="color:var(--navy)"],
h3[style*="color: var(--navy)"] {
  color: var(--fg) !important;
}
.stat-pill[style*="background:var(--white)"],
.stat-pill[style*="background: var(--white)"] {
  background: rgba(255,255,255,0.06) !important;
}
.stat-pill strong[style*="color:var(--navy)"],
.stat-pill strong[style*="color: var(--navy)"] {
  color: var(--gold-soft) !important;
  background: none !important;
  -webkit-text-fill-color: var(--gold-soft);
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4, .hero-stats, .pillars, .ws-grid, .dash-grid, .logo-wall, .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
  .tier.featured { transform: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 35, 0.98);
    flex-direction: column; align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--line-gold);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.65rem 0.5rem; }
  .grid-2, .grid-3, .grid-4, .pillars, .ws-grid, .hero-stats, .form-grid,
  .footer-grid, .dash-grid, .logo-wall, .video-grid { grid-template-columns: 1fr; }
}
