.road-page {
  --road-bg: #080d12;
  --road-panel: #0d171d;
  --road-panel-2: #111f27;
  --road-panel-3: #162831;
  --road-line: #29414d;
  --road-line-bright: #3d6171;
  --road-text: #f4f8fa;
  --road-muted: #9fb2bc;
  --road-blue: #2f8fbd;
  --road-blue-bright: #61c8f5;
  --road-green: #38b67a;
  --road-amber: #e2aa43;
  --road-red: #dc777b;
}

.road-page header { z-index: 120; }
.road-page main { overflow: clip; }

.road-hero { position: relative; padding: 94px 0 78px; border-bottom: 1px solid var(--site-line); background: radial-gradient(900px 480px at 12% 0, rgba(47, 143, 189, .2), transparent 65%), radial-gradient(700px 360px at 90% 20%, rgba(51, 107, 255, .14), transparent 70%), #080d12; }
.road-hero::after { position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; content: ""; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.road-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 56px; align-items: center; }
.road-hero-copy h1 { max-width: 850px; margin: 14px 0 20px; font-size: clamp(3rem, 6.4vw, 6.3rem); line-height: .93; letter-spacing: -.065em; }
.road-hero-copy > p { max-width: 740px; margin: 0; color: #bac9d1; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.road-safety-line { display: inline-flex; max-width: 100%; min-height: 36px; margin-top: 22px; padding: 8px 11px; border: 1px solid rgba(226,170,67,.42); border-radius: 10px; color: #f2d18f; background: rgba(226,170,67,.08); font-size: .75rem; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.road-hero-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.road-hero-proof span { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 11px; border: 1px solid rgba(97, 200, 245, .28); border-radius: 999px; color: #bfe9fa; background: rgba(47, 143, 189, .09); font-size: .78rem; font-weight: 800; }
.road-hero-proof span::before { margin-right: 7px; color: var(--road-green); content: "✓"; }
.road-hero-panel { position: relative; padding: 24px; border: 1px solid var(--road-line); border-radius: 24px; background: linear-gradient(155deg, rgba(19, 38, 48, .96), rgba(10, 19, 25, .98)); box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.road-hero-panel::before { position: absolute; top: 0; left: 26px; width: 90px; height: 3px; border-radius: 0 0 5px 5px; background: var(--road-blue-bright); content: ""; }
.road-signal { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(159,178,188,.15); }
.road-signal span { color: var(--road-muted); font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.road-signal strong { text-align: right; }
.road-hero-panel p { margin: 18px 0 0; color: var(--road-muted); font-size: .8rem; }

.road-problem-grid, .road-ai-grid, .road-class-grid, .road-outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.road-problem-grid article, .road-ai-grid article, .road-class-grid article, .road-outcomes article { padding: 22px; border: 1px solid var(--site-line); border-radius: 18px; background: rgba(16, 26, 40, .76); }
.road-problem-grid article > span, .road-ai-grid article > span { color: var(--road-blue-bright); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.road-problem-grid h3, .road-ai-grid h3, .road-class-grid h3, .road-outcomes h3 { margin: 28px 0 9px; }
.road-problem-grid p, .road-ai-grid p, .road-class-grid p, .road-outcomes p { margin: 0; color: var(--site-muted); }
.road-ai-band { background: linear-gradient(180deg, rgba(47,143,189,.05), rgba(8,13,18,0)); }
.road-ai-grid article { position: relative; min-height: 185px; }
.road-ai-grid article::before { position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 18px 0 0 18px; background: var(--road-blue-bright); content: ""; }

.road-demo-section { padding-top: 90px; }
.road-demo-heading { align-items: end; }
.road-disclosure { max-width: 560px; padding: 15px 17px; border: 1px solid rgba(226,170,67,.35); border-radius: 14px; background: rgba(226,170,67,.08); }
.road-disclosure strong { display: block; margin-bottom: 4px; color: #f4cf89; font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; }
.road-disclosure span { color: #d4c7aa; font-size: .82rem; }

.road-console { margin-top: 34px; overflow: hidden; border: 1px solid var(--road-line-bright); border-radius: 24px; background: var(--road-bg); box-shadow: 0 28px 90px rgba(0,0,0,.42); }
.road-console-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; padding: 14px 18px; border-bottom: 1px solid var(--road-line); background: #080d11; }
.road-console-brand { display: flex; align-items: center; gap: 11px; }
.road-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(97,200,245,.32); border-radius: 14px; color: #dff6ff; background: radial-gradient(circle at 30% 20%, rgba(97,200,245,.3), transparent 65%), #0e1c24; font-weight: 950; }
.road-console-brand div { display: flex; flex-direction: column; }
.road-console-brand strong { font-size: 1.04rem; }
.road-console-brand span { color: var(--road-muted); font-size: .76rem; }
.road-console-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.road-console-status > span { min-height: 42px; padding: 7px 11px; border: 1px solid var(--road-line); border-radius: 10px; color: var(--road-muted); background: rgba(255,255,255,.025); font-size: .75rem; }
.road-console-status > span b { display: block; color: var(--road-text); }
.road-console-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; }
.road-demo-nav { padding: 18px 12px; border-right: 1px solid var(--road-line); background: #0a1217; }
.road-demo-nav button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 48px; margin-bottom: 5px; padding: 10px 12px; border: 1px solid transparent; border-radius: 11px; color: var(--road-muted); background: transparent; text-align: left; font-weight: 780; }
.road-demo-nav button span { display: inline-grid; place-items: center; width: 22px; color: #c2d6df; }
.road-demo-nav button:hover { color: #fff; border-color: var(--road-line); background: rgba(255,255,255,.035); }
.road-demo-nav button.is-active { color: #fff; border-color: rgba(97,200,245,.45); background: linear-gradient(90deg, rgba(47,143,189,.26), rgba(47,143,189,.06)); box-shadow: inset 3px 0 var(--road-blue-bright); }
.road-demo-main { min-width: 0; padding: 26px; background: radial-gradient(620px 260px at 50% 0, rgba(47,143,189,.06), transparent 72%), var(--road-bg); }
.road-view[hidden] { display: none; }
.road-view-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.road-view-head h3 { margin: 4px 0 7px; font-size: clamp(1.45rem, 3vw, 2.05rem); letter-spacing: -.03em; }
.road-view-head p { max-width: 750px; margin: 0; color: var(--road-muted); }
.road-view-kicker { color: var(--road-blue-bright); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.road-button, .road-icon-button, .road-gabe-prompts button { min-height: 44px; border: 1px solid var(--road-line-bright); border-radius: 10px; padding: 9px 13px; color: #fff; background: #13232c; font-weight: 800; }
.road-button:hover, .road-icon-button:hover, .road-gabe-prompts button:hover { border-color: var(--road-blue-bright); background: #19333f; }
.road-page a:focus-visible, .road-button:focus-visible, .road-icon-button:focus-visible, .road-demo-nav button:focus-visible, .road-gabe-prompts button:focus-visible { outline: 3px solid rgba(97,200,245,.38); outline-offset: 3px; }
.road-button-primary { border-color: rgba(47,143,189,.75); background: #246d90; }
.road-button-primary:hover { background: #2c82aa; }
.road-button-secondary { background: #13232c; }
.road-button-success { border-color: rgba(56,182,122,.6); background: #21774e; }
.road-button-success:hover { background: #2b9463; }
.road-button-muted { color: #c3cfd5; background: rgba(255,255,255,.035); }
.road-icon-button { width: 44px; padding: 0; border-radius: 999px; font-size: 1.5rem; line-height: 1; }

.road-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.road-metrics div { padding: 13px; border: 1px solid var(--road-line); border-radius: 13px; background: rgba(255,255,255,.025); }
.road-metrics span { display: block; color: var(--road-muted); font-size: .67rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.road-metrics strong { display: block; margin-top: 4px; font-size: 1.35rem; }
.road-geo-warning { margin: 0 0 14px; padding: 15px; border: 1px solid rgba(226,170,67,.48); border-radius: 13px; color: #f0d39a; background: rgba(226,170,67,.1); }
.road-geo-warning strong { display: block; margin-bottom: 5px; color: #ffdf9f; }
.road-geo-warning button { margin-top: 10px; }
.road-bulk { display: grid; grid-template-columns: auto minmax(170px, 1fr) auto auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--road-line); border-radius: 13px; background: rgba(255,255,255,.022); }
.road-check { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; }
.road-check input { width: 19px; height: 19px; margin: 0; }

.road-page label { display: block; color: #aebec6; font-size: .7rem; font-weight: 820; letter-spacing: .075em; text-transform: uppercase; }
.road-page input, .road-page select, .road-page textarea { width: 100%; min-height: 44px; margin-top: 5px; padding: 10px 11px; border: 1px solid var(--road-line-bright); border-radius: 10px; color: #f4f8fa; background: #0a1318; }
.road-page textarea { min-height: 92px; resize: vertical; }
.road-page input:focus, .road-page select:focus, .road-page textarea:focus { border-color: var(--road-blue-bright); outline: 3px solid rgba(97,200,245,.16); }
.road-page select option { color: #fff; background: #0d171d; }

.road-record-list, .road-record-grid { display: grid; gap: 11px; margin-top: 14px; }
.road-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.road-record-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-width: 0; padding: 14px; overflow: hidden; border: 1px solid var(--road-line); border-radius: 15px; background: linear-gradient(135deg, rgba(18,34,42,.96), rgba(11,20,26,.98)); transition: border-color .15s ease, transform .15s ease; }
.road-record-card:not(.has-selection) { grid-template-columns: minmax(0, 1fr) auto; }
.road-record-card::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--road-blue); content: ""; }
.road-record-card[data-class="Field Verify"]::before { background: var(--road-amber); }
.road-record-card[data-class="Pass / Monitor"]::before { background: #768993; }
.road-record-card.is-disposed { opacity: .72; }
.road-record-card:hover, .road-record-card:focus-within { border-color: var(--road-line-bright); transform: translateY(-1px); }
.road-card-select-wrap, .road-card-content, .road-card-actions { position: relative; z-index: 2; }
.road-card-select-wrap { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px; pointer-events: auto; }
.road-card-select { width: 20px; height: 20px; margin: 0; }
.road-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.road-card-content { min-width: 0; cursor: pointer; }
.road-card-content h4 { margin: 0 0 4px; font-size: 1rem; }
.road-card-content p { margin: 0; color: var(--road-muted); font-size: .78rem; }
.road-ai-summary { display: grid; gap: 4px; margin-top: 11px; padding: 10px; border: 1px solid rgba(97,200,245,.2); border-radius: 10px; background: rgba(47,143,189,.06); }
.road-ai-summary strong { color: #d8f5ff; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.road-ai-summary span { color: #c9d9df; font-size: .74rem; line-height: 1.45; }
.road-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.road-pill { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 7px; border: 1px solid var(--road-line); border-radius: 999px; color: #b6c6ce; background: rgba(255,255,255,.025); font-size: .65rem; font-weight: 850; letter-spacing: .035em; }
.road-pill-ready { border-color: rgba(56,182,122,.38); color: #9be0bd; background: rgba(56,182,122,.08); }
.road-pill-verify { border-color: rgba(226,170,67,.42); color: #f1cc82; background: rgba(226,170,67,.08); }
.road-pill-danger { border-color: rgba(220,119,123,.42); color: #efb3b5; background: rgba(220,119,123,.08); }
.road-card-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; pointer-events: auto; }
.road-card-actions button { min-height: 44px; padding: 7px 10px; }
.road-empty { padding: 24px; border: 1px dashed var(--road-line-bright); border-radius: 14px; color: var(--road-muted); text-align: center; }

.road-form-card, .road-gabe, .road-prep-panel, .road-route-board { padding: 20px; border: 1px solid var(--road-line); border-radius: 16px; background: rgba(255,255,255,.024); }
.road-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.road-form-wide { grid-column: 1 / -1; }
.road-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.road-form-actions span { color: var(--road-muted); font-size: .75rem; }
.road-filters { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(145px, 1fr)); gap: 10px; }
.road-filter-search { grid-row: span 2; }
.road-filter-search input { min-height: 98px; }

.road-route-group { margin-bottom: 14px; overflow: hidden; border: 1px solid var(--road-line); border-radius: 14px; }
.road-route-group:last-child { margin-bottom: 0; }
.road-route-group-head { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; background: rgba(47,143,189,.09); }
.road-route-group h4 { margin: 0; }
.road-route-group-head span { color: var(--road-muted); font-size: .78rem; }
.road-route-group ul { margin: 0; padding: 0; list-style: none; }
.road-route-group li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--road-line); }
.road-route-group li span { color: var(--road-muted); }
.road-route-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }

.road-prep-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.road-prep-title h4 { margin: 0; font-size: 1.35rem; }
.road-prep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.road-prep-item { padding: 13px; border: 1px solid var(--road-line); border-radius: 12px; background: rgba(255,255,255,.024); }
.road-prep-item.is-human { border-color: rgba(226,170,67,.45); background: rgba(226,170,67,.065); }
.road-prep-item strong { display: block; margin-bottom: 5px; color: var(--road-blue-bright); font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.road-prep-item.is-human strong { color: #f2cf8d; }
.road-prep-item span, .road-prep-item p { margin: 0; color: #d6e0e4; }
.road-prep-questions { grid-column: 1 / -1; }
.road-prep-questions ul { margin: 8px 0 0; padding-left: 20px; color: #d6e0e4; }

.road-followup-list { display: grid; gap: 10px; }
.road-followup-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--road-line); border-radius: 13px; background: rgba(255,255,255,.025); }
.road-followup-card h4 { margin: 0 0 4px; }
.road-followup-card p { margin: 0; color: var(--road-muted); font-size: .8rem; }
.road-followup-date { min-width: 112px; text-align: right; }
.road-followup-date strong { display: block; color: #fff; }
.road-followup-date span { color: var(--road-muted); font-size: .7rem; }
.road-followup-card.is-overdue { border-color: rgba(220,119,123,.48); }

.road-gabe { max-width: 900px; background: radial-gradient(700px 300px at 0 0, rgba(47,143,189,.14), transparent 68%), rgba(255,255,255,.022); }
.road-gabe-head { display: flex; align-items: center; gap: 13px; }
.road-gabe-head > span { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(97,200,245,.38); border-radius: 16px; background: rgba(47,143,189,.17); font-size: 1.3rem; font-weight: 950; }
.road-gabe-head h3 { margin: 4px 0 0; }
.road-gabe-copy { margin: 14px 0 0; color: #c7d5dc; line-height: 1.65; }
.road-control-note { margin-top: 12px; padding: 11px 13px; border: 1px solid rgba(226,170,67,.4); border-radius: 11px; color: #f0d094; background: rgba(226,170,67,.08); font-size: .78rem; font-weight: 850; }
.road-gabe-output { min-height: 100px; margin-top: 18px; padding: 16px; border: 1px solid var(--road-line); border-radius: 13px; color: #e1e9ec; background: #0a1318; }
.road-gabe-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.road-gabe-prompts button { min-height: 44px; padding: 7px 11px; border-radius: 999px; color: #cbd9df; font-size: .75rem; }
.road-gabe-form { margin-top: 18px; }
.road-gabe-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.road-noscript { margin-top: 16px; padding: 18px; border: 1px solid var(--road-amber); border-radius: 14px; background: rgba(226,170,67,.08); }

.road-loop { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; counter-reset: field-loop; }
.road-loop article { position: relative; min-height: 215px; padding: 17px; border: 1px solid var(--site-line); border-radius: 15px; background: rgba(16,26,40,.76); }
.road-loop article:not(:last-child)::after { position: absolute; top: 34px; right: -9px; z-index: 3; color: var(--road-blue-bright); font-size: 1.1rem; font-weight: 950; content: "→"; }
.road-loop span { color: var(--road-blue-bright); font-size: .67rem; font-weight: 900; letter-spacing: .13em; }
.road-loop h3 { margin: 50px 0 8px; font-size: 1.03rem; }
.road-loop p { margin: 0; color: var(--site-muted); font-size: .78rem; }
.road-class-grid article { position: relative; overflow: hidden; }
.road-class-grid article::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--road-green); content: ""; }
.road-class-grid article.is-verify::before { background: var(--road-amber); }
.road-class-grid article.is-monitor::before { background: #73858e; }
.road-class-grid article > span { color: var(--site-muted); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.road-authority-section { background: rgba(6, 10, 14, .44); }
.road-authority-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.road-authority-grid article { padding: 24px; border: 1px solid var(--site-line); border-radius: 18px; background: rgba(16, 26, 40, .76); }
.road-authority-grid h3 { margin: 0 0 13px; }
.road-authority-grid ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: #cbd8de; }
.road-boundary-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 56px; align-items: center; }
.road-boundary-grid h2 { margin: 7px 0 12px; }
.road-boundary-grid p { color: var(--site-muted); }
.road-boundary-list { display: grid; gap: 10px; }
.road-boundary-list div { padding: 16px; border: 1px solid var(--site-line); border-radius: 14px; background: rgba(16,26,40,.76); }
.road-boundary-list strong, .road-boundary-list span { display: block; }
.road-boundary-list span { margin-top: 3px; color: var(--site-muted); font-size: .83rem; }
.road-outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.road-outcomes h3 { margin-top: 0; }
.road-final-cta > .wrap { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 38px; border: 1px solid var(--site-line-strong); border-radius: 22px; background: radial-gradient(700px 260px at 0 0, rgba(47,143,189,.16), transparent 72%), rgba(16,26,40,.78); }
.road-final-cta h2 { max-width: 850px; margin: 8px 0 10px; }
.road-final-cta p { margin: 0; color: var(--site-muted); }
.road-final-cta .hero-actions { flex: 0 0 auto; }

dialog.road-drawer, dialog.road-modal { color: var(--road-text); background: var(--road-panel); }
dialog::backdrop { background: rgba(2,7,10,.82); backdrop-filter: blur(4px); }
.road-drawer { position: fixed; inset: 0 0 0 auto; width: min(720px, 94vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--road-line-bright); border-radius: 0; box-shadow: -30px 0 80px rgba(0,0,0,.5); }
.road-drawer[open] { display: flex; flex-direction: column; }
.road-drawer-head, .road-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 20px; border-bottom: 1px solid var(--road-line); background: #0a1217; }
.road-drawer-head h2, .road-modal-head h2 { margin: 4px 0 0; font-size: 1.35rem; }
.road-drawer-body { flex: 1; padding: 20px; overflow: auto; }
.road-record-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.road-record-field { padding: 12px; border: 1px solid var(--road-line); border-radius: 11px; background: rgba(255,255,255,.022); }
.road-record-field strong { display: block; margin-bottom: 4px; color: var(--road-muted); font-size: .65rem; letter-spacing: .075em; text-transform: uppercase; }
.road-record-field span { color: #e4ecef; }
.road-record-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--road-line); }
.road-record-section h3 { margin: 0 0 10px; }
.road-history { display: grid; gap: 8px; }
.road-history article { padding: 11px; border: 1px solid var(--road-line); border-radius: 10px; background: rgba(255,255,255,.02); }
.road-history article strong, .road-history article span { display: block; }
.road-history article span { margin-top: 3px; color: var(--road-muted); font-size: .78rem; }
.road-warning-box { margin-bottom: 14px; padding: 13px; border: 1px solid rgba(226,170,67,.45); border-radius: 11px; color: #f0ce8e; background: rgba(226,170,67,.09); }
.road-record-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.road-inline-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.road-inline-form .road-form-wide { grid-column: 1 / -1; }
.road-modal { width: min(560px, calc(100% - 28px)); padding: 0; border: 1px solid var(--road-line-bright); border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.road-modal > form { padding: 0 20px 20px; }
.road-modal .road-modal-head { margin: 0 -20px 18px; }
.road-modal > form > p { color: var(--road-muted); }
.road-finish-modal { width: min(760px, calc(100% - 28px)); }
.road-toast { position: fixed; right: 22px; bottom: 22px; z-index: 5000; max-width: min(420px, calc(100% - 44px)); padding: 13px 16px; border: 1px solid rgba(97,200,245,.5); border-radius: 12px; color: #ecfaff; background: #10232d; box-shadow: 0 18px 50px rgba(0,0,0,.42); }

@media (max-width: 1100px) {
  .road-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .road-hero-panel { max-width: 760px; }
  .road-console-layout { grid-template-columns: 1fr; }
  .road-demo-nav { display: flex; gap: 6px; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--road-line); scrollbar-width: none; }
  .road-demo-nav::-webkit-scrollbar { display: none; }
  .road-demo-nav button { flex: 0 0 auto; width: auto; margin: 0; padding-right: 15px; }
  .road-loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .road-loop article:not(:last-child)::after { display: none; }
  .road-boundary-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .road-hero { padding: 62px 0 52px; }
  .road-hero-copy h1 { font-size: clamp(2.65rem, 15vw, 4.2rem); }
  .road-hero-grid { gap: 26px; }
  .road-hero-panel { padding: 18px; }
  .road-safety-line { display: flex; line-height: 1.5; }
  .road-problem-grid, .road-ai-grid, .road-class-grid, .road-outcomes, .road-authority-grid, .road-record-grid, .road-form-grid, .road-prep-grid { grid-template-columns: 1fr; }
  .road-demo-heading, .road-view-head { display: block; }
  .road-view-head > .road-button, .road-view-head > label { width: 100%; margin-top: 14px; }
  .road-console { margin-right: -5px; margin-left: -5px; border-radius: 17px; }
  .road-console-topbar { display: block; }
  .road-console-status { justify-content: flex-start; margin-top: 12px; }
  .road-console-status > span { display: none; }
  .road-demo-main { padding: 17px 13px 22px; }
  .road-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .road-bulk { grid-template-columns: 1fr 1fr; }
  .road-bulk label:nth-child(2) { grid-column: 1 / -1; }
  .road-record-card { grid-template-columns: auto minmax(0, 1fr); }
  .road-record-card:not(.has-selection) { grid-template-columns: minmax(0, 1fr); }
  .road-card-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .road-card-actions button { flex: 1 1 120px; }
  .road-form-wide, .road-inline-form .road-form-wide, .road-prep-questions { grid-column: auto; }
  .road-filters { grid-template-columns: 1fr 1fr; }
  .road-filter-search { grid-column: 1 / -1; grid-row: auto; }
  .road-filter-search input { min-height: 44px; }
  .road-loop { grid-template-columns: 1fr; }
  .road-loop article { min-height: 0; }
  .road-loop h3 { margin-top: 22px; }
  .road-final-cta > .wrap { display: block; padding: 24px; }
  .road-final-cta .hero-actions { margin-top: 18px; }
  .road-drawer { width: 100%; border-left: 0; }
  .road-record-summary, .road-inline-form { grid-template-columns: 1fr; }
  .road-modal, .road-finish-modal { width: calc(100% - 14px); max-height: calc(100dvh - 14px); }
  .road-modal > form { max-height: calc(100dvh - 14px); overflow: auto; }
  .road-gabe-form > div { grid-template-columns: 1fr; }
  .road-followup-card { grid-template-columns: 1fr; }
  .road-followup-date { text-align: left; }
}

@media (max-width: 390px) {
  .road-bulk, .road-filters { grid-template-columns: 1fr; }
  .road-bulk label:nth-child(2), .road-filter-search { grid-column: auto; }
  .road-console-status .road-button { width: 100%; }
  .road-card-actions button { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .road-record-card, .road-button, .road-icon-button { scroll-behavior: auto; transition: none; }
}
