/*==================================================
  PRISMATIX LOGISTICS — Design System
  Modern SaaS aesthetic for the US carrier market.
==================================================*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/*==================================================
TOKENS
==================================================*/

:root {
    /* Brand */
    --navy-950: #04101C;
    --navy-900: #071A2B;
    --navy-800: #0D2942;
    --navy-700: #143A5A;

    /* --orange-500 is the bright brand orange. It only passes contrast as a
       decorative fill or on dark backgrounds, so anything carrying meaning on
       white uses --orange-600 (5.18:1) or darker. Verified with contrast.py. */
    --orange-800: #9A3412;
    --orange-700: #B23F0A;
    --orange-600: #C2410C;
    --orange-500: #F97316;
    --orange-400: #FB923C;
    --orange-50:  #FFF4EC;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-25:  #FCFCFD;
    --gray-50:  #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E5E9F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0F172A;

    /* Semantic */
    --success-600: #047857;
    --success-50:  #ECFDF5;
    --error-600:   #B91C1C;
    --error-50:    #FEF2F2;

    --text:        var(--navy-900);
    --text-muted:  var(--gray-500);
    --text-invert: var(--white);
    --border:      var(--gray-200);
    --surface:     var(--white);
    --surface-alt: var(--gray-50);

    /* Type */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --fs-display: clamp(2.25rem, 4.1vw, 3.35rem);
    --fs-h1:      clamp(2.25rem, 4.4vw, 3.5rem);
    --fs-h2:      clamp(1.85rem, 3.4vw, 2.75rem);
    --fs-h3:      clamp(1.15rem, 1.7vw, 1.4rem);
    --fs-lead:    clamp(1.05rem, 1.5vw, 1.25rem);
    --fs-body:    1rem;
    --fs-sm:      .9375rem;
    --fs-xs:      .8125rem;

    /* Space */
    --container: 1200px;
    --container-narrow: 820px;
    --section-y: clamp(64px, 9vw, 118px);

    /* Shape */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Elevation — soft and layered, not heavy drop shadows */
    --shadow-xs: 0 1px 2px rgba(7, 26, 43, .06);
    --shadow-sm: 0 2px 8px rgba(7, 26, 43, .06), 0 1px 2px rgba(7, 26, 43, .04);
    --shadow-md: 0 8px 28px rgba(7, 26, 43, .08), 0 2px 6px rgba(7, 26, 43, .04);
    --shadow-lg: 0 22px 60px rgba(7, 26, 43, .13), 0 6px 16px rgba(7, 26, 43, .06);
    --shadow-orange: 0 10px 30px rgba(194, 65, 12, .26);

    --ease: cubic-bezier(.16, 1, .3, 1);
    --t: .28s var(--ease);
}

/*==================================================
RESET
==================================================*/

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

:focus-visible {
    outline: 3px solid var(--orange-600);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 3000;
    background: var(--navy-900); color: #fff;
    padding: 14px 24px; font-weight: 600;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 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;
}

/*==================================================
TYPOGRAPHY
==================================================*/

h1, h2, h3, h4 {
    color: var(--navy-900);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.022em;
}

.display { font-size: var(--fs-display); font-weight: 900; letter-spacing: -.03em; }

/* Avoid a lone short word on the last line of a headline. */
h1, h2, .display { text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }

p { color: var(--text-muted); }

.lead {
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: var(--gray-600);
}

.text-center { text-align: center; }
.mono-num { font-variant-numeric: tabular-nums; }

/* Highlight a word inside a headline */
.hl { color: var(--orange-500); }
.hl-underline {
    position: relative;
    white-space: nowrap;
}
.hl-underline::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: .06em;
    height: .28em;
    background: var(--orange-500);
    opacity: .22;
    border-radius: 3px;
    z-index: -1;
}

/*==================================================
LAYOUT
==================================================*/

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

section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--navy-900); color: var(--text-invert); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .72); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section-head h2 { margin: 18px 0 16px; }
.section-head p { font-size: var(--fs-lead); }

.section-head-left { max-width: 640px; margin-bottom: 48px; }
.section-head-left h2 { margin: 18px 0 16px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }

.stack-sm > * + * { margin-top: 12px; }
.stack   > * + * { margin-top: 20px; }

