/* ════════════════════════════════════════════════
   SHIPCUBE DESIGN SYSTEM — Production Prototype
   Barlow Condensed display · Barlow body
   Navy #0B1550 + Yellow #F5C500 brand palette
   ════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Core brand */
  --navy-deep:   #07101F;
  --navy:        #1A1D52;
  --navy-mid:    #272B7A;
  --navy-light:  #3A3FA8;
  --sky:         #4EAEE0;
  --yellow:      #FFC107;
  --yellow-hot:  #FFD54F;
  --yellow-soft: #FFECB3;
  --teal:        #00C9A7;
  --red:         #FF3B3B;
  --white:       #FFFFFF;

  /* Dark mode surfaces */
  --bg:          #07101F;
  --bg2:         #0C1929;
  --bg3:         #11233A;
  --surface:     rgba(255,255,255,0.04);
  --surface2:    rgba(255,255,255,0.08);
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.13);
  --text-hi:     #EAF1FF;
  --text-mid:    rgba(213,228,255,0.88);
  --text-lo:     rgba(213,228,255,0.72);
  --cover:       #07101F;

  /* Fonts */
  --font-d:  'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-b:  'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-m:  'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-s:  Georgia, 'Times New Roman', serif;
}

[data-theme="light"] {
  /* Designed light palette — layered neutrals, real ink, not an inversion */
  --bg:       #F7F8FB;  /* page */
  --bg2:      #FFFFFF;  /* raised surface */
  --bg3:      #EEF1F6;  /* sunken / alt section */
  --surface:  #FFFFFF;
  --surface2: #F1F4F9;
  --border:   #E4E8F0;
  --border2:  #D3DAE6;
  --text-hi:  #0B1220;  /* 17.9:1 on #FFF */
  --text-mid: #3F4A5F;  /*  8.2:1 on #FFF */
  --text-lo:  #5B6478;  /*  5.9:1 on #FFF */
  --cover:    #F7F8FB;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text-hi);
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

/* ═══ ACCESSIBILITY — visible keyboard focus ═══ */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal) !important;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(40px, 4vw);
  background: rgba(8,15,63,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s;
}
[data-theme="light"] .nav {
  background: rgba(240,242,252,0.94);
}
.nav::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy-mid) 0%, var(--yellow) 45%, var(--yellow-hot) 62%, transparent 100%);
  opacity: 0.85;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
}
.logo-ship { color: var(--text-hi); }
.logo-cube { color: var(--yellow); }
[data-theme="light"] .logo-cube { color: var(--navy-mid); }

/* Nav centre */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-lo);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-hi); }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 10px; }

.theme-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text-lo);
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}
.theme-btn:hover { color: var(--text-hi); }

.nav-cta {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy-deep);
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
}
.nav-cta:hover {
  background: var(--yellow-hot);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,197,0,0.3);
}
[data-theme="light"] .nav-cta { background: var(--navy); color: #fff; }
[data-theme="light"] .nav-cta:hover { background: var(--navy-mid); box-shadow: 0 4px 16px rgba(11,21,80,0.22); }

/* ── MOBILE NAV (hamburger drawer) ── */
.nav-burger { display:none; background:none; border:none; color:var(--text-hi); font-size:24px; line-height:1; cursor:pointer; padding:4px 6px; }
[data-theme="light"] .nav-burger { color:var(--navy); }
.mobile-backdrop { position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:1999; opacity:0; pointer-events:none; transition:opacity .28s ease; }
.mobile-backdrop.open { opacity:1; pointer-events:auto; }
.mobile-menu { position:fixed; top:0; right:0; height:100%; width:80%; max-width:330px; background:var(--navy-deep); z-index:2000; transform:translateX(105%); transition:transform .3s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; padding:72px 24px 28px; box-shadow:-10px 0 40px rgba(0,0,0,.45); overflow-y:auto; }
.mobile-menu.open { transform:translateX(0); }
[data-theme="light"] .mobile-menu { background:#fff; }
.mobile-menu a { color:var(--text-hi); text-decoration:none; font-family:var(--font-d); font-size:18px; font-weight:600; letter-spacing:.3px; padding:15px 4px; border-bottom:1px solid rgba(255,255,255,.08); }
.mobile-menu a:active { color:var(--yellow); }
[data-theme="light"] .mobile-menu a { color:var(--navy); border-bottom-color:rgba(11,21,80,.1); }
.mobile-menu .nav-cta { margin-top:22px; width:100%; justify-content:center; }
.mobile-menu-close { position:absolute; top:18px; right:18px; background:none; border:none; color:var(--text-mid); font-size:26px; line-height:1; cursor:pointer; }
[data-theme="light"] .mobile-menu-close { color:var(--navy); }
@media (max-width:900px){ .nav-burger { display:block; } }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  padding: 120px max(40px, 5vw) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Speed-line parallax bg */
.hero-bg {
  position: absolute;
  inset: -30%;
  background: repeating-linear-gradient(
    -10deg, transparent, transparent 80px,
    rgba(245,197,0,0.022) 80px, rgba(245,197,0,0.022) 81px
  );
  will-change: transform;
  pointer-events: none;
}
[data-theme="light"] .hero-bg {
  background: repeating-linear-gradient(
    -10deg, transparent, transparent 80px,
    rgba(11,21,80,0.032) 80px, rgba(11,21,80,0.032) 81px
  );
}

/* Right radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 750px; height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,0,0.055) 0%, transparent 65%);
  pointer-events: none;
}
[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(11,21,80,0.055) 0%, transparent 65%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Geo-aware eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border2);
  border-radius: 3px;
  padding: 7px 14px;
  margin-bottom: 40px;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 1.8px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--surface);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-eyebrow.in { opacity: 1; transform: translateY(0); }
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%,100% { opacity:1; box-shadow:0 0 5px var(--teal); }
  50%      { opacity:0.3; box-shadow:none; }
}

/* H1 — clip-reveal lines + spacer for "in" */
.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(72px, 11vw, 136px);
  font-weight: 700;
  line-height: 0.91;
  letter-spacing: -1px;
  position: relative;
  margin-bottom: 36px;
}

.h1-line {
  display: block;
  overflow: hidden;
  line-height: 0.95;
}
.h1-inner {
  display: block;
  transform: translateY(110%);
  /* transition set by JS after view shown */
}
.h1-line.l1 .h1-inner { color: var(--text-hi); }
.h1-line.l2 .h1-inner { color: var(--yellow); }
[data-theme="light"] .h1-line.l2 .h1-inner { color: var(--navy-mid); }
.period { color: var(--yellow); opacity: 0.5; }
[data-theme="light"] .period { color: var(--navy-mid); opacity: 0.45; }

/* Spacer row for "in" word */
.h1-spacer {
  display: block;
  height: 0;
  overflow: hidden;
  position: relative;
}
.h1-in-text {
  position: absolute;
  bottom: 0.06em;
  left: 0; /* set by JS */
  white-space: nowrap;
  font-family: var(--font-s);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(50px, 8vw, 100px);
  line-height: 1;
  color: var(--yellow);
  transform: rotate(-4deg);
  transform-origin: left bottom;
  z-index: 1;
  text-shadow:
    -4px 0 0 var(--cover),  4px 0 0 var(--cover),
     0 -4px 0 var(--cover),  0  4px 0 var(--cover),
    -3px -3px 0 var(--cover), 3px -3px 0 var(--cover),
    -3px  3px 0 var(--cover), 3px  3px 0 var(--cover),
     0 0 14px var(--cover);
}
.h1-in-cover {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 2;
}
[data-theme="light"] .h1-in-cover { background: var(--bg); }

/* Hero sub */
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-mid);
  line-height: 1.82;
  max-width: 500px;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.25s, transform 0.7s ease 0.25s;
}
.hero-sub.in { opacity: 1; transform: translateY(0); }
.hero-sub strong { color: var(--text-hi); font-weight: 500; }
[data-theme="light"] .hero-sub strong { color: var(--navy); }

