:root {
  --ink: #17130f;
  --ink2: #221d18;
  --muted: #6c655f;
  --paper: #fbfaf8;
  --panel: #fff;
  --line: #ebe6e1;
  --orange: #f04b18;
  --orange2: #ff7526;
  --peach: #fff2e9;
  --amber: #ffc86c;
  --green: #20794f;
  --green-bg: #e7f5ed;
  --purple: #8f45da;
  --blue: #2978d4;
  --shadow: 0 18px 50px rgba(43, 32, 25, 0.08);
  --soft-shadow: 0 8px 24px rgba(43, 32, 25, 0.07);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.45;
}
a {
  color: inherit;
}
.shell,
.wrap {
  width: min(1320px, calc(100% - 64px));
  margin: auto;
}
.narrow-shell {
  width: min(850px, 100%);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  transition: 0.18s ease;
}
svg {
  display: block;
}
.site-header {
  height: 78px;
  background: #15120f;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px rgba(255, 255, 255, 0.05);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 42px;
  display: block;
}
.logo-mark svg {
  width: 100%;
  height: 100%;
}
.logo-word {
  display: flex;
  align-items: baseline;
  font-size: 25px;
  letter-spacing: -0.045em;
}
.logo-word b {
  color: #fff;
}
.logo-word strong {
  color: var(--orange2);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 38px;
}
.navlinks a {
  text-decoration: none;
  color: #fff;
  font-weight: 650;
  font-size: 14px;
}
.navlinks a:hover {
  color: #ffb089;
}
.navlinks .nav-cta {
  padding: 12px 25px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  box-shadow: 0 8px 25px rgba(240, 75, 24, 0.25);
}
.menu {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.menu span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  margin: 5px;
}
.hero-section {
  padding: 34px 0 16px;
  background: radial-gradient(
    circle at 51% 34%,
    #fff8f0 0,
    #fbfaf8 46%,
    #fbfaf8 100%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: 300px minmax(560px, 1fr) 240px;
  gap: 28px;
  align-items: center;
  min-height: 460px;
}
.hero-copy h1,
.state-hero h1,
.simple-hero h1,
.practice-directory-hero h1,
.test-setup h1,
.review-screen h1,
.results-screen h1,
.answer-review h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hero-copy h1 {
  font-size: 48px;
  margin: 0 0 22px;
}
.hero-copy > p {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 30px;
  line-height: 1.65;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  border: 2px solid var(--paper);
  font-size: 8px;
  font-weight: 800;
  margin-left: -7px;
}
.avatar-stack span:first-child {
  margin-left: 0;
}
.stars {
  color: #ffa617;
  letter-spacing: 2px;
  font-size: 15px;
}
.hero-proof small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  max-width: 165px;
}
.map-panel {
  min-width: 0;
}
.map-stage {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}
.usa-map {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 14px 18px rgba(89, 59, 33, 0.11));
}
.map-state {
  stroke: #fff;
  stroke-width: 2.3;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  outline: none;
  transition:
    fill 0.16s ease,
    filter 0.16s ease,
    transform 0.16s ease;
  transform-origin: center;
}
.map-state.level-verified {
  fill: #ff9a58;
}
.map-state.level-related {
  fill: #ffd27d;
}
.map-state.level-verify {
  fill: #e7e3df;
}
.map-state:hover,
.map-state:focus {
  fill: #ff6a2a;
  filter: drop-shadow(0 5px 5px rgba(240, 75, 24, 0.25));
}
.map-state.selected {
  fill: #ee4a16;
  filter: drop-shadow(0 8px 8px rgba(240, 75, 24, 0.3));
}
.map-tooltip {
  position: absolute;
  left: 49%;
  top: 47%;
  width: 270px;
  transform: translate(-50%, -50%) scale(0.98);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #e9ded4;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 24px 55px rgba(43, 32, 25, 0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.map-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.tooltip-head {
  display: flex;
  gap: 11px;
  align-items: center;
}
.tooltip-state-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--peach);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-weight: 900;
}
.tooltip-head h3 {
  font-size: 18px;
  margin: 0 0 5px;
}
.map-tooltip > p {
  font-size: 11px;
  color: var(--muted);
  margin: 11px 0 14px;
  line-height: 1.5;
}
.tooltip-actions {
  display: flex;
  gap: 8px;
}
.map-hover-label {
  position: absolute;
  background: #17130f;
  color: #fff;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
}
.map-hover-label.visible {
  opacity: 1;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.status-pill.exam {
  background: var(--green-bg);
  color: var(--green);
}
.status-pill.pathway {
  background: #fff1cd;
  color: #8b6017;
}
.status-pill.verify {
  background: #eeeae6;
  color: #716a64;
}
.map-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
  margin-top: -4px;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.legend-exam {
  background: #ff8f4a;
}
.legend-pathway {
  background: #ffd27d;
}
.legend-verify {
  background: #ddd8d3;
}
.hero-stats {
  border: 1px solid #f0c8ad;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.93),
    rgba(255, 247, 241, 0.96)
  );
  padding: 8px 20px;
  box-shadow: var(--soft-shadow);
}
.stat-row {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #eee2d9;
}
.stat-row:last-child {
  border: 0;
}
.metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.metric-icon svg,
.how-icon svg,
.accordion-icon svg,
.fact svg,
.quick-icon svg,
.practice-meta svg,
.setup-benefits svg,
.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.metric-icon.orange {
  background: #fff0e7;
  color: var(--orange);
}
.metric-icon.green {
  background: #e9f7ef;
  color: #29965f;
}
.metric-icon.purple {
  background: #f5ebff;
  color: var(--purple);
}
.metric-icon.blue {
  background: #eaf4ff;
  color: var(--blue);
}
.stat-row strong {
  display: block;
  font:
    700 29px Georgia,
    serif;
  line-height: 1;
}
.stat-row strong.word-metric {
  font-size: 20px;
}
.stat-row b {
  display: block;
  font-size: 13px;
  margin-top: 3px;
}
.stat-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
}
.button {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  background: #fff;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(43, 32, 25, 0.1);
}
.button.dark {
  background: var(--ink);
  color: #fff;
}
.button.orange {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
}
.button.outline,
.button.secondary {
  background: #fff;
  border-color: #d9d2cc;
  color: var(--ink);
}
.button.small {
  padding: 9px 13px;
  font-size: 11px;
  border-radius: 999px;
}
.button.wide {
  width: 100%;
}
.how-strip {
  padding: 16px 0 8px;
}
.how-card {
  display: grid;
  grid-template-columns: 220px 1fr 24px 1fr 24px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: var(--soft-shadow);
}
.how-intro h2 {
  font:
    700 20px Georgia,
    serif;
  margin: 0 0 5px;
}
.how-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.how-step {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
}
.step-badge {
  position: absolute;
  left: -7px;
  top: -10px;
  background: var(--orange);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  border: 2px solid #fff;
}
.how-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #fff3e9;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.how-step h3 {
  font:
    700 15px Georgia,
    serif;
  margin: 0 0 4px;
}
.how-step p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.how-arrow {
  font-size: 28px;
  color: #cfc6bf;
}
.featured-section {
  padding: 8px 0 14px;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 14px;
}
.featured-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 17px;
  box-shadow: var(--soft-shadow);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}
.panel-heading h2 {
  font:
    700 15px Georgia,
    serif;
  margin: 0;
}
.panel-heading a {
  font-size: 10px;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}
.exam-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.exam-state-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px;
  text-align: center;
  min-width: 0;
}
.exam-state-card.featured {
  border-color: #ff8b59;
  box-shadow: 0 5px 15px rgba(240, 75, 24, 0.08);
}
.state-emblem {
  width: 42px;
  height: 30px;
  border: 1px solid #eee6df;
  border-radius: 5px;
  background: linear-gradient(135deg, #fff, #fff0e6);
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  color: var(--orange);
  font-weight: 900;
  font-size: 11px;
}
.exam-state-card h3 {
  font-size: 12px;
  margin: 0 0 6px;
}
.exam-state-card p {
  height: 26px;
  overflow: hidden;
  font-size: 8px;
  color: var(--muted);
  margin: 8px 0;
}
.exam-state-card > a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 9px;
  font-weight: 800;
  padding: 7px;
}
.preview-content {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 14px;
  align-items: center;
}
.sample-question {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
}
.question-mini-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  color: var(--muted);
}
.question-mini-head em {
  background: #fff0e7;
  color: #a25c32;
  padding: 3px 6px;
  border-radius: 999px;
  font-style: normal;
}
.sample-question h3 {
  font-size: 11px;
  line-height: 1.4;
  margin: 10px 0;
}
.sample-question label {
  display: flex;
  gap: 7px;
  font-size: 9px;
  padding: 5px;
  border-radius: 5px;
}
.sample-question label i {
  width: 12px;
  height: 12px;
  border: 1px solid #bdb5af;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
}
.sample-question label.correct {
  background: #e8f6ed;
  color: #226f48;
  border: 1px solid #a6d5b9;
}
.sample-question label.correct i {
  background: #2c8c5d;
  color: #fff;
  border-color: #2c8c5d;
}
.preview-score {
  text-align: center;
}
.score-circle,
.score-ring {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: conic-gradient(var(--green) 0 78%, #e8e5e1 78%);
  display: grid;
  place-content: center;
  position: relative;
}
.score-circle:after,
.score-ring:after {
  content: "";
  position: absolute;
  inset: 8px;
  background: #fff;
  border-radius: 50%;
}
.score-circle > *,
.score-ring > * {
  position: relative;
  z-index: 1;
}
.score-circle strong {
  font:
    700 20px Georgia,
    serif;
}
.score-circle span,
.score-circle small {
  display: block;
  font-size: 8px;
  color: var(--muted);
}
.all-states-section {
  padding: 70px 0 80px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 25px;
}
.overline,
.eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 900;
}
.section-title-row h2 {
  font:
    700 38px Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 8px 0 0;
}
.section-title-row > p {
  max-width: 390px;
  color: var(--muted);
  font-size: 14px;
}
.directory-tools {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.state-search {
  position: relative;
  flex: 1;
}
.state-search span {
  position: absolute;
  left: 15px;
  top: 10px;
  font-size: 24px;
  color: #877e77;
}
.state-search input,
.directory-tools select,
.select-label select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfaf8;
  outline: none;
}
.state-search input {
  padding-left: 43px;
}
.directory-tools select {
  width: 230px;
}
.state-directory {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}
.directory-state {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 11px;
  border-radius: 11px;
  text-decoration: none;
  background: #fff;
}
.directory-state:hover {
  border-color: #f2a47c;
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}
.directory-state > span {
  grid-row: 1/3;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: var(--peach);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}
