@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibmplexmono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibmplexmono-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f5f6ef;
  --paper-bright: #fffefa;
  --paper-deep: #e8e8df;
  --plum: #33203b;
  --plum-dark: #24142b;
  --plum-soft: #5b4962;
  --amber: #f0bd45;
  --amber-light: #f9dda0;
  --lavender: #a7a9d8;
  --lavender-light: #e0e0f0;
  --lavender-dark: #6f70a4;
  --ink: #202126;
  --muted: #655d69;
  --line: #b9b5b5;
  --positive: #29684f;
  --negative: #814646;
  --content: 1460px;
  --reading: 760px;
  --shadow-sheet: 0 24px 60px rgba(45, 31, 51, 0.15), 0 3px 0 rgba(51, 32, 59, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--plum);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.17em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--plum-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--amber);
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--plum);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(245, 246, 239, 0.97);
  border-bottom: 1px solid rgba(51, 32, 59, 0.18);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--plum);
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 850;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--plum);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 42px);
}

.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--plum);
  border-bottom-color: var(--amber);
}

.menu-button {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  background: transparent;
  border: 1px solid var(--plum);
  border-radius: 4px;
  cursor: pointer;
}

.menu-button svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 78px 0 0;
  z-index: 45;
  padding: 28px 24px 48px;
  background: var(--paper);
  border-top: 1px solid rgba(51, 32, 59, 0.18);
}

.mobile-nav[data-open="true"] {
  display: grid;
  align-content: start;
  gap: 0;
}

.mobile-nav a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--plum);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-nav svg {
  width: 21px;
  height: 21px;
}

.shell {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(350px, 0.76fr) minmax(620px, 1.45fr);
  align-items: center;
  gap: clamp(50px, 5vw, 92px);
  padding-block: clamp(62px, 6vw, 96px) 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 510px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--plum-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.kicker::before {
  content: "";
  width: 40px;
  height: 4px;
  background: var(--amber);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--plum);
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 860;
  line-height: 0.97;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(58px, 5.7vw, 96px);
}