/* ── I1–I5: contrast & accessibility fixes ── */
[data-theme="light"] .hero-eyebrow { color: var(--navy-mid); }
[data-theme="light"] .hero-sub { color: #1c2245; font-weight: 400; }
[data-theme="light"] .how-num { color: rgba(26,43,168,0.42); }
[data-theme="light"] .loc-status-live { color: #0a8f77; }
[data-theme="light"] .loc-status-live::before { background: #0a8f77; }
#theme-btn { color: var(--text-hi); font-size: 17px; line-height: 1; }
[data-theme="light"] #theme-btn { color: var(--navy); }
@media (prefers-reduced-motion: reduce){
  .reveal, .hero-eyebrow, .hero-sub, .loc-cell { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Hero CTA row */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.38s, transform 0.7s ease 0.38s;
}
.hero-btns.in { opacity: 1; transform: translateY(0); }

.btn-primary {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy-deep);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--yellow-hot);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,197,0,0.32);
}
[data-theme="light"] .btn-primary { background: var(--navy); color: #fff; }
[data-theme="light"] .btn-primary:hover { background: var(--navy-mid); box-shadow: 0 6px 20px rgba(11,21,80,0.22); }

.btn-ghost {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-lo);
  border: 1px solid var(--border2);
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
  display: inline-block;
}
.btn-ghost:hover { color: var(--text-hi); border-color: rgba(255,255,255,0.28); background: var(--surface); }
[data-theme="light"] .btn-ghost:hover { color: var(--navy); border-color: rgba(11,21,80,0.28); }

/* Hero stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.hero-stats.in { opacity: 1; transform: translateY(0); }
.stat-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: var(--font-m);
  font-size: 40px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 7px;
  line-height: 1;
}
.stat-num .accent { color: var(--yellow); }
.stat-num .teal   { color: var(--teal); }
.stat-num .sm     { font-size: 18px; color: var(--text-lo); font-weight: 300; }
[data-theme="light"] .stat-num { color: var(--navy); }
[data-theme="light"] .stat-num .accent { color: var(--navy-mid); }
.stat-lbl {
  font-family: var(--font-m);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-lo);
}

/* ═══ UTILITY — reveal classes ═══ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s cubic-bezier(0.22,1,0.36,1),
              transform 0.72s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.10s !important; }
.d2 { transition-delay: 0.20s !important; }
.d3 { transition-delay: 0.32s !important; }
.d4 { transition-delay: 0.44s !important; }
.d5 { transition-delay: 0.56s !important; }

/* ═══ TICKER ═══ */
.ticker-wrap {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 11px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.42);
  white-space: nowrap;
}
.ticker-dot { color: var(--yellow); opacity: 0.6; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ MANIFESTO ═══ */
.manifesto {
  padding: 110px max(40px, 5vw) 108px;
  background: var(--navy);
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-soft) 40%, transparent 80%);
}
.manifesto-ghost {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-d);
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 700;
  letter-spacing: -4px;
  color: rgba(245,197,0,0.036);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  line-height: 1;
  z-index: 0;
  clip-path: inset(0);
}
.manifesto-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.manifesto-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
}
.manifesto-rule-label {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--yellow);
  flex-shrink: 0;
}
.manifesto-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(245,197,0,0.25) 0%, transparent 70%);
}
.manifesto-quote { margin-bottom: 48px; }
.manifesto-qline {
  font-family: var(--font-d);
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  letter-spacing: 0.2px;
  display: block;
  overflow: hidden;
}
.manifesto-qline .inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.manifesto-qline.in .inner { transform: translateY(0); }
.manifesto-qline:nth-child(2) .inner { transition-delay: 0.13s; }
.manifesto-qline:nth-child(3) .inner { transition-delay: 0.26s; }
.mq-em  { color: var(--yellow); }
.mq-dim { opacity: 0.48; }

.manifesto-attr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.manifesto-attr.in { opacity: 1; transform: translateX(0); }
.manifesto-attr-dash { width: 28px; height: 1px; background: rgba(245,197,0,0.4); }
.manifesto-attr-text {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
}
.manifesto-body {
  border-left: 2px solid rgba(245,197,0,0.16);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.manifesto-sent {
  font-size: 16px;
  color: rgba(255,255,255,0.44);
  line-height: 1.88;
  font-weight: 300;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.manifesto-sent.in { opacity: 1; transform: translateY(0); }
.manifesto-sent strong { color: rgba(255,255,255,0.80); font-weight: 500; }

/* ═══ NETWORK ═══ */
.network {
  padding: 100px max(40px, 5vw);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.network-inner { max-width: 1100px; margin: 0 auto; }

.sec-eyebrow {
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 14px;
}
.sec-eyebrow.yellow { color: var(--yellow); }
[data-theme="light"] .sec-eyebrow { color: var(--sky); }

.sec-h2 {
  font-family: var(--font-d);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: 0.5px;
  color: var(--text-hi);
  margin-bottom: 48px;
}
.sec-h2 .y { color: var(--yellow); }
.sec-h2 .t { color: var(--teal); }
[data-theme="light"] .sec-h2 { color: var(--navy); }
[data-theme="light"] .sec-h2 .y { color: var(--navy-mid); }

/* Location grid */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 32px;
}
.loc-cell {
  background: var(--bg2);
  padding: 20px 20px 18px;
  transition: background 0.18s;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.18s;
}
.loc-cell.in { opacity: 1; transform: translateY(0); }
.loc-cell:hover { background: var(--bg3); }
.loc-cell.coming { opacity: 0.55 !important; }
.loc-cell.coming.in { opacity: 0.55; }
/* Outlines: teal for Live Now, subtle for Coming Soon */
.loc-cell:not(.coming) { box-shadow: inset 0 0 0 1px rgba(0,201,167,0.32); border-radius: 4px; }
.loc-cell:not(.coming):hover { box-shadow: inset 0 0 0 1px rgba(0,201,167,0.55); }
.loc-cell.coming:not(.pulse-soon) { box-shadow: inset 0 0 0 1px rgba(245,197,0,0.22); border-radius: 4px; }
/* Scroll-to + highlight when a footer location is clicked */
.loc-cell { scroll-margin-top: 110px; }
.loc-cell:target {
  opacity: 1 !important;
  outline: 2px solid var(--teal);
  outline-offset: -2px;
  animation: locTargetFlash 1.3s ease-in-out 2;
}
@keyframes locTargetFlash {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,201,167,0);   outline-color: rgba(0,201,167,0.35); }
  50%     { box-shadow: 0 0 26px 4px rgba(0,201,167,0.40); outline-color: var(--teal); }
}
/* Two-column footer locations list */
.footer-links.footer-links-2col {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 10px 36px;
}
.loc-name {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-hi);
  margin-bottom: 3px;
}
[data-theme="light"] .loc-name { color: var(--navy); }
.loc-region {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 11px;
}
.loc-status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
}
.loc-status-live::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s ease-in-out infinite;
}
.loc-status-soon {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-lo);
}

/* Network callout row */
.network-callout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nc-card {
  background: var(--bg2); /* match .loc-cell so the network section reads as one surface system */
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 22px 20px;
}
.nc-num {
  font-family: var(--font-m);
  font-size: 32px;
  font-weight: 500;
  color: var(--yellow);
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}
[data-theme="light"] .nc-num { color: var(--navy-mid); }
.nc-num .sm { font-size: 14px; color: var(--text-lo); font-weight: 300; }
.nc-label {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 300;
}

/* ═══ HOW IT WORKS ═══ */
.how {
  padding: 100px max(40px, 5vw);
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 0;
}
.how-step {
  background: var(--bg2);
  padding: 36px 32px;
  position: relative;
}
.how-num {
  font-family: var(--font-d);
  font-size: 72px;
  font-weight: 700;
  color: rgba(245,197,0,0.45);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.how-title {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-hi);
  margin-bottom: 12px;
}
[data-theme="light"] .how-title { color: var(--navy); }
.how-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}
.how-tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245,197,0,0.25);
  padding: 4px 10px;
  border-radius: 3px;
}
[data-theme="light"] .how-tag { color: var(--navy-mid); border-color: rgba(26,43,168,0.25); }

