:root {
    --navy: #0b1b2b;
    --navy-light: #142a40;
    --accent: #ff5a1f;
    --accent-dark: #e14710;
    --text: #1c2733;
    --text-light: #5b6b7a;
    --bg: #f5f7f9;
    --white: #ffffff;
    --border: #e1e6ea;
    --radius: 10px;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.site-header {
    background: var(--navy);
    color: var(--white);
    padding: 18px 24px;
}
.header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    color: var(--white);
}
.logo span { color: var(--accent); }
nav.site-nav a {
    color: #cdd7e1;
    margin-left: 20px;
    font-size: 0.92rem;
}
nav.site-nav a:hover { color: var(--white); }

main { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }

.hero { text-align: center; margin-bottom: 36px; }
.hero h1 { font-size: 2rem; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero p { color: var(--text-light); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.vin-form {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(11,27,43,0.06);
    margin: 28px 0 8px;
}
.vin-form input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-family: var(--mono);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: transparent;
}
.vin-form button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0 26px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: background .15s;
}
.vin-form button:hover { background: var(--accent-dark); }
.form-error { color: #c0392b; font-size: 0.9rem; margin-top: 6px; }
.form-hint { color: var(--text-light); font-size: 0.85rem; margin-top: 10px; text-align: center; }

.report-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(11,27,43,0.06);
}
.report-card__head {
    background: var(--navy);
    color: var(--white);
    padding: 24px 28px;
}
.report-card__head .vin-code {
    font-family: var(--mono);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}
.report-card__head .sub { color: #a9b7c4; font-size: 0.9rem; }

table.spec-table { width: 100%; border-collapse: collapse; }
table.spec-table tr { border-bottom: 1px solid var(--border); }
table.spec-table tr:last-child { border-bottom: none; }
table.spec-table td { padding: 14px 28px; font-size: 0.95rem; }
table.spec-table td:first-child { color: var(--text-light); width: 45%; }
table.spec-table td:last-child { font-weight: 600; }

.badge {
    display: inline-block;
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
}
.badge.ok { background: #e4f7ec; color: #1d8a4c; }
.badge.warn { background: #fdeee7; color: var(--accent-dark); }
.badge.neutral { background: #eef1f4; color: var(--text-light); }

.back-link { display: block; text-align: center; margin-top: 26px; font-weight: 600; }

footer.site-footer {
    text-align: center;
    padding: 30px 24px 50px;
    color: var(--text-light);
    font-size: 0.82rem;
    max-width: 640px;
    margin: 0 auto;
}

.lang-switch { display: flex; gap: 10px; align-items: center; }
.lang-switch a { color: #a9b7c4; font-size: 0.85rem; }
.lang-switch a.active { color: var(--accent); font-weight: 700; }
