:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eaf2ff;
  background: #07111f;
  font-synthesis: none;
  --bg: #07111f;
  --bg-2: #0b1729;
  --panel: rgba(16, 31, 51, .82);
  --panel-solid: #102039;
  --text: #eef5ff;
  --muted: #93a4bd;
  --line: rgba(151, 171, 201, .18);
  --accent: #35c77a;
  --accent-strong: #1689ee;
  --success: #35c77a;
  --warning: #f4b94a;
  --danger: #ff626d;
  --plate: #f5c400;
  --plate-text: #111;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

:root[data-theme="light"] {
  color: #152033;
  background: #f4f7fb;
  --bg: #f4f7fb;
  --bg-2: #eaf0f7;
  --panel: rgba(255,255,255,.92);
  --panel-solid: #fff;
  --text: #152033;
  --muted: #62728a;
  --line: rgba(31, 51, 82, .13);
  --accent: #1689ee;
  --accent-strong: #0871cc;
  --shadow: 0 24px 70px rgba(35, 58, 88, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 8%, rgba(22, 137, 238, .16), transparent 28rem),
    radial-gradient(circle at 10% 34%, rgba(53, 199, 122, .08), transparent 24rem),
    var(--bg);
  color: var(--text);
}
button, input { font: inherit; }
button { cursor: pointer; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { height: 88px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:12px; color:var(--text); text-decoration:none; }
.brand-logo { width:42px; height:42px; display:block; filter:drop-shadow(0 10px 22px rgba(22,137,238,.18)); }
.brand > span:last-child { display:grid; grid-template-columns:auto auto; align-items:baseline; column-gap:5px; }
.brand strong { font-size:17px; letter-spacing:-.03em; }
.brand small { font-weight:800; color:var(--accent); font-size:10px; }
.icon-button { border:1px solid var(--line); background:var(--panel); color:var(--text); width:42px; height:42px; border-radius:12px; }
.hero { min-height:660px; padding:96px 0 70px; display:flex; flex-direction:column; align-items:center; text-align:center; }
.eyebrow, .data-label { font-size:11px; font-weight:800; letter-spacing:.18em; color:var(--accent); }
.hero h1 { margin:18px 0 20px; font-size:clamp(42px,6.6vw,76px); line-height:.99; letter-spacing:-.065em; max-width:850px; }
.hero h1 span { color:#8fa2bd; }
.hero-copy > p { color:var(--muted); font-size:18px; max-width:650px; line-height:1.7; margin:0 auto; }
.search-card { width:min(790px,100%); margin-top:48px; text-align:left; background:var(--panel); border:1px solid var(--line); border-radius:22px; padding:24px; box-shadow:var(--shadow); backdrop-filter:blur(18px); }
.search-card label { display:block; font-size:13px; font-weight:700; margin-bottom:11px; }
.search-row { display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:12px; }
.plate-wrap { height:68px; display:flex; border-radius:13px; overflow:hidden; background:var(--plate); border:3px solid rgba(0,0,0,.75); box-shadow:inset 0 0 0 2px rgba(255,255,255,.2); }
.plate-strip { width:50px; display:grid; place-items:center; color:#fff; background:#1456a0; font-size:13px; font-weight:800; }
.plate-wrap input { min-width:0; flex:1; border:0; outline:0; background:transparent; color:var(--plate-text); text-align:center; font-family:"Arial Narrow",Impact,sans-serif; font-size:35px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.plate-wrap input::placeholder { color:rgba(0,0,0,.34); opacity:1; }
.primary-button { border:0; border-radius:13px; background:linear-gradient(135deg,var(--accent),var(--accent-strong)); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; gap:12px; transition:.2s ease; }
.primary-button:hover { transform:translateY(-1px); box-shadow:0 12px 30px rgba(32,126,237,.24); }
.primary-button:disabled { opacity:.65; cursor:wait; transform:none; }
.form-meta { margin-top:12px; display:flex; justify-content:space-between; color:var(--muted); font-size:12px; }
.secure-note::before { content:"●"; color:var(--success); margin-right:7px; }
.form-error { margin-top:14px; padding:12px 14px; border:1px solid rgba(255,98,109,.25); border-radius:10px; background:rgba(255,98,109,.08); color:#ff8f97; font-size:13px; }
.trust-row { margin-top:30px; display:flex; flex-wrap:wrap; gap:12px 28px; justify-content:center; color:var(--muted); font-size:13px; }
.trust-row span::first-letter { color:var(--success); }
.results { padding:50px 0 90px; max-width:920px; margin:0 auto; }
.result-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; }
.text-button { border:0; padding:0; background:transparent; color:var(--muted); font-weight:700; }
.vehicle-summary { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; padding:34px 0; }
.vehicle-identity { display:flex; align-items:center; gap:20px; min-width:0; }
.manufacturer-mark { width:92px; height:92px; flex:0 0 92px; display:grid; place-items:center; border:1px solid var(--line); border-radius:22px; background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02)); box-shadow:inset 0 1px 0 rgba(255,255,255,.05); }
.manufacturer-mark img { width:58px; height:58px; object-fit:contain; filter:brightness(0) invert(1); opacity:.94; }
:root[data-theme="light"] .manufacturer-mark img { filter:brightness(0); }
.manufacturer-mark span { font-size:24px; font-weight:900; letter-spacing:-.05em; color:var(--muted); }
.vehicle-make { margin:0 0 11px; font-size:22px; font-weight:800; letter-spacing:.02em; }
.display-plate { display:inline-block; background:var(--plate); color:#111; border:3px solid #151515; border-radius:8px; padding:8px 18px 7px; font-family:"Arial Narrow",Impact,sans-serif; font-size:30px; font-weight:900; letter-spacing:.08em; box-shadow:inset 0 0 0 1px rgba(255,255,255,.3); }
.summary-meta { color:var(--muted); font-size:14px; display:flex; gap:9px; align-items:center; padding-bottom:8px; }
.dot { opacity:.5; }
.status-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.status-card { min-height:128px; display:flex; align-items:center; gap:18px; padding:24px; border:1px solid var(--line); background:var(--panel); border-radius:18px; }
.status-card.good { border-color:rgba(53,199,122,.24); }
.status-card.warning { border-color:rgba(244,185,74,.28); }
.status-card.bad { border-color:rgba(255,98,109,.28); }
.status-icon { width:48px; height:48px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; font-weight:900; background:rgba(53,199,122,.11); color:var(--success); }
.status-card.warning .status-icon { background:rgba(244,185,74,.11); color:var(--warning); }
.status-card.bad .status-icon { background:rgba(255,98,109,.11); color:var(--danger); }
.status-label { display:block; color:var(--muted); letter-spacing:.12em; font-size:10px; font-weight:800; margin-bottom:6px; }
.status-card strong { display:block; font-size:19px; }
.status-card small { display:block; color:var(--muted); margin-top:5px; }
.details-card { margin-top:16px; padding:28px; border:1px solid var(--line); background:var(--panel); border-radius:18px; }
.card-title-row { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; padding-bottom:24px; border-bottom:1px solid var(--line); }
.card-title-row h2 { margin:7px 0 0; font-size:22px; }
.updated-badge { font-size:11px; font-weight:800; color:var(--success); background:rgba(53,199,122,.1); padding:7px 10px; border-radius:999px; }
.details-sections { display:grid; gap:0; }
.detail-section { padding:25px 0 8px; border-bottom:1px solid var(--line); }
.detail-section:last-child { border-bottom:0; padding-bottom:0; }
.detail-section h3 { margin:0 0 8px; color:var(--text); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.details-grid { display:grid; grid-template-columns:1fr 1fr; margin:0; }
.detail-item { display:flex; justify-content:space-between; gap:20px; padding:15px 8px 15px 0; border-bottom:1px solid var(--line); }
.detail-item:nth-last-child(-n+2) { border-bottom-color:transparent; }
.detail-item:nth-child(odd) { margin-right:22px; }
.detail-item dt { color:var(--muted); font-size:13px; }
.detail-item dd { margin:0; font-size:13px; font-weight:800; text-align:right; }
.notice-card { display:flex; align-items:flex-start; gap:14px; margin-top:16px; padding:18px 20px; border:1px solid var(--line); border-radius:14px; color:var(--muted); background:rgba(110,130,160,.05); font-size:12px; line-height:1.6; }
.notice-icon { width:24px; height:24px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; background:rgba(76,167,255,.12); color:var(--accent); font-weight:800; }
.notice-card p { margin:2px 0 0; }
footer { border-top:1px solid var(--line); padding:34px 0 44px; display:flex; justify-content:space-between; gap:40px; color:var(--muted); font-size:11px; line-height:1.6; }
.footer-brand { display:flex; flex-direction:column; min-width:190px; }
.footer-brand strong { color:var(--text); font-size:13px; }
footer p { max-width:650px; margin:0; text-align:right; }
@media (max-width:720px) {
  .page-shell { width:min(100% - 24px,1180px); }
  .site-header { height:72px; }
  .hero { padding-top:70px; min-height:610px; }
  .hero-copy > p { font-size:15px; }
  .search-card { padding:16px; border-radius:18px; }
  .search-row { grid-template-columns:1fr; }
  .primary-button { height:55px; }
  .form-meta { gap:10px; align-items:flex-start; flex-direction:column; }
  .vehicle-summary { align-items:flex-start; flex-direction:column; }
  .vehicle-identity { width:100%; }
  .manufacturer-mark { width:74px; height:74px; flex-basis:74px; border-radius:18px; }
  .manufacturer-mark img { width:46px; height:46px; }
  .display-plate { font-size:25px; }
  .summary-meta { padding-bottom:0; }
  .status-grid, .details-grid { grid-template-columns:1fr; }
  .detail-item:nth-child(odd) { margin-right:0; }
  .detail-item:nth-last-child(-n+2) { border-bottom:1px solid var(--line); }
  .detail-item:last-child { border-bottom-color:transparent; }
  footer { flex-direction:column; gap:14px; }
  footer p { text-align:left; }
}

.footer-link, .text-link { color:var(--text); text-decoration-color:var(--line); text-underline-offset:3px; }
.footer-link:hover, .text-link:hover { color:var(--accent); }
.legal-page { max-width:820px; margin:0 auto; padding:88px 0 100px; }
.legal-page h1, .not-found h1 { margin:14px 0 18px; font-size:clamp(38px,6vw,64px); letter-spacing:-.055em; line-height:1; }
.legal-lead, .not-found p { color:var(--muted); font-size:17px; line-height:1.75; }
.legal-card { margin:38px 0 28px; padding:30px; border:1px solid var(--line); border-radius:18px; background:var(--panel); }
.legal-card h2 { margin:28px 0 8px; font-size:18px; }
.legal-card h2:first-child { margin-top:0; }
.legal-card p { margin:0; color:var(--muted); line-height:1.75; font-size:14px; }
.not-found { min-height:calc(100vh - 88px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; max-width:760px; }
.primary-link { display:inline-flex; margin-top:20px; padding:14px 18px; border-radius:12px; background:linear-gradient(135deg,var(--accent),var(--accent-strong)); color:#fff; text-decoration:none; font-weight:800; }
