/* ─────────────────────────────────────────────
   SECTION 1: RESET + VARIABLES
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #4f46e5;
  --primary-dark:   #4338ca;
  --primary-dim:    rgba(79,70,229,0.10);
  --primary-border: rgba(79,70,229,0.30);
  --primary-glow:   rgba(79,70,229,0.15);
  --bg:             #ffffff;
  --bg2:            #f9fafb;
  --bg3:            #f3f4f6;
  --border:         #e5e7eb;
  --border2:        #d1d5db;
  --text:           #111827;
  --muted:          #6b7280;
  --faint:          #9ca3af;
  --ink:            #111827;
  --ink2:           #374151;
  --white:          #ffffff;
  --surface:        #ffffff;
  --radius:         16px;
  --radius-sm:      10px;
  --radius-xs:      6px;
  --amber:          #f59e0b;
  --orange:         var(--primary);
  --orange-dim:     var(--primary-dim);
  --orange-mid:     var(--primary-border);
  --box-shadow-2:   0 4px 20px 0 rgba(15,15,15,0.06);
  --box-shadow-3:   0 4px 20px 0 rgba(15,15,15,0.14);
}

html, body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
html { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
body.all-pages { display: flex; flex-direction: column; min-height: 100vh; }
body.all-pages .container.main { margin-top: 32px; }

/* ─────────────────────────────────────────────
   SECTION 2: TYPOGRAPHY
───────────────────────────────────────────── */
h1 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
}
h2 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.25;
}
h3, h4, h5, h6 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}
p { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; }

/* ─────────────────────────────────────────────
   SECTION 3: NAVIGATION
───────────────────────────────────────────── */
nav {
  background: var(--bg);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 48px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  height: 58px;
}
.nav-inner > a {
  flex-shrink: 0;
  margin-right: auto;
  display: flex;
  align-items: center;
}
.logo { height: 24px; display: block; }
.footer-logo { height: 24px; display: block; flex-shrink: 0; }

/* Nav links — underline style */
.nav-links {
  display: flex;
  gap: 0;
  flex: 0 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 0 14px;
  height: 58px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: all .15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-badge {
  background: var(--amber);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* More dropdown */
.nav-more { position: relative; }
.nav-more-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 0 14px;
  height: 58px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  border-radius: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  font-family: inherit;
  transition: all .15s;
}
.nav-more:hover .nav-more-btn,
.nav-more:focus-within .nav-more-btn {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: none;
}
.nav-more::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--box-shadow-3);
  flex-direction: column;
  min-width: 190px;
  z-index: 200;
}
.nav-more:hover .nav-dropdown,
.nav-more:focus-within .nav-dropdown { display: flex; }
.nav-dropdown a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 16px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-dropdown a:hover {
  background: var(--primary-dim);
  color: var(--primary);
}

/* Nav CTA */
.nav-cta {
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  transition: background .15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--primary-dark); color: var(--white); }

/* Hamburger — gap 5px + span height 2px → translateY 7px */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  width: 100%;
  background: var(--ink);
  flex-direction: column;
  z-index: 99;
  padding: 8px 0 16px;
}
.mobile-more { display: none !important; }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 12px 20px;
  transition: color .15s;
}
.mobile-menu a:hover { color: #fff; }
.m-cta {
  background: var(--primary);
  color: var(--white) !important;
  margin: 8px 16px 0;
  border-radius: 100px;
  text-align: center;
  padding: 12px 20px !important;
}

/* ─────────────────────────────────────────────
   SECTION 4: LAYOUT CONTENT
───────────────────────────────────────────── */

/* Hero */
.hero {
  background: var(--bg);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--bg3);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-size: 56px;
  color: var(--text);
  margin-bottom: 14px;
}
.hero h1 .accent { color: var(--primary); }
.hero h1 .underline-amber {
  position: relative;
  display: inline-block;
}
.hero h1 .underline-amber::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: #fde68a;
  z-index: -1;
  border-radius: 2px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