/* ═══ COMPARISON ═══ */
.compare {
  padding: 100px max(40px, 5vw);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.compare-inner { max-width: 1100px; margin: 0 auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th {
  padding: 16px 18px;
  text-align: center;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-hi);
  background: var(--bg2);
  border-bottom: 2px solid var(--border);
}
.compare-table th:first-child { text-align: left; background: transparent; color: var(--text-lo); font-size: 10px; font-family: var(--font-m); letter-spacing: 2px; text-transform: uppercase; }
.compare-table th.ours { background: var(--navy-mid); color: #fff; border-bottom-color: var(--yellow); }
.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  text-align: center;
  vertical-align: middle;
}
.compare-table td:first-child { text-align: left; color: var(--text-hi); font-weight: 500; font-size: 13px; }
[data-theme="light"] .compare-table td:first-child { color: var(--navy); }
.compare-table td.ours { background: rgba(26,43,168,0.07); color: var(--text-hi); font-weight: 500; }
[data-theme="light"] .compare-table td.ours { color: var(--navy); }
.compare-table tr:hover td { background: var(--surface); }
.compare-table tr:hover td.ours { background: rgba(26,43,168,0.12); }
.check { color: var(--teal); font-size: 15px; }
.cross { color: var(--text-lo); font-size: 13px; }
.partial { color: var(--yellow-soft); font-size: 12px; }

/* ═══ CASE STUDIES ═══ */
.cases {
  padding: 100px max(40px, 5vw);
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.cases-inner { max-width: 1100px; margin: 0 auto; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}
.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
}
[data-theme="light"] .case-card { background: var(--bg3); }
.case-vertical {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
[data-theme="light"] .case-vertical { color: var(--navy-mid); }
.case-vertical::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--yellow);
  opacity: 0.5;
}
[data-theme="light"] .case-vertical::before { background: var(--navy-mid); }
.case-quote {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1.2;
  margin-bottom: 20px;
  flex: 1;
}
[data-theme="light"] .case-quote { color: var(--navy); }
.case-stats {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.case-stat-num {
  font-family: var(--font-m);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}
.case-stat-lbl {
  font-size: 11px;
  color: var(--text-lo);
}

/* ═══ PRICING ESTIMATOR ═══ */
.estimator {
  padding: 100px max(40px, 5vw);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.estimator-inner { max-width: 860px; margin: 0 auto; }
.estimator-card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 48px;
}
.est-step { margin-bottom: 36px; }
.est-label {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-lo);
  display: block;
  margin-bottom: 16px;
}
.est-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.est-opt {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.15s;
}
.est-opt:hover { border-color: var(--yellow); color: var(--text-hi); }
.est-opt.active { background: var(--yellow); color: var(--navy-deep); border-color: var(--yellow); }
[data-theme="light"] .est-opt.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.est-result {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}
.est-result-label {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-lo);
  margin-bottom: 6px;
  display: block;
}
.est-result-num {
  font-family: var(--font-d);
  font-size: 42px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
[data-theme="light"] .est-result-num { color: var(--navy-mid); }
.est-result-sub { font-size: 12px; color: var(--text-lo); margin-top: 4px; }

/* ═══ FLOATING CTA ═══ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.floating-cta-btn {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy-deep);
  border: none;
  padding: 14px 24px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(245,197,0,0.35);
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-cta-btn:hover {
  background: var(--yellow-hot);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245,197,0,0.42);
}
[data-theme="light"] .floating-cta-btn { background: var(--navy); color: #fff; box-shadow: 0 8px 28px rgba(11,21,80,0.28); }
.fcta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: blink 2s ease-in-out infinite; }

/* ═══ CTA SECTION ═══ */
.cta-section {
  padding: 100px max(40px, 5vw);
  background: var(--navy);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-d);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.cta-section h2 em { color: var(--yellow); font-style: normal; }
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.40);
  max-width: 420px;
  margin: 0 auto 40px;
  line-height: 1.82;
  font-weight: 300;
  position: relative; z-index: 1;
}
.cta-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.cta-mini span { color: var(--teal); }

/* ═══ FOOTER ═══ */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px max(40px, 5vw) 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto auto;
  gap: 32px 64px;
  align-items: start;
  min-height: auto;
  padding-top: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.30);
  line-height: 1.75;
  font-weight: 300;
  margin-top: 14px;
  max-width: 280px;
}
.footer-brand{display:flex;flex-direction:column;justify-content:center;gap:14px;padding-right:28px;}
.fb-badge{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-family:var(--font-m);font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:rgba(255,255,255,0.62);border:1px solid rgba(255,255,255,0.18);border-radius:4px;padding:6px 12px;}
.fb-badge::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 8px var(--yellow);}
.fb-headline{font-family:var(--font-d);font-weight: 700;font-size:clamp(30px,3.6vw,56px);line-height:0.92;letter-spacing:-0.5px;text-transform:uppercase;color:#f2f6ff;margin:0;text-shadow:1px 1px 0 rgba(0,0,0,.35),2px 2px 0 rgba(0,0,0,.28),3px 3px 0 rgba(0,0,0,.22),4px 4px 0 rgba(0,0,0,.16),6px 8px 16px rgba(0,0,0,.45);transform:perspective(900px) rotateX(7deg);transform-origin:left center;}
.fb-headline .t{color:var(--yellow);}
.fb-markets{font-family:var(--font-m);font-size:12px;letter-spacing:2px;color:rgba(255,255,255,0.42);}
@media (max-width:900px){ .footer-brand{padding-right:0;align-items:flex-start;} .fb-headline{font-size:clamp(34px,9vw,52px);} }

.footer-col-title {
  font-family: var(--font-m);
  font-size: 9.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 16px;
  display: block;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--font-m);
  font-size: 10px;
  color: rgba(255,255,255,0.14);
  letter-spacing: 0.8px;
}
.footer-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-badge {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 3px;
}

.tier-grid { } @media (max-width: 960px) { .tier-grid { grid-template-columns: 1fr !important; } }


