/* =========================================================
   Free But Not Free — Maryland Electronic Monitoring
   Global stylesheet | Light professional theme, blue accents
   ========================================================= */

:root {
  /* surfaces */
  --bg:            #ffffff;
  --bg-alt:        #f4f7fc;
  --surface:       #ffffff;
  --surface-2:     #eef3fb;
  --border:        #e3e9f2;
  --border-lit:    #c9d6e8;

  /* brand */
  --blue:          #2563eb;
  --blue-bright:   #1d4ed8;
  --blue-deep:     #1e3a8a;
  --cyan:          #0891b2;

  /* type */
  --text:          #0f1c2f;
  --text-mid:      #4a5b73;
  --text-dim:      #78899f;

  /* status */
  --ok:            #059669;
  --warn:          #b45309;

  /* dark band (top bar, CTA strip) */
  --band:          #0f2452;
  --band-2:        #1e3a8a;
  --band-text:     #dbe7ff;

  --radius:        14px;
  --radius-sm:     9px;
  --shadow:        0 14px 38px rgba(15, 28, 47, .10);
  --shadow-sm:     0 4px 14px rgba(15, 28, 47, .07);

  --maxw:          1180px;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head:     'Plus Jakarta Sans', var(--font);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; color: var(--text-mid); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.topbar {
  background: linear-gradient(90deg, var(--band), var(--band-2));
  font-size: .84rem;
  color: var(--band-text);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #bfdbfe; }
.topbar-items { display: flex; gap: 20px; flex-wrap: wrap; }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 14px; padding-bottom: 14px;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--blue), var(--blue-deep));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .30);
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; color: var(--text); letter-spacing: -.02em; }
.brand-tag  { font-size: .69rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text-mid); font-size: .93rem; font-weight: 500;
  padding: 9px 13px; border-radius: 8px; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.active { color: var(--blue-bright); background: rgba(37, 99, 235, .09); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; background: var(--surface-2); border: 1px solid var(--border-lit);
  color: var(--text); width: 44px; height: 42px; border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px; font-weight: 650; font-size: .95rem;
  font-family: var(--font); cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  text-align: center; line-height: 1.2;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .28);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(37, 99, 235, .38); }

.btn-outline { background: #fff; border-color: var(--border-lit); color: var(--text); }
.btn-outline:hover { border-color: var(--blue); background: rgba(37, 99, 235, .05); color: var(--blue-bright); }

.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #e3ecfa; color: var(--text); border-color: var(--border-lit); }

.btn-sm { padding: 9px 17px; font-size: .87rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* =========================================================
   SECTIONS
   ========================================================= */
section { position: relative; }
.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-bright); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: 104px 0 96px;
  background:
    radial-gradient(1000px 480px at 78% -8%, rgba(37, 99, 235, .10), transparent 62%),
    radial-gradient(760px 420px at 8% 108%, rgba(8, 145, 178, .07), transparent 60%),
    linear-gradient(180deg, #f7faff, #ffffff 62%);
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image:
    linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
}
.hero .container { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.14rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-stat .n { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.hero-stat .l { font-size: .81rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; }

/* Hero card */
.hero-card {
  background: linear-gradient(165deg, #ffffff, var(--bg-alt));
  border: 1px solid var(--border-lit); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.hero-card .muted { font-size: .87rem; color: var(--text-dim); margin-bottom: 20px; }
.hero-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 13px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--text-mid); }
.hero-card li svg { width: 19px; height: 19px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }

/* =========================================================
   TRUST BANNER
   ========================================================= */
.trust-banner { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 14px 38px; flex-wrap: wrap; justify-content: center;
}
.trust-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 600; color: var(--text-mid);
}
.trust-list svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }

/* =========================================================
   CARDS / GRIDS
   ========================================================= */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-lit); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: .94rem; }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: rgba(37, 99, 235, .09); border: 1px solid rgba(37, 99, 235, .18);
}
.card-icon svg { width: 23px; height: 23px; color: var(--blue); }

.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: .89rem; font-weight: 650; margin-top: 14px; }
.card-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card-link:hover svg { transform: translateX(4px); }

/* Feature list (checkmarks) */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-mid); }
.check-list li svg { width: 20px; height: 20px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }
.check-list strong { color: var(--text); display: block; font-weight: 650; }

/* Who we serve */
.audience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.audience {
  text-align: center; padding: 24px 12px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.audience:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.audience svg { width: 30px; height: 30px; color: var(--blue); margin: 0 auto 12px; }
.audience span { font-size: .88rem; font-weight: 650; color: var(--text); }

/* =========================================================
   PROCESS / STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-lit), var(--border-lit), transparent);
}
.step { position: relative; text-align: center; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; position: relative; z-index: 2;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--bg), 0 8px 18px rgba(37, 99, 235, .28);
}
.section-alt .step-num { box-shadow: 0 0 0 6px var(--bg-alt), 0 8px 18px rgba(37, 99, 235, .28); }
.step h3 { font-size: 1rem; margin-bottom: .35em; }
.step p { font-size: .88rem; margin: 0; }

/* =========================================================
   COUNTIES / SERVICE AREA
   ========================================================= */
.county-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px;
}
.county {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  font-size: .89rem; color: var(--text-mid);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.county:hover { border-color: var(--blue); color: var(--text); background: var(--surface-2); }
.county svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }

