/* A quieter palette for long visits, while retaining the Cargorithm blue. */
:root {
  --bg: #f2f4f1;
  --paper: #fafbf9;
  --ink: #25394a;
  --muted: #637688;
  --line: #dfe6e3;
  --navy: #2c4b65;
  --navy2: #385d78;
  --blue: #476d88;
  --pale: #eaf0ee;
  --green: #416f62;
  --shadow: 0 14px 38px rgba(35, 62, 73, .055);
}

.demo-ribbon { background: #e4edea; color: #425f70; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.intro-actions .intro-cta { margin-top: 0; }
.intro-cafe { display: inline-flex; align-items: center; gap: 12px; min-height: 41px; padding: 11px 15px; border: 1px solid #b9d2c6; border-radius: 11px; background: #edf5ef; color: #285d44; font-size: 12px; font-weight: 800; transition: background .18s ease, transform .18s ease; }
.intro-cafe:hover { background: #e0efe5; transform: translateY(-1px); }
.intro-cafe span { font-size: 16px; }
body.dark .intro-cafe { background: #2a493b; border-color: #4c7963; color: #e2f2e8; }
@media(max-width:600px) { .intro-actions { margin-top: 17px; } .intro-actions .intro-cta { margin-top: 0; } }
.car-art { display: flex; }
.car-art img { min-width: 0; min-height: 0; }
.car-art.photo img { object-fit: cover; object-position: center 58%; border-radius: 12px; }
.image-disclaimer { margin: 8px 0 13px; }
.intro-stat i { background: #b9c8c9; }
.car-art .art-glow { background: radial-gradient(ellipse at center, #e1eae7 4%, #f5f8f5 57%, transparent 72%); }
.button.secondary, .lender, .stock-controls select, .saved-row button { background: var(--paper); }
.segmented { background: #e9eeeb; }
.segmented button { color: #607487; }
.choice.active, .model-choice.active, .trim-choice.active, .select-card.active,
.option-card.active, .lender.active { background: #edf3f0; }
.option-card.active { border-color: #86a7b2; }
.deposit-slider, .stock-intro { background: #eef3f0; }
.estimate-banner { background: linear-gradient(115deg, #2d4e66, #416b7f); }
.consult-section { background: linear-gradient(115deg, #29485f 5%, #3b657a 100%); box-shadow: 0 19px 50px rgba(35, 62, 73, .12); }
.consult-heading p, .consult-channel small, .consult-privacy,
.consult-section .section-number { color: #e0ebed; }
.consult-heading .button { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.consult-channel .channel-icon { background: #eaf2ef; color: #2e5a6b; }
.modal-close { background: #eaf0ed; }
.toast, .mobile-bar button, footer { background: #29485f; }

body.dark {
  --bg: #1b2932;
  --paper: #253640;
  --ink: #e5ecec;
  --muted: #afbec4;
  --line: #3c5059;
  --navy: #a9c8d8;
  --navy2: #bdd4df;
  --blue: #a4c2d0;
  --pale: #304956;
  --green: #a1c5b3;
  --shadow: 0 14px 38px rgba(0, 0, 0, .13);
  background: var(--bg);
  color: var(--ink);
}

body.dark .demo-ribbon { background: #314956; color: #d3e2e6; }
body.dark .intro-logo img { filter: brightness(0) invert(1); opacity: .86; }
body.dark .topnav a, body.dark .intro-stat strong, body.dark .stage-colors,
body.dark .price-line span, body.dark .note, body.dark .choice,
body.dark .model-choice, body.dark .trim-choice, body.dark .select-card {
  color: #c2d1d5;
}
body.dark .sep { color: #91aab2; }
body.dark .head-ornament { color: #547487; }
body.dark .car-art .art-glow { background: radial-gradient(ellipse at center, #3d5560 4%, #283943 57%, transparent 72%); }
body.dark .segmented { background: #30414b; }
body.dark .segmented button { color: #afbec4; }
body.dark .segmented button.active { color: var(--ink); }
body.dark .choice.active, body.dark .model-choice.active, body.dark .trim-choice.active,
body.dark .select-card.active, body.dark .lender.active, body.dark .option-card.active,
body.dark .stock-intro, body.dark .deposit-slider { background: #304956; }
body.dark .estimate-banner { background: linear-gradient(115deg, #36566b, #446b7e); }
body.dark .consult-section { background: linear-gradient(115deg, #2d4b5d 5%, #3c6173 100%); }
body.dark .consult-heading .button { background: #e5ecec; border-color: #e5ecec; color: #29485f; }
body.dark .consult-channel .channel-icon { background: #dce8e8; color: #315b69; }
body.dark .brand-mark, body.dark .button.primary, body.dark .intro-cta,
body.dark .stock-card button, body.dark .mobile-bar button, body.dark .skip,
body.dark .option-card.active .check { background: #3d6276; color: #fff; }
body.dark .button.primary { border-color: #3d6276; }
body.dark .button.primary:hover { background: #4d7487; }
body.dark .toast, body.dark footer { background: #243e4d; }
body.dark .modal-close { background: #354b57; }
