:root {
  color-scheme: light;
  --ink: #111820;
  --ink-soft: #263139;
  --muted: #647077;
  --quiet: #8d9698;
  --paper: #f1f3f4;
  --paper-warm: #f8f9f9;
  --surface: #ffffff;
  --stone: #dfe6eb;
  --stone-2: #cdd9e2;
  --line: rgba(17, 24, 32, 0.12);
  --line-strong: rgba(17, 24, 32, 0.18);
  --blue: #2f6ea7;
  --blue-deep: #183f66;
  --sage: #577a68;
  --amber: #a56d1f;
  --shadow: 0 24px 70px rgba(24, 30, 34, 0.16);
  --soft-shadow: 0 16px 44px rgba(28, 34, 38, 0.1);
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family:
    Inter, "Volvo Novum", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(49, 105, 155, 0.2), transparent 38rem),
    linear-gradient(145deg, #d9e0e5 0%, #f3f5f6 46%, #cedae2 100%);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: transparent;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

#app {
  width: 100%;
  min-height: 100svh;
}

.phone {
  position: relative;
  min-height: 100svh;
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 243, 244, 0.98)),
    var(--paper-warm);
  box-shadow: none;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: calc(14px + env(safe-area-inset-top)) 22px 12px;
  backdrop-filter: blur(24px);
  background: rgba(248, 249, 249, 0.88);
  border-bottom: 1px solid rgba(17, 24, 32, 0.07);
}

.brand-mark {
  display: flex;
  gap: 7px;
  align-items: center;
  line-height: 1;
}

.brand-mark img {
  display: block;
  width: 98px;
  height: auto;
  mix-blend-mode: multiply;
}

.brand-divider {
  color: rgba(17, 24, 32, 0.35);
  font-size: 18px;
  font-weight: 300;
}

.brand-mark span:not(.brand-divider) {
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-count {
  min-width: 48px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.phase-count {
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 254, 250, 0.72);
  font-size: 12px;
  font-weight: 720;
}

.back-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 254, 250, 0.72);
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.back-button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(1px, -1px);
}

.back-button:hover {
  background: var(--surface);
  border-color: var(--line-strong);
  transform: translateX(-1px);
}

.progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 0 22px;
}

.phase-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 22px 2px;
}

.phase-rail span {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(17, 24, 32, 0.06);
  font-size: 11px;
  font-weight: 720;
}

.phase-rail span.is-active {
  color: var(--surface);
  background: var(--blue-deep);
}

.progress span {
  height: 3px;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.11);
  overflow: hidden;
}

.progress span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 480ms var(--ease);
}

.progress span.is-active::after,
.progress span.is-complete::after {
  transform: scaleX(1);
}

.screen {
  position: relative;
  min-height: calc(100svh - 68px);
  padding: 26px 22px calc(28px + env(safe-area-inset-bottom));
  animation: screen-in 520ms var(--ease) both;
}

.screen.exiting-forward {
  animation: screen-out-forward 230ms var(--ease) both;
}

.screen.exiting-back {
  animation: screen-out-back 230ms var(--ease) both;
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes screen-out-forward {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes screen-out-back {
  to {
    opacity: 0;
    transform: translateY(14px);
  }
}

.screen-kicker {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.hero-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(38px, 10vw, 52px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-title {
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-title {
  margin-bottom: 10px;
  font-size: 23px;
  font-weight: 520;
  line-height: 1.1;
  letter-spacing: 0;
}

.subcopy {
  max-width: 32rem;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.fine-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.welcome-hero,
.hero-image {
  position: relative;
  width: calc(100% + 44px);
  height: min(68svh, 560px);
  margin: -26px -22px 30px;
  overflow: hidden;
  background: var(--stone);
}

.welcome-hero img,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: image-settle 900ms var(--ease) both;
}

.welcome-hero::after,
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.04) 0%, rgba(17, 24, 32, 0.28) 48%, rgba(17, 24, 32, 0.7) 100%),
    linear-gradient(0deg, rgba(17, 24, 32, 0.32), rgba(17, 24, 32, 0));
}

@keyframes image-settle {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1.02);
  }
}

.welcome-copy {
  position: absolute;
  right: 22px;
  bottom: 28px;
  left: 22px;
  margin-top: 0;
  color: var(--surface);
  z-index: 1;
  text-shadow: 0 12px 36px rgba(17, 24, 32, 0.68);
}

.welcome-copy .screen-kicker,
.welcome-copy .hero-title {
  color: #fffefa;
}