.directory-state b {
  font-size: 12px;
}
.directory-state small {
  font-size: 8px;
  color: var(--muted);
}
.empty {
  display: none;
  text-align: center;
  border: 1px dashed var(--line);
  padding: 30px;
  color: var(--muted);
  margin-top: 15px;
}
.footer {
  background: #16120f;
  color: #fff;
  padding: 28px 0 20px;
}
.footer-trust {
  background: linear-gradient(90deg, #fff2e9, #fff9f5);
  color: var(--ink);
  border: 1px solid #f3c5aa;
  border-radius: 15px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 34px;
}
.trust-lead {
  display: flex;
  gap: 12px;
  align-items: center;
}
.shield-icon {
  width: 34px;
  height: 38px;
  clip-path: polygon(50% 0, 90% 16%, 87% 73%, 50% 100%, 13% 73%, 10% 16%);
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.trust-lead strong {
  font-size: 13px;
}
.trust-lead p {
  font-size: 9px;
  color: var(--muted);
  margin: 3px 0 0;
}
.trust-logos {
  display: flex;
  gap: 28px;
}
.trust-logos span {
  display: block;
  text-align: center;
}
.trust-logos b {
  display: block;
  font:
    700 13px Georgia,
    serif;
}
.trust-logos small {
  font-size: 7px;
  color: var(--muted);
}
.footer-main {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-main > p {
  color: #a99f97;
  font-size: 12px;
  max-width: 520px;
}
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
.footer-links a {
  color: #d7cec8;
  text-decoration: none;
  font-size: 12px;
}
.fine {
  border-top: 1px solid #332b26;
  margin-top: 24px;
  padding-top: 18px;
  color: #82776f;
  font-size: 10px;
}
.state-hero {
  padding: 20px 0 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
}
.breadcrumb a {
  text-decoration: none;
}
.state-hero-grid {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 28px;
  align-items: start;
}
.title-with-status {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.state-hero h1 {
  font-size: 43px;
  margin: 0;
}
.state-summary {
  color: var(--muted);
  font-size: 14px;
  max-width: 760px;
  line-height: 1.55;
}
.facts-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.fact {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 7px;
}
.fact > span {
  grid-row: 1/3;
  color: var(--orange);
}
.fact small {
  font-size: 8px;
  color: var(--muted);
}
.fact strong {
  font-size: 10px;
}
.state-map-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  padding: 9px;
  text-decoration: none;
  text-align: center;
  box-shadow: var(--soft-shadow);
}
.state-map-card .usa-map {
  height: 115px;
  filter: none;
}
.state-map-card .map-state {
  stroke-width: 1;
}
.state-map-card span {
  font-size: 9px;
  font-weight: 800;
}
.state-content {
  padding: 26px 0 60px;
}
.state-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
}
.state-main {
  display: grid;
  gap: 8px;
}
.info-accordion {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(43, 32, 25, 0.04);
  overflow: hidden;
}
.info-accordion summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 40px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.info-accordion summary::-webkit-details-marker {
  display: none;
}
.info-accordion summary strong {
  display: block;
  font-size: 12px;
}
.info-accordion summary small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 1px;
}
.info-accordion summary > i {
  font-style: normal;
  color: #9d948d;
  transition: transform 0.2s;
}
.info-accordion[open] summary > i {
  transform: rotate(180deg);
}
.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.accordion-icon.peach {
  background: #fff0e6;
  color: #bb6e3f;
}
.accordion-icon.green {
  background: #eaf6ee;
  color: #2a7e51;
}
.accordion-icon.mint {
  background: #eaf8ef;
  color: #248255;
}
.accordion-icon.purple {
  background: #f6eaff;
  color: #8d3bd5;
}
.accordion-icon.blue {
  background: #e9f4ff;
  color: #2c79ca;
}
.accordion-icon.gold {
  background: #fff4df;
  color: #d88b15;
}
.accordion-body {
  border-top: 1px solid #f2eeeb;
  padding: 14px 63px 17px;
  color: var(--muted);
  font-size: 11px;
}
.accordion-body > p {
  margin: 0;
}
.notice-inline {
  background: #fff5ee;
  border-left: 3px solid var(--orange);
  padding: 11px;
  margin-top: 12px;
}
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.process-list:before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  border-left: 1px dashed #e1d9d2;
}
.process-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 11px;
  position: relative;
  margin-bottom: 11px;
}
.process-list li:last-child {
  margin: 0;
}
.process-list li > span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 900;
  z-index: 1;
}
.process-list strong {
  display: block;
  color: var(--ink);
  font-size: 10px;
}
.process-list p {
  margin: 2px 0 0;
  font-size: 9px;
}
.document-list {
  columns: 2;
  gap: 30px;
  margin: 0;
  padding-left: 18px;
}
.document-list li {
  margin: 6px 0;
}
.quick-links {
  display: grid;
  gap: 7px;
}
.quick-link {
  display: grid;
  grid-template-columns: 31px 1fr 16px;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.quick-link:hover {
  border-color: #f2a47c;
}
.quick-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eaf4ff;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.quick-link strong {
  display: block;
  color: var(--ink);
  font-size: 9px;
}
.quick-link small {
  display: block;
  font-size: 8px;
  color: var(--muted);
}
.quick-link > i {
  font-style: normal;
}
.state-sidebar {
  display: grid;
  gap: 13px;
  align-content: start;
}
.sidebar-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 16px;
  box-shadow: var(--soft-shadow);
}
.sidebar-card h3 {
  font:
    700 15px Georgia,
    serif;
  margin: 0 0 12px;
}
.launch-title {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 13px;
}
.launch-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--peach);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}
.launch-title h3 {
  margin: 1px 0 3px;
}
.launch-title p {
  font-size: 9px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.question-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.question-choice a,
.question-choice button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 11px 4px;
  text-align: center;
  text-decoration: none;
  font:
    700 14px Georgia,
    serif;
  cursor: pointer;
}
.question-choice small {
  display: block;
  font:
    500 8px Inter,
    sans-serif;
  margin-top: 3px;
}
.question-choice .active {
  background: var(--ink);
  color: #fff;
}
.test-launch > .button {
  margin-top: 8px;
}
.muted-launch {
  background: #fbfaf8;
}
.progress-card > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  font-size: 10px;
}
.progress-card > div span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.progress-card > div svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
}
.related-states {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.related-state {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 3px;
  text-decoration: none;
}
.related-state span {
  display: grid;
  place-items: center;
  margin: auto;
  width: 25px;
  height: 20px;
  background: var(--peach);
  font-size: 7px;
  font-weight: 900;
}
.related-state b {
  display: block;
  font-size: 7px;
  margin: 4px 0 2px;
}
.related-state small {
  font-size: 5px;
  color: var(--green);
}
.all-state-link {
  display: block;
  text-align: center;
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 12px;
}
.test-preview-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 16px;
  align-items: center;
  margin-top: 2px;
}
.practice-directory-hero {
  padding: 70px 0;
  background: radial-gradient(circle at 78% 40%, #fff1e6, #fbfaf8 45%);
}
.practice-hero-grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 70px;
  align-items: center;
}
.practice-directory-hero h1 {
  font-size: 64px;
  margin: 10px 0 18px;
}
.practice-directory-hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.practice-hero-preview {
  border: 1px solid #efc9b2;
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--shadow);
}
.mini-test-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  position: relative;
}
.mini-test-window > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}
.mini-test-window em {
  font-style: normal;
  background: var(--peach);
  color: var(--orange);
  padding: 4px 8px;
  border-radius: 999px;
}
.mini-test-window h3 {
  font:
    700 18px Georgia,
    serif;
  line-height: 1.35;
  margin: 18px 0;
}
.selected-answer {
  background: var(--green-bg);
  border: 1px solid #a3d0b5;
  color: var(--green) !important;
  padding: 11px;
  border-radius: 8px;
  font-size: 11px !important;
}
.mini-score {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  border: 8px solid var(--green);
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}
.mini-score b {
  font:
    700 24px Georgia,
    serif;
}
.mini-score small {
  font-size: 8px;
  color: var(--muted);
}
.practice-directory {
  padding: 70px 0;
}
.practice-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.practice-state-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
}
.practice-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.practice-state-card .state-emblem {
  margin: 0;
}
.practice-state-card h2 {
  font:
    700 23px Georgia,
    serif;
  margin: 18px 0 8px;
}
.practice-state-card > p {
  font-size: 11px;
  color: var(--muted);
  min-height: 64px;
}
.practice-meta {
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  margin-top: auto;
}
.practice-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
}
.practice-meta svg {
  width: 15px;
  height: 15px;
  color: var(--orange);
}
.official-text-link {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  text-decoration: none;
  margin-top: 10px;
}
.practice-disclaimer {
  margin-top: 24px;
  border: 1px solid #f0c8ad;
  background: #fff6ef;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 13px;
}
.practice-disclaimer > span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}
.practice-disclaimer strong {
  font-size: 12px;
}
.practice-disclaimer p {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0 0;
}
.practice-disclaimer.compact {
  margin-top: 24px;
}
.practice-shell {
  min-height: 75vh;
}
.practice-app {
  padding: 35px 0 70px;
}
.app-loading {
  text-align: center;
  padding: 100px;
  color: var(--muted);
}
.test-setup .setup-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.setup-copy {
  padding-top: 25px;
}
.test-setup h1 {
  font-size: 58px;
  margin: 10px 0 20px;
}
.test-setup .summary {
  font-size: 16px;
  color: var(--muted);
  max-width: 720px;
}
.setup-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0;
  font-size: 12px;
}
.setup-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.select-label,
.choice-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  margin: 12px 0 6px;
}
.select-label select {
  margin-top: 6px;
}
.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 12px 0;
}
.mode-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 10px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.mode-tabs button.active {
  background: var(--ink);
  color: #fff;
}
.setup-choice button.active {
  background: var(--ink);
  color: #fff;
}
.hidden {
  display: none !important;
}
.recent-attempts {
  margin-top: 36px;
}
.attempt-row {
  display: flex;
  gap: 10px;
}
.attempt {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 14px 18px;
}
.attempt strong {
  font:
    700 24px Georgia,
    serif;
  display: block;
}
.attempt span {
  font-size: 9px;
  color: var(--muted);
}
.test-running {
  padding: 8px 0;
}
.test-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 14px;
}
.brand.compact .logo-mark {
  display: none;
}
.brand.compact .logo-word {
  display: none;
}
.brand.compact {
  font-weight: 800;
}
.test-metrics {
  display: flex;
  gap: 18px;
  font-size: 11px;
}
.progress {
  height: 5px;
  border-radius: 99px;
  background: #e8e4e0;
  margin: 12px 0 16px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
}
.question-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}
.question-nav,
.question-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}
.number-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 13px 0 18px;
}
.number-grid button {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  font-size: 9px;
  cursor: pointer;
}
.number-grid button.current {
  background: var(--ink);
  color: #fff;
}
.number-grid button.answered {
  border-color: #efa17b;
  color: var(--orange);
}
.number-grid button.current.answered {
  color: #fff;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10px;
  width: 100%;
  padding: 10px;
  cursor: pointer;
}
.question-card {
  padding: 28px;
}
.question-kicker {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.question-kicker span:last-child {
  background: var(--peach);
  color: var(--orange);
  padding: 5px 8px;
  border-radius: 999px;
}
.question-card h1 {
  font:
    700 29px Georgia,
    serif;
  line-height: 1.3;
  margin: 24px 0;
}
.answer-list {
  display: grid;
  gap: 9px;
}
.answer-option {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}
.answer-option > span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f5f2ef;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.answer-option p {
  margin: 0;
  font-size: 12px;
}
.answer-option.selected {
  border-color: #63ab7f;
  background: #edf8f1;
}
.answer-option.selected > span {
  background: var(--green);
  color: #fff;
}
.question-actions,
.review-actions,
.result-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}
.instant {
  padding: 14px;
  border-radius: 10px;
  margin-top: 13px;
  font-size: 11px;
}
.instant.correct {
  background: var(--green-bg);
  color: var(--green);
}
.instant.incorrect {
  background: #fff0ed;
  color: #a63e28;
}
.review-screen,
.results-screen,
.answer-review {
  padding: 50px 0;
}
.shell.narrow,
.wrap.narrow {
  width: min(850px, calc(100% - 64px));
  margin: auto;
}
.review-screen h1,
.answer-review h1 {
  font-size: 56px;
  margin: 8px 0 15px;
}
.review-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 25px 0;
}
.review-summary > div {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 18px;
}
.review-summary strong {
  display: block;
  font:
    700 28px Georgia,
    serif;
}
.review-summary span {
  font-size: 10px;
  color: var(--muted);
}
.result-hero {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 30px;
}
.score-ring {
  background: conic-gradient(
    var(--green) 0 calc(var(--score) * 1%),
    #e8e5e1 calc(var(--score) * 1%)
  );
}
.score-ring span {
  font:
    700 25px Georgia,
    serif;
}
.result-hero h1 {
  font-size: 42px;
  margin: 5px 0;
}
.result-hero p {
  color: var(--muted);
  font-size: 13px;
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}
.result-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 22px;
}
.result-panel h2 {
  font:
    700 27px Georgia,
    serif;
}
.result-panel p {
  color: var(--muted);
  font-size: 12px;
}
.category-results > div {
  margin: 14px 0;
}
.category-results > div > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.mini-progress {
  height: 6px;
  background: #e9e5e1;
  border-radius: 99px;
  margin-top: 6px;
}
.mini-progress span {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 99px;
}
.review-head {
  display: flex;
  justify-content: space-between;
}
.review-list {
  display: grid;
  gap: 10px;
}
.review-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
}
.review-number {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--peach);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.review-item h2 {
  font:
    700 21px Georgia,
    serif;
}
.review-item p,
.explanation {
  font-size: 11px;
}
.explanation {
  background: #f8f6f3;
  padding: 12px;
  border-radius: 8px;
}
.category-label {
  font-size: 8px;
  color: var(--muted);
}
.simple-hero {
  padding: 85px 0 55px;
  text-align: center;
}
.simple-hero h1 {
  font-size: 62px;
  margin: 12px 0 18px;
}
.simple-hero p {
  font-size: 17px;
  color: var(--muted);
}
.simple-content {
  padding: 0 0 80px;
}
.simple-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.simple-card-grid article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
}
.simple-card-grid h3 {
  font:
    700 22px Georgia,
    serif;
}
.simple-card-grid p {
  font-size: 12px;
  color: var(--muted);
}
.contact-form {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  display: grid;
  gap: 15px;
  box-shadow: var(--soft-shadow);
}
.contact-form label {
  font-size: 11px;
  font-weight: 800;
}
.contact-form input,
.contact-form textarea {
  display: block;
  margin-top: 6px;
  resize: vertical;
}
.form-success {
  background: var(--green-bg);
  color: var(--green);
  padding: 12px;
  border-radius: 9px;
  font-size: 11px;
}
.centered {
  text-align: center;
  display: block;
}
.text-link {
  color: var(--orange);
  text-decoration: none;
  font-size: 10px;
}
.caution {
  background: #fff5ed;
  border: 1px solid #f0c8ad;
  border-radius: 13px;
  padding: 15px;
}
.caution p {
  color: var(--muted);
  font-size: 11px;
}
.category-label {
  display: block;
  margin-top: 10px;
}
.correct-answer {
  color: var(--green);
}
@media (max-width: 1150px) {
  .hero-grid {
    grid-template-columns: 260px 1fr;
  }
  .hero-stats {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-row {
    border-bottom: 0;
    border-right: 1px solid #eee2d9;
  }
  .stat-row:last-child {
    border-right: 0;
  }
  .practice-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .state-directory {
    grid-template-columns: repeat(4, 1fr);
  }
  .how-card {
    grid-template-columns: 190px 1fr 1fr 1fr;
  }
  .how-arrow {
    display: none;
  }
  .practice-hero-grid {
    grid-template-columns: 1fr 400px;
  }
}
@media (max-width: 900px) {
  .shell {
    width: min(100% - 32px, 1320px);
  }
  .navlinks {
    display: none;
  }
  .menu {
    display: block;
  }
  .navlinks.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #17130f;
    flex-direction: column;
    padding: 25px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
    max-width: 700px;
    margin: auto;
  }
  .hero-proof {
    justify-content: center;
  }
  .map-stage {
    height: 420px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .how-card {
    grid-template-columns: 1fr 1fr;
  }
  .how-intro {
    grid-column: 1/-1;
  }
  .lower-grid,
  .practice-hero-grid,
  .state-page-grid,
  .test-setup .setup-grid {
    grid-template-columns: 1fr;
  }
  .exam-cards {
    grid-template-columns: repeat(5, 150px);
    overflow: auto;
  }
  .practice-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .state-directory {
    grid-template-columns: repeat(3, 1fr);
  }
  .practice-hero-preview {
    max-width: 600px;
  }
  .state-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .question-layout {
    grid-template-columns: 1fr;
  }
  .question-nav {
    order: 2;
  }
  .number-grid {
    grid-template-columns: repeat(10, 1fr);
  }
  .state-map-card {
    display: none;
  }
  .state-hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .site-header {
    height: 68px;
  }
  .logo-word {
    font-size: 21px;
  }
  .logo-mark {
    width: 31px;
    height: 37px;
  }
  .navlinks.open {
    top: 68px;
  }
  .hero-section {
    padding-top: 30px;
  }
  .hero-copy h1 {
    font-size: 40px;
  }
  .map-stage {
    height: 330px;
  }
  .map-tooltip {
    width: 235px;
    padding: 14px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .stat-row {
    border-right: 0;
    border-bottom: 1px solid #eee2d9;
  }
  .how-card {
    grid-template-columns: 1fr;
  }
  .how-step {
    padding-left: 8px;
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .exam-cards {
    grid-template-columns: repeat(5, 130px);
  }
  .preview-content,
  .test-preview-card {
    grid-template-columns: 1fr;
  }
  .section-title-row {
    display: block;
  }
  .section-title-row > p {
    margin-top: 12px;
  }
  .directory-tools {
    display: block;
  }
  .directory-tools select {
    width: 100%;
    margin-top: 8px;
  }
  .state-directory {
    grid-template-columns: 1fr 1fr;
  }
  .trust-logos {
    display: none;
  }
  .footer-main {
    display: block;
  }
  .footer-links {
    margin: 20px 0 0;
    flex-wrap: wrap;
  }
  .practice-directory-hero h1,
  .simple-hero h1,
  .test-setup h1 {
    font-size: 43px;
  }
  .practice-card-grid {
    grid-template-columns: 1fr;
  }
  .practice-hero-preview {
    display: none;
  }
  .state-hero h1 {
    font-size: 36px;
  }
  .facts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .state-sidebar {
    grid-template-columns: 1fr;
  }
  .accordion-body {
    padding: 14px 20px;
  }
  .document-list {
    columns: 1;
  }
  .question-layout {
    display: block;
  }
  .question-nav {
    margin-top: 12px;
  }
  .number-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .question-card {
    padding: 18px;
  }
  .question-card h1 {
    font-size: 23px;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }
  .result-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .result-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  .review-summary {
    grid-template-columns: 1fr;
  }
  .setup-benefits {
    grid-template-columns: 1fr;
  }
  .simple-card-grid {
    grid-template-columns: 1fr;
  }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin: 26px 0 15px;
}
.section-head h2 {
  font:
    700 30px Georgia,
    serif;
  margin: 7px 0 0;
}
.pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 800;
}
.pill.verified {
  background: var(--green-bg);
  color: var(--green);
}
.pill.related {
  background: #fff0e7;
  color: #a14e2d;
}

/* v4 — approved screenshot-match homepage */
@media (min-width: 1151px) {
  .home-page .shell {
    width: min(1328px, calc(100% - 118px));
  }
  .home-page .site-header {
    height: 81px;
    position: relative;
  }
  .home-page .header-inner {
    gap: 30px;
  }
  .home-page .logo-mark {
    width: 38px;
    height: 44px;
  }
  .home-page .logo-word {
    font-size: 27px;
  }
  .home-page .navlinks {
    gap: 39px;
  }
  .home-page .navlinks a {
    font-size: 14px;
  }
  .home-page .navlinks .nav-cta {
    padding: 12px 28px;
  }

  .home-page .hero-section {
    height: 477px;
    padding: 29px 0 0;
    background: radial-gradient(
      circle at 51% 40%,
      #fff8ee 0,
      #fbfaf8 47%,
      #fbfaf8 100%
    );
    overflow: hidden;
  }
  .home-page .hero-grid {
    height: 438px;
    min-height: 0;
    grid-template-columns: 345px minmax(0, 1fr) 251px;
    gap: 22px;
    align-items: start;
  }
  .home-page .hero-copy {
    padding-top: 19px;
    align-self: start;
  }
  .home-page .hero-copy h1 {
    font-size: 45px;
    line-height: 1.12;
    letter-spacing: -0.046em;
    margin: 0 0 23px;
  }
  .home-page .hero-copy > p {
    font-size: 16px;
    line-height: 1.58;
    margin: 0 0 30px;
    max-width: 315px;
  }
  .home-page .hero-proof {
    gap: 12px;
  }
  .home-page .avatar-stack span {
    width: 29px;
    height: 29px;
    font-size: 17px;
    background: #241d18;
    overflow: hidden;
    border-color: #fbfaf8;
    margin-left: -6px;
  }
  .home-page .stars {
    font-size: 14px;
    letter-spacing: 1.5px;
    line-height: 1;
  }
  .home-page .hero-proof small {
    font-size: 9px;
    line-height: 1.35;
    max-width: 152px;
    margin-top: 4px;
  }

  .home-page .map-panel {
    height: 438px;
    overflow: visible;
    position: relative;
  }
  .home-page .map-stage {
    height: 410px;
    display: block;
    position: relative;
    overflow: visible;
  }
  .home-page .home-map {
    width: 100%;
    height: auto;
    max-height: none;
    filter: drop-shadow(0 14px 18px rgba(89, 59, 33, 0.12));
    overflow: visible;
  }
  .home-page .home-map #ak,
  .home-page .home-map #hi {
    display: none;
  }
  .home-page .home-map .inset-map-state {
    display: block;
  }
  .home-page .map-state {
    stroke-width: 2.1;
  }
  .home-page .map-state.level-verified {
    fill: #ff9d60;
  }
  .home-page .map-state.level-related {
    fill: #ffd377;
  }
  .home-page .map-state.level-verify {
    fill: #e6e1dd;
  }
  .home-page .map-tooltip {
    left: 50%;
    top: 44%;
    width: 260px;
    border-radius: 18px;
    padding: 16px 17px;
    box-shadow: 0 22px 50px rgba(43, 32, 25, 0.18);
  }
  .home-page .tooltip-head {
    gap: 10px;
  }
  .home-page .tooltip-state-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #fff0e4;
    font-size: 13px;
  }
  .home-page .tooltip-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 1;
  }
  .home-page .tooltip-head h3 {
    font-size: 17px;
    margin: 0;
  }
  .home-page .status-pill {
    padding: 4px 8px;
    font-size: 8px;
    white-space: nowrap;
  }
  .home-page .tooltip-details {
    display: grid;
    gap: 3px;
    margin: 10px 0 13px;
    padding-left: 46px;
    color: var(--muted);
  }
  .home-page .tooltip-details b {
    font-size: 10px;
    font-weight: 650;
    color: #5f5751;
  }
  .home-page .tooltip-details small {
    font-size: 9px;
  }
  .home-page .tooltip-actions {
    padding-left: 0;
    justify-content: center;
  }
  .home-page .tooltip-actions .button {
    min-width: 112px;
    padding: 9px 12px;
    font-size: 9px;
  }
  .home-page .map-legend {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    margin: 0;
    gap: 16px;
    font-size: 9px;
  }
  .home-page .legend-unregulated {
    border-radius: 2px !important;
    background: repeating-linear-gradient(
      135deg,
      #e7e2de 0 2px,
      #fff 2px 4px
    ) !important;
  }

  .home-page .hero-stats {
    height: 421px;
    margin-top: 4px;
    border-radius: 21px;
    padding: 7px 20px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 247, 241, 0.97)
    );
    box-shadow: 0 10px 30px rgba(43, 32, 25, 0.055);
  }
  .home-page .stat-row {
    height: 101px;
    padding: 17px 0;
    gap: 15px;
    align-items: flex-start;
  }
  .home-page .metric-icon {
    width: 37px;
    height: 37px;
    border-radius: 11px;
  }
  .home-page .stat-row strong {
    font-size: 27px;
  }
  .home-page .stat-row strong.word-metric {
    font-size: 17px;
    margin-top: 3px;
  }
  .home-page .stat-row b {
    font-size: 12px;
    margin-top: 3px;
  }
  .home-page .stat-row small {
    font-size: 9px;
    line-height: 1.35;
    margin-top: 4px;
  }

  .home-page .how-strip {
    height: 118px;
    padding: 10px 0 0;
  }
  .home-page .how-card {
    height: 107px;
    grid-template-columns: 220px 1fr 22px 1fr 22px 1fr;
    gap: 17px;
    padding: 17px 24px;
    border-radius: 17px;
  }
  .home-page .how-intro h2 {
    font-size: 20px;
  }
  .home-page .how-intro p {
    font-size: 11px;
    max-width: 150px;
  }
  .home-page .how-icon {
    width: 49px;
    height: 49px;
  }
  .home-page .how-step h3 {
    font-size: 14px;
  }
  .home-page .how-step p {
    font-size: 9px;
    max-width: 180px;
  }
  .home-page .step-badge {
    width: 23px;
    height: 23px;
    left: -8px;
    top: -9px;
  }
  .home-page .how-arrow {
    font-size: 24px;
  }

  .home-page .featured-section {
    height: 268px;
    padding: 9px 0 13px;
  }
  .home-page .lower-grid {
    height: 246px;
    grid-template-columns: 1.31fr 1fr;
    gap: 13px;
  }
  .home-page .featured-panel {
    height: 246px;
    border-radius: 17px;
    padding: 16px 18px;
  }
  .home-page .panel-heading {
    margin-bottom: 13px;
  }
  .home-page .panel-heading h2 {
    font-size: 14px;
  }
  .home-page .exam-cards {
    gap: 9px;
  }
  .home-page .exam-state-card {
    height: 166px;
    padding: 10px 8px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .home-page .state-emblem {
    width: 46px;
    height: 31px;
    margin-bottom: 6px;
  }
  .home-page .exam-state-card h3 {
    font-size: 11px;
    margin-bottom: 5px;
  }
  .home-page .exam-state-card .status-pill {
    font-size: 8px;
    padding: 4px 7px;
  }
  .home-page .exam-state-card p.exam-name {
    display: none;
  }
  .home-page .exam-state-card .fee-line {
    display: block;
    color: var(--muted);
    font-size: 8px;
    margin: 9px 0 8px;
    white-space: nowrap;
  }
  .home-page .exam-state-card > a {
    width: 100%;
    margin-top: auto;
    padding: 7px;
    font-size: 8px;
  }
  .home-page .preview-content {
    grid-template-columns: 1fr 126px;
    gap: 14px;
  }
  .home-page .sample-question {
    height: 164px;
    padding: 11px 12px;
  }
  .home-page .sample-question h3 {
    font-size: 9.5px;
    margin: 8px 0 5px;
    line-height: 1.35;
  }
  .home-page .sample-question label {
    font-size: 8px;
    padding: 3px 4px;
  }
  .home-page .question-mini-head {
    font-size: 7px;
  }
  .home-page .score-circle {
    width: 91px;
    height: 91px;
    margin-bottom: 10px;
  }
  .home-page .preview-score .button {
    padding: 9px 12px;
    font-size: 9px;
  }

  .home-page .home-trust-section {
    height: 78px;
    padding: 12px 0 0;
  }
  .home-page .home-trust {
    height: 67px;
    margin: 0;
    border-radius: 14px;
    padding: 12px 20px;
  }
  .home-page .home-trust .trust-lead strong {
    font-size: 12px;
  }
  .home-page .home-trust .trust-lead p {
    font-size: 8px;
  }
  .home-page .home-trust .shield-icon {
    width: 31px;
    height: 36px;
    border-radius: 7px 7px 12px 12px;
  }
  .home-page .home-trust .trust-logos {
    gap: 34px;
  }
  .home-page .home-trust .trust-logos b {
    font-size: 14px;
  }
  .home-page .home-trust .trust-logos small {
    font-size: 7px;
  }
  .home-page .all-states-section {
    padding-top: 64px;
  }
  .home-page .footer .footer-trust {
    display: none;
  }
}

