/* ─────────────────────────────────────────────────────────────────────────────
   SECTION 1: RESET + VARIABLES
   ───────────────────────────────────────────────────────────────────────────── */

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

:root {
  --primary:        #1f5fa0;
  --primary-dark:   #0d3b66;
  --primary-dim:    rgba(31, 95, 160, 0.10);
  --primary-border: rgba(31, 95, 160, 0.30);
  --primary-glow:   rgba(31, 95, 160, 0.15);
  --bg:             #ffffff;
  --bg2:            #eef4fb;
  --bg3:            #f6f9fc;
  --border:         #e3e9f0;
  --border2:        #c9d7e6;
  --text:           #1a1a1a;
  --muted:          #555555;
  --faint:          #888888;
  --ink:            #0d3b66;
  --ink2:           #3d556f;
  --white:          #ffffff;
  --surface:        #ffffff;
  --radius:         12px;
  --radius-sm:      10px;
  --radius-xs:      6px;
  --amber:          #f4b400;
  --amber-dim:      #FFECB3;
  --amber-mid:      #FFA000;
  --amber-dark:      #FF8F00;
  --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: 'Mulish', 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: -webkit-box;
  display: -ms-flexbox;
  display: flex; flex-direction: column; min-height: 100vh; }

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION 2: TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */

h1 { font-family: 'Mulish', sans-serif; font-weight: 700; line-height: 1.15; font-style: normal; }
h2, h3, h4, h5, h6 { font-family: 'Mulish', sans-serif; font-weight: 700; line-height: 1.25; }
p { font-family: 'Mulish', sans-serif; }

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION 3: NAVIGATION
   ───────────────────────────────────────────────────────────────────────────── */

nav {
  background: var(--ink);
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
}
.nav-brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-shrink: 0;
}
.nav-links-wrap {
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
  padding-left: 32px;
}
.logo { height: 24px; display: block; flex-shrink: 0; }
.footer-logo { height: 24px; display: block; }

.nav-links { display: -webkit-box;
  display: -ms-flexbox;
  display: flex; -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; flex-wrap: nowrap; width: 100%; justify-content: space-between; }
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  padding: 4px 5px;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--amber); }

.mobile-more { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  width: 100%;
  background: var(--ink);
  display: none;
  flex-direction: column;
  z-index: 199;
  padding: 12px 0;
}
.mobile-menu.open { display: -webkit-box;
  display: -ms-flexbox;
  display: flex; }
.mobile-menu a {
  display: block;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .15s, background .15s;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }

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

.hero {
  background: var(--bg2);
  background-image:
    radial-gradient(ellipse at 75% 40%, rgba(31,95,160,0.09) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(244,180,0,0.05) 0%, transparent 50%);
  padding: 72px 0 84px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  animation: hero-fade-in .65s ease both;
}
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: inline-block;
}
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.hero h1 {
  font-family: 'Mulish', sans-serif;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink2);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-pills {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.hero-pills span,
.hero-pills a {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31,95,160,0.07);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.hero-pills a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.arrow-cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: #fffbee;
  border-left: 4px solid var(--amber);
  padding: 16px 22px;
  border-radius: 4px;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: 0 4px 18px rgba(244,180,0,0.14);
}
.arrow-cta .arrow {
  font-size: 26px;
  color: var(--amber);
  animation: bounce-right 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.home-page .arrow-cta {
  color: var(--ink);
  background: var(--amber);
  padding: 12px 32px;
  border: 0;
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: all 0.1s ease-in-out;
}

.home-page .arrow-cta .arrow {
  color: var(--ink);
}

.home-page .arrow-cta:hover {
  background: var(--amber-mid);
  padding: 12px 36px;
}

.home-page .arrow-cta:hover .arrow {
  animation: none;
  transform: translateX(8px);
}

@keyframes bounce-right {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(8px); }
}