.hero h1 span {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.06em;
  bottom: 0.02em;
  height: 0.28em;
  background: var(--amber);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(40px, 5vw, 72px);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero-dek {
  max-width: 500px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
}

.search-form {
  position: relative;
  margin: 0;
}

.search-label {
  display: block;
  margin-bottom: 9px;
  color: var(--plum);
  font-size: 16px;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.input-wrap {
  position: relative;
}

.input-wrap svg {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: var(--plum);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 64px;
  padding: 12px 16px 12px 52px;
  color: var(--ink);
  background: var(--paper-bright);
  border: 2px solid var(--plum);
  border-right: 0;
  border-radius: 5px 0 0 5px;
}

.search-input::placeholder {
  color: #746c77;
  opacity: 1;
}

.primary-button,
.secondary-button,
.text-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  color: white;
  background: var(--plum);
  border: 2px solid var(--plum);
  border-radius: 0 5px 5px 0;
}

.primary-button:hover {
  color: var(--plum-dark);
  background: var(--amber);
  text-decoration: none;
}

.primary-button svg,
.secondary-button svg,
.text-button svg {
  width: 20px;
  height: 20px;
}

.secondary-button {
  color: var(--plum-dark);
  background: var(--amber);
  border: 2px solid var(--amber);
  border-radius: 4px;
}

.secondary-button:hover {
  background: var(--amber-light);
  text-decoration: none;
}

.text-button {
  justify-content: flex-start;
  padding-inline: 0;
  color: var(--plum);
  background: transparent;
  border: 0;
}

.location-button {
  min-height: 48px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  color: var(--plum);
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.location-button svg {
  width: 20px;
  height: 20px;
}

.search-feedback {
  min-height: 26px;
  margin: 8px 0 0;
  color: var(--plum-soft);
  font-size: 15px;
}

.search-feedback.is-error {
  color: var(--negative);
  font-weight: 700;
}

.search-feedback a {
  font-weight: 700;
}

.suggestions {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper-bright);
  border: 2px solid var(--plum);
  box-shadow: 7px 7px 0 var(--lavender);
}

.suggestions[hidden] {
  display: none;
}

.suggestions li {
  margin: 0;
}

.suggestion-button {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.suggestion-button:hover,
.suggestion-button[aria-selected="true"] {
  color: var(--plum-dark);
  background: var(--amber-light);
}

.suggestion-button small {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.trust-line {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-line span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lavender-dark);
}

.evidence-file {
  position: relative;
  padding: clamp(26px, 3vw, 42px);
  background: var(--lavender);
  border: 2px solid var(--lavender-dark);
  border-radius: 24px 24px 7px 7px;
  box-shadow: 16px 18px 0 rgba(112, 113, 165, 0.18);
  transform: rotate(0.65deg);
}

.evidence-file::before {
  content: "SOURCE FILE  /  OFFICIAL RECORD";
  position: absolute;
  left: 34px;
  bottom: -30px;
  width: min(76%, 620px);
  height: 56px;
  padding: 18px 24px;
  color: var(--plum);
  background: var(--lavender-light);
  border: 2px solid var(--lavender-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.verified-sheet {
  position: relative;
  min-height: 525px;
  padding: clamp(28px, 3.4vw, 54px) clamp(26px, 3.5vw, 58px) 34px clamp(48px, 4.5vw, 78px);
  background: var(--paper-bright);
  border: 2px solid rgba(51, 32, 59, 0.32);
  border-radius: 6px;
  box-shadow: var(--shadow-sheet);
  transform: rotate(-0.5deg);
}

.verified-sheet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 19px;
  height: 1px;
  background: rgba(51, 32, 59, 0.25);
}

.punches {
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 30px;
  width: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid rgba(51, 32, 59, 0.22);
}

.punches span {
  width: 11px;
  height: 11px;
  display: block;
  background: var(--lavender);
  border: 1px solid var(--lavender-dark);
  border-radius: 50%;
}

.sheet-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--plum);
}

.sheet-topline p {
  margin: 0;
  color: var(--plum);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.sheet-topline .review-flag {
  padding: 7px 10px;
  color: var(--plum-dark);
  background: var(--amber-light);
  border: 1px solid var(--plum);
  text-align: right;
}

.sheet-identity {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 26px;
}

.sheet-name {
  margin: 0 0 8px;
  color: var(--plum-dark);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 880;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.sheet-place {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(16px, 1.8vw, 23px);
}

.status-stack {
  padding-left: 26px;
  border-left: 2px solid var(--plum);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  padding: 8px 12px;
  color: var(--plum-dark);
  background: var(--amber);
  font-weight: 700;
  line-height: 1.2;
}

.status-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--positive);
  border: 2px solid var(--paper-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--positive);
}

.distance-state {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.sheet-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sheet-field {
  min-width: 0;
  padding: 21px 24px 21px 0;
}

.sheet-field + .sheet-field {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.data-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.data-value {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 1.5;
}

.data-value strong {
  color: var(--plum-dark);
  font-size: 16px;
}

.source-box {
  margin-top: 14px;
  padding: 11px 12px;
  background: var(--lavender-light);
  border-left: 4px solid var(--lavender-dark);
}

.sheet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 23px;
  padding-bottom: 12px;
}

.sheet-note {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.issue-once {
  animation: issue-sheet 520ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes issue-sheet {
  0% { transform: translateX(28px) rotate(-0.5deg); opacity: 0.75; }
  100% { transform: translateX(0) rotate(-0.5deg); opacity: 1; }
}

.ad-section {
  padding: 50px 0 72px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ad-label {
  width: min(100%, 980px);
  margin: 0 auto 9px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.banner-ad .hu-box {
  width: min(100%, 980px);
  max-width: 980px;
  height: 200px;
}

.rail-ad {
  width: 300px;
  max-width: 100%;
  margin-inline: auto;
}

.rail-ad .ad-label {
  width: 300px;
  max-width: 100%;
}

.rail-ad .hu-box {
  width: 300px;
  max-width: 100%;
  height: 250px;
}

.section {
  padding-block: clamp(82px, 9vw, 138px);
}

.section-rule {
  border-top: 2px solid var(--plum);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
  margin-bottom: 58px;
}

.section-heading p {
  max-width: 640px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--plum);
  border: 2px solid var(--plum);
}

.proof-item {
  min-height: 230px;
  padding: 34px;
  background: var(--paper-bright);
}

.proof-number {
  display: block;
  margin-bottom: 30px;
  color: var(--lavender-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
}

.proof-item h3 {
  font-size: 27px;
}

.proof-item p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.result-ledger {
  border-top: 3px solid var(--plum);
}

.result-row {
  display: grid;
  grid-template-columns: 76px minmax(220px, 0.9fr) minmax(260px, 1.1fr) 220px 52px;
  gap: 24px;
  align-items: center;
  min-height: 148px;
  padding: 22px 18px;
  color: var(--ink);
  background: var(--paper-bright);
  border-bottom: 1px solid var(--plum);
  text-decoration: none;
}

.result-row:hover {
  background: #f2efda;
  text-decoration: none;
}

.result-index {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  color: var(--plum);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid var(--line);
}

.result-name {
  display: block;
  margin-bottom: 7px;
  color: var(--plum-dark);
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 840;
  line-height: 1;
  letter-spacing: -0.045em;
}

.result-place,
.result-source {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.result-data {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.result-data strong {
  color: var(--plum);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.4;
}

.result-status {
  justify-self: start;
  padding: 7px 9px;
  color: var(--plum);
  background: var(--lavender-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.result-status.verified {
  background: var(--amber-light);
}

.result-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--plum);
}

.result-arrow svg {
  width: 20px;
  height: 20px;
}

.browse-band {
  color: var(--paper-bright);
  background: var(--plum-dark);
}

.browse-band h2,
.browse-band h3,
.browse-band a {
  color: var(--paper-bright);
}

.browse-band .section-heading p {
  color: #d7ccda;
}

.state-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--lavender-dark);
  border: 1px solid var(--lavender-dark);
}

.state-links a {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--plum-dark);
  font-weight: 700;
  text-decoration: none;
}

.state-links a:hover {
  color: var(--plum-dark);
  background: var(--amber);
}

.state-links span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 400;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(50px, 8vw, 130px);
}

.reading-copy {
  max-width: var(--reading);
}

.reading-copy p {
  margin: 0 0 22px;
  font-size: 20px;
}

.plain-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--plum);
}

.plain-list li {
  position: relative;
  padding: 18px 14px 18px 44px;
  border-bottom: 1px solid var(--line);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 25px;
  width: 10px;
  height: 10px;
  background: var(--amber);
  border: 1px solid var(--plum);
}

.source-panel {
  align-self: start;
  padding: 34px;
  background: var(--lavender-light);
  border: 2px solid var(--lavender-dark);
  box-shadow: 12px 12px 0 var(--lavender);
}

.source-panel h3 {
  font-size: 30px;
}

.source-panel p {
  margin: 0 0 20px;
}

.source-panel a {
  font-weight: 700;
}

.page-intro {
  padding: clamp(66px, 7vw, 108px) 0 68px;
  border-bottom: 2px solid var(--plum);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--lavender-dark);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}

.page-intro h1 {
  max-width: 900px;
  font-size: clamp(58px, 7vw, 106px);
}

.page-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 22px;
}

