/* =========================================================================
   ComplianceAtlas · LawLookup
   Aesthetic: authoritative legal reference — deep navy, warm parchment,
   brass accents, Fraunces serif display over Public Sans.
   ========================================================================= */

:root {
  --navy-900: #0b1a2e;
  --navy-800: #0e2038;
  --navy-700: #16324f;
  --navy-600: #1f4468;
  --ink: #1c2733;
  --ink-soft: #45525f;
  --ink-faint: #6b7885;

  --parchment: #f6f1e7;
  --parchment-2: #efe7d6;
  --paper: #fffdf8;
  --line: #e4dccb;
  --line-strong: #d6cbb2;

  --brass: #b0812f;
  --brass-soft: #c99b45;
  --brass-tint: #f3e7cd;

  --teal: #0f6c66;
  --teal-tint: #dcefec;

  --danger: #9c2b2b;
  --highlight: #ffe08a;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, 0.06), 0 1px 3px rgba(11, 26, 46, 0.08);
  --shadow-md: 0 6px 24px rgba(11, 26, 46, 0.10);
  --shadow-lg: 0 18px 48px rgba(11, 26, 46, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --wrap: 1120px;

--primary:#2563eb;
--primary-hover:#60a5fa;
--text:#f9fafb;
--header-bg:rgba(17,24,39,.92);
--border-light:rgba(255,255,255,.12);
--shadow:
0 8px 24px rgba(0,0,0,.08);
--transition:.25s ease;
--gold:#C9A227;
  --ca-gold:#C9A227;
  --ca-gold-2:#e6c35c;
  --background:#111827;
  --background-dark:#05070d;
}

* { box-sizing: border-box; }


/*==================================================
SCROLLBAR
==================================================*/

html{scroll-behavior:smooth;
}

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#0f172a;

}

::-webkit-scrollbar-thumb{

background:#334155;

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#475569;

}



body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--parchment);
  background-image:
    radial-gradient(circle at 12% -10%, rgba(176, 129, 47, 0.06), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(15, 108, 102, 0.05), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap);    margin-top: 75px; padding: 0 24px; }

main.wrap { flex: 1 0 auto; padding-top: 40px; padding-bottom: 72px; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: none; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

::selection { background: var(--brass-tint); color: var(--navy-900); }

.logo-box{box-shadow:0 6px 18px rgba(201,162,39,.35);transition:transform .25s ease;}
.logo:hover .logo-box{transform:rotate(-6deg) scale(1.05);}
.logo h2{letter-spacing:-.01em;}


.container{

width: 94%;

margin:0 auto;

}

.section{

padding:50px 0;

}

/*==================================================
HEADER
==================================================*/

.site-header{

position:fixed;

top:0;

left:0;

width:100%;

z-index:9999;

background:var(--header-bg);

backdrop-filter:blur(12px);

border-bottom:
1px solid var(--border-light);

}


/*==================================================
NAV CONTAINER
==================================================*/

.nav-container{

max-width:var(--max-width);

margin:auto;

display:flex;

justify-content:space-between;

align-items:center;

}


/*==================================================
LOGO
==================================================*/

.logo{

display:flex;

align-items:center;

gap:18px;

color:white;

margin-left: 12px;


}

.logo-box{

width:54px;

height:54px;

border-radius:16px;

background:var(--gold);

display:flex;

justify-content:center;

align-items:center;

font-size:1.3rem;

font-weight:900;

color:#081A33;

}

.logo h2{

margin:0;

font-size:1.3rem;

}

.logo span{

font-size:.8rem;

opacity:.75;

}


/*==================================================
DESKTOP NAVIGATION
==================================================*/

.nav-links{

display:flex;

gap:10px;

list-style:none;

color: var(--text);

}

.nav-links a{

display:block;

padding:9px 16px;

border-radius:999px;

background:
rgba(255,255,255,.03);

border:
1px solid rgba(255,255,255,.10);

transform: var(--transition);

box-shadow: var(--shadow);
color: #fff;

}

.nav-links a:hover{

transform: var(--transition);

background:
rgba(37,99,235,.18);

border-color:
rgba(96,165,250,.5);

box-shadow:
0 0 12px rgba(37,99,235,.35);

}

.nav-links a.active{

background:var(--primary);

border-color:var(--primary);

}


/*==================================================
HAMBURGER
==================================================*/

.menu-toggle{

display:none;

flex-direction:column;

gap:5px;

cursor:pointer;

}

.menu-toggle span{

width:26px;

height:3px;

background:white;

border-radius:3px;

transition:.3s;

}


/*==================================================
MOBILE
==================================================*/

@media (max-width:768px){

body{

padding:0;

}

.nav-container{

padding:12px 18px;

}

.menu-toggle{

display:flex;

}

.nav-links{

display:none;

position:fixed;

top:79px;

left:0;

right:0;

width:100%;

margin:0;

padding:15px 0;

background:var(--background);

flex-direction:column;

gap:8px;

z-index:9999;

border-top:1px solid rgba(255,255,255,.08);

border-bottom:1px solid rgba(255,255,255,.08);

}

.nav-links.show{

display:flex;

}

.nav-links li{

width:100%;

}

.nav-links a{

display:block;

width:100%;

padding:15px;

text-align:center;

border-radius:0;

border-left:none;

border-right:none;

border-top:none;

background:transparent;

box-shadow:none;

}
}


/* ------------------------------ Hero ------------------------------------ */
.hero { text-align: left; margin-bottom: 40px; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--brass); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--brass); display: inline-block; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--navy-900);
  margin: 0 0 18px;
}
.hero h1 em { font-style: italic; color: var(--brass); }
.hero p.lede { font-size: 1.12rem; color: var(--ink-soft); margin: 0; max-width: 620px; }

