@font-face {
  font-family: "Open Sans Condensed";
  src: url("assets/open-sans-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102340;
  --dark: #102340;
  --black: #08172e;
  --paper: #edf4ff;
  --card: #f9fbff;
  --sky: #78c1ff;
  --line: #c7d7eb;
  --muted: #425671;
  --error: #a1222b;
  --display: "Open Sans Condensed", "Arial Narrow", Impact, sans-serif;
  --gutter: clamp(1.25rem, 5.5vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 1rem/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
section[id] { scroll-margin-top: 1rem; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  transform: translateY(-150%);
  background: var(--sky);
  color: var(--ink);
  padding: .65rem .95rem;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - var(--gutter) * 2, 76rem); margin-inline: auto; }

.site-header { background: var(--black); color: var(--paper); border-bottom: 1px solid #274670; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .85rem; }
.header-inner { min-height: 4.5rem; }
.wordmark {
  display: inline-flex;
  gap: .68rem;
  align-items: center;
  flex-shrink: 0;
  font: 700 1.25rem/1 var(--display);
  letter-spacing: .09em;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--sky);
  border-radius: .32rem;
  color: var(--sky);
  font-size: .95rem;
  font-style: italic;
  letter-spacing: -.035em;
}
.header-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-link { font-size: .925rem; font-weight: 600; color: #e8f3ff; }
.nav-link:hover { color: var(--sky); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: .35rem;
  padding: .66rem 1.18rem;
  font-size: .925rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.button-small { min-height: 2.65rem; padding: .55rem .9rem; font-size: .875rem; }
.header-cta { border-color: #416b9f; color: var(--sky); }
.header-cta:hover { background: #173961; border-color: var(--sky); }
.button-primary { color: var(--ink); background: var(--sky); }
.button-primary:hover { background: #b3dfff; }
.button-primary:focus-visible { outline-color: var(--sky); }

.hero { position: relative; isolation: isolate; background: var(--black); color: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: 0 0 0 34%; background-color: var(--black); }
.hero-media img, .hero-media::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 60%; }
.hero-media::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--black), rgba(8, 23, 46, .67) 6%, transparent 20%),
    linear-gradient(180deg, rgba(8, 23, 46, .29), transparent 27%),
    linear-gradient(0deg, rgba(8, 23, 46, .3), transparent 22%);
}
.hero-inner { display: flex; align-items: center; min-height: clamp(34rem, 43vw, 42rem); padding-block: 3.75rem 4.35rem; }
.hero-copy { position: relative; z-index: 1; max-width: 30rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .875rem; line-height: 1.35; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.location { color: #cbe4ff; }
.location::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border: 1.5px solid var(--sky);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) translateY(-1px);
}
.display { font: 700 clamp(3.2rem, 6.1vw, 6.3rem)/.94 var(--display); letter-spacing: -.018em; text-transform: uppercase; }
.display em { font-style: normal; color: var(--sky); }
.hero-title {
  margin: .72rem 0 1.44rem;
  width: fit-content;
  font-size: clamp(6.35rem, 9.4vw, 9.1rem);
  line-height: .79;
  letter-spacing: -.026em;
  transform: skewX(-6deg);
  transform-origin: left bottom;
}
.hero-description { max-width: 20.5rem; color: #edf5ff; font-size: 1.0625rem; line-height: 1.6; }
.hero-cta { margin-top: 1.6rem; padding-inline: 1.4rem; }

.buy-section { background: var(--paper); padding-block: clamp(3.2rem, 6.2vw, 6rem); }
.buy-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 2.35rem;
}
.buy-intro .display, .appraisal-intro .display { margin-top: .55rem; }
.buy-intro > p { color: #344e70; max-width: 31rem; padding-bottom: .24rem; }
.garage-list { display: grid; grid-template-columns: repeat(2, 1fr); padding: 0; list-style: none; border-block: 1px solid var(--line); }
.garage-list li { position: relative; display: grid; align-content: start; padding: 1.34rem 1.35rem 1.35rem 2.25rem; }
.garage-list li + li { border-left: 1px solid var(--line); }
.garage-list li strong { font-size: 1.11rem; line-height: 1.35; }
.garage-list li span:last-child { margin-top: .28rem; color: var(--muted); font-size: .925rem; }
.garage-mark {
  position: absolute;
  top: 1.57rem;
  left: .85rem;
  width: .3rem;
  height: .79rem;
  background: #2066be;
  transform: skewX(-20deg);
}

.appraisal-section {
  padding-block: clamp(3.3rem, 7vw, 7rem);
  background: radial-gradient(ellipse at left top, #213f75, transparent 55%), var(--dark);
  color: var(--paper);
}
.appraisal-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(1.6rem, 5vw, 5.8rem); align-items: start; }
.appraisal-intro { padding-top: .55rem; }
.appraisal-intro .eyebrow { color: var(--sky); }
.appraisal-intro .display { font-size: clamp(3.1rem, 5.5vw, 6rem); }
.appraisal-intro > p:not(.eyebrow) { margin-top: 1.3rem; max-width: 22rem; color: #dbeaff; }
.accent-rule { width: 1.15rem; height: 2px; background: var(--sky); }
.preview-note {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  width: fit-content;
  margin-top: 2rem;
  padding: .85rem 1rem;
  border: 1px solid #446da3;
  border-radius: .4rem;
  color: #e4efff;
}
.preview-note strong, .preview-note p { font-size: .875rem; }
.preview-note p { color: #c9dcf6; }
.lock {
  position: relative;
  flex: 0 0 .85rem;
  margin: .42rem 0 .2rem;
  height: .7rem;
  border: 1.5px solid var(--sky);
  border-radius: .13rem;
}
.lock::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: .5rem;
  height: .4rem;
  transform: translateX(-50%);
  border: 1.5px solid var(--sky);
  border-bottom: 0;
  border-radius: .3rem .3rem 0 0;
}
.form-card { min-width: 0; padding: clamp(1.1rem, 3.6vw, 2.65rem); border-radius: .7rem; background: var(--card); color: var(--ink); box-shadow: 0 1rem 2rem #0002; }

.steps {
  display: grid;
  grid-template-columns: .8fr 1fr .95fr;
  gap: .4rem;
  list-style: none;
  padding: 0 0 1.05rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.37rem;
  color: var(--muted);
}
.steps li { display: flex; align-items: center; gap: .43rem; font-size: .875rem; font-weight: 650; white-space: nowrap; }
.steps li span { display: grid; place-items: center; width: 1.52rem; height: 1.52rem; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; font-size: .78rem; }
.steps li[aria-current], .steps li.done { color: var(--ink); }
.steps li[aria-current] span { color: var(--ink); background: var(--sky); border-color: #4f95d3; }
.steps li.done span { background: #e2edfb; border-color: #ccddf0; }

.form-step h3 { width: fit-content; font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.16; letter-spacing: -.045em; scroll-margin: 1.25rem; }
.step-intro { margin: .33rem 0 1.25rem; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.full-width, .contact-preference { grid-column: 1 / -1; }
.field { display: grid; align-content: start; gap: .3rem; min-width: 0; }
.field label, .contact-preference legend { font-size: .9rem; line-height: 1.35; font-weight: 700; }
.optional { margin-left: .18rem; color: var(--muted); font-size: .79rem; font-weight: 500; white-space: nowrap; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  padding: .54rem .67rem;
  border: 1px solid #99adc6;
  border-radius: .33rem;
  background-color: #ffffff;
  color: var(--ink);
}
.field select {
  appearance: none;
  padding-right: 1.95rem;
  background-image: linear-gradient(45deg, transparent 47%, #3b5374 47% 70%, transparent 70%), linear-gradient(-45deg, transparent 47%, #3b5374 47% 70%, transparent 70%);
  background-position: calc(100% - 1.04rem) 51%, calc(100% - .73rem) 51%;
  background-size: .35rem .3rem;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-color: #2155a0; outline-offset: 2px; }
.field input::placeholder, .field textarea::placeholder, .field select:has(option:checked[value=""]) { color: #435a78; opacity: 1; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint, .field-error { font-size: .82rem; line-height: 1.4; }
.field-hint { color: var(--muted); }
.field-error { color: var(--error); font-weight: 620; }

.extra-details { margin-top: 1rem; border-block: 1px solid var(--line); }
.extra-details summary { display: flex; align-items: center; gap: .58rem; min-height: 2.85rem; list-style: none; font-size: .9rem; font-weight: 720; }
.extra-details summary::-webkit-details-marker { display: none; }
.extra-details summary::before { content: "+"; display: inline-grid; place-content: center; flex: 0 0 1.15rem; height: 1.15rem; border-radius: .19rem; background: #e2edfb; font-size: 1rem; line-height: 1; }
.extra-details[open] summary::before { content: "−"; }
.extra-details[open] > .fields { padding: .3rem 0 1.05rem; }

.contact-preference { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-preference legend { margin-bottom: .45rem; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.choices label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .36rem;
  min-height: 2.75rem;
  padding: .3rem;
  border: 1px solid #99adc6;
  border-radius: .33rem;
  background-color: #ffffff;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 650;
}
.choices label:has(:checked) { border-color: #4073b4; background-color: #e0edff; }
.choices label:has(:focus-visible) { outline: 2px solid #2155a0; outline-offset: 2px; }
.choices input { margin: 0; accent-color: #2b5fa4; }

.step-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; padding-top: 1.24rem; }
.button-dark { color: var(--sky); background: #102d55; }
.button-dark:hover { background: #19447b; }
.button-dark:focus-visible, .button-secondary:focus-visible { outline-color: #2b5fa4; }
.button-secondary { color: var(--ink); border-color: #9bb0cb; background: transparent; }
.button-secondary:hover { background: #e3edfb; }
.review-group + .review-group { margin-top: 1.25rem; }
.review-heading { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding-bottom: .25rem; border-bottom: 1px solid var(--line); }
.review-heading h4 { font-size: 1rem; }
.text-button { padding: .44rem .2rem; border: 0; background: transparent; color: #164987; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.review-group dl { display: grid; grid-template-columns: minmax(6.5rem, .75fr) minmax(0, 1.4fr); gap: .38rem .75rem; padding-top: .62rem; font-size: .925rem; }
.review-group dt { color: var(--muted); }
.review-group dd { overflow-wrap: anywhere; white-space: pre-wrap; font-weight: 620; }
.complete { padding-block: .45rem .2rem; }
.complete p { color: var(--muted); margin-top: .45rem; }
.complete-mark { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; margin-bottom: .78rem; border-radius: 50%; background: var(--sky); }
.complete-mark::before { content: ""; width: .94rem; height: .52rem; border: solid var(--ink); border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }

.site-footer { background: var(--black); color: var(--paper); border-top: 1px solid #274670; }
.footer-inner { min-height: 5.35rem; padding-block: 1.05rem; }
.footer-inner p { color: #c9dcf6; font-size: .875rem; }

@media (min-width: 901px) and (max-width: 1100px) {
  .hero-inner { min-height: clamp(27rem, 45vw, 35rem); padding-block: 2.6rem 2.9rem; }
}
@media (max-width: 900px) {
  .hero-inner { align-items: flex-start; min-height: 0; padding-block: 2.4rem 1.7rem; }
  .hero-media { position: relative; inset: auto; aspect-ratio: 3 / 2; }
  .hero-media img { object-position: 50% 55%; }
  .hero-media::after {
    background: linear-gradient(180deg, var(--black), transparent 12%),
      linear-gradient(0deg, rgba(8, 23, 46, .29), transparent 26%);
  }
}
@media (max-width: 860px) {
  .appraisal-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.15fr); gap: 1.5rem; }
}
@media (max-width: 700px) {
  .header-inner { min-height: 3.8rem; }
  .header-nav .nav-link { display: none; }
  .hero-title { font-size: clamp(5.4rem, 17.5vw, 7.35rem); margin: .61rem 0 1.1rem; }
  .hero-description { font-size: 1rem; }
  .hero-cta { margin-top: 1.12rem; }
  .buy-intro, .appraisal-layout { grid-template-columns: minmax(0, 1fr); }
  .buy-intro { margin-bottom: 1.35rem; }
  .garage-list { grid-template-columns: 1fr; }
  .garage-list li { padding-block: .87rem; padding-left: 1.65rem; }
  .garage-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .garage-mark { top: 1.07rem; left: .4rem; }
  .appraisal-intro { padding: 0; }
  .appraisal-intro > p:not(.eyebrow) { margin-top: .9rem; }
  .preview-note { margin-top: 1.15rem; }
}
@media (max-width: 390px) {
  .wordmark { font-size: 1.05rem; gap: .47rem; }
  .brand-mark { height: 1.45rem; flex-basis: 1.45rem; font-size: .84rem; }
  .header-cta { padding-inline: .6rem; }
  .fields { column-gap: .65rem; }
}
@media (max-width: 355px) {
  .wordmark { letter-spacing: .07em; }
  .header-cta { padding-inline: .43rem; font-size: .8rem; white-space: nowrap; }
  .hero-title { font-size: 4.9rem; }
  .appraisal-intro .display { font-size: 2.85rem; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.button:disabled, .text-button:disabled { opacity: .6; cursor: default; }
.submission-status:not(:empty) { margin-top: .7rem; color: var(--muted); font-size: .9rem; }

.footer-details { text-align: right; }
.footer-details .photo-credit { font-size: .78rem; }
.photo-credit a { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 510px) {
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-details { text-align: left; }
}
