/* Towsheet. Rear-plate yellow, route-sign green and red, motorway blue, and a weighbridge
   ticket for every result. Two families: Barlow Condensed (display, ticket figures) and
   Atkinson Hyperlegible (everything people read). */

@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('/assets/fonts/atkinson-hyperlegible-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url('/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #102a43;
  --ink-soft: #3e5469;
  --paper: #e9edf0;
  --card: #ffffff;
  --rule: #c5cfd8;
  --plate: #f5c400;
  --plate-deep: #d9a900;
  --route: #0d6b3f;
  --route-tint: #e2f1e8;
  --stop: #b3122b;
  --stop-tint: #fbe6e9;
  --amber-tint: #fff4c7;
  --blue: #1452a3;
  --blue-deep: #0d3a78;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.005em; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header: the wordmark is a rear number plate ---------- */
.site-header { background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.plate {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #111;
  background: var(--plate); border: 2px solid #111; border-radius: 7px; padding: 3px 14px 1px 4px;
  box-shadow: inset 0 0 0 2px var(--plate), inset 0 0 0 3px rgba(0,0,0,.35);
  font: 800 1.7rem/1 var(--display); letter-spacing: 0.06em;
}
.plate:hover { color: #111; }
.plate-band { display: inline-grid; place-items: center; background: var(--blue); color: #fff; border-radius: 3px; font-size: 0.62rem; letter-spacing: 0.04em; padding: 6px 5px 5px; line-height: 1; min-width: 26px; }
.site-header nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.site-header nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.site-header nav a:hover { text-decoration: underline; color: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 28px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-linear-gradient(-45deg, var(--plate) 0 18px, #111 18px 36px); }
.hero h1 { color: #fff; margin-top: 18px; }
.hero-lede { font-size: 1.2rem; color: #d6e0ea; margin-bottom: 28px; }
.three-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.way { background: #fff; color: var(--ink); border-radius: 10px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink) inset; padding: 14px 16px 16px; display: grid; grid-template-rows: auto auto 1fr; }
.way-head { display: flex; align-items: center; gap: 10px; font: 800 1.35rem/1 var(--display); }
.way-code { background: var(--blue); color: #fff; border-radius: 4px; padding: 5px 7px 4px; font-size: 0.95rem; letter-spacing: 0.05em; }
.way .way-verdict { font: 800 2.4rem/1 var(--display); margin: 14px 0 8px; color: var(--ink); }
.way p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.way.is-legal .way-verdict { color: var(--route); }
.way.is-not-legal .way-verdict { color: var(--stop); }
.way.is-conditional .way-verdict { color: #8a6a00; }
.three-caption { color: #c8d3de; font-size: 0.95rem; margin: 14px 0 0; }
.three-caption a { color: #fff; }

/* ---------- checker ---------- */
.checker { padding: 48px 0 56px; }
.checker-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.checker h2 { margin-bottom: 6px; }
.checker-intro { color: var(--ink-soft); margin-bottom: 24px; }
.step { border: 0; margin: 0 0 18px; padding: 20px 20px 8px; background: var(--card); border-radius: 12px; border-left: 8px solid var(--ink); }
.step legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font: 800 1.6rem/1 var(--display); display: flex; gap: 12px; align-items: baseline; }
.step legend + * { clear: both; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plate); color: #111; font-size: 1.25rem; flex: none; transform: translateY(4px); }
.field { margin-bottom: 16px; }
.field > label, .field-label { display: block; font-weight: 700; margin-bottom: 4px; }
.hint { display: block; color: var(--ink-soft); font-size: 0.93rem; margin: 2px 0 6px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; }
input[type='text'], input[type='date'], input[type='number'], select, textarea {
  font: inherit; color: inherit; width: 100%; padding: 10px 12px; border: 2px solid var(--rule); border-radius: 8px; background: #fff; min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(20, 82, 163, .25); }
.kg { position: relative; }
.kg input { padding-right: 44px; font-variant-numeric: tabular-nums; }
.kg::after { content: 'kg'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid var(--rule); border-radius: 999px; background: #fff; font-weight: 700; min-height: 44px; }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice input:checked + span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--plate); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 10px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.date-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.date-row .check { margin: 0; }
details.more { margin: 0 0 14px; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--blue); }

/* ---------- the weighbridge ticket ---------- */
.ticket-col { position: sticky; top: 16px; }
.ticket {
  background: var(--card); border-radius: 4px; padding: 22px 22px 18px; position: relative;
  box-shadow: 0 1px 0 var(--rule), 0 12px 30px -18px rgba(16, 42, 67, .5);
  border-top: 10px solid var(--ink);
}
.ticket::after { /* torn edge */
  content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background: radial-gradient(circle at 8px 0, transparent 7px, var(--card) 7.5px) repeat-x;
  background-size: 16px 10px; transform: rotate(180deg);
}
.ticket-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 2px dashed var(--rule); padding-bottom: 10px; margin-bottom: 14px; }
.ticket-title { font: 800 1.5rem/1 var(--display); margin: 0; white-space: nowrap; }
.ticket-trip { color: var(--ink-soft); font-size: 0.92rem; text-align: right; }
.verdict { border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; border: 3px solid currentColor; }
.verdict-word { font: 800 2.3rem/0.95 var(--display); margin: 0 0 6px; }
.verdict p { color: var(--ink); margin: 0; }
.verdict.is-legal { color: var(--route); background: var(--route-tint); }
.verdict.is-not-legal { color: var(--stop); background: var(--stop-tint); }
.verdict.is-conditional, .verdict.is-unsettled { color: #7a5d00; background: var(--amber-tint); }
.verdict.is-incomplete { color: var(--ink-soft); background: #f3f5f7; border-style: dashed; }
.per-j { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.per-j li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: start; }
.per-j .way-code { text-align: center; }
.per-j strong { display: block; }
.per-j span.why { color: var(--ink-soft); font-size: 0.95rem; }
.ladder-title { font: 600 1.15rem/1.1 var(--display); margin: 4px 0 8px; }
.ladder { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 7px; }
.rung { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; font-size: 0.93rem; }
.rung-label { min-width: 0; }
.rung-kg { font: 600 1.15rem/1.2 var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.rung svg { grid-column: 1 / -1; width: 100%; height: 12px; display: block; }
.rung .bar-bg { fill: #eef1f4; }
.rung .bar { fill: var(--ink); }
.rung .mark { fill: var(--stop); }
.rung.is-over .bar { fill: var(--stop); }
.rung.is-binding .bar { fill: var(--plate-deep); }
.rung.is-doubt .bar { fill: var(--plate); }
.rung.is-doubt .mark { fill: #7a5d00; }
.rung.is-binding .rung-label strong::after { content: ' (binding)'; font-weight: 400; color: var(--ink-soft); }
.ticket .changes { margin: 0 0 12px; padding-left: 1.2em; }
.ticket .changes li { margin-bottom: 4px; }
.ticket-notes { font-size: 0.93rem; color: var(--ink-soft); border-top: 2px dashed var(--rule); padding-top: 10px; margin-top: 8px; }
.ticket-notes p { margin-bottom: 6px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 8px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 1rem/1.1 var(--text); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn.secondary { background: #fff; color: var(--ink); }
.btn.secondary:hover { background: var(--paper); color: var(--ink); }
.btn.plate-btn { background: var(--plate); color: #111; border-color: #111; }
.btn.plate-btn:hover { background: var(--plate-deep); color: #111; }
.cited { font-size: 0.9rem; margin: 10px 0 0; padding-left: 1.1em; color: var(--ink-soft); }
.cited li { margin-bottom: 3px; }
.ticket details summary { cursor: pointer; font-weight: 700; color: var(--blue); margin-top: 6px; }

/* ---------- sections and articles ---------- */
.band { padding: 56px 0; }
.band.white { background: var(--card); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.signpost { background: var(--card); border-radius: 12px; padding: 20px; border-top: 6px solid var(--route); }
.signpost.ni { border-top-color: var(--blue); }
.signpost.ie { border-top-color: var(--plate-deep); }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.guide-list a { display: block; height: 100%; background: var(--card); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.guide-list a:hover { border-color: var(--ink); }
.guide-list strong { display: block; font: 600 1.3rem/1.1 var(--display); margin-bottom: 6px; color: var(--ink); }
.guide-list span { color: var(--ink-soft); font-size: 0.95rem; }
.article { padding: 40px var(--gutter) 64px; max-width: 1180px; margin: 0 auto; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.article-body { background: var(--card); border-radius: 12px; padding: clamp(20px, 4vw, 40px); min-width: 0; }
.article-body h2 { margin-top: 1.2em; }
.article-body h2:first-child { margin-top: 0; }
.article-body li { margin-bottom: 6px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); }
.crumbs { font-size: 0.92rem; margin-bottom: 10px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.answer { background: var(--amber-tint); border-left: 8px solid var(--plate); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 0 0 20px; }
.answer p:last-child { margin: 0; }
.aside-card { background: var(--ink); color: #fff; border-radius: 12px; padding: 20px; position: sticky; top: 16px; }
.aside-card h2 { font-size: 1.6rem; color: #fff; }
.aside-card p { color: #d6e0ea; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.sources { font-size: 0.93rem; }
.sources li { margin-bottom: 6px; }
.faq dt { font-weight: 700; margin-top: 14px; }
.faq dd { margin: 4px 0 0; }
.rules-table td:first-child { white-space: nowrap; font-weight: 700; }
.rules-table blockquote { margin: 6px 0 0; padding-left: 10px; border-left: 3px solid var(--rule); color: var(--ink-soft); font-style: italic; }
.disclaimer { background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 14px 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c8d3de; padding: 40px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-heading { font: 600 1.2rem/1 var(--display); color: #fff; margin-bottom: 10px; }

/* ---------- the tow sheet (screen preview of an A4 page) ---------- */
.sheet-page { padding: 24px var(--gutter) 64px; }
.sheet-toolbar { max-width: 210mm; margin: 0 auto 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sheet-toolbar p { margin: 0; color: var(--ink-soft); }
.sheet { background: #fff; max-width: 210mm; margin: 0 auto; padding: 12mm 12mm 10mm; box-shadow: 0 10px 40px -20px rgba(16,42,67,.6); font-size: 10pt; line-height: 1.35; color: #000; }
.sheet h1 { font-size: 26pt; margin: 0; color: #000; }
.sheet h2 { font: 800 12.5pt/1.1 var(--display); margin: 0 0 3mm; letter-spacing: 0.01em; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6mm; border-bottom: 1.2mm solid #000; padding-bottom: 3mm; margin-bottom: 4mm; }
.sheet-head .plate { font-size: 18pt; }
.sheet-meta { text-align: right; font-size: 9pt; }
.sheet-meta p { margin: 0; }
.sheet-verdict { border: 0.8mm solid #000; border-radius: 2mm; padding: 3mm 4mm; margin-bottom: 4mm; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2mm 5mm; align-items: center; }
.sheet-verdict .verdict-word { font-size: 24pt; margin: 0; }
.sheet-verdict.is-legal { border-color: var(--route); }
.sheet-verdict.is-legal .verdict-word { color: var(--route); }
.sheet-verdict.is-not-legal { border-color: var(--stop); }
.sheet-verdict.is-not-legal .verdict-word { color: var(--stop); }
.sheet-verdict.is-conditional .verdict-word, .sheet-verdict.is-unsettled .verdict-word { color: #7a5d00; }
.sheet-verdict p { margin: 0; }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3mm 6mm; }
.sheet table { font-size: 9pt; }
.sheet th, .sheet td { padding: 1.2mm 1.5mm; border-bottom: 0.25mm solid #999; }
.sheet thead th { font-size: 10pt; border-bottom: 0.5mm solid #000; }
.sheet td.num, .sheet th.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet .binding td { font-weight: 700; background: #fff3c0; }
.sheet .over td { color: var(--stop); font-weight: 700; }
.sheet-checklist { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 5mm; font-size: 8.6pt; }
.sheet-checklist li { break-inside: avoid; display: grid; grid-template-columns: 4.2mm minmax(0, 1fr); gap: 2mm; margin-bottom: 1.6mm; }
.sheet-checklist li::before { content: ''; width: 3.6mm; height: 3.6mm; border: 0.35mm solid #000; border-radius: 0.6mm; margin-top: 0.3mm; }
.sheet-notes { border: 0.35mm solid #000; border-radius: 1.5mm; height: 22mm; padding: 2mm 3mm; background: repeating-linear-gradient(#fff 0 6.4mm, #bbb 6.4mm 6.65mm); background-clip: content-box; }
.sheet-notes-label { font-size: 8.5pt; color: #444; margin: 0 0 1mm; }
.sheet-section { margin-bottom: 3mm; }
.sheet-section p { margin: 0 0 1.2mm; }
.sheet-licence p, .sheet-changes { font-size: 9pt; }
.sheet-changes { margin: 0 0 2mm; padding-left: 4mm; }
.sheet td.num, .sheet .nowrap { white-space: nowrap; }
.sheet .muted { font-size: 8.6pt; }
.sheet-foot { border-top: 0.35mm solid #000; padding-top: 2mm; margin-top: 3mm; font-size: 7.4pt; color: #333; }
.sheet-foot p { margin: 0 0 1mm; }
.sheet-sources { font-size: 7pt; margin: 0; color: #333; }
.sheet-limits td:first-child { font-weight: 700; }
.sheet .muted { color: #555; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .checker-grid, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .ticket-col, .aside-card { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .three-ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sheet { padding: 6mm; }
  .sheet-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-checklist { columns: 1; }
  .sheet-head { flex-direction: column; }
  .sheet-meta { text-align: left; }
  .date-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .verdict { transition: background-color .2s, color .2s; }
}

/* ---------- print: only the sheet, fitted to A4 or Letter ---------- */
@page { size: auto; margin: 8mm 9mm; }
@media print {
  body { background: #fff; font-size: 10pt; }
  .site-header, .site-footer, .sheet-toolbar, .skip, .no-print, .ad { display: none !important; }
  .sheet-page { padding: 0; }
  .sheet { box-shadow: none; padding: 0; max-width: none; margin: 0; }
  .sheet-grid { grid-template-columns: 1fr 1fr; }
  .sheet-checklist { columns: 3; }
  .sheet-head { flex-direction: row; }
  .sheet { font-size: 8.8pt; line-height: 1.28; }
  .sheet h1 { font-size: 17pt; }
  .sheet-licence p { font-size: 7.9pt; }
  .sheet-head .sheet-meta { font-size: 8pt; }
  .sheet h2 { font-size: 11pt; margin-bottom: 1.5mm; }
  .sheet-head .plate { font-size: 14pt; }
  .sheet-head { padding-bottom: 2mm; margin-bottom: 3mm; }
  .sheet table, .sheet .muted, .sheet-licence p, .sheet-changes { font-size: 8.2pt; }
  .sheet th, .sheet td { padding: 0.7mm 1.2mm; }
  .sheet-verdict { padding: 2mm 3mm; margin-bottom: 3mm; }
  .sheet-verdict .verdict-word { font-size: 19pt; }
  .sheet-checklist { font-size: 7.9pt; columns: 4; column-gap: 4mm; }
  .sheet-checklist li { margin-bottom: 1mm; }
  .sheet-notes { height: 15mm; }
  .sheet-foot { margin-top: 1.5mm; padding-top: 1.5mm; }
  .sheet-sources { font-size: 6.4pt; line-height: 1.2; }
  .sheet-grid th[scope=row] { white-space: nowrap; }
  .sheet-section { margin-bottom: 2.4mm; }
  a { color: #000; text-decoration: none; }
  .plate, .way-code, .sheet .binding td, .sheet-verdict { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- share card (rendered once at 1200x630 by scripts/og.mjs) ---------- */
.og-body { margin: 0; width: 1200px; height: 630px; background: var(--ink); overflow: hidden; }
.og { padding: 56px 64px; height: 630px; position: relative; }
.og::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: repeating-linear-gradient(-45deg, var(--plate) 0 30px, #111 30px 60px); }
.og .plate { font-size: 2.6rem; }
.og-line { font: 800 6rem/1 var(--display); color: #fff; margin: 34px 0 30px; }
.og .three-ways { gap: 22px; }
.og .way-verdict { font-size: 3rem; margin-bottom: 0; }
.og .way-head { font-size: 1.9rem; }
.og-sub { color: #d6e0ea; font-size: 1.5rem; margin-top: 26px; }

/* hero cards carry their verdict colour along the top, like a sign's border */
.way { border-top-width: 12px; }
.way.is-legal { border-top-color: var(--route); }
.way.is-not-legal { border-top-color: var(--stop); }
.way.is-conditional, .way.is-unsettled { border-top-color: var(--plate); }

/* verdict bar: phones only, until the ticket scrolls into view */
.verdict-bar { display: none; }
@media (max-width: 900px) {
  .verdict-bar:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 5; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 8px 24px -8px rgba(0,0,0,.5); border-left: 10px solid var(--plate); }
  .verdict-bar[data-status="legal"] { border-left-color: #3fbf7f; }
  .verdict-bar[data-status="not-legal"] { border-left-color: #ff5a6e; }
  .verdict-bar [data-bar-word] { font: 800 1.4rem/1 var(--display); }
  .verdict-bar:hover { color: #fff; }
}
@media (max-width: 560px) {
  .ticket-head { flex-direction: column; gap: 4px; }
  .ticket-trip { text-align: left; }
  .ticket { padding: 18px 16px 16px; }
}