/* ---------------------------- Search bar -------------------------------- */
.lookup-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
  margin-bottom: 44px;
}
.lookup-panel h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 4px; color: var(--navy-800);
}
.lookup-panel .hint { color: var(--ink-faint); font-size: 0.9rem; margin: 0 0 18px; }

.search-row { display: flex; gap: 12px; flex-wrap: wrap; }
.search-field { position: relative; flex: 1 1 320px; }
.search-field i.fa-magnifying-glass {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-faint); font-size: 15px;
}
#state-search {
  width: 100%; height: 52px; padding: 0 16px 0 44px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--parchment); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
#state-search:focus {
  outline: none; border-color: var(--brass); background: #fff;
  box-shadow: 0 0 0 4px rgba(176,129,47,0.14);
}
#state-select {
  height: 52px; flex: 0 1 240px; padding: 0 14px;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--parchment); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer;
}
#state-select:focus { outline: none; border-color: var(--brass); }

/* ---------------------------- State grid -------------------------------- */
.grid-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--ink-faint);
  margin: 0 0 16px;
}
.grid-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 12px;
}
.state-card {
  display: block; text-align: left;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  font-family: var(--sans);
}
.state-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--brass); transform: scaleY(0); transform-origin: bottom; transition: transform .18s ease;
}
.state-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong);
}
.state-card:hover::before { transform: scaleY(1); }
.state-card .sc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.state-card .sc-name { font-weight: 600; font-size: 1rem; color: var(--navy-800); }
.state-card .sc-abbr {
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--brass);
  border: 1px solid var(--brass-tint); background: var(--brass-tint); border-radius: 3px; padding: 2px 6px;
}
.state-card .sc-cite { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.state-card .sc-verified {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  font-size: 11px; color: var(--teal); font-weight: 600;
}
.no-results { padding: 30px; text-align: center; color: var(--ink-faint); }

/* ---------------------------- Statute page ------------------------------ */
.back-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem;
  color: var(--navy-700); margin-bottom: 22px;
}
.back-link:hover { color: var(--brass); text-decoration: none; }

.statute-header {
  border-left: 5px solid var(--brass); padding: 4px 0 4px 22px; margin-bottom: 22px;
}
.statute-header .sh-state {
  font-size: 12px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--brass); font-weight: 700;
  margin-bottom: 8px;
}
.statute-header .sh-cite { font-family: var(--mono); font-size: 1rem; color: var(--ink-soft); margin-bottom: 6px; }
.statute-header h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.12; color: var(--navy-900); margin: 0; letter-spacing: -0.3px;
}

