/* ============================================================
   THE GAP — design tokens
   ============================================================ */
:root {
  --paper: #ECE8DB;
  --paper-raised: #F6F3E8;
  --ink: #1B241E;
  --ink-soft: #52604F;
  --ink-faint: #8A8A72;
  --green: #163C2C;
  --green-deep: #0E2A1F;
  --red: #A73427;
  --red-deep: #7E251C;
  --amber: #B9862E;
  --line: #C9C2AC;
  --line-soft: #DAD4C0;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1120px;

  /* spacing scale */
  --s1: 6px;
  --s2: 10px;
  --s3: 16px;
  --s4: 24px;
  --s5: 36px;
  --s6: 56px;
  --s7: 80px;

  --shadow-card: 0 1px 2px rgba(27,36,30,0.05), 0 8px 20px -14px rgba(27,36,30,0.35);
  --shadow-lift: 0 4px 8px rgba(27,36,30,0.06), 0 18px 34px -18px rgba(27,36,30,0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 900px 500px at 8% -6%, rgba(22,60,44,0.055), transparent 60%),
    radial-gradient(ellipse 900px 500px at 96% 8%, rgba(167,52,39,0.045), transparent 55%);
  background-repeat: no-repeat;
}

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- top bar / folder tabs ---------- */
.topbar {
  padding-top: 26px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(236,232,219,1), rgba(236,232,219,0));
  pointer-events: none;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--s4);
}

.brand {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { color: var(--red); }
.brand .mark {
  width: 9px; height: 9px;
  background: var(--red);
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 3px rgba(167,52,39,0.14);
}

.case-no {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

nav.tabs {
  display: flex;
  gap: 3px;
  border-bottom: 2px solid var(--ink);
  overflow-x: auto;
  scrollbar-width: none;
}
nav.tabs::-webkit-scrollbar { display: none; }

nav.tabs a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--line-soft);
  padding: 11px 20px 10px;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  position: relative;
  top: 2px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.tabs a:hover {
  background: var(--paper-raised);
  color: var(--ink);
}

nav.tabs a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  border-bottom: 2px solid var(--paper);
  font-weight: 600;
}

/* ---------- hero ---------- */
.hero {
  padding: var(--s7) 0 var(--s5);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin: 0 0 var(--s4);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--red-deep);
}

h1.thesis {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s4);
  max-width: 16ch;
}
h1.thesis em {
  font-style: italic;
  font-weight: 500;
  color: var(--red-deep);
}

.dek {
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}
.hero-meta > div {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.hero-meta strong {
  display: block;
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 600;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); row-gap: var(--s4); }
}

/* ---------- the gap: signature element ---------- */
.gap-exhibit {
  margin: var(--s6) 0 var(--s3);
}

.gap-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  position: relative;
  align-items: stretch;
}

.gap-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: var(--s5) var(--s5) var(--s4);
  position: relative;
  box-shadow: var(--shadow-card);
}
.gap-card:first-child { transform: rotate(-0.5deg); }
.gap-card:last-child { transform: rotate(0.4deg); }

.gap-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 var(--s3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gap-label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: none;
}
.gap-label.allow { color: var(--green); }
.gap-label.allow::before { background: var(--green); }
.gap-label.forbid { color: var(--red-deep); }
.gap-label.forbid::before { background: var(--red-deep); }

.gap-title {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.28;
  margin: 0 0 var(--s3);
}

.gap-card p.gap-body {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.99rem;
}

.gap-cite {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px dashed var(--line);
}

.gap-seam-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  margin: var(--s4) 0;
}
.gap-seam-row::before, .gap-seam-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--red-deep) 0 6px, transparent 6px 11px);
  opacity: 0.55;
}
.gap-seam-row span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-deep);
  white-space: nowrap;
}

.gap-note {
  font-size: 0.99rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 66ch;
  margin: var(--s4) 0 0;
}

@media (max-width: 720px) {
  .gap-cards { grid-template-columns: 1fr; gap: var(--s4); }
  .gap-card:first-child, .gap-card:last-child { transform: none; }
}

/* ---------- stamp ---------- */
.stamp-col {
  display: flex;
  justify-content: center;
  padding-top: var(--s2);
}
.stamp {
  border: 3px solid var(--red);
  color: var(--red-deep);
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 50%;
  transform: rotate(-8deg);
  font-size: 11.5px;
  text-align: center;
  line-height: 1.35;
  mix-blend-mode: multiply;
  opacity: 0.92;
  width: 138px;
  height: 138px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--red);
  border-radius: 50%;
}

.case-layout {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: var(--s6);
  align-items: start;
}
.case-layout .case-text { max-width: 64ch; }
.case-text p { margin: 0 0 var(--s4); }
.case-text p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .case-layout { grid-template-columns: 1fr; }
  .stamp-col { justify-content: flex-start; padding-top: 0; margin-bottom: var(--s4); }
}

