/* FreightRoutePro — styles. Brand colors below are defaults; the Admin dashboard (Colors tab) overrides them. */
:root {
  --amber: #FFB21A;
  --amber-hover: #FFC34D;
  --asphalt: #0B0C0E;
  --cab: #14161A;
  --chalk: #F2F0EA;
  --muted: #A9A7A0;
  --soft: #C9C7C0;
  --green: #3DDC84;
  --line: rgba(255,255,255,.12);
  --pad-x: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--asphalt); color: var(--chalk); font-family: 'Archivo', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: #FFD27A; }
::selection { background: var(--amber); color: var(--asphalt); }
input, select, button { font-family: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; width: 100%; }
.mono { font-family: var(--mono); }
.accent { color: var(--amber); }

/* Background video */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(120% 80% at 70% 30%, #2A2418 0%, var(--asphalt) 60%); }
.bg-video { position: absolute; inset: 0; will-change: transform; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.bg-shade { position: absolute; inset: 0; background: var(--asphalt); opacity: .45; }
.bg-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,.6) 0%, rgba(11,12,14,0) 30%, rgba(11,12,14,0) 60%, rgba(11,12,14,.95) 100%); }
.bg-lines { position: absolute; inset: 0; opacity: .07; background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 4px); }
main { position: relative; z-index: 1; }

/* Nav */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px var(--pad-x); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 10px 12px 10px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(11,12,14,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s; }
.nav.scrolled { background: rgba(11,12,14,.85); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--chalk); }
.logo:hover { color: var(--chalk); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 900; font-stretch: 125%; font-size: 17px; letter-spacing: .02em; }
.logo-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .32em; color: var(--amber); margin-top: 3px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--soft); white-space: nowrap; }
.nav-links a:hover { color: var(--amber); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-family: var(--mono); font-size: 13px; color: var(--soft); white-space: nowrap; }
@media (max-width: 1100px) { .nav-phone { display: none; } }
@media (max-width: 900px) { .nav-links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 26px; border-radius: 12px; background: var(--amber); color: var(--asphalt); font-weight: 800; font-size: 16px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s; }
.btn:hover { background: var(--amber-hover); color: var(--asphalt); transform: translateY(-1px); }
.btn-sm { padding: 11px 18px; border-radius: 10px; font-size: 14px; }
.btn-ghost { background: rgba(11,12,14,.35); border: 1px solid rgba(255,255,255,.25); color: var(--chalk); font-weight: 600; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(11,12,14,.35); border-color: var(--amber); color: var(--amber); }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--amber); }
.h2 { margin: 16px 0 0; font-weight: 900; font-stretch: 115%; font-size: clamp(38px, 5.6vw, 80px); line-height: .92; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.lead { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: end; margin-bottom: 56px; }

/* Sections */
.section { padding: clamp(80px, 12vw, 160px) var(--pad-x); }
.solid { background: var(--asphalt); }
.pt0 { padding-top: 0; }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad-x) 56px; }
.hero-inner { will-change: transform, opacity; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border-radius: 999px; border: 1px solid rgba(255,178,26,.35); background: rgba(11,12,14,.5); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,132,.18); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero h1 { margin: 22px 0 0; font-weight: 900; font-stretch: 118%; font-size: clamp(46px, 9.2vw, 148px); line-height: .88; letter-spacing: -.02em; text-transform: uppercase; }
.hero h1 span.line { display: block; }
.hero-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; align-items: end; margin-top: 36px; }
.hero-text { margin: 0; max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #D8D6CF; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { white-space: normal; text-align: center; }
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.stat { padding: 20px 20px 0 0; }
.stat-num { font-weight: 800; font-stretch: 112%; font-size: clamp(28px, 3vw, 40px); }
.stat-label { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-top: 4px; }

/* Marquee */
.marquee { overflow: hidden; background: var(--amber); color: var(--asphalt); border-block: 1px solid var(--asphalt); transform: rotate(-1.2deg); margin: 0 -20px -12px; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; padding: 16px 0; font-weight: 900; font-stretch: 120%; font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; white-space: nowrap; animation: marquee 28s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-track span::after { content: "◆"; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* How it works */
.route { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 18px, transparent 18px 32px); }
.route-fill { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--amber); }
.route-truck { position: absolute; top: -17px; left: 0; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 10px; background: var(--amber); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(255,178,26,.15); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-top: 40px; }
.card { padding: 28px 24px 32px; border-radius: 16px; background: var(--cab); border: 1px solid rgba(255,255,255,.07); transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(255,178,26,.5); transform: translateY(-4px); }
.card h3 { margin: 18px 0 10px; font-weight: 800; font-stretch: 110%; font-size: 24px; letter-spacing: -.01em; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* Quote */
.quote { min-height: 90vh; display: flex; align-items: center; padding: 120px var(--pad-x); }
.quote p { margin: 0; max-width: 1100px; font-weight: 800; font-stretch: 112%; font-size: clamp(32px, 5vw, 72px); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 10px 14px; border-radius: 999px; background: rgba(11,12,14,.6); border: 1px solid rgba(255,255,255,.15); font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; }

/* Services */
.trucks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.truck { display: flex; flex-direction: column; border-radius: 18px; background: var(--cab); border: 1px solid rgba(255,255,255,.07); overflow: hidden; transition: border-color .25s, transform .25s; }
.truck:hover { border-color: rgba(255,178,26,.55); transform: translateY(-4px); }
.truck-art { position: relative; padding: 22px 18px 10px; background: radial-gradient(90% 70% at 50% 100%, rgba(255,178,26,.10), transparent 70%); }
.truck-code { position: absolute; top: 16px; left: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--muted); }
.truck-art svg { width: 100%; height: auto; display: block; margin-top: 14px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.truck:hover .truck-art svg { transform: translateX(8px); }
.truck-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 24px; flex: 1; }
.truck-name { font-weight: 900; font-stretch: 118%; font-size: 26px; text-transform: uppercase; }
.truck-body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; flex: 1; }
.truck-rate { font-family: var(--mono); font-size: 12.5px; color: var(--amber); letter-spacing: .06em; }

