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

:root {
  --navy:        #1b3358;
  --navy-mid:    #254472;
  --navy-light:  #2e578e;
  --navy-bright: #3a6fad;
  /* alias teal vars to navy so nothing breaks */
  --teal:        #1b3358;
  --teal-mid:    #254472;
  --teal-light:  #2e578e;
  --teal-bright: #3a6fad;
  --lime:        #2563eb;
  --lime-dim:    rgba(37,99,235,0.09);
  --lime-border: rgba(37,99,235,0.22);
  --bg:          #f7f8fa;
  --bg2:         #eef0f5;
  --surface:     #ffffff;
  --border:      #e3e7ef;
  --border2:     #cdd3e0;
  --text:        #111827;
  --text2:       #1f2d3d;
  --muted:       #64748b;
  --faint:       #a0aec0;
  --white:       #ffffff;
  --orange:      #e05c00;
  --orange-dim:  rgba(224,92,0,0.09);
  --sky:         #0ea5e9;
}

html, body { overflow-x: hidden; }
body.all-pages { display: flex; flex-direction: column; min-height: 100vh; }
html { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); }
a { text-decoration: none; color: inherit; }

h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
}

/* ── TOP BAR ── */

/* ── TICKER BAR ── */
.ticker {
  background: var(--teal-mid); overflow: hidden;
  padding: 9px 0; position: relative;
  border-bottom: 1px solid var(--teal-light);
}
.ticker-inner {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 40px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em; text-transform: uppercase;
  flex-shrink: 0;
}
.ticker-dot { width: 5px; height: 5px; background: var(--lime); border-radius: 50%; opacity: 0.7; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── NAV ── */
nav {
  background: var(--teal);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 62px;
  position: sticky; top: 0; z-index: 200;
}
.logo {
  font-family: 'Raleway', sans-serif;
  font-size: 21px; font-weight: 900;
  color: var(--white); letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  background: var(--lime); color: var(--white);
  font-size: 13px; font-weight: 900; padding: 3px 8px;
  border-radius: 5px; letter-spacing: 0; line-height: 1.4;
}
.logo em { font-style: normal; color: var(--lime); }
img.logo { height: 32px; width: auto; display: block; }

.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 6px; transition: all .2s;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-cta {
  background: var(--lime) !important; color: var(--white) !important;
  font-weight: 800 !important; border-radius: 6px;
  margin-left: 10px; padding: 8px 20px !important;
  transition: opacity .2s !important;
}
.nav-cta:hover { opacity: 0.88; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: all .3s;
}
.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 {
  display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 199;
  background: var(--teal-mid); border-bottom: 1px solid var(--teal-light);
  padding: 16px 20px 24px; flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.75); font-size: 15px; font-weight: 600;
  padding: 12px 16px; border-radius: 6px; transition: background .2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.08); }
.mobile-menu .m-cta {
  background: var(--lime); color: var(--white) !important;
  text-align: center; margin-top: 8px; border-radius: 6px;
  padding: 13px 16px; font-weight: 800 !important;
}

/* ── HERO ── */
.hero {
  background: #ffffff;
  padding: 64px 48px 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
/* warm glow left */
.hero::before {
  content: '';
  position: absolute; top: -100px; left: -100px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(254,243,232,0.75) 0%, transparent 65%);
  pointer-events: none;
}
/* blue glow right */
.hero::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 56px; align-items: center; position: relative; z-index: 1;
}
.hero-left { padding-bottom: 0; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fef3e8; border: 1px solid #f5c896;
  border-radius: 20px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #92400e;
  margin-bottom: 22px;
}
.pill-dot {
  width: 7px; height: 7px; background: #f59e0b; border-radius: 50%;
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; color: var(--text);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--lime); display: block; }

.hero-sub {
  font-size: 16px; color: var(--muted);
  line-height: 1.75; max-width: 500px;
  margin-bottom: 32px; font-weight: 400;
}