.inventory-stamp {
  padding: 24px;
  background: var(--amber-light);
  border: 2px solid var(--plum);
  transform: rotate(-1deg);
}

.inventory-stamp strong {
  display: block;
  margin-bottom: 5px;
  color: var(--plum-dark);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.inventory-stamp span {
  display: block;
  color: var(--plum);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
}

.state-results-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.state-results-head h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
}

.state-results-head p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

.list-ad {
  padding: 60px 0;
}

.center-mast {
  padding: 56px 0 0;
}

.center-label {
  position: relative;
  padding: clamp(30px, 4.5vw, 70px);
  background: var(--paper-bright);
  border: 2px solid var(--plum);
  box-shadow: 18px 18px 0 var(--lavender);
}

.center-label-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--plum);
}

.center-label h1 {
  margin: 10px 0 10px;
  font-size: clamp(55px, 7vw, 108px);
}

.center-address {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(15px, 2vw, 20px);
}

.record-id {
  min-width: 210px;
  padding: 14px;
  color: var(--plum);
  background: var(--lavender-light);
  border: 1px solid var(--lavender-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.55;
}

.center-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.summary-item {
  min-height: 125px;
  padding: 28px 30px 24px 0;
}

.summary-item + .summary-item {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.summary-item strong {
  display: block;
  color: var(--plum-dark);
  font-size: 22px;
}

.summary-item p,
.summary-item a {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
}

.center-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas:
    "facts rail"
    "lower rail";
  gap: 0 clamp(60px, 8vw, 130px);
  align-items: start;
}

.center-facts {
  grid-area: facts;
}

.center-lower {
  grid-area: lower;
}

.center-rail {
  grid-area: rail;
  align-self: stretch;
  padding-left: 39px;
  border-left: 1px solid var(--line);
}

.official-panel {
  width: 300px;
  max-width: 100%;
  margin: 0 auto 44px;
  padding: 25px;
  color: var(--paper-bright);
  background: var(--plum);
}

.official-panel .data-label {
  color: #d8cfdc;
}

.official-panel p {
  margin: 0 0 22px;
  font-size: 16px;
}

.official-panel .secondary-button {
  width: 100%;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 3px solid var(--plum);
}

.hours-table th,
.hours-table td {
  padding: 15px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hours-table th {
  width: 36%;
  color: var(--plum);
  font-weight: 700;
}

.hours-table td {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}

.hours-table tr.today {
  background: var(--amber-light);
}

.hours-table tr.today th::after {
  content: "Today";
  margin-left: 9px;
  padding: 3px 6px;
  color: var(--paper-bright);
  background: var(--plum);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.notice {
  margin: 30px 0 0;
  padding: 20px 22px;
  color: var(--plum-dark);
  background: var(--lavender-light);
  border-left: 5px solid var(--lavender-dark);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

.detail-section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.detail-section:first-child {
  border-top: 0;
}

.detail-section p {
  max-width: 780px;
}

.source-history {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--plum);
}

.source-history li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.source-history time {
  color: var(--plum);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
}

.source-history p {
  margin: 0;
}

.site-footer {
  padding: 70px 0 28px;
  color: var(--paper-bright);
  background: var(--plum-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) repeat(2, minmax(180px, 0.55fr));
  gap: clamp(42px, 8vw, 120px);
  padding-bottom: 52px;
}

.footer-brand .wordmark {
  color: var(--paper-bright);
  white-space: normal;
}

.footer-brand .wordmark-mark {
  color: var(--amber);
}

.footer-brand p {
  max-width: 440px;
  margin: 22px 0 0;
  color: #d8cfdc;
}

.footer-heading {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--paper-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  color: #c8becb;
  border-top: 1px solid #6d5e71;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.mockup-ribbon {
  position: fixed;
  z-index: 70;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  color: var(--plum-dark);
  background: var(--amber);
  border: 1px solid var(--plum);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 4px 4px 0 var(--plum);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(310px, 0.76fr) minmax(530px, 1.24fr);
    gap: 40px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .sheet-identity {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .status-stack {
    padding: 0;
    border: 0;
  }

  .result-row {
    grid-template-columns: 54px minmax(220px, 1fr) minmax(250px, 1fr) 170px 46px;
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 64px;
    padding-bottom: 98px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 {
    max-width: 760px;
  }

  .evidence-file {
    width: min(100%, 820px);
    margin-inline: auto;
  }

  .section-heading,
  .page-intro-grid,
  .content-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 0;
  }

  .state-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .result-row {
    grid-template-columns: 50px minmax(220px, 1fr) minmax(220px, 1fr) 50px;
  }

  .result-status {
    grid-column: 2 / 4;
    justify-self: start;
  }

  .center-summary {
    grid-template-columns: 1fr;
  }

  .summary-item {
    min-height: 0;
    padding: 20px 0;
  }

  .summary-item + .summary-item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .center-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "facts"
      "rail"
      "lower";
  }

  .center-rail {
    padding: 48px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .official-panel {
    margin-bottom: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 70px;
  }

  body {
    font-size: 17px;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--content));
    min-height: 68px;
  }

  .wordmark {
    max-width: 238px;
    font-size: 18px;
    white-space: normal;
  }

  .wordmark-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .mobile-nav {
    inset: 68px 0 0;
  }

  .shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero {
    gap: 42px;
    padding-top: 46px;
    padding-bottom: 76px;
  }

  .kicker {
    margin-bottom: 16px;
    font-size: 11px;
  }

  h1 {
    font-size: clamp(50px, 15.7vw, 72px);
  }

  h2 {
    font-size: clamp(38px, 12.5vw, 56px);
  }

  .hero-dek,
  .section-heading p,
  .page-intro p {
    font-size: 19px;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .search-input {
    min-height: 58px;
    border-right: 2px solid var(--plum);
    border-radius: 4px;
  }

  .primary-button {
    width: 100%;
    min-height: 56px;
    border-radius: 4px;
  }

  .trust-line {
    display: grid;
    gap: 8px;
  }

  .evidence-file {
    padding: 13px;
    border-radius: 16px 16px 4px 4px;
    transform: none;
    box-shadow: 8px 10px 0 rgba(112, 113, 165, 0.18);
  }

  .evidence-file::before {
    left: 14px;
    bottom: -28px;
    width: calc(100% - 28px);
    height: 50px;
    padding: 15px 13px;
    font-size: 9px;
  }

  .verified-sheet {
    min-height: 0;
    padding: 23px 18px 30px 42px;
    transform: none;
  }

  .punches {
    left: 10px;
    top: 22px;
    bottom: 26px;
  }

  .punches span {
    width: 8px;
    height: 8px;
  }

  .sheet-topline {
    display: grid;
    gap: 11px;
    margin-bottom: 22px;
  }

  .sheet-topline .review-flag {
    justify-self: start;
    text-align: left;
  }

  .sheet-name {
    font-size: clamp(37px, 12vw, 54px);
  }

  .sheet-grid {
    grid-template-columns: 1fr;
  }

  .sheet-field {
    padding: 18px 0;
  }

  .sheet-field + .sheet-field {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .sheet-actions {
    display: grid;
  }

  .sheet-actions .secondary-button {
    width: 100%;
    grid-row: 1;
  }

  .issue-once {
    animation-name: issue-sheet-mobile;
  }

  @keyframes issue-sheet-mobile {
    0% { transform: translateY(18px); opacity: 0.75; }
    100% { transform: translateY(0); opacity: 1; }
  }

  .ad-section {
    padding: 34px 0 46px;
  }

  .banner-ad .hu-box {
    width: 100%;
    height: 100px;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .proof-item {
    padding: 28px 23px;
  }

  .result-row {
    position: relative;
    grid-template-columns: 38px minmax(0, 1fr) 42px;
    gap: 15px;
    min-height: 0;
    padding: 21px 9px;
  }

  .result-data,
  .result-status {
    grid-column: 2 / 4;
  }

  .result-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .result-index {
    grid-row: 1 / span 3;
    justify-content: flex-start;
  }

  .result-name {
    font-size: 27px;
  }

  .state-links {
    grid-template-columns: 1fr 1fr;
  }

  .page-intro {
    padding-top: 46px;
  }

  .page-intro h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .state-results-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .center-mast {
    padding-top: 34px;
  }

  .center-label {
    padding: 24px 20px;
    box-shadow: 8px 8px 0 var(--lavender);
  }

  .center-label-top {
    display: grid;
  }

  .center-label h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .record-id {
    min-width: 0;
  }

  .hours-table,
  .hours-table tbody,
  .hours-table tr,
  .hours-table th,
  .hours-table td {
    display: block;
    width: 100%;
  }

  .hours-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
  }

  .hours-table th,
  .hours-table td {
    border-bottom: 0;
  }

  .hours-table td {
    text-align: right;
  }

  .hours-table tr.today th::after {
    display: block;
    width: max-content;
    margin: 5px 0 0;
  }

  .source-history li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }

  .mockup-ribbon {
    position: static;
    width: 100%;
    text-align: center;
    box-shadow: none;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(calc(100% - 20px), var(--content));
  }

  .center-rail {
    width: 300px;
    max-width: calc(100vw - 20px);
    justify-self: center;
  }

  .center-layout {
    width: 300px;
    max-width: calc(100vw - 20px);
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .wordmark {
    max-width: 205px;
    font-size: 16px;
  }

  .verified-sheet {
    padding-left: 37px;
  }

  .state-links {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}

@media print {
  .site-header,
  .ad-section,
  .list-ad,
  .rail-ad,
  .mockup-ribbon,
  .site-footer,
  .menu-button {
    display: none !important;
  }

  body {
    background: white;
  }

  .shell {
    width: 100%;
  }
}


/* ---------------------------------------------------------------
   Production additions (build.py). Same tokens as the mockup.
   --------------------------------------------------------------- */

.status-chip.is-closed,
.status-chip.is-unknown {
  color: var(--plum-dark);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--plum);
}

.status-chip.is-closed::before {
  background: var(--paper-bright);
  border-color: var(--plum);
  box-shadow: 0 0 0 1px var(--plum);
}

.status-chip.is-unknown::before {
  display: none;
}

.inline-button {
  display: inline;
  min-height: 0;
  padding: 0;
  color: var(--plum);
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.17em;
  cursor: pointer;
}

.inline-button:hover {
  text-decoration-thickness: 0.14em;
}

.offer-quote {
  margin: 18px 0;
  padding: 16px 18px;
  background: var(--lavender-light);
  border-left: 4px solid var(--lavender-dark);
}

.offer-quote p {
  margin: 0 0 10px;
  color: var(--plum-dark);
  font-weight: 700;
}

.offer-quote footer {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.5;
}

.more-link-line {
  margin: 22px 0 0;
}

.section-tight {
  padding-block: clamp(56px, 6vw, 88px);
}

.section.section-continue {
  padding-top: 0;
}

.section-continue .result-ledger {
  margin-top: clamp(40px, 5vw, 64px);
}

li.suggestion-button {
  list-style: none;
}

.suggestion-button span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.result-row .result-place,
.result-row .result-source,
.result-name {
  overflow-wrap: anywhere;
}


.reading-copy a,
.source-panel a,
.state-links a {
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .section-heading,
  .page-intro-grid,
  .content-band {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .state-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-links a {
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .state-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

.verified-sheet,
.sheet-identity > *,
.sheet-field {
  min-width: 0;
}

.sheet-topline p,
.sheet-name,
.sheet-place,
.data-value,
.distance-state {
  overflow-wrap: anywhere;
}

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

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

.page-intro h1,
.state-results-head h2,
.center-label h1 {
  overflow-wrap: anywhere;
}
