:root {
  --bg: #f4efe7;
  --card: #fffaf2;
  --ink: #1f2933;
  --muted: #43505f;
  --brand: #b85042;
  --brand-dark: #5e241b;
  --line: #e7d9c9;
  --accent: #f2c078;
  --shadow: 0 18px 40px rgba(64, 42, 20, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 192, 120, 0.28), transparent 30%),
    linear-gradient(180deg, #fff8ef 0%, var(--bg) 100%);
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

a {
  color: var(--brand-dark);
}

.wrap {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid rgba(231, 217, 201, 0.7);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
}

.topbar-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-left: auto;
  border: 1px solid rgba(184, 80, 66, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 231, 0.98));
  color: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(94, 36, 27, 0.08);
}

.mobile-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  max-width: min(100%, 300px);
}

.brand-mark img {
  flex: 0 0 auto;
  width: min(100%, 268px);
  height: auto;
  display: block;
}

.brand-mark picture {
  display: block;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.topbar-links a {
  text-decoration: none;
  color: var(--brand-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.topbar-links a:hover,
.topbar-links a:focus-visible {
  background: rgba(184, 80, 66, 0.08);
  border-color: rgba(184, 80, 66, 0.16);
  color: var(--brand);
  transform: translateY(-1px);
}

.topbar-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.accessibility-menu {
  position: relative;
}

.accessibility-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(184, 80, 66, 0.14);
  border-radius: 18px;
  padding: 11px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 231, 0.98));
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(94, 36, 27, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 198px;
}

.accessibility-menu summary:hover,
.accessibility-menu[open] summary {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(94, 36, 27, 0.14);
  border-color: rgba(184, 80, 66, 0.34);
}

.accessibility-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(184, 80, 66, 0.14), rgba(242, 192, 120, 0.24));
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.accessibility-trigger-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.accessibility-trigger-copy strong {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.1;
}

.accessibility-trigger-copy small {
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.accessibility-menu summary::-webkit-details-marker {
  display: none;
}

.accessibility-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 24px));
  padding: 18px;
  border: 1px solid rgba(184, 80, 66, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.99), rgba(255, 245, 236, 0.99));
  box-shadow: 0 28px 55px rgba(64, 42, 20, 0.16);
  backdrop-filter: blur(10px);
}

.accessibility-field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.94rem;
  color: var(--muted);
}

.accessibility-field span {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
}

.accessibility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.accessibility-actions + .accessibility-actions {
  margin-top: 10px;
}

.accessibility-actions-stack .accessibility-action {
  flex: 1 1 100%;
}

.accessibility-action {
  min-height: 46px;
  border: 1px solid rgba(184, 80, 66, 0.12);
  color: var(--brand-dark);
  background: linear-gradient(180deg, #ffffff, #fff3e6);
  box-shadow: 0 10px 18px rgba(94, 36, 27, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.accessibility-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(94, 36, 27, 0.12);
  border-color: rgba(184, 80, 66, 0.28);
}

.accessibility-action-pill {
  min-width: 92px;
  font-weight: 700;
  padding: 0 14px;
}

.accessibility-action-hero {
  justify-content: flex-start;
  text-align: left;
  padding: 13px 16px;
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(94, 36, 27, 0.95), rgba(184, 80, 66, 0.96));
  box-shadow: 0 14px 28px rgba(94, 36, 27, 0.18);
}

.accessibility-action-hero:hover {
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(94, 36, 27, 0.24);
}

.accessibility-action.is-active {
  background: linear-gradient(135deg, #7c2619, #c45d4f);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(94, 36, 27, 0.24);
}

#language-switcher {
  border-radius: 14px;
  border: 1px solid rgba(184, 80, 66, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 231, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}

.site-header {
  padding: 40px 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.eyebrow,
.card-tag,
.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--brand-dark);
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 0.98;
  margin: 10px 0 14px;
  max-width: 12ch;
}

.hero-copy {
  max-width: 60ch;
  font-size: 1.02rem;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading h3 {
  margin: 6px 0 0;
}

.section-link {
  text-decoration: none;
  font-weight: 700;
}

.section-link-inline {
  display: inline-flex;
  margin-top: 6px;
}

.hero-panel,
.card,
.detail-section,
.toolbar,
.empty-state {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 24px;
  align-self: center;
}

.meta-value {
  font-size: 1.1rem;
  margin: 8px 0 18px;
}

.sync-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

button,
select,
input {
  font: inherit;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--brand);
  color: white;
  cursor: pointer;
}

.toolbar {
  padding: 18px;
  margin-bottom: 20px;
}

.state-directory {
  margin-bottom: 20px;
}

.state-directory-featured {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(255, 245, 234, 0.96));
}

