:root {
    --navy-900: #0b1220;
    --navy-800: #111a2e;
    --navy-700: #18233d;
    --navy-600: #1f2d4d;
    --navy-100: #e6ebf5;
    --ink: #0b1220;
    --muted: #5a6478;
    --line: #e3e7ee;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --accent: #ff7a1a;
    --accent-600: #e96a0c;
    --accent-soft: #fff1e3;
    --success: #16a34a;
    --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 1px rgba(11, 18, 32, .04);
    --shadow-md: 0 6px 16px rgba(11, 18, 32, .08), 0 2px 4px rgba(11, 18, 32, .04);
    --shadow-lg: 0 24px 48px -12px rgba(11, 18, 32, .25);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

p { margin: 0 0 1em; color: var(--muted); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    margin-bottom: .75rem;
}

.accent { color: var(--accent); }
.is-hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.2rem;
    font-weight: 600;
    font-size: .95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 14px rgba(255, 122, 26, .35);
}
.btn-primary:hover { background: var(--accent-600); box-shadow: 0 10px 20px rgba(255, 122, 26, .45); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 18, 32, .85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: background .25s ease;
}
.site-header.is-scrolled { background: rgba(11, 18, 32, .96); }

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: -.02em;
}
.brand-mark { width: 32px; height: 32px; color: var(--accent); }
.brand-name { font-size: 1.15rem; }
.brand-name span { color: var(--accent); }

.primary-nav { flex: 1; }
.primary-nav ul {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.primary-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .82);
    transition: color .15s ease;
}
.primary-nav a:hover { color: #fff; }

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.signin-link {
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    font-size: .95rem;
    transition: color .15s ease;
}
.signin-link:hover { color: #fff; }

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    padding: 5rem 0 6rem;
    background: var(--navy-900);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 122, 26, .25), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(45, 92, 184, .35), transparent 55%),
        linear-gradient(180deg, #0b1220 0%, #111a2e 100%);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 30% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 30%, transparent 75%);
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
    align-items: center;
}
.hero-copy h1 { color: #fff; }
.hero-copy .lede {
    color: rgba(255, 255, 255, .82);
    font-size: 1.1rem;
    max-width: 56ch;
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 2.25rem;
}
.hero-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: rgba(255, 255, 255, .9);
    font-size: .92rem;
}
.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.hero-trust svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    background: rgba(255, 122, 26, .15);
    border-radius: 999px;
    padding: 2px;
}

/* ---------- Auth Card ---------- */
.auth-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.auth-card h2 {
    font-size: 1.4rem;
    margin-bottom: .25rem;
}
.auth-sub {
    margin-bottom: 1.25rem;
    color: var(--muted);
    font-size: .95rem;
}
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: var(--bg-soft);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}
.auth-tab {
    background: transparent;
    border: 0;
    padding: .65rem 1rem;
    font: inherit;
    font-weight: 600;
    font-size: .9rem;
    color: var(--muted);
    border-radius: 7px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.auth-tab.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.auth-form label {
    display: block;
    margin-bottom: .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
}
.auth-form span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .35rem;
}
.auth-form span em {
    font-style: normal;
    font-weight: 500;
    color: var(--muted);
    font-size: .8rem;
}
.auth-form input,
.auth-form select {
    width: 100%;
    padding: .7rem .8rem;
    font: inherit;
    font-weight: 500;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, .18);
}
.forgot-link {
    color: var(--accent);
    font-weight: 600;
    font-size: .8rem;
}
.forgot-link:hover { text-decoration: underline; }
.form-note {
    margin: .75rem 0 0;
    text-align: center;
    font-size: .8rem;
    color: var(--muted);
}
.form-note a {
    color: var(--accent);
    font-weight: 600;
}
.form-note a:hover { text-decoration: underline; }

/* ---------- Stats ---------- */
.stats {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 2.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-num {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: .35rem;
}
.stat-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
}

/* ---------- Sections ---------- */
.loadboard, .process { padding: 6rem 0; }
.why { padding: 6rem 0; background: var(--bg-soft); }

