/* Car Spectrum–style carrier onboarding (premium template) */
:root {
  --black: #08080b;
  --ink: #14141a;
  --red: #e5232b;
  --red-dark: #b4141b;
  --chrome: #c7cbce;
  --bg: #f4f4f6;
  --card: #ffffff;
  --text: #17171d;
  --muted: #656571;
  --line: #e3e3e9;
  --navy: var(--black);
  --violet: var(--red);
  --violet-dark: var(--red-dark);
  --amber: var(--chrome);
  --indigo: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility bar */
.utility-bar {
  background: var(--black);
  color: #e8e6f2;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 24px;
}
.utility-bar a {
  color: #e8e6f2;
  text-decoration: none;
}
.utility-bar a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Header */
.site-header {
  background: var(--black);
  border-bottom: 1px solid #1d1d25;
  padding: 10px 32px;
  overflow: visible;
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  gap: 28px;
  overflow: visible;
}
.site-header__brand {
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
}
.header-logo {
  display: block;
  height: 90px;
  width: auto;
  max-width: min(320px, 55vw);
  object-fit: contain;
  position: relative;
  z-index: 10;
  background: transparent;
}
.head-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.head-links__item {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.head-links__item:hover,
.head-links__item:focus-visible {
  color: #c8102e;
  outline: none;
}
.head-links__item:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c8102e;
  border-radius: 4px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 767px) {
  .site-header {
    padding: 10px 20px;
  }
  .site-header__inner {
    min-height: 80px;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }
  .header-logo {
    height: 64px;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .head-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: 12px 0 4px;
    border-top: 1px solid #2a2a32;
    margin-top: 4px;
    order: 3;
  }
  .head-links.is-open {
    display: flex;
  }
  .head-links__item {
    padding: 14px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .head-links__item:last-child {
    border-bottom: none;
  }
}

/* Hero */
.hero {
  background: radial-gradient(700px 320px at 50% 0%, rgba(229, 35, 43, 0.28), transparent 70%),
    linear-gradient(180deg, var(--black), #101016);
  color: #fff;
  text-align: center;
  padding: 64px 0 140px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--chrome);
  border: 1px solid #33333d;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ff4d55, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero > .wrap > p {
  color: #a9a9b6;
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
}

/* Form panel */
.setup-panel-wrap {
  margin-top: -90px;
  margin-bottom: 48px;
}
.panel {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  position: relative;
}
.panel-body {
  padding: 34px 40px 38px;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.st {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #9a9aa8;
}
.st .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 700;
  transition: 0.25s;
}
.st.active {
  color: var(--text);
}
.st.active .dot {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(229, 35, 43, 0.12);
}
.st.done {
  color: var(--text);
}
.st.done .dot {
  border-color: var(--red);
  background: #fff;
  color: var(--red);
}
.line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 14px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.line i {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--red);
  transition: 0.35s;
}
.line.full i {
  width: 100%;
}

.step-pane {
  animation: setupFade 0.3s ease;
}
.step-pane[hidden] {
  display: none !important;
}
@keyframes setupFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.step-pane h2 {
  font-size: 23px;
  margin-bottom: 4px;
}
.step-pane .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 18px;
  text-align: left;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field label .req {
  color: var(--red);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: "Inter", sans-serif;
  background: #fafafc;
  color: var(--text);
  transition: 0.15s;
}
.field input:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(229, 35, 43, 0.1);
}
.field input.input-err {
  border-color: var(--red);
  background: #fff6f6;
}
.field .msg {
  display: none;
  color: var(--red-dark);
  font-size: 12px;
  margin-top: 5px;
}
.field.bad .msg {
  display: block;
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.label-sm {
  font-size: 13px;
  font-weight: 600;
  margin: 2px 0 10px;
  display: block;
  text-align: left;
}
.label-sm small {
  color: var(--muted);
  font-weight: 400;
}

.trucks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.truck {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 14px 10px 12px;
  text-align: center;
  cursor: pointer;
  background: #fafafc;
  transition: 0.18s;
}
.truck:hover {
  border-color: #c9c9d3;
  transform: translateY(-2px);
}
.truck:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 35, 43, 0.15);
}
.truck input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.truck svg {
  width: 100%;
  height: 54px;
  color: #6a6a78;
  margin-bottom: 8px;
}
.truck b {
  display: block;
  font-size: 13px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
}
.truck span {
  font-size: 11.5px;
  color: var(--muted);
}
.truck.sel,
.truck:has(input:checked) {
  border-color: var(--red);
  background: #fff5f5;
  box-shadow: 0 8px 20px -10px rgba(229, 35, 43, 0.5);
}
.truck.sel svg,
.truck:has(input:checked) svg {
  color: var(--red);
}
.truck .tick {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  display: none;
  align-items: center;
  justify-content: center;
}
.truck.sel .tick,
.truck:has(input:checked) .tick {
  display: flex;
}

.pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pill {
  position: relative;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  background: #fafafc;
  transition: 0.15s;
}
.pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.pill:hover {
  border-color: #c9c9d3;
}
.pill.sel,
.pill:has(input:checked) {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.form-alert {
  display: none;
  color: var(--red-dark);
  font-size: 12.5px;
  margin: -8px 0 14px;
  text-align: left;
}
.form-alert.show {
  display: block;
}

.summary-box {
  background: #f7f7f9;
  border: 1px dashed #d3d3dc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}
.summary-box b {
  color: var(--text);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
  text-align: left;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--red);
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: 0.15s;
}
.btn.primary {
  background: linear-gradient(90deg, #f0343c, var(--red-dark));
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(229, 35, 43, 0.7);
}
.btn.primary:hover:not(:disabled) {
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.btn.primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.btn.ghost {
  flex: 0 0 auto;
  padding: 15px 24px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--text);
}
.btn.ghost:hover {
  border-color: #bdbdc9;
}
.btn.ghost[hidden] {
  display: none;
}

/* Trust + sections */
.trust {
  background: var(--black);
  color: #fff;
  padding: 30px 0;
  margin-top: 32px;
}
.trust .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}
.stat {
  flex: 1;
  min-width: 140px;
}
.stat b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(180deg, #fff, var(--chrome));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 12.5px;
  color: #8f8f9c;
}

section.block {
  padding: 76px 0;
}
.block-head {
  max-width: 560px;
  margin: 0 auto 46px;
  text-align: center;
}
.block-head h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}
.block-head p {
  color: var(--muted);
  font-size: 15.5px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  position: relative;
}
.step-num {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: #ededf1;
  position: absolute;
  top: 18px;
  right: 22px;
}
.step-card .bar {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: var(--red);
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  margin-top: 6px;
}
.step-card p {
  font-size: 14px;
  color: var(--muted);
}

.benefits {
  background: var(--card);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.benefit .icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, #f0343c, var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.benefit h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.benefit p {
  font-size: 13.5px;
  color: var(--muted);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.stars {
  color: var(--red);
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testi-card p {
  font-size: 14.5px;
  margin-bottom: 20px;
}
.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.testi-who b {
  display: block;
  font-size: 13.5px;
}
.testi-who span {
  font-size: 12px;
  color: var(--muted);
}

.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 4px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--red);
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.block--faq-top {
  padding-top: 20px;
}

.footer-links {
  margin-bottom: 10px;
}

footer {
  background: var(--black);
  color: #8f8f9c;
  padding: 36px 0;
  text-align: center;
  font-size: 13px;
}
footer a {
  color: #8f8f9c;
  text-decoration: none;
  margin: 0 10px;
}
footer a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps,
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .row-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .trucks {
    grid-template-columns: repeat(2, 1fr);
  }
  .panel-body {
    padding: 26px 20px;
  }
  .st span {
    display: none;
  }
  .hero {
    padding-bottom: 120px;
  }
}

@media (max-width: 375px) {
  .wrap {
    padding: 0 16px;
  }
  .actions {
    flex-direction: column;
  }
  .btn.ghost {
    flex: 1;
  }
}