/* Job Wagon website. One stylesheet, no build step. Spacing follows an 8-point scale. */

/* ---------- Tokens ---------- */
:root {
  --bg: #f7f4ee;
  --bg-2: #f0ebe1;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --field: #fcfbf8;
  --line: rgba(20, 23, 28, .09);
  --line-2: rgba(20, 23, 28, .16);
  --text: #14171c;
  --text-2: #363c46;
  --muted: #5a616d;
  --accent: #f0a020;
  --accent-hover: #e39412;
  --accent-text: #8a4f00;
  --accent-soft: rgba(240, 160, 32, .16);
  --blue: #2259c4;
  --green: #18774d;
  --teal: #0b6f78;
  --red: #b3261e;
  --focus: #2259c4;
  --ink-band: #14171c;
  --promise-bg: #f6e8c9;
  --promise-bg-2: #f9efd9;

  --map-land: #ebe6db;
  --map-road: #ffffff;
  --map-park: #d6e5cc;
  --map-water: #cadeea;

  --mk-tile: #14171c;
  --mk-pin: #f0a020;

  --shadow-sm: 0 1px 2px rgba(20, 23, 28, .06), 0 1px 1px rgba(20, 23, 28, .03);
  --shadow: 0 1px 2px rgba(20, 23, 28, .05), 0 10px 28px -8px rgba(20, 23, 28, .14);
  --shadow-lg: 0 2px 4px rgba(20, 23, 28, .04), 0 30px 70px -20px rgba(20, 23, 28, .28), 0 10px 30px -14px rgba(20, 23, 28, .14);

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014;
    --bg-2: #12151a;
    --surface: #171a20;
    --surface-2: #1c2027;
    --field: #12151a;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .15);
    --text: #f1ede6;
    --text-2: #cdd1d8;
    --muted: #9ca3ae;
    --accent: #f2b33d;
    --accent-hover: #f5c160;
    --accent-text: #f4bb52;
    --accent-soft: rgba(242, 179, 61, .13);
    --blue: #7aa5f2;
    --green: #55c891;
    --teal: #5cc2cb;
    --red: #f28b82;
    --focus: #f2b33d;
    --ink-band: #12151a;
    --promise-bg: #19160f;
    --promise-bg-2: #13110c;

    --map-land: #1a1e25;
    --map-road: #2b313b;
    --map-park: #1c2820;
    --map-water: #15232d;

    --mk-tile: #252a33;
    --mk-pin: #f2b33d;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -10px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 34px 80px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .04);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--text); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.mark { width: 32px; height: 32px; }
.mk-tile { fill: var(--mk-tile); }
.mk-pin { fill: var(--mk-pin); }
.mk-ring { fill: none; stroke: var(--mk-tile); stroke-width: 1.9; }
.mk-spoke { fill: none; stroke: var(--mk-tile); stroke-width: 1.5; stroke-linecap: round; }
.mk-hub { fill: var(--mk-tile); }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.025em; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border: 0; border-radius: 10px;
  background: var(--accent); color: #14171c;
  font-weight: 600; font-size: .9375rem; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(140, 80, 0, .22), 0 2px 6px -1px rgba(140, 80, 0, .25);
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: .875rem; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 23, 28, .35); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text-2); font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: var(--line); color: var(--text); }

