/* ===================================
   MILE 12 WARRIOR — Trucking & Safety
   Concrete gray, safety gold, chrome
   =================================== */

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

:root {
  /* Concrete (road / base) */
  --bg: #2c2c2e;
  --bg-alt: #363638;
  --surface: #3e3e42;
  --surface-2: #48484c;
  --surface-3: #525258;
  /* Silver / chrome (trucker appeal) */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.14);
  --chrome: #b8b8b8;
  --chrome-bright: #e0e0e0;
  /* Text */
  --text: #f0f0f0;
  --text-2: #b0b0b0;
  --text-3: #787878;
  /* Safety yellow / gold (primary accent) */
  --gold: #E6B800;
  --gold-light: #F5C542;
  --gold-dark: #c99a00;
  --gold-glow: rgba(230, 184, 0, 0.25);
  --card-accent: var(--gold);
  /* Legacy names for compatibility */
  --blue: var(--gold);
  --blue-glow: var(--gold-glow);
  --green: #34d399;
  --amber: var(--gold);
  --red: #e57373;
  --pink: var(--gold-light);
  --purple: var(--gold);
  --cyan: var(--chrome);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --font: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ---------- GRAIN OVERLAY ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='https://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

/* ---------- SCROLL PROGRESS (road stripe) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 8px, var(--gold-light) 8px, var(--gold-light) 16px);
  background-size: 16px 3px;
  z-index: 10001;
  width: 0;
  transition: none;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  background: rgba(44, 44, 46, 0.85);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}

.navbar.scrolled {
  background: rgba(44, 44, 46, 0.95);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo:hover { color: var(--text); }

.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-svg { color: var(--gold); flex-shrink: 0; }
.nav-logo-fallback .logo-shield { width: 36px; height: 36px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2px;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s var(--ease);
  transform-origin: center;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,44,46,0.4) 0%, rgba(44,44,46,0.75) 50%, rgba(44,44,46,0.92) 100%);
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background: no-repeat center/cover url('/images/hero-bg.png');
  opacity: 1;
  pointer-events: none;
}
.hero-bg-image + .hero-mesh { background: linear-gradient(180deg, rgba(44,44,46,0.25) 0%, rgba(44,44,46,0.6) 45%, rgba(44,44,46,0.9) 100%); }

/* Hero glows (headlights / road lights feel) */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.35;
}

.hero-glow-1 {
  width: 500px; height: 500px;
  top: -10%; left: -5%;
  background: radial-gradient(circle, rgba(230, 184, 0, 0.15) 0%, transparent 70%);
  animation: float-1 16s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px; height: 400px;
  bottom: -5%; right: -5%;
  background: radial-gradient(circle, rgba(184, 184, 184, 0.08) 0%, transparent 70%);
  animation: float-2 20s ease-in-out infinite;
}

.hero-glow-3 {
  width: 300px; height: 300px;
  top: 40%; right: 15%;
  background: radial-gradient(circle, rgba(230, 184, 0, 0.08) 0%, transparent 70%);
  animation: float-3 18s ease-in-out infinite;
}

@keyframes float-1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
@keyframes float-2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, -40px); } }
@keyframes float-3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -20px); } }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Hero: subtle moving road / horizon stripe (highway feel) */
.hero-road-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(230, 184, 0, 0.25) 20%, rgba(230, 184, 0, 0.4) 50%, rgba(230, 184, 0, 0.25) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: road-line-drift 8s linear infinite;
  pointer-events: none;
}
@keyframes road-line-drift {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
  padding: 140px 28px 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 32px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.title-line { display: block; }

.title-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--chrome-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 0 0 1px rgba(230,184,0,0.3), 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--chrome-bright) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(245,197,66,0.4), 0 8px 30px var(--gold-glow);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

/* ---------- HERO STATS ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  max-width: 480px;
  margin: 0 auto;
  backdrop-filter: blur(12px);
}

.stat-card {
  flex: 1;
  text-align: center;
  padding: 16px 20px;
}

.stat-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  line-height: 1.2;
}

.stat-num::after { content: none; }

.stat-label {
  font-size: 0.7rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---------- HERO SCROLL HINT ---------- */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-dot {
  width: 1px;
  height: 12px;
  background: var(--blue);
  position: absolute;
  top: -12px;
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0% { top: -12px; }
  100% { top: 40px; }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 5px 14px;
  background: rgba(230, 184, 0, 0.08);
  border: 1px solid rgba(230, 184, 0, 0.2);
  border-radius: var(--radius-full);
}

.section-tag .icon-cb-wave {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.9;
}

