:root {
    --ink: #142033;
    --muted: #64748b;
    --line: #dce4ee;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --field: #ffffff;
    --soft: #f5f8fc;
    --blue: #064be0;
    --green: #13a538;
    --red: #de261d;
    --gold: #d99717;
    --nav-bg: rgba(255, 255, 255, .94);
    --nav-pill: #eef5ff;
    --footer-bg: #08111d;
    --footer-ink: #e8f1ff;
    --footer-muted: #9fb0c8;
    --radius: 8px;
    --shadow: 0 18px 45px rgba(20, 32, 51, .12);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #eef5ff;
    --muted: #9fb0c8;
    --line: #243447;
    --surface: #0e1824;
    --surface-elevated: #132233;
    --field: #0b1420;
    --soft: #07101a;
    --blue: #72a8ff;
    --green: #42d76a;
    --red: #ff766d;
    --gold: #f0bd4f;
    --nav-bg: rgba(7, 16, 26, .92);
    --nav-pill: rgba(114, 168, 255, .14);
    --footer-bg: #050b12;
    --footer-ink: #f2f7ff;
    --footer-muted: #91a4bd;
    --shadow: 0 18px 45px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

button, input, select { font: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 82px;
    background: var(--nav-bg);
    border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 12%);
    backdrop-filter: blur(18px);
}

.site-header-inner {
    width: min(1240px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand,
.site-nav,
.hero-actions,
.listing-row,
.stats,
.badge-row,
.footer-brand,
.header-actions,
.footer-badges {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-elevated);
    box-shadow: 0 10px 26px rgba(6, 75, 224, .12);
}

.brand-text {
    display: grid;
    gap: 1px;
    line-height: 1.1;
}

.brand-text strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
}

.brand-text small {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.site-nav {
    justify-content: center;
    gap: 4px;
    padding: 6px;
    border: 1px solid color-mix(in srgb, var(--line), transparent 18%);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface), transparent 16%);
}

.site-nav a {
    min-height: 38px;
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.site-nav a:hover {
    background: var(--nav-pill);
    color: var(--blue);
}

.header-actions {
    gap: 10px;
    justify-content: flex-end;
}

.header-link,
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 11px 14px;
    color: var(--ink);
    background: var(--surface-elevated);
    font-weight: 900;
    cursor: pointer;
}

.theme-toggle {
    min-width: 66px;
}

.header-cta,
.primary-button,
.secondary-button,
.filter-bar button,
.research-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 18px;
    font-weight: 900;
    cursor: pointer;
}

.header-cta,
.primary-button,
.filter-bar button,
.research-form button {
    background: var(--blue);
    color: white;
    box-shadow: 0 10px 26px rgba(6, 75, 224, .22);
}

.primary-button:hover,
.header-cta:hover,
.filter-bar button:hover,
.research-form button:hover {
    background: #043db8;
}

.secondary-button {
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .72);
}

.hero {
    position: relative;
    min-height: clamp(560px, 78svh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: white;
    background:
        linear-gradient(90deg, rgba(5, 11, 28, .88) 0%, rgba(5, 11, 28, .62) 52%, rgba(5, 11, 28, .22) 100%),
        var(--hero-image) center/cover,
        url("generated/marketplace-hero.png") center/cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(5, 11, 28, .72), transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 118px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
    gap: 34px;
    align-items: end;
}

.hero-copy { max-width: 760px; }

.hero h1,
.page-title h1 {
    margin: 8px 0 16px;
    font-size: clamp(42px, 5vw, 78px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p {
    max-width: 700px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
}

.hero-actions { gap: 12px; flex-wrap: wrap; }

.hero-check-card,
.sell-trust-panel,
.phone-preview {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 52px rgba(0, 0, 0, .22);
}

.hero-check-card h2,
.sell-trust-panel h2,
.phone-preview h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.12;
}

.hero-check-card label,
.inline-check-form label,
.research-order-panel label {
    display: grid;
    gap: 7px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 850;
}

.hero-check-card input,
.inline-check-form input,
.inline-check-form select,
.research-order-panel input,
.research-order-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--ink);
    background: var(--field);
}