:root { --accent: var(--yellow); }
[data-theme="light"] { --accent: #B97E00; }

/* ═══ LOGO MARQUEE (integrations) ═══ */
.marquee {
  position: relative; overflow: hidden;
  background: var(--navy);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 26px 0; margin-top: 8px;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg,  var(--navy), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.marquee-track {
  display: flex; gap: 30px; width: max-content;
  align-items: center;
  animation: marquee-ltr 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-card {
  flex-shrink: 0; width: 180px; height: 74px;
  background: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.marquee-card img { max-width: 84%; max-height: 76%; object-fit: contain; display: block; }
@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {  }


/* Ghost buttons readable in both themes */
.btn-ghost { color: var(--text-mid); }

/* ═══ CONTRAST / READABILITY PATCH ═══ */
/* Nav */
.nav-links a { color: var(--text-mid); }
.theme-btn { color: var(--text-mid); }

/* Network grid */
.loc-region { color: var(--text-mid); }
.loc-status-soon { color: var(--text-mid); }

/* Case studies */
.case-stat-lbl { color: var(--text-mid); }

/* Compare table */
.cross { color: var(--text-mid); opacity: .75; }
[data-theme="light"] .partial { color: #8A6400; }

/* CTA band (always navy, in both themes) */
.cta-section p { color: rgba(255,255,255,0.62); }
.cta-mini { color: rgba(255,255,255,0.52); }
[data-theme="light"] .cta-section .btn-primary { background: var(--yellow); color: var(--navy-deep); }
[data-theme="light"] .cta-section .btn-primary:hover { background: var(--yellow-hot); box-shadow: 0 6px 20px rgba(245,197,0,0.3); }

/* Footer (always deep navy, in both themes) */
footer .logo-ship { color: #fff; }
footer .logo-cube { color: var(--yellow); }
[data-theme="light"] footer .logo-ship { color: #fff; }
[data-theme="light"] footer .logo-cube { color: var(--yellow); }
.footer-brand p { color: rgba(255,255,255,0.55); }
.footer-col-title { color: rgba(255,255,255,0.45); }
.footer-links a { color: rgba(255,255,255,0.62); }
.footer-links a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.40); }
.footer-badge { color: rgba(255,255,255,0.40); border-color: rgba(255,255,255,0.18); }


/* Leadership responsive */
@media (max-width: 820px) {
  .leader-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr !important; }
}

/* ═══ FOOTER GLOBE ═══ */
:root {
  --g-ocean: rgba(12,45,100,0.55); --g-land: rgba(78,174,224,0.42);
  --g-lbord: rgba(78,174,224,0.78); --g-grid: rgba(78,174,224,0.12);
  --g-edge: rgba(78,174,224,0.80); --g-route: rgba(245,197,0,0.60);
  --g-dot: #F5C500; --g-city: rgba(245,197,0,0.85); --g-clbl: rgba(255,255,255,0.55);
}
/* Globe sits on the always-dark footer, so it keeps the dark palette in BOTH themes
   (light-theme --g-* overrides intentionally removed so the globe looks identical). */
.sc-globe-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; transform: translateY(-34px); }
#sc-globe { display: block; cursor: grab; touch-action: none; max-width: 100%; }
#sc-globe.dragging { cursor: grabbing; }
.sc-globe-cap { font-family: var(--font-m); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.70); text-align: center; }
.globe-wrap{position:relative;width:210px;height:210px;}
.globe-orbit{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;animation:globeOrbit 16s linear infinite;}
.globe-orbit .globe-sun{position:absolute;left:0;top:0;width:13px;height:13px;margin:-6.5px 0 0 -6.5px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff7cf,#f5c500 58%,#d39e00);box-shadow:0 0 12px 4px rgba(245,197,0,.75),0 0 30px 11px rgba(245,197,0,.30);transform:translateX(120px);}
.scb-dot{display:none !important;}  /* retired static ambient dots; orbiting sun + sparks remain */
@keyframes globeOrbit{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){ .globe-orbit{animation:none;} }


/* ═══ AI CHAT POPUP ═══ */
.ai-pop {
  position: fixed; bottom: 88px; right: 24px; z-index: 1200;
  width: 380px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 130px);
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.ai-pop.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }
.ai-pop-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.ai-pop-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.ai-pop-title { font-family: var(--font-d); font-weight: 700; font-size: 15px; color: var(--text-hi); flex: 1; }
.ai-pop-sub { font-family: var(--font-m); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-lo); }
.ai-pop-close { background: none; border: none; color: var(--text-mid); font-size: 20px; cursor: pointer; line-height: 1; padding: 2px 6px; }
.ai-pop-close:hover { color: var(--text-hi); }
.ai-pop-scroll { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ai-pop-msg { max-width: 85%; font-size: 14.5px; line-height: 1.55; padding: 10px 13px; border-radius: 12px; }
.ai-pop-msg.user { align-self: flex-end; background: var(--accent); color: #0a0f2e; border-bottom-right-radius: 4px; }
.ai-pop-msg.ai { align-self: flex-start; background: var(--surface2); color: var(--text-hi); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.ai-pop-fups { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-pop-fup { font-size: 11.5px; padding: 7px 11px; border-radius: 100px; border: 1px solid var(--border2); background: var(--surface); color: var(--text-mid); cursor: pointer; }
.ai-pop-fup:hover { color: var(--text-hi); border-color: var(--accent); }
.ai-pop-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--surface); }
.ai-pop-input input { flex: 1; background: var(--bg); border: 1px solid var(--border2); border-radius: 8px; padding: 11px 13px; color: var(--text-hi); font-size: 14.5px; outline: none; }
.ai-pop-input input:focus { border-color: var(--accent); }
.ai-pop-send { width: 40px; border: none; border-radius: 8px; background: var(--accent); color: #0a0f2e; font-size: 17px; font-weight: 700; cursor: pointer; }
@media (max-width: 480px) {
  .ai-pop { right: 8px; left: 8px; bottom: 78px; width: auto; height: 70vh; }
}

/* ═══ COMING-SOON HEARTBEAT (Netherlands + India) ═══ */
.loc-cell.pulse-soon {
  opacity: 1 !important;
  animation: cellGlow 1.6s ease-in-out infinite;
  border-radius: 4px;
}
.loc-cell.pulse-soon .loc-name { color: var(--text-hi); }
[data-theme="light"] .loc-cell.pulse-soon .loc-name { color: var(--navy); }
.loc-cell.pulse-soon .loc-status-soon {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-weight: 600;
}
.loc-cell.pulse-soon .loc-status-soon::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: heartbeat 1.4s ease-in-out infinite;
}
/* lub-dub: two quick beats, then rest */
@keyframes heartbeat {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(245,197,0,0.55); }
  12%  { transform: scale(1.45); }
  24%  { transform: scale(1);    box-shadow: 0 0 0 5px rgba(245,197,0,0); }
  36%  { transform: scale(1.45); }
  48%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes cellGlow {
  0%,100% { box-shadow: inset 0 0 0 1px rgba(245,197,0,0.18); }
  50%     { box-shadow: inset 0 0 0 1px rgba(245,197,0,0.45), 0 0 18px rgba(245,197,0,0.10); }
}
@media (prefers-reduced-motion: reduce) {
  .loc-cell.pulse-soon, .loc-cell.pulse-soon .loc-status-soon::before { animation: none; }
}

/* ═══ NEWLY-LIVE HEARTBEAT (Netherlands · India · Japan) ═══ */
.loc-cell.pulse-live {
  animation: cellGlowLive 1.6s ease-in-out infinite;
  border-radius: 4px;
}
.loc-cell.pulse-live .loc-status-live::before {
  animation: heartbeatLive 1.4s ease-in-out infinite;
}
@keyframes heartbeatLive {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(0,201,167,0.55); }
  12%  { transform: scale(1.45); }
  24%  { transform: scale(1);    box-shadow: 0 0 0 5px rgba(0,201,167,0); }
  36%  { transform: scale(1.45); }
  48%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes cellGlowLive {
  0%,100% { box-shadow: inset 0 0 0 1px rgba(0,201,167,0.18); }
  50%     { box-shadow: inset 0 0 0 1px rgba(0,201,167,0.45), 0 0 18px rgba(0,201,167,0.10); }
}
@media (prefers-reduced-motion: reduce) {
  .loc-cell.pulse-live, .loc-cell.pulse-live .loc-status-live::before { animation: none; }
}

/* ═══ ANIMATED FOOTER BANNER (scoped) ═══ */
#scb-banner { width: 100%; max-width: 460px; aspect-ratio: 1588 / 396; overflow: hidden; border-radius: 10px; }
#scb-banner .scb-stage { transform-origin: top left; }
.scb-stage {
    position: relative;
    width: 1588px;
    height: 396px;
    overflow: hidden;
    background-image: url("/assets/b2fdb670.webp");
    background-size: 1588px 396px;
    background-repeat: no-repeat;
    background-position: center;
    isolation: isolate;
  }

  /* Original image stays untouched below. Only effects are overlaid. */

  .scb-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 76% 48%, rgba(43, 98, 255, .18), transparent 24%),
      radial-gradient(circle at 94% 48%, rgba(255, 210, 32, .11), transparent 16%),
      radial-gradient(circle at 53% 45%, rgba(25, 75, 180, .12), transparent 22%);
    mix-blend-mode: screen;
    animation: scbGlow 7s ease-in-out infinite alternate;
  }

  .scb-scan {
    position: absolute;
    inset: -60px;
    pointer-events: none;
    background: linear-gradient(110deg,
      transparent 0%,
      transparent 42%,
      rgba(255,255,255,.05) 48%,
      rgba(255,210,30,.07) 50%,
      transparent 58%,
      transparent 100%);
    transform: translateX(-75%);
    mix-blend-mode: screen;
    animation: scbScan 5.5s ease-in-out infinite;
  }

  .scb-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffd21e;
    box-shadow: 0 0 10px #ffd21e, 0 0 22px rgba(255,210,30,.65);
    pointer-events: none;
    animation: scbPulse 1.7s ease-in-out infinite;
  }

  .scb-white {
    background: #f2f6ff;
    box-shadow: 0 0 9px #dfe8ff, 0 0 20px rgba(170,200,255,.58);
  }

  .scb-net {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .58;
    mix-blend-mode: screen;
  }

  .scb-net line {
    stroke: rgba(190,210,255,.24);
    stroke-width: 1;
    stroke-dasharray: 4 8;
    animation: scbDash 4s linear infinite;
  }

  .scb-spark {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
    box-shadow: 0 0 8px rgba(255,255,255,.75);
    pointer-events: none;
    animation: scbFloat linear infinite;
  }

  .scb-yellow {
    background: rgba(255,210,30,.9);
    box-shadow: 0 0 10px rgba(255,210,30,.9);
  }

  @keyframes scbGlow {
    from { opacity: .55; transform: scale(1); }
    to { opacity: .9; transform: scale(1.04); }
  }

  @keyframes scbScan {
    0%, 28% { transform: translateX(-78%); opacity: 0; }
    45% { opacity: .8; }
    72%, 100% { transform: translateX(78%); opacity: 0; }
  }

  @keyframes scbPulse {
    0%, 100% { transform: scale(1); opacity: .75; }
    50% { transform: scale(1.9); opacity: 1; }
  }

  @keyframes scbDash {
    to { stroke-dashoffset: -48; }
  }

  @keyframes scbFloat {
    0% { transform: translateY(18px); opacity: 0; }
    18%, 70% { opacity: .8; }
    100% { transform: translateY(-42px); opacity: 0; }
  }