@media (max-width: 1150px) {
  .home-page .home-trust-section {
    padding: 12px 0;
  }
  .home-page .home-map #ak,
  .home-page .home-map #hi {
    display: none;
  }
  .home-page .home-map .inset-map-state {
    display: block;
  }
}

@media (min-width: 1151px) {
  .home-page .map-tooltip {
    top: 51%;
  }
  .home-page .home-trust-section {
    height: 68px;
    padding: 1px 0 0;
  }
  .home-page .home-trust {
    height: 67px;
  }
  .home-page .state-emblem {
    background: #fff;
    overflow: hidden;
  }
  .home-page .mini-flag {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
  }
  .home-page .flag-il {
    background: #fff;
  }
  .home-page .flag-il i {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(
      circle at 50% 40%,
      #f4c148 0 22%,
      #b8332c 23% 42%,
      #315b9b 43% 64%,
      transparent 65%
    );
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .home-page .flag-nv {
    background: #193e86;
  }
  .home-page .flag-nv i {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #e7c044;
    border-radius: 50%;
    left: 8px;
    top: 5px;
  }
  .home-page .flag-tx {
    background: linear-gradient(to bottom, #fff 0 50%, #d43131 50%);
  }
  .home-page .flag-tx:before {
    content: "★";
    position: absolute;
    inset: 0 auto 0 0;
    width: 36%;
    display: grid;
    place-items: center;
    background: #163d78;
    color: #fff;
    font-size: 10px;
  }
  .home-page .flag-tx i {
    display: none;
  }
  .home-page .flag-ut {
    background: #fff;
  }
  .home-page .flag-ut i {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      #d39c35 0 22%,
      #183d6c 23% 62%,
      #d39c35 63% 70%,
      transparent 71%
    );
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .home-page .flag-wa {
    background: #16904f;
  }
  .home-page .flag-wa i {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      #f2d28a 0 34%,
      #2e6a87 35% 58%,
      #f2d28a 59% 70%,
      transparent 71%
    );
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* v5 — visible OSHA workplace-safety reference badge */
.trust-logos {
  align-items: center;
}
.trust-logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  min-width: 106px;
}
.trust-logo.osha-reference {
  flex-direction: column;
  gap: 2px;
}
.trust-logo.osha-reference img {
  display: block;
  width: 92px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(24, 61, 91, 0.08));
}
.trust-logo.osha-reference small {
  display: block;
  font-size: 7px;
  color: var(--muted);
  line-height: 1;
}
.trust-logo.osha-reference:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 5px 8px rgba(24, 61, 91, 0.14));
}
.home-page .home-trust .trust-logo.osha-reference img {
  width: 97px;
}
.home-page .home-trust .trust-logo.osha-reference small {
  font-size: 7px;
}
@media (max-width: 820px) {
  .footer-trust {
    align-items: flex-start;
  }
  .trust-logos {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .trust-logo.osha-reference img {
    width: 86px;
  }
}

/* v6 — restore all four visible trust-strip icon badges from the approved design */
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.trust-logo.trust-logo-card {
  display: flex !important;
  min-width: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.trust-logo.trust-logo-card img {
  display: block;
  width: 108px;
  height: 38px;
  object-fit: contain;
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}
.trust-logo.trust-logo-card small {
  display: block;
  font-size: 7px;
  color: var(--muted);
  line-height: 1;
  margin-top: 1px;
}
a.trust-logo.trust-logo-card:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 5px 8px rgba(43, 32, 25, 0.12));
}
.trust-logo.nfpa-reference img {
  width: 108px;
}
.trust-logo.osha-reference img {
  width: 108px;
}
.trust-logo.state-agency-reference img {
  width: 126px;
}
.trust-logo.ahj-reference img {
  width: 128px;
}
.home-page .home-trust .trust-logos {
  gap: 20px;
}
.home-page .home-trust .trust-logo.trust-logo-card img {
  height: 34px;
}
.home-page .home-trust .trust-logo.nfpa-reference img,
.home-page .home-trust .trust-logo.osha-reference img {
  width: 102px;
}
.home-page .home-trust .trust-logo.state-agency-reference img {
  width: 120px;
}
.home-page .home-trust .trust-logo.ahj-reference img {
  width: 122px;
}
.home-page .home-trust .trust-logo.trust-logo-card small {
  font-size: 6.5px;
}
@media (max-width: 980px) {
  .trust-logos {
    gap: 10px;
  }
  .trust-logo.trust-logo-card {
    min-width: 86px;
  }
  .trust-logo.trust-logo-card img {
    max-width: 100px;
  }
  .trust-logo.state-agency-reference img,
  .trust-logo.ahj-reference img {
    max-width: 112px;
  }
}
@media (max-width: 720px) {
  .trust-logos {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    width: 100%;
    justify-items: center;
    margin-top: 12px;
  }
  .footer-trust {
    flex-direction: column;
  }
  .home-page .home-trust-section {
    height: auto;
  }
  .home-page .home-trust {
    height: auto;
    min-height: 67px;
  }
  .home-page .home-trust .trust-logos {
    display: grid !important;
  }
}