.section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* ---------- Load Board ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: .9rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.filter-chip {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: .55rem .85rem;
    font-size: .82rem;
    line-height: 1.2;
}
.filter-label {
    display: block;
    color: var(--muted);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    margin-bottom: 2px;
}
.filter-chip strong {
    color: var(--ink);
    font-weight: 700;
    font-size: .9rem;
}
.filter-chip strong em {
    font-style: normal;
    color: var(--muted);
    font-weight: 500;
    font-size: .8rem;
    margin-left: 4px;
}
.filter-arrow {
    color: var(--muted);
    font-size: 1.2rem;
}
.filter-result {
    margin-left: auto;
    background: var(--accent-soft);
    border-color: rgba(255, 122, 26, .3);
}
.filter-result strong { color: var(--accent-600); }

.load-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.load-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.load-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 122, 26, .3);
}
.load-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    font-size: .78rem;
}
.load-id {
    font-family: ui-monospace, SFMono-Regular, monospace;
    color: var(--muted);
    font-weight: 600;
}
.load-equip {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--ink);
}
.equip-reefer { background: #e0f2fe; border-color: #bae6fd; color: #0369a1; }
.equip-van { background: #ede9fe; border-color: #ddd6fe; color: #6d28d9; }
.equip-flat { background: #fef3c7; border-color: #fde68a; color: #b45309; }
.load-posted {
    margin-left: auto;
    color: var(--muted);
    font-weight: 500;
}
.load-posted.hot {
    color: var(--accent);
    font-weight: 700;
}
.load-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: .75rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px dashed var(--line);
    border-bottom: 1px dashed var(--line);
    margin-bottom: 1rem;
}
.lane-city {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 2px;
}
.lane-meta {
    font-size: .78rem;
    color: var(--muted);
}
.lane-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--muted);
    gap: 4px;
}
.lane-miles {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 700;
}
.lane-arrow svg { width: 36px; }
.load-foot {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.load-detail {
    font-size: .8rem;
}
.load-detail span {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .68rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.load-detail strong {
    color: var(--ink);
    font-weight: 700;
    font-size: .92rem;
}
.load-rate {
    margin-left: auto;
    text-align: right;
}
.rate-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
    line-height: 1;
}
.rate-perm {
    font-size: .78rem;
    color: var(--muted);
    margin-top: 2px;
}

.unlock-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #111a2e, #0b1220);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    flex-wrap: wrap;
}
.unlock-cta strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.unlock-cta span {
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
}