.welcome-copy .subcopy {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 254, 250, 0.24);
  border-radius: 999px;
  color: #fffefa;
  background: rgba(17, 24, 32, 0.58);
  backdrop-filter: blur(14px);
  text-shadow: none;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.hero-card img {
  width: 100%;
  height: 210px;
  padding: 18px 12px 10px;
  object-fit: contain;
  object-position: center;
  display: block;
  background:
    radial-gradient(circle at 58% 58%, rgba(64, 126, 180, 0.24), transparent 34%),
    linear-gradient(145deg, #dfe7ec, #f5f7f8 60%, #d4e0e7);
  filter: drop-shadow(0 18px 18px rgba(17, 24, 32, 0.16));
}

.screen-welcome .welcome-hero {
  background:
    radial-gradient(circle at 62% 40%, rgba(72, 139, 196, 0.52), transparent 34%),
    linear-gradient(150deg, #6f8fa8 0%, #315b80 42%, #142f4a 100%);
}

.screen-welcome .welcome-hero img {
  padding: 24px 4px 98px;
  object-fit: contain;
  object-position: 55% center;
  filter: drop-shadow(0 32px 28px rgba(8, 21, 32, 0.32));
}

.hero-card-body {
  padding: 18px;
}

.vehicle-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.vehicle-name {
  margin-bottom: 4px;
  font-size: 25px;
  font-weight: 520;
  line-height: 1.08;
}

.vehicle-meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.seller-status {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.status-card {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.76);
}

.status-card h3 {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 580;
}

.status-card .status-pill {
  justify-self: start;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.handover-card {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.78);
}

.handover-card span {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.handover-card strong {
  color: var(--ink-soft);
  font-size: 20px;
  font-weight: 580;
}

.handover-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.meta-item,
.card,
.offer-card,
.timeline-item,
.activation-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.meta-item {
  min-height: 84px;
  padding: 14px;
}

.meta-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-item strong {
  display: block;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 540;
  line-height: 1.2;
}

.identity-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  gap: 10px;
  align-items: stretch;
  margin: -4px 0 22px;
}

.license-plate {
  display: grid;
  grid-template-columns: 26px 1fr;
  min-height: 64px;
  overflow: hidden;
  border: 1px solid #1c2430;
  border-radius: 7px;
  background: #fdfdf9;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.license-plate span {
  display: grid;
  place-items: center;
  color: #fff;
  background: #24519a;
  font-size: 12px;
  font-weight: 800;
}

.license-plate strong {
  display: grid;
  place-items: center;
  color: #101820;
  font-size: 21px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.pin-block {
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.76);
}

.pin-block span {
  display: block;
  margin-bottom: 6px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pin-block strong {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin: 18px 0 6px;
  padding: 13px 14px;
  border: 1px solid rgba(82, 111, 128, 0.2);
  border-radius: var(--radius);
  color: var(--blue-deep);
  background: rgba(228, 236, 238, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.trust-dot,
.status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(112, 131, 116, 0.13);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(82, 111, 128, 0.22);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(238, 243, 243, 0.86);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.68;
}

.cta-stack {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  margin-top: 22px;
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  width: 100%;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.button.has-progress {
  justify-content: space-between;
  padding-left: 22px;
  padding-right: 18px;
}

.button-progress {
  margin-left: auto;
  color: rgba(255, 254, 250, 0.74);
  font-size: 13px;
  font-weight: 720;
}

.button-chevron {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button:active {
  transform: scale(0.985);
}

.button.primary {
  color: #fffefa;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(17, 24, 32, 0.18);
}

.button.primary:hover {
  background: var(--blue-deep);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 254, 250, 0.74);
}

.button.ghost {
  min-height: 48px;
  color: var(--muted);
  background: transparent;
}

.invite-sheet {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  width: min(100%, 430px);
  margin: 0 auto;
  max-height: calc(100svh - 28px);
  overflow-y: auto;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 -24px 70px rgba(17, 24, 32, 0.2);
  animation: sheet-in 360ms var(--ease) both;
}

@keyframes sheet-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.sheet-handle {
  width: 44px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.18);
}

.invite-body {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.qr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  width: 112px;
  height: 112px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.qr span {
  border-radius: 2px;
  background: rgba(17, 24, 32, 0.12);
}

.qr span.is-dark {
  background: var(--ink);
}

.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.quick-grid {
  display: grid;
  gap: 10px;
}

.card {
  position: relative;
  padding: 16px;
}

button.card,
.offer-choice,
.activation-toggle {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

button.card:hover,
.offer-choice:hover,
.activation-toggle:hover {
  border-color: rgba(82, 111, 128, 0.34);
  background: var(--surface);
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card h3,
.offer-card h3,
.timeline-item h3 {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 580;
  line-height: 1.2;
}

.card p,
.offer-card p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.44;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(112, 131, 116, 0.13);
  color: #475846;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill.watch {
  color: #71552c;
  background: rgba(167, 123, 58, 0.14);
}

.status-pill.neutral {
  color: var(--blue-deep);
  background: rgba(82, 111, 128, 0.13);
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.health-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.health-row {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.78);
}

.health-row header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.health-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 580;
}

.info-disclosure {
  margin-top: 2px;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius);
  background: rgba(246, 243, 237, 0.54);
}

.info-disclosure summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 38px 0 13px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

.info-disclosure summary::-webkit-details-marker {
  display: none;
}

.info-disclosure summary::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms var(--ease);
}

.info-disclosure[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.disclosure-body {
  display: grid;
  gap: 8px;
  padding: 0 13px 13px;
}

.disclosure-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.offer-card .info-disclosure,
.activation-row .info-disclosure {
  margin: 0 12px 12px;
  background: rgba(255, 254, 250, 0.76);
}

.assessment {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid rgba(82, 111, 128, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(238, 243, 243, 0.92), rgba(255, 254, 250, 0.78));
}

.timeline {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.history-side {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.timeline-item {
  position: relative;
  padding: 16px 16px 16px 44px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-deep);
  box-shadow: 0 0 0 6px rgba(82, 111, 128, 0.12);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 35px;
  bottom: -18px;
  left: 22px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-date {
  margin-bottom: 6px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list-panel {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.7);
}

.check-line {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.check-line::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 7px;
  margin-top: 5px;
  border-bottom: 1.6px solid var(--blue-deep);
  border-left: 1.6px solid var(--blue-deep);
  transform: rotate(-45deg);
  opacity: 0.82;
}

.note {
  margin: 18px 0 0;
  padding: 16px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--blue-deep);
  background: rgba(226, 235, 238, 0.64);
  font-size: 14px;
  line-height: 1.45;
}

.package-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 254, 250, 0.96), rgba(231, 225, 216, 0.72)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.package-card > .badge {
  margin-bottom: 18px;
}

.package-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.package-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ink), var(--blue), var(--sage));
}

.package-description {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.saving-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(112, 131, 116, 0.22);
  border-radius: 999px;
  color: #415441;
  background: rgba(112, 131, 116, 0.13);
  font-size: 12px;
  font-weight: 800;
}

.package-grid {
  display: grid;
  gap: 14px;
}

.package-card.is-selected,
.no-plan-card.is-selected {
  border-color: rgba(36, 63, 80, 0.48);
  background:
    linear-gradient(145deg, rgba(255, 254, 250, 0.98), rgba(226, 235, 238, 0.78)),
    var(--surface);
}

.select-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  width: 100%;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid rgba(36, 63, 80, 0.26);
  border-radius: 999px;
  color: var(--surface);
  background: var(--ink);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.package-card.is-selected .select-plan,
.no-plan-card.is-selected .select-plan {
  border-color: rgba(36, 63, 80, 0.5);
  color: var(--surface);
  background: var(--blue-deep);
  box-shadow: 0 12px 28px rgba(36, 63, 80, 0.18);
}

.package-card.is-selected .select-plan::before,
.no-plan-card.is-selected .select-plan::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--blue-deep);
  background: var(--surface);
  font-size: 13px;
  font-weight: 900;
}