/* Hero Search */
.hero-search-outer { max-width: 700px; margin: 0 auto 28px; }
.hero-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2.5px solid var(--primary);
  border-radius: var(--radius);
  padding: 6px 6px 6px 20px;
  box-shadow: 0 4px 24px var(--primary-dim);
  gap: 10px;
}
.hero-search-box:focus-within { box-shadow: 0 4px 32px var(--primary-border); }
.hero-search-icon { font-size: 20px; flex-shrink: 0; color: var(--primary); }
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 17px;
  color: var(--text);
  background: transparent;
  padding: 10px 0;
  font-family: inherit;
}
.hero-search-input::placeholder { color: var(--faint); }
.hero-search-btn {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.hero-search-btn:hover { background: var(--primary-dark); }
.search-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.search-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  transition: all .15s;
  white-space: nowrap;
}
.search-hint:hover {
  background: var(--primary-dim);
  border-color: var(--primary);
  color: var(--primary);
}

/* Stat Strip */
.stat-strip { background: var(--primary); padding: 0; }
.stat-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; }
.stat-item {
  flex: 1;
  padding: 22px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* Section structure */
.section { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-hd {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 24px;
  padding-top: 60px;
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 6px;
}
.section-hd h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1.5px solid #c7d2fe;
  padding-bottom: 1px;
}
.section-link:hover { color: var(--primary-dark); }

/* Lead grid */
.lead-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.lead-main {
  background: var(--bg2);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  transition: box-shadow .15s;
}
.lead-main:hover { box-shadow: 0 8px 40px var(--primary-glow); }
.lead-main-vis {
  height: 180px;
  background: linear-gradient(135deg, #312e81, var(--primary), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
}
.lead-main-vis::after {
  content: 'FEATURED';
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--amber);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
}
.lead-main-body {
  padding: 24px 28px 28px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lead-main-body .eyebrow { margin-bottom: 10px; }
.lead-main-h3 {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.lead-main-p { display: block; font-size: 14px; color: var(--muted); line-height: 1.65; }
.lead-aside { display: flex; flex-direction: column; gap: 12px; }
.aside-card {
  background: var(--bg2);
  border-radius: 14px;
  border: 1.5px solid var(--border);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all .15s;
}
.aside-card:hover { border-color: var(--primary); background: var(--primary-dim); }
.aside-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--border);
  flex-shrink: 0;
  line-height: 1;
  min-width: 28px;
}
.aside-body { display: block; min-width: 0; }
.aside-body .eyebrow { font-size: 10px; margin-bottom: 4px; }
.aside-h4 { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.3; }

/* Topic Rail */
.topic-rail {
  background: var(--bg2);
  border-top: 1px solid var(--bg3);
  border-bottom: 1px solid var(--bg3);
  padding: 20px 0;
  margin-top: 60px;
  overflow: hidden;
}
.topic-rail-inner {
  display: flex;
  gap: 12px;
  width: max-content;
  overflow-x: auto;
  scrollbar-width: none;
}
.topic-rail-inner::-webkit-scrollbar { display: none; }
.topic-rail-inner.is-marquee {
  overflow: visible;
  animation: topic-scroll 36s linear infinite;
}
.topic-rail-inner.is-marquee:hover { animation-play-state: paused; }

@keyframes topic-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0;
}
.topic-chip:hover { border-color: var(--primary); background: var(--primary-dim); }
.topic-chip-icon { font-size: 17px; }
.topic-chip-text { font-size: 13px; font-weight: 700; color: var(--text); }
.topic-chip-count { font-size: 11px; color: var(--faint); font-weight: 500; }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-card {
  background: var(--surface);
  border-radius: 14px;
  border: 1.5px solid var(--border);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .15s;
}
.grid-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 24px var(--primary-glow);
  transform: translateY(-2px);
}
.grid-card-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
}
.grid-card-h4 { display: block; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.35; }
.grid-card-arrow {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Dark Band */
.dark-band { background: var(--ink); margin-top: 60px; padding: 56px 0; }
.dark-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.dark-band-left h2 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.dark-band-left h2 span { color: var(--amber); }
.dark-band-left p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}
.dark-band-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: background .15s;
}
.dark-band-btn:hover { background: var(--primary-dark); color: #fff; }
.dark-band-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dark-link {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 18px;
  transition: background .15s;
}
.dark-link:hover { background: rgba(255,255,255,0.1); }
.dark-link-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}
.dark-link-title { display: block; font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.3; }