/* full-cover animated footer banner */
footer { position: relative; overflow: hidden; }
#scb-banner { position: absolute; inset: 0; z-index: 0; max-width: none; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; overflow: hidden; }
#scb-banner .scb-stage { position: absolute; top: 50%; left: 50%; transform-origin: center center; }
.scb-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(7,16,31,0) 0%, rgba(7,16,31,0) 62%, rgba(7,16,31,0.95) 63.5%, rgba(7,16,31,1) 65%, rgba(7,16,31,1) 100%); }
.scb-stage { background-image: none !important; }  /* keep live ambient effects; drop the baked text art (now live HTML) */

.footer-top, .footer-bottom { position: relative; z-index: 2; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .network-callout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  /* inline multi-column grids → 2 cols */
  [style*="repeat(4,1fr)"], [style*="repeat(4, 1fr)"],
  [style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
  /* services label/body split → stack */
  [style*="280px 1fr"] { grid-template-columns: 1fr !important; gap: 14px !important; }
  /* compare table scrolls horizontally instead of squishing */
  .compare-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 560px; font-size: 12px; }
  /* footer banner: stack columns over artwork */
  .footer-top { grid-template-columns: 1fr 1fr !important; min-height: 0 !important; padding-top: 28px !important; }
  /* mobile/tablet: drop the full-bleed banner art so columns stay readable */
  #scb-banner, .scb-scrim { display: none !important; }
  .footer-brand { display: none !important; }
  .sc-globe-cell { transform: none !important; }
}

/* ═══ PHONE (≤640px) ═══ */
@media (max-width: 640px) {
  /* tighter section padding */
  section, .hero, .how, .network, .compare, .cases, .estimator, .cta-section,
  #services, #proof, #about { padding-left: 18px !important; padding-right: 18px !important; }
  section, .how, .network, .compare, .cases, .estimator { padding-top: 64px !important; padding-bottom: 64px !important; }
  #services, #proof, #about { padding-top: 64px !important; padding-bottom: 64px !important; }

  /* nav: compact */
  .nav { height: auto; min-height: 60px; padding: 8px 16px; flex-wrap: wrap; gap: 8px; }
  .logo img { height: 44px !important; }
  .nav-tabs { order: 3; flex: 1 1 100%; justify-content: center; }
  .nav-cta { font-size: 10px; padding: 10px 14px; }
  .theme-btn { width: 30px; height: 30px; }
  #view-ai { height: auto; min-height: calc(100vh - 120px); }

  /* hero text scaled down */
  .hero { padding: 140px 18px 56px !important; }
  .hero-h1 { font-size: clamp(40px, 13vw, 64px) !important; }
  .h1-line .h1-inner { font-size: inherit; }
  .h1-in-text { font-size: clamp(30px, 10vw, 48px) !important; }
  .hero-sub { font-size: 15px !important; }
  .hero-stats { grid-template-columns: 1fr 1fr !important; gap: 18px 12px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; text-align: center; }

  /* center hero content on mobile */
  .hero-inner { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  #h1-in { left: 50% !important; transform: translateX(-50%) rotate(-4deg) !important; transform-origin: center bottom !important; }

  /* section headings smaller */
  .sec-h2 { font-size: clamp(30px, 9vw, 46px) !important; }

  /* all multi-column grids → single column */
  .loc-grid { grid-template-columns: 1fr 1fr !important; }
  [style*="repeat(4,1fr)"], [style*="repeat(4, 1fr)"],
  [style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"],
  [style*="repeat(2,1fr)"], [style*="repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }
  .tier-grid, .leader-grid, .team-grid { grid-template-columns: 1fr !important; }

  /* footer stacks fully; banner becomes a top strip */
  .footer-top { grid-template-columns: 1fr !important; gap: 24px; }
  .footer-links.footer-links-2col { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 12px 18px; }
  .footer-links.footer-links-2col a { font-size: 13px; }
  footer { background: var(--navy-deep) !important; padding: 40px 18px !important; }

  /* estimator option buttons wrap nicely */
  .est-options { flex-wrap: wrap; }
  .est-opt { flex: 1 1 calc(50% - 8px); }
  .est-result { flex-direction: column; align-items: stretch; gap: 16px; }

  /* manifesto/large display text guards */
  .cta-section h2 { font-size: clamp(30px, 9vw, 48px) !important; }

  /* floating CTA smaller so it doesn't cover content */
  .floating-cta { right: 14px; bottom: 14px; }
  .floating-cta-btn { font-size: 11px; padding: 12px 16px; }
  /* footer rows stack + clear floating CTA */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-badges { flex-wrap: wrap; }
  footer { padding-bottom: 96px !important; }
  .footer-links a { font-size: 14px; }
}

/* ═══ SMALL PHONE (≤400px) ═══ */
@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr 1fr !important; }
  .loc-grid { grid-template-columns: 1fr !important; }
  .nav-tabs .nav-tab { font-size: 10px; padding: 7px 10px; }
}

/* ═══ COOKIE CONSENT ═══ */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:none;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding:14px max(18px,4vw);background:rgba(7,16,31,0.97);border-top:1px solid rgba(255,255,255,0.12);backdrop-filter:blur(8px);font-family:var(--font-b);font-size:13px;color:rgba(255,255,255,0.78);}
.cookie-banner.show{display:flex;}
.cookie-banner a{color:var(--yellow);text-decoration:none;}
.cookie-banner a:hover{text-decoration:underline;}
.cookie-text{max-width:760px;line-height:1.5;}
.cookie-btns{display:flex;gap:10px;flex-shrink:0;}
.cookie-btn{font-family:var(--font-m);font-size:11px;letter-spacing:1px;text-transform:uppercase;padding:9px 18px;border-radius:6px;cursor:pointer;border:1px solid rgba(255,255,255,0.2);}
.cookie-decline{background:transparent;color:rgba(255,255,255,0.7);}
.cookie-decline:hover{border-color:rgba(255,255,255,0.45);color:#fff;}
.cookie-accept{background:var(--yellow);color:var(--navy-deep);border-color:var(--yellow);font-weight:700;}
.cookie-accept:hover{background:var(--yellow-hot);}
[data-theme="light"] .cookie-banner{background:rgba(255,255,255,0.98);color:rgba(11,21,80,0.82);border-top:1px solid rgba(11,21,80,0.12);}
[data-theme="light"] .cookie-accept{background:var(--navy);color:#fff;border-color:var(--navy);}
.skip-link{position:absolute;left:8px;top:-52px;z-index:2000;background:var(--yellow);color:#0a0f2e;padding:10px 16px;border-radius:6px;font-family:var(--font-m);font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:700;text-decoration:none;transition:top .15s ease;}
.skip-link:focus{top:8px;outline:2px solid #0a0f2e;}

/* ══ extracted block ══ */

/* ════════ TAB SYSTEM ════════ */
.nav-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border2);
  border-radius: 5px;
  overflow: hidden;
  background: var(--surface);
}
.nav-tab {
  padding: 7px 20px;
  border: none;
  background: transparent;
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-lo);
  cursor: pointer;
  transition: all 0.18s;
  border-right: 1px solid var(--border);
}
.nav-tab:last-child { border-right: none; }
.nav-tab.active { background: var(--yellow); color: var(--navy-deep); font-weight: 700; }
[data-theme="light"] .nav-tab.active { background: var(--navy); color: #fff; }
.nav-tab:hover:not(.active) { color: var(--text-hi); background: var(--surface2); }

/* Views */
.view { display: none; }
.view.active { display: block; }
#view-ai { height: calc(100vh - 84px); display: none; flex-direction: column; overflow: hidden; }
#view-ai.active { display: flex; }
#view-classic { display: none; }
#view-classic.active { display: block; }

/* Classic-only nav links hide in AI mode */
body.mode-ai .classic-only { display: none; }

/* ════════ AI CHAT VIEW ════════ */
.ai-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

/* Subtle diagonal bg */
.ai-view::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -8deg, transparent, transparent 60px,
    rgba(245,197,0,0.018) 60px, rgba(245,197,0,0.018) 61px
  );
  pointer-events: none;
}
[data-theme="light"] .ai-view::before {
  background: repeating-linear-gradient(
    -8deg, transparent, transparent 60px,
    rgba(11,21,80,0.028) 60px, rgba(11,21,80,0.028) 61px
  );
}