.section-header h2 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-header p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- ROADMAP GRID ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rm-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
  color: var(--text);
}

.rm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--card-accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.rm-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  color: var(--text);
}

.rm-card:hover::before { opacity: 1; }

.rm-number {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

.rm-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--card-accent);
  transition: all 0.3s;
}

.rm-card:hover .rm-icon {
  background: color-mix(in srgb, var(--card-accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--card-accent) 20%, transparent);
}

.rm-card h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.rm-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
}

.rm-arrow {
  font-size: 1rem;
  color: var(--text-3);
  transition: all 0.3s;
}

.rm-card:hover .rm-arrow {
  color: var(--card-accent);
  transform: translateX(4px);
}

.rm-card-wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.rm-card-wide p { flex: 1; margin: 0; }
.rm-card-wide .rm-arrow { font-size: 1.2rem; }

/* ---------- GLASS CARDS ---------- */
.card-grid {
  display: grid;
  gap: 16px;
}

.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s var(--ease);
  position: relative;
}

.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.gc-icon {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(230, 184, 0, 0.08);
  border: 1px solid rgba(230, 184, 0, 0.2);
  color: var(--icon-color, var(--gold));
  margin-bottom: 18px;
  transition: all 0.3s;
}

.glass-card:hover .gc-icon {
  background: rgba(230, 184, 0, 0.14);
}

.glass-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.glass-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* Horizontal card variant */
.card-horizontal {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.card-horizontal .gc-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Numbered card variant */
.card-numbered { position: relative; padding-top: 52px; }

.card-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.04;
  line-height: 1;
  transition: opacity 0.3s;
}

.card-numbered:hover .card-num { opacity: 0.1; }

/* Featured card variant */
.card-featured {
  border-left: 2px solid var(--feature-color, var(--blue));
}

.card-featured h3 {
  color: var(--feature-color, var(--blue));
}

.card-action-bar {
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
}

.card-action-bar svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--feature-color, var(--blue));
}

/* ---------- CRISIS BANNER ---------- */
.crisis-banner {
  margin-top: 48px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.crisis-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(52,211,153,0.04) 100%);
  pointer-events: none;
}

.crisis-content {
  position: relative;
  padding: 36px;
}

.crisis-content h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.crisis-content > p {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.crisis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.crisis-item {
  padding: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.crisis-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.crisis-item span {
  font-size: 0.8rem;
  color: var(--blue);
  font-family: var(--mono);
  font-weight: 500;
}

/* ---------- HAZARD BENTO ---------- */
.hazard-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hazard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.hazard-card:hover {
  border-color: color-mix(in srgb, var(--hz-accent) 30%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.hz-large { grid-column: span 2; }

.hz-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.hz-header svg {
  flex-shrink: 0;
  color: var(--hz-accent);
  margin-top: 2px;
}

.hz-header h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hz-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

.hz-high { background: rgba(248,113,113,0.12); color: var(--red); border: 1px solid rgba(248,113,113,0.2); }
.hz-med { background: rgba(251,191,36,0.12); color: var(--amber); border: 1px solid rgba(251,191,36,0.2); }
.hz-low { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }

.hazard-card > p {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}

.hz-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hz-list li {
  font-size: 0.82rem;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.hz-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hz-accent, var(--blue));
}

/* ---------- CHECKLISTS ---------- */
.checklist-card h3 {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--text-2);
  transition: color 0.2s;
  line-height: 1.5;
  padding: 4px 0;
}

.check-item:hover { color: var(--text); }

.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  min-width: 18px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: all 0.25s var(--ease);
}

.check-item input:checked {
  background: var(--blue);
  border-color: var(--blue);
}

.check-item input:checked::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.check-item input:checked + span {
  text-decoration: line-through;
  color: var(--text-3);
}

/* ---------- PROTOCOL LIST ---------- */
.protocol-list {
  counter-reset: protocol;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.protocol-list li {
  counter-increment: protocol;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.55;
}

.protocol-list li::before {
  content: counter(protocol);
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--mono);
  margin-top: 1px;
}

/* ---------- ACTION PLAN ---------- */
.plan-card {
  border-top: 2px solid var(--blue);
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.plan-header svg { color: var(--blue); }

.plan-header h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 0; margin: 0;
  border: none;
}

/* ---------- EXERCISE SECTION ---------- */
.exercise-section {
  text-align: center;
  margin-top: 48px;
}

.exercise-section h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.exercise-section > p {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.exercise-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.exercise-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.3s var(--ease);
}

.exercise-chip:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.exercise-chip strong { font-weight: 600; }
.exercise-chip span { color: var(--text-3); font-family: var(--mono); font-size: 0.78rem; }

/* ---------- RESOURCES ---------- */
.resource-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  color: var(--text);
}

