:root {
  --blue: #156c1b;
  --blue-dark: #042a52;
  --blue-deep: #021b36;
  --blue-light: #f5f8f5;
  --blue-pale: #e8f1e9;
  --blue-bright: #218a2a;
  --white: #ffffff;
  --text: #17314a;
  --muted: #5e7080;
  --line: #d9e3dc;
  --error: #b42318;
  --success-bg: #eef7ef;
  --shadow: 0 24px 70px rgba(4, 42, 82, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  color: var(--blue-dark);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  font-size: 1.2rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #61bc69;
  outline-offset: 3px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #9ed8a3;
}

.section-title {
  margin-bottom: 0;
  max-width: 760px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 227, 220, 0.88);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(4, 42, 82, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.wordmark {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--blue-dark);
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px 2px 10px 2px;
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.wordmark-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.04;
  text-transform: uppercase;
}

.wordmark-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.wordmark-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.primary-nav,
.policy-header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.primary-nav > a:not(.button),
.policy-header-nav > a:not(.button) {
  position: relative;
  color: #35506a;
  font-size: 0.91rem;
  font-weight: 670;
  text-decoration: none;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-dark);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 9px 2px 9px 2px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(21, 108, 27, 0.22);
}

.button-primary:hover {
  background: #0e5514;
  box-shadow: 0 14px 30px rgba(21, 108, 27, 0.3);
}

.button-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: #c4d9c6;
}

.button-secondary:hover {
  border-color: var(--blue);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.86rem;
}

.hero {
  position: relative;
  display: flex;
  height: calc(100svh - var(--header-height));
  min-height: 720px;
  flex-direction: column;
  overflow: hidden;
  padding: 54px 0 0;
  background-color: var(--blue-dark);
  background-image: url("./assets/rs-freight-hero-background.png");
  background-position: center;
  background-size: cover;
}

.hero-layout {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  gap: 64px;
  align-items: center;
  padding-bottom: 42px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 690px;
  color: var(--white);
  font-size: clamp(3rem, 4.15vw, 4rem);
}

.hero .eyebrow {
  color: #70c873;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 34px;
  color: #dbe7f0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero .button-primary {
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(1, 18, 36, 0.28);
}

.hero .button-primary:hover {
  background: #197c20;
}

.hero .button-secondary {
  color: var(--white);
  background: rgba(4, 42, 82, 0.3);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

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

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-highlights li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #e4edf4;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-highlights span {
  color: #70c873;
  font-weight: 900;
}

.hero-placeholder {
  position: relative;
  height: clamp(460px, 60vh, 610px);
  min-height: 0;
  overflow: hidden;
  background: #f7f8f6;
  border: 2px solid rgba(86, 170, 93, 0.9);
  border-radius: 34px 8px 34px 8px;
  box-shadow: 0 28px 70px rgba(1, 18, 36, 0.32);
}

.hero-truck-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 54%;
}

