/* ── LoadX marketing site ───────────────────────────────────── */
:root {
  --navy: #121f2b;
  --navy-2: #18293a;
  --steel: #41708f;
  --steel-bright: #6f9fc4;
  --accent: #c98a3d;
  --teal: #3a8d80;
  --amber: #d99a3d;
  --paper: #f3f5f7;
  --card: #ffffff;
  --ink: #1c2b38;
  --ink-soft: #51626f;
  --line: #dde4e9;
  --radius: 14px;
  --font-head: "Barlow", "Helvetica Neue", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* mono kicker labels */
.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; margin: 14px 0 16px; }
.section-sub { color: var(--ink-soft); max-width: 560px; font-size: 18px; text-wrap: pretty; }

section { padding: 104px 0; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex; align-items: center; gap: 36px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand b {
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
  letter-spacing: 0.06em; color: #fff;
}
.brand b span { color: var(--steel-bright); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: #b9c7d2; font-size: 15px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  padding: 12px 24px; border-radius: 10px; cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-ghost { border-color: rgba(255,255,255,0.25); color: #e7eef4; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--steel); color: var(--steel); }
.btn-outline:hover { background: color-mix(in srgb, var(--steel) 8%, transparent); }
.nav .btn { padding: 9px 18px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 170px 0 0;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero::after { /* fade into body */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--navy) 90%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items: center;
  padding-bottom: 110px;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 700;
  margin: 22px 0 20px;
}
.hero h1 em { font-style: normal; color: var(--steel-bright); }
.hero p.lede {
  font-size: 19px; color: #aebecb; max-width: 480px; text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 48px;
  font-family: var(--font-mono);
}
.hero-stats div b { display: block; font-size: 15px; color: #fff; font-weight: 600; }
.hero-stats div span { font-size: 12px; color: #7e93a4; letter-spacing: .08em; text-transform: uppercase; }

/* phones */
.phone {
  position: relative;
  border-radius: 38px;
  background: #0c151d;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.3);
}
.phone img { border-radius: 28px; }
.hero-phones { position: relative; height: 620px; }
.hero-phones .phone { position: absolute; width: 272px; }
.hero-phones .phone.front {
  right: 40px; top: 30px; z-index: 2;
  transform: rotate(3deg);
}
.hero-phones .phone.back {
  right: 250px; top: 110px;
  transform: rotate(-5deg) scale(0.92);
  opacity: 0.85;
}

/* ── pillars (what it does) ──────────────────────────────────── */
.pillars-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.pillar .glyph {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--steel);
  margin-bottom: 6px;
}
.pillar h3 { font-size: 22px; font-weight: 700; }
.pillar p { color: var(--ink-soft); font-size: 16px; text-wrap: pretty; }
.pillar .mini {
  margin-top: auto;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--steel);
}

/* mini ticket recreation */
.mini-ticket {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper);
  font-family: var(--font-mono); font-size: 12.5px;
}
.mini-ticket b { color: var(--ink); font-weight: 600; }
.mini-ticket .net { color: var(--steel); font-weight: 600; }
.mini-ticket .ok { color: var(--teal); font-weight: 700; }
.mini .mini-ticket + .mini-ticket { margin-top: 8px; }
.soon-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  color: var(--amber);
  border: 1px dashed color-mix(in srgb, var(--amber) 55%, transparent);
  border-radius: 5px; padding: 2px 7px; white-space: nowrap;
}

/* ── how it works ────────────────────────────────────────────── */
.how { background: #fff; border-block: 1px solid var(--line); }
.steps {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.step { display: flex; flex-direction: column; }
.step .num {
  font-family: var(--font-mono); font-size: 13px; color: var(--steel);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step .phone { width: 100%; max-width: 230px; margin: 0 auto 22px; padding: 7px; border-radius: 28px; box-shadow: 0 16px 40px rgba(18,31,43,0.18); }
.step .phone img { border-radius: 21px; }
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }

/* ── job tracking demo ───────────────────────────────────────── */
.jobs-section .grid2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.job-demo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(18,31,43,0.10);
}
.job-demo .jd-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.job-demo h3 { font-size: 22px; font-weight: 700; }
.job-demo .jd-dest { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.jd-live {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--teal);
  display: inline-flex; align-items: center; gap: 7px; letter-spacing: .1em;
}
.jd-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }
.jd-bar {
  height: 12px; border-radius: 6px; background: var(--paper);
  border: 1px solid var(--line); overflow: hidden; margin: 8px 0 10px;
}
.jd-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--steel), var(--accent));
  border-radius: 6px;
  transition: width .8s cubic-bezier(.25,.9,.3,1);
}
.jd-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 13.5px; color: var(--ink-soft); }
.jd-meta b { color: var(--ink); font-weight: 600; }
.jd-loads { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 6px; }
.jd-load {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s, transform .45s;
}
.jd-load.in { opacity: 1; transform: none; }
.jd-load:last-child { border-bottom: 0; }
.jd-load .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--teal) 14%, white);
  color: var(--teal);
  display: grid; place-items: center; font-size: 12px; flex: none;
}
.jd-load .truck { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); width: 52px; }
.jd-load .tons { margin-left: auto; font-family: var(--font-mono); font-weight: 600; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.feature-list li { list-style: none; display: flex; gap: 16px; }
.feature-list .dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-top: 9px;
}
.feature-list b { display: block; font-family: var(--font-head); font-size: 17px; }
.feature-list span { color: var(--ink-soft); font-size: 15.5px; }

