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

:root {
  --navy: #0a1f44; --navy2: #0d2b5c; --sky: #7db4ff; --link: #1d4ed8;
  --ink: #101c2c; --muted: #5b6b82; --line: #dde5ef;
  --bg: #edf1f7; --card: #ffffff; --amber: #f59e0b; --amber-ink: #92400e;
  --amber-soft: #fef3c7; --green: #15803d; --green-soft: #dcfce7;
  --red: #b91c1c; --red-soft: #fee2e2;
  --shadow: 0 1px 2px rgba(10,31,68,.07), 0 10px 30px rgba(10,31,68,.07);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Header */
header.site { background: linear-gradient(90deg, var(--navy), var(--navy2));
  color: #fff; padding: 12px 20px; display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(10,31,68,.25); }
header.site .mark { background: var(--amber); color: var(--navy);
  font-weight: 900; border-radius: 8px; padding: 4px 8px; font-size: 15px;
  letter-spacing: .02em; }
header.site .brand { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
header.site .brand em { font-style: normal; color: var(--amber); }
header.site .tag { color: #a9c3ea; font-size: 13px; }
header.site nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
header.site nav a { color: #d7e5fa; text-decoration: none; font-size: 14px;
  font-weight: 600; padding: 7px 11px; border-radius: 8px; }
header.site nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Hero */
.hero { color: #fff; padding: 64px 20px 52px; position: relative;
  overflow: hidden; background:
  repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
  linear-gradient(150deg, var(--navy) 30%, var(--navy2) 75%, #123a75); }
.hero .inner { max-width: 780px; margin: 0 auto; position: relative; text-align: center; }
.hero .eyebrow { color: var(--amber); font-weight: 800; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { margin: 0 auto 14px; font-size: 46px; line-height: 1.08;
  font-weight: 900; letter-spacing: -.02em; max-width: 21ch; }
.hero h1 .hl { color: var(--amber); }
.hero p { margin: 0 auto; color: #c9dbf7; max-width: 600px; font-size: 17px;
  line-height: 1.55; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; justify-content: center; }
.btn { display: inline-block; text-decoration: none; font-weight: 800;
  border-radius: 10px; padding: 13px 22px; font-size: 15px; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #fbbf24; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.hero .stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; justify-content: center; }
.hero .stats div strong { display: block; font-size: 24px; font-weight: 900; }
.hero .stats div span { color: #a9c3ea; font-size: 13px; }
.rules { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; justify-content: center; }
.rules span { background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22); padding: 6px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600; }

main { max-width: 960px; margin: 0 auto; padding: 28px 16px 56px; }
.card { background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 20px;
  box-shadow: var(--shadow); }
h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.sect-sub { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e; margin-right: 7px; box-shadow: 0 0 0 4px var(--green-soft);
  vertical-align: 2px; }

/* Load cards */
.loadcard { border: 1px solid var(--line); border-left: 5px solid var(--amber);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
  background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.loadcard:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.lc-top { display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; flex-wrap: wrap; }
.lc-lane { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.lc-lane .arrow { color: var(--amber); padding: 0 2px; }
.lc-rate { font-size: 28px; font-weight: 900; color: var(--navy);
  white-space: nowrap; line-height: 1; }
.lc-rate .per { display: block; font-size: 12px; font-weight: 700;
  color: var(--muted); text-align: right; margin-top: 4px; }
.lc-meta { color: var(--ink); font-size: 13.5px; margin-top: 7px; }
.lc-meta.faint { color: var(--muted); font-size: 12.5px; }
.destbadge { display: inline-block; margin-top: 10px; font-size: 12.5px;
  font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: #eef2f7; color: var(--muted); }
.destbadge.ok { background: var(--green-soft); color: var(--green); }
.destbadge.thin { background: var(--amber-soft); color: var(--amber-ink); }
.destbadge.dead { background: var(--red-soft); color: var(--red); }
.tcreport { display: block; margin-top: 8px; }
.tcrow { background: #f6f9fd; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px; margin-top: 6px; font-size: 13.5px; }
.tcrow strong { color: var(--navy); }

/* Tables (bids desk, admin) */
table.loads { width: 100%; border-collapse: collapse; font-size: 14px; }
table.loads th, table.loads td { text-align: left; padding: 10px 8px;
  border-bottom: 1px solid var(--line); vertical-align: top; }
table.loads th { color: var(--muted); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; }
.rate { font-weight: 800; color: var(--navy); white-space: nowrap; }
.rpm { color: var(--muted); font-size: 12px; }

input, select, button { font: inherit; }
input[type="search"], input[type="email"], input[type="text"],
input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; }
button { background: var(--navy); color: #fff; border: 0; border-radius: 10px;
  padding: 11px 18px; font-weight: 700; cursor: pointer; }
button:hover { background: var(--navy2); }
button.secondary { background: #e8eef6; color: var(--navy); }
button.secondary:hover { background: #dbe6f3; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1 1 200px; }
.muted { color: var(--muted); }
.result { padding: 12px 0; border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.badge { display: inline-block; background: var(--amber-soft);
  color: var(--amber-ink); border: 1px solid #fde68a; padding: 2px 9px;
  border-radius: 999px; font-size: 12px; font-weight: 700; }
footer.site { color: var(--muted); font-size: 13px; text-align: center;
  padding: 28px 16px 44px; }

/* Suggestions + features + FAQ */
.suggestion .row { display: flex; justify-content: space-between;
  align-items: center; gap: 1em; }
.suggestion .pill { background: #e8eef6; border-radius: 1em;
  padding: .1em .7em; font-size: .85em; font-weight: 700; color: var(--navy); }
button.vote { margin-top: .4em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px; }
.feat { background: #fbfcfe; border: 1px solid var(--line);
  border-top: 4px solid var(--amber); border-radius: 12px; padding: 16px; }
.feat strong { font-size: 15.5px; }
.feat p { margin: .4em 0 0; color: #33465e; font-size: 14px; line-height: 1.5; }
details { border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; margin-bottom: 10px; background: #fbfcfe; }
details summary { cursor: pointer; font-weight: 700; font-size: 15px; }
details p { margin: .6em 0 .2em; max-width: 65ch; color: #33465e; line-height: 1.55; }
.rowline { display: flex; gap: .6em; align-items: center; flex-wrap: wrap;
  margin-top: .5em; }
.bidbox { margin-top: 10px; display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap; background: #f6f9fd; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; }
.bidbox input.amt { width: 120px; }
.bidbox:empty { display: none; }

@media (max-width: 640px) {
  .hero { padding: 44px 16px 40px; }
  .hero h1 { font-size: 33px; }
  .lc-lane { font-size: 17px; }
  .lc-rate { font-size: 23px; }
  main { padding: 20px 12px 44px; }
  .card { padding: 16px; }
}

.bidlist { display: block; width: 100%; }

.hero-search { background: #fff; color: var(--ink); border-radius: 14px;
  padding: 18px; margin-top: 28px; text-align: left;
  box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hero-search .hs-title { font-weight: 800; font-size: 17px; color: var(--navy); }
.hero-search p { color: var(--muted); font-size: 13.5px; margin: 6px 0 12px;
  max-width: none; }
.hero-search #results { margin-top: 6px; }