.menu { position: relative; display: none; }
.menu summary {
  list-style: none; cursor: pointer;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.menu summary::-webkit-details-marker { display: none; }
.menu ul {
  position: absolute; right: 0; top: 48px; min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.menu a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.menu a:hover { background: var(--line); }

/* ---------- Shared type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-text); font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.section { padding: 128px 0; }
.sec-head { max-width: 760px; margin-bottom: 80px; }
.sec-head h2, .who h2 { margin-top: 16px; font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.035em; }
.sub { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.hl { position: relative; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 112px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 25%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 40% at 78% 8%, var(--accent-soft), transparent 70%),
    radial-gradient(40% 35% at 15% 30%, rgba(34, 89, 196, .07), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .9;
}
.hero-copy { max-width: 880px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm);
  font-size: .875rem; font-weight: 550; color: var(--text-2);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22a06b; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #22a06b; opacity: .25; }
@media (prefers-reduced-motion: no-preference) {
  .dot::after { animation: ping 2.4s var(--ease) infinite; }
  @keyframes ping { 0% { transform: scale(.6); opacity: .45; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
}
.hero h1 {
  margin-top: 32px;
  font-size: clamp(2.625rem, 1.1rem + 5.6vw, 5.5rem); line-height: 1.02; letter-spacing: -.038em; font-weight: 750;
  max-width: 15ch;
}
.hero h1 .hl, .promise-quote .hl { background: linear-gradient(transparent 64%, color-mix(in srgb, var(--accent) 55%, transparent) 64%, color-mix(in srgb, var(--accent) 55%, transparent) 92%, transparent 92%); padding: 0 .06em; }
@media (prefers-color-scheme: dark) {
  .hero h1 .hl, .promise-quote .hl { background: none; padding: 0; color: var(--accent); }
}
.lede { margin-top: 24px; max-width: 34ch; font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

.hero-shot { position: relative; max-width: 1152px; margin: 80px auto 0; }
.board-frame {
  container-type: inline-size;
  padding: 8px; border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
  overflow: hidden;
}
.float-toast {
  position: absolute; right: -24px; bottom: -28px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
  font-size: .875rem; line-height: 1.3;
}
.float-toast b, .ph-toast b { display: block; font-weight: 650; }
.float-toast i, .ph-toast i { display: block; font-style: normal; color: var(--muted); font-size: .8125rem; }
.float-toast strong { margin-left: 8px; font-family: var(--display); font-size: 1.125rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ft-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.ft-ic .ic { width: 18px; height: 18px; stroke-width: 2.4; }

/* ---------- Dispatch board mockup (sized in em so it scales with its frame) ---------- */
.board {
  width: 92em; font-size: clamp(7px, calc(100cqw / 92), 12.4px);
  background: var(--surface); border-radius: 1.1em; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  line-height: 1.35; color: var(--text);
}
.b-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5em; height: 4.2em; padding: 0 1.4em; border-bottom: 1px solid var(--line); }
.b-left, .b-right { display: flex; align-items: center; gap: .9em; }
.b-left b { font-size: 1.15em; font-weight: 650; }
.b-mark { width: 2em; height: 2em; }
.b-date { padding: .25em .7em; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: .92em; }
.b-seg { display: flex; padding: .25em; gap: .2em; border-radius: .7em; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.b-seg span { padding: .35em 1em; border-radius: .5em; color: var(--muted); font-weight: 550; }
.b-seg .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.b-search { display: flex; align-items: center; gap: .5em; width: 15em; padding: .5em .8em; border-radius: .6em; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.b-search .ic { width: 1.2em; height: 1.2em; }
.b-new { padding: .5em .9em; border-radius: .6em; background: var(--accent); color: #14171c; font-weight: 650; }
.av {
  display: inline-grid; place-items: center; flex: none;
  width: 2.2em; height: 2.2em; border-radius: 50%;
  font-size: .82em; font-weight: 700; letter-spacing: .02em; color: #fff;
}
.av-ink { background: #2b313b; }
.av-mute { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.av-a { background: #c27a0e; }
.av-b { background: #2f6a8a; }
.av-c { background: #3d7a55; }

.b-body { display: grid; grid-template-columns: 1fr 25em; height: 36em; }
.b-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; padding: 1.2em;
  background-color: var(--surface-2);
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px);
  background-size: 1.6em 1.6em;
}
.b-col { display: flex; flex-direction: column; gap: .7em; min-width: 0; }
.b-col-h { display: flex; align-items: center; gap: .6em; padding: .2em .2em .5em; }
.b-col-h b { font-weight: 650; font-size: 1.02em; }
.cnt { margin-left: auto; min-width: 1.8em; text-align: center; padding: .05em .5em; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: .85em; font-weight: 600; }
.jc {
  position: relative; display: flex; flex-direction: column; gap: .2em;
  padding: .85em 1em .9em 1.15em; border-radius: .75em;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(20, 23, 28, .05);
  overflow: hidden;
}
.jc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .25em; background: var(--line-2); }
.jc-new::before { background: var(--teal); }
.jc-way::before { background: var(--blue); }
.jc-prog::before { background: var(--accent); }
.jc-done::before { background: var(--green); }
.jc-active { box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 55%, transparent), 0 8px 20px -10px rgba(34, 89, 196, .5); }
.jc-top { display: flex; align-items: center; justify-content: space-between; gap: .5em; margin-bottom: .25em; }
.jc .t { color: var(--muted); font-size: .88em; font-weight: 600; font-variant-numeric: tabular-nums; }
.jc b { font-weight: 650; font-size: 1.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc .m { color: var(--muted); font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc .m2 { margin-top: .3em; font-weight: 650; font-size: .9em; font-variant-numeric: tabular-nums; }

.pill { display: inline-flex; align-items: center; padding: .2em .65em; border-radius: 999px; font-size: .8em; font-weight: 650; white-space: nowrap; line-height: 1.4; }
.p-new { color: var(--teal); background: color-mix(in srgb, var(--teal) 13%, transparent); }
.p-way { color: var(--blue); background: color-mix(in srgb, var(--blue) 13%, transparent); }
.p-prog { color: var(--accent-text); background: var(--accent-soft); }
.p-done, .p-paid { color: var(--green); background: color-mix(in srgb, var(--green) 13%, transparent); }
.p-sch { color: var(--muted); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.p-low { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); }

.b-map { position: relative; border-left: 1px solid var(--line); overflow: hidden; }
.b-map svg, .map-wrap svg { width: 100%; height: 100%; }
.mp-land { fill: var(--map-land); }
.mp-park { fill: var(--map-park); }
.mp-water { fill: var(--map-water); }
.mp-road { fill: none; stroke: var(--map-road); stroke-width: 12; }
.mp-road-sm { fill: none; stroke: var(--map-road); stroke-width: 5; opacity: .85; }
.mp-route { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mp-van { fill: var(--blue); stroke: var(--surface); stroke-width: 3; }
.mp-van-ar { fill: #fff; }
.mp-dest { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.mp-dest-dot { fill: #14171c; }
.mp-other { stroke: var(--surface); stroke-width: 3; }
.mp-b { fill: #2f6a8a; }
.mp-c { fill: #3d7a55; }
.mp-chip {
  position: absolute; left: 1.2em; right: 1.2em; top: 1.2em;
  display: flex; align-items: center; gap: .7em; padding: .8em 1em;
  background: var(--surface); border-radius: .8em; box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.mp-chip b { display: block; font-weight: 650; }
.mp-chip i { display: block; font-style: normal; color: var(--blue); font-size: .9em; font-weight: 550; }

@container (max-width: 640px) {
  .board { width: 100%; font-size: calc(100cqw / 36); }
  .b-body { grid-template-columns: 1fr; height: auto; }
  .b-map, .b-col-4, .b-col:nth-child(3), .b-seg, .b-search, .b-date { display: none; }
  .b-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Who it's for ---------- */
.who { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 72px 0; }
.who-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.who h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.trades { display: flex; flex-wrap: wrap; gap: 12px; }
.trades li {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 8px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.trades li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.trades .ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); stroke-width: 2; }

/* ---------- Feature rows ---------- */
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.row + .row { margin-top: 128px; }
.row-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row-flip .row-copy { order: 2; }
.row-copy h3 { margin-top: 16px; font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); line-height: 1.08; letter-spacing: -.035em; }
.row-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 44ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--text-2); }
.eyebrow .ic { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--surface); color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.ticks { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 12px; color: var(--muted); max-width: 48ch; }
.ticks b { color: var(--text); font-weight: 650; }
.ticks .ic { width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); stroke-width: 2.6; }

.row-visual {
  position: relative; padding: 48px; border-radius: 24px;
  background-color: var(--bg-2);
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px), radial-gradient(70% 60% at 70% 20%, var(--accent-soft), transparent 70%);
  background-size: 20px 20px, 100% 100%;
  box-shadow: inset 0 0 0 1px var(--line);
}
.mock { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); font-size: .875rem; line-height: 1.4; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mock-bar b { font-weight: 650; }
.mock .pill { font-size: .75rem; }
.map-wrap { position: relative; aspect-ratio: 520 / 320; }
.eta-card {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.eta-card .av { font-size: .75rem; width: 32px; height: 32px; }
.eta-txt b { display: block; font-weight: 650; }
.eta-txt i { display: block; font-style: normal; color: var(--muted); font-size: .8125rem; }
.eta-time { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line); text-align: center; line-height: 1; }
.eta-time b { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: -.03em; color: var(--blue); }
.eta-time i { font-style: normal; font-size: .75rem; color: var(--muted); }

/* Phone mockup */
.row-visual-phone { display: flex; justify-content: center; padding: 48px 24px; }
.phone {
  width: 300px; max-width: 100%; padding: 10px; border-radius: 46px;
  background: #101318; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 4px #252a33, var(--shadow-lg);
}
.ph-screen {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 600px; padding: 12px 14px 84px; border-radius: 36px;
  background: var(--surface-2); color: var(--text); font-size: 13px; line-height: 1.35; overflow: hidden;
}
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 10px 0; font-size: 12px; }
.ph-sig { display: flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; border-radius: 1px; background: var(--text); }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 8px; } .ph-sig i:nth-child(3) { height: 11px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 2px; }
.ph-back { color: var(--blue); font-weight: 600; }
.ph-id { color: var(--muted); font-size: 12px; font-weight: 600; }
.ph-job, .ph-inv { padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.ph-job { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ph-job .pill { font-size: 11px; }
.ph-title { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; margin-top: 2px; }
.ph-line { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.ph-line .ic { width: 15px; height: 15px; }
.ph-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin-top: 6px; }
.ph-acts span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; font-weight: 600; color: var(--text-2); }
.ph-acts .ic { width: 16px; height: 16px; color: var(--blue); }
.ph-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ph-steps span { padding: 8px 0; border-radius: 9px; text-align: center; font-size: 11.5px; font-weight: 650; color: var(--muted); }
.ph-steps .done { color: var(--green); }
.ph-steps .now { background: var(--accent); color: #14171c; }
.ph-inv-h { display: flex; justify-content: space-between; margin-bottom: 8px; }
.ph-inv-h span { color: var(--muted); font-size: 12px; }
.ph-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ph-total { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--text); font-weight: 700; font-size: 15px; }
.ph-pay { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; height: 40px; border-radius: 11px; background: #14171c; color: #fff; font-weight: 650; }
.ph-pay .ic { width: 17px; height: 17px; }
@media (prefers-color-scheme: dark) { .ph-pay { background: var(--text); color: #14171c; } }
.ph-toast {
  position: absolute; left: 12px; right: 12px; bottom: 14px;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -10px rgba(0, 0, 0, .35);
}
.ph-toast .ft-ic { width: 32px; height: 32px; }

/* Chat mockup */
.chat { max-width: 480px; margin: 0 auto; }
.chat-who { display: flex; align-items: center; gap: 10px; }
.chat-who b { display: block; }
.chat-who i { display: block; font-style: normal; color: var(--muted); font-size: .75rem; }
.chat-who .av { font-size: .75rem; width: 32px; height: 32px; }
.chat-btns { display: flex; gap: 6px; }
.chat-btns span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--blue); }
.chat-btns .ic { width: 16px; height: 16px; }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface-2); }
.chat-day { align-self: center; font-size: .75rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.bub { max-width: 78%; padding: 9px 13px; border-radius: 16px; }
.bub.in { align-self: flex-start; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 5px; }
.bub.out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
@media (prefers-color-scheme: dark) { .bub.out { background: #2d5bb8; } }
.log { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.log b { display: block; font-weight: 600; }
.log i { display: block; font-style: normal; color: var(--muted); font-size: .8125rem; }
.log-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green); flex: none; }
.log-ic .ic { width: 16px; height: 16px; }
.log-spam .log-ic { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 12px 12px 16px; border-top: 1px solid var(--line); color: var(--muted); }
.chat-input .send { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #14171c; }
.chat-input .ic { width: 16px; height: 16px; stroke-width: 2.2; }

/* Bento tiles */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 128px; }
.tile { padding: 32px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.tile h3 { display: flex; align-items: center; gap: 10px; font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.2; }
.tile h3 .ic { color: var(--accent-text); width: 22px; height: 22px; }
.tile p { margin-top: 10px; color: var(--muted); max-width: 46ch; }
.tile-visual { margin-bottom: 28px; padding: 16px 20px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; min-height: 168px; }
.stock-h, .stock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stock-h { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.stock-h span { color: var(--muted); font-size: .8125rem; }
.stock-row { padding: 9px 0; border-bottom: 1px solid var(--line); }
.stock-row:last-child { border-bottom: 0; }
.qty { font-weight: 650; font-variant-numeric: tabular-nums; }
.stock .pill { font-size: .75rem; }
.rep-h { display: flex; gap: 32px; }
.rep-h i { display: block; font-style: normal; color: var(--muted); font-size: .8125rem; }
.rep-h b { display: block; font-family: var(--display); font-size: 1.625rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 64px; margin-top: 18px; }
.bars span { flex: 1; border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--accent) 40%, transparent); }
.bars .b1 { height: 45%; } .bars .b2 { height: 70%; } .bars .b3 { height: 55%; } .bars .b4 { height: 90%; } .bars .b5 { height: 65%; }
.bars .b6 { height: 100%; background: var(--accent); }

/* ---------- Promise ---------- */
.promise {
  position: relative; padding: 136px 0; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 90% at 50% 0%, var(--promise-bg-2), var(--promise-bg));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.promise::before {
  content: "\201C"; position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -38%);
  font-family: var(--display); font-weight: 800; font-size: 34rem; line-height: 1;
  color: var(--accent); opacity: .16; pointer-events: none;
}
.promise-inner { max-width: 920px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.promise-lead, .promise-body { max-width: 40ch; font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem); line-height: 1.5; color: var(--text-2); }
.promise-lead { margin-top: 32px; }
.promise-quote { margin: 32px 0; font-size: clamp(2.5rem, 1.3rem + 4.6vw, 4.75rem); line-height: 1.04; letter-spacing: -.038em; font-weight: 750; max-width: 16ch; }
.promise-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); font-weight: 600; font-size: .9375rem; }
.promise-tag .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); stroke-width: 2.6; }

/* ---------- How it works ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: calc(33.33% - 24px); height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.steps li { position: relative; }
.step-n {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm), 0 0 0 8px var(--bg);
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--accent-text);
}
.steps h3 { margin-top: 24px; font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.2; }
.steps p { margin-top: 10px; color: var(--muted); max-width: 36ch; }

/* ---------- Contact / CTA band ---------- */
.cta { position: relative; padding: 128px 0; background: var(--ink-band); color: #f3efe7; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(800px 640px at 0% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(800px 640px at 0% 0%, #000 20%, transparent 70%);
}
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(720px 560px at 8% 0%, rgba(240, 160, 32, .2), transparent 70%); }
@media (prefers-color-scheme: dark) { .cta { border-top: 1px solid var(--line); } }
.cta-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.cta-copy { align-self: center; }
.cta h2 { color: #fff; margin-top: 24px; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4rem); line-height: 1.02; letter-spacing: -.045em; }
.cta-lede { margin-top: 20px; font-size: 1.1875rem; color: rgba(243, 239, 231, .78); max-width: 34ch; }
.status-dark { background: rgba(255, 255, 255, .06); color: #e7e2d9; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.contact-alt { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(243, 239, 231, .78); }
.contact-alt .ic { width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #f2b33d; }
.contact-alt a { color: #f6c45f; font-weight: 600; text-underline-offset: 3px; }
.cta :focus-visible { outline-color: #f2b33d; }

.form-box { padding: 40px; border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -30px rgba(0, 0, 0, .6); }
.cta .form-box :focus-visible { outline-color: var(--focus); }
.field { margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; color: var(--text); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px;
  background: var(--field); border: 1px solid var(--line-2); font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
textarea { height: auto; min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a909b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--text) 30%, transparent); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background-color: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--red) !important; }
.err { margin-top: 6px; color: var(--red); font-size: .8125rem; font-weight: 500; }
.err:empty { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check label { margin: 0; font-weight: 500; cursor: pointer; }
.check .err { grid-column: 2; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin-top: 14px; text-align: center; font-size: .8125rem; color: var(--muted); }
.fine a, .notice a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.notice { padding: 14px 16px; border-radius: 12px; font-size: .9375rem; }
.notice-err { margin-top: 16px; background: color-mix(in srgb, var(--red) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 30%, transparent); color: var(--text); }
.notice-ok { padding: 48px 24px; text-align: center; }
.notice-ok:focus { outline: none; }
.notice-ok h3 { margin-top: 20px; font-size: 1.75rem; letter-spacing: -.03em; }
.notice-ok p { margin: 12px auto 0; max-width: 40ch; color: var(--muted); }
.ok-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.ok-ic .ic { width: 26px; height: 26px; stroke-width: 2.4; }

/* ---------- Footer ---------- */
.foot { padding: 72px 0 32px; background: var(--bg); }
.foot-grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.foot-nav { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-nav li + li { margin-top: 10px; }
.foot-nav a { color: var(--text-2); text-decoration: none; font-size: .9375rem; }
.foot-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.foot-base { margin-top: 56px; }
.foot-base p { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

/* ---------- Privacy page ---------- */
.doc { padding: 96px 0 128px; }
.doc .wrap { max-width: calc(720px + var(--gutter) * 2); }
.doc h1 { margin-top: 16px; font-size: clamp(2.5rem, 1.6rem + 3vw, 3.5rem); letter-spacing: -.04em; line-height: 1.05; }
.doc .updated { margin-top: 12px; color: var(--muted); }
.doc h2 { margin-top: 48px; font-size: 1.375rem; letter-spacing: -.02em; }
.doc p { margin-top: 12px; color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; }
.doc a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
.doc p.kicker { margin-top: 0; color: var(--accent-text); font-size: .8125rem; line-height: 1.6; }
.doc-card h2:first-child { margin-top: 32px; }
.doc-card { margin-top: 40px; padding: 8px 40px 40px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }

/* ---------- Scroll reveal (only applied by script to content below the fold) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .trades li, .top { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) { .float-toast { right: 16px; bottom: -24px; } }
@media (max-width: 1024px) {
  .row, .cta-grid { gap: 56px; }
  .row-visual { padding: 32px; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .section { padding: 96px 0; }
  .who-inner, .row, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .who-inner { gap: 32px; }
  .row { gap: 40px; }
  .row + .row, .bento { margin-top: 96px; }
  .row-flip { grid-template-columns: minmax(0, 1fr); }
  .row-flip .row-copy { order: 0; }
  .cta-grid { gap: 48px; }
  .promise { padding: 104px 0; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps::before { top: 24px; bottom: 24px; left: 24px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .steps li { padding-left: 72px; }
  .step-n { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 8px; }
  .sec-head { margin-bottom: 56px; }
  .hero { padding: 64px 0 96px; }
  .hero-shot { margin-top: 56px; }
  .board-frame { padding: 6px; border-radius: 18px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .top .btn-sm { display: none; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form-box { padding: 24px 20px; }
  .row-visual { padding: 20px; border-radius: 20px; }
  .row-visual-phone { padding: 32px 12px; }
  .tile { padding: 24px; }
  .hero-actions { flex-direction: column; align-self: stretch; }
  .hero-actions .btn { width: 100%; }
  .float-toast { left: 12px; right: 12px; bottom: -28px; }
  .float-toast strong { margin-left: auto; }
  .eta-card { left: 10px; bottom: 10px; padding: 8px 10px 8px 8px; gap: 8px; }
  .trades li { height: 46px; font-size: .9375rem; padding-right: 16px; }
  .trades .ic { width: 32px; height: 32px; padding: 7px; }
  .cta, .section { padding: 80px 0; }
  .promise::before { font-size: 20rem; }
  .doc-card { padding: 8px 20px 28px; }
  .foot-nav { gap: 40px; }
}
@media (max-width: 360px) {
  .float-toast i { display: none; }
  .rep-h { gap: 20px; }
}