/*==================================================
EYEBROW / BADGE
==================================================*/

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 10px;
    border-radius: var(--r-pill);
    background: var(--orange-50);
    color: var(--orange-600);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.3;
}

.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.eyebrow-plain { padding-left: 14px; }
.eyebrow-plain::before { display: none; }

.section-dark .eyebrow,
.panel-dark .eyebrow {
    background: rgba(249, 115, 22, .16);
    color: var(--orange-400);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: var(--fs-xs);
    font-weight: 600;
}

/*==================================================
BUTTONS
==================================================*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 28px;
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: -.005em;
    border: 1.5px solid transparent;
    transition: background var(--t), color var(--t), border-color var(--t),
                transform var(--t), box-shadow var(--t);
    white-space: nowrap;
    cursor: pointer;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--orange-600);
    border-color: var(--orange-600);
    color: #fff;
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    background: var(--orange-800);
    border-color: var(--orange-800);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(194, 65, 12, .3);
}

.btn-dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-2px); }

.btn-ghost { background: #fff; border-color: var(--border); color: var(--navy-900); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-on-dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-on-dark:hover { background: #fff; border-color: #fff; color: var(--navy-900); transform: translateY(-2px); }

.btn-lg { padding: 18px 34px; font-size: 1rem; }
.btn-sm { padding: 11px 20px; font-size: var(--fs-xs); }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* Text link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--orange-600);
    font-weight: 700;
    font-size: var(--fs-sm);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

/*==================================================
CARDS
==================================================*/

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.card-flush { padding: 0; overflow: hidden; }
.card-lg { padding: 40px; }

.section-alt .card { background: #fff; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: var(--fs-sm); }

/*==================================================
ICONS
==================================================*/

.icon-box {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-50);
    color: var(--orange-600);
    margin-bottom: 22px;
    flex-shrink: 0;
}
.icon-box svg { width: 25px; height: 25px; }

.icon-box-navy { background: var(--navy-900); color: var(--orange-400); }
.icon-box-soft { background: var(--gray-100); color: var(--navy-900); }

.icon-inline { width: 18px; height: 18px; flex-shrink: 0; }

/* Check list */
.check-list { display: grid; gap: 14px; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--fs-sm);
    color: var(--gray-600);
    line-height: 1.55;
}
.check-list svg {
    width: 21px; height: 21px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--orange-600);
}
.section-dark .check-list li,
.panel-dark .check-list li,
.cta-band .check-list li { color: rgba(255, 255, 255, .82); }

.section-dark .check-list strong,
.panel-dark .check-list strong,
.cta-band .check-list strong { color: #fff; }

/*==================================================
HEADER
==================================================*/

.topbar {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .82);
    font-size: var(--fs-xs);
    padding: 9px 0;
    font-weight: 500;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--orange-400); }
