:root {
  --font-sans: system-ui, sans-serif;
  --brand-paper: #f9f9f3;
  --brand-blue: #203dca;
  --brand-ink: #182866;
  --brand-muted: #4c567e;
  --brand-yellow: #f8e76b;
  --brand-mint: #d3efdf;
  --brand-logo-compact: 104px;
}
@font-face {
  font-family: "Bricolage Display";
  src: url("/fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

.road-hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  min-height: clamp(425px, 42vw, 554px);
  isolation: isolate;
  overflow: clip;
  border-radius: clamp(19px, 2.2vw, 34px);
  background: var(--brand-blue);
  color: #fff;
}

.road-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 4.8vw, 76px);
}

.road-hero .road-hero-copy h1 {
  margin: 0;
  color: #fff;
  font: 800 clamp(3.05rem, 5.8vw, 6.25rem)/.88 "Bricolage Display", var(--font-sans);
  letter-spacing: -.058em;
  text-wrap: balance;
}

.road-hero h1 em {
  display: block;
  color: var(--brand-yellow);
  font-style: normal;
}

.road-hero-copy p {
  max-width: 32ch;
  margin: clamp(18px, 2.2vw, 29px) 0 0;
  color: #f0f1ff;
  font-size: clamp(.94rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.road-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 2.5vw, 34px);
}

.road-hero .road-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px clamp(14px, 1.5vw, 21px);
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, scale .18s ease;
}

.road-hero .road-button-primary {
  background: var(--brand-yellow);
  color: var(--brand-ink);
}

.road-hero .road-button-secondary {
  border-color: #ffffff85;
  background: transparent;
  color: #fff;
}

.road-hero .road-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.road-hero .road-button:active { scale: .96; }
.road-button > span { font-size: 1.2em; line-height: 1; }

.road-hero-photo {
  position: relative;
  min-width: 0;
  overflow: clip;
  background: #14538c;
}

.road-scene {
  position: absolute;
  inset: 0;
  transform-origin: 54% 61%;
}

.road-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 61%;
  outline: 1px solid #ffffff1a;
  outline-offset: -1px;
}