/* Search */
.search-wrap { max-width: 520px; margin-bottom: 28px; }
.search-box {
  display: flex; background: var(--white);
  border: 2px solid var(--border2);
  border-radius: 9px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.search-box:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
}
.search-box input {
  flex: 1; border: none; outline: none;
  padding: 14px 18px; font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  background: transparent; color: var(--text); min-width: 0;
}
.search-box input::placeholder { color: var(--faint); }
.search-box button {
  background: var(--lime); border: none; cursor: pointer;
  padding: 0 24px; color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 13px; font-weight: 900; letter-spacing: 0.04em;
  transition: opacity .2s; white-space: nowrap; flex-shrink: 0;
}
.search-box button:hover { opacity: 0.88; }

.quick-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.qt-label { font-size: 11px; font-weight: 700; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 0; width: 100%; }
.qt {
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 500;
  color: var(--muted); background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 4px; padding: 5px 12px;
  cursor: pointer; transition: all .2s; letter-spacing: 0.03em;
}
.qt:hover { color: var(--lime); border-color: var(--lime-border); background: var(--lime-dim); }

/* Right — state selector + urgency card */
.hero-right { display: flex; flex-direction: column; gap: 14px; }

.urgency-card {
  background: #fff8f0;
  border: 1.5px solid #f5c896;
  border-radius: 14px; padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(224,92,0,0.07);
}
.uc-label {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: #92400e; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.uc-label-line { flex: 1; height: 1px; background: #f5c896; }
.uc-title {
  font-family: 'Raleway', sans-serif;
  font-size: 18px; font-weight: 900; color: var(--text);
  letter-spacing: -0.3px; margin-bottom: 8px;
}
.uc-desc { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.uc-btn {
  display: block; width: 100%; text-align: center;
  background: var(--lime); color: var(--white);
  font-size: 13px; font-weight: 800; padding: 12px;
  border-radius: 7px; cursor: pointer; transition: opacity .2s;
  letter-spacing: 0.02em;
}
.uc-btn:hover { opacity: 0.88; }

.stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.stat-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 16px;
  transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.stat-mini:hover { border-color: var(--lime-border); box-shadow: 0 4px 12px rgba(37,99,235,0.08); }
.sm-val {
  font-family: 'Raleway', sans-serif;
  font-size: 26px; font-weight: 900; color: var(--navy);
  line-height: 1; margin-bottom: 5px; letter-spacing: -0.5px;
}
.sm-label { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.4; }

/* ── TRUST BAR ── */
.trust {
  background: var(--navy);
  padding: 13px 48px;
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  border-bottom: 1px solid var(--navy-light);
  margin-bottom: 48px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}
.ti { display: flex; align-items: center; gap: 9px; }
.ti-icon { font-size: 14px; }
.ti-text { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.45); }
.ti-text strong { color: rgba(255,255,255,0.88); }

/* ── MAIN ── */
.main {
  max-width: 1236px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 48px 56px;
}

/* Deadline alert */
.deadline-bar {
  background: var(--orange-dim);
  border: 1px solid rgba(232,96,10,0.22);
  border-left: 4px solid var(--orange);
  border-radius: 8px; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 52px; flex-wrap: wrap;
}
.db-icon { font-size: 22px; flex-shrink: 0; }
.db-body { flex: 1; min-width: 0; }
.db-body strong { font-size: 14px; font-weight: 800; color: var(--orange); display: block; margin-bottom: 2px; }
.db-body span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.db-btn {
  background: var(--orange); color: white;
  font-size: 12px; font-weight: 800; padding: 9px 18px;
  border-radius: 5px; cursor: pointer; white-space: nowrap;
  flex-shrink: 0; letter-spacing: 0.04em; transition: opacity .2s;
}
.db-btn:hover { opacity: 0.88; }

/* Section header */
.sh {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 2px solid var(--teal);
}
.sh-title {
  font-family: 'Raleway', sans-serif;
  font-size: 24px; font-weight: 900; color: var(--teal);
  letter-spacing: -0.5px;
}
.sh-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.sh-link { font-size: 12px; font-weight: 800; color: var(--teal-bright); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.sh-link:hover { color: var(--teal); }

/* ── STATE SELECTOR ── */
.state-section { margin-bottom: 56px; }
.state-picker-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.state-picker-top {
  background: var(--teal); padding: 28px 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.sp-label {
  font-family: 'Raleway', sans-serif;
  font-size: 18px; font-weight: 900; color: white;
  letter-spacing: -0.3px; flex: 1; min-width: 160px;
}
.sp-label span { color: var(--lime); }
.state-select-wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.state-select {
  appearance: none; background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25); border-radius: 7px;
  color: white; font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; padding: 11px 40px 11px 16px;
  cursor: pointer; outline: none; min-width: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .2s;
}
.state-select:focus { border-color: var(--lime); }
.state-select option { background: var(--teal); color: white; }
.sp-go {
  background: var(--lime); color: var(--white);
  font-size: 13px; font-weight: 800; padding: 11px 24px;
  border-radius: 7px; cursor: pointer; transition: opacity .2s;
  white-space: nowrap; letter-spacing: 0.02em;
}
.sp-go:hover { opacity: 0.88; }
.state-info-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0; gap: 0;
}
.si-cell {
  padding: 22px 24px; border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.si-cell:last-child { border-right: none; }
.si-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 6px;
}
.si-val {
  font-family: 'Raleway', sans-serif;
  font-size: 20px; font-weight: 900; color: var(--teal);
  letter-spacing: -0.3px;
}
.si-note { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── TOPICS ── */
.topics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 56px;
}
.topic-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 22px 20px; cursor: pointer;
  transition: all .22s; position: relative;
  overflow: hidden;
}
.topic-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.topic-card:hover { box-shadow: 0 6px 24px rgba(10,74,69,0.12); transform: translateY(-2px); }
.topic-card:hover::before { transform: scaleX(1); }
.topic-card.tc-lime::before { background: var(--lime); }
.topic-card.tc-orange::before { background: var(--orange); }
.topic-card.tc-sky::before { background: var(--sky); }
.tc-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.tc-name {
  font-family: 'Raleway', sans-serif;
  font-size: 15px; font-weight: 800; color: var(--teal);
  letter-spacing: -0.2px; margin-bottom: 6px; line-height: 1.3;
}
.tc-desc { font-size: 12px; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.tc-count {
  font-family: 'DM Mono', monospace;
  font-size: 11px; color: var(--faint); letter-spacing: 0.04em;
}

/* ── PROCESS TIMELINE ── */
.process-section { margin-bottom: 56px; }
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.proc-step {
  padding: 28px 22px; border-right: 1px solid var(--border);
  position: relative; transition: background .2s; cursor: pointer;
}
.proc-step:last-child { border-right: none; }
.proc-step:hover { background: var(--bg); }
/* connector arrow */
.proc-step:not(:last-child)::after {
  content: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l7 7-7 7' stroke='%23cdd3e0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  position: absolute; right: -7px; top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  padding: 4px 3px;
  z-index: 1; line-height: 0;
}
.ps-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--teal); color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; transition: background .2s;
}
.proc-step:hover .ps-num { background: var(--teal-bright); }
.ps-title { font-size: 14px; font-weight: 800; color: var(--teal); margin-bottom: 7px; }
.ps-desc { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ── FEATURED GUIDES ── */
.feat-grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 14px; margin-bottom: 56px;
}
.feat-main {
  background: var(--teal); border-radius: 12px; padding: 40px 36px;
  cursor: pointer; position: relative; overflow: hidden;
  transition: box-shadow .2s;
}
.feat-main::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,242,53,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,242,53,0.04) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.feat-main::after {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,242,53,0.08), transparent 70%);
  pointer-events: none;
}
.feat-main:hover { box-shadow: 0 16px 40px rgba(10,74,69,0.25); }
.fm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lime-dim); border: 1px solid var(--lime-border);
  color: var(--lime); font-size: 10px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 4px; padding: 3px 10px; margin-bottom: 20px;
}
.feat-main h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 26px; font-weight: 900; color: white;
  line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 14px;
  position: relative; z-index: 1;
}
.feat-main p {
  font-size: 14px; color: rgba(255,255,255,0.62);
  line-height: 1.7; margin-bottom: 28px;
  position: relative; z-index: 1;
}
.fm-read {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; color: var(--lime);
  letter-spacing: 0.04em; position: relative; z-index: 1;
}
.fm-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lime); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: transform .2s;
}
.feat-main:hover .fm-arrow { transform: translateX(4px); }