.secondary-select {
  color: var(--blue-deep);
  background: rgba(238, 243, 243, 0.9);
}

.no-plan-card {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.76);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.no-plan-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 22px 0;
}

.price-row strong {
  font-size: 38px;
  font-weight: 500;
  line-height: 0.9;
}

.price-row span {
  color: var(--muted);
  font-size: 14px;
}

.option-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 254, 250, 0.66);
  cursor: pointer;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.16);
  transition: background 180ms var(--ease);
}

.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 32, 0.22);
  transition: transform 180ms var(--ease);
}

.switch.is-on {
  background: var(--blue-deep);
}

.switch.is-on::after {
  transform: translateX(20px);
}

.offer-grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.offer-card {
  position: relative;
  min-height: 128px;
  padding: 0;
  overflow: hidden;
}

.offer-card.is-selected {
  border-color: rgba(82, 111, 128, 0.46);
  background: rgba(238, 243, 243, 0.9);
}

.offer-card.is-selected::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 47%, var(--surface) 48% 55%, transparent 56%),
    var(--blue-deep);
}

.offer-choice {
  display: block;
  min-height: 128px;
  padding: 16px 42px 16px 16px;
  border: 0;
  background: transparent;
}

.offer-price {
  display: block;
  margin: -4px 0 10px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 760;
}

.offer-actions {
  padding: 0 12px 12px;
}

.dead-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(82, 111, 128, 0.24);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(238, 243, 243, 0.8);
  font-size: 13px;
  font-weight: 740;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease);
}

