/* StateCover Guide: bright white, ice-blue blueprint grid, cobalt-to-aqua "lane" accent, system fonts only. */
:root {
  --ink: #0f1c33; --ink-2: #46546d; --ink-3: #6b7890; --line: #dde5f0; --line-2: #c9d5e6;
  --paper: #ffffff; --mist: #f3f6fb; --ice: #e8f0fc;
  --cobalt: #2f52f0; --cobalt-d: #2340c9; --aqua: #10bfae; --amber: #ffb020; --amber-l: #ffe9b8;
  --lane: linear-gradient(90deg, #2f52f0, #10bfae);
  --r-s: 10px; --r-m: 16px; --r-l: 26px;
  --shadow: 0 1px 2px rgba(15, 28, 51, .06), 0 8px 24px -12px rgba(15, 28, 51, .18);
  --shadow-lift: 0 2px 4px rgba(15, 28, 51, .06), 0 18px 40px -18px rgba(47, 82, 240, .35);
  --sys: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.7 var(--sys); color: var(--ink); background: var(--paper); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow > .article { max-width: 820px; padding-top: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { left: 12px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .45em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; margin: 2.2em 0 .6em; scroll-margin-top: 92px; }
h3 { font-size: 1.16rem; line-height: 1.35; letter-spacing: -.01em; margin: 1.7em 0 .45em; scroll-margin-top: 92px; }
h4 { font-size: 1rem; margin: 1.4em 0 .35em; }
p, ul, ol { margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
li::marker { color: var(--cobalt); }
strong { font-weight: 650; }
code { font-size: .9em; background: var(--mist); padding: 2px 6px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(15, 28, 51, .5); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: 1.12rem; letter-spacing: -.02em; flex: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav li { margin: 0; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .94rem; font-weight: 550; white-space: nowrap; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); background: var(--mist); }
.main-nav a[aria-current] { color: var(--cobalt); background: var(--ice); }
.header-search { flex: 0 1 220px; position: relative; }
.header-search input { width: 100%; padding: 9px 14px 9px 38px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.header-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
@media (max-width: 880px) {
  .header-row { flex-wrap: wrap; gap: 6px 14px; padding-top: 10px; }
  .main-nav { order: 3; flex-basis: 100%; margin: 0 -20px; padding: 0 14px 8px; }
  .header-search { flex: 1 1 140px; }
}
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: var(--lane); z-index: 40; pointer-events: none; }

/* ---------- forms ---------- */
input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea { border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 14px; background: var(--paper); max-width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(47, 82, 240, .14); }
button, .btn { cursor: pointer; border: 0; border-radius: 999px; padding: 12px 22px; background: var(--ink); color: #fff; font-weight: 600; font-family: var(--display); letter-spacing: -.01em; transition: transform .15s, background .2s, box-shadow .2s; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: var(--cobalt); color: #fff; box-shadow: var(--shadow-lift); text-decoration: none; }
button:active { transform: translateY(1px); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row select, .row input { flex: 1 1 220px; }

/* ---------- home hero: the tile map ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 44px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(47, 82, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 82, 240, .07) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 40%, transparent 85%); mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 40%, transparent 85%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 1000px; height: 900px; right: -300px; top: -360px;
  background: radial-gradient(closest-side at 40% 42%, rgba(16, 191, 174, .22), transparent), radial-gradient(closest-side at 62% 60%, rgba(47, 82, 240, .18), transparent);
  animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-120px, 60px, 0) rotate(25deg); } }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
.hero h1 { max-width: 19ch; font-size: clamp(2.05rem, 4.6vw, 3.3rem); }
.hero-lede { font-size: 1.06rem; color: var(--ink-2); max-width: 58ch; }
.hero-lede p { margin: 0 0 .8em; }
.picker { margin-top: 26px; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 520px; }
.picker label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.picker select { flex: 1; border: 0; background: transparent; padding: 10px 14px; min-width: 0; }
.picker select:focus { box-shadow: none; }
.picker button { flex: none; }
.hero-trust { margin: 16px 0 0; font-size: .92rem; color: var(--ink-3); }

.usmap { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 5px; position: relative; }
.tile { grid-row: calc(var(--r) + 1); grid-column: calc(var(--c) + 1); aspect-ratio: 1; border-radius: 9px; display: grid; place-items: center; position: relative;
  font-family: var(--display); font-weight: 600; font-size: clamp(.55rem, 1.45vw, .82rem); letter-spacing: .02em; text-decoration: none;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(15, 28, 51, .04);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, background .2s;
  animation: tile-in .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc((var(--r) + var(--c)) * 38ms + 120ms); }
.tile:hover, .tile:focus-visible { transform: translateY(-3px) scale(1.08); z-index: 2; box-shadow: var(--shadow-lift); color: inherit; text-decoration: none; }
/* cost view (default): five quintiles, aqua-light to cobalt */
.tile.c1 { background: #e3f7f4; border-color: #c4ece6; }
.tile.c2 { background: #b5e8e6; border-color: #9bdcd9; }
.tile.c3 { background: #86c9ef; border-color: #74bbe6; }
.tile.c4 { background: #5a8cf2; border-color: #5a8cf2; color: #fff; }
.tile.c5 { background: #2f52f0; border-color: #2f52f0; color: #fff; }
.tile.c0 { background: var(--mist); color: var(--ink-3); border-style: dashed; }
/* fault view: used when there is no cost data, or when the visitor picks it */
.fault-only .tile, .usmap:has(#mv-fault:checked) .tile { background: var(--paper); border-color: var(--line-2); border-style: solid; color: var(--ink); }
.fault-only .tile.t-nf, .usmap:has(#mv-fault:checked) .tile.t-nf { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.fault-only .tile.t-choice, .usmap:has(#mv-fault:checked) .tile.t-choice { background: var(--aqua); border-color: var(--aqua); color: #04312c; }
.fault-only .tile.t-addon, .usmap:has(#mv-fault:checked) .tile.t-addon { background: var(--amber-l); border-color: #f5cf7a; color: #4a3304; }
.fault-only .tile.t-unknown, .usmap:has(#mv-fault:checked) .tile.t-unknown { background: var(--mist); color: var(--ink-3); border-style: dashed; }
.tiles .tile { transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, background-color .45s, color .45s, border-color .45s; }
.legend--fault, .cap-fault { display: none; }
.usmap:has(#mv-fault:checked) .legend--cost, .usmap:has(#mv-fault:checked) .cap-cost { display: none; }
.usmap:has(#mv-fault:checked) .legend--fault { display: flex; }
.usmap:has(#mv-fault:checked) .cap-fault { display: inline; }
.fault-only ~ .legend--fault { display: flex; }
.fault-only ~ figcaption .cap-fault { display: inline; }
.map-view { display: inline-flex; padding: 4px; margin: 0 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.map-view input { position: absolute; opacity: 0; pointer-events: none; }
.map-view label { padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.map-view input:checked + label { background: var(--ink); color: #fff; }
.map-view input:focus-visible + label { outline: 3px solid var(--aqua); outline-offset: 2px; }
.tile[data-tip]:hover::after, .tile[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font: 500 .78rem/1.3 var(--sys); letter-spacing: 0; padding: 7px 10px; border-radius: 8px; box-shadow: var(--shadow); pointer-events: none; z-index: 5; }
.tiles::after { content: ""; position: absolute; inset: -10px; pointer-events: none; border-radius: 20px; z-index: 3;
  background: linear-gradient(105deg, transparent 42%, rgba(16, 191, 174, .30) 50%, transparent 58%); background-size: 260% 100%; background-position: 140% 0;
  animation: sweep 2.2s cubic-bezier(.4, 0, .2, 1) 1.2s 1 both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 16px 0 0; font-size: .86rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line-2); background: var(--paper); }
.legend .c1 { background: #e3f7f4; border-color: #c4ece6; } .legend .c2 { background: #b5e8e6; border-color: #9bdcd9; } .legend .c3 { background: #86c9ef; border-color: #74bbe6; }
.legend .c4 { background: #5a8cf2; border-color: #5a8cf2; } .legend .c5 { background: #2f52f0; border-color: #2f52f0; }
.legend .t-nf { background: var(--cobalt); border-color: var(--cobalt); }
.legend .t-choice { background: var(--aqua); border-color: var(--aqua); }
.legend .t-addon { background: var(--amber-l); border-color: #f5cf7a; }
.legend .t-unknown { background: var(--mist); border-style: dashed; }
.legend span { color: var(--ink-3); }
.usmap figcaption { font-size: .86rem; color: var(--ink-3); margin-top: 6px; }

/* ---------- quick answers slider ---------- */
.answers { padding: 26px 0 10px; }
.answers-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.answers-head h2 { margin: 0; }
.slider-ctrl { display: none; gap: 8px; }
.js .slider-ctrl { display: flex; }
.slider-ctrl button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); }
.slider-ctrl button:hover { background: var(--ink); color: #fff; }
.slider-ctrl svg { width: 18px; height: 18px; }
.slides { list-style: none; margin: 18px -20px 0; padding: 6px 20px 30px; display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 360px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; margin: 0; position: relative; border-radius: var(--r-l); padding: 24px 24px 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 250px; overflow: hidden; }
.slide::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--lane); opacity: .9; }
.slide h3 { margin: 4px 0 14px; font-size: 1.12rem; }
.slide .figure { font-family: var(--display); font-weight: 600; font-size: 2.5rem; letter-spacing: -.04em; line-height: 1; margin: 0 0 12px; background: var(--lane); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide p { color: var(--ink-2); font-size: .98rem; margin: 0 0 14px; }
.slide .slide-src { font-size: .82rem; color: var(--ink-3); margin: 0 0 14px; }
.slide .slide-src a { color: var(--ink-3); font-weight: 400; text-decoration: underline; }
.slide .slide-go { margin-top: auto; font-weight: 600; text-decoration: none; font-family: var(--display); }
.slide .slide-go:hover { text-decoration: underline; }
.js .slide { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s; }
.js .slide.is-active { border-color: #cbd9f7; box-shadow: 0 2px 4px rgba(15, 28, 51, .05), 0 14px 28px -20px rgba(47, 82, 240, .45); }
.slide:nth-child(3n+2)::before { background: linear-gradient(90deg, #10bfae, #2f52f0); }
.dots { display: none; justify-content: center; gap: 8px; margin-top: 4px; }
.js .dots { display: flex; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: var(--line-2); transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 26px; background: var(--cobalt); }

/* ---------- home: topics and tools ---------- */
.band { padding: 34px 0; }
.band-head { max-width: 640px; }
.band-head p { color: var(--ink-2); }
.topics { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 720px) { .topics { grid-template-columns: repeat(6, 1fr); } .topic { grid-column: span 2; } .topic:nth-child(1), .topic:nth-child(2) { grid-column: span 3; } }
.topic { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-m); background: var(--mist); border: 1px solid transparent; color: var(--ink); text-decoration: none; transition: background .25s, border-color .25s, transform .25s, box-shadow .25s; }
.topic:hover { background: var(--paper); border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); text-decoration: none; }
.topic .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--cobalt); box-shadow: var(--shadow); }
.topic:hover .ico { background: var(--lane); color: #fff; }
.topic .ico svg { width: 24px; height: 24px; }
.topic strong { font-family: var(--display); font-size: 1.14rem; font-weight: 600; letter-spacing: -.015em; }
.topic span { color: var(--ink-2); font-size: .95rem; }
.topic small { color: var(--ink-3); font-size: .85rem; margin-top: auto; }
.tool-rows { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 720px) { .tool-rows { grid-template-columns: 1fr 1fr; } }
.tool-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.tool-row:hover { border-color: var(--cobalt); box-shadow: var(--shadow-lift); color: var(--ink); text-decoration: none; }
.tool-row .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ice); color: var(--cobalt); }
.tool-row .ico svg { width: 26px; height: 26px; }
.tool-row strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.06rem; letter-spacing: -.01em; color: var(--ink); }
.tool-row span { color: var(--ink-2); font-size: .94rem; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--line); padding: 18px 0 34px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(47, 82, 240, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 82, 240, .06) 1px, transparent 1px);
  background-size: 36px 36px; -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%); mask-image: linear-gradient(100deg, transparent 20%, #000 75%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -160px; top: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 191, 174, .16), transparent 62%); }
.page-hero h1 { font-size: clamp(1.95rem, 4.4vw, 3rem); max-width: 22ch; margin-top: 10px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .86rem; color: var(--ink-3); }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); text-decoration: underline; }
.section-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; font-weight: 600; text-decoration: none; }
.section-chip .ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--lane); color: #fff; }
.section-chip .ico svg { width: 14px; height: 14px; }
.section-chip:hover { color: var(--cobalt); text-decoration: none; }
.byline { margin: 0; color: var(--ink-3); font-size: .92rem; }
.byline a { color: var(--ink-2); }
.quick { position: relative; margin: 26px 0 0; max-width: 820px; padding: 22px 26px 8px 26px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quick::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lane); }
.quick h2 { margin: 0 0 .4em; font-size: 1rem; color: var(--cobalt); letter-spacing: 0; }
.quick p { font-size: 1.08rem; color: var(--ink); }

/* ---------- article layout ---------- */
.page-grid { display: block; padding-top: 10px; }
.article { max-width: 760px; padding-bottom: 40px; }
.article > section > p, .article > section > ul, .article > section > ol { max-width: 68ch; }
@media (min-width: 1040px) { .page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 64px; } }
.callout { background: var(--ice); border-radius: var(--r-s); padding: 14px 18px 4px; margin: 0 0 1.2em; border: 1px solid #d3e0fa; }
.notice { background: #e7f8f5; border: 1px solid #b4e9e1; padding: 12px 16px; border-radius: var(--r-s); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); box-shadow: 0 1px 2px rgba(15, 28, 51, .04); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
thead th { background: var(--mist); font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #fafcff; }
.key-facts .table-wrap { border: 0; box-shadow: none; background: none; }
.key-facts table, .key-facts tbody { display: block; }
.key-facts thead { display: none; }
.key-facts tbody { display: grid; gap: 10px; }
@media (min-width: 640px) { .key-facts tbody { grid-template-columns: 1fr 1fr; } }
.key-facts tr { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px 18px; border-radius: var(--r-m); background: var(--mist); border: 1px solid transparent; }
.key-facts tr:hover { background: var(--ice); }
.key-facts th, .key-facts td { padding: 0; border: 0; }
.key-facts th { font-weight: 500; font-size: .88rem; color: var(--ink-2); font-family: var(--sys); }
.key-facts td { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.4; letter-spacing: -.015em; color: var(--ink); }

/* lists of links */
.link-list { list-style: none; padding: 0; margin: 0 0 1.2em; border-top: 1px solid var(--line); }
.link-list li { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.link-list li a { font-weight: 600; font-family: var(--display); letter-spacing: -.01em; text-decoration: none; }
.link-list li a:hover { text-decoration: underline; }
.link-list li span { display: block; color: var(--ink-2); font-size: .94rem; margin-top: 2px; }
.link-list--plain { border-top: 0; }
.link-list--plain li { padding: 8px 0; border-bottom: 0; }
.link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 0 0 1.2em; }
.link-grid li { margin: 0; }
.link-grid li a { display: block; padding: 10px 14px; border-radius: var(--r-s); background: var(--mist); text-decoration: none; font-weight: 550; color: var(--ink); transition: background .2s, color .2s; }
.link-grid li a:hover { background: var(--ice); color: var(--cobalt); }
.link-grid li span { display: block; color: var(--ink-3); font-size: .85rem; padding: 0 14px 6px; }
.card-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 0 0 1.2em; }
@media (min-width: 640px) { .card-list { grid-template-columns: 1fr 1fr; } }
.card-list li { margin: 0; padding: 18px 20px; border-radius: var(--r-m); background: var(--mist); }
.card-list li a { font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.card-list li span { display: block; color: var(--ink-2); font-size: .94rem; margin-top: 3px; }
.children { margin-top: 1.6em; }

/* forms inside pages */
.state-picker, .search-form, .tool form, .contact-form { background: var(--mist); border-radius: var(--r-m); padding: 20px 22px; margin: 0 0 1.4em; }
.state-picker label, .search-form label { display: block; font-weight: 650; margin-bottom: 8px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* FAQ, sources, related */
.faq-item { padding: 6px 0 2px 20px; border-left: 2px solid var(--line); margin: 0 0 18px; }
.faq-item:hover { border-left-color: var(--cobalt); }
.faq-item h3 { margin: 0 0 .35em; }
.sources ul { padding-left: 1.1em; font-size: .93rem; }
.sources a { word-break: break-word; }
.sources span { color: var(--ink-3); }
.reviewed { color: var(--ink-3); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 24px; }
.related { margin-top: 30px; padding: 24px; border-radius: var(--r-l); background: var(--mist); }
.related h2 { margin-top: 0; }
.related-hub { font-weight: 600; }

/* ad slots: neutral, clearly labelled, never styled like navigation */
.ad-slot { margin: 30px 0; padding: 8px 12px 12px; background: #f7f8fa; border: 1px dashed var(--line-2); border-radius: var(--r-s); text-align: center; }
.ad-label { display: block; font-size: .72rem; letter-spacing: .02em; color: var(--ink-3); }
.ad-slot--live { min-height: 280px; }
.ad-slot--sidebar { display: none; }

/* sidebar: desktop only */
.sidebar { display: none; }
@media (min-width: 1040px) {
  .sidebar { display: block; padding-top: 34px; }
  .sidebar > .sticky { position: sticky; top: 92px; }
  .toc { font-size: .92rem; margin-bottom: 26px; }
  .toc-title { font-family: var(--display); font-weight: 600; margin: 0 0 10px; }
  .toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
  .toc li { margin: 0; }
  .toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s; }
  .toc a:hover { color: var(--ink); }
  .toc a[aria-current="true"] { color: var(--cobalt); border-left-color: var(--cobalt); font-weight: 600; }
  .ad-slot--sidebar { display: block; }
  .ad-slot--sidebar.ad-slot--live { min-height: 600px; }
}

/* ---------- footer ---------- */
.site-footer { margin-top: 56px; background: var(--mist); border-top: 1px solid var(--line); padding: 44px 0 20px; font-size: .94rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--lane); }
.footer-top { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--ink-2); max-width: 36ch; }
.site-footer h2 { font-size: .98rem; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--cobalt); text-decoration: underline; }
.footer-note { color: var(--ink-3); font-size: .86rem; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-note p { margin: 0; max-width: 80ch; }

/* ---------- consent banner (a bottom bar; nothing on the page hides behind it) ---------- */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 16px 18px; border-radius: var(--r-m); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(15, 28, 51, .4); font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 300px; color: var(--ink-2); }
.consent-actions { display: flex; gap: 8px; }
.consent button { padding: 10px 18px; }
.consent button[data-consent="denied"] { background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); }
.consent button[data-consent="denied"]:hover { background: var(--mist); box-shadow: none; }

/* ---------- tools ---------- */
.tool { margin: 0 0 1.6em; }
.tool fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.tool legend { font-weight: 650; margin-bottom: 8px; font-family: var(--display); letter-spacing: -.01em; }
.tool form > p > label, .tool .row label { display: block; font-weight: 600; margin-bottom: 6px; }
.tool .row > p { flex: 1 1 220px; margin: 0 0 12px; }
.tool .row input { width: 100%; }
.tool select { width: 100%; max-width: 440px; margin-bottom: 14px; }
.tool fieldset { display: flex; flex-wrap: wrap; gap: 8px; }
.tool legend { width: 100%; float: left; }
.tool .opt { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); cursor: pointer; font-size: .94rem; transition: border-color .2s, background .2s, color .2s; }
.tool .opt:hover { border-color: var(--cobalt); }
.tool .opt input { margin: 0; accent-color: var(--cobalt); }
.tool .opt:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.tool .result { margin-top: 8px; border-radius: var(--r-m); padding: 22px 24px 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; animation: result-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.tool .result::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--lane); }
.tool .result h3 { margin-top: .3em; }
.tool .result h4 { margin: 1.1em 0 .35em; }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.up { color: #b4441c; font-weight: 650; } .down { color: #0c8a6a; font-weight: 650; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .ad-slot, .sidebar, .consent, .related, .progress, .slider-ctrl, .dots { display: none !important; } .page-hero, .hero { background: none; } }

/* ---------- additions: small pages, related, compact grids ---------- */
.crumbs-bar { padding-top: 16px; }
.hero-sub { color: var(--ink-2); font-size: 1.08rem; max-width: 64ch; margin: 0; }
.picker--search { margin-top: 22px; }
.picker--search input { flex: 1; border: 0; background: transparent; padding: 10px 14px; min-width: 0; }
.picker--search input:focus { box-shadow: none; }
.page-hero--404 { padding-top: 40px; }
.big-404 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; letter-spacing: -.06em; background: var(--lane); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-count { color: var(--ink-2); margin-top: 26px; }
.link-grid--compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.link-grid--compact li a { padding: 8px 12px; font-size: .93rem; }
.related-cols { display: grid; gap: 8px 32px; }
@media (min-width: 720px) { .related-cols { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.related h3 { font-size: 1rem; margin: 1em 0 .4em; }
.tool-mini { list-style: none; padding: 0; margin: 0; }
.tool-mini li { margin: 0 0 8px; }
.tool-mini a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.tool-mini a:hover { color: var(--cobalt); }
.tool-mini .ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--cobalt); box-shadow: var(--shadow); }
.tool-mini .ico svg { width: 18px; height: 18px; }
.band--tools { padding-top: 10px; }
.page-grid--home { padding-top: 18px; }
.header-search svg { width: 16px; height: 16px; }

/* the one orchestrated load moment on inner pages: title, then the quick answer */
.js .page-hero h1 { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.js .page-hero .byline { animation: rise .7s cubic-bezier(.2, .8, .2, 1) .08s both; }
.js .page-hero .quick { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .16s both; }
.js .hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* hub children as a card grid */
.children .link-list { border-top: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .children .link-list { grid-template-columns: 1fr 1fr; } }
.children .link-list li { position: relative; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); transition: border-color .25s, box-shadow .25s, transform .25s; }
.children .link-list li:hover { border-color: #b9cbf6; box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.children .link-list li a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.children .link-list li span { font-size: .92rem; }

/* inner-page hero glyph: a slow radar sweep around the section icon (wide screens only) */
.hero-glyph { display: none; }
@media (min-width: 1180px) {
  .page-hero .wrap { position: relative; }
  .page-hero .quick { max-width: 760px; }
  .hero-glyph { display: grid; place-items: center; position: absolute; right: 40px; top: 50%; width: 290px; height: 290px; margin-top: -145px; border-radius: 50%; color: var(--cobalt); overflow: hidden;
    background: repeating-radial-gradient(circle, transparent 0 35px, rgba(47, 82, 240, .10) 35px 36px), radial-gradient(circle, #fff 0, rgba(255, 255, 255, .55) 70%);
    border: 1px solid rgba(47, 82, 240, .16); box-shadow: 0 30px 60px -40px rgba(47, 82, 240, .5); }
  .hero-glyph::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 270deg, rgba(16, 191, 174, .32) 360deg); animation: radar 8s linear infinite; }
  .hero-glyph::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); top: 30%; left: 66%; box-shadow: 0 0 0 6px rgba(16, 191, 174, .18); animation: blip 8s ease-out infinite; }
  .hero-glyph svg { position: relative; width: 78px; height: 78px; stroke-width: 1.15; padding: 18px; box-sizing: content-box; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
}
@keyframes radar { to { transform: rotate(360deg); } }

/* state comparison tables */
.state-table td.num, .state-table th.num { width: 3.5em; text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.state-table td { font-variant-numeric: tabular-nums; }
.state-table tr.total th, .state-table tr.total td { background: var(--ice); font-weight: 650; }
.table-wrap--tall { max-height: 640px; overflow: auto; }
.table-wrap--tall thead th { position: sticky; top: 0; z-index: 1; }
.table-note { font-size: .88rem; color: var(--ink-3); margin-top: -.6em; }
@keyframes blip { 0%, 8% { opacity: 0; transform: scale(.4); } 14% { opacity: 1; transform: scale(1); } 45%, 100% { opacity: 0; transform: scale(1.2); } }