/* v6.1 — compact icon lockups matching the approved Built for safety strip */
.trust-logo.trust-logo-card {
  min-width: 0;
  gap: 0;
}
.trust-logo.trust-logo-card img {
  height: 36px;
  width: auto !important;
  max-width: none;
  object-fit: contain;
}
.trust-logo.trust-logo-card small {
  display: none !important;
}
.trust-logo.nfpa-reference img {
  width: 96px !important;
}
.trust-logo.osha-reference img {
  width: 100px !important;
}
.trust-logo.state-agency-reference img {
  width: 132px !important;
}
.trust-logo.ahj-reference img {
  width: 142px !important;
}
.home-page .home-trust .trust-logo.trust-logo-card img {
  height: 34px;
}
.home-page .home-trust .trust-logo.nfpa-reference img {
  width: 91px !important;
}
.home-page .home-trust .trust-logo.osha-reference img {
  width: 94px !important;
}
.home-page .home-trust .trust-logo.state-agency-reference img {
  width: 125px !important;
}
.home-page .home-trust .trust-logo.ahj-reference img {
  width: 134px !important;
}
@media (max-width: 980px) {
  .trust-logo.nfpa-reference img {
    width: 88px !important;
  }
  .trust-logo.osha-reference img {
    width: 92px !important;
  }
  .trust-logo.state-agency-reference img {
    width: 116px !important;
  }
  .trust-logo.ahj-reference img {
    width: 124px !important;
  }
}