.stats-bar {
  background: var(--ink);
  padding: 30px 0;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-inner > div {
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.stats-inner > div:first-child {
  border: 0;
}

.stat-num {
  font-family: 'Mulish', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--border2);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.section { padding: 70px 0; }
.section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 24px;
}
.section-head h2 {
  font-size: 34px;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 16px;
}
.section-head h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.section-head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

.categories .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  display: block;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat-card:hover {
  border-color: var(--primary-border);
  transform: translateY(-3px);
  box-shadow: inset 0 3px 0 var(--amber), var(--box-shadow-3);
}
.cat-card:hover .cat-icon {
  transform: scale(1.1);
  background: var(--primary-dim);
}
.cat-icon {
  width: 48px;
  height: 48px;
  background: var(--bg2);
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
  transition: transform .25s ease, background .2s;
}
.cat-card h3, .cat-card .cat-title {
  display: block;
  font-size: 17px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
  transition: color .2s;
}
.cat-card:hover h3, .cat-card:hover .cat-title { color: var(--primary); }
.cat-card p, .cat-card .cat-desc {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.cat-card .arrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin-top: 15px;
  transition: letter-spacing .2s;
}
.cat-card:hover .arrow {
  letter-spacing: 2px;
}

.ftc-block {
  background: var(--bg3);
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ftc-block .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ftc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.ftc-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--box-shadow-2);
  border-top: 3px solid var(--primary-border);
  transition: box-shadow .2s, transform .2s, border-top-color .2s;
}
.ftc-card:hover {
  box-shadow: var(--box-shadow-3);
  transform: translateY(-2px);
  border-top-color: var(--primary);
}
.ftc-icon {
  width: 52px;
  height: 52px;
  background: var(--bg2);
  border-radius: var(--radius);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.ftc-card h3 {
  font-size: 18px;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.ftc-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.ftc-disclaimer {
  background: #fff7dc;
  border-left: 4px solid var(--amber);
  padding: 20px 24px;
  margin-top: 40px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.6;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.ftc-disclaimer strong { color: var(--ink); }

.resources { background: var(--bg); }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.resource-card {
  background: var(--surface);
  border: 2px solid var(--bg2);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
  display: block;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.resource-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-3);
}
.resource-icon {
  width: 56px;
  height: 56px;
  background: var(--amber);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
  color: var(--ink);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.resource-card:hover .resource-icon {
  transform: scale(1.15) rotate(8deg);
}
.resource-card h3, .resource-card .res-title {
  display: block;
  font-size: 15px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 6px;
  transition: color .2s;
}
.resource-card:hover h3, .resource-card:hover .res-title { color: var(--primary); }
.resource-card p, .resource-card .res-desc {
  display: block;
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 0;
}

.how-it-works { background: var(--bg2); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12.5%;
  width: 75%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--border2) 0, var(--border2) 6px,
    transparent 6px, transparent 14px
  );
  pointer-events: none;
}
.how-step { text-align: center; position: relative; }
.how-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
  outline: 3px solid var(--primary-border);
  outline-offset: 3px;
  position: relative;
  z-index: 1;
  transition: background .2s, outline-color .2s;
}
.how-step:hover .how-num {
  background: var(--primary);
  outline-color: var(--primary-glow);
}
.how-step h3 {
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 14px;
  color: var(--muted);
}

.featured { background: var(--bg); }
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
}
.featured-main {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
}
.featured-main .tag {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.featured-main h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}
.featured-main p {
  color: var(--border2);
  font-size: 15px;
  margin-bottom: 18px;
}
a.read-btn {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 20px;
  font-weight: 700;
  border-radius: var(--radius-xs);
  font-size: 14px;
  transition: background .2s;
}
a.read-btn:hover { background: #e0a500; }

.featured-card {
  background: var(--bg3);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: block;
  position: relative;
  border-left: 3px solid transparent;
  transition: transform .2s, box-shadow .2s, border-left-color .2s;
}
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-3);
  border-left-color: var(--primary);
}
.featured-card .label {
  display: block;
  width: fit-content;
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary-dim);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.featured-card h4, .featured-card .feat-title {
  display: block;
  font-size: 16px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 8px 0;
  transition: color .2s;
}
.featured-card:hover h4, .featured-card:hover .feat-title { color: var(--primary); }
.featured-card p, .featured-card .feat-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.state-hub { background: var(--bg3); }
.state-hub-intro {
  background: var(--surface);
  padding: 26px;
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
  border: 1px solid var(--border);
  text-align: center;
}
.state-hub-intro p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 15px;
}
.state-hub-intro p:last-child { margin-bottom: 0; }
.state-hub-intro strong { color: var(--ink); }
.states-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 30px;
}
.states-grid a {
  color: var(--primary);
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, transform .2s, border-bottom-color .2s;
  display: block;
}
.states-grid a:hover {
  transform: translateX(4px);
  border-bottom-color: var(--primary);
  color: var(--primary-dark);
}

.about-section {
  background: var(--bg);
  padding: 70px 0;
  border-top: 1px solid var(--border);
}
.about-section .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-section h2 {
  font-size: 30px;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 18px;
  text-align: center;
}
.about-section p {
  font-size: 16px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION 4.5: INTERACTIVE STATES
   ───────────────────────────────────────────────────────────────────────────── */

a, button, input, textarea, select,
.cat-card, .resource-card, .featured-card, .ftc-card, .sublist.card {
  transition: color .2s ease, background-color .2s ease,
              border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION 5: FOOTER
   ───────────────────────────────────────────────────────────────────────────── */

footer {
  background: var(--ink);
  padding: 48px;
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.62);
  margin-top: 14px;
}
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover {
  color: rgba(255,255,255,0.88);
}

.footer-links {
  display: grid;
  grid-template-columns: .8fr .8fr;
  gap: 0 20px;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 22px;
}

.footer-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin: 20px auto 0;
  text-align: center;
}


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

