/* ── Zero Logistics — shared tokens & chrome ─────────────────────── */
:root {
  --zero-blue:    #0085CA;
  --zero-glacier: #00B4E6;
  --zero-deep:    #004E7C;
  --zero-carbon:  #0D0D0D;
  --zero-ice:     #F0F7FB;

  --bg:        #F5FAFD;
  --bg-ice:    radial-gradient(1200px 600px at 80% -10%, #DCEFF8 0%, transparent 60%),
               radial-gradient(900px 500px at -10% 110%, #E8F4FA 0%, transparent 55%),
               #F5FAFD;

  --surface:   #FFFFFF;
  --surface-2: #F8FBFD;
  --surface-3: #F1F6FA;

  --fg:        #0D0D0D;
  --fg-muted:  rgba(13,13,13,0.56);
  --fg-dim:    rgba(13,13,13,0.40);

  --border:        rgba(0, 78, 124, 0.10);
  --border-strong: rgba(0, 78, 124, 0.18);
  --hairline:      rgba(0, 78, 124, 0.06);

  --primary:      #0085CA;
  --primary-deep: #004E7C;

  --ok:        #10B981;
  --warn:      #F59E0B;
  --danger:    #EF4444;
  --info:      #00B4E6;
  --neutral:   #64748B;

  --r-sm: 6px;  --r-md: 8px;  --r-lg: 12px;  --r-xl: 16px;  --r-2xl: 22px;

  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Geist", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg-ice);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: transparent; cursor: pointer; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tabular { font-variant-numeric: tabular-nums; }

/* ── Atoms ──────────────────────────────────────────────────────── */
.tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
}
.tag::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.tag.muted { color: var(--fg-muted); }
.tag.no-rule::before { display: none; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.pill .pdot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: 0.95; }
.pill-live { background: rgba(16,185,129,0.14); color: #047857; }
.pill-live .pdot { box-shadow: 0 0 0 3px rgba(16,185,129,0.16); animation: pulse 1.8s ease-in-out infinite; }
.pill-info { background: rgba(0,180,230,0.12); color: #0073A0; }
.pill-warn { background: rgba(245,158,11,0.14); color: #B45309; }
.pill-released { background: rgba(0,133,202,0.12); color: var(--primary-deep); }
.pill-back { background: rgba(13,13,13,0.06); color: #334155; }
.pill-purple { background: rgba(139,92,246,0.14); color: #6D28D9; }
.pill-staged { background: rgba(139,92,246,0.14); color: #6D28D9; }
.pill-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  background: rgba(0,78,124,0.06);
  color: var(--primary-deep);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 600;
  transition: background .15s, transform .12s, box-shadow .15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #00A0E0 0%, #0085CA 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 1px 2px rgba(0,78,124,0.18),
    0 6px 16px rgba(0,133,202,0.25);
}
.btn-primary:hover { transform: translateY(-0.5px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,78,124,0.2), 0 8px 24px rgba(0,133,202,0.32); }
.btn-outline {
  background: rgba(255,255,255,0.78);
  border-color: var(--border-strong);
  color: var(--primary-deep);
}
.btn-outline:hover { background: rgba(0,133,202,0.06); }
.btn-ghost { color: var(--fg-muted); padding: 8px 10px; }
.btn-ghost:hover { color: var(--fg); background: rgba(0,133,202,0.06); }
.btn-dark {
  background: var(--zero-carbon);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-dark:hover { transform: translateY(-0.5px); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }

.ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.75; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ic-12 { width: 12px; height: 12px; }
.ic-20 { width: 20px; height: 20px; }
.ic-24 { width: 24px; height: 24px; }
.ic-32 { width: 32px; height: 32px; }

/* ── Page shell ─────────────────────────────────────────────────── */
main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 96px 0; position: relative; }
section + section { border-top: 1px solid var(--hairline); }
@media (max-width: 800px) {
  main { padding: 0 18px; }
  section { padding: 64px 0; }
}

/* ── Topbar / nav ───────────────────────────────────────────────── */
.topnav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.topnav {
  max-width: 1320px;
  margin: 0 auto;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: linear-gradient(155deg, #00B4E6 0%, #0085CA 55%, #004E7C 100%);
  box-shadow: 0 4px 10px rgba(0,133,202,0.32), inset 0 1px 0 rgba(255,255,255,0.4);
  position: relative;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 5px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 3px;
  transform: rotate(45deg);
}
.brand .sep { color: var(--fg-dim); font-weight: 400; }
.brand .sub { color: var(--fg-muted); font-weight: 500; }

.navlinks {
  display: flex; align-items: center; gap: 4px;
}
.navlinks a {
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
  transition: background .12s, color .12s;
}
.navlinks a:hover { background: rgba(0,133,202,0.06); color: var(--fg); }
.navlinks a.active { color: var(--primary-deep); background: rgba(0,133,202,0.08); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 8px; }

@media (max-width: 800px) {
  .topnav { padding: 0 18px; }
  .navlinks { display: none; }
}

/* ── Page hero (sub-pages — not the landing) ────────────────────── */
.subhero { padding: 64px 0 56px; }
.subhero .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 12px 6px 8px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.subhero .eyebrow .pill { padding: 1px 7px; font-size: 10px; }
.subhero .eyebrow b { font-weight: 600; color: var(--fg); }
.subhero h1 {
  font-size: clamp(40px, 5.2vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 18ch;
}
.subhero h1 .accent {
  background: linear-gradient(180deg, var(--zero-glacier) 0%, var(--primary) 60%, var(--primary-deep) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subhero .lede {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 580px;
}
.subhero .lede em { font-style: normal; color: var(--fg); font-weight: 500; }

/* ── Generic section header ────────────────────────────────────── */
.sec-head { margin-bottom: 48px; max-width: 720px; }
.sec-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-top: 14px;
  letter-spacing: -0.028em;
}
.sec-head .sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 620px;
  line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────────────────── */
footer.foot {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
}
.foot-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 32px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .foot-inner { grid-template-columns: 1fr 1fr; padding: 32px 18px; } }
.foot h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot ul a { font-size: 13px; color: var(--fg); }
.foot ul a:hover { color: var(--primary); }
.foot .legal {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 32px 24px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  flex-wrap: wrap;
}
.foot .legal .live { color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.foot .legal .live i { width: 6px; height: 6px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 0 3px rgba(16,185,129,0.18); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* glass treatments */
.glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 8px 32px rgba(0,78,124,0.06),
    0 1px 3px rgba(0,78,124,0.04);
}
.glass-tight {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--border);
}

/* form atoms — used on careers, contact */
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-field label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.f-field input, .f-field textarea, .f-field select {
  padding: 9px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.95);
  font-size: 13.5px;
  color: var(--fg);
  font-family: inherit;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.f-field textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.f-field input:focus, .f-field textarea:focus, .f-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,133,202,0.16);
}
.f-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .f-two { grid-template-columns: 1fr; } }