/* v8 — prevent the hero review/social-proof row from being clipped.
   The original screenshot-matched hero used fixed heights; at browser zoom
   levels or intermediate widths the headline can wrap onto extra lines. */
.home-page .hero-section {
  height: auto;
  min-height: 477px;
  overflow: visible;
}
.home-page .hero-grid {
  height: auto;
  min-height: 438px;
}
.home-page .hero-copy {
  min-width: 0;
  padding-bottom: 16px;
}
.home-page .hero-proof {
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  min-height: 42px;
}
.home-page .hero-proof > div:last-child {
  min-width: 0;
}
.home-page .hero-proof small {
  overflow: visible;
}
@media (min-width: 1151px) and (max-width: 1260px) {
  .home-page .hero-copy h1 {
    font-size: 42px;
    line-height: 1.08;
  }
  .home-page .hero-copy > p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .home-page .hero-proof {
    margin-top: 0;
  }
}

/* 50-state regulatory research pages */
.research-state-page {
  background: #fbfaf8;
}
.research-hero {
  padding: 56px 0 42px;
  background: linear-gradient(145deg, #fff8f1, #fbfaf8);
}
.research-hero-grid {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 48px;
  align-items: center;
}
.research-hero h1 {
  font:
    700 clamp(40px, 5vw, 66px)/1.03 Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 12px 0 20px;
}
.research-hero p {
  max-width: 850px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 850;
}
.state-badge-big {
  aspect-ratio: 1;
  border-radius: 32px;
  background: linear-gradient(145deg, #17130f, #33271f);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 24px 55px rgba(35, 25, 18, 0.18);
  padding: 25px;
}
.state-badge-big strong {
  font:
    700 68px Georgia,
    serif;
  color: #ff7a3a;
}
.state-badge-big span {
  font-size: 11px;
  line-height: 1.4;
}
.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.research-meta span {
  border: 1px solid #eadfd6;
  background: #fff;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 11px;
}
.research-meta b {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.research-content {
  padding: 38px 0 80px;
}
.research-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.research-grid article {
  display: grid;
  gap: 15px;
}
.research-card,
.notice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--soft-shadow);
}
.research-card h2 {
  font:
    700 29px Georgia,
    serif;
  margin: 0 0 20px;
}
.research-card h3 {
  font-size: 14px;
  margin: 22px 0 6px;
}
.research-card p,
.notice-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.notice-card {
  background: #fff5ed;
  border-color: #f0c8ad;
  display: flex;
  gap: 16px;
}
.notice-card strong {
  color: var(--orange);
}
.notice-card p {
  margin: 0;
}
.research-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
}
.research-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
}
.research-steps li > span {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fff0e7;
  color: var(--orange);
  font-weight: 900;
  display: grid;
  place-items: center;
}
.research-steps strong {
  font-size: 13px;
}
.research-steps p {
  margin: 4px 0 0;
  font-size: 11px;
}
.research-links {
  display: grid;
  gap: 9px;
}
.research-link {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.research-link:hover {
  border-color: #ee8b5c;
  background: #fff9f5;
}
.research-link strong {
  font-size: 11px;
}
.research-link span {
  font-size: 9px;
  color: var(--orange);
  white-space: nowrap;
}
.verified-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px !important;
  font-size: 10px !important;
}
.research-grid aside {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 96px;
}
.research-grid aside .sidebar-card p {
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .research-hero-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }
  .state-badge-big {
    width: 160px;
  }
  .research-grid aside {
    position: static;
  }
  .research-hero {
    padding-top: 35px;
  }
  .research-hero h1 {
    font-size: 42px;
  }
}