.placeholder-label {
  position: absolute;
  top: 36px;
  right: 32px;
  left: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--blue-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.placeholder-label strong {
  max-width: 280px;
  font-size: 1.7rem;
  line-height: 1.12;
}

.placeholder-label small {
  max-width: 250px;
  margin-top: 10px;
  color: #3c5b70;
  font-size: 0.82rem;
}

.placeholder-badge {
  padding: 6px 10px;
  margin-bottom: 16px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -14px 44px rgba(4, 42, 82, 0.05);
}

.service-strip article {
  display: flex;
  gap: 18px;
  padding: 26px 30px;
}

.service-strip article + article {
  border-left: 1px solid var(--line);
}

.service-number {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.service-strip h2 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.about-section::after {
  position: absolute;
  top: -210px;
  right: -180px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(21, 108, 27, 0.09), transparent 68%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 66px 96px;
  align-items: center;
}

.about-heading .section-title {
  max-width: 570px;
}

.driver-led-marker {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 410px;
  padding: 18px 20px;
  margin-top: 38px;
  background: var(--blue-light);
  border: 1px solid var(--line);
  border-radius: 14px 4px 14px 4px;
}

.driver-led-marker > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px 3px 10px 3px;
  font-size: 0.73rem;
  font-weight: 850;
}

.driver-led-marker p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.driver-led-marker strong {
  display: block;
  margin-bottom: 2px;
  color: var(--blue-dark);
  font-size: 0.86rem;
}

.about-story {
  max-width: 620px;
  padding-left: 34px;
  border-left: 3px solid var(--blue);
}

.about-story p {
  color: #52687a;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-lede {
  color: var(--blue-dark) !important;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.about-principles {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.about-principles article {
  padding: 34px 32px 0;
}

.about-principles article:first-child {
  padding-left: 0;
}

.about-principles article + article {
  border-left: 1px solid var(--line);
}

.about-principles article > span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.about-principles h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.about-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.programs-section {
  overflow: hidden;
  padding-block: 92px;
  background: var(--blue-light);
  border-top: 1px solid var(--line);
}

.programs-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 44px;
}

.programs-heading .section-title {
  font-size: clamp(2.25rem, 3.7vw, 3.2rem);
}

.programs-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.driver-program {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 42px;
  overflow: hidden;
  padding: 44px;
  border-radius: 30px 8px 30px 8px;
}

.driver-program + .driver-program {
  margin-top: 30px;
}

.company-program {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 242, 0.95)),
    var(--white);
  border: 1px solid #d4e1d5;
  box-shadow: 0 22px 55px rgba(4, 42, 82, 0.09);
}

.company-program::after {
  position: absolute;
  top: -170px;
  right: -120px;
  width: 390px;
  height: 390px;
  background: rgba(21, 108, 27, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.program-story {
  position: relative;
  z-index: 1;
  align-self: center;
}

.program-label {
  display: inline-flex;
  padding: 7px 11px;
  margin-bottom: 22px;
  color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid #cfdfd0;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-story h3 {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 3.5vw, 3.35rem);
}

.program-story > p {
  max-width: 560px;
  margin-bottom: 26px;
  color: #5c7080;
  font-size: 1.02rem;
}

.program-numbers {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--blue);
  border-radius: 22px 5px 22px 5px;
  box-shadow: 0 18px 44px rgba(21, 108, 27, 0.24);
}

.program-numbers > div {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.program-numbers > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.19);
}

.program-numbers span,
.program-numbers small {
  color: #d9f0db;
}

.program-numbers span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.program-numbers strong {
  margin: 8px 0 5px;
  color: var(--white);
  font-size: clamp(2.8rem, 5vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.program-numbers small {
  font-size: 0.82rem;
}

.program-details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: stretch;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.detail-kicker {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rhythm-line {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 20px;
}

.rhythm-line > div {
  display: flex;
  flex-direction: column;
}

.rhythm-line strong {
  color: var(--blue-dark);
  font-size: 1.55rem;
  line-height: 1;
}

.rhythm-line div span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.rhythm-arrow {
  color: var(--blue);
  font-size: 1.5rem;
}

.program-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}

.program-benefits li {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  color: var(--blue-dark);
  border-left: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 780;
}

.program-benefits li > span {
  margin-bottom: 11px;
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.program-benefits small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.owner-program {
  color: #d8e7f2;
  background:
    linear-gradient(135deg, #042a52 0%, #073d68 60%, #156c1b 145%);
  box-shadow: 0 28px 70px rgba(2, 27, 54, 0.22);
}

.owner-glow {
  position: absolute;
  top: -220px;
  right: -130px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(51, 150, 60, 0.3), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.program-label-dark {
  color: #a9d9ad;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.owner-program .program-story h3 {
  color: var(--white);
}

.owner-program .program-story > p {
  color: #c4d7e6;
}

.button-outline-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}

.owner-percentage {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px 5px 22px 5px;
}

.owner-percentage > span {
  color: #a9d9ad;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.owner-percentage strong {
  margin: 14px 0 8px;
  color: var(--white);
  font-size: clamp(4.5rem, 8vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
}

.owner-percentage strong span {
  color: #7ec987;
}

.owner-percentage sup {
  margin-left: 4px;
  color: #9ed8a3;
  font-size: 0.35em;
  vertical-align: top;
}

.owner-percentage p {
  margin: 8px 0 0;
  color: #d8e9dc;
  font-size: 0.9rem;
}

.owner-support-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.owner-support-grid article {
  padding: 26px 26px 0;
}

.owner-support-grid article:first-child {
  padding-left: 0;
}

.owner-support-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.owner-support-grid article > span {
  display: inline-block;
  margin-bottom: 18px;
  color: #7ec987;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.owner-support-grid h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.12rem;
}

.owner-support-grid p {
  margin: 0;
  color: #c5d6e3;
  font-size: 0.87rem;
}

.support-section {
  padding-block: 0;
  background: var(--blue-dark);
}

.support-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 80px;
  align-items: center;
  min-height: 640px;
}

.support-panel {
  padding: 90px 0;
  color: #dbe9f4;
}

.support-panel h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.support-panel p {
  max-width: 560px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blue);
  font-weight: 760;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-light {
  margin-top: 12px;
  color: #9ed8a3;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 76px 0;
}

.support-cards article {
  min-height: 235px;
  padding: 30px;
  color: #c7d8e9;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.support-cards article:first-child {
  grid-column: 1 / -1;
}

.support-cards article > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  place-items: center;
  color: #9ed8a3;
  border: 1px solid rgba(158, 216, 163, 0.36);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.support-cards h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.support-cards p {
  margin: 0;
  font-size: 0.91rem;
}

.process-section {
  background: var(--blue-light);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 220px;
  padding: 0 30px;
  border-left: 1px solid #cbd9cd;
}

.process-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.step-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.process-list h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.application-section {
  background: var(--blue-light);
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
}

.application-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  overflow: hidden;
  padding: 52px 42px;
  color: #e7f1e8;
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 184, 104, 0.24), transparent 36%),
    var(--blue);
  border-radius: 28px 7px 28px 7px;
  box-shadow: 0 22px 55px rgba(21, 108, 27, 0.19);
}

.application-intro h2 {
  max-width: 430px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.35rem, 3.7vw, 3.25rem);
}

