:root {
  --ink: #172033;
  --muted: #687386;
  --paper: #f4f6f9;
  --white: #ffffff;
  --navy: #1d1b3a;
  --blue: #034d9a;
  --aqua: #034d9a;
  --lime: #034d9a;
  --coral: #034d9a;
  --line: rgba(23, 32, 51, 0.13);
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.modal-lock {
  overflow: hidden;
}

.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;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1 {
  max-width: 860px;
  font-size: clamp(1.85rem, 3.25vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

h4 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 14px 32px auto;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 8px 14px 8px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(6, 11, 28, 0.18);
  backdrop-filter: blur(16px) saturate(120%);
}

.brand img {
  width: 150px;
  height: auto;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.nav-center {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(29, 27, 58, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.site-nav a:hover {
  color: var(--navy);
  background: rgba(3, 77, 154, 0.1);
}

.site-nav a.active {
  color: rgba(29, 27, 58, 0.72);
  background: transparent;
}

.site-nav a.client-panel-link {
  grid-column: 3;
  justify-self: end;
  margin-left: 0;
}

.site-nav a.client-panel-link:hover {
  color: var(--navy);
  background: rgba(3, 77, 154, 0.1);
}

.header-quote {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(3, 77, 154, 0.2);
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.2s ease;
}

.header-quote:hover {
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(3, 77, 154, 0.28);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  padding: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 105vh;
  display: grid;
  align-items: center;
  padding: 150px 6vw 150px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.82) contrast(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 42%, rgba(3, 77, 154, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(29, 27, 58, 0.9) 0%, rgba(29, 27, 58, 0.68) 44%, rgba(29, 27, 58, 0.44) 100%),
    linear-gradient(0deg, rgba(29, 27, 58, 0.14) 0%, transparent 30%, rgba(29, 27, 58, 0.18) 100%);
}

.hero::after {
  content: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 0;
  background: none;
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
  padding-top: 60px;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.96rem, 1.08vw, 1.08rem);
  line-height: 1.75;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  text-shadow: 0 0 20px rgba(3, 77, 154, 0.45);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 16px 38px rgba(3, 77, 154, 0.34);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(29, 27, 58, 0.46);
  backdrop-filter: blur(12px);
}

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

.section {
  padding: 82px 6vw;
}

.intro-section {
  position: relative;
  padding-top: 64px;
  padding-bottom: 58px;
  background: var(--paper);
}

.intro-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(29, 27, 58, 0.08);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: start;
}

.intro-title {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.intro-title span {
  display: block;
  white-space: nowrap;
}

.copy-stack p,
.content-panel p,
.statement p,
.trust-band p,
.section-heading p {
  color: var(--muted);
  font-size: 1rem;
}

.values-band {
  padding: 0 6vw 72px;
}

.values-grid,
.offer-grid,
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.values-grid article,
.offer-grid article,
.process article,
.benefits-strip article,
.job-grid article,
.services-list article {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
}

.values-grid article {
  min-height: 198px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.values-grid h4 {
  margin: 12px 0 10px;
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.3;
}

.values-grid span,
.offer-grid span,
.process span {
  color: var(--coral);
  font-weight: 900;
}

.team-section,
.carrier-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.image-panel,
.content-panel {
  overflow: hidden;
  border-radius: var(--radius);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.content-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 74px);
  background: var(--white);
  border: 1px solid var(--line);
}

.content-panel.dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.content-panel.dark p {
  color: rgba(255, 255, 255, 0.76);
}

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

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

.offer-grid article {
  min-height: 240px;
  padding: 34px;
}

.offer-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  border-radius: 50%;
  background: rgba(3, 77, 154, 0.1);
}

.trust-stats {
  margin-top: 28px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #20214b 58%, var(--blue));
  box-shadow: var(--shadow);
}

.trust-stats-heading {
  margin-bottom: 24px;
  text-align: center;
}

.trust-stats-heading h2 {
  margin: 0 auto;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
}

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

.stats-grid article {
  min-height: 158px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.stats-grid strong {
  display: block;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.stats-grid h3 {
  color: var(--white);
}

.stats-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.statement,
.trust-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 60px;
  align-items: center;
  padding: 94px 6vw;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(3, 77, 154, 0.28), transparent 34%),
    linear-gradient(135deg, var(--navy), #171733 62%, #0d2449);
}

.statement {
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.statement-heading {
  position: relative;
  z-index: 1;
}

.statement-heading h2 {
  max-width: 780px;
}

.statement-card {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.statement-card::before {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: var(--blue);
}

.statement .eyebrow,
.trust-band .eyebrow {
  color: var(--lime);
}

.statement p,
.trust-band p {
  color: rgba(255, 255, 255, 0.76);
}

.trust-band-content {
  display: grid;
  gap: 24px;
  align-items: start;
}

.trust-band-content .button {
  justify-self: start;
  min-height: 58px;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.statement-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 46px;
}

.services-visual {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.services-visual img {
  width: 100%;
  height: clamp(260px, 36vw, 430px);
  object-fit: cover;
}

.services-visual.brand-cover img {
  height: auto;
  object-fit: contain;
  object-position: center center;
}

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

.services-list article {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.services-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(var(--aqua), var(--lime));
}

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

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 13px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfb;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(0, 167, 184, 0.2);
  border-color: var(--aqua);
}

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

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 600 !important;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.captcha-field span {
  color: var(--blue);
  font-weight: 900;
}

.captcha-field input {
  max-width: 220px;
}

.postal-suggestions {
  display: none;
  max-height: 190px;
  margin-top: 2px;
  overflow-y: auto;
  border: 1px solid rgba(3, 77, 154, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(23, 32, 51, 0.12);
}

.postal-suggestions.visible {
  display: grid;
}

.postal-suggestions button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 0;
  padding: 10px 12px;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.postal-suggestions button:last-child {
  border-bottom: 0;
}

.postal-suggestions button:hover {
  color: var(--white);
  background: var(--blue);
}

.distance-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(220px, 1fr);
  gap: 10px 18px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(3, 77, 154, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(3, 77, 154, 0.07), rgba(255, 255, 255, 0.92));
}

.distance-panel[hidden] {
  display: none;
}

.distance-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.distance-panel a {
  grid-column: 2;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.distance-panel a:hover {
  text-decoration: underline;
}

.rate-estimate {
  display: grid;
  gap: 5px;
  margin-top: 4px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.rate-estimate[hidden] {
  display: none;
}

.rate-estimate span {
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rate-estimate strong {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.rate-estimate p {
  color: rgba(255, 255, 255, 0.74);
}

.career-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}

.career-hero .section-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  padding: clamp(34px, 5vw, 64px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.career-hero img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefits-strip,
.job-grid {
  display: grid;
  gap: 16px;
}

.benefits-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 56px;
}

.benefits-strip article {
  padding: 28px;
}

.benefits-strip span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--coral);
  font-weight: 900;
}

.jobs-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.job-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.job-grid article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 16px) / 2);
  justify-self: center;
}

.job-grid article {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.job-top {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.job-top p:not(.eyebrow),
.job-columns li {
  color: var(--muted);
}

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

.job-columns ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.apply-button {
  align-self: flex-start;
  margin-top: auto;
}

.process {
  margin: 26px 0;
}

.process article {
  padding: 24px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 24px;
  overflow-y: auto;
}

.modal.open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 28, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(300px, 1.25fr);
  gap: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.modal-copy {
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background: linear-gradient(150deg, var(--navy), var(--blue) 64%, var(--aqua));
}

.modal-copy h2 {
  max-width: 100%;
  font-size: clamp(2rem, 3.2vw, 4rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.modal-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.modal-copy .eyebrow {
  color: var(--lime);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.application-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.freight-panel {
  width: min(1180px, 100%);
  grid-template-columns: minmax(330px, 0.68fr) minmax(360px, 1.32fr);
}

.freight-form {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.freight-form fieldset {
  margin: 0;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.freight-form legend {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 900;
}

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

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

.choice-grid label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
  color: var(--ink);
  font-weight: 700;
}

.choice-grid input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.route-swap-row {
  display: flex;
  justify-content: center;
  margin: -2px 0;
}

.route-swap-button {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(0, 83, 159, 0.22);
  border-radius: 999px;
  background: #f4f9fd;
  color: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.route-swap-button:hover,
.route-swap-button:focus-visible {
  background: #e8f3fb;
  border-color: rgba(0, 83, 159, 0.45);
  transform: translateY(-1px);
}

.contact-section {
  background: linear-gradient(180deg, var(--paper), #eaf6f3);
}

.contact-info {
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  background: linear-gradient(150deg, var(--navy), #20214b 58%, var(--blue));
  border-radius: var(--radius);
}

.contact-info dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contact-info dt {
  margin-top: 18px;
  color: var(--lime);
  font-weight: 900;
}

.contact-info dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.contact-info dd + dd {
  margin-top: 10px;
}

.contact-info strong {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 38px 6vw;
  color: rgba(255, 255, 255, 0.72);
  background: #111827;
}

.site-footer img {
  width: 170px;
  height: auto;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  color: var(--white);
  font-weight: 800;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer span,
.site-footer p a {
  margin-left: 16px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 700;
}

.site-footer p a:hover {
  color: var(--white);
}

.legal-body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(130deg, rgba(29, 27, 58, 0.92), rgba(0, 93, 170, 0.72)),
    url("assets/backgroundtheme.png") center / cover no-repeat fixed;
}

.legal-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.legal-logo {
  display: inline-flex;
  align-items: center;
  padding: 18px 24px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.legal-logo img {
  width: 170px;
  height: auto;
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.legal-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-card a {
  color: var(--blue);
  font-weight: 800;
}

.legal-updated {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 4px;
    padding-top: 12px;
  }

  .site-nav.open .nav-center {
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
  }

  .site-nav.open .client-panel-link {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-nav.open a {
    border-radius: var(--radius);
    background: rgba(3, 77, 154, 0.08);
  }

  .header-quote {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .values-grid,
  .benefits-strip,
  .job-grid,
  .stats-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-section,
  .carrier-section,
  .contact-section,
  .statement,
  .trust-band,
  .section-grid,
  .trust-stats-heading,
  .career-hero,
  .modal-panel,
  .freight-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    inset: 10px 10px auto;
    min-height: 66px;
    padding: 10px;
    border-radius: 24px;
  }

  .brand img {
    width: 136px;
  }

  .hero {
    min-height: 88vh;
    padding: 124px 22px 64px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .section,
  .statement,
  .trust-band {
    padding: 72px 22px;
  }

  .values-band {
    padding: 0 22px 72px;
  }

  .values-grid,
  .offer-grid,
  .services-list,
  .stats-grid,
  .benefits-strip,
  .job-grid,
  .process,
  .form {
    grid-template-columns: 1fr;
  }

  .job-grid article:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: calc(100vh - 20px);
  }

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

  .career-hero img {
    min-height: 260px;
  }

  .image-panel img {
    min-height: 280px;
  }

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

  .site-footer div {
    justify-content: flex-start;
  }

  .site-footer span {
    display: block;
    margin: 8px 0 0;
  }
}