.split-actions,
.detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.split-actions button,
.inline-check-form button,
.research-order-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 16px;
    color: #fff;
    background: var(--green);
    font-weight: 950;
    cursor: pointer;
}

.split-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #fff;
    font-weight: 900;
}

.dark-text {
    color: var(--ink);
}

.hero-rail {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .22);
    background: rgba(6, 12, 30, .62);
    backdrop-filter: blur(16px);
}

.hero-rail a {
    display: grid;
    gap: 2px;
    min-height: 78px;
    padding: 16px clamp(18px, 4vw, 42px);
    border-right: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .78);
    font-weight: 750;
}

.hero-rail span {
    color: white;
    font-size: 24px;
    font-weight: 950;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.research-band .eyebrow {
    color: #83f39c;
}

.tool-hub,
.checks-grid,
.research-workspace {
    width: min(1180px, calc(100% - 40px));
    margin: 56px auto;
}

.tool-hub {
    position: relative;
}

.visual-tool-hub {
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 245, 255, .88)),
        url("generated/tool-icons-pack.png") top right/300px auto no-repeat;
}

:root[data-theme="dark"] .visual-tool-hub,
:root[data-theme="dark"] .soft-hub,
:root[data-theme="dark"] .research-order-panel,
:root[data-theme="dark"] .provider-profile {
    background:
        linear-gradient(135deg, rgba(19, 34, 51, .96), rgba(9, 18, 29, .94)),
        url("generated/tool-icons-pack.png") top right/300px auto no-repeat;
}

.visual-tool-hub > * {
    position: relative;
    z-index: 1;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tool-card,
.check-panel,
.research-order-panel,
.research-preview-panel {
    display: grid;
    gap: 16px;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-elevated);
    box-shadow: 0 10px 30px rgba(20, 32, 51, .06);
}

.tool-card {
    align-content: space-between;
    overflow: hidden;
    position: relative;
}

.tool-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue);
}

.tool-card.green::before { background: var(--green); }
.tool-card.gold::before { background: var(--gold); }
.tool-card.red::before { background: var(--red); }

.tool-card h3,
.check-panel h2,
.research-order-panel h2,
.research-preview-panel h2,
.sell-trust-panel h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.12;
}

.tool-card p,
.check-panel p,
.research-preview-panel p,
.sell-trust-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.56;
}

.tool-action,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: fit-content;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--blue);
    background: var(--nav-pill);
    font-weight: 950;
}

.mini-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mini-tool-grid a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--surface-elevated);
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(20, 32, 51, .05);
}

.soft-hub {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(238, 245, 255, .84), rgba(255, 255, 255, .96));
}

.checks-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(240px, .7fr));
    gap: 18px;
    align-items: stretch;
}

.primary-check {
    grid-row: span 2;
    color: #fff;
    background:
        linear-gradient(140deg, rgba(20, 32, 51, .96), rgba(6, 75, 224, .9)),
        url("generated/checks-verification.png") center/cover;
}

.primary-check .eyebrow,
.primary-check p,
.primary-check label {
    color: rgba(255, 255, 255, .82);
}

.primary-check h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
}

.camera-panel {
    background:
        radial-gradient(circle at 80% 0%, rgba(19, 165, 56, .12), transparent 34%),
        var(--surface-elevated);
}

.scan-frame {
    display: grid;
    place-items: center;
    min-height: 132px;
    border: 2px solid rgba(19, 165, 56, .48);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, transparent 48%, rgba(19, 165, 56, .22) 49%, rgba(19, 165, 56, .22) 51%, transparent 52%),
        linear-gradient(180deg, #1f2937, #0f172a);
}

.scan-frame span {
    padding: 9px 14px;
    border-radius: 4px;
    color: #111827;
    background: #f8fafc;
    font-size: 22px;
    font-weight: 950;
}

.qr-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    width: 132px;
    height: 132px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--field);
}