/* Board */
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; }
.board-grid .h2 { font-size: clamp(38px, 4.6vw, 68px); margin-bottom: 20px; }
.board-grid .lead { margin-bottom: 28px; }
.bullets { display: flex; flex-direction: column; gap: 14px; }
.bullet { display: flex; gap: 14px; align-items: center; font-size: 16px; }
.check { width: 26px; height: 26px; border-radius: 7px; background: rgba(255,178,26,.14); color: var(--amber); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }
.panel { border-radius: 20px; background: var(--cab); border: 1px solid rgba(255,255,255,.08); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.panel-head, .panel-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-family: var(--mono); font-size: 12px; }
.panel-head { border-bottom: 1px solid rgba(255,255,255,.08); letter-spacing: .1em; }
.panel-head > div { display: flex; align-items: center; gap: 10px; }
.panel-foot { color: var(--muted); }
.panel-foot b { color: var(--chalk); }
.load { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,.8fr) minmax(0,.9fr); gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.06); transition: background .5s; }
.load.active { background: rgba(255,178,26,.09); }
.load-route { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.load-meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.load-rate { font-family: var(--mono); font-size: 14px; font-weight: 700; }
.load-rpm { font-size: 11.5px; color: var(--amber); margin-top: 4px; font-weight: 400; }
.chip { justify-self: end; padding: 7px 11px; border-radius: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; background: rgba(255,255,255,.07); color: var(--soft); transition: all .4s; }
.load.active .chip { background: var(--amber); color: var(--asphalt); }
.load.done .chip { background: rgba(61,220,132,.14); color: var(--green); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 18px; background: var(--cab); border: 1px solid rgba(255,255,255,.08); }
.plan-name { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.plan-price { margin: 18px 0 6px; font-weight: 900; font-stretch: 118%; font-size: 72px; line-height: 1; }
.plan-price small { font-size: 36px; }
.plan-sub { color: var(--muted); font-size: 15px; }
.plan hr { border: 0; height: 1px; background: rgba(255,255,255,.1); margin: 26px 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; flex: 1; }
.plan li::before { content: "— "; }
.plan-cta { margin-top: 28px; text-align: center; padding: 15px; border-radius: 11px; border: 1px solid rgba(255,255,255,.25); color: var(--chalk); font-weight: 700; }
.plan-cta:hover { border-color: var(--amber); color: var(--amber); }
.plan.featured { background: var(--amber); color: var(--asphalt); border: 0; }
.plan.featured .plan-name, .plan.featured .plan-sub { color: var(--asphalt); }
.plan.featured .plan-sub { opacity: .8; }
.plan.featured hr { background: rgba(11,12,14,.2); }
.plan.featured ul { font-weight: 500; }
.plan.featured .plan-cta { background: var(--asphalt); color: var(--amber); border: 0; font-weight: 800; }
.plan.featured .plan-cta:hover { background: #1E2126; }
.plan-badge { position: absolute; top: 22px; right: 22px; padding: 6px 10px; border-radius: 7px; background: var(--asphalt); color: var(--amber); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; }

/* Signup */
.signup { min-height: 100vh; display: flex; align-items: center; padding: 120px var(--pad-x); }
.signup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.signup h2 { margin: 0; font-weight: 900; font-stretch: 118%; font-size: clamp(46px, 7.4vw, 118px); line-height: .88; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.form-box { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: rgba(11,12,14,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.field { padding: 16px; border-radius: 11px; border: 1px solid rgba(255,255,255,.14); background: var(--cab); color: var(--chalk); font-size: 16px; outline: none; width: 100%; }
.field:focus { border-color: var(--amber); }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.success { padding: 24px 0; text-align: center; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px; background: var(--amber); color: var(--asphalt); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 900; }
.success-title { font-weight: 900; font-stretch: 115%; font-size: 30px; text-transform: uppercase; }
.success p { margin: 12px 0 0; color: var(--soft); font-size: 16px; }

/* Footer */
.footer { background: var(--asphalt); padding: 72px var(--pad-x) 32px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14.5px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--chalk); }
.footer-col a:hover { color: var(--amber); }
.footer-col-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--muted); }
.footer-giant { margin-top: 64px; font-weight: 900; font-stretch: 125%; font-size: clamp(40px, 10.5vw, 176px); line-height: 1; padding-bottom: .08em; letter-spacing: -.03em; color: var(--cab); white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s; }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track, .dot { animation: none; }
}

/* Footer legal links */
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--amber); }
.form-legal { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.form-legal a { color: var(--soft); text-decoration: underline; }

/* Legal pages (Privacy / Terms) */
body[data-page="privacy"] .bg, body[data-page="terms"] .bg { background: var(--asphalt); }
.legal { padding: clamp(130px, 16vw, 180px) var(--pad-x) clamp(64px, 8vw, 110px); background: var(--asphalt); }
.legal-inner { max-width: 820px; margin: 0 auto; }
.legal-back { display: inline-block; margin-bottom: 28px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal-back:hover { color: var(--amber); }
.legal .h2 { font-size: clamp(38px, 6vw, 72px); }
.legal-updated { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; color: var(--muted); }
.legal-intro { margin-top: 36px; font-size: 18px; line-height: 1.65; color: var(--soft); }
.legal-section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 14px; font-weight: 800; font-stretch: 110%; font-size: 22px; letter-spacing: -.01em; }
.legal-section p, .legal-intro p { margin: 0 0 14px; line-height: 1.7; text-wrap: pretty; }
.legal-section p { font-size: 16px; color: var(--muted); }
.legal-other { margin-top: 56px; padding: 20px 22px; border-radius: 12px; background: var(--cab); border: 1px solid rgba(255,255,255,.07); color: var(--muted); font-size: 15px; }
