:root {
  color-scheme: light;
  --ink: #19362b;
  --muted: #738077;
  --paper: #f8f7f1;
  --line: #e5e6dd;
  --green: #244d38;
  --lime: #d9ef90;
  --orange: #e4864f;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button { font: inherit; }
.topbar { height: 72px; padding: 0 6.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e9e9e2; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: -1px; }
.brand-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--green); color: var(--lime); font-size: 18px; }
.top-note, .reset-button { color: #66746a; font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.top-note { display: flex; align-items: center; gap: 8px; }
.live-dot, .fit-dot { width: 7px; height: 7px; border-radius: 50%; background: #83a759; }
.reset-button { border: 0; background: none; cursor: pointer; letter-spacing: .4px; font-size: 12px; }
main { max-width: 1220px; margin: 0 auto; padding: 0 34px; }
.intro { display: grid; grid-template-columns: .83fr 1.17fr; gap: 45px; align-items: center; padding: 54px 0 44px; }
.eyebrow { margin: 0 0 11px; color: #78906d; font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: 1.65px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1 { margin-bottom: 17px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(43px, 5.4vw, 69px); font-weight: 600; line-height: .98; letter-spacing: -2px; }
h1 em { color: #758c5d; font-weight: 600; }
.intro-text { max-width: 400px; margin-bottom: 22px; color: #68756c; font-size: 15px; line-height: 1.7; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 19px; color: #58675d; font-size: 11px; font-weight: 600; }
.trip-meta span { display: flex; align-items: center; gap: 6px; }
.meta-icon { font-size: 16px; color: #82996c; }
.hero-art { height: 280px; position: relative; overflow: hidden; border-radius: 8px; background: #e9e8d9; }
.sun { position: absolute; width: 67px; height: 67px; top: 38px; right: 19%; border-radius: 50%; background: #e9be79; opacity: .9; }
.hero-landscape { position: absolute; inset: auto 0 0; width: 100%; height: 95%; }
.hero-label { position: absolute; top: 19px; left: 22px; z-index: 1; display: grid; gap: 4px; }
.hero-label span, .route-stamp span { font-size: 8px; font-weight: 700; letter-spacing: 1.6px; color: #637469; }
.hero-label strong { font-family: "Playfair Display", Georgia, serif; font-size: 17px; font-weight: 600; }
.route-stamp { position: absolute; right: 20px; bottom: 20px; z-index: 1; width: 103px; height: 103px; border: 1px solid #fff9; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transform: rotate(9deg); text-align: center; background: #f8f3df44; }
.route-stamp strong { font-size: 12px; line-height: 1.1; letter-spacing: 1px; }
.route-stamp span { font-size: 6px; letter-spacing: 1px; }
.game-shell, .drive-shell, .ending-shell { margin-bottom: 55px; border: 1px solid #e5e5dc; border-radius: 9px; background: #fffefa; box-shadow: 0 14px 45px #3243350b; }
.stepper { min-height: 60px; padding: 0 30px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.step { display: flex; align-items: center; gap: 8px; color: #a0a89f; font-size: 11px; font-weight: 600; white-space: nowrap; }
.step > span { font-size: 9px; font-weight: 800; color: #a0a89f; }
.step.active { color: var(--ink); }
.step.active > span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--green); color: white; }
.step.done { color: #54734c; }
.step.done > span { color: #54734c; }
.step-line { width: 30px; height: 1px; background: #e1e4dc; }
.setup-grid { display: grid; grid-template-columns: minmax(0, 1fr) 275px; }
.selection-panel { padding: 26px 28px 22px; }
.section-heading, .plan-heading { display: flex; align-items: end; justify-content: space-between; }
.section-heading { margin-bottom: 16px; }
.section-heading .eyebrow, .plan-heading .eyebrow { margin-bottom: 6px; }
h2 { margin-bottom: 0; font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 600; letter-spacing: -.5px; }
.heading-note { margin: 0 0 2px; color: #879087; font-size: 10px; line-height: 1.55; }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.car-card { position: relative; min-width: 0; padding: 9px 10px 12px; border: 1px solid #e7e8df; border-radius: 7px; background: white; cursor: pointer; text-align: left; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.car-card:hover { transform: translateY(-2px); border-color: #a8b99c; }
.car-card.selected { border-color: #557c51; box-shadow: 0 0 0 1px #557c51; background: #fbfcf6; }
.car-card:focus-visible, .plan-card:focus-visible, button:focus-visible { outline: 3px solid #b8d873; outline-offset: 2px; }
.car-illustration { height: 78px; margin-bottom: 3px; display: grid; place-items: center; overflow: hidden; border-radius: 4px; }
.car-illustration svg { width: 100%; height: 82px; }
.car-tag { display: inline-block; margin-bottom: 6px; color: #718867; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.car-card h3 { margin: 0 0 2px; font-size: 14px; }
.car-subtitle { display: block; min-height: 28px; margin-bottom: 9px; color: #879087; font-size: 9px; line-height: 1.4; }
.car-price-row { display: flex; align-items: baseline; justify-content: space-between; padding-top: 8px; border-top: 1px solid #edeee8; }
.car-price-row strong { font-size: 13px; }
.car-price-row span { color: #778279; font-size: 9px; }
.plan-heading { margin: 25px 0 12px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plan-card { padding: 12px; border: 1px solid #e7e8df; border-radius: 6px; background: #fff; text-align: left; cursor: pointer; color: var(--ink); }
.plan-card.selected { border-color: #557c51; background: #f7faef; box-shadow: 0 0 0 1px #557c51; }
.plan-card:disabled { cursor: not-allowed; opacity: .48; }
.plan-title-row { display: flex; align-items: center; justify-content: space-between; gap: 3px; margin-bottom: 7px; }
.plan-title-row strong { font-size: 11px; }
.plan-title-row span { color: #7e9171; font-size: 8px; font-weight: 700; }
.plan-card p { margin: 0; color: #7d877f; font-size: 9px; line-height: 1.5; }
.selection-footer { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.assumption-note { margin: 0; color: #8b938c; font-size: 9px; }
.assumption-note span { color: #799064; }
.primary-button { min-height: 43px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 4px; background: var(--green); color: white; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.primary-button:hover { background: #193d2b; transform: translateY(-1px); }
.primary-button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.primary-button span { font-size: 16px; color: var(--lime); }
.money-panel { padding: 25px 20px 20px; border-left: 1px solid var(--line); background: #f8f8f1; }
.money-top { display: flex; align-items: center; justify-content: space-between; color: #7b877d; font-size: 8px; letter-spacing: 1.3px; font-weight: 800; }
.budget-icon { font-size: 18px; color: #879b70; }
.budget-amount { display: block; margin-top: 9px; font-size: 34px; letter-spacing: -1.5px; }
.money-caption { margin: 5px 0 18px; color: #818a81; font-size: 10px; line-height: 1.55; }
.money-divider { height: 1px; margin: 14px 0; background: #e2e5dc; }
.estimate-row { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0; color: #79847a; font-size: 10px; }
.estimate-row strong { color: #344a3c; font-size: 10px; text-align: right; }
.fit-label { display: flex; align-items: center; gap: 7px; color: #7c897b; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.fit-copy { min-height: 48px; margin: 8px 0 14px; color: #58695d; font-size: 10px; line-height: 1.6; }
.money-foot { color: #9aa198; font-size: 8px; line-height: 1.6; }
.drive-shell, .ending-shell { padding: 26px; }
.drive-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 19px; }
.drive-heading h2 { font-size: 30px; }
.drive-progress { width: 160px; color: #7d897f; text-align: right; font-size: 9px; }
.progress-track { height: 4px; margin-top: 8px; border-radius: 5px; background: #e7e9df; }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: #75955e; transition: width .2s; }
.drive-content { display: grid; grid-template-columns: 1fr 1fr 145px; gap: 24px; padding-top: 23px; }
.drive-story .eyebrow { margin-bottom: 7px; }
.drive-story > p:last-child { max-width: 370px; margin: 0; color: #66736a; font-size: 12px; line-height: 1.7; }
.choice-prompt { margin: 0 0 8px; font-size: 11px; font-weight: 800; }
.choice-list { display: grid; gap: 7px; }
.choice-button { padding: 10px 11px; border: 1px solid #e3e6dc; border-radius: 4px; background: white; color: #35483b; text-align: left; font-size: 10px; cursor: pointer; }
.choice-button:hover { border-color: #819a6b; background: #f9fbf4; }
.choice-button:disabled { opacity: .55; cursor: default; }
.choice-result { margin: 9px 0 0; color: #58734d; font-size: 10px; line-height: 1.5; }
.drive-status { align-self: start; padding: 12px; border-radius: 5px; background: #f2f4e9; }
.drive-status span { display: block; color: #809078; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.drive-status strong { display: block; padding: 6px 0 3px; font-size: 22px; }
.drive-status span:last-child { font-size: 8px; font-weight: 500; letter-spacing: 0; }
.hidden { display: none !important; }
.ending-shell { padding: 0 26px 24px; }
.ending-hero { padding: 29px 0 24px; border-bottom: 1px solid var(--line); }
.ending-hero h2 { margin-bottom: 8px; font-size: 34px; }
.ending-hero > p:not(.eyebrow) { max-width: 620px; margin-bottom: 13px; color: #6e7b71; font-size: 12px; line-height: 1.65; }
.ending-badge { display: inline-block; padding: 6px 10px; border-radius: 20px; background: #eff3e5; color: #536e49; font-size: 9px; font-weight: 700; }
.ending-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 22px 0 14px; }
.ending-card { padding: 17px; border: 1px solid #e7e8df; border-radius: 5px; }
.ending-card .eyebrow { margin-bottom: 7px; }
.ending-card h3 { margin: 0 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: 19px; font-weight: 600; }
.breakdown-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid #edefe8; color: #79847b; font-size: 10px; }
.breakdown-row strong { color: #354a3b; }
.breakdown-row.total { font-weight: 700; color: #344a3b; }
.what-if { background: #f6f7ed; }
.what-if h3 { margin-bottom: 8px; }
.what-if > p:not(.eyebrow) { margin-bottom: 13px; color: #68756b; font-size: 10px; line-height: 1.65; }
.whatif-savings { padding-top: 11px; border-top: 1px solid #e3e7d9; color: #516c47; font-size: 11px; font-weight: 700; }
.disclaimer { margin: 7px 0 17px; color: #929a91; font-size: 9px; line-height: 1.6; }
.replay-button { min-height: 39px; }
footer { max-width: 1220px; margin: 0 auto; padding: 0 34px 28px; display: flex; justify-content: space-between; color: #8d968d; font-size: 9px; }
footer span:first-child { color: #52684f; font-size: 11px; font-weight: 800; }

@media (max-width: 800px) {
  .topbar { height: 60px; padding: 0 20px; }
  main { padding: 0 18px; }
  .intro { grid-template-columns: 1fr; gap: 23px; padding: 36px 0 28px; }
  .intro-copy { display: grid; grid-template-columns: 1fr auto; align-items: end; }
  .intro-copy .eyebrow, .intro-copy h1, .intro-text, .trip-meta { grid-column: 1 / -1; }
  .intro-copy h1 { font-size: 54px; }
  .intro-text { max-width: 510px; }
  .hero-art { height: 235px; }
  .setup-grid { grid-template-columns: 1fr; }
  .money-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; border-top: 1px solid var(--line); border-left: 0; }
  .money-top, .budget-amount, .money-caption, .money-divider, .money-foot { grid-column: 1 / -1; }
  .money-divider { margin: 9px 0; }
  .money-caption { margin-bottom: 7px; }
  .fit-copy { min-height: auto; }
  .drive-content { grid-template-columns: 1fr 1fr; }
  .drive-status { grid-column: 1 / -1; }
  .drive-status { display: flex; align-items: center; gap: 12px; }
  .drive-status strong { padding: 0; }
  .drive-status span:last-child { margin-left: auto; }
}
@media (max-width: 520px) {
  .topbar { padding: 0 15px; }
  .top-note { display: none; }
  main { padding: 0 12px; }
  .intro { padding-top: 30px; }
  .intro-copy h1 { font-size: 49px; }
  .intro-text { font-size: 13px; }
  .hero-art { height: 195px; }
  .route-stamp { width: 80px; height: 80px; right: 12px; bottom: 12px; }
  .stepper { min-height: 54px; padding: 0 12px; gap: 7px; justify-content: space-between; }
  .step { gap: 5px; font-size: 9px; }
  .step > span { font-size: 8px; }
  .step.active > span { width: 19px; height: 19px; }
  .step-line { width: 14px; }
  .selection-panel { padding: 20px 12px 15px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  h2 { font-size: 21px; }
  .heading-note br { display: none; }
  .car-grid { gap: 7px; }
  .car-card { padding: 7px 7px 9px; }
  .car-illustration, .car-illustration svg { height: 58px; }
  .car-card h3 { font-size: 12px; }
  .car-subtitle { min-height: 36px; font-size: 8px; }
  .car-price-row { flex-direction: column; gap: 3px; }
  .car-price-row strong { font-size: 12px; }
  .plan-grid { gap: 6px; }
  .plan-card { padding: 9px 7px; }
  .plan-title-row { align-items: flex-start; flex-direction: column; }
  .plan-title-row strong { font-size: 10px; }
  .plan-card p { font-size: 8px; }
  .selection-footer { align-items: stretch; flex-direction: column-reverse; }
  .primary-button { width: 100%; }
  .money-panel { padding: 17px 14px; }
  .estimate-row { font-size: 9px; }
  .estimate-row strong { font-size: 9px; }
  .drive-shell { padding: 17px 12px; }
  .drive-heading { align-items: start; gap: 10px; }
  .drive-heading h2 { font-size: 23px; }
  .drive-progress { width: 100px; padding-top: 4px; }
  .drive-content { grid-template-columns: 1fr; gap: 17px; }
  .drive-status { grid-column: auto; }
  .ending-shell { padding: 0 14px 17px; }
  .ending-hero h2 { font-size: 28px; }
  .ending-grid { grid-template-columns: 1fr; gap: 9px; }
  footer { padding: 0 14px 22px; }
  .drive-canvas { height: 250px; }
  .drive-controls { min-height: 60px; padding: 7px 8px; gap: 8px; }
  .steer-button { width: 52px; height: 42px; }
  .pedal-controls { gap: 5px; }
  .pedal-button { min-width: 42px; height: 39px; padding: 0 5px; font-size: 7px; }
  .drive-hud { right: 6px; left: 6px; gap: 4px; }
  .drive-hud span { padding: 6px 5px; font-size: 7px; letter-spacing: .3px; }
  .drive-instructions { font-size: 8px; }
}

.auth-shell { min-height: 570px; margin: 42px 0 56px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid #e5e5dc; border-radius: 9px; background: #fffefa; box-shadow: 0 14px 45px #3243350b; }
.auth-art { min-height: 570px; position: relative; overflow: hidden; background: linear-gradient(160deg, #e7e8d6, #cdd9c4 72%, #6e896d 72%); }
.auth-sun { position: absolute; top: 80px; right: 17%; width: 82px; height: 82px; border-radius: 50%; background: #edc17e; }
.auth-hills { position: absolute; right: -10%; bottom: 27%; left: -10%; height: 45%; background: #a5b596; clip-path: polygon(0 72%, 20% 19%, 38% 57%, 58% 0, 76% 62%, 100% 22%, 100% 100%, 0 100%); }
.auth-hills:after { content: ""; position: absolute; inset: 25% 0 0; background: #56745a; clip-path: polygon(0 55%, 26% 8%, 47% 65%, 75% 13%, 100% 66%, 100% 100%, 0 100%); }
.auth-car { position: absolute; z-index: 2; right: 14%; bottom: 22%; width: 225px; height: 75px; border-radius: 50px 65px 12px 12px; background: #e4864f; box-shadow: 0 18px 24px #24382d44; }
.auth-car:before { content: ""; position: absolute; top: -43px; left: 49px; width: 127px; height: 53px; border-radius: 58px 63px 0 0; background: #e4864f; }
.auth-car span { position: absolute; z-index: 1; top: -33px; left: 70px; width: 96px; height: 31px; border-radius: 36px 40px 0 0; background: #cadcd2; }
.auth-car i { position: absolute; bottom: -15px; z-index: 2; width: 39px; height: 39px; border: 9px solid #26342d; border-radius: 50%; background: #e7ddc4; }
.auth-car i:first-of-type { left: 35px; }.auth-car i:last-of-type { right: 32px; }
.auth-art-copy { position: absolute; top: 37px; left: 38px; z-index: 3; display: grid; gap: 12px; }
.auth-art-copy span { color: #647768; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.auth-art-copy strong { color: #1c382c; font-family: "Playfair Display", Georgia, serif; font-size: 31px; line-height: 1.12; font-weight: 600; }
.auth-form { max-width: 470px; width: 100%; margin: auto; padding: 36px 50px; }
.auth-brand { margin-bottom: 35px; }
.auth-form h1, .needs-intro h1 { margin-bottom: 11px; font-size: 42px; letter-spacing: -1.2px; }
.auth-copy, .needs-intro > p:last-child { color: #738077; font-size: 12px; line-height: 1.7; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 17px; padding: 4px; border-radius: 5px; background: #f0f1e9; }
.auth-tab { min-height: 34px; border: 0; border-radius: 4px; background: transparent; color: #7a857b; font-size: 10px; font-weight: 700; cursor: pointer; }
.auth-tab.active { background: white; color: var(--ink); box-shadow: 0 1px 4px #203a2b12; }
.form-field { display: grid; gap: 7px; margin: 12px 0; color: #506153; font-size: 10px; font-weight: 700; }
.form-field input, .form-field select { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid #dfe3d9; border-radius: 4px; background: white; color: #304539; font: 500 11px "DM Sans", sans-serif; }
.form-field input:focus, .form-field select:focus { outline: 2px solid #a9bf8d; border-color: #789566; }
.auth-submit { width: 100%; margin-top: 9px; justify-content: space-between; }
.prototype-note { margin: 12px 0 0; color: #919990; font-size: 9px; line-height: 1.6; }
.prototype-note > span { color: #82986e; }
.needs-shell { margin: 42px 0 56px; padding: 32px; border: 1px solid #e5e5dc; border-radius: 9px; background: #fffefa; box-shadow: 0 14px 45px #3243350b; }
.needs-intro { max-width: 690px; margin-bottom: 24px; }
.needs-intro h1 { font-size: 40px; }
.needs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 13px; }
.needs-card { min-width: 0; min-height: 300px; margin: 0; padding: 16px; border: 1px solid #e6e8df; border-radius: 6px; }
.needs-card legend { padding: 0 4px; color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 17px; }
.needs-card legend span { margin-right: 6px; color: #81956e; font: 800 9px "DM Sans", sans-serif; }
.input-suffix { position: relative; display: flex; align-items: center; }
.input-suffix > span { position: absolute; left: 11px; z-index: 1; color: #738077; font-size: 11px; }
.input-suffix input { padding-left: 24px; }
.field-caption { margin: -1px 0 13px; color: #879188; font-size: 9px; line-height: 1.6; }
.check-row { display: flex; align-items: center; gap: 9px; margin: 13px 0; color: #59685e; font-size: 10px; }
.check-row input { width: 14px; height: 14px; accent-color: #557c51; }
.needs-footer { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.needs-footer .prototype-note { max-width: 440px; }
.match-status { margin: -5px 0 12px; color: #75846f; font-size: 10px; font-weight: 600; }
.car-grid { align-items: stretch; }
.car-card { padding: 0 0 12px; overflow: hidden; }
.car-card.selected { border-color: #557c51; box-shadow: 0 0 0 1px #557c51; background: #fbfcf6; }
.car-select { width: 100%; padding: 0 10px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.car-select:focus-visible { outline: 3px solid #b8d873; outline-offset: -3px; }
.car-illustration { height: 118px; margin: 0 -10px 10px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, #f1f2e9, #e4e9dc); }
.car-illustration img { width: 100%; height: 100%; object-fit: contain; }
.car-card:nth-child(2) .car-illustration { background: #edf0ed; }
.car-card:nth-child(3) .car-illustration { background: #eeeae3; }
.car-card:nth-child(4) .car-illustration { background: #e7ece8; }
.car-card h3 { margin: 0 0 3px; }
.car-facts { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 10px 0; }
.car-facts span { padding: 4px 6px; border-radius: 3px; background: #f0f3e8; color: #687c5e; font-size: 8px; font-weight: 600; }
.model-details { padding: 9px 10px 0; }
.model-details > span { display: block; margin: 0 0 3px; color: #849181; font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.model-details p { min-height: 25px; margin: 0 0 7px; color: #67756a; font-size: 8px; line-height: 1.45; }
.car-price-row { margin: 0 10px; }
.car-price-row strong { font-size: 11px; }
.car-price-row span { font-size: 8px; }
.official-link { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin: 9px 10px 0; padding-top: 8px; border-top: 1px solid #edeee8; color: #4c7147; text-decoration: none; font-size: 8px; line-height: 1.4; font-weight: 700; }
.official-link:hover { text-decoration: underline; }
.plan-cost { margin-top: 6px !important; color: #55734d !important; font-weight: 700; }
.no-matches { margin: 12px 0; padding: 16px; border: 1px solid #e7e8df; border-radius: 5px; background: #f7f8f1; color: #536454; font-size: 11px; }
.no-matches p { margin: 7px 0; color: #818a81; font-size: 10px; }
.text-button { padding: 0; border: 0; background: none; color: #52734b; font: 700 10px "DM Sans", sans-serif; cursor: pointer; text-decoration: underline; }
.optional-label { margin-left: 5px; color: #8a9782; font-size: 7px; letter-spacing: .8px; }
.intro-edit-button { padding: 6px 9px; border: 1px solid #dfe5d8; border-radius: 4px; background: #fffefa; color: #58734d; font-size: 9px; font-weight: 700; cursor: pointer; }
.intro-edit-button:hover { border-color: #9eb08e; background: #f7f9f1; }
.credit-note { margin-top: -7px; }
.drive-game { position: relative; overflow: hidden; border: 1px solid #dfe4d7; border-radius: 7px; background: #66836a; }
.drive-canvas { display: block; width: 100%; height: clamp(245px, 34vw, 390px); }
.drive-hud { position: absolute; top: 12px; right: 13px; left: 13px; display: flex; justify-content: space-between; pointer-events: none; }
.drive-hud span { padding: 7px 9px; border: 1px solid #ffffff55; border-radius: 3px; background: #fffefaD9; color: #39523f; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.drive-hud span:empty { display: none; }
.drive-overlay { position: absolute; top: 47%; left: 50%; max-width: calc(100% - 32px); padding: 10px 15px; transform: translate(-50%, -50%); border: 1px solid #ffffff70; border-radius: 5px; background: #19362bdc; color: white; text-align: center; font-size: 11px; font-weight: 700; pointer-events: none; }
.drive-controls { min-height: 54px; padding: 7px 12px; display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid #ffffff30; background: #19362b; touch-action: none; }
.steer-button { width: 43px; height: 38px; border: 1px solid #ffffff55; border-radius: 5px; background: #ffffff13; color: white; font-size: 21px; font-weight: 700; cursor: pointer; touch-action: none; user-select: none; }
.steer-button:active { background: #77915f; }
.pedal-controls { display: flex; align-items: center; gap: 7px; }
.pedal-button { min-width: 46px; height: 34px; padding: 0 8px; border: 1px solid #ffffff44; border-radius: 4px; background: #ffffff13; color: #e6eadc; font: 800 8px "DM Sans", sans-serif; letter-spacing: .7px; cursor: pointer; touch-action: none; user-select: none; }
.pedal-button.accelerate { background: #71905d; color: white; }
.pedal-button.pressed { transform: translateY(1px); background: #96b96f; }
.drive-instructions { margin: 0; padding: 7px 12px; background: #19362b; color: #dce8d8; text-align: center; font-size: 9px; }
.choice-prompt:before { content: "ROUTE CHOICE · "; color: #81956e; font-size: 8px; letter-spacing: .7px; }
.next-drive-button { min-height: 40px; }

@media (max-width: 800px) {
  .auth-shell { grid-template-columns: .8fr 1.2fr; }
  .auth-form { padding: 30px 28px; }
  .needs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finance-card { grid-row: span 2; }
}
@media (max-width: 600px) {
  .auth-shell { min-height: auto; margin: 24px 0 35px; grid-template-columns: 1fr; }
  .auth-art { min-height: 180px; }
  .auth-sun { top: 22px; width: 55px; height: 55px; }
  .auth-hills { bottom: 12%; height: 62%; }
  .auth-car { right: 12%; bottom: 14%; transform: scale(.56); transform-origin: bottom right; }
  .auth-art-copy { top: 22px; left: 20px; gap: 7px; }
  .auth-art-copy strong { font-size: 21px; }
  .auth-form { padding: 22px 20px 25px; }
  .auth-brand { margin-bottom: 21px; }
  .auth-form h1 { font-size: 35px; }
  .needs-shell { margin: 24px 0 35px; padding: 22px 14px; }
  .needs-intro h1 { font-size: 33px; }
  .needs-grid { grid-template-columns: 1fr; }
  .needs-card { min-height: 0; }
  .finance-card { grid-row: auto; }
  .needs-footer { align-items: stretch; flex-direction: column; gap: 10px; }
  .needs-footer .primary-button { width: 100%; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .car-illustration { height: 88px; }
  .car-select { padding: 0 7px; }
  .car-illustration { margin-right: -7px; margin-left: -7px; }
  .car-tag { font-size: 7px; }
  .car-card h3 { font-size: 12px; }
  .car-subtitle { font-size: 8px; }
  .car-facts { gap: 4px; padding-right: 7px; padding-left: 7px; }
  .car-facts span { font-size: 7px; }
  .model-details { padding-right: 7px; padding-left: 7px; }
  .model-details p { font-size: 7px; }
  .car-price-row { margin: 0 7px; }
  .car-price-row strong { font-size: 9px; }
  .car-price-row span { font-size: 7px; }
  .official-link { margin-right: 7px; margin-left: 7px; font-size: 7px; }
}

/* ---- Readability, polish & accessibility pass ---- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 4px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 10px; }
main:focus { outline: none; }
.topbar { position: sticky; top: 0; z-index: 20; background: #f8f7f1ee; backdrop-filter: blur(8px); }
.top-note, .reset-button { color: #4f5e54; font-size: 12px; }
.reset-button:hover { color: var(--ink); text-decoration: underline; }
.eyebrow { font-size: 12px; color: #5b744e; }
.intro-text { font-size: 17px; max-width: 460px; color: #55625a; }
.trip-meta, .heading-note, .money-caption, .fit-copy { font-size: 13px; color: #55625a; }
.hero-label span, .route-stamp span { font-size: 10px; }
.step { font-size: 13px; } .step > span { font-size: 11px; } .step.active > span { width: 26px; height: 26px; }
.car-tag { font-size: 10px; color: #5b744e; }
.car-card h3 { font-size: 17px; }
.car-subtitle { font-size: 12px; min-height: 34px; color: #5a665d; }
.car-facts span { font-size: 11px; padding: 4px 7px; color: #4f6445; }
.model-details > span { font-size: 10px; color: #6b7868; }
.model-details p { font-size: 12px; min-height: 34px; color: #4f5c53; }
.car-price-row span { font-size: 11px; color: #5f6b62; } .car-price-row strong { font-size: 14px; }
.official-link { font-size: 11px; color: #3f6339; }
.car-card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.car-card.selected { box-shadow: 0 0 0 2px #557c51, 0 10px 26px #3243351a; }
.plan-card { transition: border-color .15s, box-shadow .15s; } .plan-card:not(:disabled):hover { border-color: #a8b99c; }
.plan-card p { font-size: 12px; color: #5a665d; } .plan-title-row strong { font-size: 14px; } .plan-title-row span { font-size: 10px; color: #5f7752; }
.assumption-note, .prototype-note, .field-caption, .money-foot, .disclaimer { font-size: 12px; color: #667168; }
.primary-button { min-height: 48px; font-size: 14px; padding: 0 22px; }
.money-top, .fit-label, .drive-status span { font-size: 10px; }
.estimate-row, .estimate-row strong { font-size: 13px; }
.form-field { font-size: 13px; }
.form-field input, .form-field select { min-height: 44px; font-size: 14px; }
.check-row { font-size: 13px; } .check-row input { width: 18px; height: 18px; }
.auth-copy, .needs-intro > p:last-child { font-size: 15px; color: #55625a; }
.auth-tab { font-size: 13px; min-height: 40px; } .optional-label { font-size: 10px; }
.drive-hud span { font-size: 11px; }
.drive-hud #drive-alert { background: #e49a50; color: #fff; }
.drive-overlay { font-size: 14px; }
.drive-instructions { font-size: 12px; }
.steer-button { width: 58px; height: 46px; }
.pedal-button { min-width: 64px; height: 42px; font-size: 11px; }
.drive-story > p:last-child { font-size: 15px; max-width: 460px; }
.choice-prompt { font-size: 13px; } .choice-prompt:before { font-size: 10px; }
.choice-button { font-size: 14px; padding: 13px; }
.choice-result { font-size: 13px; }
.drive-status strong { font-size: 26px; } .drive-status span:last-child { font-size: 11px; }
.drive-progress { font-size: 11px; width: 190px; }
.breakdown-row { font-size: 13px; } .what-if > p:not(.eyebrow) { font-size: 13px; }
.whatif-savings { font-size: 14px; } .ending-hero > p:not(.eyebrow) { font-size: 15px; } .ending-badge { font-size: 12px; }
footer { font-size: 12px; } footer span:first-child { font-size: 13px; }
@media (max-width: 600px) {
  .car-grid { grid-template-columns: 1fr; gap: 12px; }
  .car-illustration { height: 150px; }
  .car-card h3 { font-size: 17px; } .car-subtitle, .model-details p { font-size: 12px; }
  .car-facts span { font-size: 11px; } .car-price-row { flex-direction: row; } .car-price-row strong { font-size: 14px; }
  .official-link { font-size: 11px; }
  .plan-grid { grid-template-columns: 1fr; }
  .stepper { overflow-x: auto; } .step { font-size: 12px; }
  .drive-hud { flex-wrap: wrap; } .drive-hud span { font-size: 10px; }
  .steer-button { width: 64px; height: 48px; } .pedal-button { min-width: 62px; height: 44px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.text-button { font-size: 13px; margin-top: 14px; }
.car-illustration svg { width: 100%; height: 100%; padding: 10px 14px; }
.car-card .car-illustration { height: 118px; }

.ending-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; }
.ending-actions #save-status { font-weight: 600; color: #244d38; }
.req-facts span { background: #e3f0cf; color: #244d38; }
@media print { .topbar, footer, .ending-actions, .replay-button { display: none; } }

.compare-toggle { margin: 10px 0 0; padding: 9px 14px; border: 1.5px solid #244d38; border-radius: 999px; background: transparent; color: #244d38; font: 700 13px inherit; cursor: pointer; }
.compare-toggle.on { background: #244d38; color: #d9ef90; }
.compare-tray { position: sticky; bottom: 12px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 18px; border-radius: 16px; background: #10281f; color: #f3e8c9; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.compare-tray #compare-names { flex: 1; font-weight: 600; }
.compare-tray .text-button { color: #d9ef90; }
.compare-dialog { width: min(1000px, 94vw); max-height: 90vh; padding: 22px; border: 0; border-radius: 20px; background: #fbf6e8; color: #1c2b23; }
.compare-dialog::backdrop { background: rgba(16,40,31,.6); }
.compare-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.compare-head h2 { margin: 0; }
.compare-note { font-size: 13px; opacity: .75; }
.compare-scroll { overflow: auto; max-height: 68vh; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid rgba(36,77,56,.15); text-align: left; vertical-align: top; }
.compare-table tbody th { width: 150px; font-weight: 600; color: #244d38; position: sticky; left: 0; background: #fbf6e8; }
.compare-table thead th { text-align: center; }
.compare-table .cmp-img { max-width: 160px; margin: 0 auto 6px; }
.compare-table .cmp-img img, .compare-table .cmp-img svg { width: 100%; height: auto; }
.compare-table td.best { background: #e3f0cf; font-weight: 700; }
.best-tag { font-size: 10px; letter-spacing: .06em; color: #244d38; }
#compare-status { margin: 0 8px; font-weight: 600; color: #244d38; }

/* Toyota Go · confident red, warm paper, practical guidance */
:root {
  --ink: #302b2a;
  --muted: #766e6a;
  --paper: #f7f4f0;
  --line: #e8ded8;
  --green: #d71920;
  --lime: #fff0ed;
  --orange: #b8242b;
  color-scheme: light;
}
body { background: var(--paper); color: var(--ink); }
h1, h2, h3 { color: var(--ink); }
h1 em { color: #c32128; }
.topbar {
  min-height: 66px; height: auto; color: #fff; background: #c9141d;
  border: 0; box-shadow: 0 3px 14px #65151b1c;
}
.topbar .brand { color: #fff; font-size: 20px; letter-spacing: -.55px; }
.brand-mark { display: none; }
.brand-logo { display: block; width: 42px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
.top-note, .reset-button { color: #fff; }
.top-note { font-size: 11px; letter-spacing: 1px; }
.live-dot { background: #ffd9d4; box-shadow: 0 0 0 3px #ffffff28; }
.reset-button { color: #fff; border: 1px solid #ffffff70; border-radius: 4px; padding: 8px 12px; }
.reset-button:hover { color: #fff; background: #ffffff1c; text-decoration: none; }
.skip-link { background: #a90e17; }
.eyebrow, .car-tag, .meta-icon, .optional-label, .needs-card legend span { color: #b82129; }
.step.active > span { background: #c9141d; }
.step.done, .step.done > span { color: #a62c31; }
.car-card:hover, .plan-card:not(:disabled):hover { border-color: #d79292; }
.car-card.selected, .plan-card.selected { border-color: #c9141d; box-shadow: 0 0 0 1px #c9141d; background: #fff8f6; }
.car-card.selected { box-shadow: 0 0 0 2px #c9141d, 0 10px 26px #74302b14; }
.car-facts span { color: #8c3a3b; background: #f8e9e6; }
.official-link, .text-button, .intro-edit-button { color: #a92027; }
.plan-title-row span, .plan-cost { color: #a52b31 !important; }
.primary-button { background: #c9141d; }
.primary-button:hover { background: #a90e17; }
.primary-button span { color: #ffe2de; }
.money-panel { background: #f8efeb; }
.money-top, .fit-label { color: #8a4b49; }
.budget-icon { color: #c2242b; }
.fit-dot { background: #c9141d; }
.estimate-row strong { color: #413333; }
.fit-copy { color: #624f4c; }
.drive-status { background: #f8e9e5; }
.drive-status span { color: #91504c; }
.progress-track i { background: #c9141d; }
.choice-button:hover { border-color: #c77c7f; background: #fff8f6; }
.choice-result, .whatif-savings { color: #9b282d; }
.ending-badge { color: #92252b; background: #f7e6e3; }
.what-if { background: #fbf1ed; }
.whatif-savings { border-color: #ead7d1; }
.auth-shell, .needs-shell, .game-shell, .drive-shell, .ending-shell {
  border-color: #e7dcd6; background-color: #fffdfa; box-shadow: 0 14px 45px #5c2d2510;
}
.auth-art { display: flex; align-items: end; min-height: 570px; background: #5c1c20; }
.auth-art > :not(.auth-brand-story):not(.auth-building-photo) { display: none !important; }
.auth-building-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% center; }
.auth-art::after {
  position: absolute; inset: 28% 0 0; content: "";
  background: linear-gradient(180deg, transparent 0%, #25141430 30%, #281312e8 100%);
  pointer-events: none;
}
.auth-brand-story { position: relative; z-index: 1; display: grid; gap: 12px; width: 100%; padding: 38px 42px 42px; color: #fff; }
.auth-brand-story span { color: #ffded9; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.auth-brand-story strong { max-width: 460px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: clamp(29px, 3.4vw, 44px); font-weight: 600; line-height: 1.12; }
.auth-brand-story p { max-width: 390px; margin: 0; color: #fff3f0; font-size: 14px; line-height: 1.65; }
.auth-brand .brand-logo { filter: none; width: 40px; height: 25px; }
.auth-brand { color: #302b2a; }
.auth-tab.active { color: #a92027; }
.auth-tabs { background: #f6eeeb; }
.form-field { color: #594c49; }
.form-field input:focus, .form-field select:focus { outline-color: #e6a6a2; border-color: #c9141d; }
.check-row input { accent-color: #c9141d; }
.drive-game { border-color: #e3d0cb; }
.drive-controls, .drive-instructions { background: #641b20; }
.steer-button:active { background: #a9242b; }
.pedal-button.accelerate { background: #c9141d; }
.pedal-button.pressed { background: #a90e17; }
.drive-overlay { background: #421619e8; }
.drive-hud span { color: #563634; }
.drive-hud #drive-alert { background: #c9141d; }
footer { color: #817672; }
footer span:first-child { color: #a92027; }
.hero-art { background: #f2e5e1; }
.hero-landscape > path:nth-child(1) { fill: #d3b9b4; }
.hero-landscape > path:nth-child(2) { fill: #bb8580; }
.hero-landscape > path:nth-child(3) { fill: #a65459; }
.hero-landscape > path:nth-child(4) { fill: #78343a; }
.hero-landscape > path:nth-child(5) { fill: #d5bda2; }
.hero-landscape > path:nth-child(6) { stroke: #fff5ed; }
.car-illustration { background: linear-gradient(140deg, #f5eeeb, #eaded9); }
.car-card:nth-child(2) .car-illustration, .car-card:nth-child(4) .car-illustration { background: #f1e9e5; }
.car-card:nth-child(3) .car-illustration { background: #efe7e1; }
.req-facts span { background: #f7e8e4; color: #8e3538; }
.ending-actions #save-status { color: #a92027; }
.compare-toggle { border-color: #a92027; color: #a92027; }
.compare-toggle.on { background: #a92027; color: #fff; }
.compare-tray { background: #631b20; color: #fff2ef; }
.compare-tray .text-button { color: #ffe3df; }
.compare-dialog { background: #fffaf7; color: #302b2a; }
.compare-dialog::backdrop { background: #4d171bcc; }
.compare-table th, .compare-table td { border-color: #efe3de; }
.compare-table tbody th { color: #9d252c; background: #fffaf7; }
.compare-table td.best { background: #f8e6e1; }
.best-tag, #compare-status { color: #a92027; }
button:focus-visible, .car-card:focus-visible, .plan-card:focus-visible {
  outline-color: #d35d62;
}

/* Educational ownership insights are inserted beneath the setup grid. */
#deal-insights { margin: 0; padding: 30px clamp(18px, 3vw, 34px) 34px; border-top: 1px solid var(--line); background: #fcf8f5; }
.insight-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.insight-header h2 { font-size: clamp(23px, 3vw, 31px); }
.insight-header p { max-width: 560px; margin: 8px 0 0; color: #766b67; font-size: 14px; line-height: 1.6; }
.estimate-badge { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 8px 11px; border: 1px solid #edc7c1; border-radius: 999px; background: #fff4f1; color: #9e292e; font-size: 11px; font-weight: 750; white-space: nowrap; }
.benefit-overview { display: grid; grid-template-columns: minmax(190px, .7fr) 1.3fr; gap: 18px; margin-bottom: 20px; }
.benefit-score, .score-breakdown, .insight-card, .retention-summary, .insight-empty { border: 1px solid #eaded8; border-radius: 8px; background: #fffdfa; }
.benefit-score { display: grid; align-content: center; justify-items: center; min-height: 168px; padding: 20px; text-align: center; background: #fbefeb; }
.benefit-score > span:first-child { color: #9e5b55; font-size: 11px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.score-number { margin: 3px 0; color: #b51f27; font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -2px; line-height: 1; }
.benefit-score p { max-width: 230px; margin: 5px 0 0; color: #75645f; font-size: 12px; line-height: 1.5; }
.score-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 0 20px; padding: 18px 22px; }
.score-breakdown h3 { grid-column: 1 / -1; margin: 0 0 9px; font-family: inherit; font-size: 15px; }
.score-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #f0e8e3; color: #756a66; font-size: 12px; }
.score-breakdown strong { color: #403735; font-size: 13px; }
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.insight-card { min-width: 0; padding: 19px; }
.insight-card h3 { margin: 0 0 6px; font-family: inherit; font-size: 16px; letter-spacing: -.2px; }
.insight-card > p { margin: 0 0 15px; color: #7d716d; font-size: 12px; line-height: 1.55; }
.insight-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 15px; }
.insight-controls label { display: grid; gap: 5px; color: #786a65; font-size: 11px; font-weight: 700; }
.insight-controls select, .insight-controls input { min-height: 36px; max-width: 100%; padding: 0 10px; border: 1px solid #e3d6d0; border-radius: 4px; background: #fff; color: #443b38; font: inherit; font-size: 12px; }
.comparison-bars { display: grid; gap: 15px; }
.metric-bar { display: grid; grid-template-columns: minmax(88px, .7fr) 1.3fr auto; align-items: center; gap: 11px; color: #625653; font-size: 12px; }
.metric-bar strong { color: #453936; font-size: 12px; text-align: right; }
.bar-track { height: 9px; overflow: hidden; border-radius: 99px; background: #f1e7e2; }
.bar-track > span { display: block; width: var(--bar-value, 50%); height: 100%; border-radius: inherit; background: #c9141d; }
.metric-bar:nth-child(even) .bar-track > span { background: #8d7771; }
.chart-wrap { position: relative; min-height: 170px; padding: 8px; border-radius: 6px; background: #fcf6f2; }
.chart-wrap canvas, .chart-wrap svg { display: block; width: 100%; max-width: 100%; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; color: #6e625e; font-size: 11px; }
.chart-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i { width: 9px; height: 9px; border-radius: 50%; background: #c9141d; }
.chart-legend > span:nth-child(even) i { background: #8d7771; }
.insight-methodology { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid #c9141d; background: #f8efeb; color: #746863; font-size: 11px; line-height: 1.65; }
.retention-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; padding: 15px 18px; }
.retention-summary strong { color: #a92027; font-size: 20px; }
.retention-summary p { margin: 0; color: #756a66; font-size: 12px; line-height: 1.5; }
.insight-empty { padding: 28px 20px; color: #756a66; text-align: center; }
.insight-empty strong { display: block; margin-bottom: 5px; color: #443b38; }
.insight-empty p { margin: 0; font-size: 13px; line-height: 1.55; }
.insight-table-wrap { overflow-x: auto; border: 1px solid #eaded8; border-radius: 7px; }
.insight-table { width: 100%; border-collapse: collapse; background: #fffdfa; text-align: left; font-size: 12px; }
.insight-table th, .insight-table td { min-width: 110px; padding: 11px 13px; border-bottom: 1px solid #f0e8e3; }
.insight-table th { color: #7d5551; background: #fbf1ed; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.insight-table td { color: #5c504c; }
.insight-table tr:last-child td { border-bottom: 0; }
.insight-bar-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 7px; }
.metric-bar, .score-breakdown > .metric-bar { display: block; padding: 10px 0; min-width: 0; }
.score-breakdown > .field-caption { grid-column: 1 / -1; margin: 12px 0 0; }
.score-number span { font-size: .5em; }
.benefit-score > small { max-width: 240px; margin-top: 12px; color: #766b67; font-size: 11px; line-height: 1.6; }
.insight-card h2 { margin-bottom: 14px; font-size: 24px; }
.retention-card { grid-column: 1 / -1; }
.retention-summary { display: block; line-height: 1.7; font-size: 13px; }
.chart-wrap { margin-top: 14px; }
.insight-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); align-items: start; margin-top: 18px; gap: 14px; }
.insight-card a, .insight-methodology a { color: #a92027; font-size: 12px; }
.insight-card summary, .insight-methodology summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
.insight-methodology p { font-size: 12px; line-height: 1.8; color: #655b57; }
.insight-table caption { padding: 12px; text-align: left; font-weight: 700; }
.insight-table td { white-space: normal; }
@media (max-width: 800px) {
  .auth-art { min-height: 430px; }
  .benefit-overview { grid-template-columns: 1fr; }
  .insight-header { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
  .topbar { min-height: 58px; }
  .topbar .brand { gap: 7px; font-size: 17px; }
  .brand-logo { width: 35px; height: 23px; }
  .reset-button { padding: 7px 9px; font-size: 11px; }
  .auth-art { min-height: 270px; }
  .auth-brand-story { padding: 24px 22px; gap: 8px; }
  .auth-brand-story strong { font-size: 28px; }
  #deal-insights { padding: 23px 14px; }
  .insight-grid { grid-template-columns: 1fr; }
  .score-breakdown { grid-template-columns: 1fr; padding: 15px; }
  .metric-bar { grid-template-columns: minmax(76px, .8fr) 1fr auto; gap: 7px; font-size: 11px; }
  .metric-bar strong { font-size: 11px; }
  .retention-summary { align-items: flex-start; flex-direction: column; }
}
