/* Supreme Logix Inc — supremelogix.com
   Palette: plum and amethyst (from the original Supreme Logix site). Type: Overpass, a face drawn from US highway signage. */
:root {
  --bg: #cbd4d5;          /* page; never lighter than #d5d8e2's brightness */
  --surface: #f1f5f5;
  --ink: #13252a;
  --ink-2: #34494e;       /* ~8:1 on --surface */
  --line: #b2c1c3;
  --plum: #12343b;        /* hero and footer */
  --plum-2: #173f47;
  --plum-3: #1c4a53;
  --on-plum: #ffffff;
  --on-plum-2: #d3e6e8;   /* secondary text on plum, ~9:1 */
  --amethyst: #0f766e;    /* buttons */
  --amethyst-hi: #13897f;
  --link: #0b6b63;
  --glow: #9fe3da;        /* route line */
  --focus: #f0b429;
}
:root[data-theme="dark"] {
  --bg: #0f1a1c; --surface: #172427; --ink: #e6f0f1; --ink-2: #b9cccf; --line: #2c3e42;
  --plum: #10292f; --plum-2: #143037; --plum-3: #18383f; --link: #7fd6cc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1a1c; --surface: #172427; --ink: #e6f0f1; --ink-2: #b9cccf; --line: #2c3e42;
    --plum: #10292f; --plum-2: #143037; --plum-3: #18383f; --link: #7fd6cc;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Overpass", "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
button { min-height: 2rem; min-width: 2rem; font: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.top { background: var(--plum); color: var(--on-plum); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-plum); text-decoration: none; font-weight: 800; font-size: 20px; line-height: 1.1; }
.brand small { display: block; font-weight: 500; font-size: 12px; color: var(--on-plum-2); letter-spacing: .01em; }
.brand-mark { width: 38px; height: 38px; border-radius: 8px; background: var(--amethyst); display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--amethyst), inset 0 0 0 4px #cfeeea; color: #fff; font-weight: 900; font-size: 15px; flex: none; }
.brand-logo { width: 52px; height: auto; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.foot-logo { width: 120px; height: auto; margin-bottom: 10px; }
.nav { display: flex; align-items: center; gap: 4px 20px; }
.nav a { color: var(--on-plum); font-weight: 600; text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--on-plum-2); }
.nav a[aria-current="page"] { border-bottom-color: var(--glow); }
.nav .nav-portal { background: var(--amethyst); border: 0; border-radius: 8px; padding: 8px 14px; }
.nav .nav-portal:hover { background: var(--amethyst-hi); }
.theme { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 2px; }
.theme button { border: 0; background: transparent; color: var(--on-plum-2); border-radius: 999px; padding: 2px 10px; font-size: 13px; cursor: pointer; }
.theme button[aria-pressed="true"] { background: var(--on-plum); color: var(--plum); }
.menu-btn { display: none; background: transparent; color: var(--on-plum); border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 6px 14px; font-weight: 700; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--amethyst); color: #fff; text-decoration: none; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 16px; }
.btn:hover { background: var(--amethyst-hi); }
.btn-ghost { background: transparent; color: var(--on-plum); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: #12343b; }
.btn-light:hover { background: #e3f3f1; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Hero */
.hero { background: linear-gradient(115deg, var(--plum) 0 36%, var(--plum-2) 36% 70%, var(--plum-3) 70%); color: var(--on-plum); padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; margin: 0; max-width: 16ch; }
.hero-sub { font-size: 19px; color: var(--on-plum-2); margin: 20px 0 0; max-width: 54ch; }
.hero-logo { margin: 0; justify-self: center; }
.hero-logo img { width: min(100%, 440px); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.route { margin: 0; }
.route svg { width: 100%; height: auto; overflow: visible; }
.route-ghost { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 14; stroke-linecap: round; }
.route-line { fill: none; stroke: var(--glow); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 18 12; stroke-dashoffset: 600; animation: drive 2.4s ease-out .3s forwards; }
@keyframes drive { to { stroke-dashoffset: 0; } }
.hub circle { fill: var(--plum); stroke: #fff; stroke-width: 4; }
.hub-mid circle { fill: var(--glow); stroke: none; }
.hub text { fill: var(--on-plum-2); font: 600 14px "Overpass", sans-serif; text-anchor: middle; }
.route figcaption { color: var(--on-plum-2); font-size: 14px; margin-top: 18px; max-width: 46ch; }

/* Pillars band */
.band { padding: 64px 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pillars article { padding: 30px 28px; border-left: 1px solid var(--line); }
.pillars article:first-child { border-left: 0; }
.pillars h2 { font-size: 23px; margin: 0 0 10px; }
.pillars p { color: var(--ink-2); margin: 0 0 14px; }

/* Split + timeline */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding-bottom: 72px; }
.h-lg { font-size: clamp(30px, 4vw, 42px); margin: 0 0 12px; }
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 22px 56px; border-left: 2px solid var(--line); margin-left: 18px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: counter(step); position: absolute; left: -19px; top: -4px; width: 36px; height: 36px; border-radius: 50%; background: var(--amethyst); color: #fff; font-weight: 800; display: grid; place-items: center; }
.timeline strong { display: block; font-size: 19px; }
.timeline span { color: var(--ink-2); }

/* CTA strip */
.cta-strip { background: var(--amethyst); color: #fff; padding: 30px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta-row p { margin: 0; font-size: 22px; font-weight: 700; }

/* Inner pages */
.page-head { background: linear-gradient(115deg, var(--plum) 0 55%, var(--plum-2) 55%); color: var(--on-plum); padding: 56px 0 52px; margin-bottom: 48px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 10px; }
.page-head p { color: var(--on-plum-2); font-size: 19px; margin: 0; max-width: 62ch; }
.page-head-hire { background: linear-gradient(115deg, var(--plum) 0 45%, var(--amethyst) 45%); }
.prose-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; padding-bottom: 64px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 27px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 10px; height: 10px; border-radius: 2px; background: var(--amethyst); transform: rotate(45deg); }
.side-card { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--amethyst); border-radius: 12px; padding: 24px; position: sticky; top: 92px; }
.side-card h2 { font-size: 21px; margin: 0 0 10px; }
.side-card p { color: var(--ink-2); }
.mini-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 16px 0 0; font-size: 15px; }
.mini-facts dt { font-weight: 700; }
.mini-facts dd { margin: 0; color: var(--ink-2); }
.big-phone { font-size: 26px; font-weight: 800; margin: 6px 0; }
.big-phone a { text-decoration: none; }
.fine { font-size: 14px; }
.steps { padding-left: 20px; color: var(--ink-2); }
.steps li { margin-bottom: 10px; }

.cadence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.cadence article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.cadence article:first-child { background: var(--plum); color: var(--on-plum); border-color: var(--plum); }
.cadence article:first-child li { color: var(--on-plum-2); }
.cadence h2 { font-size: 20px; margin: 0 0 10px; }
.cadence ul { margin: 0; padding-left: 18px; }
.cadence li { color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }

.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.job { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--amethyst); border-radius: 12px; padding: 24px 26px; }
.job h2 { font-size: 23px; margin: 0 0 8px; }
.job p { color: var(--ink-2); margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; margin-bottom: 56px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.contact-card h2 { font-size: 20px; margin: 0 0 8px; }
.contact-card p { color: var(--ink-2); margin: 0 0 8px; }
.contact-primary { background: var(--plum); color: var(--on-plum); border-color: var(--plum); }
.contact-primary p { color: var(--on-plum-2); }
.contact-primary a { color: #fff; }
.vendors { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.vendors dt { font-weight: 600; }
.vendors dd { margin: 0; }

/* Legal pages */
.legal { max-width: 74ch; padding: 8px 0 56px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; margin: 40px 0 6px; }
.legal .eff { color: var(--ink-2); margin: 0 0 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p strong, .legal li strong { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--amethyst); border-radius: 10px; padding: 18px 22px; margin: 10px 0 16px; }
.callout p { color: var(--ink); margin: 0; }
.legal .samples { list-style: none; padding: 0; display: grid; gap: 10px; }
.samples li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 12px 16px; color: var(--ink); max-width: 56ch; }

/* Footer: always plum */
.foot { background: var(--plum); color: var(--on-plum-2); padding: 48px 0 28px; font-size: 15px; }
.foot a { color: #fff; font-weight: 500; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot p { margin: 0 0 10px; }
.foot-brand { color: #fff; font-weight: 800; font-size: 19px; }
.foot-head { color: #fff; font-weight: 700; }
.foot-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 18px; font-size: 13px; }
.print-foot { display: none; }

@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--plum); flex-direction: column; align-items: flex-start; padding: 12px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .hero-grid, .split, .prose-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .cadence, .contact-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars article { border-left: 0; border-top: 1px solid var(--line); }
  .pillars article:first-child { border-top: 0; }
  .cadence, .contact-grid, .jobs, .foot-grid { grid-template-columns: 1fr; }
  .vendors, .mini-facts { grid-template-columns: 1fr; gap: 0; }
  .vendors dd { margin-bottom: 8px; }
  .brand small { display: none; }
}
@media print {
  .top .nav, .menu-btn, .theme, .cta-strip, .route { display: none; }
  .hero-logo img { filter: none; width: 220px; }
  .hero, .page-head, .foot, .cadence article:first-child, .contact-primary { background: #fff !important; color: #000 !important; }
  .hero h1, .hero-sub, .page-head p, .foot, .foot a { color: #000 !important; }
  .print-foot { display: block; margin-top: 24px; font-size: 11px; color: #333; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-line { animation: none; stroke-dashoffset: 0; }
}

/* TracRUNS band */