.resource-pill:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  transform: translateX(6px);
  color: var(--text);
}

.resource-pill strong {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 200px;
}

.resource-pill span {
  font-size: 0.85rem;
  color: var(--text-2);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.footer-brand .logo-svg { color: var(--blue); }

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text); }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 400px;
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-3);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--blue); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--blue); }

.footer-legal-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer-legal-nav a {
  font-size: 0.78rem;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-legal-nav a:hover { color: var(--blue); }

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.65;
  max-width: 700px;
  margin: 6px auto;
}

.footer-disclaimer strong { color: var(--text-2); }

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-2);
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p { margin-bottom: 14px; }

.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-page li { margin-bottom: 6px; }

.legal-page a { color: var(--gold); }
.legal-page a:hover { color: var(--gold-light); }

/* ---------- SAFETY PACKETS ---------- */
.packet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.packet-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.packet-group-title svg { color: var(--blue); flex-shrink: 0; }

.packet-group-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 16px;
  line-height: 1.6;
}

.packet-card {
  background: var(--surface, #0f1219);
  border: 1px solid var(--border);
  border-radius: var(--radius, 16px);
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.25s;
}

.packet-card:hover { border-color: var(--packet-accent, var(--blue)); }

.packet-tier {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--packet-accent, var(--blue));
  border: 1px solid var(--packet-accent, var(--blue));
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.packet-card h4 {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.packet-card > p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 14px;
}

.packet-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.packet-includes li {
  font-size: 0.78rem;
  color: var(--text-3);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}

.packet-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--packet-accent, var(--blue));
  font-weight: 600;
  font-size: 0.72rem;
}

.packet-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.packet-actions .btn {
  font-size: 0.82rem;
  padding: 10px 20px;
}

@media (max-width: 900px) {
  .packet-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .packet-includes { grid-template-columns: 1fr; }
  .packet-actions { flex-direction: column; }
  .packet-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- PHASE TAB NAVIGATION ---------- */
.phase-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 20px;
  margin-bottom: 8px;
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.phase-tabs::-webkit-scrollbar { display: none; }

.phase-tabs-ch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-3);
  opacity: 0.85;
}

.phase-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text-3);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease, cubic-bezier(0.16,1,0.3,1));
  flex-shrink: 0;
}

.phase-tab:hover {
  border-color: var(--tab-accent, var(--blue));
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
}

.phase-tab.active {
  background: rgba(255,255,255,0.06);
  border-color: var(--tab-accent, var(--blue));
  color: var(--text);
  box-shadow: 0 0 16px -4px var(--tab-accent, var(--blue));
}

/* Channel-switch click feedback (brief scale pulse) */
.phase-tab.phase-tab--click {
  animation: channel-click 0.2s var(--ease);
}
@keyframes channel-click {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.tab-num {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.5;
}

.phase-tab.active .tab-num {
  color: var(--tab-accent, var(--blue));
  opacity: 1;
}

.tab-label { line-height: 1; }

.phase-panels { position: relative; }

.phase-panel {
  display: none;
  animation: panelIn 0.3s var(--ease, cubic-bezier(0.16,1,0.3,1));
}

.phase-panel.active { display: block; }

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

.panel-header {
  margin-bottom: 28px;
}

.panel-header h2 {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.panel-header p {
  font-size: 0.92rem;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .phase-tabs {
    top: 56px;
    gap: 3px;
    padding: 4px 0 14px;
  }

  .phase-tab {
    padding: 8px 12px;
    font-size: 0.72rem;
    gap: 5px;
  }

  .tab-num { font-size: 0.6rem; }

  .panel-header h2 { font-size: 1.3rem; }
}

/* ---------- CHECKLIST DOWNLOAD / PRINT ---------- */
.section-download-hint {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 6px;
}

.section-download-hint strong {
  color: var(--green);
}

.checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.checklist-header h3 { margin-bottom: 0; }

.checklist-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 10px);
  background: rgba(255,255,255,0.03);
  color: var(--text-3);
  font-size: 0.7rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.dl-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(99,102,241,0.06);
}

.download-all-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 24px 0;
}

.checklist-daily-hint {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 8px;
  margin-bottom: 0;
}

.checklist-daily-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.checklist-date-text {
  font-size: 0.9rem;
  color: var(--text-2);
}

.checklist-date-text strong {
  color: var(--text);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--text-2);
  background: rgba(255,255,255,0.03);
}

