@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --ink: #1b1c1f;
  --ink-2: #3a3c42;
  --ink-3: #6b6e76;
  --ink-4: #9a9ca3;
  --paper: #e5e8dd;
  --paper-2: #dbdfd2;
  --paper-3: #fbf9f4;
  --card: #ffffff;
  --line: #cdd2c2;
  --line-2: #bac0ad;
  --sunrise: #ff6b2c;
  --sunrise-soft: #ffe6d6;
  --moss: #1f7a55;
  --moss-soft: #d6ebdf;
  --sky: #0e6e8c;
  --sky-soft: #d2ecf2;
  --amber: #c9821a;
  --amber-soft: #fbe9c9;
  --rose: #b43a32;
  --rose-soft: #f7dbd8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(20, 18, 14, 0.04), 0 2px 6px rgba(20, 18, 14, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 18, 14, 0.06), 0 12px 30px rgba(20, 18, 14, 0.06);
  --shadow-lg: 0 16px 40px rgba(20, 18, 14, 0.1), 0 30px 80px rgba(20, 18, 14, 0.08);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

code,
.mono {
  font-family: var(--mono);
  font-feature-settings: "tnum" 1;
}

.app-shell {
  min-height: 100vh;
}

.ch-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ch-logo.light {
  color: var(--paper-3);
}

.ch-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sunrise);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.07);
  flex: 0 0 auto;
}

.ch-mark svg {
  width: 17px;
  height: 17px;
}

.ch-mark path {
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.ch-name {
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper-3);
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--sunrise);
  color: #ffffff;
}

.btn-accent:hover {
  box-shadow: 0 8px 20px rgba(255, 107, 44, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.topbar .btn-ghost,
.sidebar .btn-ghost {
  color: var(--paper-3);
  border-color: rgba(251, 249, 244, 0.2);
}

.btn-ghost:hover {
  background: var(--paper-2);
}

.topbar .btn-ghost:hover {
  background: rgba(251, 249, 244, 0.08);
}

.btn.small {
  padding: 8px 14px;
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.pill.active {
  background: var(--moss-soft);
  color: var(--moss);
}

.pill.active .dot {
  background: var(--moss);
  animation: pulse 1.6s infinite;
}

.pill.waiting {
  background: var(--amber-soft);
  color: var(--amber);
}

.pill.waiting .dot {
  background: var(--amber);
}

.pill.delivered {
  background: var(--sky-soft);
  color: var(--sky);
}

.pill.delivered .dot {
  background: var(--sky);
}

.pill.idle {
  background: #efeae0;
  color: var(--ink-3);
}

.pill.idle .dot {
  background: var(--ink-4);
}

.pill.alert {
  background: var(--rose-soft);
  color: var(--rose);
}

.pill.alert .dot {
  background: var(--rose);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.soft-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.muted {
  color: var(--ink-3);
}

.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sunrise);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-shell {
  background: var(--paper);
}

.landing-nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-2);
  font-size: 14px;
}

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 56px 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.landing-hero h1 {
  margin: 24px 0 20px;
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.landing-hero h1 span,
.customer-title h1 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sunrise);
}

.landing-hero p {
  margin: 0;
  max-width: 560px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
}

.proof-row {
  display: flex;
  gap: 24px;
  margin-top: 34px;
  color: var(--ink-3);
  font-size: 13px;
}

.hero-product {
  position: relative;
  min-height: 540px;
}

.preview-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.dispatcher-preview {
  left: 0;
  top: 0;
  width: 460px;
  padding: 22px;
  z-index: 2;
}

.customer-preview {
  right: 0;
  top: 36px;
  width: 320px;
  transform: rotate(2.2deg);
}

.driver-preview {
  right: 30px;
  bottom: 0;
  width: 240px;
  background: var(--ink);
  color: var(--paper-3);
  border: none;
  transform: rotate(-3deg);
  z-index: 3;
}