/* Toolbar */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 14px; background: var(--navy-800); border-radius: var(--radius-lg);
  margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 600;
  color: #e9eef4; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 9px 14px; cursor: pointer; transition: background .16s, border-color .16s, color .16s;
  text-decoration: none;
}
.tool-btn i { color: var(--brass-soft); font-size: 0.9rem; }
.tool-btn:hover { background: rgba(201,155,69,0.16); border-color: var(--brass); color: #fff; text-decoration: none; }
.tool-btn.is-active { background: var(--brass); border-color: var(--brass); color: var(--navy-900); }
.tool-btn.is-active i { color: var(--navy-900); }
.tool-btn.copied { background: var(--teal); border-color: var(--teal); color: #fff; }
.tool-btn.copied i { color: #fff; }

/* Find-in-statute bar */
.find-bar {
  display: none; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--brass-tint); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 24px;
}
.find-bar.open { display: flex; animation: slidedown .2s ease; }
@keyframes slidedown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.find-bar input {
  flex: 1 1 220px; height: 42px; padding: 0 14px; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius); font-family: var(--sans); font-size: 0.95rem; background: #fff;
}
.find-bar input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,129,47,0.16); }
.find-count { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-soft); min-width: 84px; }
.find-nav { display: flex; gap: 6px; }
.find-nav button {
  width: 38px; height: 38px; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius);
  cursor: pointer; color: var(--navy-700); transition: background .15s, color .15s;
}
.find-nav button:hover { background: var(--navy-800); color: #fff; }

mark.find-hit { background: var(--highlight); color: var(--navy-900); padding: 0 1px; border-radius: 2px; }
mark.find-hit.current { background: var(--brass); color: #fff; box-shadow: 0 0 0 2px rgba(176,129,47,0.4); }

/* Content cards */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 26px 28px; margin-bottom: 22px;
}
.card > h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--navy-800);
  margin: 0 0 4px; display: flex; align-items: center; gap: 12px;
}
.card > h2 .ico {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: var(--brass-tint); color: var(--brass); font-size: 15px;
}
.card .card-sub { color: var(--ink-faint); font-size: 0.85rem; margin: 0 0 18px 46px; }

/* Explanation callout */
.card.explanation { border-left: 4px solid var(--teal); }
.card.explanation > h2 .ico { background: var(--teal-tint); color: var(--teal); }
.card.explanation p { font-size: 1.04rem; color: var(--ink); margin: 6px 0 0; }

/* Registrant provisions */
.provisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.provision {
  background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; position: relative;
}
.provision h3 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 8px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--brass);
}
.provision h3 i { color: var(--navy-600); font-size: 0.95rem; }
.provision p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }

/* Full statute text */
.card.fulltext > h2 .ico { background: var(--navy-700); color: var(--brass-soft); }
.statute-body {
  font-family: var(--mono); font-size: 0.9rem; line-height: 1.75; color: var(--ink);
  white-space: pre-wrap; background: var(--parchment); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; max-height: 460px; overflow: auto; margin-top: 8px;
}
.statute-body.expanded { max-height: none; }
.fulltext-actions { margin-top: 14px; display: flex; gap: 12px; align-items: center; }
.expand-btn {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--navy-700);
  background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
}
.expand-btn:hover { color: var(--brass); }
.no-fulltext {
  background: var(--brass-tint); border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: 22px; color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px;
}
.no-fulltext strong { color: var(--navy-800); }

/* Source / verification block */
.source-block {
  background: var(--navy-800); color: #dbe4ee; border-radius: var(--radius-lg);
  padding: 24px 28px; margin-bottom: 22px;
}
.source-block h2 {
  font-family: var(--serif); color: #fff; font-size: 1.15rem; margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.source-block h2 i { color: var(--brass-soft); }
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.source-item .lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--brass-soft);
  font-weight: 700; margin-bottom: 5px;
}
.source-item .val { font-size: 0.98rem; color: #f2f5f8; }
.source-item a.val { color: #9fd0cb; word-break: break-word; }
.source-item a.val:hover { color: #fff; }
.official-cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  background: var(--brass); color: var(--navy-900); font-weight: 700; font-size: 0.92rem;
  padding: 12px 20px; border-radius: var(--radius); transition: background .16s, transform .16s;
}
.official-cta:hover { background: var(--brass-soft); transform: translateY(-1px); text-decoration: none; }
.reproduction-note {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.83rem; color: #a9b6c4; font-style: italic; line-height: 1.6;
}

/* ------------------------------ About ----------------------------------- */
.about-prose { max-width: 760px; }
.about-prose h1 { font-family: var(--serif); font-weight: 600; font-size: 2.4rem; color: var(--navy-900); margin: 0 0 8px; }
.about-prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--navy-800); margin: 34px 0 10px; }
.about-prose p { color: var(--ink-soft); margin: 0 0 14px; }
.about-prose ul { color: var(--ink-soft); padding-left: 20px; }
.about-prose li { margin-bottom: 8px; }
.callout-warn {
  background: #fbf1ec; border-left: 4px solid var(--danger); border-radius: var(--radius);
  padding: 18px 22px; margin: 20px 0; color: #6f2020;
}
.callout-warn strong { color: var(--danger); }