.dead-action:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.offer-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 20px 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.05);
}

.segment button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.segment button.is-active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(17, 24, 32, 0.08);
}

.activation-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.activation-row {
  display: block;
  padding: 0;
  overflow: hidden;
}

.activation-highlight {
  border-color: rgba(82, 111, 128, 0.24);
  background:
    linear-gradient(145deg, rgba(238, 243, 243, 0.92), rgba(255, 254, 250, 0.82)),
    var(--surface);
}

.activation-toggle {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 74px;
  padding: 16px;
  border: 0;
  background: transparent;
}

.activation-static {
  padding: 16px;
}

.activation-static h3 {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 580;
}

.account-action-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.account-module {
  padding: 14px;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.68);
}

.account-module > span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-module p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.offer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 13px;
  padding: 6px 10px;
  border: 1px solid rgba(112, 131, 116, 0.24);
  border-radius: 999px;
  color: #415441;
  background: rgba(112, 131, 116, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-row,
.store-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: flex-start;
}

.activation-benefits {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.estate-list {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.estate-car {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.68);
}

.estate-car span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 720;
}

.estate-car strong {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 760;
}

.estate-car small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: 100%;
  max-width: 278px;
  min-height: 66px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 254, 250, 0.22);
  border-radius: 13px;
  color: #fffefa;
  background: #020304;
  box-shadow:
    0 12px 24px rgba(17, 24, 32, 0.16),
    0 1px 0 rgba(255, 254, 250, 0.18) inset;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease),
    background 180ms var(--ease);
}

.store-badge:hover {
  background: #111820;
  transform: translateY(-1px);
}

.store-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.store-copy small {
  color: rgba(255, 254, 250, 0.92);
  font-size: 11.5px;
  font-weight: 560;
  letter-spacing: 0.04em;
}

.store-copy strong {
  color: #fffefa;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.05;
}

.store-badge-google .store-copy small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-logo {
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.apple-logo {
  width: 39px;
  height: 39px;
  color: #fffefa;
}

@media (max-width: 380px) {
  .store-badge {
    max-width: none;
    min-height: 62px;
    padding: 9px 15px;
  }

  .store-logo {
    width: 33px;
    height: 33px;
  }

  .apple-logo {
    width: 36px;
    height: 36px;
  }

  .store-copy strong {
    font-size: 21px;
  }
}

.activation-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  background: rgba(255, 254, 250, 0.6);
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.activation-check::before {
  content: "";
  width: 8px;
  height: 13px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(40deg) translate(-1px, -1px);
}

.activation-row.is-done .activation-check {
  color: var(--surface);
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.success-orb {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 16px 0 24px;
  border-radius: 50%;
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 18px 38px rgba(17, 24, 32, 0.18);
}

.success-orb::before {
  content: "";
  width: 25px;
  height: 42px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(40deg) translate(-2px, -5px);
}

.next-grid {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.next-card {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  padding: 16px 46px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fffefa;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.82), rgba(17, 24, 32, 0.36)),
    var(--next-image);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.next-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-top: 2px solid rgba(255, 254, 250, 0.9);
  border-right: 2px solid rgba(255, 254, 250, 0.9);
  transform: translateY(-50%) rotate(45deg);
}

.next-card:hover,
.next-card.is-selected {
  border-color: rgba(255, 254, 250, 0.7);
  transform: translateY(-1px);
}

.next-card-service {
  --next-image: url("assets/ce-confirmation-inspection.png");
  background-position: 64% 54%;
}

.next-card-attachments {
  --next-image: url("assets/ce-confirmation-attachments.png");
  background-position: 67% 50%;
}

.next-card-app {
  --next-image: url("assets/ce-confirmation-connect.png");
  background-position: 68% 52%;
}

.next-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 580;
}

.next-card span {
  position: relative;
  z-index: 1;
  color: rgba(255, 254, 250, 0.84);
  font-size: 14px;
  line-height: 1.4;
}

.spacer {
  height: 12px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin: 34px 0 18px;
}

.section-heading .screen-kicker,
.section-heading .section-title,
.telematics-header .section-title,
.quote-basis .section-title,
.estimate-panel .section-title {
  margin-bottom: 0;
}

.telematics-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 86% 0%, rgba(71, 144, 203, 0.42), transparent 38%),
    linear-gradient(145deg, #102c46, #183f66 54%, #245d8e);
  box-shadow: 0 18px 42px rgba(20, 48, 72, 0.18);
}

