:root {
  color-scheme: dark;
  --blue: #203e65;
  --night: #102540;
  --orange: #ee8128;
  --paper: #fffaf4;
  --muted: #d4e2f3;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--paper);
  background: var(--blue);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, blockquote { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
em { font-style: normal; color: var(--orange); }
:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.phone :focus-visible { outline-color: var(--night); }

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 5vw, 76px);
  border-bottom: 2px solid var(--orange);
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: clamp(16px, 2.1vw, 28px);
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: -.035em;
}
.cart {
  display: block;
  flex: 0 0 22px;
  height: 17px;
  position: relative;
  background: var(--orange);
  border: 2px solid white;
  box-shadow: inset 0 0 0 2px var(--blue);
}
.cart::before, .cart::after { content: ""; position: absolute; background: white; }
.cart::before { width: 9px; height: 2px; left: -8px; top: -3px; transform: rotate(35deg); }
.cart::after { width: 4px; height: 4px; left: 0; bottom: -8px; box-shadow: 12px 0 white; }

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(545px, 46vw, 735px);
  padding: 56px clamp(16px, 7vw, 125px);
  overflow: hidden;
}
.hero-image {
  z-index: -2;
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 37%;
}
.hero::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a162deb 0%, #101d39b8 28%, #17244119 61%, transparent 100%);
}
.hero-copy { animation: entrance .55s ease-out both; }
.eyebrow {
  color: var(--orange);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: .18em 0;
  font-size: clamp(56px, 8vw, 132px);
  line-height: .89;
  font-weight: 900;
  letter-spacing: -.075em;
}
h1 span { color: var(--paper); }
.hero-copy > p:not(.eyebrow) { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; line-height: 1.18; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 2px;
  color: #21180e;
  background: var(--orange);
  font-weight: 900;
  cursor: pointer;
  transition: background .16s, transform .16s;
}
.hero .button { margin-top: 22px; }
.button:hover { background: #ffa44f; transform: translateY(-2px); }
.button[aria-disabled="true"] { cursor: wait; }
.nameplate {
  position: absolute;
  right: clamp(16px, 7vw, 125px);
  bottom: 32px;
  display: grid;
  box-shadow: 0 5px 16px #0004;
  animation: entrance .6s .17s both;
}
.nameplate > * { padding: 6px 12px; }
.nameplate strong { background: var(--orange); color: #24180c; font-size: 1.27rem; }
.nameplate span { background: var(--blue); font-size: .82rem; font-weight: 700; }
.fine-print { background: #10151f; color: var(--muted); padding: 8px 20px; text-align: center; font-size: .75rem; line-height: 1.5; }

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 60px);
  align-items: center;
  max-width: 1320px;
  margin: auto;
  padding: clamp(38px, 6vw, 90px) clamp(16px, 5vw, 76px);
}
h2 { font-size: clamp(32px, 4.8vw, 76px); font-weight: 900; line-height: .95; letter-spacing: -.055em; }
.estimate h2 { margin: 10px 0 17px; text-transform: uppercase; }
.estimate-copy > p:last-child { color: var(--muted); line-height: 1.5; max-width: 29ch; }
.phone {
  overflow: hidden;
  border: 8px solid #0b192b;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 30px #10254091;
}
.phone-title { padding: 10px 6px; text-align: center; font-size: .9rem; background: var(--night); color: white; font-weight: 800; }
.phone-screen { height: 275px; position: relative; display: flex; flex-direction: column; padding: 10px; color: var(--night); }
.amounts { margin: 0; padding: 0; list-style: none; text-align: right; font-size: 1.7rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.amounts li:not([hidden]) { animation: entrance .23s ease-out both; }
.box-art { position: absolute; left: 0; right: 0; top: 46px; text-align: center; font-size: 66px; pointer-events: none; }
.started .box-art { display: none; }
.phone .button { margin-top: auto; padding: 9px 6px; font-size: .875rem; }
.status { text-align: center; font-size: .75rem; min-height: 1.1rem; margin-top: 5px; }
.offer { border: 4px solid var(--orange); padding: 24px 18px; text-align: center; }
.offer-value { margin: 7px 0 12px; font-weight: 900; font-size: clamp(58px, 8vw, 114px); line-height: 1; letter-spacing: -.08em; white-space: nowrap; }
.offer-value.revealed { animation: reveal .35s cubic-bezier(.2,.8,.35,1.3) both; }
.offer blockquote { font-size: .95rem; line-height: 1.42; }
.offer small { display: block; margin-top: 13px; color: var(--muted); }

.showroom { background: var(--night); padding: clamp(20px, 5vw, 65px) clamp(14px, 7vw, 110px) 0; }
.showroom-frame { position: relative; overflow: hidden; margin: auto; max-width: 1200px; border: 4px solid var(--orange); }
.showroom-frame img { min-height: 315px; object-fit: cover; object-position: center; transition: scale .45s; }
.showroom-frame:hover img { scale: 1.025; }
.showroom-copy { position: absolute; inset: 0 0 auto; padding: clamp(12px, 3.5vw, 46px) 8px; text-align: center; background: linear-gradient(#061427bc, transparent); }
.showroom-copy h2 { text-transform: uppercase; text-shadow: 0 3px 8px #00152c; }
.showroom-copy p { display: inline-block; margin-top: 11px; padding: 5px 8px; background: var(--orange); color: #21180e; font-weight: 900; text-transform: uppercase; }
.showroom .fine-print { background: transparent; padding: 13px 0; }
@keyframes entrance { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: .15; transform: scale(.76); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 800px) {
  .hero { display: flex; align-items: end; min-height: 620px; padding-bottom: 29px; }
  .hero-image { object-position: 85% 10%; height: 67%; }
  .hero::after { background: linear-gradient(0deg, var(--night) 26%, #102540f0 32%, #10254000 61%); }
  .nameplate { right: 16px; top: 13px; bottom: auto; }
  .nameplate > * { padding: 4px 7px; }
  .nameplate strong { font-size: .95rem; }
  .nameplate span { font-size: .68rem; }
  .estimate { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); }
  .offer { grid-column: 1 / -1; }

}
@media (max-width: 470px) {
  .topbar { min-height: 57px; gap: 12px; }
  .hero { min-height: 565px; }
  .estimate { grid-template-columns: minmax(0, 1fr); }
  .phone { width: min(100%, 230px); justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.topbar nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(14px, 2.2vw, 30px); }
.topbar nav a { padding: 8px 0; font-size: .92rem; font-weight: 700; border-bottom: 2px solid transparent; }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { border-color: var(--orange); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 21px clamp(16px, 5vw, 76px); }
.site-footer a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer a[aria-current="page"] { color: var(--orange); }
.content-width { width: min(100% - 32px, 1168px); margin-inline: auto; }
.home-guide { padding-block: clamp(35px, 6vw, 78px); }
.home-guide h2 { font-size: clamp(32px, 4.5vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 4vw, 50px); list-style: none; counter-reset: step; margin: 30px 0 0; padding: 0; }
.steps li { border-top: 2px solid #8198b1; padding-top: 15px; counter-increment: step; }
.steps h3 { margin: 0 0 6px; font-size: 1.18rem; }
.steps h3::before { content: counter(step) ". "; color: var(--orange); }
.steps p, .page-intro > p:last-child { color: var(--muted); line-height: 1.55; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 25px; }
.text-link, .prose a:not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover, .prose a:not(.button):hover { color: var(--orange); }
.page-intro { padding-top: clamp(36px, 7vw, 88px); }
.page-intro h1, .prose h1 { font-size: clamp(42px, 6vw, 84px); letter-spacing: -.06em; line-height: 1.02; overflow-wrap: anywhere; }
.page-intro > p:last-child { font-size: 1.13rem; }
.page-intro + .estimate { padding-top: clamp(28px, 4vw, 52px); }
.page-intro + .showroom { margin-top: 29px; }
.page-end { padding-bottom: 38px; }
.prose { max-width: 830px; padding-block: clamp(30px, 7vw, 85px); }
.prose h1 { margin: 0 0 .62em; }
.prose h2 { margin: 1.35em 0 .45em; font-size: clamp(24px, 3.5vw, 40px); line-height: 1.06; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 66ch; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.prose p + p { margin-top: .8em; }
.prose a:not(.button) { color: var(--paper); }
.prose details { border-bottom: 1px solid #8298b0; padding: 12px 0; }
.prose summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.prose details p { padding: 5px 0 7px; }
@media (max-width: 700px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 5px; }
  .topbar nav a { font-size: .82rem; }
  .steps { grid-template-columns: 1fr; }
}

.guide-layout, .reprise-inspection {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
}
.guide-layout { margin-top: 28px; }
.guide-layout .steps { grid-template-columns: 1fr; gap: 12px; margin-top: 0; }
.guide-layout .steps li { padding-top: 9px; }
.gege-figure { margin: 0; }
.gege-figure img, .expert-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.gege-figure figcaption { color: var(--muted); font-size: .82rem; line-height: 1.45; padding: 8px 0 0; }
.expert-portrait { margin: 0 0 14px; max-width: 380px; }
.reprise-inspection { margin-top: clamp(34px, 6vw, 78px); }
.reprise-inspection h2 { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 54px); }
.reprise-inspection p:last-child { color: var(--muted); line-height: 1.5; }
@media (max-width: 700px) {
  .guide-layout, .reprise-inspection { grid-template-columns: 1fr; }
}

.origin-figure { margin-top: 22px; }
