/* ===== Transport Evidence — site styles ===== */
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0b3b6f;
  --brand-ink: #ffffff;
  --accent: #0ea5a4;
  --accent-text: #0f766e;
  --accent-badge: #0f766e;
  --accent-soft: #ccfbf1;
  --highlight: #f59e0b;
  --dark-bg: #0b1f3a;
  --dark-surface: #11294a;
  --dark-ink: #e6eef8;
  --dark-muted: #a9bdd6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 59, 111, 0.08);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1424;
    --surface: #101d33;
    --ink: #e6eef8;
    --muted: #a9bdd6;
    --line: #1f2f4a;
    --brand: #4f8fd8;
    --brand-ink: #0a1424;
    --accent-text: #5eead4;
    --accent-soft: #0f3f3f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
:root[data-theme="dark"] {
  --bg: #0a1424;
  --surface: #101d33;
  --ink: #e6eef8;
  --muted: #a9bdd6;
  --line: #1f2f4a;
  --brand: #4f8fd8;
  --brand-ink: #0a1424;
  --accent-text: #5eead4;
  --accent-soft: #0f3f3f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin: 0 auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 0.6em;
}
.section { padding: 80px 0; }
.section-muted { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 720px; color: var(--muted); margin-bottom: 2rem; }

/* ----- header / nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand strong { font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ----- buttons ----- */
.btn {
  display: inline-block;
  background: var(--brand); color: var(--brand-ink);
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid var(--brand);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-small { padding: 8px 16px; font-size: 0.9rem; color: var(--brand-ink) !important; }
.btn-large { padding: 15px 30px; font-size: 1.05rem; }

/* ----- hero ----- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.hero-art .hero-svg { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); display: block; }
.hero-svg .corridor { animation: corridor-flow 2.4s linear infinite; }
@keyframes corridor-flow { to { stroke-dashoffset: -48; } }

/* ----- cards ----- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.card-plain { box-shadow: none; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-text);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.audience { margin-top: 28px; color: var(--muted); }

/* ----- how it works (dark band) ----- */
.section-dark { background: var(--dark-bg); color: var(--dark-ink); }
.section-dark .eyebrow { color: #5eead4; }
.section-dark h2 { color: #ffffff; }
.steps {
  list-style: none; padding: 0; margin: 36px 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.steps li {
  background: var(--dark-surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.steps h3 { color: #ffffff; font-size: 1.05rem; }
.steps p { color: var(--dark-muted); font-size: 0.95rem; margin: 0; }
.step-num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-badge); color: #ffffff; font-weight: 700; margin-bottom: 14px;
}
.callout {
  background: rgba(94, 234, 212, 0.08);
  border-left: 4px solid #5eead4;
  border-radius: 10px;
  padding: 18px 22px;
  color: var(--dark-ink);
}
.callout strong { color: #ffffff; margin-right: 6px; }

/* ----- team ----- */
.team-grid { margin-top: 10px; }
.person {
  display: grid; grid-template-columns: 140px 1fr; gap: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--surface); box-shadow: var(--shadow); }
.person h3 { margin-bottom: 0.1em; }
.role { color: var(--accent-text); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.8em; }
.person p { font-size: 0.96rem; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.links a { font-weight: 500; font-size: 0.92rem; }

/* ----- contact ----- */
.section-contact { padding-bottom: 96px; }
.section-contact p { color: var(--muted); }
.contact-meta { margin-top: 18px; font-size: 0.9rem; }

/* ----- footer ----- */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 0.9rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-row p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--muted); }

/* ----- responsive ----- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 16px 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .site-nav .btn-small { margin-top: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 32px; }
  .grid-4, .grid-3, .steps { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; justify-items: start; }
}


/* ===== additions: multi-page site ===== */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--highlight); outline-offset: 3px; border-radius: 6px;
}
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-svg .corridor { animation: none; }
  .btn { transition: none; }
}

/* page hero (subpages) */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero .lead { max-width: 720px; }
.center-row { justify-content: center; }
.more { margin-top: 26px; font-weight: 500; }
.audience a { margin-left: 8px; font-weight: 500; }

/* workflow stages */
.stage-list { display: grid; gap: 18px; margin-top: 28px; }
.stage {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.stage .step-num { margin: 0; }
.stage h3 { margin-bottom: 0.3em; }
.stage p { margin: 0; color: var(--muted); }

/* table */
.table-wrap { overflow-x: auto; margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 600; width: 28%; }
.table td { color: var(--muted); }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 18px; }

/* illustrative example (dark band) */
.dark-lead { color: var(--dark-muted); max-width: 680px; }
.example { display: grid; gap: 14px; margin-top: 24px; }
.example-q, .example-a {
  background: var(--dark-surface); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 18px 20px; color: var(--dark-ink);
}
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.example-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 18px; }
.example-card strong { display: block; color: #fff; margin: 6px 0 8px; }
.example-card p { margin: 0; color: var(--dark-muted); font-size: 0.93rem; }
.tag {
  display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700;
  color: #5eead4; margin-right: 8px;
}

/* two-column text blocks */
.approach-grid { gap: 40px; align-items: start; }
.approach-grid p { color: var(--muted); }
.approach-grid ul { color: var(--muted); }

/* use cases */
.usecase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.usecase-q { color: var(--brand); font-style: italic; margin-bottom: 1em; }
.usecase dl { margin: 0; display: grid; gap: 10px; }
.usecase dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-text); font-weight: 700; }
.usecase dd { margin: 0 0 6px; color: var(--muted); font-size: 0.96rem; }