.contact-form-wrap {
  max-width: 360px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 32px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink2);
}
input, textarea, select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-glow);
  outline: none;
}
button[type="submit"] {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 15px;
  font-weight: 700;
  padding: 13px;
  cursor: pointer;
  transition: background .2s;
}
button[type="submit"]:hover { background: var(--primary-dark); }

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

.topic-rail {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
}
.topic-rail-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: max-content;
  gap: 12px;
}
.topic-rail-inner.is-marquee {
  animation: marquee 36s linear infinite;
}
.topic-rail-inner.is-marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.topic-chip {
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.item-sublist { list-style: none; padding: 0; margin: 0; }
.sublist.card {
  border: none !important;
  box-shadow: var(--box-shadow-2);
  transition: box-shadow .2s, transform .2s, color .2s;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sublist.card:hover {
  box-shadow: var(--box-shadow-3);
  transform: translateY(-4px);
}
.sublist.card:hover h5,
.sublist.card:hover .card-title { color: var(--primary-dark); }
@media (max-width: 767.98px) {
  .sublist.card { flex-direction: row !important; }
  .sublist.card .card-img-top,
  .sublist.card img { width: 120px; height: 100%; object-fit: cover; flex-shrink: 0; }
}

.cols:has(.item-sublist),
.cols:has(.item-siblings):has(.extended) {
  background: var(--bg2);
  padding: 60px 0 !important;
  border-top: 1px solid var(--border);
}

.item-sublist .row,
.item-siblings:has(.extended) {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.item-sublist .row,
.item-siblings:has(.extended) repeat {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 30px;
}

.item-sublist .row > div,
.item-siblings:has(.extended) .row > div {
  padding: 0 !important;
  width: auto;
  flex: auto;
}

.sibling.link-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: auto !important;
  min-height: 0 !important;
}

repeat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
}

.item-bubbles {
  width: 100%;
}

.bubbles-chip {
  margin-bottom: 10px;
}

.bubbles-chip:last-child {
  margin-bottom: 0;
}

.bubbles-link {
  color: var(--primary);
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, transform .2s, border-bottom-color .2s;
  display: block;
}

.bubbles-link:hover {
  transform: translateX(4px);
  border-bottom-color: var(--primary);
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .item-sublist .row,
  .item-siblings:has(.extended) repeat {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .item-sublist .row,
  .item-siblings:has(.extended) repeat {
    grid-template-columns: repeat(2, 1fr);
  }
}


.dir-text {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}
.dir-icon { flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION 8: LAYOUT RESET + WIDTH INVARIANTS
   ───────────────────────────────────────────────────────────────────────────── */
.container.main { width: 100%; max-width: 100%; padding: 0 }
.container.layout{ max-width: 100%; padding: 0 }
.container.layout .row.layout { margin: 0 }
.container.layout .row.layout > .cols { padding:0; overflow-x: hidden; }
.home .container.layout .row.layout > .cols { padding: 0 }
.pages .main-wrapper .container.main { padding: 24px 16px }

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

@media (max-width: 1199.98px) {
  nav { padding: 0 24px; }
  .nav-links-wrap { display: none; }
  .nav-brand {  justify-content: space-between; width: 100%;}
  .hamburger { display: -webkit-box;
  display: -ms-flexbox;
  display: flex; flex-shrink: 0; }
  .dir-content { padding: 40px 24px; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 38px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner > div:first-child, .stats-inner > div:nth-child(3) { border: 0 }
  .categories .grid { grid-template-columns: repeat(2, 1fr); }
  .ftc-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { display: -webkit-box;
  display: -ms-flexbox;
  display: flex; flex-wrap: wrap; -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center; gap: 10px;}
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::before { display: none; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-main { grid-column: 1 / -1; }
  .states-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 990px) {
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-logo { margin: 0 auto; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 767.98px) {
  nav { padding: 0 16px; }
  .mobile-more { display: block !important; }
  footer {text-align: center; padding: 48px 24px}
  .footer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; }
  .dir-content { padding: 28px 16px; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .arrow-cta { font-size: 14px; padding: 12px 16px; }
  .section-head { font-size: 28px;}
  .categories .grid { grid-template-columns: 1fr; }
  .ftc-grid { grid-template-columns: 1fr; }
  .resource-grid .resource-card { max-width: 48%}
  .how-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
  .about-section { padding: 48px 0; }
}

@media (max-width: 374px) {
  .hero h1 { font-size: 26px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stats-inner > div { border: 0 }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTION 10: CATEGORY LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */

.breadcrumbs {
  background: var(--bg2);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.breadcrumbs .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.breadcrumbs a { color: var(--primary); transition: color .2s; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; color: var(--muted); }
.breadcrumbs .current { color: var(--muted); }

/* MODIFICATIONS - START */
.cols:has(.cat-hero) {
  background: var(--bg2);
}
.cols:has(.cat-hero) > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.cols:has(.cat-hero) > div > div {
  flex: 1;
  align-content: center;
}
.cols:has(.cat-hero):has(iframe) > div > div:has(.item-external-scripts) {
  max-width: 500px;
}
.cols:has(.cat-hero):has(iframe) .item-external-scripts {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
.cat-hero h1 {
  font-size: 50px;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.15;
}

@media (max-width: 767.98px) {
  .cols:has(.cat-hero) > div {
    flex-direction: column-reverse;
    gap: 0;
  }
  .cols:has(.cat-hero):has(iframe) > div > div:has(.item-external-scripts) {
    padding: 0 10px;
    max-width: 800px;
    width: 100%;
  }
  .all-pages .cols:has(.cat-hero) .arrow-cta {
    display: none;
  }
}

/* MODIFICATIONS - END */

.cat-hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.cat-hero .lead {
  font-size: 18px;
  color: var(--ink2);
  max-width: 680px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.hero-bullets li {
  padding: 7px 0;
  font-size: 15px;
  color: var(--text);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-bullets li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}
.cat-hero .arrow-cta { margin: 0; }

.content-section { padding: 52px 0; }
.content-section .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}
.content-section h2 {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 700;
}
.content-section h3 {
  font-size: 20px;
  color: var(--ink);
  margin: 28px 0 10px;
  font-weight: 700;
}
.content-section p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.subcats {
  background: var(--ink);
  padding: 60px 0;
}
.subcats .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.subcats .wrap > h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 28px;
  text-align: center;
  font-weight: 700;
}
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.subcat-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.subcat-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-3);
}
.subcat-icon {
  width: 44px;
  height: 44px;
  background: var(--amber);
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.subcat-card h3, .subcat-card .subcat-title {
  display: block;
  font-size: 16px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 8px;
}
.subcat-card p, .subcat-card .subcat-desc {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.55;
}
.subcat-card .arrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.faq-section { padding: 60px 0; }
.faq-section .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}
.faq-section .wrap > h2 {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
  font-weight: 700;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  padding: 16px 22px;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: var(--bg2);
  user-select: none;
  list-style: none;
  transition: background .15s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--bg3); }
.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a {
  padding: 16px 22px;
  font-size: 15px;
  color: var(--text);
  border-top: 1px solid var(--border);
  line-height: 1.65;
}
.faq-cta { text-align: center; margin-top: 28px; }
.faq-cta a {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.faq-cta a:hover { background: var(--primary); }

/* ── FAQ LIST PAGE ─────────────────────────────── */
.faq-list-section { padding: 60px 0; }
.faq-list-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.faq-intro {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}
.faq-intro h2 {
  font-size: 32px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.faq-intro p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.faq-intro p:last-child { margin-bottom: 0; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.faq-category {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  grid-column: 1 / -1;
  margin: 28px 0 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
}
.faq-category:first-child { margin-top: 0; }
.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: block;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.faq-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-3);
}
.faq-card .faq-q-title {
  display: block;
  font-size: 17px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color .2s;
}
.faq-card:hover .faq-q-title { color: var(--primary); }
.faq-card .faq-excerpt {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.faq-card .read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  transition: color .2s;
}
.faq-card:hover .read-more { color: var(--primary-dark); }

.states-section {
  background: var(--bg2);
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.states-section .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.states-section h2 {
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 8px;
  text-align: center;
  font-weight: 700;
}
.states-section .sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

@media (max-width: 1199.98px) {
  .subcat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero .wrap,
  .content-section .wrap,
  .faq-section .wrap,
  .faq-list-section .wrap,
  .subcats .wrap,
  .states-section .wrap,
  .breadcrumbs .wrap { padding: 0 24px; }
}


@media (max-width: 767.98px) {
  .cat-hero { padding: 0 0 40px; }
  .cat-hero h1 { font-size: 30px; }
  .cat-hero .lead { font-size: 16px; }
  .cat-hero .wrap,
  .content-section .wrap,
  .faq-section .wrap,
  .faq-list-section .wrap,
  .subcats .wrap,
  .states-section .wrap,
  .breadcrumbs .wrap { padding: 0 24px; }
  .subcat-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-section,
  .faq-list-section,
  .states-section,
  .subcats { padding: 40px 0; }
  .content-section { padding: 36px 0; }
  .faq-intro { margin-bottom: 32px; }
  .faq-intro h2 { font-size: 26px; }
}