/* ------------------------------ Compare --------------------------------- */
.compare-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-weight: 600; font-size: 0.92rem; color: var(--navy-700);
  background: var(--brass-tint); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 11px 18px; transition: background .16s, transform .16s, color .16s;
}
.compare-cta:hover { background: var(--brass); color: var(--navy-900); transform: translateY(-1px); text-decoration: none; }
.compare-cta i:first-child { color: var(--brass); }
.compare-cta:hover i { color: var(--navy-900); }
.compare-cta i:last-child { font-size: 0.8em; }

.cmp-pickers {
  display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 26px;
}
.cmp-picker { flex: 1 1 240px; display: flex; flex-direction: column; gap: 7px; }
.cmp-picker label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--brass); font-weight: 700;
}
.cmp-picker select {
  height: 50px; padding: 0 14px; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--parchment); border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.cmp-picker select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,129,47,0.16); }
.cmp-vs { color: var(--ink-faint); font-size: 1.2rem; padding-bottom: 14px; }
.cmp-swap {
  height: 50px; width: 50px; border: 1.5px solid var(--line-strong); background: var(--navy-800); color: #fff;
  border-radius: var(--radius); cursor: pointer; font-size: 1rem; transition: background .16s;
}
.cmp-swap:hover { background: var(--brass); color: var(--navy-900); }

