:root {
  color-scheme: light;
  --ink: #172022;
  --muted: #637074;
  --line: #d8e1df;
  --panel: #ffffff;
  --wash: #f5f8f4;
  --accent: #0f7f8c;
  --accent-dark: #075b66;
  --spark: #d8f35f;
  --coral: #f2725b;
  --shadow: 0 18px 52px rgba(31, 50, 54, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.6fr);
}

.brand-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px;
  color: #f8fffe;
  background:
    linear-gradient(145deg, rgba(7, 91, 102, 0.96), rgba(23, 32, 34, 0.96)),
    url("https://images.unsplash.com/photo-1493238792000-8113da705763?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
}

.brand-panel > * {
  position: relative;
  z-index: 1;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.brand-identity img {
  width: 210px;
  max-width: 52vw;
  height: auto;
  display: block;
  border-radius: 4px;
}

.brand-identity div {
  display: grid;
  gap: 2px;
}

.brand-identity strong {
  font-weight: 900;
}

.brand-identity span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-panel .eyebrow,
.brand-panel .lede {
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 5.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lede {
  max-width: 38rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.vehicle-card {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
}

.vehicle-card svg {
  display: block;
  width: 100%;
}

.vehicle-card img {
  width: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
}

.vehicle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 16, 18, 0.78));
}

.vehicle-card-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.vehicle-card-caption strong {
  font-size: 1rem;
}

.vehicle-card-caption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list div {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 3px solid var(--spark);
}

.trust-list span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.trust-list a {
  color: white;
  text-decoration: none;
}

.workspace {
  padding: 30px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: -30px -30px 26px;
  padding: 24px 30px;
  background: rgba(245, 248, 244, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 225, 223, 0.74);
}

.topbar h2 {
  margin: 0;
  font-size: 1.65rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.secondary-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 850;
  border: 1px solid #bcd1d1;
  border-radius: 999px;
  background: #fff;
}

.secondary-link:hover {
  border-color: var(--accent);
}

.status-pill {
  min-width: 124px;
  padding: 10px 14px;
  color: var(--accent-dark);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid #bcd1d1;
  border-radius: 999px;
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.summary-panel {
  grid-row: span 2;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.panel-heading h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.step-dot {
  width: 28px;
  height: 28px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  color: #2b3638;
  font-size: 0.88rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cdd8d6;
  border-radius: 7px;
  background: #fbfdfb;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 127, 140, 0.16);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.packages {
  display: grid;
  gap: 10px;
}

.package-option {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d9e2e0;
  border-radius: 8px;
  background: #fbfdfb;
  cursor: pointer;
}

.package-option:has(input:checked) {
  border-color: var(--accent);
  background: #eefafa;
}

.package-option input,
.addons input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.package-option span {
  display: grid;
  gap: 2px;
}

.package-option small {
  color: var(--muted);
  font-weight: 600;
}

.addons {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.addons legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.addons label {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.addons span {
  color: var(--muted);
}

.summary-box {
  padding: 16px;
  border-radius: 8px;
  background: #f2f7f4;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(23, 32, 34, 0.08);
  padding-bottom: 10px;
}

dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 750;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.primary-button {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  font-weight: 850;
  cursor: pointer;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.primary-button svg,
.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.legal-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-note h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.legal-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

dialog::backdrop {
  background: rgba(14, 22, 24, 0.58);
}

.dialog-body {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.dialog-body h2 {
  margin-bottom: 0;
  line-height: 1.15;
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    position: relative;
    height: auto;
    min-height: 620px;
  }

  h1 {
    max-width: 13ch;
  }
}

@media (max-width: 720px) {
  .brand-panel,
  .workspace {
    padding: 20px;
  }

  .topbar {
    align-items: flex-start;
    margin: -20px -20px 20px;
    padding: 18px 20px;
  }

  .topbar-actions {
    align-items: flex-end;
    flex-direction: column;
  }

  .form-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    grid-row: auto;
  }

  .status-pill {
    min-width: 108px;
    font-size: 0.8rem;
  }
}
