/* ============================================================
   BIG TRACK LOGISTICS — ops-deck command center
   Archivo (variable width) + IBM Plex Mono
   ============================================================ */

:root {
  --ink-0: #04080f;
  --ink-1: #070e1a;
  --ink-2: #0c1626;
  --ink-3: #11203a;
  --line: rgba(132, 165, 208, 0.16);
  --line-soft: rgba(132, 165, 208, 0.09);
  --text-hi: #eef4fb;
  --text-mid: #a3b5cb;
  --text-low: #5f7693;
  --orange: #ff5a22;
  --orange-hot: #ff7a45;
  --cyan: #36d8fe;
  --cyan-dim: rgba(54, 216, 254, 0.55);
  --glass: rgba(11, 21, 38, 0.66);
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --header-h: 72px;
  --pad-x: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(54, 216, 254, 0.06), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 90, 34, 0.05), transparent 55%),
    var(--ink-0);
  color: var(--text-hi);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #0a0501; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-0); }
::-webkit-scrollbar-thumb {
  background: var(--ink-3);
  border: 2px solid var(--ink-0);
  border-radius: 6px;
}

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

h1, h2, h3 { margin: 0; text-wrap: balance; }
p, dl, dd, dt { margin: 0; }
a { color: inherit; text-decoration: none; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* film grain */
.noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: 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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ header ============ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: var(--header-h);
  padding: 0 var(--pad-x);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 8, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent 35%, transparent 65%, var(--cyan));
  opacity: 0.85;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark { height: 30px; width: auto; display: block; }

.brand-word {
  font-variation-settings: "wdth" 116;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: 0.04em;
  display: inline-flex;
  flex-direction: column;
}

.brand-word em {
  font-style: normal;
  color: var(--text-low);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2.2vw, 30px);
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--text-hi); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-tools {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  flex-shrink: 0;
  margin-left: auto;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border: 1px solid rgba(54, 216, 254, 0.28);
  background: rgba(54, 216, 254, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.login-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: color 0.2s ease;
}
.login-link:hover { color: var(--text-hi); }

/* buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.button:hover svg { transform: translateX(3px); }

.button-primary {
  background: var(--orange);
  color: #16070a;
  box-shadow: 0 0 0 rgba(255, 90, 34, 0);
}

.button-primary:hover {
  background: var(--orange-hot);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 90, 34, 0.35);
}

.button-ghost {
  border-color: var(--line);
  color: var(--text-hi);
  background: rgba(132, 165, 208, 0.04);
}

.button-ghost:hover {
  border-color: var(--cyan-dim);
  background: rgba(54, 216, 254, 0.07);
  transform: translateY(-1px);
}

.button-lg { padding: 17px 30px; font-size: 17px; }

.header-cta { padding: 10px 18px; font-size: 14px; }

/* burger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-hi);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: rgba(4, 8, 15, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 40px var(--pad-x);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a:not(.button) {
  font-family: var(--font-mono);
  font-size: clamp(22px, 6vw, 30px);
  letter-spacing: 0.06em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-hi);
}

.mobile-menu .button { margin-top: 24px; justify-content: center; }

/* ============ hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 70px));
  overflow: hidden;
}

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 15, 0.92) 0%, rgba(4, 8, 15, 0.55) 44%, rgba(4, 8, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.65) 0%, transparent 30%, transparent 62%, rgba(4, 8, 15, 0.92) 100%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(closest-side at 70% 40%, rgba(0, 0, 0, 0.5), transparent);
  -webkit-mask-image: radial-gradient(closest-side at 70% 40%, rgba(0, 0, 0, 0.5), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: 0 var(--pad-x);
  flex: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.eyebrow-tick {
  width: 22px;
  height: 8px;
  flex-shrink: 0;
  background:
    linear-gradient(90deg, var(--cyan) 0 6px, transparent 6px 8px,
      var(--cyan) 8px 14px, transparent 14px 16px, var(--cyan) 16px 22px);
  animation: tick-blink 2.4s steps(2) infinite;
}

@keyframes tick-blink {
  0%, 70% { opacity: 1; }
  85%, 100% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 0.99;
  font-weight: 780;
  font-variation-settings: "wdth" 113;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: clamp(18px, 3vh, 30px);
}

.h1-line { display: block; overflow: hidden; white-space: nowrap; }
.h1-line > span { display: inline-block; }

.h1-line.accent > span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
  text-shadow: 0 0 36px rgba(255, 90, 34, 0.32);
}

.hero-text {
  max-width: 52ch;
  color: var(--text-mid);
  font-size: clamp(15px, 1.35vw, 18px);
  margin-bottom: clamp(22px, 3.4vh, 36px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* hero cards */
.hero-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}

.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.glass::before {
  /* scanlines */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(150, 190, 240, 0.025) 0 1px, transparent 1px 4px);
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--cyan-dim);
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.shipment-card { padding: clamp(20px, 2.4vw, 28px); }

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.card-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-low);
}

.card-id { font-size: 13px; font-weight: 600; color: var(--cyan); }

.card-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.status-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  font-variation-settings: "wdth" 108;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}

.eta { font-size: 11px; color: var(--text-low); }

.route-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.route-node {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--cyan-dim);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.route-node.done { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 8px var(--cyan-dim); }

.route-track {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(132, 165, 208, 0.18);
}

.route-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.route-ship {
  position: absolute;
  top: 50%;
  left: 62%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 90, 34, 0.8);
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.detail-list dt {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-low);
  margin-bottom: 4px;
}

.detail-list dd {
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-list .dim {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-low);
  letter-spacing: 0.1em;
}

.exception-card {
  padding: 16px 20px;
  border-left: 3px solid var(--orange);
  margin-right: clamp(0px, 4vw, 56px);
}