.cmp-table { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--paper); }
.cmp-grid { display: grid; grid-template-columns: 220px 1fr 1fr; }
.cmp-heads { background: var(--navy-800); }
.cmp-heads .cmp-rowlabel { background: var(--navy-800); }
.cmp-col-head {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; color: #fff;
  border-left: 1px solid rgba(255,255,255,0.10);
}
.cmp-col-head.empty { color: #8a9bb0; align-items: center; justify-content: center; flex-direction: row; gap: 9px; font-size: 0.9rem; }
.cmp-col-head .cmp-abbr {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--brass-soft);
  border: 1px solid rgba(201,155,69,0.4); border-radius: 3px; padding: 1px 7px; align-self: flex-start;
}
.cmp-col-head .cmp-state { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.cmp-col-head .cmp-open { font-size: 0.78rem; color: #9fd0cb; display: inline-flex; align-items: center; gap: 6px; }
.cmp-col-head .cmp-open:hover { color: #fff; }
.cmp-col-head .cmp-headcite { font-family: var(--mono); font-size: 0.72rem; color: #9fb0c2; margin-top: 2px; }
.cmp-row { border-top: 1px solid var(--line); }
.cmp-row:nth-child(even) { background: var(--parchment); }
.cmp-rowlabel {
  padding: 16px 20px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--brass); display: flex; align-items: flex-start; gap: 9px; background: var(--parchment-2);
}
.cmp-rowlabel i { color: var(--navy-600); margin-top: 1px; }
.cmp-cell { padding: 16px 20px; font-size: 0.93rem; color: var(--ink-soft); border-left: 1px solid var(--line); }
.cmp-cell .cmp-mono { font-family: var(--mono); font-size: 0.85rem; color: var(--ink); }
.cmp-cell a { font-weight: 600; }
.cmp-cell .cmp-verified { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--teal); font-weight: 600; }
.cmp-cell .cmp-fulllink { display: block; margin-top: 6px; font-size: 0.8rem; font-weight: 600; }
.cmp-cell .cmp-empty { color: var(--ink-faint); }

/* relative-burden badge */
.burden-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.burden-note { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.burden-lower    { background: #dff1e7; color: #1c7a4d; }
.burden-moderate { background: #fdf0d3; color: #8a6410; }
.burden-high     { background: #fbe2cf; color: #9c5411; }
.burden-veryhigh { background: #f8d5d0; color: #9c2b2b; }

.cmp-placeholder {
  text-align: center; padding: 64px 24px; color: var(--ink-faint);
  background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
}
.cmp-placeholder i { font-size: 2.4rem; color: var(--brass); opacity: 0.6; margin-bottom: 14px; }
.cmp-placeholder p { margin: 0; font-size: 1rem; }

@media (max-width: 760px) {
  .cmp-grid { grid-template-columns: 120px 1fr 1fr; }
  .cmp-heads { top: 0; position: static; }
  .cmp-rowlabel { font-size: 0.68rem; padding: 12px; letter-spacing: 0.6px; }
  .cmp-cell { padding: 12px; font-size: 0.86rem; }
  .cmp-col-head { padding: 12px; }
  .cmp-col-head .cmp-state { font-size: 1rem; }
  .cmp-vs { display: none; }
}

/* ------------------------------ Footer ---------------------------------- */
.site-footer{

margin-top:80px;

padding:40px 20px;

text-align:center;

font-size:.95rem;

line-height:1.8;

color:#cbd5e1;

border-top:1px solid rgba(255,255,255,.08);

background: linear-gradient(135deg, var(--background-dark), var(--background), #09111f);
}

.site-footer p{

max-width:900px;

margin:0 auto;

}

.btn-donate{background:linear-gradient(135deg,var(--ca-gold),var(--ca-gold-2));color:#3a2a00;font-weight:800;padding:14px 30px;border-radius:999px;box-shadow:0 10px 28px rgba(201,162,39,.45);border:1px solid rgba(255,255,255,.3);display:inline-flex;align-items:center;gap:10px;font-size:1.05rem;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease;}
.btn-donate:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 16px 38px rgba(201,162,39,.6);}
.donate-banner{margin:60px auto;max-width:1100px;padding:52px 28px;border-radius:24px;background:linear-gradient(135deg,#0b2547,#133a63);box-shadow:var(--ca-shadow-lg);text-align:center;color:#fff;position:relative;overflow:hidden;}
.donate-banner::before{content:"";position:absolute;inset:0;background:radial-gradient(600px 220px at 50% -20%,rgba(201,162,39,.25),transparent 60%);pointer-events:none;}
.donate-banner h2{font-size:1.95rem;font-weight:800;margin-bottom:12px;position:relative;letter-spacing:-.01em;}
.donate-banner p{max-width:640px;margin:0 auto 26px;opacity:.92;line-height:1.7;position:relative;}
.donate-banner .btn-donate{position:relative;}
.donate-banner .stripe-note{display:block;margin-top:16px;font-size:.78rem;opacity:.6;position:relative;}


@media (max-width:768px){
  .donate-banner{margin:40px 16px;padding:36px 20px;}
  .donate-banner h2{font-size:1.5rem;}
}

/*========================
FLOAT BUTTON
=========================*/

.floating-actions{

    position:fixed;

    bottom:22px;

    right:22px;

}

#topBtn{

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:white;

    font-size:1.2rem;

    cursor:pointer;

    box-shadow:var(--shadow);
    

}

#topBtn:hover {
    background:var(--primary-hover);
    transform:translateY(-2px);
}

#topBtn:focus{
    outline: none;
    box-shadow: none;
}

#topBtn:focus-visible{
        outline: none;
    box-shadow: none;
}

/* ------------------------------ Motion ---------------------------------- */
.fade-in { animation: fadein .32s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.stagger > * { opacity: 0; animation: fadein .4s ease forwards; }
.stagger > *:nth-child(1) { animation-delay: .02s; }
.stagger > *:nth-child(2) { animation-delay: .06s; }
.stagger > *:nth-child(3) { animation-delay: .10s; }
.stagger > *:nth-child(4) { animation-delay: .14s; }
.stagger > *:nth-child(5) { animation-delay: .18s; }
.stagger > *:nth-child(6) { animation-delay: .22s; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 720px) {
  .header-nav { gap: 16px; }
  .header-nav a { font-size: 13px; }
  .brand-sub { letter-spacing: 2px; }
  .provisions { grid-template-columns: 1fr; }
  .toolbar { position: sticky; top: 74px; z-index: 20; }
  .card { padding: 20px 18px; }
  .statute-body { font-size: 0.82rem; padding: 16px; }
}
@media (max-width: 460px) {
  .search-field, #state-select { flex: 1 1 100%; }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 8px 20px; }
  .brand-mark { width: 38px; height: 38px; font-size: 17px; }
  .brand-name { font-size: 18px; }
  .header-nav { width: 100%; gap: 22px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,0.08); }
  .toolbar { top: 0; }
}