.qr-preview i {
    display: block;
    border-radius: 3px;
    background: var(--ink);
}

.inline-check-form {
    display: grid;
    gap: 12px;
    align-self: end;
}

.inline-check-form.compact {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.check-result-panel {
    display: grid;
    gap: 12px;
    margin-top: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius);
    color: var(--ink);
    background: color-mix(in srgb, var(--surface-elevated), transparent 8%);
}

.primary-check .check-result-panel {
    color: #fff;
    background: rgba(5, 11, 28, .34);
}

.check-result-panel[hidden] {
    display: none;
}

.check-result-status,
.check-result-loading {
    width: fit-content;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 950;
}

.check-result-status.trusted {
    color: #0c6425;
    background: #dff9e6;
}

.check-result-status.warn,
.check-result-loading {
    color: #8a5405;
    background: #fff4d8;
}

.check-result-panel p {
    margin: 0;
    color: inherit;
}

.check-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.check-result-grid div {
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--line), transparent 20%);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface), transparent 8%);
}

.primary-check .check-result-grid div {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .1);
}

.check-result-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.primary-check .check-result-grid span {
    color: rgba(255, 255, 255, .7);
}

.check-result-grid strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.trust-band {
    width: 100%;
    margin: 0;
    padding: 42px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.trust-band > div,
.section-grid,
.content-grid,
.page-title,
.detail-hero,
.detail-columns,
.vehicle-360-panel,
.provider-profile,
.research-band,
.provider-band,
.feature-band {
    width: min(1180px, calc(100% - 40px));
    margin: 56px auto;
}

.trust-band > div {
    margin: 0 auto;
}

.trust-band > div:first-child {
    display: grid;
    grid-template-columns: .55fr 1fr;
    gap: 28px;
    align-items: end;
    margin-bottom: 22px;
}

.trust-band h2,
.section-heading h2,
.research-band h2,
.provider-band h2,
.feature-band h3,
.detail-panel h1,
.provider-profile h1 {
    margin: 6px 0;
    letter-spacing: 0;
}

.trust-band h2,
.research-band h2,
.provider-band h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-grid div,
.feature-band > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-elevated);
}

.trust-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.trust-grid span,
.feature-band p,
.provider-band p,
.page-title p,
.muted {
    color: var(--muted);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: clamp(28px, 3vw, 38px);
}

.section-heading a {
    color: var(--blue);
    font-weight: 900;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 18px;
}

.listing-card,
.provider-card,
.detail-panel,
.detail-columns > div,
.vehicle-360-panel {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(20, 32, 51, .06);
}

.listing-card {
    transition: transform .18s ease, box-shadow .18s ease;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.listing-image,
.detail-gallery,
.vehicle-360-preview,
.provider-band-image {
    position: relative;
    display: grid;
    place-items: end start;
    min-height: 214px;
    background:
        linear-gradient(180deg, rgba(20, 32, 51, .08), rgba(20, 32, 51, .42)),
        var(--image) center/cover,
        url("generated/marketplace-hero.png") center/cover;
    color: white;
    font-weight: 900;
    text-align: left;
}

.image-fallback,
.detail-gallery span {
    margin: 14px;
    padding: 7px 10px;
    border-radius: var(--radius);
    background: rgba(5, 11, 28, .68);
    color: white;
    font-size: 12px;
}

.vehicle-360-panel {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    align-items: center;
}

.vehicle-360-panel h2 {
    margin: 6px 0;
    letter-spacing: 0;
}

.vehicle-360-panel p {
    color: var(--muted);
    line-height: 1.58;
}

.vehicle-360-preview {
    min-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
}

.vehicle-360-preview span {
    margin: 14px;
    padding: 7px 10px;
    border-radius: var(--radius);
    background: rgba(5, 11, 28, .72);
    color: white;
    font-size: 12px;
}

.listing-body { padding: 16px; }

.listing-row,
.badge-row {
    gap: 8px;
    flex-wrap: wrap;
}

.listing-row {
    justify-content: space-between;
}

.listing-title {
    display: block;
    margin: 12px 0 8px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
}

.price,
.detail-price {
    color: var(--green);
    font-size: 22px;
    font-weight: 950;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.badge.trusted {
    background: #dff9e6;
    color: #13732d;
}

.badge.warn {
    background: #fff4d8;
    color: #9a600b;
}

.badge.premium {
    background: #eef5ff;
    color: var(--blue);
}

.stats {
    margin-top: 12px;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    flex-wrap: wrap;
}

.stats.large {
    font-size: 16px;
    font-weight: 800;
}

.research-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius);
    color: white;
    background:
        linear-gradient(110deg, rgba(6, 75, 224, .94), rgba(20, 32, 51, .94)),
        url("generated/research-intelligence.png") right center/cover no-repeat;
    box-shadow: var(--shadow);
}