/* ── pricing ─────────────────────────────────────────────────── */
.pricing { background: var(--navy); color: #fff; }
.pricing .kicker { color: var(--steel-bright); }
.pricing h2 { color: #fff; }
.pricing .section-sub { color: #a7b8c6; }
.price-card {
  margin-top: 56px;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 44px 48px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  align-items: center;
}
.sample-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--amber); border: 1px dashed color-mix(in srgb, var(--amber) 55%, transparent);
  border-radius: 6px; padding: 4px 10px; display: inline-block; margin-bottom: 18px;
}
.price-readout { display: flex; align-items: baseline; gap: 10px; }
.price-readout .amount { font-family: var(--font-head); font-size: 64px; font-weight: 700; letter-spacing: 0; }
.price-readout .per { color: #8fa3b3; font-size: 17px; }
.price-sub { font-family: var(--font-mono); font-size: 13.5px; color: var(--steel-bright); margin-top: 6px; }
.loads-slider { margin-top: 36px; }
.loads-slider label {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 13px; color: #8fa3b3;
  margin-bottom: 14px; letter-spacing: .04em;
}
.loads-slider label output { color: #fff; font-weight: 600; }
input[type="range"] {
  width: 100%; appearance: none; height: 6px; border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill, 30%), rgba(255,255,255,0.14) var(--fill, 30%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
  cursor: grab; box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.curve-box { position: relative; }
.curve-box svg { width: 100%; height: auto; display: block; }
.curve-note {
  font-family: var(--font-mono); font-size: 12px; color: #7e93a4;
  margin-top: 14px; text-align: right;
}

/* ── contact / footer ────────────────────────────────────────── */
.contact { background: var(--navy); color: #fff; padding: 0 0 0; }
.contact-inner {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-block: 96px 90px;
  text-align: center;
}
.contact img.mark { width: 64px; height: 64px; border-radius: 14px; margin: 0 auto 28px; }
.contact h2 { color: #fff; }
.contact p { color: #a7b8c6; max-width: 460px; margin: 0 auto; }
.contact .hero-ctas { justify-content: center; }

/* contact form */
.contact-form {
  max-width: 560px;
  margin: 38px auto 0;
  display: flex; flex-direction: column; gap: 16px;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; }
.contact-form label span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: #8fa3b3;
}
.contact-form label span em { font-style: normal; text-transform: none; color: #5e7383; letter-spacing: 0; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 13px 15px;
  color: #fff;
  font-family: var(--font-body); font-size: 16px;
  transition: border-color .15s, background .15s;
  width: 100%;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.contact-form ::placeholder { color: #5e7383; }
/* keep Chrome/Safari autofill from painting fields white */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #1c2c3a inset;
  box-shadow: 0 0 0 1000px #1c2c3a inset;
  caret-color: #fff;
  transition: background-color 9999s ease-out;
}
.contact-form .btn { margin-top: 6px; }
.contact-form .btn[disabled] { opacity: 0.6; pointer-events: none; }
.form-status {
  font-family: var(--font-mono); font-size: 13px; text-align: center;
  min-height: 20px; color: #8fa3b3;
}
.form-status.ok { color: #6fc2a0; }
.form-status.err { color: #e0a06a; }
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.footer {
  background: #0c151d; color: #6c8092;
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 26px 0;
}
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── reveal on scroll ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
}

/* ── responsive ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 70px; }
  .hero-phones { height: auto; display: flex; gap: 18px; justify-content: center; align-items: flex-start; padding-bottom: 10px; }
  .hero-phones .phone { position: static; width: 44%; max-width: 230px; padding: 7px; border-radius: 30px; }
  .hero-phones .phone img { border-radius: 23px; }
  .hero-phones .phone.front { transform: none; }
  .hero-phones .phone.back { transform: none; opacity: 1; margin-top: 36px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .jobs-section .grid2 { grid-template-columns: 1fr; gap: 48px; }
  .price-card { grid-template-columns: 1fr; padding: 32px 26px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav-inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand b { font-size: 17px; }
  .nav .btn { padding: 8px 12px; font-size: 14px; }
  .hero { padding-top: 118px; }
  .hero h1 { font-size: 40px; overflow-wrap: break-word; }
  .hero p.lede { max-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
  }
  .hero-stats div { min-width: 0; }
  .hero-stats div b { font-size: 13.5px; }
  .hero-stats div span { font-size: 10.5px; }
  .hero-phones { gap: 12px; }
  .hero-phones .phone { width: calc(50% - 6px); }
}