.topbar-left { display: flex; align-items: center; gap: 9px; }
.topbar-left svg { width: 15px; height: 15px; color: var(--orange-400); }
.topbar-right { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-right span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-right svg { width: 14px; height: 14px; opacity: .7; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 74px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: linear-gradient(140deg, var(--navy-800), var(--navy-950));
    display: grid; place-items: center;
    color: var(--orange-500);
    flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { line-height: 1.05; }
.brand-name { display: block; font-size: 1.12rem; font-weight: 900; letter-spacing: -.03em; color: var(--navy-900); }
.brand-sub  { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .28em; color: var(--orange-600); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li > a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--gray-600);
    transition: color var(--t), background var(--t);
}
.nav > li > a:hover { color: var(--navy-900); background: var(--gray-100); }
.nav > li > a[aria-current="page"] { color: var(--orange-600); background: var(--orange-50); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: var(--fs-sm); color: var(--navy-900);
}
.header-phone svg { width: 17px; height: 17px; color: var(--orange-600); }
.header-phone:hover { color: var(--orange-600); }

/* The drawer's duplicate call-to-action buttons belong to the mobile menu
   only — without this they stack under the desktop navigation. */
.nav-cta { display: none; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    place-items: center;
    color: var(--navy-900);
    background: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/*==================================================
HERO
==================================================*/

.hero {
    position: relative;
    padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 110px);
    background:
        radial-gradient(900px 460px at 88% -8%, rgba(249, 115, 22, .10), transparent 62%),
        radial-gradient(760px 420px at 4% 8%, rgba(13, 41, 66, .07), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(40px, 5vw, 70px);
    align-items: center;
}

.hero h1, .hero .display { margin: 22px 0 20px; }
.hero .lead { max-width: 540px; }
.hero .btn-group { margin-top: 34px; }

/* Compact hero for interior pages */
.hero-slim { padding-block: clamp(48px, 6vw, 78px); }
.hero-slim .hero-grid { grid-template-columns: 1fr; text-align: center; }
.hero-slim .lead { margin-inline: auto; }
.hero-slim .btn-group { justify-content: center; }

/* Trust strip under the hero CTA */
.trust-row {
    display: flex;
    align-items: center;
    gap: 14px 30px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item svg { width: 20px; height: 20px; color: var(--orange-600); flex-shrink: 0; }
.trust-item strong { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--navy-900); line-height: 1.25; }
.trust-item span { font-size: var(--fs-xs); color: var(--text-muted); }

/*==================================================
PRODUCT VISUAL — CSS-drawn load board mockup
   Gives the page a product feel without pretending
   to show screenshots of software we don't have.
==================================================*/

.visual { position: relative; }

.mock {
    background: rgba(255, 255, 255, .80);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    background: rgba(248, 250, 252, .82);
    border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); }
.mock-title { margin-left: 8px; font-size: var(--fs-xs); font-weight: 700; color: var(--gray-500); }
.mock-live {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: var(--fs-xs); font-weight: 700; color: var(--success-600);
}
.mock-live::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--success-600);
    box-shadow: 0 0 0 0 rgba(4, 120, 87, .5);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 7px rgba(4, 120, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0); }
}

.mock-body { padding: 18px; display: grid; gap: 12px; background: rgba(252, 252, 253, .62); }

.load-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px 18px;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t), box-shadow var(--t);
}
.load-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.load-card.is-featured { border-color: var(--orange-400); box-shadow: 0 0 0 3px rgba(249, 115, 22, .12); }

.load-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.load-route { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: var(--fs-sm); color: var(--navy-900); letter-spacing: -.01em; }
.load-route svg { width: 15px; height: 15px; color: var(--gray-400); }
.load-rate { font-weight: 900; font-size: 1.05rem; color: var(--success-600); font-variant-numeric: tabular-nums; }

.load-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.load-meta .chip { font-size: .72rem; padding: 4px 10px; }
.load-meta .chip-accent { background: var(--orange-50); color: var(--orange-600); }

.mock-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .72);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: var(--fs-xs); color: var(--text-muted);
}
.mock-footer strong { color: var(--navy-900); }
/* The lower-left floating card sits over this corner — keep the left text
   clear of it so nothing important is hidden. */
.mock-footer > span:first-child { padding-left: 6px; }

/* Floating stat card overlapping the mockup */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    padding: 15px 19px;
    display: flex;
    align-items: center;
    gap: 13px;
}
.float-card svg { width: 20px; height: 20px; color: var(--orange-600); }
.float-card strong { display: block; font-size: 1.05rem; font-weight: 900; color: var(--navy-900); line-height: 1.15; }
.float-card span { font-size: var(--fs-xs); color: var(--text-muted); }
.float-bl { bottom: -40px; left: -52px; }
.float-tr { top: -24px; right: -22px; }

/*==================================================
LOGO / MARQUEE STRIP
==================================================*/

.strip { padding-block: 44px; border-bottom: 1px solid var(--border); background: #fff; }
.strip-label { text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 26px; }
.strip-items { display: flex; justify-content: center; align-items: center; gap: 18px 44px; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-sm); color: var(--gray-500); letter-spacing: -.01em; }
.strip-item svg { width: 20px; height: 20px; color: var(--gray-400); }

/*==================================================
STATS
==================================================*/

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 34px 26px; text-align: center; }
.stat-value { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 900; color: var(--navy-900); letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-value .unit { color: var(--orange-500); }
.stat-label { margin-top: 7px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }

.section-dark .stat-band { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); }
.section-dark .stat { background: var(--navy-900); }
.section-dark .stat-value { color: #fff; }
.section-dark .stat-label { color: rgba(255,255,255,.6); }

/*==================================================
FEATURE ROWS (alternating)
==================================================*/

.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 110px); }
.feature-row:nth-child(even) .visual { order: -1; }