.exc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange-hot);
  margin-bottom: 8px;
}

.exc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.exc-body { font-size: 14px; font-weight: 600; margin-bottom: 8px; }

.exc-meta { font-size: 10px; color: var(--text-low); letter-spacing: 0.12em; }

/* trust marquee */
.trust-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-soft);
  margin-top: clamp(28px, 5vh, 56px);
  padding: 18px 0 22px;
  background: linear-gradient(180deg, rgba(4, 8, 15, 0.4), rgba(4, 8, 15, 0.75));
}

.trust-strip > p {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--text-low);
  padding: 0 var(--pad-x);
  margin-bottom: 12px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  padding-left: 34px;
  animation: marquee 34s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-mid);
}

.marquee-track i {
  font-style: normal;
  color: var(--orange);
  font-size: 11px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============ stats band ============ */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-soft);
  background: var(--ink-1);
}

.stat {
  padding: clamp(26px, 3.4vw, 44px) clamp(18px, 2.6vw, 40px);
  border-right: 1px solid var(--line-soft);
}

.stat:last-child { border-right: 0; }

.stat-num {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  color: var(--text-low);
  max-width: 24ch;
}

/* ============ sections ============ */

.section {
  padding: clamp(72px, 11vh, 130px) var(--pad-x);
  position: relative;
}

.section-heading { max-width: 760px; margin-bottom: clamp(40px, 6vh, 64px); }

.section h2 {
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.04;
  font-weight: 760;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.01em;
}

/* platform features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.feature-card {
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover { transform: translateY(-5px); border-color: rgba(54, 216, 254, 0.35); }
.feature-card:hover .corner { border-color: var(--cyan); }
.feature-card:nth-child(2) { margin-top: 22px; }

.feature-index {
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.2em;
  margin-bottom: 22px;
}

.feature-glyph {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 8px rgba(54, 216, 254, 0.35));
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 740;
  font-variation-settings: "wdth" 110;
  margin-bottom: 10px;
}

.feature-card h3 + p {
  color: var(--text-mid);
  font-size: 15px;
  margin-bottom: 18px;
}

.feature-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-low);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* split / timeline */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
  background:
    radial-gradient(700px 420px at 88% 50%, rgba(54, 216, 254, 0.05), transparent 60%),
    var(--ink-0);
}

.split-copy h2 { margin-bottom: 18px; }

.split-text {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 46ch;
  margin-bottom: 28px;
}

.timeline-panel { padding: clamp(24px, 3vw, 40px); }

.timeline-panel .card-label { margin-bottom: 26px; }

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 30px;
}

.timeline-spine {
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(132, 165, 208, 0.16);
}

.timeline-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  transform-origin: top;
  transform: scaleY(0.55);
}

.timeline-item { position: relative; }

.tl-node {
  position: absolute;
  left: -30px;
  top: 5px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--text-low);
  background: var(--ink-1);
  transform: rotate(45deg);
}

.timeline-item.is-done .tl-node {
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(54, 216, 254, 0.6);
}

.timeline-item.is-active .tl-node {
  border-color: var(--orange);
  background: var(--ink-1);
  box-shadow: 0 0 12px rgba(255, 90, 34, 0.55);
  animation: pulse 1.6s ease-in-out infinite;
}

.tl-time {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-low);
  margin-bottom: 4px;
}

.timeline-item.is-active .tl-time { color: var(--orange-hot); }

.timeline-item strong {
  display: block;
  font-size: 17px;
  font-weight: 740;
  font-variation-settings: "wdth" 108;
  margin-bottom: 3px;
}

.timeline-item em {
  font-style: normal;
  color: var(--text-mid);
  font-size: 14px;
}

/* proof / cta */
.proof-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-1);
  padding: clamp(56px, 9vh, 110px) clamp(24px, 6vw, 90px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proof-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(46% 38% at 50% 118%, rgba(255, 90, 34, 0.22), transparent 70%),
    radial-gradient(40% 32% at 18% -8%, rgba(54, 216, 254, 0.12), transparent 70%);
  pointer-events: none;
}

.proof-card > * { position: relative; }

.proof-card h2 {
  max-width: 18ch;
  margin: 0 auto 18px;
  font-size: clamp(32px, 4.8vw, 62px);
}

.proof-text {
  color: var(--text-mid);
  max-width: 52ch;
  margin: 0 auto 30px;
  font-size: 16px;
}

.proof-meta {
  margin-top: 22px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--text-low);
}

/* ============ footer ============ */

.footer-section {
  border-top: 1px solid var(--line-soft);
  padding: clamp(48px, 7vh, 80px) var(--pad-x) 28px;
  background: var(--ink-1);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 48px;
}

.footer-blurb {
  color: var(--text-mid);
  max-width: 34ch;
  font-size: 15px;
}

.footer-nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  margin-left: auto;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--cyan); }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-low);
}

/* ============ reveal defaults (GSAP enhances) ============ */

[data-reveal] { opacity: 1; }

/* ============ responsive ============ */

@media (max-width: 1320px) {
  .live-chip { display: none; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .live-chip { display: none; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-cards { margin-left: 0; max-width: 520px; }
  .exception-card { margin-right: 0; }

  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line-soft); }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(2) { margin-top: 0; }

  .section-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .login-link { display: none; }
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .header-cta svg { display: none; }

  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero h1 { font-size: clamp(34px, 10vw, 50px); }
  .h1-line { white-space: normal; }
  .hero-actions .button { width: 100%; justify-content: center; }

  .detail-list { grid-template-columns: 1fr; gap: 12px; }

  .stats-band { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: 0; }

  .footer-nav { margin-left: 0; }
}