.research-workspace {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    gap: 20px;
    align-items: stretch;
}

.research-order-panel {
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(238, 245, 255, .88)),
        url("generated/marketplace-hero.png") bottom right/82% auto no-repeat;
}

.research-order-panel label {
    color: var(--ink);
}

.research-order-panel button {
    background: var(--blue);
}

.price-callout {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(19, 165, 56, .28);
    border-radius: var(--radius);
    background: rgba(19, 165, 56, .08);
}

.price-callout strong {
    color: var(--green);
    font-size: 28px;
    line-height: 1;
}

.price-callout span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.research-preview-panel {
    color: #fff;
    background:
        linear-gradient(145deg, rgba(20, 32, 51, .96), rgba(4, 61, 184, .88)),
        url("generated/research-intelligence.png") right center/cover no-repeat;
}

.research-preview-panel .eyebrow {
    color: #83f39c;
}

.research-preview-panel h2 {
    max-width: 640px;
    color: #fff;
    font-size: clamp(32px, 4vw, 56px);
}

.signal-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.signal-list span {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
}

.research-band p {
    max-width: 680px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.58;
}

.research-form,
.filter-bar {
    display: grid;
    gap: 12px;
}

.research-form {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
}

.research-form input,
.research-form select,
.filter-bar input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
}

.filter-bar {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 24px;
    grid-template-columns: minmax(180px, 1.5fr) minmax(130px, .7fr) minmax(130px, .7fr) auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 10px 30px rgba(20, 32, 51, .06);
}

.page-title {
    padding: 52px 0 8px;
}

.page-title p {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.55;
}

.content-grid {
    margin-top: 24px;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.provider-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding: 16px;
}

.provider-avatar,
.provider-hero-mark {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--green));
}

.provider-avatar strong,
.provider-hero-mark strong {
    font-size: 20px;
    font-weight: 950;
}

.provider-avatar span,
.provider-hero-mark span {
    font-size: 12px;
    font-weight: 850;
}

.provider-band {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    min-height: 340px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
}

.provider-band-image {
    min-height: 340px;
    background:
        linear-gradient(180deg, rgba(20, 32, 51, .05), rgba(20, 32, 51, .28)),
        url("generated/service-provider.png") center/cover;
}

.provider-band-copy {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 14px;
    padding: 36px;
}

.provider-band p {
    max-width: 620px;
    line-height: 1.6;
}

.modern-title h1 {
    max-width: 980px;
}

.sell-hero,
.app-hero {
    min-height: clamp(560px, 74svh, 720px);
}

.sell-trust-panel p,
.phone-preview p {
    color: rgba(255, 255, 255, .82);
}

.plate-demo {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .14);
}

.plate-demo strong {
    width: fit-content;
    padding: 8px 14px;
    border-radius: 4px;
    color: #0f172a;
    background: #fff;
    font-size: 26px;
    font-weight: 950;
}

.plate-demo span {
    color: #83f39c;
    font-weight: 900;
}

.phone-preview {
    justify-self: end;
    width: min(100%, 360px);
    padding: 14px;
}

.phone-screen {
    min-height: 520px;
    display: grid;
    align-content: end;
    gap: 16px;
    padding: 24px;
    border: 10px solid rgba(255, 255, 255, .3);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(6, 75, 224, .12), rgba(20, 32, 51, .9)),
        url("generated/checks-verification.png") center/cover;
}