.feature-list { display: grid; gap: 22px; margin-top: 30px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .icon-box { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 0; }
.feature-item .icon-box svg { width: 20px; height: 20px; }
.feature-item h4 { font-size: 1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 4px; }
.feature-item p { font-size: var(--fs-sm); margin: 0; }

/*==================================================
STEPS
==================================================*/

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 34px 30px;
    transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-num {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 13px;
    background: var(--navy-900);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
}
.step:last-child .step-num { background: var(--orange-600); }

/* Connector line between steps on desktop */
.steps-connected .step::after {
    content: "";
    position: absolute;
    top: 56px;
    right: -28px;
    width: 28px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gray-300) 0 5px, transparent 5px 10px);
}
.steps-connected .step:last-child::after { display: none; }

.steps-4 { grid-template-columns: repeat(4, 1fr); }

/*==================================================
EQUIPMENT GRID
==================================================*/

.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.equip {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-weight: 700;
    font-size: var(--fs-sm);
    color: var(--navy-900);
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.equip:hover { border-color: var(--orange-400); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.equip svg { width: 22px; height: 22px; color: var(--orange-600); flex-shrink: 0; }

/* Floating photo preview next to the cursor when hovering an equipment name */
.equip-preview {
    position: fixed;
    width: 270px;
    height: 180px;
    border-radius: var(--r);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .55);
    background: var(--navy-900);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px) scale(.97);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 2500;
}
.equip-preview.show { opacity: 1; transform: translateY(0) scale(1); }
.equip-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) {
    .equip-preview { transition: none; }
}

/*==================================================
TESTIMONIALS
==================================================*/

.quote-card { display: flex; flex-direction: column; height: 100%; }
.quote-stars { display: flex; gap: 3px; margin-bottom: 18px; color: var(--orange-600); }
.quote-stars svg { width: 17px; height: 17px; }
.quote-card blockquote { font-size: var(--fs-sm); color: var(--gray-600); line-height: 1.65; flex: 1; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.quote-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--gray-100);
    display: grid; place-items: center;
    font-weight: 800; color: var(--gray-600); font-size: var(--fs-sm);
    flex-shrink: 0;
}
.quote-author cite { font-style: normal; font-weight: 700; font-size: var(--fs-sm); color: var(--navy-900); display: block; }
/* Scoped to the role line specifically. A bare `.quote-author span` also
   matched .quote-avatar and overrode its colour on specificity. */
.quote-role { font-size: var(--fs-xs); color: var(--text-muted); }

/*==================================================
PRICING / VALUE PANEL
==================================================*/

.panel {
    border-radius: var(--r-xl);
    padding: clamp(36px, 5vw, 64px);
    border: 1px solid var(--border);
    background: #fff;
}

.panel-dark {
    background:
        radial-gradient(700px 340px at 84% 6%, rgba(249, 115, 22, .17), transparent 60%),
        linear-gradient(150deg, var(--navy-800), var(--navy-950));
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
}
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark p { color: rgba(255, 255, 255, .74); }

/*==================================================
FAQ
==================================================*/

.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.active { border-color: var(--orange-400); box-shadow: var(--shadow-sm); }

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.4;
    letter-spacing: -.01em;
}
.faq-q:hover { color: var(--orange-600); }

.faq-icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--navy-900);
    display: grid; place-items: center;
    transition: transform var(--t), background var(--t), color var(--t);
}
.faq-icon svg { width: 16px; height: 16px; }
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--orange-600); color: #fff; }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; }
.faq-a p { font-size: var(--fs-sm); line-height: 1.7; }
.faq-a p + p { margin-top: 12px; }

/*==================================================
CTA BAND
==================================================*/

.cta-band {
    border-radius: var(--r-xl);
    padding: clamp(40px, 5.5vw, 72px);
    background:
        radial-gradient(680px 330px at 86% 4%, rgba(249, 115, 22, .2), transparent 60%),
        linear-gradient(150deg, var(--navy-800), var(--navy-950));
    color: #fff;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: center;
}
.cta-band h2 { color: #fff; margin: 18px 0 14px; }
.cta-band p { color: rgba(255, 255, 255, .76); font-size: var(--fs-lead); }
.cta-band-actions { display: flex; flex-direction: column; gap: 13px; align-items: stretch; }
.cta-band-actions .btn { width: 100%; }
.cta-band-note { font-size: var(--fs-xs); color: rgba(255, 255, 255, .72); text-align: center; }

/*==================================================
FORMS
==================================================*/

.form-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); }
.req { color: var(--orange-600); }