.state-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qualification-state-links {
  margin-top: 16px;
}

.editorial-intro {
  margin-bottom: 20px;
}

.editorial-copy {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.desktop-editorial-section {
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 245, 236, 0.96));
}

.state-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  text-decoration: none;
}

.pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(184, 80, 66, 0.12);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.guide-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.guide-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.guide-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.guide-read-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: none;
}

.guide-detail p {
  color: var(--muted);
  line-height: 1.75;
}

.guide-grid-page {
  margin-top: 18px;
}

.state-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.state-highlight-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.state-highlight-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.state-highlight-card span {
  color: var(--muted);
}

.filters {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.filters input {
  touch-action: manipulation;
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reset-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  text-decoration: none;
}

.is-hidden {
  display: none !important;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  padding-bottom: 40px;
}

.card {
  padding: 22px;
}

.job-card,
.guide-card,
.detail-section,
.state-mobile-card {
  content-visibility: auto;
  contain-intrinsic-size: 280px;
  contain: layout paint style;
}

.card-flags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-flags {
  margin-bottom: 10px;
}

.status-badge,
.qual-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-badge {
  color: #fff;
}

.status-fresh {
  background: #2e7d32;
}

.status-warn {
  background: #b26a00;
}

.status-urgent {
  background: #c0392b;
}

.status-stale {
  background: #6b7280;
}

.qual-badge {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.card h2,
.detail-title {
  margin: 10px 0 12px;
}

.card p,
.detail-summary,
.detail-section li {
  color: var(--muted);
}

.card-meta,
.detail-top-meta,
.overview-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}

.card-meta,
.detail-top-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.detail {
  padding-bottom: 40px;
}

.back-link {
  display: inline-block;
  margin: 8px 0 14px;
}

.detail-section {
  padding: 20px;
  margin-top: 18px;
}

.byline-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(252,245,236,0.96));
}

.byline-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.byline-row strong {
  display: block;
  margin-bottom: 4px;
}

.byline-row p,
.byline-note {
  margin: 0;
  color: var(--muted);
}

.expert-highlight {
  margin: 1rem 0;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(184, 94, 71, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(255, 245, 235, 0.96));
  font-weight: 600;
}

.byline-meta {
  display: grid;
  gap: 6px;
  text-align: right;
  color: var(--muted);
  font-size: 0.95rem;
}

.byline-note {
  margin-top: 14px;
  line-height: 1.65;
}

.related-list {
  display: grid;
  gap: 16px;
}

.share-card {
  margin-top: 18px;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 80, 66, 0.16);
  background: linear-gradient(180deg, #ffffff, #fff3e7);
  color: var(--brand-dark);
  text-decoration: none;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(64, 42, 20, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.share-pill:hover,
.share-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(64, 42, 20, 0.12);
  border-color: rgba(184, 80, 66, 0.28);
}

.share-copy-button {
  cursor: pointer;
}

.related-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.86);
}

.related-card h4 {
  margin: 8px 0 10px;
  font-size: 1.1rem;
}

.related-card p {
  margin: 0;
}

.related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.disclaimer-box {
  border-left: 4px solid var(--accent);
}

.overview-table {
  display: grid;
  gap: 12px;
}