.forms-index {
  display: grid;
  gap: 16px;
}
.form-state-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 15px;
}
.form-state-heading h2 {
  margin: 0;
}
.form-state-heading > a {
  font-size: 11px;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}
.research-link small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}

/* v2 regulatory research additions */
.research-meta {
  flex-wrap: wrap;
}
.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.form-record {
  margin: 0;
}
.form-record-head,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.form-status {
  font-size: 12px;
  font-weight: 800;
  color: #9b3d14;
  background: #fff1e8;
  border-radius: 999px;
  padding: 7px 10px;
}
.form-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 18px;
}
@media (max-width: 800px) {
  .forms-grid {
    grid-template-columns: 1fr;
  }
  .research-meta span {
    min-width: 45%;
  }
}

/* v3 verified facts */
.verified-facts {
  margin: 0;
  border: 1px solid #eadfd7;
  border-radius: 16px;
  overflow: hidden;
}
.fact-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid #eadfd7;
}
.fact-row:last-child {
  border-bottom: 0;
}
.fact-row:nth-child(odd) {
  background: #fffaf7;
}
.fact-row dt {
  font-weight: 800;
  color: #3a2b22;
}
.fact-row dd {
  margin: 0;
  line-height: 1.55;
  color: #514740;
}
.score-ring {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 14px;
}
.score-ring strong {
  font-size: 32px;
  color: #f06424;
}
.score-ring span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #756961;
}
@media (max-width: 700px) {
  .fact-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .research-meta span {
    min-width: 46%;
  }
}

/* v4 verified facts */
.verified-facts {
  margin: 0;
  border: 1px solid #eadfd7;
  border-radius: 16px;
  overflow: hidden;
}
.fact-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid #eadfd7;
}
.fact-row:last-child {
  border-bottom: 0;
}
.fact-row:nth-child(odd) {
  background: #fffaf7;
}
.fact-row dt {
  font-weight: 800;
  color: #3a2b22;
}
.fact-row dd {
  margin: 0;
  line-height: 1.55;
  color: #514740;
}
.score-ring {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 14px;
}
.score-ring strong {
  font-size: 32px;
  color: #f06424;
}
.score-ring span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #756961;
}
@media (max-width: 700px) {
  .fact-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .research-meta span {
    min-width: 46%;
  }
}

/* v4 final source audit */
.research-link span {
  max-width: 46%;
  text-align: right;
}
.audit-note {
  font-size: 13px;
  color: #6f625b;
}
.source-status {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1e8;
  color: #8a3a11;
  font-size: 11px;
  font-weight: 800;
}

/* v4.1 homepage map + full state-directory data sync */
.map-state.level-explicit {
  fill: #ff9555;
}
.map-state.level-broader {
  fill: #ffd06f;
}
.map-state.level-permit {
  fill: #9ccbea;
}
.map-state.level-local {
  fill: #e5e0dc;
}
.home-page .map-state.level-explicit {
  fill: #ff9555;
}
.home-page .map-state.level-broader {
  fill: #ffd06f;
}
.home-page .map-state.level-permit {
  fill: #9ccbea;
}
.home-page .map-state.level-local {
  fill: #e5e0dc;
}
.status-pill.explicit {
  background: #e8f6ed;
  color: #246f48;
}
.status-pill.broader {
  background: #fff1cd;
  color: #8b6017;
}
.status-pill.permit {
  background: #e8f4fc;
  color: #2d668d;
}
.status-pill.local {
  background: #eeeae6;
  color: #716a64;
}
.legend-explicit {
  background: #ff9555;
}
.legend-broader {
  background: #ffd06f;
}
.legend-permit {
  background: #9ccbea;
}
.legend-local {
  background: #ddd7d2;
}
.directory-state.directory-explicit > span {
  background: #fff0e7;
  color: #d84d16;
}
.directory-state.directory-broader > span {
  background: #fff4d7;
  color: #8b6017;
}
.directory-state.directory-permit > span {
  background: #e8f4fc;
  color: #2d668d;
}
.directory-state.directory-local > span {
  background: #eeeae6;
  color: #716a64;
}
.directory-state small {
  line-height: 1.25;
}
.directory-state.directory-explicit {
  border-left: 3px solid #ff9555;
}
.directory-state.directory-broader {
  border-left: 3px solid #ffd06f;
}
.directory-state.directory-permit {
  border-left: 3px solid #9ccbea;
}
.directory-state.directory-local {
  border-left: 3px solid #d6cfca;
}

/* v5 all-state practice-test system */
.practice-directory-tools {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 12px;
  margin: 0 0 22px;
}
.practice-directory-tools input,
.practice-directory-tools select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
}
.practice-state-card .practice-meta {
  min-height: 58px;
}
.practice-state-card .state-pathway-note {
  font-size: 11px;
  color: var(--muted);
  min-height: 48px;
}
.practice-state-card.hidden-card {
  display: none;
}
.practice-directory-count {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 14px;
}
.status-pill.explicit {
  background: #fff0e7;
  color: #a33d13;
}
.status-pill.broader {
  background: #fff5d9;
  color: #7b5910;
}
.status-pill.permit {
  background: #eaf1ff;
  color: #285a91;
}
.status-pill.local {
  background: #eeeae6;
  color: #665e58;
}
.question-source {
  display: block;
  margin-top: 10px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}
.question-source:hover {
  text-decoration: underline;
}
.state-practice-cta {
  background: linear-gradient(135deg, #1b1714, #33271f);
  color: #fff;
  border-color: #33271f;
}
.state-practice-cta h2,
.state-practice-cta p {
  color: #fff;
}
.state-practice-cta p {
  opacity: 0.78;
}
.practice-page-intro {
  padding: 52px 0 10px;
}
.practice-page-intro h1 {
  font:
    700 48px Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 10px 0 16px;
}
.practice-page-intro p {
  color: var(--muted);
  max-width: 800px;
}
.practice-card-grid.all-states {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1050px) {
  .practice-card-grid.all-states {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .practice-directory-tools {
    grid-template-columns: 1fr;
  }
  .practice-card-grid.all-states {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .practice-card-grid.all-states {
    grid-template-columns: 1fr;
  }
  .practice-page-intro h1 {
    font-size: 38px;
  }
}

/* v5.1 NFPA-aligned practice system */
.standards-summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid #ead8ca;
  border-left: 4px solid #f06424;
  border-radius: 14px;
  background: #fffaf6;
}
.standards-summary strong {
  display: block;
  font-size: 1.08rem;
  margin: 3px 0 5px;
}
.standards-summary p {
  margin: 0;
  color: #665e58;
  line-height: 1.55;
}
.standards-summary > a {
  white-space: nowrap;
  font-weight: 800;
  color: #d84c16;
  text-decoration: none;
}
.standard-topic {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff7f1;
  border-radius: 10px;
  color: #564b43;
  line-height: 1.5;
}
.standard-refs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}
.standard-refs > span {
  grid-column: 1/-1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 800;
  color: #8b7769;
}
.standard-refs a {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border: 1px solid #ead8ca;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: #211a16;
}
.standard-refs a:hover {
  border-color: #f06424;
  transform: translateY(-1px);
}
.standard-refs small {
  margin-top: 3px;
  color: #75675e;
  line-height: 1.35;
}
.standards-hero {
  padding: 72px 0 44px;
  background: linear-gradient(135deg, #1d1713, #32231a);
  color: #fff;
}
.standards-hero h1 {
  max-width: 850px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 12px 0 18px;
}
.standards-hero p {
  max-width: 820px;
  color: #e9ddd4;
  font-size: 1.12rem;
  line-height: 1.7;
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.standard-card {
  padding: 24px;
  border: 1px solid #ead8ca;
  border-radius: 16px;
  background: #fff;
}
.standard-card.primary {
  border-top: 5px solid #f06424;
}
.standard-card h2 {
  margin: 6px 0 10px;
}
.standard-card p {
  color: #665e58;
  line-height: 1.65;
}
.standard-card a {
  font-weight: 800;
  color: #d84c16;
  text-decoration: none;
}
.domain-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 12px;
}
.domain-table th,
.domain-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px;
  border-bottom: 1px solid #ead8ca;
}
.domain-table th {
  background: #241b16;
  color: #fff;
}
.domain-table td:first-child {
  font-weight: 800;
}
.standards-notice {
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff1e8;
  border: 1px solid #ffd5bd;
  line-height: 1.6;
}
.standards-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
@media (max-width: 760px) {
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .standards-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .domain-table {
    display: block;
    overflow-x: auto;
  }
}

/* v5.1.1 — State-page research score alignment fix */
.research-grid aside .score-ring {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 10px 0 16px;
  padding: 0;
  border-radius: 0;
  background: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  place-content: initial;
  gap: 12px;
  position: static;
  overflow: visible;
}
.research-grid aside .score-ring::after {
  content: none;
  display: none;
}
.research-grid aside .score-ring > * {
  position: static;
  z-index: auto;
  margin: 0;
}
.research-grid aside .score-ring strong {
  display: block;
  font:
    800 36px/1 Georgia,
    "Times New Roman",
    serif;
  color: #f06424;
  white-space: nowrap;
}
.research-grid aside .score-ring span {
  display: block;
  min-width: 0;
  font:
    800 10px/1.15 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #756961;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .research-grid aside .score-ring {
    grid-template-columns: auto 1fr;
  }
}