/* ---------- sections ---------- */
section { padding: var(--s7) 0; }
section.tight { padding: var(--s5) 0; }
.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}

h2.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  margin: 0;
}

.section-index {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---------- exhibit timeline ---------- */
.exhibits {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 28px;
}
.exhibits::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.exhibit {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: var(--s5);
  padding: var(--s4) 0 var(--s5);
  position: relative;
}
.exhibit::before {
  content: "";
  position: absolute;
  left: -28px;
  top: var(--s4);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--red-deep);
}
.exhibit:not(:last-child) { border-bottom: 1px solid var(--line); }

.exhibit-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--red-deep);
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.exhibit-tag .date {
  display: block;
  color: var(--ink-faint);
  margin-top: var(--s1);
  font-size: 11px;
  font-weight: 400;
}

.exhibit-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.3;
  margin: 0 0 var(--s2);
}

.exhibit-body { color: var(--ink-soft); margin: 0; }
.exhibit-body p { margin: 0 0 var(--s2); }
.exhibit-body p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .exhibits { padding-left: 20px; }
  .exhibit { grid-template-columns: 1fr; gap: var(--s2); }
  .exhibit::before { left: -20px; }
}

/* ---------- statute cards grid ---------- */
.statute-grid, .verdicts, .help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s4);
}

.statute-card, .verdict-card, .help-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: var(--s5);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.statute-card:hover, .verdict-card:hover, .help-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.statute-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--red-deep);
  letter-spacing: 0.06em;
  margin: 0 0 var(--s3);
}

.statute-card h3 {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.32;
  margin: 0 0 var(--s3);
}

.statute-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- verdict comparison ---------- */
.verdict-court {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--s3);
  line-height: 1.5;
}
.verdict-outcome {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0 0 var(--s3);
  color: var(--green);
}
.verdict-outcome.harsh { color: var(--red-deep); }
.verdict-card p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.55; margin: 0; }

/* ---------- options cards (how to help) ---------- */
.help-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.help-card h3 {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  margin: 0;
}
.help-card p { color: var(--ink-soft); margin: 0; flex-grow: 1; line-height: 1.55; }
.help-card .action {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: var(--s3);
  margin-top: var(--s1);
}
.help-card .action:hover { color: var(--red); }

/* ---------- pull quote ---------- */
.pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.4;
  color: var(--green-deep);
  max-width: 44ch;
  margin: 0;
  padding-left: var(--s4);
  border-left: 3px solid var(--red);
}

/* ---------- forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s7);
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s5); }
}

form.dossier-form {
  display: grid;
  gap: var(--s4);
  max-width: 560px;
}
.field { display: grid; gap: var(--s1); }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.field input, .field textarea, .field select {
  font-family: var(--body);
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  border-radius: 4px;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; font-family: var(--body); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
}

button.submit, a.submit {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--green);
  color: var(--paper);
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease;
}
button.submit:hover, a.submit:hover { background: var(--green-deep); }

.form-note {
  font-size: 0.88rem;
  color: var(--ink-faint);
  max-width: 50ch;
  line-height: 1.5;
}

.contact-alt {
  display: grid;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.contact-alt-item {
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.5;
}
.contact-alt-item span {
  display: block;
  color: var(--ink-faint);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--s1);
  font-weight: 500;
}

/* ---------- footer ---------- */
footer {
  border-top: 2px solid var(--ink);
  padding: var(--s5) 0 var(--s6);
  margin-top: var(--s4);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  line-height: 1.6;
}
footer a { color: var(--ink-soft); }
footer a:hover { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .statute-card, .verdict-card, .help-card { transition: none; }
}

/* ---------- language toggle ---------- */
.lang-toggle {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 7px;
  overflow: hidden;
  flex: none;
}
.lang-toggle span { display: none; }
.lang-toggle a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 16px;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle a:first-child { border-right: 2px solid var(--ink); }
.lang-toggle a:hover { color: var(--red); background: var(--line-soft); }
.lang-toggle a[aria-current="true"] {
  color: var(--paper);
  background: var(--ink);
}
@media (max-width: 480px) {
  .lang-toggle { font-size: 12.5px; }
  .lang-toggle a { padding: 6px 12px; }
}

/* ---------- vehicle illustration ---------- */
.car-illustration {
  width: 100%;
  max-width: 360px;
}
.car-illustration svg { width: 100%; height: auto; }
.car-caption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-top: var(--s2);
  text-align: center;
}
.car-frame {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: var(--s5) var(--s4) var(--s3);
  box-shadow: var(--shadow-card);
}