/* founder profiles */
.profile {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-top: 22px;
}
.profile p { color: var(--muted); }
.profile h4 { margin: 1.2em 0 0.5em; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.avatar-lg { width: 180px; height: 180px; }
.pubs { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 0.93rem; }
.pubs li { margin-bottom: 8px; }

/* contact */
.checklist { padding-left: 1.2em; color: var(--muted); }
.checklist li { margin-bottom: 6px; }
.faq { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 10px; color: var(--accent); font-size: 1.3rem; font-weight: 500; }
.faq[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); margin: 0 0 14px; }

/* prose (privacy) */
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p { color: var(--muted); }

/* footer */
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding-bottom: 18px; }
.footer-tagline { margin: 12px 0 4px; max-width: 420px; }
.footer-meta { margin: 0; }
.footer-links { flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 16px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; }

@media (max-width: 820px) {
  .example-grid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stage { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 28px; }
}


/* ===== additions: review pass ===== */
[id] { scroll-margin-top: 84px; }
.strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip p { margin: 0; padding: 14px 0; text-align: center; font-size: 0.92rem; color: var(--muted); }
.compare { margin-top: 28px; }
.compare thead th:first-child { width: 22%; }
.sub { margin-top: 1.8em; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.principles { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.principles li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: 0.96rem; }
.principles strong { color: var(--ink); }
.dark-cards article { background: var(--dark-surface); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 24px; }
.dark-cards h3 { color: #fff; font-size: 1.05rem; }
.dark-cards p { color: var(--dark-muted); margin: 0; font-size: 0.95rem; }
@media print {
  .site-header, .nav-toggle, .cta-row, .footer-links, .hero-art, .skip, .section-contact { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .hero, .page-hero { padding: 14pt 0; }
  .section-dark, .steps li, .example-q, .example-a, .example-card, .dark-cards article { background: #fff; color: #000; border: 1px solid #999; }
  .section-dark h2, .section-dark h3, .steps h3, .steps p, .dark-lead, .example-card p, .dark-cards h3, .dark-cards p, .callout, .callout strong { color: #000; }
  a { color: #000; text-decoration: underline; }
}


/* ===== demo section ===== */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.demo-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.demo-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0; }
.demo-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-badge); color: #fff; font-size: 0.85rem; font-weight: 700; }
.chat { display: grid; gap: 10px; }
.msg { margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; }
.msg.user { background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 4px; margin-left: 18px; }
.msg.bot { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; margin-right: 18px; }
.mini { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mini th, .mini td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.mini thead th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--bg); }
.mini tbody tr:last-child td { border-bottom: 0; }
.results td, .results th { text-align: right; white-space: nowrap; }
.results td:first-child, .results th:first-child { text-align: left; white-space: normal; }
.results .best { background: var(--accent-soft); font-weight: 600; }
.delta { color: var(--muted); font-size: 0.78rem; font-weight: 400; }
.demo-meta { margin: 0; font-size: 0.9rem; color: var(--muted); }
.badge { margin: auto 0 0; font-size: 0.78rem; font-weight: 600; color: var(--accent-text); border-top: 1px dashed var(--line); padding-top: 10px; }
@media (max-width: 1000px) { .demo-grid { grid-template-columns: 1fr; } }


/* ===== supported-by strip ===== */
.supported .container { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 12px 0; }
.supported-label { margin: 0; padding: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.supported-logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; color: var(--ink); }
.supported-logos img { height: 36px; width: auto; opacity: 0.85; }
