/* =========================================================================
   CarOfferly — premium design system
   Navy + gold "get top dollar" identity. Display face: Sora (swap-loaded, non
   render-blocking). Body: system stack for speed. Car art is inline SVG —
   instant, zero external requests, protects the 90+ mobile score.
   ========================================================================= */

:root {
  --ink:      #08182A;
  --ink-2:    #0F2A45;
  --ink-3:    #16385A;
  --paper:    #FFFFFF;
  --mist:     #F4F7FA;
  --mist-2:   #EAF0F6;
  --line:     #E1E8EF;
  --muted:    #5A6B7B;
  --muted-2:  #8494A3;
  --gold:     #F5B324;
  --gold-2:   #FBD778;
  --gold-deep:#D2900F;
  --gold-soft:#FCF3DC;
  --ok:       #1FA971;
  --danger:   #D64545;

  --radius:   16px;
  --radius-sm:11px;
  --radius-lg:22px;
  --shadow-sm: 0 1px 2px rgba(8,24,42,.06), 0 3px 10px rgba(8,24,42,.05);
  --shadow-md: 0 10px 30px rgba(8,24,42,.10);
  --shadow-lg: 0 26px 60px rgba(8,24,42,.22);
  --shadow-gold: 0 12px 30px rgba(245,179,36,.35);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", var(--font);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(52px, 8vw, 96px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow.on-dark { color: var(--gold-2); }

h1,h2,h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .45em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }
.lead { font-size: clamp(1.06rem, 2.1vw, 1.28rem); color: var(--muted); }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
  padding: 15px 28px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .14s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-gold:hover { filter: brightness(1.03); box-shadow: 0 16px 38px rgba(245,179,36,.45); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---- announcement bar ---- */
.topbar { background: var(--ink); color: #C9D8E6; font-size: .82rem; }
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
  min-height: 38px;
  padding-block: 8px;
  flex-wrap: wrap;
}
.topbar b { color: var(--gold-2); font-weight: 700; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); flex-shrink: 0; }
@media (max-width: 680px) {
  .topbar .hide-sm { display: none; }
  .topbar .wrap { gap: 8px 16px; }
}
@media (max-width: 480px) {
  .topbar { font-size: .75rem; }
  .topbar .wrap {
    padding-block: 10px;
    gap: 6px 12px;
  }
  .topbar .dot { width: 3px; height: 3px; }
  .topbar .hide-xs { display: none; }
}

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 58px; width: auto; object-fit: contain; }
.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity .2s ease;
}
.footer-logo:hover { opacity: 1; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; background: linear-gradient(140deg, var(--ink-3), var(--ink)); display: grid; place-items: center; color: var(--gold); font-weight: 900; font-family: var(--font-display); box-shadow: inset 0 0 0 1px rgba(245,179,36,.25); }
.brand em { color: var(--gold-deep); font-style: normal; }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .btn { padding: 9px 14px; font-size: 0.8rem; white-space: nowrap; }
@media (min-width: 480px) { .header-cta .btn { padding: 11px 18px; font-size: 0.9rem; } }
.header-phone { display: none; font-weight: 700; text-decoration: none; color: var(--ink); font-size: .96rem; }
.header-phone:hover { color: var(--gold-deep); }
@media (min-width: 760px){ .header-phone { display: inline-flex; align-items:center; gap:7px; } }
@media (max-width: 400px) {
  .brand-logo { height: 38px; width: 150px; }
  .header-cta .btn { padding: 8px 12px; font-size: 0.76rem; }
}