.feat-stack { display: flex; flex-direction: column; gap: 12px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px; cursor: pointer;
  display: flex; gap: 14px; align-items: flex-start;
  transition: all .2s;
}
.feat-card:hover { border-color: var(--teal-bright); box-shadow: 0 4px 16px rgba(10,74,69,0.08); transform: translateX(3px); }
.fc-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.fc-cat { font-size: 10px; font-weight: 800; color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.fc-title { font-size: 13px; font-weight: 700; color: var(--text2); line-height: 1.4; margin-bottom: 3px; }
.fc-meta { font-size: 11px; color: var(--faint); }

/* ── DENIED SECTION ── */
.denied-section {
  background: linear-gradient(135deg, #fff8f3 0%, #fff 100%);
  border: 1px solid rgba(232,96,10,0.2);
  border-radius: 14px; padding: 40px 36px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: 56px; position: relative; overflow: hidden;
}
.denied-section::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--orange);
}
.ds-eyebrow {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.ds-eyebrow-dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.ds-left h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 26px; font-weight: 900; color: var(--teal);
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px;
}
.ds-left p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.ds-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: white;
  font-size: 13px; font-weight: 800; padding: 12px 22px;
  border-radius: 7px; cursor: pointer; transition: opacity .2s;
}
.ds-cta:hover { opacity: 0.88; }
.ds-right { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.ds-reason {
  display: flex; gap: 12px; align-items: flex-start;
  background: white; border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px; cursor: pointer;
  transition: all .2s;
}
.ds-reason:hover { border-color: var(--orange); box-shadow: 0 3px 12px rgba(232,96,10,0.08); }
.dr-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.dr-title { font-size: 13px; font-weight: 700; color: var(--text2); margin-bottom: 2px; }
.dr-sub { font-size: 12px; color: var(--muted); }


/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-light);
  padding: 28px 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.f-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}