@media (hover: hover) {
  .road-hero .road-button-primary:hover { background: #fff2a1; }
  .road-hero .road-button-secondary:hover { background: #ffffff1a; }
}

@media (max-width: 720px) {
  .road-hero { grid-template-columns: 1fr; min-height: 0; }
  .road-hero-copy { padding: clamp(24px, 6.2vw, 44px); }
  .road-hero .road-hero-copy h1 { font-size: clamp(2.42rem, 12vw, 4.8rem); }
  .road-hero-actions { margin-top: 21px; }
  .road-hero .road-button { min-height: 48px; }
  .road-hero-photo { aspect-ratio: 1.85; }
  .road-scene img { object-position: 54% 64%; }
}

@media (max-width: 360px) {
  .road-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .road-hero .road-button { gap: 6px; padding-inline: 8px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  .road-hero .road-button { transition: none; }
  .road-hero .road-button:active { scale: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-road-enter] .road-hero-copy > :is(h1, p, .road-hero-actions) {
    animation: road-copy-in 620ms cubic-bezier(.16, 1, .3, 1) backwards;
  }
  [data-road-enter] .road-hero-copy > p { animation-delay: 80ms; }
  [data-road-enter] .road-hero-actions { animation-delay: 160ms; }
  [data-road-enter] .road-scene { animation: road-scene-in 1150ms cubic-bezier(.16, 1, .3, 1); }

  .road-button > span { transition: translate .2s ease-out; }
  .road-button:focus-visible > span { translate: 3px; }

  @media (hover: hover) {
    .road-button:hover > span { translate: 3px; }
  }

  @supports (animation-timeline: view()) and (animation-range: entry 0% entry 100%) {
    .road-hero-photo { view-timeline-name: --road-photo; }
    .road-scene img {
      animation: road-photo-drift linear both;
      animation-timeline: --road-photo;
      animation-range: exit 0% exit 100%;
    }
    .road-mode-list > * {
      animation: road-card-arrive ease-out both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 45%;
    }
    .road-mode-list > :nth-child(2) { animation-range: entry 15% entry 60%; }
    .road-mode-list > :nth-child(3) { animation-range: entry 30% entry 75%; }
    .road-mode-list > :focus-within { animation: none; }
  }
}

@keyframes road-copy-in {
  from { opacity: .66; translate: 0 16px; }
}

@keyframes road-scene-in {
  from { scale: 1.09; translate: -1.7% 0; }
}

@keyframes road-photo-drift {
  from { transform: scale(1.025); }
  to { transform: translateY(3.8%) scale(1.105); }
}

@keyframes road-card-arrive {
  from { opacity: .86; translate: 0 16px; }
}
:root {
  --paper: var(--brand-paper);
  --white: #fff;
  --blue: var(--brand-blue);
  --blue-dark: #172fa4;
  --ink: var(--brand-ink);
  --muted: var(--brand-muted);
  --line: #dcdfee;
  --yellow: var(--brand-yellow);
  --mint: var(--brand-mint);
  --lavender: #e9edff;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--blue); text-wrap: balance; }
h1, h2, .mode-mark { font: 800 1em/1.02 var(--font-sans); }
h1 { font-size: clamp(2.75rem, 6.4vw, 5.65rem); letter-spacing: -.056em; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; line-height: 1.22; letter-spacing: -.025em; }
p, dd { text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: .23em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: 8px; left: 8px; transform: translateY(-160%); padding: 8px 14px; background: var(--white); }
.skip-link:focus { transform: translateY(0); }

.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { min-height: 92px; border-bottom: 1px solid var(--line); }
.site-brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.site-brand img { display: block; width: 112px; height: auto; }
.site-header nav { display: flex; gap: clamp(12px, 3vw, 43px); }
.site-header nav a, .header-play, .site-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a { color: var(--muted); }
.site-header nav a[aria-current], .site-header nav a:hover, .header-play:hover, .site-footer-links a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.header-play { white-space: nowrap; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 6vw, 76px);
  padding-block: clamp(46px, 5.5vw, 80px) clamp(42px, 6vw, 78px);
}
.kicker {
  margin-bottom: 15px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lede { max-width: 37rem; margin-top: 21px; color: var(--muted); font-size: clamp(1.0625rem, 1.85vw, 1.25rem); }
.hero-copy .lede { max-width: 29rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  box-shadow: 0 3px 0 var(--blue-dark);
  color: var(--white);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.button:hover { background: var(--blue-dark); }
.button-outline { background: var(--lavender); color: var(--blue); box-shadow: 0 3px 0 #d8dfff; }
.button-outline:hover { background: #dce4ff; }
.button:active { transform: scale(.96); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; font-size: .9375rem; font-weight: 700; }
.text-link:hover { color: var(--blue-dark); }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .8125rem; }

.feature-preview { min-width: 0; }
.feature-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 0;
  border-radius: 26px;
}
.phone-frame {
  position: relative;
  width: clamp(170px, 49%, 250px);
  padding: 6px;
  border: 1px solid #ffffff57;
  border-radius: 27px;
  background: #16224d;
  box-shadow: 0 16px 28px #10183e54, 0 2px 6px #10183e45;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: var(--paper);
  outline: 1px solid #0000001a;
  outline-offset: -1px;
}
.preview-plate {
  position: absolute;
  width: 44%;
  height: auto;
  border-radius: 8px;
  outline: 1px solid #0000001a;
  outline-offset: -1px;
  box-shadow: 0 11px 22px #101d8051;
}

.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 24px; }
.game-page-hero { margin-top: clamp(16px, 3vw, 39px); }
.road-hero.game-page-hero .road-hero-copy h1 { font-size: clamp(2.58rem, 4.85vw, 4.65rem); }
.game-page-state-preview { background: #e8ecff; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .game-page-modes .mode-mark { transition: rotate .28s cubic-bezier(.16, 1, .3, 1), scale .28s cubic-bezier(.16, 1, .3, 1); }
  .game-page-modes .mode-card:hover .mode-mark { rotate: -7deg; scale: 1.07; }
}
@media (min-width: 721px) {
  .game-page-previews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .road-hero.game-page-hero .road-hero-copy h1 { font-size: clamp(2.17rem, 9vw, 4.35rem); }
}
.feature-stage { min-height: 0; }
.feature-stage-designs {
  background: radial-gradient(ellipse at 65% 10%, #f5f1ff, transparent 63%), #e2ddf8;
}
.feature-stage-designs .preview-plate { top: 46%; left: 8%; rotate: -17deg; }
.feature-stage-results {
  background:
    repeating-linear-gradient(140deg, transparent 0 20px, #99720022 20px 21px),
    radial-gradient(ellipse at 65% 10%, #fff6bb, transparent 78%),
    var(--yellow);
}
.feature-stage .phone-frame { width: clamp(160px, 44%, 200px); border-radius: 24px; }
.feature-stage .phone-frame img { border-radius: 17px; }
.feature-preview figcaption { padding: 16px 4px 0; }
.feature-preview figcaption p { max-width: 28rem; margin-top: 6px; color: var(--muted); }

.section { padding-block: clamp(34px, 6.5vw, 76px); border-top: 1px solid var(--line); }
.spotter-intro { max-width: 780px; padding-bottom: clamp(34px, 5vw, 60px); }
.plate-guide { padding-top: clamp(28px, 4vw, 45px); }
.plate-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
  margin-top: 22px;
}
@media screen and (min-width: 761px) {
  .plate-clues .plate-guide-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plate-guide-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (min-width: 1060px) {
  .plate-guide-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.plate-guide-card { min-width: 0; }
.plate-guide-art { padding: clamp(10px, 2vw, 20px); border-radius: 20px; }
.plate-guide-art.yellow { background: #f8edab; }
.plate-guide-art.turquoise { background: #cdebe4; }
.plate-guide-art.chile { background: #f5dfcb; }
.plate-guide-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  outline: 1px solid #0000001a;
  outline-offset: -1px;
  box-shadow: 0 6px 15px #1828661a;
}
.plate-guide-card figcaption { padding: 15px 3px 0; }
.plate-guide-card p, .spotter-sources p { margin-top: 8px; color: var(--muted); }
.spotter-sources ul { padding-left: 20px; color: var(--muted); }
.spotter-sources li + li { margin-top: 6px; }

.registration-counts > p { max-width: 66ch; color: var(--muted); }
.registration-chart {
  max-width: 38rem;
  margin-block: 20px;
  padding: clamp(16px, 3vw, 28px);
  border-radius: 24px;
  background: var(--lavender);
}
.registration-chart figcaption { color: var(--blue); font-weight: 800; }
.registration-chart ul { display: grid; gap: 12px; margin: 14px 0; padding: 0; list-style: none; }
.registration-chart li { display: grid; grid-template-columns: 1fr max-content; gap: 4px 10px; align-items: baseline; }
.registration-chart strong, .registration-details td { font-variant-numeric: tabular-nums; }
.registration-bar {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--blue) var(--bar-width), var(--white) var(--bar-width));
}
.registration-chart p, .registration-note { font-size: .9375rem; color: var(--muted); }
.registration-details { max-width: 38rem; margin-block: 16px 8px; }
.registration-details summary {
  align-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 1px 3px #1828661a;
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
}
.registration-details summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.registration-details table { width: 100%; margin-block: 10px; border-collapse: collapse; font-size: .9375rem; }
.registration-details caption { padding: 8px 0; text-align: left; font-weight: 700; }
.registration-details :is(th, td) {
  padding: 6px clamp(4px, 1.6vw, 14px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.registration-details :is(th, td):last-child { text-align: right; }
.registration-details tbody tr:nth-child(2n + 1) { background: var(--white); }

.resource-hero { padding-block: clamp(30px, 5vw, 68px); }
.resource-hero h1 { font-size: clamp(2.55rem, 5.3vw, 4.5rem); }
.resource-breadcrumbs { margin-top: 15px; }
.resource-breadcrumbs ol, .resource-related ul, .resource-simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.resource-breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; font-size: .875rem; }
.resource-breadcrumbs li + li::before { content: '/' / ''; margin: 0 10px; color: var(--muted); }
.resource-breadcrumbs a { display: inline-flex; align-items: center; min-height: 40px; }
.resource-breadcrumbs [aria-current] { color: var(--muted); }
.language-switch { display: flex; justify-content: end; }
.resource-help-art, .resource-plate-art, .resource-library-art {
  display: grid;
  place-items: center;
  padding: clamp(17px, 4vw, 44px);
  border-radius: 24px;
  background: var(--lavender);
}
.resource-help-art { background: var(--mint); }
.resource-help-preview { display: grid; place-items: center; gap: 14px; padding: clamp(16px, 3vw, 30px); border-radius: 24px; background: var(--lavender); }
.resource-help-preview .phone-frame { width: min(100%, 214px); }
.worksheet-preview { display: block; width: min(100%, 284px); height: auto; border-radius: 3px; box-shadow: 0 8px 14px #18286621; }
.resource-install-icon { min-height: 240px; align-content: center; background: var(--mint); }
.resource-install-icon img { width: 112px; height: auto; border-radius: 23px; box-shadow: 0 8px 14px #18286621; }
.resource-install-icon figcaption { font-weight: 800; }
.resource-plate-art.sand { background: #f5dfcb; }
.resource-plate-art.mint { background: var(--mint); }
.resource-help-art img, .resource-plate-art img, .resource-library-art img, .resource-index-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  outline: 1px solid #0000001a;
  outline-offset: -1px;
  box-shadow: 0 8px 14px #18286621;
}
.resource-library-art { overflow: hidden; grid-template-columns: repeat(3, 1fr); row-gap: 13px; }
.resource-library-art img { grid-column: span 2; }
.resource-library-art img:first-child { rotate: -8deg; }
.resource-library-art img:nth-child(2) { grid-column: 2 / 4; rotate: 7deg; }
.resource-library-art img:last-child { rotate: -4deg; }
.resource-index-grid, .resource-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 16px;
  margin-top: 24px;
}
.resource-index-card, .resource-steps li {
  padding: clamp(16px, 2.5vw, 24px);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 3px 15px #1828660b;
}
.resource-index-card img { margin-bottom: 8px; }
.resource-link-card { color: var(--ink); text-decoration: none; }
.resource-link-card h3 { color: var(--blue); text-wrap: balance; }
.resource-link-card p { text-wrap: pretty; }
.resource-link-card:hover h3 { color: var(--blue-dark); text-decoration: underline; }
.resource-finder { margin-top: 20px; max-width: 670px; padding: clamp(16px, 3vw, 26px); border-radius: 20px; background: var(--lavender); }
.resource-finder label { display: block; margin-bottom: 8px; font-size: 1.125rem; font-weight: 800; }
.resource-search-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.resource-search-input :is(input, select) { width: 100%; min-width: 0; min-height: 48px; padding: 10px 13px; border: 1px solid #a1acd7; border-radius: 10px; color: var(--ink); background: var(--white); font: inherit; }
.resource-search-input :is(input, select):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.resource-search-input .button { min-height: 48px; padding: 0 14px; }
.resource-search-status:not(:empty) { margin-top: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.plate-catalog-query { grid-template-columns: 1fr; margin-bottom: 14px; }
.plate-catalog-form .button { border-radius: 10px; }
.plate-catalog-results ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); list-style: none; padding: 0; }
.plate-catalog-results img { display: block; width: 100%; height: auto; max-height: 180px; object-fit: contain; border-radius: 6px; outline: 1px solid #0000001a; outline-offset: -1px; }
.plate-catalog-results h3:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.plate-catalog-results > .button { margin-top: 12px; }
.resource-country-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; }
.plate-clues { scroll-margin-top: 24px; }
.plate-clues .plate-guide-card a { display: inline-flex; align-items: center; min-height: 44px; }
.plate-clues .plate-guide-card[id] { scroll-margin-top: 24px; }
.plate-clue-table { width: 100%; border-collapse: collapse; text-align: left; overflow-wrap: anywhere; }
.plate-clue-table :is(th, td) { padding: 6px clamp(10px, 1.5vw, 16px); border-bottom: 1px solid var(--line); }
.plate-clue-table thead { background: var(--lavender); }
.plate-clue-table tbody { background: var(--white); }
.plate-clue-table a { display: inline-flex; align-items: center; min-height: 44px; }
.app-comparison { margin-top: 18px; }
.app-comparison :is(th, td) { vertical-align: top; }
.app-comparison tbody th { width: 28%; }
.app-comparison tbody td { padding-block: 12px; }
.app-comparison-cards > article { scroll-margin-top: 20px; }
.app-option-details { display: grid; gap: 10px; margin: 16px 0 8px; }
.app-option-details div { border-top: 1px solid var(--line); padding-top: 10px; }
.app-option-details dt { font-weight: 750; }
.app-option-details dd { margin: 2px 0 0; color: var(--muted); text-wrap: pretty; }
.app-option-sources { margin: 10px 0 0; padding: 0; list-style: none; }
.app-option-sources a { display: inline-flex; align-items: center; min-height: 44px; }
.resource-country { margin-top: 20px; scroll-margin-top: 24px; }
.resource-country-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 20px; }
.resource-country + .resource-country { margin-top: clamp(30px, 5vw, 54px); }
.resource-country .resource-index-grid { margin-top: 14px; }
.resource-index-card h4 { margin: 0; font-size: 1.125rem; }
.resource-index-card h3 a, .resource-index-card h4 a { font-size: inherit; line-height: 1.2; }
.resource-index-card p, .resource-steps p, .resource-tip p { margin-top: 8px; color: var(--muted); }
.printables-intro h1 { max-width: 17ch; }
.printable-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.printable-card { display: flex; flex-direction: column; align-items: flex-start; }
.printable-card .button { margin-top: auto; }
.printable-card p { margin-bottom: 18px; }
.printable-preview {
  display: grid;
  width: 100%;
  height: 218px;
  place-items: center;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 12px;
  background: var(--lavender);
}
.printable-preview.mint { background: var(--mint); }
.printable-preview.sand { background: #f5dfcb; }
.printable-preview img { width: auto; height: auto; max-width: 100%; max-height: 182px; margin: 0; border-radius: 2px; }
.quiz-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 295px), 1fr)); margin-top: 24px; align-items: start; }
.quiz-round { scroll-margin-top: 22px; }
.quiz-card { min-width: 0; padding: clamp(16px, 2.5vw, 24px); border-radius: 20px; background: var(--white); box-shadow: 0 3px 15px #1828660b; }
.quiz-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz-card legend { margin-bottom: 14px; padding: 0; color: var(--ink); font-weight: 750; }
.quiz-options { display: grid; gap: 6px; }
.quiz-options label { display: flex; gap: 10px; align-items: center; cursor: pointer; min-height: 44px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; }
.quiz-options label:has(:checked) { border-color: var(--blue); background: var(--lavender); }
.quiz-options input { margin: 0; flex: none; accent-color: var(--blue); }
.quiz-feedback { margin-top: 12px; font-weight: 750; }
.quiz-feedback[data-correct="true"] { color: #1a694e; }
.quiz-answer { margin-top: 10px; }
.quiz-answer summary { min-height: 44px; padding: 10px 0; color: var(--blue); cursor: pointer; font-weight: 700; }
.quiz-answer .resource-plate-art { margin-bottom: 12px; padding: 12px; border-radius: 12px; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 34px; }
.quiz-actions output { flex-basis: 100%; font-weight: 750; }
.resource-steps { padding: 0; list-style: none; counter-reset: resource-step; }
.resource-steps li { counter-increment: resource-step; }
.resource-steps li::before {
  content: counter(resource-step) / '';
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}
.resource-tip { margin-bottom: clamp(30px, 5vw, 56px); padding: clamp(24px, 5vw, 44px); border-radius: 24px; background: #fcf0be; }
.resource-tip p { max-width: 62ch; }
.resource-related ul { display: flex; flex-wrap: wrap; gap: 3px 24px; margin-top: 12px; }

.directory-countries { border-block: 1px solid var(--line); align-items: center; }
.directory-countries [aria-current] { font-weight: 800; }
.plate-directory > p { margin-top: 10px; color: var(--muted); max-width: 68ch; }
.directory-index { margin: 20px 0 0; padding: 0 16px; border-radius: 14px; background: var(--lavender); }
.directory-index summary { padding-block: 12px; color: var(--ink); font-weight: 800; cursor: pointer; }
.directory-index summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.directory-index ul { columns: 3; padding: 0 0 12px; margin: 0; list-style: none; }
.directory-index li { break-inside: avoid; }
.directory-index a, .directory-credit { display: inline-flex; align-items: center; min-height: 44px; }
.directory-group { margin-top: clamp(28px, 4vw, 50px); }
.directory-group > h3 { margin-bottom: 14px; font-size: 1.4rem; }
.directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.directory-plate { min-width: 0; padding: clamp(9px, 1.5vw, 16px); border-radius: 19px; background: var(--white); box-shadow: 0 3px 15px #1828660b; scroll-margin-top: 24px; }
.directory-plate:target { outline: 3px solid var(--blue); outline-offset: -3px; }
.directory-plate img { display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: contain; border-radius: 8px; }
.directory-plate :is(h3, h4) { margin: 12px 0 3px; font-size: 1.02rem; line-height: 1.2; }
.directory-plate p { color: var(--muted); font-size: .875rem; line-height: 1.35; }
.directory-plate .directory-clue { margin-top: 7px; }
.directory-plate figcaption a { display: flex; width: fit-content; font-size: .875rem; line-height: 1.22; }
.directory-source { margin-bottom: 32px; }
.mexico-print-list { columns: 3; margin: 16px 0; padding: 0; list-style: none; }
.mexico-print-list li { break-inside: avoid; }
.mexico-print-list a { display: inline-flex; align-items: center; min-height: 44px; }

.map-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(20px, 5vw, 50px);
  margin-bottom: clamp(30px, 6vw, 62px);
  padding: clamp(22px, 5vw, 46px);
  border-radius: 24px;
  background: var(--lavender);
  scroll-margin-top: 20px;
}
.map-download p { margin: 12px 0 17px; color: var(--muted); }
.map-download img {
  display: block;
  width: min(100%, 380px);
  height: auto;
  justify-self: center;
  border-radius: 3px;
  outline: 1px solid #0000001a;
  outline-offset: -1px;
  box-shadow: 0 10px 24px #18286626;
}
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.mode-card { min-width: 0; padding: 24px; border-radius: 20px; }
.mode-states { background: var(--yellow); }
.mode-alphabet { background: var(--mint); }
.mode-designs { background: var(--lavender); }
.mode-mark {
  display: grid;
  width: max-content;
  min-width: 58px;
  min-height: 42px;
  place-items: center;
  margin-bottom: 24px;
  padding: 3px 8px;
  border: 1px solid #203dca64;
  border-radius: 8px;
  color: var(--blue);
  font-size: 1.5rem;
  letter-spacing: -.045em;
}
.mode-card p { margin-top: 8px; font-size: .95rem; }
.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 24px 48px; }
.explainer { display: grid; gap: 18px; }
.explainer > div + div { border-top: 1px solid var(--line); padding-top: 18px; }
.explainer dt { color: var(--blue); font-size: 1.125rem; font-weight: 750; }
.explainer dd { color: var(--muted); margin-top: 4px; }
.closing-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-block: 8px clamp(42px, 6vw, 72px);
  padding: clamp(24px, 5vw, 40px);
  border-radius: 22px;
  background: var(--blue);
  color: white;
}
.closing-band h2 { color: white; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.closing-band p { margin-top: 8px; }
.closing-band p a { color: inherit; }
.closing-band a:focus-visible { outline-color: white; }
.button-light { background: var(--yellow); color: var(--ink); box-shadow: 0 3px 0 #e5cf43; }
.button-light:hover { background: #fff18a; }
.button-light:focus-visible { outline-color: white; }

.guide-intro { padding-block: clamp(44px, 7vw, 88px) clamp(34px, 5.5vw, 66px); }
.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}
.guide-intro h1 { font-size: clamp(2.75rem, 5.7vw, 4.75rem); }
.paper-preview {
  display: grid;
  place-items: center;
  padding: 26px 24px;
  border-radius: 24px;
  background:
    repeating-linear-gradient(125deg, transparent 0 19px, #ffffff65 19px 20px),
    var(--mint);
}
.paper-preview img {
  display: block;
  width: min(76%, 235px);
  height: auto;
  border-radius: 2px;
  outline: 1px solid #0000001a;
  outline-offset: -1px;
  box-shadow: 0 12px 24px #174d3d35;
  rotate: 5deg;
}
.rules-hero { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 60px); }
.rules-hero .lede { max-width: 29rem; }
.rules-road-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: var(--lavender);
  outline: 1px solid #0000001a;
  outline-offset: -1px;
  box-shadow: 0 12px 32px #1828661a;
}
.rules-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: clamp(24px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}
.rules-route::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: calc((100% - 72px) / 4 - 20px);
  border-top: 2px dashed #9ba9ed;
}
.rules-route li { position: relative; display: grid; align-content: start; gap: 14px; counter-increment: rule; }
.rules-route li::before {
  content: counter(rule) / '';
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue-dark);
  font-weight: 800;
}
.rules-route li:last-child::before { background: var(--yellow); }
.rules-route p, .rules-score p, .rules-variant p { margin-top: 6px; color: var(--muted); }
.rules-score {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(24px, 5vw, 54px);
  border-radius: 26px;
  background: #fcf0be;
}
.rules-score .text-link { margin-top: 8px; }
.rules-score-graphic { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(10px, 2vw, 24px); }
.rules-score-plates { display: grid; width: min(100%, 230px); justify-self: end; gap: 8px; padding: 7px 5px; }
.rules-score-plate { display: block; width: 100%; height: auto; border-radius: 7px; outline: 1px solid #0000001a; outline-offset: -1px; box-shadow: 0 6px 14px #18286626; }
.rules-score-plate:first-child { rotate: -4deg; }
.rules-score-plate:last-child { rotate: 3deg; }
.rules-score-arrow { color: var(--blue); font-size: clamp(1.5rem, 4vw, 2.5rem); }
.rules-score-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-width: clamp(84px, 12vw, 126px);
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 16px;
  background: var(--mint);
  box-shadow: 0 5px 15px #18286617;
  color: #17543a;
  line-height: 1.15;
}
.rules-score-tile strong { font-size: clamp(1.5rem, 4vw, 2.35rem); }
.rules-score-tile small { font-size: .725rem; font-weight: 700; }
.rules-score-check { font-size: .875rem; font-weight: 900; }
.rules-variations { border-top: 0; }
.rules-variation-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.rules-variant { min-width: 0; padding: clamp(20px, 3vw, 33px); border-radius: 22px; }
.rules-variant-short { background: var(--mint); }
.rules-variant-alphabet { background: #fcf0be; }
.rules-variant-designs {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  background: var(--lavender);
}
.rules-variant-designs .phone-frame { justify-self: center; width: min(100%, 168px); }
.rules-variant-designs .text-link { margin-top: 8px; }
.rules-checks, .rules-letters { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(5px, 1.2vw, 9px); margin-bottom: 14px; }
.rules-checks span, .rules-letters span { display: grid; place-items: center; width: 32px; aspect-ratio: 1; border-radius: 7px; font-weight: 800; line-height: 1; }
.rules-checks span { border: 1px solid #3f745f; color: #17543a; }
.rules-checks span:nth-child(-n+3) { background: #17543a; color: white; }
.rules-letters span { background: #fffbeb; color: var(--blue-dark); box-shadow: 0 2px 0 #b69e3f59; }
.rules-letters span:first-child { background: var(--blue); color: white; }
.checklist-sheet {
  padding: clamp(16px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 7px 25px #1828660a;
}
.sheet-heading { display: flex; align-items: baseline; gap: 12px 30px; justify-content: space-between; flex-wrap: wrap; }
.sheet-heading h2 { font-size: clamp(1.5rem, 3.5vw, 2.35rem); }
.sheet-heading p { font-size: .875rem; white-space: nowrap; }
.sheet-heading p span { display: inline-block; width: clamp(95px, 16vw, 200px); margin-left: 7px; border-bottom: 1px solid currentColor; }
.state-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(17, auto);
  gap: 0 24px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.state-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border-bottom: 1px solid var(--line);
}
.print-box { width: 15px; height: 15px; border: 1px solid var(--muted); border-radius: 3px; }
.state-code { color: var(--muted); font-size: .75em; font-weight: 700; }
.print-credit { display: none; }
.canada-section { margin-top: clamp(35px, 6vw, 70px); }
.canada-section > p:not(.print-credit) { margin-top: 10px; color: var(--muted); }
.canada-list { grid-template-rows: repeat(5, auto); }

.community-stats {
  width: min(100%, 930px);
  margin-inline: auto;
  padding-block: clamp(38px, 6vw, 80px) clamp(56px, 9vw, 116px);
}
.community-stats h1 { color: var(--ink); font-size: clamp(2.5rem, 6vw, 4.6rem); }
.stats-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px clamp(28px, 6vw, 76px);
  margin-top: clamp(24px, 4vw, 40px);
}
.stats-game-counts { display: grid; grid-auto-rows: 1fr; }
.stats-totals dd, .stats-mode-counts dd {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.08;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.stats-plate-counts > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 162px;
  margin-bottom: 20px;
  padding: 24px 21px;
  border: 1px solid #d7be65;
  border-radius: 18px;
  background: linear-gradient(150deg, #fff0a1, var(--yellow));
  box-shadow: inset 0 0 0 5px #fff5c777, inset 0 0 0 6px #a684392b, 0 3px 0 #d7be65, 0 10px 24px #4b380d14;
  text-align: center;
}
.stats-plate-counts > div:first-child dt { font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stats-plate-counts > div:first-child dd { color: var(--blue-dark); font-size: clamp(3.8rem, 8.5vw, 6.75rem); letter-spacing: -.075em; }
.stats-plate-counts > div:not(:first-child), .stats-game-counts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 57px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.stats-plate-counts > div:nth-child(2), .stats-game-counts > div:first-child { border-top: 1px solid var(--line); }
.stats-plate-counts > div:not(:first-child) dt, .stats-game-counts dt { font-size: clamp(.9375rem, 2vw, 1.125rem); font-weight: 700; }
.stats-plate-counts > div:not(:first-child) dd, .stats-game-counts dd { font-size: clamp(1.5rem, 3.4vw, 2.55rem); text-align: right; }
.stats-modes, .stats-heatmap { margin-top: clamp(36px, 6vw, 66px); }
.stats-modes h2, .stats-heatmap h2 { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.stats-heatmap-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.stats-map-switch { display: inline-flex; gap: 3px; padding: 3px; border-radius: 12px; background: #ebeef8; }
.stats-map-switch button {
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: .875rem;
  font-weight: 750;
  cursor: pointer;
}
.stats-map-switch button[aria-pressed="true"] { color: var(--blue-dark); background: var(--white); box-shadow: 0 1px 3px #18286620; }
.stats-map-switch button:focus-visible, .stats-map-ranking button:focus-visible { outline-offset: 1px; }
.stats-heatmap-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(185px, .38fr); gap: 16px; margin-top: 18px; }
.stats-map-panel, .stats-map-sidebar { min-width: 0; padding: clamp(12px, 2vw, 20px); border: 1px solid var(--line); border-radius: 16px; }
.stats-map-panel { background: #f4f6fd; }
.stats-map-sidebar { background: var(--white); }
.stats-map-sidebar h3 { color: var(--ink); }
#stats-map-graphic { display: grid; aspect-ratio: 1.6; align-items: center; }
#stats-map-graphic svg { display: block; width: 100%; max-height: 100%; }
.stats-heatmap [data-heat="0"] { --heat: #dce3f0; }
.stats-heatmap [data-heat="1"] { --heat: #aec0fa; }
.stats-heatmap [data-heat="2"] { --heat: #7996f3; }
.stats-heatmap [data-heat="3"] { --heat: #4868df; }
.stats-heatmap [data-heat="4"] { --heat: #203dca; }
#stats-map-graphic [data-area] { fill: var(--heat); stroke: #f9fbff; stroke-width: .9px; stroke-linejoin: round; vector-effect: non-scaling-stroke; cursor: pointer; }
#stats-map-graphic [data-area]:hover, #stats-map-graphic [data-selected] { stroke: var(--ink); stroke-width: 1.7px; }
.stats-map-legend { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 12px; color: var(--muted); font-size: .8125rem; font-weight: 650; }
.stats-map-scale { display: grid; grid-template-columns: repeat(5, 1fr); width: min(30%, 128px); height: 9px; overflow: hidden; border-radius: 5px; }
.stats-map-scale i, .stats-map-ranking i { background: var(--heat); }
.stats-map-ranking { margin: 9px 0 0; padding: 0; list-style: none; }
.stats-map-ranking button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: .875rem;
  text-align: start;
  cursor: pointer;
}
.stats-map-ranking button:hover span { text-decoration: underline; }
.stats-map-ranking i { width: 9px; height: 9px; border-radius: 50%; }
.stats-map-ranking strong { font-variant-numeric: tabular-nums; }
.stats-map-empty, .stats-map-count { color: var(--muted); font-size: .875rem; }
.stats-map-empty { margin-top: 8px; }
.stats-map-picker { display: block; margin: 17px 0 5px; font-size: .8125rem; font-weight: 750; }
.stats-map-select { width: 100%; min-height: 40px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: .875rem; }
.stats-map-count { display: block; margin-top: 7px; font-weight: 650; }
.stats-map-count:empty { display: none; }
.stats-mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 16px; margin-top: 18px; }
.stats-mode { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.stats-mode-counts { display: grid; gap: 10px; margin-top: 15px; }
.stats-mode-counts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.stats-mode-counts dt { color: var(--muted); font-size: .875rem; }
.stats-mode-counts dd { text-align: right; }
.stats-status { margin-top: 20px; color: var(--muted); }
#stats-status:empty { display: none; }

.site-footer {
  min-height: 94px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.site-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.site-footer-links p { white-space: nowrap; }

@media screen and (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; }
  .site-brand img { width: var(--brand-logo-compact); }
  .hero, .guide-hero, .rules-score, .rules-variation-grid { grid-template-columns: 1fr; }
  .guide-intro h1 { max-width: 13ch; }
  .hero-copy .lede { max-width: 34rem; }
  .paper-preview { width: min(100%, 510px); margin-inline: auto; }
  .paper-preview img { width: min(70%, 205px); }
  .preview-grid { gap: 22px 14px; }
  .card-grid, .split-section, .plate-guide-grid, .map-download { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rules-route { grid-template-columns: 1fr; gap: 20px; }
  .rules-route::before { inset: 20px auto 20px 20px; border-top: 0; border-left: 2px dashed #9ba9ed; }
  .rules-route li { grid-template-columns: 42px minmax(0, 1fr); padding-bottom: 8px; background: linear-gradient(var(--paper), var(--paper)) 0 0 / 42px 42px no-repeat; }
  .rules-route li:last-child { padding-bottom: 0; background: var(--paper); }
  .rules-score-graphic { justify-self: start; }
  .rules-variant-designs { grid-area: auto; }
  .mode-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; padding: 17px; }
  .mode-mark { grid-row: span 2; margin-bottom: 0; align-self: start; }
  .state-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(26, auto); column-gap: 12px; }
  .canada-list { grid-template-rows: repeat(7, auto); }
  .site-footer { flex-wrap: wrap; justify-content: start; gap: 6px 18px; padding-block: 12px; }
}

@media screen and (max-width: 620px) {
  .app-comparison-cards { grid-template-columns: 1fr; }
  .stats-totals, .stats-heatmap-layout { grid-template-columns: minmax(0, 1fr); }
  .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-index ul { columns: 2; }
  .mexico-print-list { columns: 2; }
}

@media screen and (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { flex-wrap: wrap; gap: 0 8px; }
  .site-header nav a { font-size: .8125rem; }
  .preview-grid { grid-template-columns: 1fr; }
  .state-list li { min-height: 43px; font-size: .875rem; gap: 5px; }
  .print-box { width: 12px; height: 12px; }
}

@media screen and (max-width: 360px) {
  .rules-variant-designs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active { transform: none; }
}

@page { margin: 0.55in; }
@media print {
  :root { font-family: var(--font-sans); color: #000; background: #fff; }
  .site-header, .site-footer, .skip-link, .checklist-intro, .map-download, .canada-section > p:not(.print-credit), .closing-band { display: none; }
  .wrap { width: auto; }
  .checklist-sheet { padding: 0; border: 0; box-shadow: none; }
  .sheet-heading h2 { font: bold 22pt var(--font-sans); letter-spacing: 0; color: #000; }
  .sheet-heading { row-gap: 10pt; }
  .sheet-heading p { font-size: 11pt; }
  .sheet-heading p span { width: 1.4in; }
  .state-list { margin-top: 15pt; column-gap: 12pt; }
  .state-list li { min-height: 23pt; border-color: #ccc; font-size: 10pt; break-inside: avoid; }
  .print-box { width: 10pt; height: 10pt; border-color: #000; }
  .state-code { color: #333; }
  .canada-section { margin-top: 17pt; padding: 12pt 0 0; border-color: #ccc; }
  .canada-section h2 { font: bold 14pt var(--font-sans); letter-spacing: 0; color: #000; }
  .canada-list { margin-top: 4pt; }
  .canada-list li { min-height: 20pt; }
  .print-credit { display: block; margin-top: 14pt; font-size: 9pt; }
}

/* Field guide: a roadside atlas, with a text equivalent for every map mark. */
.front-guide { margin-block: clamp(34px, 5vw, 72px); }
.fp-hero, .fp-inset, .fp-reading { display: grid; align-items: center; gap: clamp(26px, 4vw, 64px); }
.fp-hero { grid-template-columns: minmax(0, .91fr) minmax(0, 1.15fr); }
.fp-byline { margin-bottom: 17px; color: var(--muted); font-size: .82rem; font-weight: 680; }
.fp-byline span { margin-inline: .5em; color: var(--blue); }
.fp-hero h1 { font-size: clamp(2.7rem, 5.25vw, 4.8rem); }
.fp-hero .lede { font-size: clamp(1rem, 1.65vw, 1.18rem); margin-block: 16px 6px; }
.front-guide img { display: block; width: 100%; height: auto; border-radius: 15px; outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }
.front-guide figure > a { display: block; border-radius: 15px; cursor: zoom-in; }
.fp-atlas figcaption { text-align: right; }
.fp-atlas figcaption a { display: inline-flex; align-items: center; min-height: 42px; font-size: .84rem; font-weight: 650; }
.fp-reading, .fp-directory, .fp-inset { border-top: 1px solid var(--line); margin-top: clamp(32px, 5vw, 64px); padding-top: clamp(28px, 4vw, 52px); }
.fp-reading { grid-template-columns: minmax(0, .72fr) minmax(0, 1.35fr); align-items: baseline; }
.front-guide section h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); }
.front-guide section p { margin-top: 12px; line-height: 1.65; max-width: 68ch; }
.fp-reading p:first-child { margin-top: 0; }
.fp-inset { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); }
.fp-directory { scroll-margin-top: 24px; }
.fp-directory dl { margin: 23px 0 0; column-count: 3; column-gap: clamp(24px, 3vw, 48px); column-rule: 1px solid var(--line); }
.fp-entry { padding: 9px 8px 13px; break-inside: avoid; scroll-margin: 22vh; border-bottom: 1px solid var(--line); }
.fp-entry:target, .fp-entry:focus-visible { background: #fff4b0; outline: 2px solid var(--blue); border-radius: 8px; }
.fp-entry dt { font-size: 1.06rem; font-weight: 750; }
.fp-key { display: inline-flex; align-items: baseline; gap: 7px; color: var(--muted); font-size: .9rem; }
.fp-key::before { content: ''; display: inline-block; width: .7em; height: .7em; border-radius: 2px; box-shadow: inset 0 0 0 1px #18286646; }
.fp-both::before { background: var(--blue); }
.fp-rear::before { background: #a9d6c0; }
.fp-mount::before { background: #ffe46b; }
.fp-entry small { display: block; margin-top: 3px; font-size: .87rem; line-height: 1.45; }
.fp-entry dt a { display: inline-flex; align-items: center; min-height: 40px; }
.fp-sources .text-link { margin-top: 12px; }
@media screen and (max-width: 800px) {
  .fp-hero, .fp-reading { grid-template-columns: 1fr; }
  .fp-hero, .fp-reading { gap: 16px; }
  .fp-hero h1 { max-width: 19ch; }
  .fp-directory dl { column-count: 2; }
}
@media screen and (max-width: 620px) {
  .fp-inset { grid-template-columns: 1fr; gap: 20px; }
  .fp-inset figure { order: 2; }
  .fp-directory dl { column-count: 1; }
  .fp-entry { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: baseline; gap: 10px; }
}