/* Amber Row */
.amber-row {
  background: #fffbeb;
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  padding: 44px 0;
  margin-top: 60px;
}
.amber-row-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.amber-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 12px;
}
.amber-headline {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.amber-sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.amber-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amber-link {
  background: var(--white);
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all .15s;
}
.amber-link:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(245,158,11,0.15);
}
.amber-link-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 6px;
}
.amber-link-title { display: block; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }

/* List 4-col */
.list-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }


.list-col-hd {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e7ff;
}
.list-col-items { display: flex; flex-direction: column; }
.list-col-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg2);
  min-width: 0;
}
.list-col-item:last-child { border-bottom: none; }
.list-col-item:hover .list-col-title { color: var(--primary); }
.list-col-num {
  font-size: 10.5px;
  font-weight: 800;
  color: #c7d2fe;
  flex-shrink: 0;
  min-width: 16px;
  padding-top: 2px;
}
.list-col-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  transition: color .15s;
}
.pb-60 { padding-bottom: 60px; }

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, #312e81, var(--primary) 50%, #6366f1);
  padding: 52px 24px;
  text-align: center;
  margin-top: 60px;
}
.cta-strip h2 {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.cta-strip p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cta-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: all .15s;
}
.cta-pill:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* ─────────────────────────────────────────────
   CARD OVERFLOW PREVENTION
───────────────────────────────────────────── */

/* Grid direct children — prevent blowout */
.lead-grid > *,
.card-grid > *,
.dark-band-inner > *,
.dark-band-links > *,
.amber-row-inner > *,
.amber-links > *,
.list-4 > *,
.footer-top > * { min-width: 0; }

/* Flex children that contain text */
.lead-main-body,
.aside-body,
.list-col-title,
.bubbles-chip-text,
.hero-search-input { min-width: 0; }

/* Cards — clip content to border-radius bounds */
.grid-card,
.aside-card,
.dark-link,
.amber-link { overflow: hidden; }

/* Text truncation — headings inside cards */
.grid-card-h4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aside-h4,
.dark-link-title,
.amber-link-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-col-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─────────────────────────────────────────────
   SECTION 5: FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo { height: 24px; display: block; }
.f-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.f-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.25);
  font-weight: 600;
  transition: color .2s;
}
.f-links a:hover { color: rgba(255,255,255,0.6); }
.f-copy { font-size: 12px; color: rgba(255,255,255,0.25); font-weight: 500; }
.f-disclaimer {
  max-width: 600px;
  font-size: 11px;
  color: rgba(255,255,255,0.14);
  line-height: 1.6;
  margin-top: 4px;
}
.footer-copy {
  width: 100%;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
/* Rich footer */
.footer-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.footer-brand-name .eb {
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 14px;
  margin-right: 6px;
}
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.4); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 9px;
  transition: color .15s;
}
.footer-col a:hover { color: #818cf8; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.07); margin-bottom: 20px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: #818cf8; }
.footer-bottom > .footer-copy {
  width: auto;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
}
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  margin-top: 16px;
  text-align: center;
}

/* ─────────────────────────────────────────────
   SECTION 6: CONTACT FORM
───────────────────────────────────────────── */

/* CMS-injected .contact form */
.contact {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 40px;
  box-shadow: var(--box-shadow-2);
}
.contact p {
  margin: 0 0 14px;
}
.contact p:last-child { margin-bottom: 0; }
.contact input,
.contact textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg2);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.contact input:focus,
.contact textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-dim);
}
.contact input::placeholder,
.contact textarea::placeholder { color: var(--faint); }
.contact textarea {
  resize: vertical;
  min-height: 120px;
}
.contact button[type="submit"] {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.contact button[type="submit"]:hover { background: var(--primary-dark); }

@media (max-width: 767.98px) {
  .contact { padding: 24px 16px; }
}
.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 40px;
}
.contact-form-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  margin-top: 16px;
}
.contact-form-wrap label:first-child { margin-top: 0; }
.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}
.contact-form-wrap textarea { resize: vertical; min-height: 120px; }
.contact-form-wrap button[type="submit"],
.contact-form-btn {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.contact-form-wrap button[type="submit"]:hover,
.contact-form-btn:hover { background: var(--primary-dark); }

/* ─────────────────────────────────────────────
   SECTION 7: WIDGETS
───────────────────────────────────────────── */

/* SUBLIST */
.item-sublist { list-style: none; }
.sublist.card {
  border: none !important;
  box-shadow: var(--box-shadow-2);
  transition: box-shadow .2s, transform .2s;
}
.sublist.card:hover {
  box-shadow: var(--box-shadow-3);
  transform: translateY(-2px);
  color: var(--primary-dark);
}

/* BUBBLES */
.item-bubbles { width: 100%; }
.bubbles-chip { width: 100%; margin-bottom: 6px; }
.bubbles-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  transition: all .15s;
  position: relative;
}
.bubbles-link:hover {
  padding-left: 20px;
  background: var(--primary-dim);
  border-color: var(--primary-border);
}
.bubbles-link .bubbles-outer {
  height: auto;
  padding: 3px 0;
  display: flex;
  align-items: center;
  width: 100%;
}
.bubbles-chip-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.bubbles-link::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
/* CMS wrapper fixes */
.sibling.link-button {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: auto !important;
  min-height: 0 !important;
}
repeat {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
}
.col-gap:has(> .item-bubbles)::before { display: none !important; }