.f-links {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: flex-end;
}
.f-links a {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.38);
  transition: color .2s;
}
.f-links a:hover { color: rgba(255,255,255,0.75); }
.f-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
  text-align: center;
}
.f-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  margin: 0;
}

/* ── CONTACT FORM ── */
.contactus {
  max-width: 560px;
  margin: 0 auto 52px;
}
.contactus .contact {
  padding: 0;
}
.contactus .contact p {
  margin: 0 0 16px;
}
.contactus .contact p:last-child {
  margin-bottom: 0;
}
.contactus .contact input,
.contactus .contact textarea {
  width: 100%;
  border: 1.5px solid var(--border2);
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.contactus .contact input::placeholder,
.contactus .contact textarea::placeholder {
  color: var(--faint);
}
.contactus .contact input:focus,
.contactus .contact textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
}
.contactus .contact textarea {
  min-height: 130px;
  resize: vertical;
}
.contactus .contact button {
  width: 100%;
  background: var(--lime);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 13px 24px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity .2s;
}
.contactus .contact button:hover { opacity: 0.88; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.hero-left > * { animation: fadeUp .55s ease both; }
.hero-pill    { animation-delay:.05s; }
.hero h1      { animation-delay:.12s; }
.hero-sub     { animation-delay:.20s; }
.search-wrap  { animation-delay:.27s; }
.quick-tags   { animation-delay:.34s; }
.hero-right   { animation: fadeUp .55s ease .18s both; }

/* ── SEARCHBAR (all-pages.html) ── */
body.all-pages:not(:has(.searchbar)) nav { margin-bottom: 48px; }

.searchbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
  margin-bottom: 48px;
}
.searchbar form {
  display: flex;
  border: 2px solid var(--navy);
  border-radius: 7px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.searchbar form:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  min-width: 0;
}
.search-input::placeholder { color: var(--faint); }
.search-btn {
  background: var(--navy);
  border: none;
  cursor: pointer;
  padding: 0 22px;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--lime); }