.phone-screen h2 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1.02;
}

.phone-screen p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.5;
}

.phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.phone-grid span {
    display: grid;
    place-items: center;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(255, 255, 255, .13);
    font-weight: 900;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 20px;
    align-items: stretch;
}

.detail-gallery {
    min-height: 540px;
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-panel {
    padding: 24px;
}

.detail-panel p {
    color: var(--muted);
    line-height: 1.58;
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0;
}

.spec-grid div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface-elevated), var(--soft) 20%);
}

.spec-grid dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.spec-grid dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.detail-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.detail-columns > div {
    padding: 22px;
}

.provider-profile {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(238, 245, 255, .96), rgba(255, 255, 255, .96)),
        url("generated/service-provider.png") right center/contain no-repeat;
    box-shadow: var(--shadow);
}

.provider-hero-mark {
    width: 132px;
    height: 132px;
}

.feature-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-band h3 {
    font-size: 20px;
}

.feature-band p {
    line-height: 1.55;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 44px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
    background: var(--surface-elevated);
}

.site-footer {
    margin-top: 64px;
    color: var(--footer-muted);
    background:
        linear-gradient(135deg, rgba(6, 75, 224, .18), transparent 36%),
        var(--footer-bg);
}

.footer-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, .6fr));
    gap: 30px;
    padding: 46px 0 24px;
}

.footer-brand {
    gap: 12px;
}

.footer-brand-panel {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-content: start;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
}

.footer-brand-panel strong,
.footer-column strong {
    display: block;
    margin-bottom: 8px;
    color: var(--footer-ink);
    font-size: 16px;
    font-weight: 950;
}

.footer-brand-panel p {
    max-width: 480px;
    margin: 0 0 14px;
    line-height: 1.58;
}

.footer-badges {
    gap: 8px;
    flex-wrap: wrap;
}

.footer-badges span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--footer-ink);
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 850;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-column a {
    color: var(--footer-muted);
    font-weight: 800;
}

.footer-column a:hover {
    color: var(--footer-ink);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 920px) {
    .site-header {
        position: sticky;
    }

    .site-header-inner {
        width: min(100% - 28px, 720px);
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 0;
    }

    .site-nav {
        justify-content: flex-start;
        overflow-x: auto;
        width: 100%;
    }

    .header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 74svh;
    }

    .hero-inner {
        width: min(100% - 32px, 720px);
        padding-bottom: 168px;
    }

    .hero-rail {
        grid-template-columns: 1fr;
    }

    .hero-rail a {
        min-height: 54px;
        padding: 10px 20px;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .hero-rail span {
        font-size: 18px;
    }

    .trust-band > div:first-child,
    .hero-grid,
    .tool-grid,
    .checks-grid,
    .research-workspace,
    .research-band,
    .provider-band,
    .feature-band,
    .detail-hero,
    .detail-columns,
    .vehicle-360-panel,
    .provider-profile {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-check {
        grid-row: auto;
    }

    .mini-tool-grid,
    .signal-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phone-preview {
        justify-self: start;
        width: min(100%, 380px);
    }

    .research-band,
    .provider-band-copy {
        padding: 24px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .detail-gallery {
        min-height: 360px;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-panel,
    .footer-bottom {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 11px;
    }

    .hero {
        min-height: 82svh;
    }

    .hero h1,
    .page-title h1 {
        font-size: clamp(42px, 18vw, 68px);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .mini-tool-grid,
    .signal-list,
    .inline-check-form.compact,
    .check-result-grid,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .tool-hub,
    .checks-grid,
    .research-workspace {
        width: min(100% - 28px, 1180px);
        margin: 36px auto;
    }

    .soft-hub {
        padding: 18px;
    }

    .phone-screen {
        min-height: 430px;
        border-width: 8px;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .footer-bottom {
        display: grid;
    }

    .spec-grid {
        grid-template-columns: 1fr;
    }
}