/* v5.1.2 official forms sidebar */
.sidebar-form-links {
  display: grid;
  gap: 8px;
}
.official-form-quick {
  grid-template-columns: 31px minmax(0, 1fr) 16px;
  padding: 9px;
}
.official-form-quick strong {
  font-size: 9px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.official-form-quick small {
  font-size: 8px;
  line-height: 1.35;
  margin-top: 3px;
}
.official-form-quick > i {
  color: var(--orange);
  font-size: 12px;
  text-align: right;
}
.official-forms-note {
  margin: 11px 0 !important;
  font-size: 9px !important;
  line-height: 1.5 !important;
}
.official-forms-library {
  margin-top: 2px;
  font-size: 10px;
  padding: 10px 12px;
}

/* Academy v5.1.3 — linked learning paths */
.academy-hero {
  padding-bottom: 44px;
}
.academy-hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.academy-content {
  padding-top: 8px;
}
.academy-section-heading {
  text-align: center;
  margin: 0 auto 24px;
  max-width: 700px;
}
.academy-section-heading h2,
.academy-callout h2 {
  font:
    700 34px Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.025em;
  margin: 8px 0 10px;
}
.academy-section-heading p,
.academy-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.simple-card-grid .academy-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  box-shadow: var(--soft-shadow);
  position: relative;
  overflow: hidden;
}
.simple-card-grid .academy-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.simple-card-grid .academy-card:hover {
  transform: translateY(-3px);
  border-color: #efb18d;
  box-shadow: 0 18px 38px rgba(43, 32, 25, 0.11);
}
.simple-card-grid .academy-card:hover:before {
  transform: scaleX(1);
}
.simple-card-grid .academy-card h3 {
  font:
    700 22px Georgia,
    serif;
  margin: 18px 0 9px;
}
.simple-card-grid .academy-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}
.academy-card-link {
  margin-top: auto;
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
}
.academy-module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.academy-module {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--soft-shadow);
}
.academy-module-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--peach);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}
.academy-module h3 {
  font:
    700 20px Georgia,
    serif;
  margin: 2px 0 7px;
}
.academy-module p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.academy-module a {
  color: var(--orange);
  font-size: 10px;
  font-weight: 850;
  text-decoration: none;
}
.academy-module a:hover {
  text-decoration: underline;
}
.academy-callout {
  margin-top: 28px;
  border-radius: 20px;
  padding: 28px;
  background: linear-gradient(135deg, #1b1714, #30251e);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
}
.academy-callout .overline {
  color: #ff9a66;
}
.academy-callout h2 {
  color: #fff;
}
.academy-callout p {
  color: #d9d0ca;
  max-width: 620px;
}
.academy-callout-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.academy-callout .button.outline {
  background: transparent;
  color: #fff;
  border-color: #6e5c50;
}
@media (max-width: 760px) {
  .academy-module-grid {
    grid-template-columns: 1fr;
  }
  .academy-callout {
    grid-template-columns: 1fr;
  }
  .academy-callout-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  .academy-hero-actions {
    display: grid;
  }
  .academy-hero-actions .button {
    width: 100%;
  }
  .simple-card-grid .academy-card {
    min-height: 0;
  }
  .academy-module {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }
  .academy-callout {
    padding: 22px;
  }
  .academy-callout-actions {
    display: grid;
  }
  .academy-callout-actions .button {
    width: 100%;
  }
}

/* v5.1.4 — top-of-page state practice exam CTA */
.research-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.research-exam-button {
  min-height: 46px;
  padding: 13px 19px;
  box-shadow: 0 10px 24px rgba(240, 100, 36, 0.22);
  white-space: nowrap;
}
.research-exam-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(240, 100, 36, 0.28);
}
.research-exam-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.18s ease;
}
.research-exam-button:hover .research-exam-arrow {
  transform: translateX(3px);
}
.research-exam-note {
  max-width: 430px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 700px) {
  .research-hero-actions {
    align-items: stretch;
  }
  .research-exam-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .research-exam-note {
    max-width: none;
  }
}

