:root {
  --ink: #0f1c33;
  --muted: #4d5e75;
  --blue: #245bd6;
  --blue-hover: #1748b6;
  --navy: #0b1730;
  --line: #dde6f2;
  --paper: #f3f6fb;
  --white: #fff;
  font: 16px/1.6 Inter, "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
input, button, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #6c9af6; outline-offset: 3px; }
.skip { position: absolute; top: 8px; left: 10px; z-index: 3; padding: 8px 12px; background: #fff; transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(58px, 7vw, 96px); scroll-margin-top: 18px; }

.header { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 76px; }
.wordmark { display: inline-flex; width: max-content; gap: 10px; align-items: center; color: var(--ink); font-size: 20px; font-weight: 800; white-space: nowrap; text-decoration: none; }
.mark { width: 39px; height: 37px; display: grid; place-items: center; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 850; font-size: 15px; letter-spacing: -.05em; }
nav, .header-actions { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 34px); }
nav a { font-weight: 650; font-size: 14px; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--blue); }
.header-actions { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding-inline: 17px; border: 1px solid var(--blue); border-radius: 8px; color: #fff; background: var(--blue); font-size: 15px; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.button:disabled { opacity: .65; cursor: wait; }
.header-cta { min-height: 40px; font-size: 14px; }
.button-quiet { background: #ffffff0b; border-color: #9fbae765; color: #edf4ff; }
.button-quiet:hover { background: #ffffff18; border-color: #c9dbf5; }

.hero { background: radial-gradient(ellipse at 83% 19%, #243f69, transparent 62%), var(--navy); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: clamp(28px, 5.5vw, 78px); align-items: center; padding-block: clamp(52px, 6.25vw, 92px); }
.eyebrow { color: var(--blue); font-size: 14px; font-weight: 750; letter-spacing: .035em; }
.hero .eyebrow { color: #a5c5ff; }
h1 { margin-top: 14px; font-size: clamp(33px, 4.1vw, 59px); font-weight: 820; line-height: 1.21; letter-spacing: -.06em; }
h2 { font-size: clamp(28px, 3.25vw, 46px); font-weight: 800; line-height: 1.23; letter-spacing: -.05em; }
.eyebrow + h2 { margin-top: 11px; }
h3 { font-size: 19px; line-height: 1.38; }
.intro { max-width: 31em; margin-top: 20px; color: #d4def0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.78; }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hero-showroom { min-width: 0; overflow: hidden; border: 1px solid #788fb8; border-radius: 16px; background: #f8faff; color: var(--ink); box-shadow: 0 20px 42px #020a1c65; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 680; }
.preview-bar span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.preview-bar i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4f83e4; }
.preview-bar span:last-child { color: var(--muted); font-size: 12px; }
.vehicle-preview { display: block; position: relative; color: #fff; text-decoration: none; }
.vehicle-preview img { aspect-ratio: 1.77; object-fit: cover; object-position: 50% 47%; }
.vehicle-caption { position: absolute; bottom: 0; inset-inline: 0; display: flex; justify-content: space-between; align-items: end; gap: 10px; padding: 32px 17px 15px; background: linear-gradient(0deg, #060e1af0 0%, #060e1ab8 56%, transparent 100%); }
.vehicle-caption small { display: block; font-size: 12px; font-weight: 650; color: #f3f7ff; }
.vehicle-caption strong { display: block; font: 800 clamp(21px, 3vw, 32px)/1.1 Inter, "Segoe UI", sans-serif; letter-spacing: -.04em; }
figcaption { padding: 8px 13px; color: var(--muted); font-size: 11px; line-height: 1.55; }
figcaption a { text-underline-offset: 2px; }

.offer-band { background: #edf3fd; border-block-end: 1px solid #dce8fc; }
.offer-grid { display: grid; grid-template-columns: repeat(3,1fr); align-items: center; }
.offer-grid div { padding: 19px 20px 19px 0; }
.offer-grid div + div { border-left: 1px solid #d3e1f7; padding-left: clamp(12px, 4vw, 48px); }
.offer-grid dt { font-size: clamp(20px, 2.25vw, 29px); line-height: 1.26; font-weight: 820; color: #173b86; }
.offer-grid dd { margin-top: 4px; color: #455b78; font-size: 14px; }
.product-grid, .faq-grid, .form-layout, .sourcing-layout { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); gap: clamp(28px, 7vw, 92px); align-items: center; }
.section-copy > p:not(.eyebrow) { margin-top: 17px; color: var(--muted); line-height: 1.75; max-width: 34em; }
.feature-list { margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 4.5em minmax(0,1fr); gap: 8px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.feature-list li strong { color: var(--ink); }
.feature-list li span { color: var(--muted); }
.product-frame { min-width: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 35px #172f581a; }
.product-frame img { height: auto; aspect-ratio: 964 / 540; object-fit: cover; }

.sourcing-section { background: var(--navy); color: #fff; }
.sourcing-section .eyebrow { color: #a5c5ff; }
.sourcing-section .section-copy > p:not(.eyebrow) { color: #d4def0; }
.sourcing-steps { list-style: decimal-leading-zero; list-style-position: inside; margin: 0; padding: 0; border-top: 1px solid #495b78; }
.sourcing-steps li { padding: 15px 0; border-bottom: 1px solid #495b78; }
.sourcing-steps li::marker { color: #a5c5ff; font-size: 13px; font-weight: 750; }
.sourcing-steps strong { margin-inline-start: 7px; }
.sourcing-steps span { display: block; margin-inline-start: 29px; margin-top: 4px; color: #d4def0; font-size: 14px; }

.workflow { background: #f4f7fc; border-block: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 3.5vw, 44px); margin: 0; padding: 0; list-style-position: inside; list-style-type: decimal-leading-zero; }
.steps li { padding-top: 16px; border-top: 2px solid #a4bee9; }
.steps li::marker { color: var(--blue); font-weight: 800; font-size: 14px; }
.steps h3 { display: inline; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.faq-grid { align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 16px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 710; }
.faq-list p { margin-top: 9px; color: var(--muted); line-height: 1.75; }

.form-section { background: #eef4fe; }
.form-layout { align-items: start; }
.intake-form { padding: clamp(18px, 3.5vw, 32px); border: 1px solid #cfddf1; border-radius: 14px; background: #fff; box-shadow: 0 12px 24px #18385c0b; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.wide { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 14px; font-weight: 680; }
input:not([type=checkbox]), select, textarea { min-height: 45px; width: 100%; padding: 9px 10px; background: #fff; color: var(--ink); border: 1px solid #aabbd1; border-radius: 6px; font-size: 16px; }
input::placeholder, textarea::placeholder { color: #596d86; font-size: 14px; font-weight: 400; }
textarea { resize: vertical; }
.consent { flex-direction: row; align-items: flex-start; gap: 9px; margin-block: 16px; color: var(--muted); font-weight: 400; }
.consent input { accent-color: var(--blue); width: 18px; height: 18px; flex: none; margin: 2px 0 0; }
.form-status { margin-top: 12px; padding: 10px; border-radius: 5px; border: 1px solid #a5c9b4; background: #ebf8ef; color: #1c5237; font-size: 14px; }
.form-status[data-kind=error] { border-color: #e3ada5; background: #fef0ec; color: #842a21; }
.footer { border-top: 1px solid var(--line); color: #45576f; font-size: 13px; background: #fff; }
.footer-inner, .footer-inner > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.footer-inner { min-height: 64px; padding-block: 15px; }
.footer a { text-underline-offset: 3px; }

.contact-dialog { width: min(400px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 64px #0616314d; }
.contact-dialog::backdrop { background: #061631a0; }
.contact-panel { position: relative; padding: 26px 23px 22px; text-align: center; }
.contact-panel h2 { margin-inline: 27px; font-size: 26px; letter-spacing: -.025em; }
.contact-panel p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.contact-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.contact-qr { width: min(100%, 232px); height: auto; margin: 14px auto 8px; }
.contact-panel .contact-note { font-size: 13px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 13px; font-size: 14px; }
.contact-actions a { color: var(--blue-hover); text-underline-offset: 3px; }

.buyer-site { font-family: Inter, "Segoe UI", Arial, sans-serif; }
.buyer-site h1 { font-size: clamp(38px, 4.65vw, 67px); letter-spacing: -.055em; line-height: 1.05; }
.sourcing-photo { overflow: hidden; min-width: 0; border: 1px solid #7891ba; border-radius: 15px; background: #0a1830; box-shadow: 0 18px 38px #030a1860; }
.sourcing-photo img { aspect-ratio: 1.62; object-fit: cover; }
.buyer-intake { background: #fff; }
.buyer-intake .intake-form { background: #f5f8fd; }
.optional-fields { border-block: 1px solid #d1ddef; margin-top: 14px; padding-block: 9px; font-size: 14px; }
.optional-fields[open] .form-grid { padding-block: 12px 3px; }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 52px); }
  .hero-grid { gap: 28px; }
  .masthead { gap: 14px; }
  nav, .header-actions { gap: 16px; }
  .hero h1 { font-size: clamp(32px, 4.3vw, 48px); }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 36px); }
  .masthead { grid-template-columns: 1fr auto; min-height: 62px; }
  .masthead nav { display: none; }
  .mark { width: 33px; height: 32px; }
  .wordmark { font-size: 18px; }
  .hero-grid, .product-grid, .faq-grid, .form-layout, .sourcing-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { padding-block: 37px 29px; }
  .hero h1 { font-size: clamp(31px, 8.65vw, 52px); }
  .buyer-site h1 { font-size: clamp(36px, 9.25vw, 58px); }
  .intro { margin-top: 14px; }
  .actions { margin-top: 20px; }
  .hero-showroom, .sourcing-photo { max-width: 600px; }
  .offer-grid div { padding: 13px 8px 13px 0; }
  .offer-grid div + div { padding-left: 10px; }
  .offer-grid dd { font-size: 12px; line-height: 1.45; }
  .section-heading { margin-bottom: 24px; }
  .steps { grid-template-columns: 1fr; gap: 17px; }
  .steps li { padding-top: 10px; }
}
@media (max-width: 475px) {
  .form-grid { grid-template-columns: 1fr; }
  .button { padding-inline: 11px; min-height: 46px; font-size: 14px; }
  .vehicle-caption { padding-inline: 12px; }
  .preview-bar { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
