body[data-page="home"] {
    background: #f2f6fb;
    --blue: #145ac1;
    --border: #dbe5f0;
}

body[data-page="home"] .nav {
    max-width: 1180px;
}

body[data-page="home"] main {
    max-width: 1180px;
    padding-top: 28px;
}

.hero {
    display: grid;
    align-content: center;
    min-height: 340px;
    margin: 0;
    padding: 42px clamp(24px, 5vw, 64px) 84px;
    border-radius: 20px;
    text-align: left;
    color: #fff;
    background: linear-gradient(90deg, #081527 0%, #081527ab 40%, transparent 72%),
        #0b192d url("vehicle-history-hero.webp") center / cover no-repeat;
}

.hero .eyebrow {
    margin: 0 0 12px;
    color: #a9c8f7;
    letter-spacing: .14em;
}

.hero h1 {
    max-width: 540px;
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.3vw, 3.55rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero p:last-child {
    max-width: 34ch;
    margin: 0;
    color: #d5e2f4;
    font-size: clamp(.95rem, 1.7vw, 1.1rem);
}

.lookup-panel {
    position: relative;
    max-width: 780px;
    margin: -44px auto 0;
    padding: clamp(18px, 3.5vw, 32px);
    border-radius: 18px;
    box-shadow: 0 14px 34px #0c24461b;
}

#vinForm label {
    margin-top: 0;
    font-size: .95rem;
}

#vinForm input {
    min-height: 52px;
    background: #f8fafd;
    font-family: ui-monospace, Consolas, monospace;
}

#vinForm button {
    min-width: 124px;
    min-height: 52px;
}

.vin-hint {
    margin: 9px 0 0;
    color: #526982;
    font-size: .82rem;
}

.lookup-panel #carName {
    margin-bottom: 4px;
    font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.lookup-panel #vinText {
    margin: 0 0 16px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: .9rem;
}

.lookup-panel .report-grid {
    align-items: stretch;
    gap: 12px;
}

.lookup-panel .report-card {
    padding: 16px;
    border-radius: 14px;
    background: #f7faff;
}

.lookup-panel .report-price {
    font-variant-numeric: tabular-nums;
}

.lookup-panel .report-disclaimer {
    background: #fffaf0;
}

@media (max-width: 768px) {
    body[data-page="home"] main { padding-top: 16px; }
    .hero {
        align-content: start;
        min-height: 300px;
        padding: 24px 22px 96px;
        border-radius: 16px;
        background-image: linear-gradient(180deg, #081527 0%, #081527d9 36%, #08152718 85%),
            url("vehicle-history-hero.webp");
        background-position: center, 70% bottom;
    }
    .hero p:last-child { max-width: 32ch; }
    .lookup-panel { margin: -38px 8px 0; }
    .lookup-panel .report-card { padding: 12px 8px; }
}

.footinfo {
    width: min(100%, 1060px);
    margin: 0 auto 16px;
    padding-bottom: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    border-bottom: 1px solid var(--border);
    color: #334e6c;
    overflow-wrap: anywhere;
}

.footinfo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 8px;
}

.footinfo-item strong { color: #18334e; font-size: .9rem; }
.footinfo-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf3ff;
    color: #145ac1;
    font-size: 19px;
}
.footinfo-icon::before, .footinfo-icon::after { box-sizing: border-box; position: absolute; }
.icon-card::before, .icon-email::before, .icon-social::before {
    content: "";
    width: 19px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 3px;
}
.icon-card::after { content: ""; width: 16px; border-top: 2px solid currentColor; top: 14px; }
.icon-email::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.icon-social::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 0 2px 2px; background: #eaf3ff; bottom: 7px; left: 11px; transform: skewY(-28deg); }
@media (max-width: 600px) {
    .footinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