.application-intro > p:not(.eyebrow) {
  color: #e1efe2;
}

.application-note {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.application-note > span {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.application-note p {
  margin: 0;
  font-size: 0.88rem;
}

.form-card {
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-progress {
  display: grid;
  grid-template-columns: auto minmax(160px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.form-progress > div:first-child {
  display: flex;
  flex-direction: column;
}

.form-progress span[data-step-label] {
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-progress strong {
  margin-top: 3px;
  color: var(--blue-dark);
  font-size: 0.88rem;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: #dde8df;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
  transition: width 220ms ease;
}

.form-step[hidden] {
  display: none;
}

.form-heading {
  margin-bottom: 28px;
}

.form-heading h2 {
  margin-bottom: 9px;
  font-size: 2rem;
}

.form-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-heading:focus {
  outline: 0;
}

.consent-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

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

.field {
  display: flex;
  flex-direction: column;
}

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

.field label {
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 720;
}

.field label > span:not(.optional),
.form-heading span {
  color: var(--error);
}

.optional {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid #c3d1c6;
  border-radius: 9px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field input,
.field select {
  height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(21, 108, 27, 0.16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 18px;
  margin: 5px 0 0;
  color: var(--error);
  font-size: 0.74rem;
  line-height: 1.35;
}

.consent-group {
  padding: 0;
  margin: 0;
  border: 0;
}

.consent-group legend {
  padding: 0;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  margin-bottom: 14px;
  color: #53677c;
  background: var(--blue-light);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.55;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.consent-policy-link {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.consent-policy-link a {
  color: var(--blue);
  font-weight: 700;
}

.form-submit {
  width: 100%;
  margin-top: 0;
  border: 0;
}

.form-next {
  width: 100%;
  margin-top: 26px;
  border: 0;
}

.form-actions {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.form-status {
  display: none;
  padding: 14px 16px;
  margin-top: 16px;
  color: #0e5d14;
  background: var(--success-bg);
  border: 1px solid #bad8bd;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 650;
}

.form-status.is-visible {
  display: block;
}

.contact-section {
  border-bottom: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.contact-layout > div > p:last-child {
  max-width: 520px;
  color: var(--muted);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  background: var(--blue-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-style: normal;
}

.contact-card > div {
  min-width: 0;
  padding: 25px 28px;
}

.contact-card > div:first-child {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--line);
}

.contact-card > div:nth-child(3) {
  border-left: 1px solid var(--line);
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card p {
  overflow-wrap: break-word;
  color: var(--blue-dark);
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.5;
}

.contact-card a {
  color: var(--blue);
}

.contact-card p {
  margin: 0;
}

.contact-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer {
  padding: 70px 0 26px;
  color: #a8bbce;
  background: var(--blue-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.65fr;
  gap: 70px;
  padding-bottom: 54px;
}

.wordmark-footer {
  color: var(--white);
}

.wordmark-footer .wordmark-copy span {
  color: #91a8be;
}

.footer-main > div:first-child > p {
  max-width: 280px;
  margin: 24px 0 0;
  font-size: 0.88rem;
}

.footer-contact,
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-contact strong {
  margin-bottom: 5px;
  color: var(--white);
}

.footer-contact a,
.footer-nav a {
  color: #cbd9e8;
}

.footer-contact p {
  margin: 0;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
}

.footer-bottom p {
  margin: 0;
}

/* Policy page */
.policy-main {
  background: var(--white);
}

.policy-hero {
  color: #cfe0f1;
  background:
    radial-gradient(circle at 80% 0%, rgba(33, 138, 42, 0.28), transparent 33%),
    var(--blue-dark);
}

.policy-hero-inner {
  padding-block: 96px;
}

.policy-hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.policy-hero p {
  max-width: 720px;
}

.policy-updated {
  margin: 30px 0 0;
  color: #9ec0e1;
  font-size: 0.82rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  gap: 90px;
  justify-content: center;
  padding-block: 90px 120px;
}

.policy-toc {
  position: sticky;
  top: calc(var(--header-height) + 36px);
  display: flex;
  height: max-content;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--blue-light);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.policy-toc strong {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.policy-toc a {
  color: #566d84;
  font-size: 0.82rem;
  text-decoration: none;
}

.policy-toc a:hover {
  color: var(--blue);
}

.policy-content section {
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.policy-content section + section {
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.policy-content h2 {
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.policy-content h3 {
  margin: 30px 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.policy-content p,
.policy-content li {
  color: #4d6277;
}

.policy-content li + li {
  margin-top: 9px;
}

.policy-highlight {
  padding: 20px 22px;
  color: var(--blue-dark) !important;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  font-weight: 720;
}

.sms-terms-section {
  padding: 44px !important;
  margin-inline: -44px;
  background: var(--blue-light);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md);
}

.sms-terms-section h2 {
  margin-bottom: 30px;
}

.policy-contact {
  padding: 22px;
  color: #4d6277;
  background: var(--blue-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-style: normal;
}

.policy-contact strong {
  color: var(--blue-dark);
}

.policy-contact a {
  color: var(--blue);
}

.policy-contact span {
  color: var(--muted);
  font-size: 0.75rem;
}

.policy-footer {
  padding-top: 26px;
}

.policy-footer a {
  color: #cbd9e8;
}

@media (max-width: 1050px) {
  .primary-nav {
    gap: 18px;
  }

  .hero-layout {
    grid-template-columns: 1fr 0.75fr;
    gap: 40px;
  }

  .hero-placeholder {
    height: clamp(410px, 50vh, 520px);
    min-height: 0;
  }

  .about-layout {
    gap: 54px 58px;
  }

  .support-layout {
    gap: 50px;
  }

  .driver-program {
    padding: 38px;
  }

  .program-details {
    grid-template-columns: 1fr;
  }

  .application-layout {
    gap: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .policy-layout {
    gap: 50px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 82px 0;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    height: calc(100dvh - var(--header-height));
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 18px 20px 32px;
    visibility: hidden;
    background: var(--white);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav > a:not(.button) {
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .primary-nav .button {
    margin-top: 22px;
  }

  .hero {
    height: auto;
    min-height: 0;
    padding-top: 72px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-bottom: 74px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-placeholder {
    height: auto;
    min-height: 400px;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-layout,
  .support-layout,
  .application-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-story {
    max-width: 760px;
  }

  .programs-heading,
  .driver-program {
    grid-template-columns: 1fr;
  }

  .programs-heading {
    gap: 24px;
  }

  .program-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-numbers > div {
    min-height: 165px;
  }

  .program-numbers > div + div {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.19);
  }

  .program-details,
  .owner-support-grid {
    grid-column: auto;
  }

  .owner-percentage {
    min-height: 280px;
  }

  .support-layout {
    padding-block: 78px;
  }

  .support-panel,
  .support-cards {
    padding: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .process-list li {
    padding: 28px;
    border-bottom: 1px solid #cbd9cd;
  }

  .process-list li:first-child {
    padding: 28px;
    border-left: 1px solid #cbd9cd;
  }

  .process-list li:nth-child(odd) {
    border-left: 0;
  }

  .application-section {
    background: var(--blue-light);
  }

  .application-intro {
    position: static;
  }

  .application-intro h2 {
    max-width: 600px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 60px;
  }

  .policy-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .wordmark-mark {
    width: 39px;
    height: 39px;
  }

  .wordmark-copy strong {
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.8rem);
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-highlights {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-placeholder {
    min-height: 360px;
    border-radius: 24px 6px 24px 6px;
  }

  .placeholder-label {
    top: 26px;
    right: 24px;
    left: 24px;
  }

  .placeholder-label strong {
    font-size: 1.35rem;
  }

  .service-strip article {
    padding: 26px 24px;
  }

  .programs-heading {
    margin-bottom: 38px;
  }

  .driver-program {
    gap: 40px;
    padding: 32px 22px;
    border-radius: 22px 6px 22px 6px;
  }

  .driver-program + .driver-program {
    margin-top: 22px;
  }

  .program-story h3 {
    font-size: 2.15rem;
  }

  .program-story .button {
    width: 100%;
    padding-inline: 16px;
  }

  .program-numbers {
    grid-template-columns: 1fr;
  }

  .program-numbers > div {
    min-height: 150px;
    padding: 28px 24px;
  }

  .program-numbers > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.19);
    border-left: 0;
  }

  .program-numbers strong {
    font-size: 3rem;
  }

  .program-details {
    gap: 36px;
    padding-top: 36px;
  }

  .rhythm-line {
    gap: 14px;
  }

  .rhythm-line strong {
    font-size: 1.25rem;
  }

  .program-benefits,
  .owner-support-grid {
    grid-template-columns: 1fr;
  }

  .program-benefits li {
    min-height: 92px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .owner-percentage {
    min-height: 240px;
    padding: 30px 22px;
  }

  .owner-percentage strong {
    font-size: 4.6rem;
  }

  .owner-support-grid article,
  .owner-support-grid article:first-child {
    padding: 28px 0;
  }

  .owner-support-grid article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .owner-support-grid article > span {
    margin-bottom: 18px;
  }

  .support-layout {
    padding-block: 68px;
  }

  .support-cards {
    grid-template-columns: 1fr;
  }

  .support-cards article:first-child {
    grid-column: auto;
  }

  .support-cards article {
    min-height: 0;
  }

  .support-cards article > span {
    margin-bottom: 30px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:first-child {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid #cbd9cd;
    border-left: 0;
  }

  .step-number {
    margin-bottom: 22px;
  }

  .application-section {
    background: var(--blue-light);
  }

  .application-intro {
    padding: 38px 24px;
  }

  .application-intro h2 {
    font-size: 2.35rem;
  }

  .form-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

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

  .field-full {
    grid-column: auto;
  }

  .form-progress {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .about-story {
    padding-left: 22px;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles article,
  .about-principles article:first-child {
    padding: 26px 0;
  }

  .about-principles article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card > div:first-child,
  .contact-card > div:nth-child(3) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }

  .contact-card > div + div {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-nav {
    grid-column: auto;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 9px;
  }

  .policy-header-nav .text-link {
    display: none;
  }

  .policy-header-nav .button {
    min-height: 40px;
    padding-inline: 14px;
  }

  .policy-hero-inner {
    padding-block: 70px;
  }

  .policy-toc {
    grid-template-columns: 1fr;
  }

  .policy-toc strong {
    grid-column: auto;
  }

  .sms-terms-section {
    padding: 28px 20px !important;
    margin-inline: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