/* ---------- NEWSLETTER CTA ---------- */
.newsletter-cta {
  margin-top: 48px;
  padding: 40px 36px;
  text-align: center;
  border: 1px solid rgba(99,102,241,0.15);
  background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(244,114,182,0.03));
}

.newsletter-content { margin-bottom: 28px; }

.newsletter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.12);
  color: var(--blue);
  margin-bottom: 16px;
}

.newsletter-cta h3 {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.newsletter-cta p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-form { max-width: 480px; margin: 0 auto; }

.newsletter-inputs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.nl-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nl-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}

.nl-input::placeholder { color: var(--text-3); }

.nl-submit {
  width: 100%;
  justify-content: center;
}

.nl-success {
  display: none;
  color: var(--green);
  font-size: 0.88rem;
  margin-top: 12px;
  font-weight: 500;
}

.nl-success.show { display: block; }

.nl-disclaimer {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 10px;
  line-height: 1.5;
}

.nl-disclaimer a { color: var(--text-2); }

.newsletter-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.or-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.or-text {
  font-size: 0.78rem;
  color: var(--text-3);
  white-space: nowrap;
}

.reach-out {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.reach-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.reach-link:hover { color: var(--blue); }

@media (max-width: 600px) {
  .newsletter-inputs { flex-direction: column; }
  .newsletter-cta { padding: 28px 20px; }
  .checklist-header { flex-direction: column; gap: 8px; }
  .checklist-actions { align-self: flex-start; }
  .download-all-bar { flex-direction: column; align-items: stretch; }
  .reach-out { flex-direction: column; align-items: center; }
}

@media print {
  body > *:not(.print-target) { display: none !important; }
  .print-target {
    display: block !important;
    position: static !important;
    padding: 24px;
    color: #000;
    background: #fff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12pt;
  }
  .print-target h2 {
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 16pt;
    margin-bottom: 16px;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
  }
  .print-target .print-item {
    padding: 4px 0;
    border-bottom: 1px dotted #ccc;
    display: flex;
    gap: 8px;
    align-items: baseline;
  }
  .print-target .print-item::before {
    content: '\\2610';
    font-size: 14pt;
    flex-shrink: 0;
  }
  .print-target .print-footer {
    margin-top: 24px;
    font-size: 8pt;
    color: #888;
    border-top: 1px solid #ccc;
    padding-top: 8px;
  }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  z-index: 900;
  backdrop-filter: blur(12px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--surface-3);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ---------- SCROLL ANIMATIONS ---------- */
/* Scroll-reveal (roadReveal: content eases into view) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- REDUCED MOTION (accessibility) ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-glow-1,
  .hero-glow-2,
  .hero-glow-3 {
    animation: none;
  }
  .hero-road-line {
    animation: none;
    background-position: 0 0;
  }
  .badge-dot {
    animation: none;
  }
  .title-gradient {
    animation: none;
    background-position: 0% center;
  }
  .scroll-dot {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.15s ease-out;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .scroll-progress {
    transition: width 0.15s ease-out;
  }
}

/* Optional: class for manual override (e.g. user setting) */
.reduce-motion .hero-glow-1,
.reduce-motion .hero-glow-2,
.reduce-motion .hero-glow-3 { animation: none; }
.reduce-motion .hero-road-line { animation: none; }
.reduce-motion .badge-dot { animation: none; }
.reduce-motion .title-gradient { animation: none; }
.reduce-motion .scroll-dot { animation: none; }
.reduce-motion .reveal { opacity: 1; transform: none; transition: opacity 0.15s ease-out; }
.reduce-motion .reveal.visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-card-wide { grid-column: span 2; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .hazard-bento { grid-template-columns: repeat(2, 1fr); }
  .hz-large { grid-column: span 2; }
  .crisis-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(5, 6, 8, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle { display: flex; }

  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .section { padding: 72px 0; }

  .roadmap-grid,
  .cols-2,
  .cols-3,
  .hazard-bento,
  .crisis-grid {
    grid-template-columns: 1fr;
  }

  .rm-card-wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .hz-large { grid-column: span 1; }

  .hero-cta { flex-direction: column; align-items: center; }

  .hero-scroll-hint { display: none; }

  .resource-pill { flex-direction: column; align-items: flex-start; gap: 4px; }
  .resource-pill strong { min-width: auto; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 14px; }

  .card-horizontal { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    max-width: 200px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .nav-container { height: 56px; }
  html { scroll-padding-top: 60px; }

  .container { padding: 0 18px; }
}