.driver-preview button {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border-radius: 999px;
  background: var(--sunrise);
  color: #ffffff;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.preview-load {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.preview-load code,
.preview-card code {
  color: var(--ink-2);
  font-size: 12px;
}

.preview-load div strong,
.preview-load div span {
  display: block;
}

.preview-load div strong {
  font-size: 13px;
  font-weight: 500;
}

.preview-load div span {
  color: var(--ink-3);
  font-size: 11px;
  margin-top: 2px;
}

.preview-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.driver-preview .preview-kicker,
.dark-note span {
  color: #ffa46b;
}

.dark-note {
  margin-top: 16px;
  padding: 14px;
  background: var(--ink);
  color: var(--paper-3);
  border-radius: var(--radius-md);
}

.dark-note span,
.note-head span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark-note code {
  display: block;
  margin-top: 6px;
  color: rgba(251, 249, 244, 0.9);
  line-height: 1.5;
}

.signal-bar {
  height: 9px;
  margin-top: 10px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.signal-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sunrise), #ffa46b);
  border-radius: 999px;
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 16px 56px 48px;
  max-width: 1440px;
  margin: 0 auto;
  color: var(--ink-3);
  font-size: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-strip strong {
  color: var(--ink-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
}

.split-section,
.steps-section,
.compliance-band {
  max-width: 1440px;
  margin: 0 auto;
}

.split-section {
  padding: 80px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-section h2,
.steps-section h2,
.compliance-band h2 {
  margin: 14px 0 18px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.split-section p,
.compliance-band p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.metric-list,
.marketplace-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
}

.metric-row:first-child {
  padding-top: 0;
}

.metric-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metric-row span {
  color: var(--ink-2);
  font-size: 14px;
}

.metric-row strong {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 500;
  text-align: right;
}

.steps-section {
  padding: 40px 56px 80px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 34px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  padding: 24px;
}

.step-card code {
  color: var(--ink-3);
  font-size: 12px;
}

.step-card strong {
  display: block;
  margin-top: 24px;
  font-size: 22px;
  font-weight: 500;
}

.step-card p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.compliance-band {
  max-width: none;
  background: var(--ink);
  color: var(--paper-3);
  padding: 80px 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.compliance-band > div {
  max-width: 640px;
}

.compliance-band h2 {
  color: var(--paper-3);
}

.compliance-band p {
  color: rgba(251, 249, 244, 0.7);
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.compliance-card {
  padding: 22px;
  border: 1px solid rgba(251, 249, 244, 0.12);
  border-radius: var(--radius-lg);
}

.compliance-card span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sunrise);
}

.compliance-card strong {
  font-size: 16px;
  font-weight: 500;
}

.compliance-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.marketplace-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.marketplace-icon {
  margin-bottom: 18px;
}

.landing-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 46px 56px 56px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.landing-footer p {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--ink-3);
  line-height: 1.6;
  font-size: 13px;
}

.landing-footer nav {
  display: flex;
  gap: 18px;
  color: var(--ink-3);
  font-size: 13px;
}

.info-page {
  min-height: 100vh;
  background: var(--paper);
}

.info-card {
  max-width: 820px;
  margin: 56px auto;
  padding: 34px;
}

.info-card h1 {
  margin: 10px 0 18px;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.info-card p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.topbar {
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper-3);
  border-bottom: 1px solid rgba(251, 249, 244, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-brand {
  display: inline-flex;
}

.topbar-subtitle {
  color: rgba(251, 249, 244, 0.62);
  font-size: 13px;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.command-shell {
  height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 220px 420px minmax(0, 1fr);
  overflow: hidden;
}

.sidebar {
  background: var(--ink);
  color: var(--paper-3);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar nav {
  display: grid;
  gap: 6px;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: rgba(251, 249, 244, 0.78);
  font-size: 14px;
}

.sidebar nav a.active {
  background: rgba(255, 107, 44, 0.16);
  color: #ffa46b;
}

.connection-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(251, 249, 244, 0.12);
  border-radius: var(--radius-md);
}

.connection-card span {
  display: block;
  color: #ffa46b;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.connection-card strong,
.connection-card code {
  display: block;
  margin-top: 5px;
}

.connection-card code {
  color: rgba(251, 249, 244, 0.55);
  font-size: 11px;
}

.load-board {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.board-head {
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
}

.board-head h1 {
  margin: 4px 0 18px;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.board-metrics {
  display: flex;
  gap: 10px;
}

.dash-metric {
  flex: 1;
  min-width: 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
}

.dash-metric > span {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
}

.dash-metric div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.dash-metric strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.board-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}

.board-filters button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  background: transparent;
  font-size: 13px;
}

.board-filters button.active {
  background: var(--ink);
  color: var(--paper-3);
}

.board-filters code {
  margin-left: auto;
  color: var(--ink-3);
  font-size: 12px;
}

.load-list {
  overflow: auto;
  flex: 1;
  padding: 10px 16px 16px;
}

.load-row {
  width: 100%;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  margin: 6px 0;
  border-radius: 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
}

.load-row.selected,
.load-row:hover {
  background: var(--card);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.load-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.load-row code {
  color: var(--ink-3);
  font-size: 11px;
}

.load-row > div:nth-child(2) strong,
.load-row > div:nth-child(2) span {
  display: block;
}

.load-row > div:nth-child(2) strong {
  font-size: 14px;
  font-weight: 500;
}

.load-row > div:nth-child(2) span {
  color: var(--ink-3);
  font-size: 12px;
  margin-top: 4px;
}

.row-arrow {
  color: var(--ink-4);
  font-size: 22px;
}

.detail-pane {
  overflow: auto;
  padding: 28px;
}

.composer {
  padding: 18px;
  margin-bottom: 16px;
}

.panel-heading {
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.tender-form {
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-section {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px 20px;
}

.form-section-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.form-section-head h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.form-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-section-grid .field.full {
  grid-column: 1 / -1;
}

.form-section-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

.form-section-submit {
  display: flex;
  justify-content: flex-end;
  background: transparent;
  border: none;
  padding: 0;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2, #fff);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  width: max-content;
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--sunrise, #ff7a1a);
}

@media (max-width: 720px) {
  .form-section-grid {
    grid-template-columns: 1fr;
  }
}

.tender-block {
  padding: 18px 22px 22px;
  background: var(--paper-2, #fff);
  border-top: 1px solid var(--line);
}

.tender-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.tender-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--paper-3, #f4f6f1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tender-card .section-kicker {
  margin-bottom: 4px;
}

.stat-grid.compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.stat-grid.compact .fact {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  background: var(--paper-2, #fff);
}

.stat-grid.compact .fact span {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-grid.compact .fact strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

label {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-3);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 74px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--sunrise);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.14);
}

.stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.ref-line {
  display: flex;
  gap: 10px;
  align-items: center;
}

.detail-head h2 {
  margin: 8px 0 4px;
  font-size: 30px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.detail-head p {
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
}

.detail-actions {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-grid,
.customer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 22px;
}

.fact {
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-3);
}

.fact span {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fact strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.two-column {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  padding: 0 22px 22px;
}

.two-column > .card {
  padding: 18px;
}

.note-card {
  background: var(--ink);
  color: var(--paper-3);
  border: none;
}

.note-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.note-head span {
  color: #ffa46b;
}

.note {
  white-space: pre-wrap;
  margin: 14px 0 0;
  padding: 0;
  background: transparent;
  color: rgba(251, 249, 244, 0.9);
  border: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
}

.link-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.link-box label,
.link-box code {
  display: block;
}

.link-box code {
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.notice {
  display: grid;
  gap: 4px;
  padding: 13px;
  background: var(--moss-soft);
  border-left: 4px solid var(--moss);
  border-radius: var(--radius-sm);
}

.notice.warning {
  background: var(--amber-soft);
  border-color: var(--amber);
}

.audit-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px 22px;
  color: var(--ink-3);
  font-size: 12px;
}

.audit-line span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

.empty {
  padding: 28px;
  color: var(--ink-3);
  text-align: center;
}

.driver-shell {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: start center;
  padding: 34px 20px;
  background: var(--paper);
}

.driver-shell.active {
  background: var(--ink);
}

.driver-phone {
  width: min(390px, 100%);
  min-height: 720px;
  padding: 30px 22px 22px;
  border-radius: 34px;
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
}

.driver-shell.active .driver-phone {
  background: var(--ink);
  color: var(--paper-3);
  border: 1px solid rgba(251, 249, 244, 0.12);
}

.driver-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.driver-head code,
.driver-title code {
  color: var(--ink-3);
  font-size: 11px;
}

.driver-shell.active .driver-head code,
.driver-shell.active .driver-title code {
  color: rgba(251, 249, 244, 0.6);
}

.driver-title {
  margin-top: 28px;
}

.driver-title h1 {
  margin: 6px 0 8px;
  font-size: 30px;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.route-card {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 18px;
  margin-top: 20px;
}

.route-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.route-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.route-dots span:last-child {
  background: var(--sunrise);
}

.route-dots i {
  width: 2px;
  height: 42px;
  margin: 5px 0;
  background: var(--line-2);
}

.route-card span,
.route-card strong {
  display: block;
}

.route-card span {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.route-card span:first-child {
  margin-top: 0;
}

.route-card strong {
  margin-top: 3px;
  font-size: 15px;
  font-weight: 500;
}

.consent-card {
  margin-top: 16px;
  padding: 18px;
}

.consent-card h2 {
  margin: 8px 0 8px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.consent-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 14px;
}

.driver-shell.active .consent-card {
  background: rgba(251, 249, 244, 0.05);
  border-color: rgba(251, 249, 244, 0.1);
}

.driver-shell.active .consent-card p {
  color: rgba(251, 249, 244, 0.72);
}

.consent-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.consent-list div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
}

.consent-list span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sunrise-soft);
  color: var(--sunrise);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}

.consent-list strong {
  font-size: 13px;
  font-weight: 500;
}

.consent-list p {
  grid-column: 2;
  margin-top: -6px;
  color: var(--ink-3);
  font-size: 12px;
}

.ping-summary {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--paper);
}

.driver-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.driver-actions .btn {
  width: 100%;
}

.customer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 64px 56px;
}

.customer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.customer-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 12px;
}

.customer-title {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: end;
  margin-top: 36px;
}

.customer-title code {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.customer-title h1 {
  margin: 10px 0 6px;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.customer-title p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

.customer-title > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.customer-stats {
  padding: 0;
  margin-top: 32px;
}

.customer-stats .fact {
  background: var(--card);
  padding: 22px;
}

.customer-stats .fact strong {
  font-family: var(--mono);
  font-size: 34px;
  letter-spacing: -0.02em;
}

.customer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  margin-top: 16px;
}

.signal-card,
.milestones-card {
  padding: 24px;
}

.signal-card h2 {
  margin: 8px 0 4px;
  font-size: 18px;
  font-weight: 500;
}

.signal-card code {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.signal-card p {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}

.signal-card small {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-family: var(--mono);
}

.timeline {
  margin-top: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 18px 1fr;
  gap: 14px;
  align-items: start;
  padding: 8px 0;
}

.timeline-item code {
  color: var(--ink-2);
  font-size: 12px;
}

.timeline-item > span {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--sunrise);
}

.timeline-item strong {
  font-size: 14px;
  font-weight: 500;
}

.customer-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: var(--ink-3);
  font-size: 12px;
}

.customer-foot div {
  display: flex;
  gap: 14px;
}

@media (max-width: 1180px) {
  .command-shell {
    grid-template-columns: 190px 370px minmax(0, 1fr);
  }

  .landing-hero h1 {
    font-size: 60px;
  }
}

@media (max-width: 980px) {
  .landing-nav nav {
    display: none;
  }

  .landing-hero,
  .split-section,
  .compliance-band,
  .customer-title,
  .customer-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 620px;
  }

  .dispatcher-preview {
    width: min(460px, 100%);
  }

  .customer-preview,
  .driver-preview {
    right: 0;
  }

  .steps-grid,
  .compliance-grid,
  .stat-grid,
  .customer-stats {
    grid-template-columns: 1fr 1fr;
  }

  .command-shell {
    height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .sidebar {
    display: none;
  }

  .load-board,
  .detail-pane {
    min-height: auto;
    overflow: visible;
  }

  .customer-title > div:last-child {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .landing-nav,
  .landing-hero,
  .split-section,
  .steps-section,
  .customer-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .landing-nav,
  .landing-footer,
  .customer-head,
  .customer-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-hero h1,
  .customer-title h1 {
    font-size: 42px;
  }

  .proof-row,
  .logo-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-product {
    min-height: 680px;
  }

  .preview-card {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    margin-bottom: 12px;
  }

  .steps-grid,
  .compliance-grid,
  .stat-grid,
  .customer-stats,
  .form-grid,
  .driver-actions {
    grid-template-columns: 1fr;
  }

  .topbar {
    height: auto;
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  .board-metrics,
  .board-filters,
  .detail-head {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-pane {
    padding: 16px;
  }

  .load-row {
    grid-template-columns: 1fr;
  }

  .row-arrow {
    display: none;
  }

  .link-box {
    grid-template-columns: 1fr;
  }
}