/* Topbar inside AI view */
.ai-topbar {
  padding: 18px 44px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.ai-topbar-title {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-hi);
}
.ai-topbar-title .y { color: var(--yellow); }
[data-theme="light"] .ai-topbar-title .y { color: var(--navy-mid); }
.ai-topbar-sep { width: 1px; height: 16px; background: var(--border2); }
.ai-topbar-sub {
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-lo);
}

/* Chat scroll area */
.chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px 44px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative; z-index: 1;
}
.chat-scroll::-webkit-scrollbar { width: 3px; }
.chat-scroll::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* Empty state */
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.empty-icon {
  width: auto; height: 64px;
  display: block;
  margin: 0 auto 24px;
  opacity: 1;
}
.empty-title {
  font-family: var(--font-d);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: 0.5px;
  margin-bottom: 9px;
  text-transform: uppercase;
}
.empty-body {
  font-size: 14px;
  color: var(--text-lo);
  max-width: 380px;
  line-height: 1.75;
  margin-bottom: 32px;
  font-weight: 300;
}

/* Capsule pills */
.capsules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 640px;
}
.capsule {
  padding: 9px 16px;
  border: 1px solid var(--border2);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--text-mid);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font-b);
  font-weight: 300;
  text-align: left;
}
.capsule:hover {
  border-color: var(--yellow);
  color: var(--text-hi);
  background: rgba(245,197,0,0.07);
  transform: translateY(-1px);
}
[data-theme="light"] .capsule:hover {
  border-color: var(--navy-mid);
  color: var(--navy);
  background: rgba(11,21,80,0.06);
}

/* Messages */
.msg { display: flex; gap: 12px; max-width: 820px; animation: msgIn 0.25s ease; }
.msg.user { flex-direction: row-reverse; align-self: flex-end; }
@keyframes msgIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

.msg-av {
  width: 32px; height: 32px;
  border-radius: 5px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.msg-av.ai { background: var(--yellow); color: var(--navy-deep); }
[data-theme="light"] .msg-av.ai { background: var(--navy); color: #fff; }
.msg-av.user { background: var(--surface2); color: var(--text-lo); border: 1px solid var(--border2); }

.msg-bubble {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.78;
  max-width: 580px;
  font-weight: 300;
}
.msg.ai .msg-bubble {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: 3px 6px 6px 6px;
}
[data-theme="light"] .msg.ai .msg-bubble {
  box-shadow: 0 1px 6px rgba(11,21,80,0.07);
}
.msg.user .msg-bubble {
  background: var(--navy-mid);
  color: rgba(255,255,255,0.92);
  border-radius: 6px 3px 6px 6px;
  font-weight: 400;
}
[data-theme="light"] .msg.user .msg-bubble { background: var(--navy); }
.msg-bubble strong { color: var(--text-hi); font-weight: 600; }
[data-theme="light"] .msg.ai .msg-bubble strong { color: var(--navy); }

/* Follow-up suggestions under AI message */
.followups {
  display: flex; gap: 7px; flex-wrap: wrap;
  margin-top: 4px; padding-left: 44px;
}
.fup {
  padding: 5px 12px;
  border: 1px solid var(--border2);
  border-radius: 14px;
  font-size: 11.5px;
  color: var(--text-lo);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-b);
  transition: all 0.14s;
}
.fup:hover { border-color: var(--yellow); color: var(--text-hi); background: rgba(245,197,0,0.06); }
[data-theme="light"] .fup:hover { border-color: var(--navy-mid); color: var(--navy); }

/* Typing dots */
.typing { display:flex; gap:5px; align-items:center; padding:3px 0; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow); animation: tdot 1.2s ease-in-out infinite;
}
[data-theme="light"] .typing span { background: var(--navy-mid); }
.typing span:nth-child(2) { animation-delay:.2s; }
.typing span:nth-child(3) { animation-delay:.4s; }
@keyframes tdot { 0%,60%,100%{opacity:.2;transform:scale(.75)} 30%{opacity:1;transform:scale(1)} }

/* Calendly CTA inside chat */
.chat-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
}
.chat-cta:hover { background: var(--yellow-hot); transform: translateY(-1px); }
[data-theme="light"] .chat-cta { background: var(--navy); color: #fff; }

/* Input zone */
.input-zone {
  padding: 14px 44px 18px;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative; z-index: 1;
}
.input-shell {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 10px 13px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.input-shell:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,0,0.09);
}
[data-theme="light"] .input-shell:focus-within {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(11,21,80,0.08);
}
#chat-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: var(--font-b); font-size: 14px; font-weight: 300;
  color: var(--text-hi); resize: none; max-height: 120px;
  line-height: 1.6; min-height: 22px;
}
#chat-input::placeholder { color: var(--text-lo); }
#send-btn {
  width: 34px; height: 34px; border-radius: 5px; border: none;
  background: var(--yellow); color: var(--navy-deep);
  cursor: pointer; font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s;
}
#send-btn:hover { background: var(--yellow-hot); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,197,0,0.3); }
#send-btn:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }
[data-theme="light"] #send-btn { background: var(--navy); color: #fff; }
[data-theme="light"] #send-btn:hover { background: var(--navy-mid); }
.input-caption {
  margin-top: 7px;
  font-family: var(--font-m);
  font-size: 9.5px;
  letter-spacing: 0.8px;
  color: var(--text-lo);
  text-align: center;
  text-transform: uppercase;
}

/* ══ extracted block ══ */