/* v5.1.5 — highly visible top-of-page practice exam CTA */
.research-hero-actions {
  margin: 18px 0 16px;
  padding: 13px 15px;
  border: 1px solid rgba(240, 100, 36, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8f3, #fff);
  box-shadow: 0 8px 22px rgba(53, 35, 24, 0.07);
}
.research-hero-actions .research-exam-button {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
@media (max-width: 700px) {
  .research-hero-actions {
    display: grid;
    padding: 12px;
  }
  .research-hero-actions .research-exam-button {
    width: 100%;
  }
}

/* v5.2 — responsive mobile and tablet system */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}
button,
input,
select,
textarea {
  max-width: 100%;
}
.research-card,
.sidebar-card,
.practice-state-card,
.standard-card,
.academy-card,
.academy-module,
.result-panel,
.question-card,
.question-nav {
  min-width: 0;
}
p,
li,
dd,
dt,
h1,
h2,
h3,
h4,
a,
span,
strong,
small {
  overflow-wrap: anywhere;
}
.button,
.menu,
.navlinks a,
.answer-option,
.number-grid button,
.mode-tabs button,
.question-choice button,
.question-choice a {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid rgba(240, 75, 24, 0.42);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .shell,
  .wrap,
  .shell.narrow,
  .wrap.narrow {
    width: min(100% - 32px, 1320px);
  }
  .site-header {
    height: 68px;
  }
  .header-inner {
    position: relative;
    gap: 12px;
  }
  .menu {
    display: grid;
    place-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    z-index: 110;
    cursor: pointer;
  }
  .menu:hover,
  .menu:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }
  .menu span {
    transition:
      transform 0.18s ease,
      opacity 0.18s ease;
    margin: 3px 0;
  }
  .menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .navlinks.open {
    position: fixed;
    left: 0;
    right: 0;
    top: 68px;
    bottom: 0;
    z-index: 105;
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px calc(24px + env(safe-area-inset-bottom));
    background: rgba(23, 19, 15, 0.985);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  }
  .navlinks.open a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 15px;
  }
  .navlinks.open .nav-cta {
    justify-content: center;
    margin-top: 12px;
    border-bottom: 0;
    min-height: 48px;
  }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .home-page .hero-section {
    height: auto;
    min-height: 0;
    padding: 34px 0 28px;
    overflow: visible;
  }
  .home-page .hero-grid,
  .hero-grid {
    height: auto;
    min-height: 0;
    gap: 28px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 7vw, 52px);
  }
  .map-panel {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }
  .map-stage {
    height: auto;
    min-height: 300px;
    aspect-ratio: 1.58/1;
  }
  .usa-map {
    max-height: 100%;
  }
  .hero-stats {
    margin-top: 2px;
  }
  .how-card {
    padding: 22px;
  }
  .exam-cards {
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
  }
  .exam-state-card {
    scroll-snap-align: start;
  }
  .all-states-section {
    padding: 54px 0 64px;
  }
  .section-title-row h2 {
    font-size: 34px;
  }

  .research-hero {
    padding: 38px 0 30px;
  }
  .research-hero-grid {
    gap: 24px;
    align-items: start;
  }
  .research-hero h1 {
    font-size: clamp(38px, 7.2vw, 52px);
  }
  .research-content {
    padding: 28px 0 60px;
  }
  .research-grid {
    gap: 18px;
  }
  .research-grid aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .research-grid aside .sidebar-card:first-child {
    grid-column: 1/-1;
  }
  .state-badge-big {
    width: 145px;
    justify-self: start;
    border-radius: 25px;
    padding: 20px;
  }
  .state-badge-big strong {
    font-size: 52px;
  }

  .forms-grid {
    gap: 14px;
  }
  .practice-page-intro {
    padding: 40px 0 10px;
  }
  .practice-page-intro h1 {
    font-size: clamp(40px, 7vw, 54px);
  }
  .practice-card-grid.all-states {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .practice-state-card > p,
  .practice-state-card .state-pathway-note {
    min-height: 0;
  }

  .test-setup .setup-grid {
    gap: 26px;
  }
  .setup-copy {
    padding-top: 0;
  }
  .test-setup h1 {
    font-size: clamp(40px, 7.5vw, 54px);
  }
  .setup-panel {
    max-width: 620px;
    width: 100%;
  }
  .question-layout {
    grid-template-columns: 1fr;
  }
  .question-nav {
    order: 2;
  }
  .number-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  .results-grid {
    grid-template-columns: 1fr;
  }

  .simple-hero {
    padding: 58px 0 38px;
  }
  .simple-hero h1 {
    font-size: clamp(42px, 8vw, 56px);
  }
  .simple-content {
    padding-bottom: 60px;
  }
  .academy-content {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .shell,
  .wrap,
  .shell.narrow,
  .wrap.narrow {
    width: calc(100% - 28px);
  }
  .logo-mark {
    width: 30px;
    height: 36px;
  }
  .logo-word {
    font-size: 20px;
  }
  .button {
    min-height: 44px;
    padding: 11px 15px;
  }
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .hero-section {
    padding-top: 25px;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-copy h1 {
    font-size: clamp(37px, 11.5vw, 48px);
    margin-bottom: 16px;
  }
  .hero-copy > p {
    font-size: 15px;
    line-height: 1.58;
    margin-bottom: 22px;
  }
  .hero-proof {
    justify-content: flex-start;
    align-items: flex-start;
  }
  .map-stage {
    min-height: 245px;
    aspect-ratio: 1.38/1;
  }
  .map-tooltip {
    left: 7px;
    right: 7px;
    top: auto;
    bottom: 4px;
    width: auto;
    max-width: none;
    padding: 13px;
    border-radius: 14px;
    transform: translateY(8px) scale(0.98);
  }
  .map-tooltip.visible {
    transform: none;
  }
  .map-tooltip > p {
    margin: 8px 0 10px;
  }
  .tooltip-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tooltip-actions .button {
    width: 100%;
    min-width: 0;
    padding: 9px 8px;
  }
  .map-hover-label {
    display: none;
  }
  .map-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    justify-items: start;
    margin-top: 12px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .stat-row {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid #eee2d9;
  }
  .how-card {
    padding: 18px;
    gap: 16px;
  }
  .how-step {
    align-items: flex-start;
  }
  .featured-panel {
    padding: 15px;
  }
  .panel-heading {
    align-items: flex-start;
  }
  .exam-cards {
    grid-template-columns: repeat(5, minmax(145px, 72vw));
  }
  .section-title-row {
    margin-bottom: 18px;
  }
  .section-title-row h2 {
    font-size: 31px;
  }
  .section-title-row > p {
    font-size: 13px;
  }
  .directory-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .directory-tools select {
    width: 100%;
    margin: 0;
  }
  .state-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .directory-state {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 10px;
  }

  .research-hero {
    padding: 28px 0 24px;
  }
  .breadcrumb {
    flex-wrap: wrap;
    line-height: 1.5;
    margin-bottom: 13px;
  }
  .research-hero-grid {
    gap: 18px;
  }
  .research-hero h1 {
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.04;
    margin: 10px 0 15px;
  }
  .research-hero p {
    font-size: 14px;
    line-height: 1.58;
  }
  .state-badge-big {
    width: 108px;
    border-radius: 20px;
    padding: 14px;
  }
  .state-badge-big strong {
    font-size: 40px;
  }
  .state-badge-big span {
    font-size: 9px;
  }
  .research-hero-actions {
    display: grid;
    gap: 9px;
    margin: 15px 0 13px;
    padding: 11px;
  }
  .research-exam-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .research-exam-note {
    font-size: 10px;
  }
  .research-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .research-meta span {
    min-width: 0 !important;
    width: auto;
    padding: 9px 10px;
  }
  .research-content {
    padding: 20px 0 46px;
  }
  .research-card,
  .notice-card,
  .sidebar-card {
    padding: 18px;
    border-radius: 14px;
  }
  .notice-card {
    display: grid;
    gap: 5px;
  }
  .research-card h2 {
    font-size: 25px;
    margin-bottom: 15px;
  }
  .research-card h3 {
    margin-top: 18px;
  }
  .research-card p,
  .notice-card p {
    font-size: 12px;
    line-height: 1.62;
  }
  .fact-row {
    padding: 13px 14px;
  }
  .fact-row dt,
  .fact-row dd {
    font-size: 12px;
  }
  .document-list {
    columns: 1;
    padding-left: 18px;
  }
  .research-steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }
  .research-steps li > span {
    width: 32px;
    height: 32px;
  }
  .research-link {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }
  .research-link span {
    max-width: 100%;
    text-align: left;
    white-space: normal;
  }
  .form-record-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .form-status {
    font-size: 10px;
    padding: 6px 8px;
  }
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .form-actions .button {
    width: 100%;
  }
  .research-grid aside {
    grid-template-columns: 1fr;
  }
  .research-grid aside .sidebar-card:first-child {
    grid-column: auto;
  }
  .official-form-quick {
    grid-template-columns: 31px minmax(0, 1fr) 14px;
  }
  .research-grid aside .score-ring strong {
    font-size: 33px;
  }

  .forms-grid {
    grid-template-columns: 1fr;
  }
  .form-state-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .practice-directory-tools {
    grid-template-columns: 1fr;
  }
  .practice-card-grid.all-states {
    grid-template-columns: 1fr;
  }
  .practice-state-card {
    padding: 17px;
  }
  .practice-state-card h2 {
    font-size: 23px;
    margin-top: 14px;
  }
  .practice-page-intro {
    padding: 34px 0 6px;
  }
  .practice-page-intro h1 {
    font-size: clamp(36px, 10vw, 45px);
  }

  .practice-app {
    padding: 22px 0 48px;
  }
  .test-setup .setup-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .setup-panel {
    order: -1;
    padding: 16px;
    border-radius: 14px;
  }
  .test-setup h1 {
    font-size: clamp(35px, 10.5vw, 44px);
    margin: 8px 0 14px;
  }
  .test-setup .summary {
    font-size: 14px;
  }
  .setup-benefits {
    grid-template-columns: 1fr;
    margin: 18px 0;
  }
  .standards-summary {
    padding: 16px;
    gap: 13px;
  }
  .question-choice {
    gap: 6px;
  }
  .question-choice button {
    padding: 10px 2px;
  }
  .recent-attempts {
    margin-top: 24px;
  }
  .attempt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .attempt {
    padding: 12px;
  }
  .test-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .test-metrics {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .question-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .question-card,
  .question-nav {
    padding: 16px;
    border-radius: 13px;
  }
  .question-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .question-card h1 {
    font-size: 23px;
    line-height: 1.28;
    margin: 18px 0;
  }
  .answer-option {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 9px;
  }
  .answer-option p {
    font-size: 12px;
    line-height: 1.45;
  }
  .question-actions,
  .review-actions,
  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .question-actions .button,
  .review-actions .button,
  .result-actions .button {
    width: 100%;
  }
  .number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .review-screen,
  .results-screen,
  .answer-review {
    padding: 34px 0;
  }
  .review-screen h1,
  .answer-review h1 {
    font-size: 40px;
  }
  .review-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .review-head .button {
    width: 100%;
  }
  .review-summary {
    grid-template-columns: 1fr;
  }
  .result-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }
  .result-hero .score-ring {
    margin-inline: auto;
  }
  .result-hero h1 {
    font-size: 34px;
  }
  .review-item {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .review-number {
    width: 30px;
    height: 30px;
  }
  .review-item h2 {
    font-size: 19px;
  }
  .standard-refs {
    grid-template-columns: 1fr;
  }

  .simple-hero {
    padding: 42px 0 30px;
  }
  .simple-hero h1 {
    font-size: clamp(38px, 11vw, 48px);
  }
  .simple-hero p {
    font-size: 15px;
  }
  .simple-card-grid {
    grid-template-columns: 1fr;
  }
  .simple-card-grid article,
  .simple-card-grid .academy-card {
    padding: 20px;
  }
  .academy-section-heading h2,
  .academy-callout h2 {
    font-size: 29px;
  }
  .academy-module {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
  }
  .academy-module-number {
    width: 38px;
    height: 38px;
  }
  .academy-callout {
    padding: 20px;
  }
  .contact-form {
    padding: 18px;
  }

  .standards-hero {
    padding: 48px 0 32px;
  }
  .standards-hero p {
    font-size: 1rem;
  }
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .standards-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .standards-summary > a {
    white-space: normal;
  }
  .domain-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .domain-table th,
  .domain-table td {
    min-width: 150px;
    padding: 11px;
  }
  .standards-actions {
    display: grid;
  }
  .standards-actions .button {
    width: 100%;
  }

  .footer {
    padding-top: 22px;
  }
  .footer-trust {
    padding: 16px;
    gap: 18px;
    align-items: stretch;
  }
  .trust-lead {
    align-items: flex-start;
  }
  .trust-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .trust-logo.trust-logo-card {
    min-height: 54px;
    padding: 9px !important;
  }
  .trust-logo.trust-logo-card img {
    max-width: 100% !important;
    height: 30px !important;
    object-fit: contain;
  }
  .footer-main {
    display: grid;
    gap: 14px;
  }
  .footer-main > p {
    margin: 0;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    margin: 3px 0 0;
  }
  .footer-links a {
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  .fine {
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .shell,
  .wrap,
  .shell.narrow,
  .wrap.narrow {
    width: calc(100% - 22px);
  }
  .logo-word {
    font-size: 19px;
  }
  .menu {
    width: 42px;
    height: 42px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .map-stage {
    min-height: 220px;
    aspect-ratio: 1.25/1;
  }
  .map-legend {
    grid-template-columns: 1fr;
  }
  .tooltip-actions {
    grid-template-columns: 1fr;
  }
  .state-directory {
    grid-template-columns: 1fr;
  }
  .directory-state {
    min-height: 58px;
  }
  .exam-cards {
    grid-template-columns: repeat(5, minmax(138px, 82vw));
  }
  .research-meta {
    grid-template-columns: 1fr;
  }
  .research-meta span {
    width: 100%;
  }
  .state-badge-big {
    width: 96px;
  }
  .state-badge-big strong {
    font-size: 36px;
  }
  .research-card,
  .notice-card,
  .sidebar-card {
    padding: 15px;
  }
  .research-card h2 {
    font-size: 23px;
  }
  .attempt-row {
    grid-template-columns: 1fr;
  }
  .question-choice {
    grid-template-columns: 1fr;
  }
  .mode-tabs {
    grid-template-columns: 1fr;
  }
  .number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .review-screen h1,
  .answer-review h1 {
    font-size: 35px;
  }
  .result-hero h1 {
    font-size: 30px;
  }
  .trust-logos {
    grid-template-columns: 1fr !important;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .academy-hero-actions,
  .academy-callout-actions {
    display: grid;
  }
  .academy-hero-actions .button,
  .academy-callout-actions .button {
    width: 100%;
  }
}

/* v5.2.1 — contain horizontally scrolling homepage exam cards */
@media (max-width: 900px) {
  .lower-grid,
  .lower-grid > *,
  .featured-panel,
  .exam-cards {
    min-width: 0;
    max-width: 100%;
  }
  .exam-cards {
    width: 100%;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 150px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 480px) {
  .exam-cards {
    grid-auto-columns: minmax(138px, 72vw);
  }
}

/* v5.2.2 — mobile map uses a visible map followed by its selected-state card */
@media (max-width: 700px) {
  .map-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }
  .map-stage > .usa-map {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 970 / 610;
  }
  .map-tooltip {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .map-tooltip.visible {
    transform: none;
  }
}


/* v5.3 — long map-popup state names and status labels */
.home-page .map-tooltip .tooltip-head { align-items: flex-start; }
.home-page .map-tooltip .tooltip-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-content: start;
  gap: 5px;
  min-width: 0;
}
.home-page .map-tooltip .tooltip-head h3 {
  width: 100%;
  max-width: 100%;
  line-height: 1.08;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.home-page .map-tooltip .status-pill {
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  line-height: 1.15;
}
@media (min-width: 701px) {
  .home-page .map-tooltip { width: 285px; }
}