/* ---------- Why ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.feature-list li {
    position: relative;
    padding: 1rem 0 1rem 2.25rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='m9 16.2-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/14px no-repeat;
}
.feature-list strong {
    display: block;
    color: var(--ink);
    margin-bottom: .15rem;
    font-weight: 700;
}

/* Match feed card */
.why-visual {
    display: grid;
    place-items: center;
}
.match-feed {
    width: 100%;
    max-width: 460px;
    background:
        radial-gradient(ellipse at 80% -10%, rgba(255, 122, 26, .15), transparent 50%),
        linear-gradient(180deg, #111a2e 0%, #0b1220 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .06);
}
.match-feed-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .85rem;
    color: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: .9rem;
    margin-bottom: 1rem;
}
.match-feed-loc {
    margin-left: auto;
    color: rgba(255, 255, 255, .55);
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: .78rem;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255, 122, 26, .6);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 122, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}
.match-feed-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.match-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .85rem .75rem;
    border-radius: var(--radius-md);
    transition: background .2s ease;
}
.match-item:hover { background: rgba(255, 255, 255, .04); }
.match-item-new {
    background: rgba(255, 122, 26, .1);
    border: 1px solid rgba(255, 122, 26, .25);
    animation: matchIn .6s ease;
}
@keyframes matchIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.match-item-faded { opacity: .55; }
.match-marker {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    flex-shrink: 0;
}
.match-item:not(.match-item-new) .match-marker { background: rgba(255, 255, 255, .35); }
.match-content { flex: 1; min-width: 0; }
.match-title {
    font-weight: 700;
    font-size: .92rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match-meta {
    font-size: .77rem;
    color: rgba(255, 255, 255, .6);
}
.match-rate {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, monospace;
}
.match-item-new .match-rate { color: var(--accent); }

/* ---------- Process / Steps ---------- */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    counter-reset: step;
}
.steps li {
    position: relative;
    padding: 2rem 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.step-num {
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-weight: 700;
    color: var(--accent);
    font-size: .9rem;
    margin-bottom: .75rem;
    letter-spacing: .05em;
}
.steps h3 { margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- CTA ---------- */
.cta {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255, 122, 26, .25), transparent 50%),
        linear-gradient(135deg, #111a2e, #0b1220);
    color: #fff;
    padding: 4rem 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .25rem; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .7);
    padding: 4rem 0 1.5rem;
    font-size: .92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer-brand p { color: rgba(255, 255, 255, .6); max-width: 38ch; margin-top: .75rem; }
.site-footer h4 { color: rgba(255, 255, 255, .9); margin-bottom: 1rem; }
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.site-footer a:hover { color: var(--accent); }
.contact-list li { color: rgba(255, 255, 255, .6); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, .5);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .load-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .header-cta .btn { display: none; }
    .signin-link { display: none; }
    .primary-nav {
        position: absolute;
        inset: 72px 0 auto 0;
        background: var(--navy-900);
        padding: 1rem 24px;
        display: none;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { flex-direction: column; gap: 0; }
    .primary-nav a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .menu-toggle { display: block; }

    .hero { padding: 3.5rem 0 4rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .loadboard, .why, .process { padding: 4rem 0; }

    .load-route { grid-template-columns: 1fr; gap: .5rem; text-align: left; }
    .lane-arrow { flex-direction: row; justify-content: flex-start; }
    .lane-arrow svg { transform: rotate(90deg); width: 20px; }

    .filter-bar { padding: .75rem; gap: .4rem; }
    .filter-chip { padding: .45rem .65rem; }
    .filter-chip strong { font-size: .82rem; }
    .filter-result { margin-left: 0; width: 100%; text-align: center; }
    .unlock-cta { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .unlock-cta strong { font-size: 1rem; }
    .unlock-cta span { font-size: .85rem; }

    .auth-card { padding: 1.5rem; }
    .auth-card h2 { font-size: 1.25rem; }
    .auth-form input,
    .auth-form select { font-size: 16px; }
    .hero-trust { gap: .65rem; font-size: .85rem; }
    .hero-actions .btn { flex: 1; min-width: 140px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 2.5rem 0 3rem; }
    .hero-copy h1 { font-size: 2rem; line-height: 1.1; }
    .hero-copy .lede { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero-actions { gap: .5rem; }
    .stat-num { font-size: 1.5rem; }
    .stat-label { font-size: .75rem; }
    .section-head { margin-bottom: 2rem; }
    .section-head p { font-size: .95rem; }
    .feature-list li { padding: .85rem 0 .85rem 2rem; }
    .feature-list li::before { top: 1rem; }
    .cta { padding: 2.5rem 0; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; }
    .footer-grid { gap: 1.5rem; padding-bottom: 2rem; }
    .site-footer { padding: 3rem 0 1rem; font-size: .88rem; }
    .match-feed { padding: 1.25rem; }
    .match-item { padding: .65rem .5rem; gap: .65rem; }
    .match-title { font-size: .88rem; }
    .match-meta { font-size: .74rem; }
    .match-rate { font-size: .92rem; }
    .steps li { padding: 1.5rem 1.25rem; }
    .card { padding: 1.5rem; }
}

/* ============================================
   Theme toggle button
   ============================================ */
.theme-toggle {
    background: transparent;
    border: 0;
    color: inherit;
    padding: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: background .15s ease, color .15s ease;
    flex-shrink: 0;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.site-header .theme-toggle { color: rgba(255, 255, 255, .85); }
.site-header .theme-toggle:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ============================================
   Form error (shared signup/login)
   ============================================ */
.form-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    padding: .55rem .85rem;
    font-size: .85rem;
    text-align: center;
    margin: .75rem 0 0;
}
[data-theme="dark"] .form-error {
    background: rgba(220, 38, 38, .12);
    border-color: rgba(220, 38, 38, .3);
    color: #fca5a5;
}

/* ============================================
   Dark mode — landing page
   ============================================ */
[data-theme="dark"] {
    --ink: #e6ebf5;
    --muted: #8a96ad;
    --line: rgba(255, 255, 255, .07);
    --bg-soft: #0b1220;
    --accent-soft: rgba(255, 122, 26, .12);
}

[data-theme="dark"] body {
    background: #0b1220;
    color: var(--ink);
}

[data-theme="dark"] .hero-bg {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 122, 26, .22), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(45, 92, 184, .25), transparent 55%),
        linear-gradient(180deg, #060a14 0%, #0b1220 100%);
}

[data-theme="dark"] .stats {
    background: #0e1626;
    border-bottom-color: rgba(255, 255, 255, .06);
}
[data-theme="dark"] .stat-num { color: var(--ink); }

[data-theme="dark"] .why { background: #0e1626; }
[data-theme="dark"] .feature-list li {
    border-bottom-color: rgba(255, 255, 255, .06);
    color: var(--muted);
}
[data-theme="dark"] .feature-list strong { color: var(--ink); }

[data-theme="dark"] .steps li {
    background: #111a2e;
    border-color: rgba(255, 255, 255, .06);
}
[data-theme="dark"] .steps h3 { color: var(--ink); }

[data-theme="dark"] .card {
    background: #111a2e;
    border-color: rgba(255, 255, 255, .06);
    color: var(--ink);
}
[data-theme="dark"] .card p { color: var(--muted); }

[data-theme="dark"] .auth-card {
    background: #111a2e;
    border-color: rgba(255, 255, 255, .06);
}
[data-theme="dark"] .auth-card h2,
[data-theme="dark"] .auth-form label { color: var(--ink); }
[data-theme="dark"] .auth-form input,
[data-theme="dark"] .auth-form select {
    background: #0b1220;
    border-color: rgba(255, 255, 255, .1);
    color: var(--ink);
}
[data-theme="dark"] .auth-form input::placeholder { color: var(--muted); }
[data-theme="dark"] .auth-tabs { background: #0b1220; }
[data-theme="dark"] .auth-tab.is-active {
    background: #18233d;
    color: var(--ink);
}

[data-theme="dark"] .filter-bar {
    background: #111a2e;
    border-color: rgba(255, 255, 255, .06);
}
[data-theme="dark"] .filter-chip {
    background: #0b1220;
    border-color: rgba(255, 255, 255, .08);
}
[data-theme="dark"] .filter-chip strong { color: var(--ink); }

[data-theme="dark"] .load-card {
    background: #111a2e;
    border-color: rgba(255, 255, 255, .06);
}
[data-theme="dark"] .lane-city,
[data-theme="dark"] .rate-amount,
[data-theme="dark"] .load-detail strong { color: var(--ink); }
[data-theme="dark"] .load-route {
    border-top-color: rgba(255,255,255,.08);
    border-bottom-color: rgba(255,255,255,.08);
}

[data-theme="dark"] .equip-reefer { background: rgba(125, 211, 252, .12); border-color: rgba(125, 211, 252, .25); color: #7dd3fc; }
[data-theme="dark"] .equip-van { background: rgba(196, 181, 253, .12); border-color: rgba(196, 181, 253, .25); color: #c4b5fd; }
[data-theme="dark"] .equip-flat { background: rgba(252, 211, 77, .12); border-color: rgba(252, 211, 77, .25); color: #fcd34d; }

[data-theme="dark"] .match-feed {
    background:
        radial-gradient(ellipse at 80% -10%, rgba(255, 122, 26, .15), transparent 50%),
        linear-gradient(180deg, #18233d 0%, #111a2e 100%);
    border-color: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .site-header {
    background: rgba(11, 18, 32, .92);
    border-bottom-color: rgba(255, 255, 255, .04);
}
[data-theme="dark"] .site-header.is-scrolled {
    background: rgba(11, 18, 32, .98);
}

[data-theme="dark"] .cta {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255, 122, 26, .22), transparent 50%),
        linear-gradient(135deg, #18233d, #111a2e);
}

[data-theme="dark"] .site-footer { background: #060a14; }