.area-banner {
  margin-top: 30px; text-align: center; padding: 22px;
  border-radius: var(--radius); border: 1px dashed var(--border-lit);
  background: rgba(37, 99, 235, .04);
}
.area-banner strong { color: var(--blue-bright); font-size: 1.06rem; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quote {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--blue); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.quote p { font-style: italic; color: var(--text); font-size: .98rem; }
.quote footer { font-size: .85rem; color: var(--text-dim); font-style: normal; }
.quote footer strong { color: var(--text-mid); display: block; font-style: normal; }

.placeholder-note {
  padding: 30px; text-align: center; border-radius: var(--radius);
  border: 1px dashed var(--border-lit); background: var(--bg-alt); color: var(--text-dim);
  font-size: .93rem;
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.faq-item.open { border-color: var(--border-lit); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; text-align: left;
  font-family: var(--font-head); font-weight: 650; font-size: 1rem; color: var(--text);
}
.faq-q:hover { color: var(--blue-bright); }
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0; color: var(--blue);
  transition: transform .25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; }
.faq-a p { font-size: .94rem; margin: 0; }

/* =========================================================
   FORMS
   ========================================================= */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 650; color: var(--text); }
.field .req { color: var(--warn); }
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--border-lit); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-family: var(--font); font-size: .94rem;
  transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa9bd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: .78rem; color: var(--text-dim); }
.checkbox-row { display: flex; gap: 11px; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: 4px; flex-shrink: 0; }
.checkbox-row label { font-weight: 400; font-size: .87rem; color: var(--text-mid); }

.form-note {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: #fffaf0; border: 1px solid #f2d9a8;
  font-size: .84rem; color: #7c5310;
}
.form-note a { color: #92400e; text-decoration: underline; }
.form-status { margin-top: 16px; font-size: .9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--ok); }

/* =========================================================
   CONTACT CARDS
   ========================================================= */
.contact-methods { display: grid; gap: 16px; }
.contact-method {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
}
.contact-method .ci {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(37, 99, 235, .09); border: 1px solid rgba(37, 99, 235, .18);
}
.contact-method .ci svg { width: 21px; height: 21px; color: var(--blue); }
.contact-method h3 { font-size: .97rem; margin-bottom: .2em; }
.contact-method p { font-size: .91rem; margin: 0; }
.contact-method a { font-weight: 650; }

/* =========================================================
   CTA STRIP  (deep navy band — anchors the light page)
   ========================================================= */
.cta-strip {
  background: linear-gradient(120deg, #0f2452, #1e3a8a 55%, #12306b);
  padding: 62px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 50% 0%, rgba(96, 165, 250, .28), transparent 70%);
}
.cta-strip .container { position: relative; z-index: 2; }
.cta-strip h2 { margin-bottom: .4em; color: #fff; }
.cta-strip p { max-width: 620px; margin: 0 auto 28px; color: #c7d8f5; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.cta-strip .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.cta-strip .btn-primary:hover { color: var(--blue-deep); background: #eff6ff; }
.cta-strip .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.cta-strip .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-header {
  padding: 68px 0 56px; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(760px 340px at 22% -20%, rgba(37, 99, 235, .10), transparent 65%),
    linear-gradient(180deg, #f7faff, var(--bg-alt));
}
.page-header h1 { margin-bottom: .3em; }
.page-header p { font-size: 1.08rem; max-width: 700px; margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--text-dim); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb span { margin: 0 7px; opacity: .5; }

/* =========================================================
   PROSE (legal pages)
   ========================================================= */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose ul, .prose ol { color: var(--text-mid); padding-left: 22px; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .updated { font-size: .87rem; color: var(--text-dim); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
.split.wide-right { grid-template-columns: .8fr 1.2fr; }
.split.top { align-items: start; }

.stat-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box .n { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--blue-bright); line-height: 1.1; }
.stat-box .l { font-size: .82rem; color: var(--text-dim); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 330px; }
.footer-col h4 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-dim); margin-bottom: 16px; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-mid); font-size: .92rem; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-contact li { font-size: .92rem; color: var(--text-mid); display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 4px; }

.footer-bottom {
  margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: .85rem; color: var(--text-dim);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--blue-bright); }

/* =========================================================
   FLOATING REFER BUTTON
   ========================================================= */
.float-refer {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .38);
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 30px 18px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-cta .btn { display: none; }

  .hero-grid, .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 72px 0 66px; }
  .section { padding: 66px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 22px; }
  .float-refer { right: 14px; bottom: 14px; }
  .form-card { padding: 22px; }
  .county-grid { grid-template-columns: 1fr 1fr; }
}
