/* World Freight Brokerage Solution — site styles
   Tokens first, then base, layout, components, page sections, utilities. */

/* Archivo variable (latin subset), self-hosted. SIL Open Font License 1.1. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0b1e33;
  --navy-2: #12304f;
  --navy-3: #1b3f66;
  --blue: #1667c2;          /* primary actions, from the logo globe */
  --blue-dark: #0f4f96;
  --blue-tint: #e3eefa;
  --ink: #13202e;
  --steel: #4c5d70;         /* secondary text, 6.4:1 on white */
  --rule: #d4dde7;
  --mist: #eef3f8;          /* light neutral section background */
  --white: #ffffff;
  --signal: #f2b33d;        /* focus ring only */
  --error: #b42318;
  --error-tint: #fdeceb;
  --ok: #17663a;
  --ok-tint: #e7f5ed;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wide: 118%;             /* expanded width for display type */

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.42rem, 1.27rem + 0.7vw, 1.8rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --measure: 68ch;
  --section: clamp(56px, 8vw, 104px);
  --radius: 6px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1, h2 { font-stretch: var(--wide); }
h1 { font-size: var(--step-4); letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }
p, ul, ol, dl { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #dbe5f0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a:not(.btn) { color: #9cc7f5; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--steel); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.section--navy .section-head p { color: #b9c9da; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.35em;
  font: 600 var(--step-0)/1.2 var(--font); font-stretch: 108%;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.btn .icon { width: 1.1em; height: 1.1em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.site-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-stretch: 125%; font-size: 1.02rem; letter-spacing: 0.06em; }
.brand__sub { font-size: 0.62rem; font-stretch: 125%; letter-spacing: 0.32em; color: var(--blue); margin-top: 5px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list li + li { margin: 0; }
.nav__link {
  display: block; padding: 10px 11px; color: var(--ink); text-decoration: none; font-weight: 500;
  border-radius: 4px; font-size: 0.97rem;
}
.nav__link:hover { color: var(--blue); background: var(--mist); }
.nav__link[aria-current="page"], .nav__link[data-section-current] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.header-phone:hover { color: var(--blue); }
.header-phone .icon { width: 18px; height: 18px; color: var(--blue); }
.header-cta { min-height: 44px; padding: 0.55em 1.05em; font-size: 0.95rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 2px solid var(--rule); border-radius: var(--radius);
  min-height: 44px; padding: 0 14px; font: 600 0.95rem var(--font); color: var(--navy); cursor: pointer; align-items: center; gap: 8px;
}
.nav-toggle .icon { width: 20px; height: 20px; }

@media (max-width: 1180px) {
  .header-phone__label { display: none; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .header-cta, .header-actions .header-phone { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    border-bottom: 1px solid var(--rule); box-shadow: 0 16px 32px rgba(11, 30, 51, 0.12);
    display: none; margin: 0;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; padding: 8px var(--gutter) 20px; gap: 0; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--mist); font-size: var(--step-1); border-radius: 0; }
  .nav__link[aria-current="page"], .nav__link[data-section-current] { box-shadow: inset 4px 0 0 var(--blue); padding-left: 14px; }
  .nav__extra { display: grid; gap: 10px; padding: 0 var(--gutter) 24px; }
}
@media (min-width: 1081px) { .nav__extra { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #d3dfeb; position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr); gap: 56px; } }
.hero h1 { color: var(--white); font-stretch: 122%; max-width: 15ch; margin-bottom: 0.45em; }
.hero__lede { font-size: var(--step-1); line-height: 1.55; max-width: 36rem; margin-bottom: 1.6em; }
.hero__phone { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 48px; padding: 0 4px; }
.hero__phone:hover { color: #9cc7f5; }
.hero__phone .icon { width: 20px; height: 20px; }
.hero__visual { position: relative; }
.hero__photo { border-radius: var(--radius); width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }

/* Lane check — the hero's working element */
.lane {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 22px 22px 20px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  position: relative; margin: 16px 0 0; border-top: 5px solid var(--blue);
}
.lane__title { font-size: var(--step-1); font-stretch: 112%; margin: 0 0 4px; }
.lane__hint { font-size: var(--step--1); color: var(--steel); margin: 0 0 14px; }
.lane { container-type: inline-size; }
.lane__route { display: grid; grid-template-columns: 1fr; gap: 10px; }
.lane__arrow { display: none; color: var(--blue); padding-bottom: 12px; }
.lane__arrow .icon { width: 22px; height: 22px; }
@container (min-width: 420px) {
  .lane__route { grid-template-columns: 1fr auto 1fr; align-items: end; }
  .lane__arrow { display: block; }
}
.lane .btn { margin-top: 14px; }

/* ---------- Facts strip (credibility) ---------- */
.facts { background: var(--navy-2); color: #d3dfeb; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.facts__list { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.facts__list li { margin: 0; display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--blue); padding-left: 14px; }
.facts__label { font-size: var(--step--1); color: #9fb3c8; }
.facts__value { color: var(--white); font-weight: 600; font-stretch: 108%; }
.facts__value a { color: var(--white); }
.facts__value a:hover { color: #9cc7f5; }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.service {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius); overflow: hidden;
}
.service__img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.service__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { font-size: var(--step-2); font-stretch: 112%; margin-bottom: 0.3em; }
.service__body h3 a { color: var(--navy); text-decoration: none; }
.service__body h3 a:hover { color: var(--blue); text-decoration: underline; }
.service__body p { color: var(--steel); }
.service__meta { margin: 0 0 18px; padding: 12px 0 0; border-top: 1px solid var(--rule); font-size: var(--step--1); color: var(--steel); }
.service__meta dt { font-weight: 600; color: var(--ink); }
.service__meta dd { margin: 0 0 6px; }
.service__link { margin-top: auto; font-weight: 600; }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { margin: 0; counter-increment: step; position: relative; padding: 0 0 32px 64px; }
@media (min-width: 860px) { .steps li { padding: 64px 32px 0 0; } }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-stretch: 112%;
}
.steps li::after { content: ""; position: absolute; background: var(--rule); left: 21px; top: 48px; bottom: 4px; width: 2px; }
@media (min-width: 860px) { .steps li::after { left: 52px; right: 8px; top: 21px; bottom: auto; height: 2px; width: auto; } }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.35em; }
.steps p { color: var(--steel); margin: 0; }

/* ---------- Advantages ---------- */
.advantages { display: grid; gap: 28px 48px; }
@media (min-width: 760px) { .advantages { grid-template-columns: 1fr 1fr; } }
.advantage { border-top: 3px solid var(--blue); padding-top: 18px; }
.advantage h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.advantage p { margin: 0; }
.section--navy .advantage { border-top-color: #4a90dc; }

/* ---------- Coverage ---------- */
.us-map { width: 100%; height: auto; }
.us-map__states path { fill: #cfe0f3; stroke: var(--white); stroke-width: 1; stroke-linejoin: round; }
.us-map__states path:hover { fill: #a9c9ec; }
.us-map__hq circle { fill: var(--blue); }
.us-map__hq .us-map__pulse { fill: rgba(22, 103, 194, 0.22); }
.us-map__hq text { font: 700 20px var(--font); fill: var(--navy); paint-order: stroke; stroke: var(--white); stroke-width: 5px; }
.map-frame { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(12px, 3vw, 28px); }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--step--1); color: var(--steel); margin-top: 12px; }
.map-key span { display: inline-flex; align-items: center; gap: 8px; }
.map-key i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: #cfe0f3; }
.map-key i.hq { border-radius: 50%; background: var(--blue); }

/* Lane planner: click two states, see the route, carry it into the quote form */
.us-map.is-planning .us-map__states path { cursor: pointer; transition: fill 0.15s ease; }
.us-map__states path.is-from { fill: var(--blue); }
.us-map__states path.is-to { fill: var(--navy-3); }
.us-map__lane { pointer-events: none; }
.us-map__halo { fill: none; stroke: var(--white); stroke-width: 9; stroke-linecap: round; opacity: 0.85; }
.us-map__route { fill: none; stroke: var(--signal); stroke-width: 4.5; stroke-linecap: round; }
.us-map__end { fill: var(--white); stroke: var(--blue); stroke-width: 4; }
.us-map__end--to { stroke: var(--navy); }
.us-map__truck { fill: var(--signal); stroke: var(--navy); stroke-width: 3; }
.planner__panel {
  margin-top: 16px; padding: 20px 22px; border-radius: 10px; color: var(--white);
  background: var(--navy) radial-gradient(120% 90% at 100% 0%, rgba(22, 103, 194, 0.45), transparent 60%);
  box-shadow: 0 18px 40px -24px rgba(11, 30, 51, 0.7);
}
.planner__kicker { margin: 0 0 12px; font-weight: 700; font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--step--1); color: #b9d3f2; }
.planner__picks { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.planner__picks .field { grid-column: auto; }
.planner__picks label { font-size: var(--step--1); color: #dce8f6; }
.planner__picks select { border-color: transparent; }
.planner__arrow { color: var(--signal); padding-bottom: 12px; }
.planner__arrow .icon { width: 22px; height: 22px; }
.planner__status { margin: 14px 0 16px; font-size: var(--step--1); color: #c9d8ea; min-height: 1.6em; }
.planner__status strong { color: var(--white); font-size: var(--step-0); }
.planner .btn--primary { background: var(--white); color: var(--navy); }
.planner .btn--primary:hover { background: var(--signal); color: var(--navy); }
@media (max-width: 479px) {
  .planner__picks { grid-template-columns: minmax(0, 1fr); }
  .planner__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .us-map.is-planning .us-map__states path { transition: none; } }

/* ---------- Industries ---------- */
.industry-list { display: grid; gap: 32px; }
.industry { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) {
  .industry { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; }
  .industry:nth-child(even) .industry__img { order: 2; }
}
.industry__img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.industry h3 { font-size: var(--step-2); font-stretch: 112%; }
.industry h3 a { color: var(--navy); text-decoration: none; }
.industry h3 a:hover { color: var(--blue); text-decoration: underline; }
.industry ul { color: var(--steel); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 600; font-size: var(--step-1); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--blue); }
.faq__answer { padding: 0 0 22px; max-width: var(--measure); }
.faq__answer > :last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: var(--white); }
.cta-band .wrap { display: grid; gap: 24px; align-items: center; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--white); margin-bottom: 0.25em; font-size: var(--step-3); }
.cta-band p { margin: 0; color: #e1ecf9; font-size: var(--step-1); max-width: 40rem; }
.cta-band .btn--primary { background: var(--white); color: var(--navy); }
.cta-band .btn--primary:hover { background: var(--navy); color: var(--white); }

/* ---------- Page header & breadcrumbs ---------- */
.page-head { background: var(--navy); color: #d3dfeb; padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 { color: var(--white); max-width: 22ch; font-size: var(--step-4); }
.page-head__lede { font-size: var(--step-1); max-width: 42rem; margin: 0; line-height: 1.55; }
.page-head .actions { margin-top: 28px; }
.page-head--photo { position: relative; isolation: isolate; }
.page-head--photo .page-head__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.crumbs { font-size: var(--step--1); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { margin: 0; display: inline-flex; gap: 4px; align-items: center; }
.crumbs li + li::before { content: "/"; color: #7d93aa; padding: 0 2px; }
.crumbs a { color: #b9cde2; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: #e6eef6; }

/* ---------- Detail blocks on service / industry pages ---------- */
.detail-grid { display: grid; gap: 28px 48px; }
@media (min-width: 800px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.detail h2, .detail h3 { font-size: var(--step-1); font-stretch: 108%; }
.detail ul { margin-bottom: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.callout { background: var(--mist); border-left: 4px solid var(--blue); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { font-size: var(--step-1); }
.aside-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; background: var(--white); }
.aside-card h2 { font-size: var(--step-1); font-stretch: 108%; }
.aside-card > :last-child { margin-bottom: 0; }
.aside-card + .aside-card { margin-top: 20px; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin: 0; border-top: 1px solid var(--rule); }
.link-list li:last-child { border-bottom: 1px solid var(--rule); }
.link-list a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list span { display: block; font-weight: 400; color: var(--steel); font-size: var(--step--1); }

/* Resource cards */
.resource-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.resource { border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; background: var(--white); display: flex; flex-direction: column; }
.resource h2, .resource h3 { font-size: var(--step-1); font-stretch: 108%; }
.resource h2 a, .resource h3 a { color: var(--navy); text-decoration: none; }
.resource h2 a:hover, .resource h3 a:hover { color: var(--blue); text-decoration: underline; }
.resource p { color: var(--steel); margin-bottom: 0; }

table.simple { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: var(--step--1); }
table.simple th, table.simple td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.simple th { background: var(--mist); font-weight: 650; }
.table-scroll { overflow-x: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 28px; min-width: 0; }
.form .alert { overflow-wrap: anywhere; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-size: var(--step-2); font-weight: 700; font-stretch: 112%; color: var(--navy); padding: 0; margin-bottom: 4px; }
.form .legend-note { color: var(--steel); font-size: var(--step--1); margin: 0 0 16px; }
.form-panel { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 36px); }
.form-panel + .form-panel { margin-top: 0; }
.fields { display: grid; gap: 18px 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 640px) {
  .field--half { grid-column: span 3; }
  .field--third { grid-column: span 2; }
}
.field label, .field .label { font-weight: 600; font-size: 0.97rem; }
.req { color: var(--error); font-weight: 600; }
.opt { color: var(--steel); font-weight: 400; font-size: var(--step--1); }
.hint { color: var(--steel); font-size: var(--step--1); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: var(--white); border: 1.5px solid #9aabbd; border-radius: 5px; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--navy-3); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--navy); }
[aria-invalid="true"] { border-color: var(--error) !important; background: #fffafa; }
.field-error { color: var(--error); font-size: var(--step--1); font-weight: 600; margin: 0; display: flex; gap: 6px; }
.field-error:empty { display: none; }
.choices { display: grid; gap: 10px; }
.choices--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.choice {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--rule);
  border-radius: 5px; cursor: pointer; background: var(--white); line-height: 1.35;
}
.choice:hover { border-color: var(--navy-3); }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 1px; }
.choice__text strong { display: block; }
.choice__text span { color: var(--steel); font-size: var(--step--1); }
.choices[aria-invalid="true"] .choice { border-color: var(--error); }
.conditional { grid-column: span 6; border-left: 3px solid var(--blue); padding: 4px 0 4px 18px; display: grid; gap: 18px 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.conditional[hidden] { display: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 18px 20px; border: 1.5px solid; }
.alert h2, .alert h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.alert > :last-child { margin-bottom: 0; }
.alert ul { margin-bottom: 0; }
.alert--error { background: var(--error-tint); border-color: var(--error); color: #5c140e; }
.alert--error a { color: #8a1c12; font-weight: 600; }
.alert--ok { background: var(--ok-tint); border-color: var(--ok); color: #0f3d23; }
.alert[hidden] { display: none; }
.form-foot { display: grid; gap: 14px; }
.form-foot p { font-size: var(--step--1); color: var(--steel); margin: 0; }
.form-foot .alert p { color: inherit; font-size: var(--step-0); }
.form-foot .alert p + p { margin-top: 10px; }

/* Email handoff (online sending off) */
.handoff-note {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--blue);
}
.handoff-note > .icon { width: 28px; height: 28px; color: var(--blue); flex: none; margin-top: 2px; }
.handoff-note h2 { font-size: var(--step-1); font-stretch: 108%; color: var(--navy); margin-bottom: 0.35em; }
.handoff-note p { margin: 0; color: var(--steel); font-size: var(--step--1); }
.handoff-note a { font-weight: 600; }
.btn--handoff { justify-self: start; min-height: 54px; padding-inline: 1.6em; font-size: 1.05rem; }
.btn--copy { min-height: 40px; padding: 0.35em 0.9em; font-size: var(--step--1); margin: 0 4px; vertical-align: baseline; }
@media (max-width: 639px) { .btn--handoff { justify-self: stretch; } }

/* Live load ticket */
.ticket {
  position: relative; margin-bottom: 20px; padding: 22px 24px 20px; border-radius: 10px;
  background: var(--navy); color: var(--white);
  background-image: radial-gradient(120% 80% at 100% 0%, rgba(22, 103, 194, 0.45), transparent 60%);
  box-shadow: 0 18px 40px -22px rgba(11, 30, 51, 0.65);
}
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket__kicker { font-weight: 700; font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--step--1); color: #b9d3f2; }
.ticket__count { font-size: var(--step--1); font-variant-numeric: tabular-nums; color: #dce8f6; }
.ticket__meter { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); margin: 10px 0 18px; overflow: hidden; }
.ticket__meter span { display: block; height: 100%; width: 0; background: var(--signal); border-radius: inherit; transition: width 0.35s ease; }
.ticket.is-ready .ticket__meter span { background: #5fd38d; }
.ticket__route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: end; }
.ticket__route strong { display: block; font-size: var(--step-1); font-stretch: 112%; line-height: 1.2; overflow-wrap: anywhere; }
.ticket__route > div:last-child { text-align: right; }
.ticket__arrow { color: var(--signal); padding-bottom: 3px; }
.ticket__arrow .icon { width: 22px; height: 22px; }
.ticket__label, .ticket__rows dt { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: #9fb6cf; font-weight: 600; }
.ticket__rows {
  margin: 18px 0 0; padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px;
  border-top: 2px dashed rgba(255, 255, 255, 0.22);
}
.ticket__rows dd { margin: 2px 0 0; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.ticket .is-empty { color: rgba(255, 255, 255, 0.42); font-weight: 400; }
.ticket__foot { margin: 16px 0 0; font-size: var(--step--1); color: #c9d8ea; }
@media (prefers-reduced-motion: reduce) { .ticket__meter span { transition: none; } }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, 0.45); border-top-color: var(--white); border-radius: 50%; animation: spin 0.8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact cards ---------- */
.contact-methods { display: grid; gap: 16px; }
.contact-method { display: flex; gap: 14px; align-items: flex-start; }
.contact-method .icon { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-method strong { display: block; }
.contact-method a { font-weight: 600; font-size: var(--step-1); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c9da; font-size: 0.95rem; }
.site-footer a { color: #dce7f2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer a:focus-visible { color: var(--white); text-decoration: underline; }
.site-footer a[aria-current="page"] { color: var(--white); text-decoration: underline; font-weight: 650; }
.footer__grid { display: grid; gap: 36px; padding: 64px 0 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.footer__grid > * { min-width: 0; }
.footer__brand { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; } .footer__brand { grid-column: auto; } }
.site-footer .brand { color: var(--white); margin-bottom: 16px; min-height: 44px; }
.site-footer .brand__sub { color: #8fbdf0; }
.site-footer h2 { font-size: 0.95rem; color: var(--white); font-stretch: 112%; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0; }
.footer__grid nav a, .footer__contact a { display: block; min-height: 44px; padding: 10px 0; overflow-wrap: anywhere; }
.footer__email { display: block; }
.footer__record { display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__base { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--step--1); }

/* ---------- Mobile quote bar ---------- */
.quote-bar { display: none; }
@media (max-width: 760px) {
  body.has-quote-bar { padding-bottom: 76px; }
  .quote-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white);
    border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(11, 30, 51, 0.12);
    transition: transform 0.2s;
  }
  .quote-bar .btn { flex: 1; min-height: 48px; padding: 0.5em 0.8em; }
  .quote-bar .btn--call { flex: 0 0 auto; }
  .quote-bar.is-hidden { transform: translateY(110%); }
}

/* ---------- Misc ---------- */
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--steel); }
.muted { color: var(--steel); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 24px; }
.center { text-align: center; }
.icon { display: inline-block; vertical-align: middle; }
.notfound { min-height: 50vh; display: grid; align-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .quote-bar, .cta-band, .site-footer nav { display: none; }
  body { padding: 0 !important; }
}

/* ---------- Refinements ---------- */
.page-head__lede a { color: var(--white); font-weight: 600; }
.page-head__lede a:hover { color: #9cc7f5; }
.industry h2 { font-size: var(--step-2); font-stretch: 112%; }
.industry h2 a { color: var(--navy); text-decoration: none; }
.industry h2 a:hover { color: var(--blue); text-decoration: underline; }
.form .field > legend, .form fieldset.field legend { font-size: 0.97rem; font-weight: 600; font-stretch: 100%; color: var(--ink); margin-bottom: 8px; }
.form-panel > .form { gap: 22px; }
@media (min-width: 860px) {
  .steps--vertical { grid-template-columns: 1fr; }
  .steps--vertical li { padding: 0 0 28px 64px; }
  .steps--vertical li::after { left: 21px; right: auto; top: 48px; bottom: 4px; width: 2px; height: auto; }
}
.steps--compact li { padding-left: 52px; padding-bottom: 20px; }
.steps--compact li::before { width: 34px; height: 34px; font-size: 0.9rem; }
.steps--compact li::after { left: 16px; top: 38px; }
@media (min-width: 860px) { .steps--compact li { padding: 0 0 20px 52px; } .steps--compact li::after { left: 16px; top: 38px; } }
.steps--compact h3 { font-size: var(--step-0); }
.steps--compact p { font-size: var(--step--1); }
.lane__route .field { grid-column: auto; }

/* Header fit: keep phone number + full quote button visible on common laptop widths */
.site-header .wrap { max-width: calc(1320px + 2 * var(--gutter)); }
.site-header__bar { gap: 20px; }
.nav__link { padding: 10px 9px; }
@media (max-width: 1300px) { .header-phone__label { display: none; } }
@media (max-width: 1080px) { .header-actions { display: none; } }
@media (max-width: 420px) {
  .site-header__bar { gap: 12px; }
  .brand { gap: 9px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 0.9rem; }
  .brand__sub { font-size: 0.55rem; letter-spacing: 0.22em; }
  .nav-toggle { padding: 0 10px; }
}
@media (max-width: 359px) {
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: 0 11px; }
}
.subhead { margin: 0; font-weight: 700; color: var(--navy); grid-column: span 6; }
.conditional .subhead { grid-column: span 6; }
.fields { align-items: start; }