body.home-page .main { padding: 0; }


/* ═══════════════════════════════
   TABLET ≤ 1024px
═══════════════════════════════ */
@media (max-width: 1024px) {
.ticker { display: none; }
  nav { padding: 0 24px; }
  .hero { padding: 56px 24px 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(36px, 5.5vw, 52px); }
  .hero-sub { max-width: 100%; }
  .search-wrap { max-width: 100%; }
  .hero-right { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .urgency-card { grid-column: 1 / -1; }
  .trust { padding: 13px 24px; gap: 24px; }
  .main { padding: 48px 24px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .proc-step:nth-child(2) { border-right: none; }
  .proc-step:not(:last-child)::after { display: none; }
  .proc-step:nth-child(-n+4) { border-bottom: 1px solid var(--border); }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-main { padding: 32px 28px; }
  .denied-section { grid-template-columns: 1fr; gap: 28px; }
  .state-info-grid { grid-template-columns: repeat(2, 1fr); }
  .si-cell:nth-child(2) { border-right: none; }
  .si-cell:nth-child(3) { border-right: 1px solid var(--border); }
  .si-cell:nth-child(3), .si-cell:nth-child(4) { border-top: 1px solid var(--border); }
  footer { padding: 32px 24px 20px; }
  .searchbar { padding: 14px 24px; }
}


/* ═══════════════════════════════
   MOBILE ≤ 768px
═══════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 16px; height: 56px; }
  .logo { font-size: 18px; }
  .logo-mark { font-size: 11px; padding: 2px 7px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { top: 56px; }

  .hero { padding: 40px 16px 48px; }
  .hero h1 { font-size: clamp(32px, 8vw, 44px); letter-spacing: -1px; }
  .hero-sub { font-size: 14px; margin-bottom: 28px; }
  .search-box input { padding: 12px 14px; }
  .search-box button { padding: 0 16px; font-size: 12px; }
  .hero-right { grid-template-columns: 1fr; }
  .urgency-card { grid-column: auto; }
  .stat-row { grid-template-columns: 1fr 1fr; }

  .trust { padding: 11px 16px; gap: 14px; justify-content: center; }
  .ti-text { font-size: 11px; }

  .main { padding: 36px 16px; }

  .deadline-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .db-body { width: 100%; }
  .db-btn { width: 100%; text-align: center; }

  .sh-title { font-size: 20px; }

  .topics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .topic-card { padding: 18px 14px; }
  .tc-desc { display: none; }

  .process-steps { grid-template-columns: 1fr; border-radius: 10px; }
  .proc-step { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 18px; display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; }
  .proc-step:last-child { border-bottom: none; }
  .proc-step:not(:last-child)::after { display: none; }
  .ps-num { grid-row: 1 / 3; align-self: start; margin-bottom: 0; }
  .ps-title { align-self: end; }
  .ps-desc { align-self: start; }

  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat-main { padding: 28px 22px; }
  .feat-main h3 { font-size: 22px; }

  .denied-section { padding: 28px 22px 28px 30px; gap: 22px; }
  .ds-left h3 { font-size: 22px; }

  .state-picker-top { padding: 20px; gap: 16px; }
  .sp-label { font-size: 15px; }
  .state-select { min-width: 0; width: 100%; }
  .state-select-wrap { width: 100%; flex-direction: column; }
  .sp-go { width: 100%; text-align: center; padding: 12px; }
  .state-info-grid { grid-template-columns: 1fr 1fr; }
  .si-cell { padding: 16px 18px; }
  .si-cell:nth-child(3) { border-right: none; }
  .si-cell:nth-child(4) { border-right: none; }


  footer { padding: 24px 16px 16px; }
  .f-top { flex-direction: column; align-items: center; gap: 16px; }
  .f-links { justify-content: center; gap: 12px; }

  body.home-page .main { padding: 0; }

  .searchbar { padding: 12px 16px; }
  .search-input { padding: 10px 12px; font-size: 13px; }
  .search-btn { padding: 0 16px; font-size: 12px; }
}


/* ═══════════════════════════════
   SMALL MOBILE ≤ 480px
═══════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .topics-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .feat-stack { gap: 10px; }
  .ds-right { gap: 8px; }
}

/* ═══════════════════════════════════
            WIDGETS
═══════════════════════════════════ */

/* ---- SUBLIST ---- */

.item-sublist a {
  width: 100%;
  height: 100%;
}

.item.item-bubbles {
  margin-bottom: 32px;
}

.item-bubbles .row {
  margin: 0;
}

.bubbles-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: flex;
  font-weight: 500;
  height: 100%;
  padding: 16px 48px 16px 24px;
  position: relative;
  transition: padding 0.2s ease-in-out;
}

.bubbles-chip:hover {
  background: var(--lime-dim);
  border-color: var(--lime-border);
  padding-left: 20px;
}

.bubbles-chip:active,
.bubbles-chip:focus {
  background: var(--lime-border);
}

.bubbles-link {
  display: block;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}

.bubbles-link .bubbles-outer {
  height: 100%;
  padding: 5px;
  max-width: 100%;
}

.col-gap:has(> .item-bubbles)::before { display: none !important; }

.bubbles-chip::after {
  content: url("data:image/svg+xml,%3Csvg width='13' height='12' viewBox='0 0 13 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.87771 7.01782H1.02042C0.737361 7.01782 0.496528 6.91886 0.297917 6.72094C0.0993056 6.52317 0 6.2833 0 6.00136C0 5.71942 0.0993056 5.4781 0.297917 5.2774C0.496528 5.07657 0.737361 4.97615 1.02042 4.97615H8.87771L5.66583 1.76428C5.46111 1.55955 5.35681 1.31719 5.35292 1.03719C5.34889 0.757332 5.45076 0.510249 5.65854 0.295943C5.86632 0.0948319 6.11014 -0.00377823 6.39 0.000110661C6.66986 0.00399955 6.91236 0.108583 7.1175 0.313861L12.0713 5.27407C12.1699 5.37282 12.2464 5.4856 12.3008 5.6124C12.3551 5.73935 12.3823 5.86865 12.3823 6.00032C12.3823 6.13199 12.3551 6.26122 12.3008 6.38803C12.2464 6.51497 12.1727 6.62497 12.0798 6.71803L7.10958 11.688C6.89403 11.9037 6.65368 12.0081 6.38854 12.0012C6.12354 11.9942 5.88715 11.8862 5.67938 11.6772C5.4716 11.4629 5.36771 11.2166 5.36771 10.9382C5.36771 10.6599 5.4716 10.4192 5.67938 10.2162L8.87771 7.01782Z' fill='%232563eb'/%3E%3C/svg%3E");
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease-in-out;
}

.bubbles-chip:hover::after {
  right: 10px;
}

/* SUBLIST CARDS */

.item-sublist:has(.sublist.card) .row > div {
  padding: 5px !important;
}

.sublist.card {
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s ease-in;
}

.sublist.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  color: var(--lime);
  transform: translateY(-4px);
}

.sublist.card h5 {
  margin-bottom: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
}

.sublist.card .card-body {
  padding: 16px;
}

@media (max-width: 767.98px) {
  .row div:has(> .sublist.card) {
    padding: 0 !important;
  }

  .row:has(> div .sublist.card) {
    margin: 0;
    gap: 10px;
  }

  .sublist.card {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .sublist.card .card-img-top {
    border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .sublist.card .card-body {
    flex: 1;
    padding: 1rem;
  }

  .sublist.card .card-body * {
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .sublist.card .card-body h5 {
    font-size: 16px;
  }
}

.container { max-width: 1600px !important; }
