/* Approved mobile layout; desktop retains the existing production design. */
.journey-back { display:none; }
.skip-link { position:fixed;top:-100px;left:16px;z-index:100;padding:14px 20px;background:var(--surface);color:var(--text);border:2px solid var(--red); }
.skip-link:focus { top:12px; }
[hidden] { display:none!important; }
/* Only managed step headings suppress the tap ring; interactive controls keep focus-visible. */
.section-head h2[data-step-focus="pointer"]:focus { outline:none; }
.section-head h2[data-step-focus="keyboard"]:focus { outline:3px solid var(--red);outline-offset:4px; }
@media (max-width:760px) {
/* Targeted mobile-first refinement. Existing Toyota media and pricing remain authoritative. */
:root { --shadow:0 8px 26px rgba(15,18,22,.045); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",ui-sans-serif,system-ui,sans-serif; }
body { -webkit-font-smoothing:antialiased; }
[hidden],.film-hero[hidden],.film-transition[hidden],[data-substep][hidden] { display:none!important; }
a,button,input,select,textarea,summary { touch-action:manipulation; }
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid var(--red);outline-offset:4px; }
.skip-link { position:fixed;top:-80px;left:16px;z-index:100;padding:14px 20px;background:var(--surface);color:var(--text);border:2px solid var(--red);border-radius:12px; }
.skip-link:focus { top:12px; }
.shell { width:min(1180px,calc(100% - 48px)); }
.topbar { border-top:0;background:var(--surface);backdrop-filter:none; }
.topbar-inner { min-height:68px;gap:20px; }
.brand-word { letter-spacing:.11em; }
.nav-link,.header-cta { border-radius:999px;min-height:44px;display:inline-flex;align-items:center; }
.theme-toggle,.menu-toggle { width:44px;height:44px; }
.menu-panel { border-radius:16px;box-shadow:var(--shadow); }
.view { padding-top:20px; }
.film-hero { width:100%;margin:0;min-height:410px;border-radius:24px;background:#090a0c; }
.film-content { min-height:410px;width:calc(100% - 80px);padding:48px 0 70px; }
.film-copy { max-width:540px;padding:0; }
.film-copy h1 { font-size:clamp(42px,4.9vw,66px);line-height:1.02;letter-spacing:-.05em; }
.film-copy p { max-width:460px;font-size:17px;line-height:1.5;margin-top:18px; }
.film-kicker { display:none; }
.film-actions { margin-top:22px; }
.film-toggle { border-radius:999px;min-height:44px;left:40px;bottom:14px; }
.film-transition { height:28px;background:none;margin:0; }
.substeps { border-radius:16px;border-color:var(--line-soft);overflow:hidden;margin:0 0 24px;top:calc(var(--header-height,68px) + 8px);box-shadow:0 4px 18px rgba(0,0,0,.05); }
.substep { font-size:12px;min-height:52px;letter-spacing:0;text-transform:none;font-weight:650;border-right:0; }
.substep.active { background:var(--surface-2); }
.substep span { background:var(--surface-3); }
.substep.active span { color:#fff;background:var(--red); }
.section { padding:12px 0 48px;scroll-margin-top:calc(var(--header-height,68px) + 82px); }
.section-head { display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:24px;align-items:start; }
.section-head h2 { margin:4px 0 0;font-size:clamp(32px,3.3vw,46px);letter-spacing:-.045em;line-height:1.08; }
.section-head p { max-width:720px;font-size:15px;line-height:1.55; }
.section-head .eyebrow { display:none; }
.journey-back { display:inline-flex;align-items:center;border:0;background:none;color:var(--muted);font-size:14px;text-align:left;padding:8px 0;min-height:44px;width:fit-content;margin-bottom:0; }
.journey-back:hover { color:var(--text); }
.model-grid { gap:16px; }
.model-card { border-radius:18px;border:1px solid var(--line-soft);box-shadow:none;transition:border-color .16s,box-shadow .16s; }
.model-card.active { border:1px solid var(--red);box-shadow:0 0 0 2px var(--red); }
.model-card:hover { transform:none;box-shadow:0 6px 20px rgba(0,0,0,.07); }
.default-photo { height:156px; }
.model-card-body { display:block;padding:16px; }
.model-name { font-weight:650;font-size:18px; }
.stock-count { display:block;white-space:normal;line-height:1.4;margin-top:6px;font-size:12px; }
.panel,.payment-result,.build-summary { border:1px solid var(--line-soft);border-radius:20px;box-shadow:none;padding:26px;min-width:0; }
.builder { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 28px; }
.builder > .selected-preview { grid-column:1;grid-row:1;min-height:380px;border-radius:20px; }
.builder > .media-dots { grid-column:1;grid-row:2;margin:0; }
.builder > .build-summary { grid-column:1;grid-row:3; }
.builder > .panel { grid-column:2;grid-row:1 / span 3; }
.selected-preview .preview-copy { max-width:calc(100% - 44px); }
.photo-label { overflow-wrap:anywhere; }
.media-tabs { border-radius:999px; }
.media-tab { min-height:44px; }
.media-dots { gap:0;flex-wrap:wrap; }
.media-dot { width:44px;height:44px;min-width:44px;min-height:44px; }
.media-dot::after { width:7px;height:7px;top:18px;left:18px; }
.difference-trigger { min-height:44px;line-height:1.4;display:inline-flex;align-items:center; }
.choice { border-radius:12px;min-height:52px;transition:border-color .15s,background .15s; }
.choice.active,.swatch.active { box-shadow:none; }
.color-swatches { gap:18px 12px; }
.swatch { border-radius:14px;min-height:44px; }
.swatch i { width:46px;height:46px; }
.availability-box { border-radius:12px;padding:14px; }
.availability-box span { line-height:1.5; }
.button { min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 22px;font-weight:650; }
.button-row { margin-top:24px; }
.button-row > .button { width:100%; }
.payment-layout { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:28px;align-items:start; }
.payment-result { position:sticky;top:calc(var(--header-height,68px) + 86px); }
.payment-modes { background:var(--surface-2);padding:4px;border-radius:14px;gap:4px; }
.mode { border-radius:10px;min-height:46px;border:0; }
.mode.active { background:var(--surface);color:var(--text);box-shadow:0 2px 5px rgba(0,0,0,.08); }
.calc-grid { gap:22px 16px; }
input[type="range"] { min-height:44px;accent-color:var(--red); }
input,select,textarea { font-size:16px;min-height:48px;border-radius:12px;max-width:100%; }
select { padding-right:30px; }
input[type="checkbox"] { accent-color:var(--red); }
.promo-choice,.check { min-height:44px;align-items:flex-start;gap:12px; }
.check input,.promo-choice input { min-height:22px;width:22px;height:22px;flex:0 0 22px;margin-top:3px; }
.apr-card,.program,.fee-list { border-radius:14px; }
.result-main { font-variant-numeric:tabular-nums;letter-spacing:-.045em; }
.result-row,.summary-line,.selection-detail { gap:16px;align-items:start;line-height:1.45; }
.result-row strong,.summary-line strong,.selection-detail strong { overflow-wrap:anywhere;min-width:0; }
.form-layout { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px; }
.test-drive-disclosure,.inquiry-notes { margin:20px 0; }
.test-drive-disclosure > summary,.inquiry-notes > summary,.offer-details > summary { min-height:48px;padding:12px 0;cursor:pointer;line-height:1.5; }
.test-drive-disclosure > summary span { color:var(--muted); }
.appointment-request { margin-top:12px;min-width:0; }
.form-status:focus { outline:2px solid var(--red);outline-offset:6px; }
.difference-modal { border-radius:22px; }
@media (max-width:1000px) {
  .top-nav { display:none; }.menu-toggle { display:grid; }
  .topbar-inner { flex-wrap:nowrap;align-items:center;padding:8px 0; }
  .model-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .builder { gap:18px; }.builder > .selected-preview { min-height:320px; }
  .payment-layout,.form-layout { grid-template-columns:minmax(0,1fr); }
  .payment-result { position:static; }
}
@media (max-width:760px) {
  .shell { width:calc(100% - 32px); }
  .builder { grid-template-columns:minmax(0,1fr);gap:14px; }
  .builder > .selected-preview { grid-column:1;grid-row:1;order:0;min-height:290px; }
  .builder > .media-dots { grid-column:1;grid-row:2;order:1; }
  .builder > .panel { grid-column:1;grid-row:3;order:2; }
  .builder > .build-summary { grid-column:1;grid-row:4;order:3; }
}
@media (max-width:650px) {
  .view { padding-top:14px; }.topbar-inner { min-height:62px;padding:7px 0;gap:12px; }
  .brand-word { font-size:12px;letter-spacing:.09em; }.header-cta { display:none; }
  .review-notice { padding-bottom:10px;font-size:11px; }.review-notice summary { min-height:28px; }
  .film-hero { border-radius:20px;min-height:0; }
  .film-stage { height:auto;aspect-ratio:16/9;max-height:none; }
  .film-native-video { object-fit:contain; }
  .film-content { min-height:0;width:calc(100% - 40px);padding:calc((100vw - 32px)*.5625 + 18px) 0 70px; }
  .film-copy h1 { font-size:clamp(30px,8vw,42px);line-height:1.06;letter-spacing:-.04em; }
  .film-copy p { font-size:15px;margin-top:12px;line-height:1.45; }
  .film-actions { margin-top:18px; }.film-action { min-height:48px; }
  .film-toggle { left:20px;bottom:12px;min-height:44px; }.film-transition { height:20px; }
  .substeps { border-radius:14px;margin-bottom:18px;top:calc(var(--header-height,62px) + 6px); }
  .substep { min-height:52px;font-size:11px; }.substep span { display:block;margin:0 auto 3px;width:17px;height:17px;font-size:10px; }
  .section { padding-top:6px;scroll-margin-top:calc(var(--header-height,62px) + 76px); }
  .section-head { margin-bottom:18px;gap:8px; }.section-head h2 { font-size:34px; }.section-head p { font-size:14px;line-height:1.5;margin:0; }
  .model-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }.model-card { border-radius:16px; }
  .default-photo { height:116px; }.model-card-body { padding:13px; }.model-name { font-size:17px; }.stock-count { font-size:11px;line-height:1.5; }
  .panel,.payment-result,.build-summary { padding:20px;border-radius:18px; }
  .builder > .selected-preview { min-height:270px;border-radius:18px; }
  .preview-top { gap:6px; }.photo-label { font-size:10px;max-width:52%; }.preview-copy h3 { font-size:28px; }
  .media-dots { margin-block:-4px; }.media-dot { flex:0 0 44px; }
  .choice { min-width:0;flex:1 1 calc(50% - 8px);font-size:14px; }
  .color-swatches { gap:16px 8px; }.swatch { width:calc((100% - 16px)/3);font-size:12px; }
  .status-choices { display:grid;grid-template-columns:1fr; }.status-choices .choice { width:100%;min-height:48px; }
  .calc-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 12px; }.calc-field.full { grid-column:1/-1; }
  .programs { grid-template-columns:1fr 1fr;gap:10px; }.program { min-width:0;padding:14px; }
  .payment-layout,.form-layout { gap:18px; }.result-main { font-size:44px!important; }
  .contact-section .form-intro { padding:0 4px; }.selection-detail { font-size:13px; }
  .check { font-size:14px;line-height:1.5; }.fee { gap:16px; }.fee-amount { white-space:nowrap; }
  .field { min-width:0; }.footer-line { font-size:12px;line-height:1.6; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; } }
@media (prefers-reduced-transparency:reduce) { .topbar,.substeps,.film-toggle { backdrop-filter:none; } }

}