.overview-row {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.empty-state {
  padding: 28px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.92);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
  max-width: 60ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.state-table-wrap {
  overflow-x: auto;
}

.state-table {
  width: 100%;
  border-collapse: collapse;
}

.state-mobile-list {
  display: none;
}

.state-table th,
.state-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.state-table th {
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.state-mobile-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.state-mobile-card + .state-mobile-card {
  margin-top: 14px;
}

.state-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.state-mobile-board {
  margin: 0;
  font-weight: 700;
  color: var(--brand-dark);
}

.state-mobile-title {
  margin: 12px 0;
  font-size: 1.15rem;
}

.state-mobile-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.state-mobile-meta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.state-mobile-meta span {
  color: var(--muted);
}

.state-mobile-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
 }

.scroll-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(127, 47, 36, 0.25);
  background: rgba(184, 80, 66, 0.94);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.scroll-toggle.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.a11y-contrast {
  --bg: #fffdf8;
  --card: #ffffff;
  --ink: #0d1218;
  --muted: #1f2b36;
  --brand: #8f2617;
  --brand-dark: #2e0b06;
  --line: #8d6f57;
  --accent: #ffb74d;
}

body.a11y-contrast a {
  color: #5b1208;
  text-decoration: underline;
}

body.a11y-contrast button,
body.a11y-contrast .state-mobile-open {
  background: #7f2418;
}

@media (max-width: 800px) {
  .hero,
  .filters {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
  }

  .card-meta,
  .detail-top-meta,
  .overview-row,
  .byline-row {
    flex-direction: column;
  }

  .byline-meta {
    text-align: left;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: initial;
    gap: 8px;
    position: relative;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    padding: 12px 0 10px;
  }

  .hero-panel {
    padding: 14px;
  }

  .toolbar,
  .detail-section,
  .card,
  .empty-state {
    padding: 14px;
  }

  .wrap {
    width: min(100% - 20px, 1100px);
  }

  .topbar-inner {
    padding: 2px 0;
    gap: 4px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    width: 34px;
    height: 34px;
    gap: 4px;
    box-shadow: none;
    border-radius: 10px;
    flex: 0 0 auto;
    margin-left: 0;
    justify-self: end;
    order: 2;
  }

  .mobile-nav-toggle-bar {
    width: 16px;
  }

  .topbar-menu {
    display: none;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 250, 242, 0.98);
    box-shadow: 0 6px 14px rgba(64, 42, 20, 0.06);
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    order: 3;
  }

  .topbar-menu.is-open {
    display: flex;
  }

  .topbar-links {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .topbar-links a {
    display: block;
    width: 100%;
    font-size: 0.95rem;
    padding: 8px 10px;
  }

  .topbar-tools {
    width: 100%;
    margin-left: 0;
  }

  .accessibility-menu,
  .accessibility-menu summary {
    width: 100%;
  }

  .accessibility-panel {
    left: 0;
    right: auto;
    width: 100%;
  }

  .accessibility-menu summary {
    min-width: 0;
  }

  .brand-mark {
    font-size: 0.92rem;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 124px;
    justify-self: start;
    order: 1;
  }

  .brand-mark img {
    width: min(100%, 124px);
    height: auto;
    max-width: 100%;
  }

  .topbar {
    backdrop-filter: none;
  }

  .accessibility-menu summary {
    padding: 8px 10px;
    min-width: 0;
    box-shadow: none;
    border-radius: 14px;
  }

  .accessibility-trigger-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .accessibility-trigger-copy strong {
    font-size: 0.84rem;
  }

  .accessibility-trigger-copy small {
    font-size: 0.64rem;
  }

  .accessibility-panel {
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(64, 42, 20, 0.08);
  }

  .state-links {
    gap: 8px;
  }

  .guide-grid,
  .state-highlight-grid {
    grid-template-columns: 1fr;
  }

  .state-pill {
    padding: 9px 12px;
    font-size: 0.95rem;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p,
  .detail-summary,
  .sync-note {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    margin: 8px 0 10px;
  }

  .site-header {
    padding: 8px 0 10px;
  }

  .meta-value {
    margin: 4px 0 8px;
  }

  .footer-inner p {
    display: none;
  }

  .editorial-intro .editorial-copy:last-of-type,
  #sync-note,
  .guide-grid-section {
    display: none;
  }

  .desktop-editorial-section {
    display: none;
  }

  .editorial-intro,
  .state-directory-featured {
    margin-bottom: 14px;
  }

  .toolbar {
    margin-bottom: 14px;
  }

  .filters {
    gap: 10px;
  }

  .filter-actions {
    justify-content: space-between;
  }

  .guide-grid-section .guide-card:nth-child(n + 3) {
    display: none;
  }

  .scroll-toggle {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .state-table-wrap {
    display: none;
  }

  .state-mobile-list {
    display: block;
  }

  .state-mobile-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body {
    background: linear-gradient(180deg, #fff8ef 0%, var(--bg) 100%);
  }
}
