:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #5d6673;
  --paper: #f5f7fa;
  --line: #d9e2ea;
  --brand-blue: #0867af;
  --brand-blue-dark: #064f88;
  --brand-blue-soft: #e8f3fb;
  --steel: #243240;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 19, 24, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px 36px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 32px rgba(17, 19, 24, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(160px, 14vw, 190px);
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  align-items: center;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(8, 103, 175, 0.1);
  color: var(--brand-blue-dark);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 82vh;
  padding: 96px 36px 82px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 18, 30, 0.88) 0%, rgba(7, 18, 30, 0.58) 38%, rgba(7, 18, 30, 0.16) 72%),
    linear-gradient(0deg, rgba(7, 18, 30, 0.7) 0%, rgba(7, 18, 30, 0) 42%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #91d5ff;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 1.02;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
}

.hero-actions,
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--brand-blue);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-blue-dark);
}

.button-secondary {
  border-color: #b9c8d5;
  background: var(--white);
  color: var(--steel);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--brand-blue);
  color: var(--brand-blue-dark);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.credential-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.credential-strip div {
  min-width: 0;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.credential-strip div:last-child {
  border-right: 0;
}

.credential-strip strong,
.credential-strip span {
  display: block;
}

.credential-strip strong {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.credential-strip span {
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 800;
}

.section {
  padding: 82px 36px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

h2 {
  margin-bottom: 16px;
  font-size: 38px;
  line-height: 1.12;
}

.tabbed-section {
  background: var(--paper);
}

.tab-shell {
  overflow: hidden;
  scroll-margin-top: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tab-list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #eef3f7;
}

.tab-button {
  position: relative;
  flex: 0 0 auto;
  min-width: 136px;
  min-height: 54px;
  padding: 14px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--steel);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab-button:hover,
.tab-button:focus-visible {
  color: var(--brand-blue-dark);
  background: rgba(8, 103, 175, 0.08);
}

.tab-button[aria-selected="true"] {
  color: var(--brand-blue-dark);
  background: var(--white);
}

.tab-button[aria-selected="true"]::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: var(--brand-blue);
  content: "";
}

.tab-panel {
  padding: 30px;
  scroll-margin-top: 100px;
}

.tab-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(420px, 1.15fr);
  gap: 36px;
  align-items: start;
}

.tab-panel .section-heading {
  margin-bottom: 0;
}

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

.service-item {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-item h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-item p,
.quote-copy p {
  color: var(--muted);
}

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

.detail-list article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.detail-list strong {
  font-size: 18px;
}

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

.driver-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 18px;
}

.requirements {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.requirements ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.driver-apply-link {
  margin-top: 22px;
}

.driver-panel .section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.driver-interest-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-field input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.safety-panel {
  color: var(--white);
  background: #101923;
}

.safety-panel .section-heading {
  margin-bottom: 28px;
}

.safety-panel .eyebrow {
  color: #91d5ff;
}

.safety-panel .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.compliance-grid div {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.compliance-grid div:last-child {
  border-right: 0;
}

.compliance-grid strong {
  color: #91d5ff;
  font-size: 13px;
  text-transform: uppercase;
}

.compliance-grid span {
  overflow-wrap: anywhere;
  font-size: 22px;
  font-weight: 800;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 42px;
  align-items: start;
  background: var(--brand-blue-soft);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid #c8dbe9;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-wide {
  grid-column: 1 / -1;
}

label {
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bcc9d4;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 103, 175, 0.2);
  border-color: var(--brand-blue);
}

.form-submit {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.recaptcha-disclosure {
  grid-column: 1 / -1;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.recaptcha-disclosure a {
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: #ad2d1f;
}

.field-invalid {
  border-color: #ad2d1f;
  outline: 3px solid rgba(173, 45, 31, 0.15);
}

.grecaptcha-badge {
  visibility: hidden;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq-section {
  background: var(--white);
}

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

.faq-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.faq-grid p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.2fr);
  gap: 36px;
  align-items: center;
  background: #101923;
  color: var(--white);
}

.contact-section > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section .eyebrow {
  color: #91d5ff;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  color: rgba(255, 255, 255, 0.92);
}

.contact-form .form-status {
  color: #91d5ff;
}

.contact-form .recaptcha-disclosure {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form .recaptcha-disclosure a {
  color: #91d5ff;
}

.contact-form .form-status[data-state="error"] {
  color: #ffb7a9;
}

.contact-grid a {
  flex: 1 1 210px;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.14);
}

.contact-grid strong,
.contact-grid span {
  display: block;
  overflow-wrap: anywhere;
}

.contact-grid strong {
  margin-bottom: 8px;
}

.contact-grid span {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.site-footer a {
  color: var(--steel);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-blue-dark);
  text-decoration: underline;
}

.footer-logo {
  width: 128px;
  height: auto;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  padding: 74px 36px 44px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 12px;
  color: var(--ink);
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
}

.legal-content {
  max-width: 860px;
  padding: 56px 36px 82px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 24px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.application-page {
  background: var(--paper);
}

.application-hero {
  padding: 62px 36px 36px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.application-hero h1 {
  max-width: 880px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 54px;
}

.application-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.application-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 36px 82px;
}

.application-progress {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 16px;
}

.application-progress ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-progress button,
.text-button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--steel);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.application-progress button {
  padding: 10px 12px;
}

.application-progress button[aria-current="step"] {
  border-color: var(--brand-blue);
  background: var(--brand-blue-soft);
  color: var(--brand-blue-dark);
}

.application-progress button.is-complete::after {
  float: right;
  color: var(--brand-blue);
  content: "Done";
  font-size: 12px;
  text-transform: uppercase;
}

.draft-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.draft-card span {
  color: var(--muted);
  font-size: 13px;
}

.text-button {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--brand-blue-dark);
}

.application-form,
.application-confirmation {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.application-step {
  scroll-margin-top: 110px;
}

.step-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.step-heading p:not(.eyebrow) {
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.repeat-section {
  display: grid;
  gap: 14px;
  margin: 24px 0 30px;
}

.repeat-section h3 {
  margin-bottom: 4px;
}

.repeat-section p,
.notice-box p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.repeat-row {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.row-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  border: 1px solid #c9d4de;
  border-radius: 6px;
  background: var(--white);
  color: var(--steel);
  font-weight: 800;
  cursor: pointer;
}

.row-remove:hover,
.row-remove:focus-visible {
  border-color: var(--brand-blue);
  color: var(--brand-blue-dark);
}

.checkbox-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkbox-panel legend {
  padding: 0 6px;
  font-weight: 800;
}

.checkbox-panel label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.checkbox-panel input {
  width: 18px;
  min-height: 18px;
}

.none-row {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.notice-box {
  margin-bottom: 24px;
  padding: 18px;
  border-left: 4px solid var(--brand-blue);
  background: var(--brand-blue-soft);
}

.consent-list {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.consent-card {
  display: flex;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.consent-card input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.consent-card strong,
.consent-card span {
  display: block;
}

.consent-card span {
  color: var(--muted);
  font-weight: 600;
}

.consent-card strong {
  margin-bottom: 4px;
  color: var(--ink);
}

.verification-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-blue-soft);
}

.verification-panel h3,
.verification-panel p {
  margin: 0;
}

.verification-panel p,
.verification-item span {
  color: var(--muted);
}

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

.verification-item {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(8, 103, 175, 0.18);
  border-radius: 8px;
  background: var(--white);
}

.verification-item[data-state="verified"] {
  border-color: rgba(10, 126, 82, 0.35);
}

.verification-item[data-state="verified"] span {
  color: #0a7e52;
  font-weight: 700;
}

.verification-code-row {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(82px, 1fr) minmax(92px, auto);
  gap: 8px;
  align-items: center;
}

.application-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.application-confirmation {
  align-self: start;
}

.application-confirmation p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 80vh;
    padding: 70px 20px 54px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 18, 30, 0.88), rgba(7, 18, 30, 0.58)),
      linear-gradient(0deg, rgba(7, 18, 30, 0.72), rgba(7, 18, 30, 0));
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .credential-strip,
  .service-grid,
  .tab-split,
  .driver-layout,
  .driver-interest-form,
  .compliance-grid,
  .quote-section,
  .faq-grid,
  .contact-section,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .credential-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .credential-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 58px 20px;
  }

  .legal-hero {
    padding: 52px 20px 32px;
  }

  .legal-content {
    padding: 40px 20px 58px;
  }

  .quote-form,
  .driver-interest-form,
  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .tab-panel {
    padding: 20px;
  }

  .tab-button {
    min-width: 128px;
  }

  .application-hero {
    padding: 44px 20px 28px;
  }

  .application-hero h1 {
    font-size: 38px;
  }

  .application-shell {
    grid-template-columns: 1fr;
    padding: 20px 20px 58px;
  }

  .application-progress {
    position: static;
  }

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

  .application-progress button {
    min-height: 52px;
    text-align: center;
  }

  .application-progress button.is-complete::after {
    display: none;
  }

  .application-form,
  .application-confirmation {
    padding: 20px;
  }

  .field-grid,
  .checkbox-panel,
  .verification-grid {
    grid-template-columns: 1fr;
  }

  .verification-code-row {
    grid-template-columns: 1fr;
  }

  .application-actions {
    flex-direction: column-reverse;
  }

  .compliance-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .compliance-grid div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 460px) {
  .brand {
    max-width: 70vw;
  }

  .brand-logo {
    width: 150px;
  }

  h1 {
    font-size: 36px;
  }

  .button {
    width: 100%;
  }

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

  .repeat-row {
    padding: 18px;
  }

  .row-remove {
    position: static;
    width: 100%;
    margin-bottom: 14px;
  }
}