/* ---- hero ---- */
.hero { position: relative; color: #fff; overflow: hidden; background:
  radial-gradient(120% 130% at 80% -10%, #1B4468 0%, transparent 58%),
  linear-gradient(160deg, #103158 0%, #08182A 60%); }
.hero::before { content:""; position:absolute; inset:0; background-image:
  radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; opacity:.5; pointer-events:none; }
.hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 46px, transparent 46px 92px); opacity:.45; }
.hero .wrap { position: relative; z-index: 1; }
.hero-top { display: block; padding-block: clamp(40px, 5.5vw, 62px) clamp(34px, 4.5vw, 56px); }
.hero-intro { max-width: 780px; margin: 0 auto clamp(26px, 3.5vw, 40px); text-align: center; }
.hero-intro h1 { margin-inline: auto; }
.hero-intro .lead { max-width: 54ch; margin-inline: auto; }
.hero-intro .trust-row { justify-content: center; }
/* On phones, compress the intro so the Edmunds tool is reachable immediately */
@media (max-width: 560px){
  .hero-top { padding-block: 22px 46px; }
  .hero-intro { margin-bottom: 20px; }
  .hero-intro h1 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .hero-intro .lead { font-size: .96rem; max-width: 42ch; }
  .hero-intro .trust-row { gap: 8px 16px; margin-top: 16px; font-size: .85rem; }
}
.hero h1 { color: #fff; }
.hero h1 span { color: transparent; background: linear-gradient(120deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: #BBCBDB; max-width: 36ch; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 26px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #BBCBDB; }
.trust-item svg { flex: 0 0 auto; color: var(--gold); }


/* hero car showcase band */
.hero-showcase {
  position: relative;
  margin-top: clamp(20px, 4vw, 40px);
  padding-bottom: clamp(30px, 5vw, 54px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-showcase::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(245,179,36,.15) 0%, rgba(245,179,36,.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-car {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)) drop-shadow(0 15px 25px rgba(0,0,0,.3));
  animation: floatCar 6s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes floatCar { 0%,100%{ transform: translateY(0) scale(1);} 50%{ transform: translateY(-10px) scale(1.01);} }
.chip { position: absolute; background: rgba(255,255,255,.98); color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15); font-size: .88rem; font-weight: 700; display: flex; align-items: center; gap: 11px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); z-index: 10; }
.chip small { display:block; color: var(--muted); font-weight: 600; font-size: .76rem; }
.chip .ci { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-soft), #FFF8E8); color: var(--gold-deep); display: grid; place-items: center; flex:0 0 auto; }
.chip-1 { top: 10%; left: 4%; animation: chipFloat1 4s ease-in-out infinite; }
.chip-2 { bottom: 18%; right: 4%; animation: chipFloat2 4s ease-in-out infinite 0.5s; }
@keyframes chipFloat1 { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
@keyframes chipFloat2 { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
@media (max-width: 640px){ .chip { display:none; } }

/* ---- offer card ---- */
.offer-card {
  background: linear-gradient(180deg, #fff 0%, #FAFBFC 100%);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(8,24,42,.25), 0 0 0 1px rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.8);
  position: relative;
  overflow: hidden;
}
.offer-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.offer-card::before {
  content: "No-obligation";
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.offer-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.offer-card .sub { color: var(--muted); font-size: .96rem; margin-bottom: 20px; }
@media (max-width: 480px) {
  .offer-card {
    padding: 24px 20px;
    border-radius: var(--radius);
  }
  .offer-card::before {
    position: relative;
    top: auto;
    right: auto;
    display: inline-block;
    margin-bottom: 12px;
  }
  .offer-card h2 { font-size: 1.35rem; }
  .offer-card .sub { font-size: .9rem; margin-bottom: 16px; }
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 16px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder { color: var(--muted-2); }
.field input:hover { border-color: var(--muted-2); background: #FAFBFC; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245,179,36,.2); background: #fff; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .err { font-size: .78rem; color: var(--danger); margin-top: 6px; display: none; }
.field.invalid input { border-color: var(--danger); }
.field.invalid .err { display: block; }
@media (max-width: 480px) {
  .field-grid { grid-template-columns: 1fr; gap: 12px; }
  .field { margin-bottom: 12px; }
  .field input { padding: 14px 14px; font-size: 16px; }
}
.consent { font-size: .74rem; color: var(--muted); margin-top: 14px; line-height: 1.55; text-align: center; }
.consent a { color: var(--gold-deep); text-decoration: underline; }
.offer-card .below {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}
.offer-card .below svg { color: var(--ok); flex-shrink: 0; }
@media (max-width: 480px) {
  .offer-card .btn-lg { padding: 16px 20px; font-size: 1rem; }
  .consent { font-size: .72rem; margin-top: 12px; }
  .offer-card .below { font-size: .75rem; margin-top: 14px; padding-top: 14px; }
}

/* ---- trust strip ---- */
.strip { background: var(--paper); border-block: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding-block: 14px; }
.strip .item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.strip .item svg { color: var(--gold-deep); flex:0 0 auto; }

/* ---- stats band ---- */
.stats { background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: #fff; padding-block: 60px; }
.stats .grid { display: grid; gap: 26px; text-align: center; }
@media (min-width: 680px){ .stats .grid { grid-template-columns: repeat(4,1fr); } }
.stat .n { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat .l { color: #AEC0D0; font-size: .92rem; margin-top: 2px; }

/* ---- competitor comparison table ---- */
.compare-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.compare-table th:first-child {
  text-align: left;
  border-radius: var(--radius) 0 0 0;
}
.compare-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}
.compare-table th.highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}
.compare-table td.highlight {
  background: var(--gold-soft);
}
.compare-table tbody tr:hover {
  background: #FAFBFC;
}
.compare-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--radius);
}
.compare-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius) 0;
}
.compare-table .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--ok), #17865a);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}
.compare-table .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #F1F3F5;
  color: var(--muted);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 700px) {
  .compare-table { font-size: 0.85rem; }
  .compare-table th,
  .compare-table td { padding: 14px 10px; }
}

/* ---- steps ---- */
.mist { background: var(--mist); }
.steps { display: grid; gap: 22px; margin-top: 40px; position: relative; }
@media (min-width: 800px){ .steps { grid-template-columns: repeat(3,1fr); } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; }
.step .badge { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(140deg, var(--ink-3), var(--ink)); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* ---- value props ---- */
.props { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 620px){ .props { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px){ .props { grid-template-columns: repeat(4,1fr); } }
.prop { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .16s ease, box-shadow .2s ease; }
.prop:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prop .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; color: var(--gold-deep); margin-bottom: 16px; }
.prop h3 { font-size: 1.04rem; }
.prop p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---- showcase (car + cash) ---- */
.showcase { background: linear-gradient(160deg, #0F2A45, #08182A); color: #fff; overflow: hidden; }
.showcase .grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px){ .showcase .grid { grid-template-columns: 1.05fr .95fr; } }
.showcase h2 { color: #fff; }
.showcase .lead { color: #BBCBDB; }
.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.showcase-car {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
  border-radius: 8px;
}
.offer-pill {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.1);
  z-index: 10;
  animation: pillFloat 4s ease-in-out infinite;
}
@keyframes pillFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
.offer-pill small { color: var(--muted); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.offer-pill b { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -.03em; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .showcase-visual { padding: 30px 10px 10px; }
  .offer-pill { top: 0; right: 10px; padding: 12px 16px; }
  .offer-pill small { font-size: .65rem; }
  .offer-pill b { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .showcase-visual { padding: 40px 5px 10px; }
  .showcase-car { max-width: 100%; }
  .offer-pill { right: 5px; padding: 10px 14px; border-radius: var(--radius-sm); }
  .offer-pill small { font-size: .6rem; }
  .offer-pill b { font-size: 1.2rem; }
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #D5E0EB; }
.check-list svg { flex: 0 0 auto; color: var(--gold); margin-top: 3px; }
.check-list b { color: #fff; }

/* ---- Edmunds ICO widget + loader ---- */
.ico-section { background: var(--ink); color: #fff; }
.ico-section h2 { color: #fff; } .ico-section .lead { color: #BBCBDB; }
.ico-frame { position: relative; margin-top: 34px; background: transparent; min-height: 520px; overflow: hidden; }

/* --- Edmunds ICO placed directly in the hero (no wrapping card) --- */
.ico-frame.ico-hero { max-width: 1040px; margin: clamp(24px, 3vw, 36px) auto 0; min-height: 460px; overflow: visible; }
@media (max-width: 560px){ .ico-frame.ico-hero { min-height: 520px; margin-top: 20px; } }
.ico-loader { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 24px; text-align: center; background: transparent; transition: opacity .4s ease, visibility .4s ease; }
.ico-frame.loaded .ico-loader { opacity: 0; visibility: hidden; }
.valuation { max-width: 380px; }
.gauge { width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; position: relative; animation: sweep 1.6s ease-in-out infinite; }
.gauge::before { content:""; position: absolute; inset: 9px; background: var(--ink); border-radius: 50%; }
.gauge span { position: relative; font-family: var(--font-display); font-weight: 900; color: var(--gold-deep); font-size: 1.2rem; }
@keyframes sweep { 0%{ background: conic-gradient(var(--gold) 0turn, var(--line) 0turn);} 50%{ background: conic-gradient(var(--gold) .72turn, var(--line) .72turn);} 100%{ background: conic-gradient(var(--gold) 1turn, var(--line) 1turn);} }
.dollar { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; margin: 4px 0 2px; }
.valuation .status { color: #BBCBDB; font-size: .95rem; min-height: 1.4em; }
.skeleton-bars { display: grid; gap: 10px; max-width: 320px; margin: 22px auto 0; }
.skeleton-bars i { height: 12px; border-radius: 6px; display: block; background: linear-gradient(90deg, rgba(255,255,255,.1) 25%, rgba(255,255,255,.2) 37%, rgba(255,255,255,.1) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton-bars i:nth-child(2){ width: 82%; } .skeleton-bars i:nth-child(3){ width: 64%; }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:0 0} }
.ico-error { display:none; }
.ico-frame.errored .ico-error { display:block; }
.ico-frame.errored .valuation .gauge, .ico-frame.errored .valuation .dollar, .ico-frame.errored .skeleton-bars { display:none; }
.edmunds-instant-offer, .edmunds-instant-offer-how-it-works, .edmunds-instant-offer-value-props { display:block; width:100%; position:relative; z-index:1; }
.edmunds-instant-offer-faqs { display: none !important; }

/* ---- testimonials ---- */
.reviews { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 820px){ .reviews { grid-template-columns: repeat(3,1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.review p { font-size: 1.02rem; color: var(--ink-2); }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, var(--ink-3), var(--ink)); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; flex:0 0 auto; }
.reviewer .who { font-weight: 700; font-size: .92rem; }
.reviewer .who small { display: block; color: var(--muted); font-weight: 600; }

/* ---- FAQ ---- */
.faq { max-width: 800px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; font-weight: 700; font-family: var(--font-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; color: var(--gold-deep); font-size: 1.5rem; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 4px 22px; margin: 0; }

/* ---- CTA band ---- */
.cta-band { position: relative; background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%); color: #fff; text-align: center; overflow: hidden; }
.cta-band .cta-car { position: absolute; right: -40px; bottom: -10px; width: 380px; opacity: .16; pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #BBCBDB; max-width: 48ch; margin-inline: auto; }

/* ---- footer ---- */
/* ---- footer ---- */
.site-footer {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: #A6B7C7;
  font-size: .9rem;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
}
.site-footer .wrap { padding-block: 60px 40px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 40px; }
@media (min-width: 720px){ .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.footer-grid > div:first-child p {
  margin-top: 18px;
  max-width: 32ch;
  line-height: 1.6;
  color: #8A9FB3;
}
.site-footer a {
  color: #C4D4E2;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}
.site-footer a:hover { color: var(--gold-2); }
.site-footer h4 {
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer ul li a { padding: 2px 0; }
.site-footer ul li a:hover { padding-left: 4px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
}
.footer-legal .powered { color: #6B7D8E; }

/* Footer mobile */
@media (max-width: 720px) {
  .site-footer .wrap { padding-block: 48px 32px; }
  .footer-grid { gap: 32px; text-align: center; }
  .footer-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .footer-grid > div:first-child p { max-width: 28ch; }
  .site-footer h4 { border-bottom: none; padding-bottom: 0; margin-bottom: 14px; }
  .footer-legal { justify-content: center; text-align: center; padding-top: 24px; }
}

/* ---- legal pages ---- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.7rem); }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.32rem; margin-top: 38px; }
.legal p, .legal li { color: #33404D; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--gold-deep); }

.center { text-align: center; }
.mt-24 { margin-top: 26px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