/* ─────────────────────────────────────────────
   SECTION 8: LAYOUT RESET
───────────────────────────────────────────── */

/* Hero full-width = YES */
body.home-page .container.main { width: 100%; max-width: 100% !important; padding: 0; }
.container.layout { max-width: 100%; padding: 0 !important; }
.container.layout .row.layout { margin: 0 !important; }
body.home-page .container.layout .row.layout > .cols { padding: 0 !important; }
body.home-page .container.layout .col-gap { padding: 0 !important; }

/* Always */
body.all-pages .content .container.main { padding: 24px 16px; }
.dir-content {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 52px 48px;
  background: var(--bg);
}
.container.main { max-width: 1600px !important; }

/* ─────────────────────────────────────────────
   SECTION 9: RESPONSIVE
───────────────────────────────────────────── */

/* Tablet ≤1199px */
@media (max-width: 1199.98px) {
  nav { padding: 0 24px; }
  .hero { padding: 60px 24px 44px; }
  .hero h1 { font-size: 44px; }
  .lead-grid { grid-template-columns: 1fr; }
  .dark-band-inner { grid-template-columns: 1fr; gap: 32px; }
  .dark-band-links { grid-template-columns: 1fr 1fr; }
  .amber-row-inner { grid-template-columns: 1fr; }
  .amber-links { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .list-4 { grid-template-columns: repeat(2, 1fr); }
  .dir-content { padding: 40px 24px; }
}

/* Mobile ≤767px */
@media (max-width: 767.98px) {
  nav { padding: 0 16px; }
  .nav-links,
  .nav-more { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 48px 16px 36px; }
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-search-box { flex-direction: column; border-radius: var(--radius); padding: 12px 16px; }
  .hero-search-icon { display: none; }
  .hero-search-input { width: 100%; padding: 8px 0; }
  .hero-search-btn { width: 100%; margin: 4px 0 0; border-radius: var(--radius-sm); padding: 12px; }
  .stat-strip-inner { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .trust { padding: 14px 16px; gap: 16px; justify-content: center; }
  .section-hd { padding-top: 40px; flex-direction: column; align-items: flex-start; }
  .section-link { margin-left: 0; }
  .lead-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .dark-band { padding: 36px 0; }
  .dark-band-inner { gap: 24px; }
  .dark-band-links { grid-template-columns: 1fr; }
  .amber-row { padding: 28px 0; }
  .amber-links { grid-template-columns: 1fr; }
  .list-4 { grid-template-columns: 1fr; gap: 12px; }
  .list-4 .list-col-item:nth-child(n+5) { display: none; }
  .cta-strip { padding: 36px 16px; margin-top: 40px; }
  .cta-strip h2 { font-size: 24px; }
  footer { padding: 28px 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { text-align: center; }
  .footer-brand .footer-logo { margin: 0 auto; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-bottom > div { justify-content: center; flex-wrap: wrap; }
  .footer-disclaimer { text-align: center; }
  .dir-content { padding: 28px 16px; }
  .contact-form-wrap { padding: 24px 16px; }
}

/* Small mobile ≤374px */
@media (max-width: 374px) {
  .hero h1 { font-size: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .amber-links { grid-template-columns: 1fr; }
  .stat-item { min-width: 100%; border-right: none; }
}