.telematics-header {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.telematics-header .section-title {
  color: #fff;
}

.telematics-header .fine-copy,
.sync-time span {
  color: rgba(255, 255, 255, 0.68);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #dff6e7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #70d395;
  box-shadow: 0 0 0 5px rgba(112, 211, 149, 0.13);
}

.sync-time {
  display: grid;
  gap: 4px;
}

.sync-time span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sync-time strong {
  font-size: 13px;
  font-weight: 680;
}

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

.telematics-grid .meta-item {
  min-height: 76px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.telematics-grid .meta-item span {
  color: rgba(255, 255, 255, 0.62);
}

.telematics-grid .meta-item strong {
  color: #fff;
}

.telematics-panel .info-disclosure {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(6, 22, 35, 0.22);
}

.telematics-panel .info-disclosure summary {
  color: #fff;
}

.telematics-panel .disclosure-body p {
  color: rgba(255, 255, 255, 0.72);
}

.health-heading {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.health-category,
.panel-eyebrow,
.service-category {
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.health-category {
  margin-bottom: -3px;
}

.health-source {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
}

.health-source > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 110, 167, 0.1);
}

.life-event-list {
  display: grid;
  margin-top: 24px;
}

.life-event {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
}

.event-marker {
  position: relative;
  width: 13px;
  height: 13px;
  margin: 21px auto 0;
  border: 3px solid var(--paper-warm);
  border-radius: 50%;
  background: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(47, 110, 167, 0.16);
}

.life-event::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: -1px;
  left: 11px;
  width: 1px;
  background: var(--line-strong);
}

.life-event:last-child::before {
  display: none;
}

.life-event-watch .event-marker {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(165, 109, 31, 0.16);
}

.event-content {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.life-event-watch .event-content {
  border-color: rgba(165, 109, 31, 0.28);
  background: linear-gradient(145deg, rgba(255, 251, 243, 0.96), rgba(255, 255, 255, 0.8));
}

.event-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.event-topline h3 {
  flex: 1 1 240px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.event-content > p {
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.event-content .info-disclosure {
  background: rgba(241, 243, 244, 0.62);
}

.workshop-summary {
  background:
    linear-gradient(145deg, rgba(232, 239, 244, 0.86), rgba(255, 255, 255, 0.76)),
    var(--surface);
}

.panel-eyebrow {
  display: block;
  margin-bottom: 2px;
}

.compact-timeline {
  display: grid;
  gap: 12px;
}

.compact-timeline article {
  display: grid;
  gap: 4px;
  padding: 0 0 12px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid rgba(47, 110, 167, 0.34);
}

.compact-timeline article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compact-timeline span {
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.compact-timeline strong {
  color: var(--ink-soft);
  font-size: 14px;
}

.compact-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.quote-basis {
  display: grid;
  gap: 16px;
  margin: 22px 0 32px;
  padding: 18px;
  border: 1px solid rgba(47, 110, 167, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(73, 145, 201, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(232, 240, 246, 0.94), rgba(255, 255, 255, 0.78));
}

.quote-basis .badge {
  margin-bottom: 12px;
}

.assumption-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.assumption-chips span,
.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(47, 110, 167, 0.18);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 740;
}

.contract-heading,
.ecosystem-heading {
  margin-top: 40px;
}

.package-card .price-row {
  flex-wrap: wrap;
}

.package-card .price-row strong {
  font-size: 32px;
}

.package-silver::before {
  background: linear-gradient(90deg, #667783, #b9c4ca, #718795);
}

.package-gold::before {
  background: linear-gradient(90deg, #8b6b21, #d3b35a, #8b6b21);
}

.ecosystem-grid {
  display: grid;
  gap: 12px;
}

.ecosystem-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.78);
}

.ecosystem-card .offer-choice {
  flex: 1;
  min-height: 0;
  padding: 18px 46px 10px 18px;
}

.service-card-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.service-tag {
  min-height: 27px;
  padding: 5px 9px;
  border-color: rgba(87, 122, 104, 0.22);
  color: #365343;
  background: rgba(87, 122, 104, 0.11);
}

.ecosystem-card h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.service-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin: 18px 0 5px;
}

.service-price strong {
  color: var(--ink);
  font-size: 28px;
  font-weight: 520;
}

.service-price span,
.ecosystem-card .offer-choice > small {
  color: var(--muted);
  font-size: 12px;
}

.ecosystem-card .offer-choice > small {
  display: block;
  line-height: 1.35;
}

.service-inclusions {
  margin-bottom: 15px;
}

.service-inclusions .check-line {
  font-size: 12px;
}

.service-select-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(241, 243, 244, 0.8);
  font-size: 12px;
  font-weight: 780;
}

.ecosystem-card.is-selected .service-select-label {
  color: #fff;
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.estimate-panel {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  padding: 20px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(69, 137, 190, 0.38), transparent 44%),
    linear-gradient(145deg, #102c46, #183f66);
  box-shadow: 0 18px 44px rgba(16, 44, 70, 0.18);
}

.estimate-panel .panel-eyebrow,
.estimate-panel .section-title {
  color: #fff;
}

.estimate-panel .fine-copy {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.estimate-totals {
  display: grid;
  gap: 8px;
}

.estimate-totals > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.estimate-totals span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-totals strong {
  color: #fff;
  font-size: 17px;
  font-weight: 650;
}


@media (min-width: 760px) {
  body {
    padding: 28px;
  }

  .phone {
    width: min(100%, 1180px);
    min-height: calc(100svh - 56px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .app-topbar {
    min-height: 76px;
    padding-right: 42px;
    padding-left: 42px;
    border-radius: 24px 24px 0 0;
  }

  .brand-mark img {
    width: 124px;
  }

  .brand-mark span:not(.brand-divider) {
    font-size: 12px;
  }

  .progress,
  .phase-rail {
    padding-right: 42px;
    padding-left: 42px;
  }

  .screen {
    padding: 42px 56px 52px;
  }

  .cta-stack {
    max-width: 480px;
    justify-self: end;
  }

  .hero-title {
    max-width: 760px;
    font-size: clamp(52px, 6vw, 78px);
  }

  .page-title {
    max-width: 760px;
    font-size: clamp(44px, 5vw, 64px);
  }

  .screen-seller .hero-card {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 360px;
  }

  .screen-seller .hero-card img {
    height: 100%;
    padding: 22px 18px 14px;
  }

  .screen-seller .hero-card-body {
    display: grid;
    align-content: center;
    padding: 28px;
  }

  .seller-status,
  .quick-grid,
  .health-list,
  .offer-grid,
  .activation-list,
  .next-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screen-overview .health-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telematics-header,
  .quote-basis,
  .estimate-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .telematics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    align-items: end;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimate-totals {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .screen-activation .activation-list {
    grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
    align-items: start;
  }

  .activation-account {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .activation-offer,
  .activation-estate {
    grid-column: 2;
  }

  .activation-offer {
    grid-row: 1;
  }

  .activation-estate {
    grid-row: 2;
  }

  .meta-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .identity-panel {
    max-width: 650px;
  }

  .welcome-hero {
    width: calc(100% + 112px);
    height: min(70svh, 650px);
    margin: -42px -56px 32px;
  }

  .welcome-copy {
    right: 56px;
    bottom: 48px;
    left: 56px;
    max-width: 680px;
  }

  .handover-card {
    max-width: 620px;
  }

  .screen-history {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 0 28px;
    align-items: start;
  }

  .history-main {
    grid-column: 1;
  }

  .history-side {
    grid-column: 2;
    display: grid;
    gap: 14px;
  }

  .history-side .list-panel {
    margin-top: 0;
  }

  .screen-history > .cta-stack {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1080px;
  }

  .screen-success .next-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .invite-sheet {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 22px;
    bottom: 16px;
    max-height: calc(100svh - 64px);
  }

  @keyframes sheet-in {
    from {
      transform: translate(-50%, 32px);
      opacity: 0;
    }
    to {
      transform: translate(-50%, 0);
      opacity: 1;
    }
  }
}

@media (min-width: 1080px) {
  .package-grid,
  .ecosystem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}


/* Responsive handover and service-plan refinements */
.screen-seller .hero-card {
  display: block;
  min-height: 0;
}

.hero-vehicle-visual {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 56%, rgba(64, 126, 180, 0.2), transparent 35%),
    linear-gradient(145deg, #dfe7ec, #f5f7f8 62%, #d4e0e7);
}

.screen-seller .hero-card img {
  width: 100%;
  height: 230px;
  padding: 18px 22px 12px;
  object-fit: contain;
  background: transparent;
}

.fleet-id-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(17, 24, 32, 0.1);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-seller .hero-card-body {
  display: block;
  padding: 20px;
}

.screen-seller .vehicle-eyebrow {
  display: block;
  margin-bottom: 0;
}

.screen-seller .vehicle-name {
  margin-bottom: 7px;
  font-size: clamp(25px, 6vw, 34px);
}

.vehicle-pin {
  margin-top: 6px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.transfer-route {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.transfer-party {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(241, 243, 244, 0.62);
}

.transfer-party-new {
  border-color: rgba(47, 110, 167, 0.22);
  background: rgba(231, 239, 245, 0.72);
}

.transfer-party span,
.handover-facts span {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.transfer-party strong {
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.25;
}

.transfer-route-arrow {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid rgba(47, 110, 167, 0.18);
  border-radius: 50%;
  background: rgba(231, 239, 245, 0.72);
}

.transfer-route-arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid var(--blue-deep);
  border-right: 1.5px solid var(--blue-deep);
  transform: rotate(135deg) translate(-1px, 1px);
}

.handover-facts {
  display: grid;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.handover-facts > div {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.handover-facts strong {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 680;
  text-align: right;
}

.quote-basis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 16px 0 28px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(241, 243, 244, 0.58);
  box-shadow: none;
}

.quote-summary {
  display: flex;
  flex: 1 1 360px;
  gap: 11px;
  align-items: flex-start;
  min-width: 0;
}

.quote-mark {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.quote-summary strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 760;
}

.quote-summary p,
.quote-details p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.quote-details {
  flex: 0 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
}

.quote-details summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.quote-details summary::-webkit-details-marker {
  display: none;
}

.quote-details summary::after {
  content: "+";
  margin-left: 7px;
  font-size: 14px;
  line-height: 1;
}

.quote-details[open] {
  flex-basis: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.quote-details[open] summary::after {
  content: "−";
}

.quote-details .assumption-chips {
  margin: 11px 0 8px;
}

.quote-details .assumption-chips span {
  min-height: 26px;
  padding: 5px 8px;
  border-color: var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
  font-size: 10px;
}

.package-blue {
  --bundle-accent: #2f6ea7;
}

.package-silver {
  --bundle-accent: #718795;
}

.package-gold {
  --bundle-accent: #a07826;
}

.bundle-discount {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  align-items: end;
  margin: 15px 0 2px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--bundle-accent) 22%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bundle-accent) 7%, white);
}

.bundle-discount-copy {
  display: grid;
  gap: 2px;
}

.bundle-discount-copy span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bundle-discount-copy strong {
  color: var(--bundle-accent);
  font-size: 24px;
  font-weight: 680;
  line-height: 1;
}

.bundle-stairs {
  display: flex;
  gap: 4px;
  align-items: end;
  height: 23px;
}

.bundle-stairs i {
  display: block;
  width: 10px;
  border-radius: 2px 2px 0 0;
  background: rgba(17, 24, 32, 0.11);
}

.bundle-stairs i:nth-child(1) {
  height: 7px;
}

.bundle-stairs i:nth-child(2) {
  height: 14px;
}

.bundle-stairs i:nth-child(3) {
  height: 21px;
}

.bundle-level-1 .bundle-stairs i:nth-child(1),
.bundle-level-2 .bundle-stairs i:nth-child(-n + 2),
.bundle-level-3 .bundle-stairs i {
  background: var(--bundle-accent);
}

.bundle-discount small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

@media (min-width: 760px) {
  .screen-seller .hero-card {
    display: block;
    min-height: 0;
  }

  .screen-seller .hero-card img {
    height: 270px;
  }

  .transfer-route {
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    align-items: stretch;
  }

  .transfer-route-arrow {
    align-self: center;
  }

  .transfer-route-arrow::before {
    transform: rotate(45deg) translate(-1px, 1px);
  }

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

  .screen-activation .activation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activation-account,
  .activation-estate {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (min-width: 980px) {
  .screen-seller .hero-card {
    display: grid;
    grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
    min-height: 390px;
  }

  .hero-vehicle-visual {
    min-height: 100%;
  }

  .screen-seller .hero-card img {
    height: 100%;
    padding: 26px 20px 18px;
  }

  .screen-seller .hero-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 48px);
  }
}

:root {
  --ce-yellow: #f5c400;
  --ce-yellow-soft: #fff6cf;
  --ce-earth: #4b4338;
  --ce-sand: #f5f0e6;
  --ce-green: #3b6b4d;
}

html,
body {
  background: #f4f1eb;
}

.prototype-ribbon {
  background: #20252b;
  color: #fff;
}

.hero-vehicle-visual {
  background:
    radial-gradient(circle at 56% 78%, rgba(70, 57, 39, 0.14), transparent 34%),
    linear-gradient(145deg, #fffdf7 0%, #f0e8d9 100%);
}

.screen-seller .hero-card img {
  filter: drop-shadow(0 20px 22px rgba(43, 38, 31, 0.2));
}

.screen-welcome .hero-vehicle-visual {
  background:
    radial-gradient(circle at 55% 85%, rgba(77, 65, 47, 0.12), transparent 36%),
    linear-gradient(145deg, #fffdf8, #f6eddc);
}

.screen-welcome .hero-vehicle-visual img {
  object-position: center 55%;
  padding: 8px 14px 0;
}

.asset-token {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border: 1px solid #d9d2c6;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.asset-token span {
  color: var(--muted);
  font-weight: 600;
}

.machine-package,
.site-snapshot,
.activation-status,
.activation-checklist,
.completion-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.machine-package,
.site-snapshot,
.completion-summary {
  padding: 18px;
}

.machine-package {
  display: grid;
  gap: 14px;
}

.machine-package-item {
  display: grid;
  gap: 4px;
}

.machine-package-item span,
.site-snapshot span,
.completion-summary span,
.activation-status span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.machine-package-item strong,
.site-snapshot strong,
.completion-summary strong {
  color: var(--ink);
  font-size: 14px;
}

.site-snapshot {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  background: linear-gradient(135deg, #fff 0%, var(--ce-sand) 100%);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.activation-status {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-left: 4px solid #89919a;
}

.activation-status strong {
  font-size: 14px;
}

.activation-status.is-ready {
  border-left-color: var(--ce-green);
  background: #f4faf6;
}

.activation-checklist {
  padding: 18px;
  background: linear-gradient(145deg, #fff, #f7f4ee);
}

.activation-checklist h3 {
  margin: 4px 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
}

.activation-checklist ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activation-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.activation-checklist li::before {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid #abb1b7;
  border-radius: 50%;
  content: "";
}

.activation-checklist li.is-complete {
  color: var(--ink);
  font-weight: 700;
}

.activation-checklist li.is-complete::before {
  border-color: var(--ce-green);
  background: var(--ce-green);
  box-shadow: inset 0 0 0 4px #fff;
}

.completion-summary {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  border-top: 4px solid var(--ce-yellow);
}

.completion-summary > div {
  display: grid;
  gap: 4px;
}

.next-card-service {
  background-image: linear-gradient(180deg, rgba(10, 17, 22, 0.02), rgba(10, 17, 22, 0.86)), url("assets/ce-confirmation-inspection.png");
}

.next-card-app {
  background-image: linear-gradient(180deg, rgba(10, 17, 22, 0.02), rgba(10, 17, 22, 0.86)), url("assets/ce-confirmation-connect.png");
}

.next-card-attachments {
  background-image: linear-gradient(180deg, rgba(10, 17, 22, 0.02), rgba(10, 17, 22, 0.86)), url("assets/ce-confirmation-attachments.png");
}

.package-card::before {
  background: linear-gradient(90deg, var(--ce-yellow), #ffd947);
}

.bundle-discount strong {
  font-size: 18px;
}

@media (min-width: 760px) {
  .machine-package,
  .completion-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-activation .activation-list {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.68fr);
  }

  .activation-account {
    grid-column: 1;
    grid-row: 1;
  }

  .activation-estate {
    grid-column: 1;
    grid-row: 2;
  }

  .activation-checklist {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.keep-together {
  white-space: nowrap;
}

.screen-overview .meta-grid {
  margin: 22px 0 10px;
}

.screen-overview .identity-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  margin: 0 0 10px;
}

.asset-id-block,
.screen-overview .pin-block,
.machine-package > div {
  display: grid;
  align-content: center;
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.asset-id-block span,
.machine-package > div > span {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.asset-id-block strong,
.machine-package > div > strong {
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
}

.machine-package {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 10px;
}

.machine-package p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.package-card.package-blue {
  border-color: rgba(47, 110, 167, 0.34);
  background: linear-gradient(145deg, #f8fcff 0%, #dfeefa 100%);
}

.package-card.package-silver {
  border-color: rgba(113, 135, 149, 0.42);
  background: linear-gradient(145deg, #fbfcfd 0%, #dfe5e9 100%);
}

.package-card.package-gold {
  border-color: rgba(160, 120, 38, 0.4);
  background: linear-gradient(145deg, #fffdf6 0%, #f4e5b9 100%);
}

.package-blue::before {
  background: linear-gradient(90deg, #1f5f98, #5a9bd3);
}

.package-silver::before {
  background: linear-gradient(90deg, #586a76, #c6d0d5, #718795);
}

.package-gold::before {
  background: linear-gradient(90deg, #8b6418, #dfc36f, #9b7427);
}

.package-card.package-blue.is-selected,
.package-card.package-silver.is-selected,
.package-card.package-gold.is-selected {
  border-color: var(--bundle-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bundle-accent) 18%, transparent), var(--shadow-soft);
}

.package-card.is-selected .select-plan {
  border-color: var(--bundle-accent);
  background: var(--bundle-accent);
}

.package-blue .badge {
  color: #174d7d;
  background: rgba(47, 110, 167, 0.12);
}

.package-silver .badge {
  color: #465761;
  background: rgba(113, 135, 149, 0.16);
}

.package-gold .badge {
  color: #765716;
  background: rgba(160, 120, 38, 0.15);
}

.bundle-discount strong {
  font-size: 24px;
}

@media (min-width: 760px) {
  .machine-package {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
