.app:has(#welcome.active) {
  max-width: none;
  padding-bottom: 0;
  background: #fbfaf7;
  color: #172941;
}

.app:has(#welcome.active) header {
  box-sizing: content-box;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  background: transparent;
  border-bottom: 1px solid #e8e5de;
}

.app:has(#welcome.active) main { padding: 0; }
.app:has(#welcome.active) nav { display: none; }

.welcome-layout {
  box-sizing: content-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 72rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}

.welcome-intro h1 {
  max-width: 15ch;
  text-wrap: balance;
  margin: 0;
  font-size: clamp(2.75rem, 5.4vw, 5rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.welcome-intro > p {
  max-width: 39ch;
  margin: 1.5rem 0;
  color: #4b5c70;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  padding: .9rem;
  border: 1px solid #e2e6ed;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 26px #2638500b;
}

.welcome-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: .55rem;
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  font: inherit;
  font-weight: 700;
}

.welcome-actions button:focus-visible {
  outline: 2px solid #245cd2;
  outline-offset: 3px;
}

.welcome-actions .welcome-primary { background: #245cd2; color: #fff; }
.welcome-actions .welcome-primary:hover { background: #194ab4; }
.welcome-actions .welcome-secondary { border-color: #ccd8ea; background: #fff; color: #214581; }
.welcome-actions .welcome-secondary:hover { background: #edf4ff; }

.welcome-actions p {
  width: 100%;
  margin: .25rem .1rem 0;
  color: #4b5c70;
  font-size: .85rem;
  line-height: 1.48;
}

.welcome-photo {
  min-height: clamp(21rem, 46vw, 33rem);
  border: 1px solid #e2e6ed;
  border-radius: clamp(1.25rem, 3vw, 2.25rem);
  background: #e8edf1 url("./welcome-car.jpg") center / cover no-repeat;
}

@media (max-width: 720px) {
  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 2rem;
  }

  .welcome-photo { min-height: clamp(13rem, 58vw, 22rem); }
}
