/* 365dispatch.org: one stylesheet for every page. Direction "departure board" (owner's pick, 2026-10-29):
   a night-time page, and the owner's own UPDATE BOARD as the one bright, moving thing on it. */

:root {
  /* the night */
  --night: #0d0f0e;
  --flap: #1b1d1c;
  --flap-low: #151716;
  --line: #2a2d2b;
  --ink: #eee7d5;
  --dim: #948f82;
  --accent: #73f13f;        /* the board's own "Ready" green */
  --accent-ink: #0d1a06;

  /* the UPDATE BOARD's colours, taken from the real sheet */
  --sh-head: #5b8ee6;
  --sh-grey: #a6a6a6;
  --sh-white: #ffffff;
  --sh-rule: #1f1f1f;
  --st-transit: #e8f15c;
  --st-upcoming: #f5b83d;
  --st-sleep: #3c3c3c;
  --st-prebook: #fde6a8;
  --st-hos: #7a3f0d;
  --st-ready: #73f13f;
  --st-canceled: #e05a4e;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Azeret Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(70% 45% at 85% -5%, rgba(115, 241, 63, .09), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .016) 0 1px, transparent 1px 3px),
    var(--night);
  color: var(--ink);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- wordmark: the name on three flaps ---------- */
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .01em; }
.flaps { display: inline-flex; gap: 2px; }
.flaps b {
  display: inline-grid; place-items: center; width: 22px; height: 30px; border-radius: 3px; font-weight: 900; font-size: 22px; line-height: 1;
  background: linear-gradient(var(--flap) 0 49%, #000 49% 51%, var(--flap-low) 51%);
  color: var(--accent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--text); font-weight: 600; font-size: 14px; letter-spacing: .01em;
  padding: 14px 20px; border-radius: 4px; border: 0;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(115, 241, 63, .25); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.small { padding: 9px 14px; font-size: 13px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.clocks { display: flex; gap: 22px; font-size: 12.5px; color: var(--dim); }
.clocks span b { color: var(--ink); font-weight: 600; margin-left: 6px; font-variant-numeric: tabular-nums; }
.clocks .live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 10px var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(20px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
br.phone { display: none; }
.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 7.4vw, 112px); line-height: .86; letter-spacing: .003em; margin: 0 0 28px;
}
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 60px); }
.hero .lede { flex: 1 1 26em; max-width: 34em; color: #c4bdab; margin: 0; }
.hero .offer { flex: 0 1 auto; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero .offer .btn + .trial { margin-top: -4px; }
.offer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.offer .price { display: flex; align-items: baseline; gap: 12px; }
.was { color: var(--dim); text-decoration: line-through; text-decoration-thickness: 2px; font-size: 18px; }
.now { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; }
.per { color: var(--dim); font-size: 12.5px; line-height: 1.35; }
.offer .trial { font-size: 13px; color: var(--accent); }

/* ---------- the UPDATE BOARD (hero object) ---------- */
.board { position: relative; }
.board::before { /* the glow of a lit screen in a dark room */
  content: ""; position: absolute; inset: 8% -4% -10% -4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(91, 142, 230, .22), transparent);
  filter: blur(10px);
}
.sheet {
  width: 100%; border-collapse: collapse; table-layout: fixed;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; /* the board is a Google Sheet: it looks like one */
  font-weight: 700; font-size: clamp(11px, 1.25vw, 16px); color: #111;
  background: var(--sh-white); border: 2px solid var(--sh-rule);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.sheet th, .sheet td { border: 1px solid var(--sh-rule); padding: 0 6px; height: 2.45em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet th { background: var(--sh-head); font-size: .92em; letter-spacing: .01em; }
.sheet td.grey { background: var(--sh-grey); }
.sheet .col-co { width: 16%; } .sheet .col-status { width: 13%; } .sheet .col-truck { width: 8%; } .sheet .col-driver { width: 15%; }
.sheet .col-type { width: 8%; } .sheet .col-ready { width: 19%; }
.sheet td.co { background: #d9d2e9; }
.sheet td.team { background: var(--st-ready); }
.chip { position: relative; padding-right: 18px !important; }
.chip::after { /* the dropdown arrow every status cell has */
  content: ""; position: absolute; right: 7px; top: 50%; margin-top: -2px;
  border: 4px solid transparent; border-top: 5px solid currentColor; opacity: .55;
}
.s-transit { background: var(--st-transit); }
.s-upcoming { background: var(--st-upcoming); }
.s-sleep { background: var(--st-sleep); color: #fff; }
.s-prebook { background: var(--st-prebook); color: #6e5a22; }
.s-hos { background: var(--st-hos); color: #f6b98a; }
.s-ready { background: var(--st-ready); }
.s-canceled { background: var(--st-canceled); }
.flip { animation: flip .6s cubic-bezier(.3, 1.5, .55, 1) both; transform-origin: 50% 50%; }
@keyframes flip { 0% { transform: rotateX(90deg); filter: brightness(1.6); } 100% { transform: none; filter: none; } }
.board-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--dim); }
.board-foot b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: .95; margin: 0 0 14px; letter-spacing: .005em; }
.intro { max-width: 40em; color: #c4bdab; margin: 0 0 40px; }

/* what gets done: a shift log, one job per row */
.log { border-top: 1px solid var(--line); }
.log-row { display: grid; grid-template-columns: minmax(0, 1.05fr) 168px minmax(0, 1.4fr); gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.log-row h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.05; margin: 0; }
.log-row .done { justify-self: start; font-weight: 600; font-size: 12.5px; color: var(--accent-ink); background: var(--accent); padding: 3px 9px; border-radius: 3px; white-space: nowrap; }
.log-row p { margin: 0; color: #b9b2a1; font-size: 14px; }

/* cost */
.cost { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 2px solid var(--line); }
.cost > div { background: var(--night); padding: clamp(22px, 3vw, 36px); }
.cost .who { color: var(--dim); font-size: 13px; margin: 0 0 6px; }
.cost .big { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 9vw, 120px); line-height: .9; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.cost .human .big { color: var(--dim); }
.cost .human .big s { text-decoration-thickness: .06em; }
.cost .big small { font-family: var(--text); font-weight: 400; font-size: clamp(14px, 1.4vw, 18px); color: var(--dim); margin-left: .5em; letter-spacing: 0; }
.cost .bot .big { color: var(--accent); }
.cost p:last-child { margin: 0; font-size: 14px; color: #b9b2a1; }
.saved { margin: 26px 0 0; font-size: 15px; }
.saved b { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--accent); margin: 0 4px; }

/* dispatchers: what reaches their Telegram */
.buddy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.buddy ul { list-style: none; margin: 0; padding: 0; }
.buddy li { padding: 14px 0; border-bottom: 1px solid var(--line); color: #c4bdab; font-size: 14px; }
.buddy li b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.chat { background: #17212b; border-radius: 14px; padding: 18px 16px 20px; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14.5px; line-height: 1.45; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.chat .title { color: #fff; font-weight: 600; font-size: 15px; padding: 0 4px 12px; border-bottom: 1px solid #0e1621; margin-bottom: 14px; }
.chat .title small { display: block; color: #6c7883; font-weight: 400; font-size: 13px; }
.msg { background: #182533; color: #f5f5f5; border-radius: 12px 12px 12px 4px; padding: 8px 12px 6px; margin: 0 0 8px; max-width: 92%; }
.msg .from { color: #73b9f5; font-weight: 600; font-size: 13.5px; }
.msg time { display: block; text-align: right; color: #6c7883; font-size: 11.5px; }
.msg.late { box-shadow: inset 3px 0 0 #e05a4e; }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); counter-reset: step; }
.steps li { background: var(--night); padding: 24px 22px 26px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 44px; margin-bottom: 18px; border-radius: 3px;
  font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--accent);
  background: linear-gradient(var(--flap) 0 49%, #000 49% 51%, var(--flap-low) 51%);
}
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.05; margin: 0 0 8px; }
.steps p { margin: 0; font-size: 14px; color: #b9b2a1; }
.stuck { margin: 22px 0 0; color: var(--dim); font-size: 14px; }
.stuck a { color: var(--accent); }

/* price */
.plan { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ticket { background: var(--flap); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 36px); position: relative; }
.ticket::before, .ticket::after { /* ticket punch-outs */
  content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--night); border: 1px solid var(--line);
}
.ticket::before { left: -12px; clip-path: inset(0 0 0 50%); } .ticket::after { right: -12px; clip-path: inset(0 50% 0 0); }
.ticket .name { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 0; }
.ticket .row { display: flex; align-items: baseline; gap: 14px; margin: 10px 0 4px; }
.ticket .now { font-size: 72px; }
.ticket .note { color: var(--accent); font-size: 13px; margin: 0 0 18px; }
.ticket ul { margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px dashed #3a3d3b; }
.ticket li { padding: 9px 0; border-bottom: 1px dashed #3a3d3b; font-size: 14px; }
.ticket .btn { width: 100%; justify-content: center; }

/* questions */
.faq details, .faq h2 { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--text); font-size: 22px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: #c4bdab; max-width: 44em; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--dim); font-size: 13px; }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer nav a { color: var(--ink); text-decoration: none; }
footer nav a:hover { color: var(--accent); }
footer .legal { grid-column: 1 / -1; max-width: 60em; margin: 0; }

/* the privacy page */
.doc { max-width: 760px; padding-top: clamp(24px, 5vw, 56px); padding-bottom: 80px; }
.doc h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: .92; margin: 0 0 10px; }
.doc .updated { color: var(--dim); margin: 0 0 40px; font-size: 13px; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin: 40px 0 10px; }
.doc p, .doc li { color: #c4bdab; }
.doc ul { padding-left: 1.2em; }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .buddy, .plan { grid-template-columns: minmax(0, 1fr); }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero .lede { flex: none; }
  .sheet { table-layout: auto; }
  .sheet col { width: auto !important; }
  .sheet .col-co, .sheet .c-co { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .log-row { grid-template-columns: minmax(0, 1fr) auto; }
  .log-row p { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  br.phone { display: inline; }
  body { font-size: 14.5px; }
  .clocks { display: none; }
  .top .btn span { display: none; }
  .cost, .steps { grid-template-columns: minmax(0, 1fr); }
  .sheet .col-type, .sheet .c-type, .sheet .col-driver, .sheet .c-driver { display: none; }
  .sheet th, .sheet td { padding: 6px 5px; height: auto; white-space: normal; }
  .sheet td.chip { white-space: nowrap; }
  .board-foot { flex-direction: column; gap: 2px; }
  .log-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
