:root {
    --ink: #152238;
    --muted: #697789;
    --line: #e5eaf0;
    --paper: #ffffff;
    --soft: #f5f8fb;
    --brand: #1769e0;
    --brand-dark: #0d4fb5;
    --mint: #dff7ed;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(21, 34, 56, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header { width: min(1180px, calc(100% - 48px)); margin: auto; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 850; letter-spacing: -.7px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: white; background: var(--brand); font-size: 1.2rem; font-weight: 900; }
.brand-accent { color: var(--brand); }
.desktop-nav { display: flex; gap: 28px; color: var(--muted); font-size: .94rem; font-weight: 650; }
.desktop-nav a:hover, .text-link:hover { color: var(--brand); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; padding: 11px 17px; font: inherit; font-size: .91rem; font-weight: 750; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 7px 18px rgba(23, 105, 224, .18); }
.button-primary:hover { background: var(--brand-dark); }
.button-light { background: white; border-color: var(--line); }
.button-large { padding: 14px 21px; }
.hero { width: min(1180px, calc(100% - 48px)); margin: 26px auto 58px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; align-items: center; }
.hero-copy { padding: 26px 0 30px; }
.eyebrow { margin: 0 0 11px; color: var(--brand); font-size: .73rem; font-weight: 850; letter-spacing: 1.6px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 5vw, 4.45rem); line-height: 1.04; letter-spacing: -2.8px; }
h1 span { color: var(--brand); }
.hero-text { max-width: 490px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 28px 0 24px; }
.text-link { color: var(--brand); font-weight: 750; font-size: .92rem; }
.trust-line { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .82rem; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: #19ad78; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual > img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; }
.floating-note { position: absolute; left: -24px; bottom: 25px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid rgba(229,234,240,.8); border-radius: 15px; background: white; box-shadow: var(--shadow); }
.note-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--mint); color: #087c55; font-weight: 900; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: .85rem; }
.floating-note small { margin-top: 2px; color: var(--muted); font-size: .76rem; }
.search-panel { width: min(1180px, calc(100% - 48px)); margin: 0 auto 76px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.search-heading h2, .section-heading h2 { margin-bottom: 6px; font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.9px; }
.search-heading .eyebrow { margin-bottom: 4px; }
.search-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 13px; align-items: end; margin-top: 21px; }
.search-grid label { display: grid; gap: 7px; color: #425066; font-size: .78rem; font-weight: 750; }
input, select { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #dfe5ec; border-radius: 10px; color: var(--ink); background: white; font: inherit; font-size: .9rem; outline: none; }
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23,105,224,.1); }
.search-button { min-height: 47px; white-space: nowrap; }
.search-message { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }
.inventory-section, .how-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-subtitle { margin: 0; color: var(--muted); font-size: .93rem; }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.car-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; transition: transform .18s ease, box-shadow .18s ease; }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.car-card[hidden] { display: none; }
.car-image { position: relative; display: block; overflow: hidden; background: #e9eef4; }
.car-image img { width: 100%; height: 215px; object-fit: cover; transition: transform .3s ease; }
.car-card:hover .car-image img { transform: scale(1.035); }
.image-tag { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 7px; color: var(--ink); background: rgba(255,255,255,.94); font-size: .68rem; font-weight: 800; }
.heart { position: absolute; top: 10px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.94); font-size: 1.3rem; }
.car-content { padding: 17px; }
.car-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; color: var(--muted); font-size: .72rem; }
.car-meta span + span::before { content: "·"; margin-right: 8px; color: #aab3bf; }
.car-content h3 { margin-bottom: 7px; font-size: 1.05rem; letter-spacing: -.25px; }
.car-location { margin-bottom: 17px; color: var(--muted); font-size: .82rem; }
.car-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.car-price { font-size: 1.13rem; letter-spacing: -.3px; }
.small-link { color: var(--brand); font-size: .77rem; font-weight: 800; white-space: nowrap; }
.demo-notice { margin: 18px 0 0; color: #7c8795; font-size: .76rem; }
.no-results { padding: 24px; border: 1px dashed #c9d4e0; border-radius: 13px; color: var(--muted); text-align: center; }
.how-section { padding: 15px 0 10px; }
.centered { justify-content: center; text-align: center; }
.centered .section-subtitle { max-width: 620px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.step-card { position: relative; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: var(--soft); }
.step-number { color: #a4afbd; font-size: .75rem; font-weight: 900; letter-spacing: 1px; }
.step-icon { display: grid; place-items: center; width: 47px; height: 47px; margin: 20px 0 17px; border-radius: 13px; color: var(--brand); background: #e5efff; font-size: 1.5rem; }
.step-card h3 { margin-bottom: 7px; }
.step-card p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.sell-banner { width: min(1180px, calc(100% - 48px)); margin: 0 auto 55px; padding: 35px 38px; display: flex; justify-content: space-between; align-items: center; gap: 25px; border-radius: 22px; color: white; background: linear-gradient(115deg, #135ac7, #1979ed); }
.sell-banner .eyebrow { color: #c7ddff; }
.sell-banner h2 { margin-bottom: 7px; font-size: 1.8rem; letter-spacing: -.8px; }
.sell-banner p:not(.eyebrow) { max-width: 600px; margin-bottom: 0; color: #e1edff; font-size: .9rem; }
.button-white { flex-shrink: 0; color: var(--brand-dark); background: white; }
.account-note { width: min(1180px, calc(100% - 48px)); margin: 0 auto 60px; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.account-note h2 { margin-bottom: 5px; font-size: 1.2rem; }
.account-note p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.status-pill { padding: 7px 11px; border-radius: 999px; color: #735400; background: #fff3c4; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.site-footer { padding: 27px 24px 35px; text-align: center; background: var(--soft); }
.footer-brand { justify-content: center; }
.site-footer p { margin: 12px 0 4px; color: var(--muted); font-size: .86rem; }
.site-footer small { color: #8a95a3; font-size: .72rem; }
@media (max-width: 900px) {
    .hero { gap: 28px; }
    .hero-visual > img { height: 360px; }
    .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-button { width: 100%; }
    .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .site-header { width: calc(100% - 30px); min-height: 70px; gap: 10px; }
    .brand { font-size: 1.17rem; }
    .brand-mark { width: 32px; height: 32px; }
    .desktop-nav { display: none; }
    .header-actions { gap: 6px; }
    .header-actions .button { padding: 9px 10px; font-size: .78rem; }
    .hero { width: calc(100% - 30px); margin: 15px auto 38px; grid-template-columns: 1fr; gap: 22px; }
    .hero-copy { padding: 10px 0 0; }
    h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); letter-spacing: -1.8px; }
    .hero-text { font-size: .98rem; }
    .hero-actions { gap: 15px; margin: 22px 0 18px; }
    .hero-visual > img { height: 255px; border-radius: 20px; }
    .floating-note { left: 12px; bottom: 12px; padding: 10px 12px; }
    .floating-note strong { font-size: .75rem; }
    .floating-note small { font-size: .68rem; }
    .search-panel, .inventory-section, .how-section, .sell-banner, .account-note { width: calc(100% - 30px); }
    .search-panel { margin-bottom: 48px; padding: 20px 15px; border-radius: 17px; }
    .search-grid { grid-template-columns: 1fr; gap: 12px; }
    .inventory-section, .how-section { margin-bottom: 54px; }
    .section-heading { align-items: start; }
    .section-heading > .text-link { margin-top: 8px; white-space: nowrap; }
    .section-subtitle { font-size: .85rem; }
    .car-grid { grid-template-columns: 1fr; gap: 15px; }
    .car-image img { height: 220px; }
    .steps-grid { grid-template-columns: 1fr; gap: 12px; }
    .step-card { padding: 20px; }
    .step-icon { margin: 13px 0; }
    .sell-banner { padding: 25px 21px; align-items: start; flex-direction: column; border-radius: 17px; }
    .button-white { width: 100%; }
    .account-note { align-items: start; flex-direction: column; }
}
