/* ECO TAXI 37 — Console Dispatch LP
   Seed 42cbb523 · craft: emil-design-eng (press, ease-out, transform/opacity only) */

:root {
  --black: #070a0c;
  --console: #0b0f12;
  --panel: #151c22;
  --panel-2: #1c262e;
  --line: #2a3640;
  --mist: #e8eef2;
  --white: #f4f7f8;
  --muted: #8b98a3;
  --text: #d7dee4;
  --accent: #00c2d4;
  --accent-deep: #009aab;
  --accent-soft: rgba(0, 194, 212, 0.14);
  --priority: #ffb020;
  --danger-soft: #ff6b4a;
  --header-h: 4.25rem;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --container: 1120px;
  --radius: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --sans: "Archivo", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--console);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--black);
  font-weight: 700;
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* Buttons — Emil: active scale, ease-out, under 300ms */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 194, 212, 0.28);
}

.btn--primary:hover {
  background: #2ad4e4;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-dark {
  background: transparent;
  border-color: rgba(11, 15, 18, 0.25);
  color: var(--black);
}

.btn--ghost-dark:hover {
  border-color: var(--black);
}

.btn--xl {
  min-height: 3.4rem;
  padding-inline: 1.55rem;
  font-size: 1.05rem;
}

.btn--header {
  padding-inline: 1.1rem;
  min-height: 2.65rem;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(11, 15, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 54, 64, 0.9);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.header-inner {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.brand img {
  height: 2.35rem;
  width: auto;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  justify-self: start;
  font-size: 0.82rem;
  color: var(--muted);
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 194, 212, 0.55);
  animation: pulse 2.2s var(--ease-out) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 194, 212, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 194, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 212, 0);
  }
}

.live-code {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.header-nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.header-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease;
}

.header-nav a:hover {
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: ken 18s var(--ease-move) alternate infinite;
}

@keyframes ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 10, 12, 0.92) 0%, rgba(7, 10, 12, 0.72) 42%, rgba(7, 10, 12, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 10, 12, 0.88) 0%, transparent 48%);
}

.hero-panel {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 7rem) 0 clamp(2.5rem, 6vh, 3.5rem);
  max-width: 40rem;
}

.dispatch-tag {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.dispatch-tag .mono {
  color: var(--accent);
  font-size: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 1.6rem;
  color: #c5ced6;
  max-width: 36rem;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.cta-band--compact {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mist);
  background: rgba(0, 0, 0, 0.28);
}

/* Services */
.services {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--console);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 38rem;
}

.section-head h2,
.split-copy h2,
.reserve-copy h2,
.close-inner h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head--light h2 {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  transition:
    transform 200ms var(--ease-out),
    border-color 200ms ease,
    background-color 200ms ease;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 194, 212, 0.45);
}

.service-media {
  overflow: hidden;
  background: #0a0e11;
}

.service-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}

.service:hover .service-media img {
  transform: scale(1.04);
}

.service-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-body h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.service-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-cta {
  align-self: start;
  margin-top: 0.55rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    border-color 160ms ease,
    transform 160ms var(--ease-out);
}

.service-cta:hover {
  border-color: var(--accent);
}

.service-cta:active {
  transform: scale(0.97);
}

.service--text {
  grid-template-rows: 1fr;
  min-height: 11rem;
  background:
    linear-gradient(145deg, rgba(0, 194, 212, 0.1), transparent 55%),
    var(--panel);
}

.service--text .service-body {
  justify-content: center;
  padding: 1.5rem 1.35rem;
}

/* Proof bank — saturated color field */
.proof-bank {
  background: var(--accent);
  color: var(--black);
  padding: 1.35rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.proof-grid p {
  margin: 0;
  display: grid;
  gap: 0.15rem;
}

.proof-grid strong {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.proof-grid span {
  font-size: 0.88rem;
  opacity: 0.78;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--mist);
  color: var(--black);
}

.split-media {
  min-height: 100%;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-copy {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy h2 {
  color: var(--black);
}

.split-copy > p {
  margin: 0 0 1.2rem;
  color: #3b4751;
  max-width: 34rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--accent);
}

/* Timeline */
.timeline {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 194, 212, 0.12), transparent 40%),
    var(--panel);
  border-block: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--console);
}

.steps li {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
}

.step-code {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
}

.steps h3 {
  margin: 0 0 0.4rem;
  color: var(--white);
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Voices */
.voices {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--console);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.voice {
  margin: 0;
  padding: 1.35rem;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.voice p {
  margin: 0;
  color: #c9d2d9;
  font-size: 0.98rem;
}

/* Reserve */
.reserve {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: #10161b;
}

.reserve-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}

.reserve-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 28rem;
}

.paperform-wrap {
  background: var(--white);
  color: var(--black);
  border-radius: 14px;
  padding: 0.5rem;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

/* Close bank — saturated */
.close-bank {
  background: var(--accent);
  color: var(--black);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.close-inner {
  text-align: center;
}

.close-inner h2 {
  color: var(--black);
}

.close-inner > p {
  margin: 0 0 1.4rem;
  opacity: 0.8;
}

.close-bank .btn--primary {
  background: var(--black);
  color: var(--white);
  box-shadow: none;
}

.close-bank .btn--primary:hover {
  background: #1a2228;
}

.close-bank .btn--ghost {
  border-color: rgba(0, 0, 0, 0.35);
  color: var(--black);
  background: rgba(255, 255, 255, 0.25);
}

.close-bank .cta-band {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #050708;
  padding: 3rem 0 6.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 2.2rem;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-label {
  margin: 0 0 0.45rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-grid a {
  color: var(--white);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42, 54, 64, 0.7);
  font-size: 0.82rem;
}

.footer-legal a {
  color: var(--white);
}

/* Float call */
.float-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 194, 212, 0.4);
  transition: transform 160ms var(--ease-out);
}

.float-call:active {
  transform: scale(0.97);
}

.float-call__icon {
  display: grid;
  place-items: center;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out),
    filter 420ms var(--ease-out);
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  filter: blur(2px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Mentions page */
.legal-page {
  background: var(--console);
  color: var(--text);
  min-height: 100vh;
}

.legal {
  width: min(100% - 2 * var(--gutter), 48rem);
  margin: 0 auto;
  padding: 6rem 0 4rem;
}

.legal h1 {
  color: var(--white);
  letter-spacing: -0.03em;
}

.legal h2 {
  margin-top: 2rem;
  color: var(--white);
  font-size: 1.2rem;
}

.legal a {
  color: var(--accent);
}

.legal-intro {
  margin-bottom: 2rem;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--panel);
  color: var(--white);
  font-weight: 600;
}

.page-hero {
  padding: 5.5rem 0 1.5rem;
  background: var(--console);
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.section.legal-wrap,
main > .section {
  padding-bottom: 4rem;
}

/* Responsive */
@media (min-width: 860px) {
  .header-nav {
    display: flex;
    justify-self: end;
  }

  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .voices-grid,
  .steps,
  .reserve-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .live-meta {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .live-status {
    display: none;
  }

  .hero-panel {
    max-width: none;
  }

  .float-call span:last-child {
    /* keep label for clarity on conversion LP */
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .live-dot,
  .reveal,
  .btn,
  .visual img,
  .service-media img,
  .float-call {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