input, textarea, select {
    width: 100%;
    padding: 13px 15px;
    font-size: var(--fs-sm);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: #fff;
    transition: border-color var(--t), box-shadow var(--t);
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--orange-600);
    box-shadow: 0 0 0 4px rgba(194, 65, 12, .13);
}
textarea { resize: vertical; min-height: 132px; }

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 17px;
    padding-right: 42px;
}

.help-text { font-size: var(--fs-xs); color: var(--text-muted); }
.field-error { font-size: var(--fs-xs); font-weight: 600; color: var(--error-600); }
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select { border-color: var(--error-600); background: var(--error-50); }

.form-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/*==================================================
ALERTS
==================================================*/

.alert {
    display: flex; align-items: flex-start; gap: 12px;
    border-radius: var(--r);
    padding: 15px 19px;
    font-size: var(--fs-sm);
    font-weight: 600;
    border: 1px solid;
    margin-bottom: 20px;
}
.alert svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--success-50); color: var(--success-600); border-color: #A7F3D0; }
.alert-error   { background: var(--error-50);   color: var(--error-600);   border-color: #FECACA; }
.alert-info    { background: var(--orange-50);  color: var(--orange-600);  border-color: #FED7AA; }

/*==================================================
LONG-FORM / LEGAL
==================================================*/

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 46px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin-bottom: 15px; font-size: var(--fs-sm); line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose li { color: var(--text-muted); margin-bottom: 9px; font-size: var(--fs-sm); }
.prose a { color: var(--orange-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy-900); }

.notice {
    display: flex; gap: 13px;
    background: var(--orange-50);
    border: 1px solid #FED7AA;
    border-radius: var(--r);
    padding: 18px 22px;
    margin-bottom: 36px;
}
.notice svg { width: 20px; height: 20px; color: var(--orange-600); flex-shrink: 0; margin-top: 2px; }
.notice p { margin: 0; color: var(--navy-800); font-size: var(--fs-sm); }

/*==================================================
FOOTER
==================================================*/

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .68); padding-block: clamp(56px, 7vw, 88px) 32px; }

.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }

.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-name { color: #fff; }
/* The deep orange used on white is too dark against the near-black footer —
   step up to the lighter shade so the wordmark stays legible. */
.footer-brand .brand-sub { color: var(--orange-400); }
.footer-brand p { color: rgba(255, 255, 255, .6); font-size: var(--fs-sm); max-width: 330px; }

.footer-contact { display: grid; gap: 11px; margin-top: 24px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }
.footer-contact svg { width: 16px; height: 16px; color: var(--orange-400); flex-shrink: 0; }
.footer-contact a:hover { color: var(--orange-400); }

.site-footer h3 { color: #fff; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer nav ul { display: grid; gap: 11px; }
.site-footer nav a { font-size: var(--fs-sm); color: rgba(255, 255, 255, .62); transition: color var(--t); }
.site-footer nav a:hover { color: var(--orange-400); }
.site-footer li { font-size: var(--fs-sm); color: rgba(255, 255, 255, .62); }

.footer-divider { margin: 46px 0 26px; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; font-size: var(--fs-xs); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--orange-400); }

.footer-disclaimer {
    margin-top: 22px;
    font-size: .74rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .5);
    max-width: 940px;
}