.faq-sec{padding:58px max(40px,5vw);}
.faq-inner{max-width:1040px;margin:0 auto;}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px;align-items:start;}
.faq-item{border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden;}
.faq-item summary{cursor:pointer;padding:14px 18px;font-family:var(--font-d);font-size:16px;font-weight:600;color:var(--text-hi);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+';color:var(--yellow);font-size:22px;font-weight:400;line-height:1;}
.faq-item[open] summary::after{content:'\2013';}
.faq-a{padding:0 18px 16px;color:var(--text-mid);font-size:13.5px;line-height:1.65;}
@media(max-width:760px){.faq-grid{grid-template-columns:1fr;}}
/* ═══════════════════════════════════════════════════════
   UI POLISH PASS (B2/B3/P1–P4) — appended, wins in cascade
   ═══════════════════════════════════════════════════════ */
:root { --dur: 180ms; --ease: cubic-bezier(.2,.8,.2,1); }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ── B2: keep footer badges clear of the fixed chat launcher ── */
@media (min-width: 900px) { .footer-bottom { padding-right: 250px; } }
@media (max-width: 899px) { footer { padding-bottom: 88px; } }

/* ── B3: logo as a deliberate rounded chip in both themes ── */
.nav-logo-img { height: 48px; width: auto; display: block; border-radius: 10px; border: 1px solid var(--border2); }
[data-theme="light"] .nav-logo-img { box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.empty-icon { border-radius: 14px; }

/* ── P1: theme toggle — bigger hit area, crossfading icons ── */
.theme-btn { width: 38px; height: 38px; position: relative; color: var(--text-mid); }
.tb-ico { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity 150ms var(--ease); }
.tb-moon { opacity: 0; }
[data-theme="light"] .tb-sun { opacity: 0; }
[data-theme="light"] .tb-moon { opacity: 1; color: var(--navy); }

/* ── P2: light-theme contrast (amber text ≥4.5:1 on white) ── */
[data-theme="light"] { --accent: #8a6d00; }
[data-theme="light"] .nc-card, [data-theme="light"] .case-card, [data-theme="light"] .faq-item,
[data-theme="light"] .how-step, [data-theme="light"] .estimator-card,
[data-theme="light"] .tier-grid > div, [data-theme="light"] .team-grid > div,
[data-theme="light"] .leader-grid > div { box-shadow: 0 1px 3px rgba(16,24,40,.08); }

/* ── P3.1: nav scrolled state + active section; drop stray light keyline ── */
.nav { transition: background .35s, height var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.nav.scrolled { height: 68px; box-shadow: 0 8px 28px rgba(0,0,0,.22); }
[data-theme="light"] .nav.scrolled { box-shadow: 0 4px 18px rgba(16,24,40,.12); }
[data-theme="light"] .nav::after { display: none; }
.nav-links a.active { color: var(--yellow); }
[data-theme="light"] .nav-links a.active { color: var(--navy-mid); font-weight: 700; }

/* ── P3.2: hero period dots — deliberate, not lavender ── */
[data-theme="light"] .period { opacity: 0.85; }

/* ── P3.3: comparison table color coding ── */
.cross { color: #E37070; opacity: 1; }
[data-theme="light"] .cross { color: #B4403E; }
.compare-legend { font-size: 12px; color: var(--text-mid); margin-top: 16px; font-family: var(--font-m); letter-spacing: .4px; }

/* ── P3.4: marquee edge fade matches light background ── */
[data-theme="light"] .marquee::before { background: linear-gradient(90deg, var(--bg), transparent); }
[data-theme="light"] .marquee::after  { background: linear-gradient(270deg, var(--bg), transparent); }

/* ── P3.6: "Most Popular" tab headroom ── */
.tier-grid { padding-top: 14px; }
.tier-grid > div { overflow: visible; }

/* ── P3.7: FAQ open animation + rotating indicator ── */
.faq-item summary::after { content: '+'; transition: transform var(--dur) var(--ease); }
.faq-item[open] summary::after { content: '+'; transform: rotate(45deg); }
.faq-item[open] .faq-a { animation: faqOpen .26s var(--ease); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ── P3.9: chat popup contrast in light theme ── */
[data-theme="light"] .ai-pop-msg.user { background: var(--navy); color: #fff; }

/* ── P4: one motion token pair for interactive elements ── */
.btn-primary, .btn-ghost, .nav-cta, .est-opt, .capsule, .fup, .cookie-btn,
.chat-cta, .ai-pop-send, .floating-cta-btn, .theme-btn {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn-primary:hover, .nav-cta:hover, .floating-cta-btn:hover { transform: translateY(-1px); }
.btn-primary:active, .btn-ghost:active, .nav-cta:active, .est-opt:active,
.capsule:active, .cookie-btn:active, .floating-cta-btn:active { transform: translateY(1px); }

/* ── P4: deep links never hide under the sticky header ── */
section[id], #faq, #contact { scroll-margin-top: 96px; }

/* ── B1/P4: reduced motion — everything visible, nothing animates ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track, .ticker-track { animation-play-state: paused !important; }
  .reveal, .loc-cell, .manifesto-qline, .manifesto-sent { opacity: 1 !important; transform: none !important; }
}

/* ═══ PHASE 1: TYPOGRAPHY — Space Grotesk display / Inter body ═══ */
body { font-size: 16px; line-height: 1.65; font-feature-settings: "cv02","cv03","cv04"; }
.hero-h1 { font-size: clamp(56px, 9vw, 128px); letter-spacing: -0.03em; line-height: 0.95; text-wrap: balance; font-weight: 700; }
.sec-h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
.sec-eyebrow { font-size: 11.5px; font-weight: 600; }
.stat-num, .case-stat-num, .nc-num, .est-result-num, .how-num, #footer-year {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-d);
}
.faq-a { font-size: 15px; }
.stat-lbl { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; }
.btn-primary, .btn-ghost, .nav-cta { font-family: var(--font-d); }

/* ═══ PHASE 2: LIGHT THEME REDESIGN ═══ */
/* Hero atmosphere: soft brand glows + dot grid, masked toward the fold */
[data-theme="light"] .hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(640px circle at 82% 18%, rgba(26,43,168,0.075), transparent 62%),
    radial-gradient(520px circle at 12% 78%, rgba(0,201,167,0.065), transparent 62%),
    radial-gradient(rgba(11,21,80,0.09) 1px, transparent 1.5px);
  background-size: auto, auto, 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 96%);
  pointer-events: none;
}

/* Yellow is a fill/badge color in light — never text on white */
[data-theme="light"] .cookie-text a { color: var(--navy-mid); font-weight: 600; }
[data-theme="light"] .input-caption { color: var(--text-lo); }

/* Cookie banner: readable Decline, surface treatment */
[data-theme="light"] .cookie-banner { background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(16,24,40,.08); }
[data-theme="light"] .cookie-btn.cookie-decline { background: #fff; color: var(--text-hi); border: 1px solid var(--border2); }
[data-theme="light"] .cookie-btn.cookie-accept { background: var(--navy); color: #fff; }

/* Comparison table: tinted header, elevated ShipCube column */
[data-theme="light"] .compare-table th { background: var(--bg3); color: var(--text-mid); }
[data-theme="light"] .compare-table th.ours { background: var(--navy); color: #fff; }
[data-theme="light"] .compare-table td.ours {
  background: rgba(26,43,168,0.055);
  box-shadow: inset 1px 0 0 rgba(26,43,168,0.25), inset -1px 0 0 rgba(26,43,168,0.25);
}

/* Marquee chips: bordered cards instead of floating shadows */
[data-theme="light"] .marquee-card { border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(16,24,40,.07); }

/* Footer (navy in both themes) — raise text alphas to readable */
.footer-copy { color: rgba(255,255,255,0.48); }
.footer-copy a { color: rgba(255,255,255,0.62); }
.footer-links a { color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: #fff; }
.fb-markets { color: rgba(255,255,255,0.55); }
.sc-globe-cap { color: rgba(255,255,255,0.72); }

/* ═══ PHASE 3: DEPTH & EFFECTS ═══ */
/* Elevation tokens — dark elevates with border-glow, light with ambient shadow */
:root {
  --sh-sm: 0 0 0 1px rgba(255,255,255,0.06);
  --sh-md: 0 0 0 1px rgba(255,255,255,0.10), 0 8px 24px rgba(0,0,0,0.45);
  --sh-lg: 0 0 0 1px rgba(255,255,255,0.12), 0 24px 60px rgba(0,0,0,0.60);
}
[data-theme="light"] {
  --sh-sm: 0 1px 2px rgba(16,24,40,.05), 0 4px 12px rgba(16,24,40,.06);
  --sh-md: 0 12px 24px rgba(16,24,40,.10);
  --sh-lg: 0 24px 48px rgba(16,24,40,.18);
}
.nc-card, .case-card, .faq-item, .how-step, .estimator-card,
.tier-grid > div, .team-grid > div, .leader-grid > div { box-shadow: var(--sh-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.nc-card:hover, .case-card:hover, .how-step:hover,
.tier-grid > div:hover, .team-grid > div:hover, .leader-grid > div:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
[data-theme="light"] .nc-card, [data-theme="light"] .case-card, [data-theme="light"] .faq-item,
[data-theme="light"] .how-step, [data-theme="light"] .estimator-card,
[data-theme="light"] .tier-grid > div, [data-theme="light"] .team-grid > div,
[data-theme="light"] .leader-grid > div { box-shadow: var(--sh-sm); }

/* Glass nav */
.nav { background: rgba(8,15,63,0.72); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); }
[data-theme="light"] .nav { background: rgba(255,255,255,0.78); border-bottom: 1px solid var(--border); }

/* Gradient text on h2 highlight words */
.sec-h2 .y { background: linear-gradient(120deg, #F5C500, #E39A00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #F5C500; }
.sec-h2 .t { background: linear-gradient(120deg, #00C9A7, #3AB8E8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #00C9A7; }
[data-theme="light"] .sec-h2 .y { background: linear-gradient(120deg, #1A2BA8, #0E8F77); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #1A2BA8; }
[data-theme="light"] .sec-h2 .t { background: linear-gradient(120deg, #1A2BA8, #00A98C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #0E8F77; }

/* Buttons: inner highlight + hero CTA sheen */
.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero-btns .btn-primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  left: -60%; animation: ctaSheen 6s var(--ease) infinite;
  pointer-events: none;
}
@keyframes ctaSheen { 0%, 72% { left: -60%; } 88%, 100% { left: 130%; } }

/* Scroll reveals: subtler travel + blur-to-sharp */
.reveal { transform: translateY(12px); filter: blur(5px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); }
.reveal.in { filter: blur(0); }

/* Brand selection + scrollbar */
::selection { background: #F5C500; color: #07101F; }
[data-theme="light"] ::selection { background: #0B1550; color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-lo); }

/* ═══ PHASE 4: COMPONENT POLISH ═══ */
/* Nav links: slide-in underline (hover + scrollspy active) */
.nav-links a { position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Hero stats: divider grows in on reveal */
.hero-stats { border-top: none; position: relative; }
.hero-stats::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--border2); transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease) 0.35s;
}
.hero-stats.in::before { transform: scaleX(1); }

/* Comparison table: zebra rows (ShipCube column keeps its wash) */
.compare-table tbody tr:nth-child(even) td:not(.ours),
.compare-table tbody tr:nth-child(even) th[scope="row"] { background: rgba(255,255,255,0.025); }
[data-theme="light"] .compare-table tbody tr:nth-child(even) td:not(.ours),
[data-theme="light"] .compare-table tbody tr:nth-child(even) th[scope="row"] { background: rgba(16,24,40,0.025); }
.compare-table th[scope="row"] { text-align: left; color: var(--text-hi); font-weight: 500; font-size: 14px; }
[data-theme="light"] .compare-table th[scope="row"] { color: var(--navy); }

/* Team & leadership photos: one treatment, gentle hover */
.team-grid img, .leader-grid img { filter: saturate(0.88) contrast(1.02); transition: filter var(--dur) var(--ease); }
.team-grid > div:hover img, .leader-grid > div:hover img { filter: saturate(1.05); }

/* Growth tier: elevated */
.tier-grid > div:nth-child(2) { box-shadow: var(--sh-md); }

/* Chat popup: elevated glass */
.ai-pop { box-shadow: var(--sh-lg); }
.ai-pop-head { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
[data-theme="light"] .ai-pop-msg.ai { background: var(--bg3); color: var(--text-hi); }

/* ═══ SUB-PAGES (locations / services / blog) ═══ */
.subpage { max-width: 880px; margin: 0 auto; padding: 140px max(24px,4vw) 90px; }
.crumbs { font-family: var(--font-m); font-size: 12px; letter-spacing: .6px; color: var(--text-lo); margin-bottom: 26px; }
.crumbs a { color: var(--text-lo); text-decoration: none; }
.crumbs a:hover { color: var(--text-hi); }
.crumb-sep { margin: 0 8px; opacity: .5; }
.subpage h1 { font-family: var(--font-d); font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.02em; line-height: 1.05; color: var(--text-hi); margin: 0 0 14px; text-wrap: balance; }
.page-lede { font-size: 17px; line-height: 1.7; color: var(--text-mid); max-width: 640px; margin: 0 0 34px; }
.subpage h2 { font-family: var(--font-d); font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.01em; color: var(--text-hi); margin: 44px 0 14px; }
.subpage h3 { font-family: var(--font-d); font-size: 18px; color: var(--text-hi); margin: 26px 0 10px; }
.subpage p, .subpage li { font-size: 15.5px; line-height: 1.7; color: var(--text-mid); }
.subpage ul { padding-left: 22px; margin: 0 0 16px; }
.subpage a { color: var(--teal); text-decoration: none; }
.subpage a:hover { text-decoration: underline; }
[data-theme="light"] .subpage a { color: var(--navy-mid); }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px 0 8px; }
.fact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 16px 18px; box-shadow: var(--sh-sm); }
.fact-card .fk { font-family: var(--font-m); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-lo); margin-bottom: 6px; }
.fact-card .fv { font-family: var(--font-d); font-size: 17px; color: var(--text-hi); font-variant-numeric: tabular-nums; }
.rate-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; font-size: 14.5px; }
.rate-table caption { text-align: left; font-family: var(--font-m); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-lo); padding-bottom: 10px; }
.rate-table th, .rate-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.rate-table th { font-family: var(--font-m); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-lo); }
.rate-table td:first-child { color: var(--text-hi); font-weight: 500; }
.cta-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 26px 28px; margin-top: 46px; box-shadow: var(--sh-sm); }
.cta-panel p { margin: 0; flex: 1 1 300px; }
.link-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.link-pills a { font-family: var(--font-m); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-mid); background: var(--surface); border: 1px solid var(--border2); border-radius: 100px; padding: 9px 15px; text-decoration: none; }
.link-pills a:hover { color: var(--text-hi); border-color: var(--teal); text-decoration: none; }
.post-list { display: grid; gap: 16px; margin-top: 30px; }
.post-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 24px 26px; text-decoration: none !important; box-shadow: var(--sh-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.post-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.post-card h3 { margin: 0 0 8px; }
.post-card .pc-meta { font-family: var(--font-m); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-lo); margin-bottom: 6px; }
.post-card p { margin: 0; }
.article-meta { font-family: var(--font-m); font-size: 12px; letter-spacing: .5px; color: var(--text-lo); margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.draft-banner { background: rgba(245,197,0,.12); border: 1px solid rgba(245,197,0,.4); color: var(--text-hi); border-radius: 6px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 26px; }
.subpage .faq-grid { grid-template-columns: 1fr; }

/* ═══ LIGHTHOUSE A11Y FIXES ═══ */
/* Teal as TEXT fails on light backgrounds — darken the token in light theme
   (5.1:1 on white); fills/dots inherit the same accessible shade. */
[data-theme="light"] { --teal: #0C7D68; }
/* Footer badges were 40% white on navy (~3.8:1) — raise to readable */
.footer-badge { color: rgba(255,255,255,0.66); border-color: rgba(255,255,255,0.28); }
/* Links inside footer text must not rely on color alone */
.footer-copy a { text-decoration: underline; text-underline-offset: 2px; }

/* ═══ Brand wordmark treatment in headings — mirrors the logo:
   "Ship" in ink, "Cube" in logo yellow (navy in light theme, same as
   the light-theme .logo-cube convention — yellow text fails on white) ═══ */
.brand-ship { color: #FFFFFF; }
.brand-cube { color: var(--yellow); }
[data-theme="light"] .brand-ship { color: var(--navy); }
[data-theme="light"] .brand-cube { color: var(--yellow); }
