:root {
  --blue: #17395c;
  --dark: #10293f;
  --line: #dee7e5;
  --panel: #f5f8f7;
  --muted: #455d6d;
  color: var(--dark);
  background: var(--panel);
  font-family: Poppins, system-ui, -apple-system, sans-serif;
}

.preview {
  width: 100%;
  margin: 0 auto;
}

.app {
  border: 0;
  border-radius: 0;
}

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border: 0;
  background: #0d273c;
}

.banner::after { content: none; }

.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #fff;
  font-size: clamp(1.04rem, 4vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.wordmark span { color: #5be0ae; }
.wordmark strong { font-weight: 700; }
.brand-car { flex: none; width: clamp(43px, 10vw, 51px); height: auto; }

.contents {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 24px 16px 0;
}

.card {
  padding: clamp(16px, 4vw, 36px);
  border-radius: 18px;
}

.step {
  color: #356451;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.step::after {
  width: 48px;
  height: 3px;
  border-radius: 9px;
  background: linear-gradient(to right, #087354 47%, transparent 47% 53%, #dce9e3 53%);
}

#driver-form .step::after {
  background: linear-gradient(to right, #087354 47%, transparent 47% 53%, #087354 53%);
}

#vehicle-form {
  display: block;
}

#vehicle-form section {
  margin-top: 20px;
  padding-top: 16px;
}

#vehicle-form section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

#vehicle-form h2 {
  margin-bottom: 10px;
}

#vehicle-form .choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#vehicle-form .entry > .grid {
  margin-bottom: 10px;
}

#vehicle-form legend {
  font-weight: 600;
}

.choices label {
  justify-content: center;
}

.choices label:has(:checked) {
  color: #075d45;
  border-color: #087354;
  background: #f0f8f4;
}

.request-details ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 5px;
  padding: 0 8px;
  margin: 18px 0;
  color: var(--muted);
  font-size: .82rem;
  list-style: none;
}

footer {
  background: transparent;
}
h1 { font-size: clamp(1.57rem, 5vw, 2.5rem); font-weight: 700; }
h2 { font-weight: 600; }
.intro { margin-top: 9px; }
.primary { color: #fff; background: #087354; font-weight: 600; }
.primary:hover { background: #075d45; }

@media (max-width: 599px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  #vehicle-form .entry > .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-details ul { display: grid; grid-template-columns: repeat(2, max-content); }
}

@media (min-width: 600px) {
  .contents { padding: 32px 24px 0; }

  #vehicle-form {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: 28px;
  }

  #vehicle-form > :not(section) {
    grid-column: 1 / -1;
  }

  #vehicle-form section {
    border-top: 0;
    padding-top: 0;
    min-width: 0;
    margin-top: 24px;
  }

  #vehicle-form section + section {
    border-left: 1px solid var(--line);
    padding-left: 22px;
  }
}