/*==================================================
REVEAL
==================================================*/

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.show { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero .visual { max-width: 560px; }
    .hero .lead { max-width: none; }
    .float-tr, .float-bl { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .equip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .nav-toggle { display: grid; }

    .nav-wrap {
        position: fixed;
        inset: 74px 0 auto 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height .34s var(--ease);
    }
        .nav-wrap.open { max-height: calc(100vh - 74px); overflow-y: auto; }

    .nav { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
    .nav > li > a { padding: 15px 8px; border-bottom: 1px solid var(--gray-100); border-radius: 0; font-size: 1rem; }
    .nav > li > a[aria-current="page"] { background: none; }
    .nav-cta { display: grid; padding: 20px 20px 26px; gap: 12px; border-top: 1px solid var(--border); }
    .nav-cta .btn { width: 100%; }

    .header-actions .header-phone,
    .header-actions .btn { display: none; }

    .grid-3, .grid-4, .split, .steps, .steps-4 { grid-template-columns: 1fr; }
    .steps-connected .step::after { display: none; }
    .feature-row:nth-child(even) .visual { order: 0; }
    .stat-band { grid-template-columns: repeat(2, 1fr); }
    .cta-band { grid-template-columns: 1fr; text-align: center; }
    .cta-band .eyebrow { margin-inline: auto; }
    .form-grid { grid-template-columns: 1fr; }
    .equip-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar .container { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
    .grid-2 { grid-template-columns: 1fr; }
    .container, .container-narrow { width: min(100% - 32px, var(--container)); }
    .card { padding: 26px; }
    .btn { width: 100%; }
    .btn-group { flex-direction: column; }
    .header-actions .nav-toggle { width: 44px; }
    .topbar-right { gap: 16px; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .trust-row { gap: 16px; }
}

@media (max-width: 420px) {
    .stat-band { grid-template-columns: 1fr; }
    .equip-grid { grid-template-columns: 1fr; }
}

/*==================================================
PRINT
==================================================*/

@media print {
    .topbar, .site-header, .cta-band, .btn, .visual, .site-footer nav { display: none !important; }
    .reveal { opacity: 1; transform: none; }
    body { color: #000; }
}


/*==================================================
PHOTO HERO — illustrated scene behind the heading
   One scene per page, set with --hero-img inline.
   Two veils: a horizontal one that keeps the text
   side dark while the open road stays visible, and
   a vertical one that seats the road at the bottom.
   Checked to hold white text at WCAG AA on every
   scene, from the night highway to the overcast one.
==================================================*/

.hero-photo {
    background-color: var(--navy-950);
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    isolation: isolate;
}

.hero-bg-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.3s ease;
}
.hero-bg-slide.is-active { opacity: 1; }

/* Home and contact: copy sits left, so darken the left hard
   and let the trucks and road stay visible on the right, where
   the white mock board and floating cards sit. */
.hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(4, 16, 28, .95) 0%,
            rgba(4, 16, 28, .90) 40%,
            rgba(4, 16, 28, .66) 70%,
            rgba(4, 16, 28, .42) 100%),
        linear-gradient(180deg,
            rgba(4, 16, 28, .46) 0%,
            rgba(4, 16, 28, .32) 44%,
            rgba(4, 16, 28, .58) 100%);
}

/* Interior pages centre their copy, so the veil has to be even. */
.hero-slim.hero-photo::before {
    background:
        linear-gradient(180deg,
            rgba(4, 16, 28, .88) 0%,
            rgba(4, 16, 28, .80) 52%,
            rgba(4, 16, 28, .62) 100%);
}
.hero-slim.hero-photo { background-position: center 82%; }
.hero-slim .hero-bg-slide { background-position: center 82%; }

.hero-photo > .container { position: relative; z-index: 2; }

.hero-photo .eyebrow           { color: var(--orange-400); }
.hero-photo h1,
.hero-photo .display           { color: var(--white); }
.hero-photo .lead              { color: var(--gray-300); }
.hero-photo .hl-underline      { color: var(--orange-400); }

.hero-photo .btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .36);
}
.hero-photo .btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .52);
}

.hero-photo .trust-row         { border-top-color: rgba(255, 255, 255, .18); }
.hero-photo .trust-item strong { color: var(--white); }
.hero-photo .trust-item span   { color: var(--gray-400); }
.hero-photo .trust-item svg    { color: var(--orange-400); }

/* Give the interior heroes room so the road shows under the buttons. */
.hero-slim.hero-photo { padding-block: clamp(52px, 6.5vw, 84px) clamp(140px, 15vw, 215px); }

/* Phones: the scene is much narrower, so favour the rig over the sky. */
@media (max-width: 720px) {
    .hero-photo { background-position: 64% 74%; }
    .hero-bg-slide { background-position: 64% 74%; }
    .hero-photo::before {
        background: linear-gradient(180deg,
            rgba(4, 16, 28, .90) 0%,
            rgba(4, 16, 28, .82) 54%,
            rgba(4, 16, 28, .70) 100%);
    }
}