/* ---------- expanded legal statute blocks ---------- */
.statute-full {
  border-top: 1px solid var(--line);
  padding: var(--s6) 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s5);
}
.statute-full:last-child { border-bottom: 1px solid var(--line); }
.statute-full-head {
  position: sticky;
  top: 100px;
  align-self: start;
}
.statute-full-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--red-deep);
  letter-spacing: 0.06em;
  margin: 0 0 var(--s2);
}
.statute-full-zh {
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 var(--s2);
  line-height: 1.5;
}
.statute-full-cite {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}
.statute-full h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 var(--s3);
}
.statute-full-body p {
  color: var(--ink-soft);
  margin: 0 0 var(--s3);
  line-height: 1.65;
}
.statute-full-body p:last-child { margin-bottom: 0; }
.statute-full-body .tension {
  background: var(--paper-raised);
  border-left: 3px solid var(--red);
  padding: var(--s3) var(--s4);
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .statute-full { grid-template-columns: 1fr; gap: var(--s3); }
  .statute-full-head { position: static; }
}

/* ---------- conflict comparison table ---------- */
.conflict-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.conflict-table th, .conflict-table td {
  text-align: left;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.conflict-table th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 500;
}
.conflict-table td { color: var(--ink-soft); }
.conflict-table td.emph { color: var(--ink); font-weight: 600; }
.conflict-table tr:last-child td { border-bottom: none; }

/* ---------- disclaimer ---------- */
.disclaimer {
  font-size: 0.85rem;
  color: var(--ink-faint);
  max-width: 70ch;
  line-height: 1.6;
  padding: var(--s3) var(--s4);
  border-left: 3px solid var(--line);
  background: var(--paper-raised);
  border-radius: 0 4px 4px 0;
}

/* ---------- brand row w/ 3 items ---------- */
.brand-row { justify-content: space-between; }
.brand-row .case-no { flex: 1; text-align: center; }
@media (max-width: 720px) {
  .brand-row .case-no { display: none; }
}

/* ---------- org / contact cards ---------- */
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s4);
}
.org-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: var(--s5);
  box-shadow: var(--shadow-card);
}
.org-kind {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin: 0 0 var(--s2);
}
.org-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 var(--s3);
}
.org-detail {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}
.org-detail a { color: var(--green); }
.org-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: var(--s3) 0 0;
  padding-top: var(--s3);
  border-top: 1px dashed var(--line);
}

/* ---------- IDP triviality diagram ---------- */
.idp-diagram-frame {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: var(--shadow-card);
  padding: var(--s5);
}
.idp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s4);
  margin-top: var(--s5);
}
.idp-fact {
  text-align: center;
  padding: var(--s4);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.idp-fact .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--green);
  display: block;
  margin-bottom: var(--s1);
}
.idp-fact .label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ---------- penalty comparison ---------- */
.penalty-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.penalty-table th, .penalty-table td {
  text-align: left;
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.penalty-table th {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 500;
}
.penalty-table td { color: var(--ink-soft); }
.penalty-table tr.highlight td { color: var(--ink); font-weight: 600; background: rgba(167,52,39,0.06); }
.penalty-table tr:last-child td { border-bottom: none; }

/* ---------- highlighter marks ---------- */
mark {
  background: linear-gradient(104deg, rgba(255,224,64,0) 0%, rgba(255,214,51,0.75) 6%, rgba(255,214,51,0.75) 94%, rgba(255,224,64,0) 100%);
  background-color: rgba(255,214,51,0.55);
  mix-blend-mode: multiply;
  color: inherit;
  padding: 0.03em 0.05em;
  border-radius: 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- top tagline badge (replaces case-no) ---------- */
.tagline {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.tagline mark {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 3px;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 920px) {
  .tagline mark { font-size: 14px; }
}
@media (max-width: 720px) {
  .tagline { display: none; }
}

/* ---------- two-column consequence layout (penalty page) ---------- */
.consequence-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}
.consequence-col {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.consequence-col-head {
  padding: var(--s4) var(--s5);
  border-bottom: 2px solid var(--ink);
}
.consequence-col-head.suspension { background: rgba(22,60,44,0.07); }
.consequence-col-head.fine { background: rgba(167,52,39,0.07); }
.consequence-col-head h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.consequence-col-head p {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin: var(--s1) 0 0;
}
.consequence-row {
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--line);
}
.consequence-row:last-child { border-bottom: none; }
.consequence-row.highlight { background: rgba(255,214,51,0.16); }
.consequence-row .violation-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 var(--s1);
}
.consequence-row .value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 var(--s2);
}
.consequence-row .note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .consequence-columns { grid-template-columns: 1fr; }
}

/* ---------- points explainer ---------- */
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s4);
}
.points-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: var(--s5);
  box-shadow: var(--shadow-card);
}
.points-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  margin-bottom: var(--s3);
}
.points-card h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 var(--s3);
}
.points-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.points-card li { margin-bottom: 4px; }
