/* NexBridge Solutions LLC — nexbs.us */

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --navy: #0a0f1f;
  --navy-700: #0d1428;
  --navy-600: #121b35;
  --navy-500: #182243;
  --surface-light: #f6f7fb;
  --surface-light-2: #ffffff;
  --ink: #0b1120;
  --ink-soft: #4a5370;
  --paper: #eef1f8;
  --paper-dim: #9aa5c4;
  --orange: #ff6a3d;
  --orange-dark: #e34f22;
  --teal: #2fd9c4;
  --blue: #5b7bff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--surface-light);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,106,61,.18);
}
.on-dark .eyebrow { color: var(--teal); }
.on-dark .eyebrow::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(47,217,196,.18); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); line-height: 1.65; }
.on-dark .section-head p { color: var(--paper-dim); }
.section-head.center { margin-inline: auto; text-align: center; }

section { position: relative; padding: 120px 0; }
@media (max-width: 720px) { section { padding: 84px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(255,106,61,.65);
}
.btn-primary:hover { box-shadow: 0 18px 38px -8px rgba(255,106,61,.75); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--paper);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #1a2240; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(10,15,31,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.18rem; color: #fff; }
.brand-mark { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--paper-dim);
  font-size: .94rem;
  font-weight: 500;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--orange); transition: width .3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 340px);
    background: var(--navy-700); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 36px; gap: 26px; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav.menu-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }

  .nav-backdrop {
    position: fixed; inset: 0; z-index: -1;
    background: rgba(5,8,18,.55); backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .nav.menu-open .nav-backdrop { opacity: 1; pointer-events: auto; z-index: 90; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .blob {
  position: absolute;
  width: 46vw; height: 46vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: float 16s ease-in-out infinite;
}
.blob-1 { background: radial-gradient(circle, var(--orange), transparent 70%); top: -14%; left: -10%; }
.blob-2 { background: radial-gradient(circle, var(--blue), transparent 70%); bottom: -20%; right: -8%; animation-delay: -5s; }
.blob-3 { background: radial-gradient(circle, var(--teal), transparent 70%); top: 30%; right: 20%; width: 28vw; height: 28vw; animation-delay: -9s; }
.hero-bg .grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 85%);
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(3%, 4%) scale(1.08); }
  66% { transform: translate(-3%, -2%) scale(.96); }
}

.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 980px) { .hero .container { grid-template-columns: 1fr; } }
.hero-copy, .hero-art { min-width: 0; }

.hero-copy h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);
  margin-top: 18px;
}
.hero-copy h1 .grad {
  background: linear-gradient(100deg, var(--orange) 10%, var(--teal) 55%, var(--blue) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p.lead {
  margin-top: 22px; font-size: 1.15rem; line-height: 1.65; color: var(--paper-dim); max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 34px; margin-top: 56px; flex-wrap: wrap; }
.hero-meta div b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; color: #fff; }
.hero-meta div span { font-size: .82rem; color: var(--paper-dim); }

.hero-art { position: relative; }
.route-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.route-card svg { width: 100%; height: auto; }

/* ---------- Dispatch console (hero) ---------- */
.console-card { position: relative; overflow: hidden; }
.console-scan {
  position: absolute; left: 0; right: 0; height: 90px; top: -90px;
  background: linear-gradient(180deg, rgba(47,217,196,.14), transparent);
  animation: scan-sweep 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan-sweep {
  0% { top: -90px; }
  50% { top: 100%; }
  100% { top: -90px; }
}
.console-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #2fd9c4; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(47,217,196,.6);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,217,196,.55); }
  70% { box-shadow: 0 0 0 9px rgba(47,217,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,217,196,0); }
}
.console-title { color: #fff; font-weight: 700; font-size: .98rem; }
.console-badge {
  margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--teal); background: rgba(47,217,196,.12); border: 1px solid rgba(47,217,196,.3);
  padding: 3px 10px; border-radius: 999px;
}
.load-row {
  display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; animation: row-in .6s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.load-row:last-of-type { border-bottom: none; }
@keyframes row-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.load-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.load-icon svg { width: 19px; height: 19px; }
.load-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.load-info b { color: #fff; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.load-info small { color: var(--paper-dim); font-size: .76rem; }
.status-pill {
  margin-left: auto; flex-shrink: 0; font-size: .72rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
}
.status-transit { color: #ffb088; background: rgba(255,106,61,.14); border: 1px solid rgba(255,106,61,.3); }
.status-locked { color: #8fb0ff; background: rgba(91,123,255,.14); border: 1px solid rgba(91,123,255,.3); }
.status-done { color: #6fe3cf; background: rgba(47,217,196,.14); border: 1px solid rgba(47,217,196,.3); }
.console-foot { margin-top: 18px; }
.match-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--paper-dim); margin-bottom: 8px; }
.match-value { color: var(--teal); font-weight: 700; }
.match-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.match-bar span {
  display: block; height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  animation: match-fill 1.6s .4s var(--ease) forwards;
}
@keyframes match-fill { to { width: 96%; } }

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--navy-700);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 22px 0;
  overflow: hidden;
}
.marquee { display: flex; width: max-content; animation: scroll-left 32s linear infinite; }
.marquee span {
  display: flex; align-items: center; gap: 10px;
  padding: 0 36px; font-size: .95rem; color: var(--paper-dim); white-space: nowrap;
  font-weight: 500;
}
.marquee span b { color: #fff; }
.marquee span svg { width: 16px; height: 16px; color: var(--orange); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Services (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

.card {
  background: var(--surface-light-2);
  border: 1px solid #e7e9f3;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  will-change: transform;
}
.card:hover { box-shadow: 0 30px 50px -24px rgba(11,17,32,.22); border-color: #d9deee; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #fff0ea, #ffe3d8);
  margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card:nth-child(2) .icon { background: linear-gradient(145deg, #e8fbf7, #d4f6ee); }
.card:nth-child(3) .icon { background: linear-gradient(145deg, #ecf0ff, #dde4ff); }
.card:nth-child(4) .icon { background: linear-gradient(145deg, #fff0ea, #ffe3d8); }
.card:nth-child(5) .icon { background: linear-gradient(145deg, #ecf0ff, #dde4ff); }
.card:nth-child(6) .icon { background: linear-gradient(145deg, #e8fbf7, #d4f6ee); }
.card h3 { font-size: 1.18rem; }
.card p { margin-top: 12px; color: var(--ink-soft); line-height: 1.6; font-size: .96rem; }
.card.feature { grid-column: span 2; display: flex; align-items: center; gap: 30px; }
@media (max-width: 980px) { .card.feature { grid-column: span 2; } }
@media (max-width: 640px) { .card.feature { grid-column: span 1; flex-direction: column; align-items: flex-start; } }

/* ---------- How it works ---------- */
.on-dark { background: var(--navy); color: #fff; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
@media (max-width: 980px) { .timeline { grid-template-columns: 1fr; gap: 0; } }
.timeline::before {
  content: ''; position: absolute; top: 27px; left: 4%; right: 4%; height: 1px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,.22) 0, rgba(255,255,255,.22) 8px, transparent 8px, transparent 16px);
}
@media (max-width: 980px) {
  .timeline::before { display: none; }
}
.step { position: relative; padding-top: 0; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-500); border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem;
  color: var(--teal); margin-bottom: 22px; position: relative; z-index: 1;
}
@media (max-width: 980px) {
  .step { display: flex; gap: 20px; padding-bottom: 36px; border-left: 1px dashed rgba(255,255,255,.2); padding-left: 24px; margin-left: 27px; }
  .step:last-child { border-left-color: transparent; }
  .step-num { margin-bottom: 0; flex-shrink: 0; margin-left: -51px; }
  .step-body { min-width: 0; }
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--paper-dim); line-height: 1.6; font-size: .94rem; }

/* ---------- AI section ---------- */
.ai-section { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; overflow: hidden; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .ai-grid { grid-template-columns: 1fr; gap: 50px; } }
.ai-copy h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.7rem); margin-top: 14px; }
.ai-copy p.lead { margin-top: 18px; color: var(--paper-dim); font-size: 1.05rem; line-height: 1.65; max-width: 480px; }
.ai-points { margin-top: 34px; display: grid; gap: 20px; }
.ai-point { display: flex; gap: 16px; align-items: flex-start; }
.ai-point .dot {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: rgba(47,217,196,.12); border: 1px solid rgba(47,217,196,.3);
  display: flex; align-items: center; justify-content: center;
}
.ai-point .dot svg { width: 18px; height: 18px; color: var(--teal); }
.ai-point h4 { font-size: 1rem; margin-bottom: 6px; }
.ai-point p { color: var(--paper-dim); font-size: .92rem; line-height: 1.55; }

.ai-visual { position: relative; }
.chip-card {
  background: radial-gradient(circle at 30% 20%, rgba(91,123,255,.18), transparent 60%), var(--navy-600);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
}
.pulse-ring { position: absolute; border: 1px solid rgba(47,217,196,.35); border-radius: 50%; animation: pulse-ring 3.2s var(--ease) infinite; }
@keyframes pulse-ring { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Coverage / network map ---------- */
.coverage-section { background: var(--surface-light); }
.coverage-wrap { position: relative; border-radius: var(--radius-lg); background: var(--navy); padding: 60px 20px; overflow: hidden; }
.coverage-wrap svg { width: 100%; max-width: 760px; margin: 0 auto; display: block; }
.net-node circle.core { fill: var(--orange); }
.net-node circle.ring { fill: none; stroke: rgba(255,106,61,.4); }
.net-node.outer circle.core { fill: var(--teal); }
.net-node.outer circle.ring { stroke: rgba(47,217,196,.35); }
.net-label { fill: #cfd6ea; font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 600; }
.net-label.hq { fill: #fff; font-size: 13px; }
.net-line { stroke: rgba(255,255,255,.22); stroke-width: 1; stroke-dasharray: 4 6; fill: none; }
.net-packet { fill: var(--teal); }

/* ---------- Carriers CTA band ---------- */
.band {
  background: linear-gradient(120deg, #101a36, #0a0f1f 60%);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 70px 50px;
  color: #fff;
}
.band::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: var(--radius-lg);
  background: conic-gradient(from var(--angle), transparent 0 70%, var(--orange) 85%, transparent 100%);
  z-index: -1; opacity: .5; filter: blur(2px);
  animation: spin-angle 6s linear infinite;
}
@keyframes spin-angle { to { --angle: 360deg; } }
.band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .band-inner { grid-template-columns: 1fr; } .band { padding: 50px 28px; } }
.band h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem); margin-top: 12px; }
.band ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.band li { display: flex; gap: 10px; align-items: flex-start; color: var(--paper-dim); font-size: .96rem; }
.band li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.band-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); padding: 30px; text-align: center; }
.band-card p { color: var(--paper-dim); font-size: .92rem; margin-top: 10px; margin-bottom: 22px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-illus { background: var(--surface-light-2); border-radius: var(--radius-lg); padding: 30px; border: 1px solid #e7e9f3; }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; margin-top: 18px; }
.about-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.about-tags span { padding: 8px 16px; border-radius: 999px; background: #fff0ea; color: var(--orange-dark); font-size: .85rem; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-section { background: var(--navy); color: #fff; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 880px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-copy p.lead { margin-top: 18px; color: var(--paper-dim); font-size: 1.05rem; line-height: 1.65; max-width: 460px; }
.contact-card {
  background: var(--navy-600);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ic svg { width: 19px; height: 19px; color: var(--teal); }
.contact-row b { display: block; font-size: .92rem; color: #fff; margin-bottom: 3px; }
.contact-row span { font-size: .88rem; color: var(--paper-dim); }
.pill-soon { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); background: rgba(255,106,61,.12); border: 1px solid rgba(255,106,61,.3); padding: 3px 10px; border-radius: 999px; margin-left: auto; white-space: nowrap; }

/* ---------- Footer ---------- */
footer { background: var(--navy-700); color: var(--paper-dim); padding: 60px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #5c6690; margin-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .84rem; }

/* ---------- Scroll to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

.tilt { transform-style: preserve-3d; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--teal), var(--blue));
  z-index: 200;
  transition: width .1s linear;
}

/* ---------- Cursor spotlight (hero) ---------- */
.spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 30%), rgba(255,255,255,.07), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.hero:hover .spotlight { opacity: 1; }

/* ---------- Magnetic buttons ---------- */
.magnetic { will-change: transform; }

/* ---------- AI visual rotation ---------- */
.chip-card svg #ringGroup { transform-origin: 160px 160px; animation: spin-slow 18s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Grain overlay ---------- */
.grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Form ---------- */
.lead-form { margin-top: 42px; display: grid; gap: 16px; max-width: 520px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--paper-dim); }
.field input, .field textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 13px 15px;
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: rgba(255,255,255,.08);
}
.field textarea { resize: vertical; min-height: 90px; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; padding-top: 4px; }
.consent-row input[type="checkbox"] {
  margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal); cursor: pointer;
}
.consent-row label { font-size: .82rem; line-height: 1.55; color: var(--paper-dim); }
.consent-row a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: .78rem; color: var(--paper-dim); opacity: .8; }
.form-success {
  display: none; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px;
  background: rgba(47,217,196,.12); border: 1px solid rgba(47,217,196,.35); color: #fff; font-size: .9rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* ---------- Legal pages ---------- */
.page-header {
  background: var(--navy); color: #fff; padding: 170px 0 70px; position: relative; overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); margin-top: 14px; }
.page-header p { margin-top: 14px; color: var(--paper-dim); }
.legal { padding: 70px 0 100px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 46px; margin-bottom: 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 10px; }
.legal p { color: var(--ink-soft); line-height: 1.75; margin-top: 14px; font-size: .98rem; }
.legal ul { color: var(--ink-soft); line-height: 1.75; font-size: .98rem; padding-left: 22px; margin-top: 14px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal .updated { font-size: .85rem; color: var(--paper-dim); }
.callout {
  background: #fff7ed; border: 1px solid #ffdcc4; border-radius: var(--radius-sm);
  padding: 20px 22px; margin-top: 20px;
}
.callout p { margin-top: 0; color: var(--orange-dark); font-size: .92rem; }
.callout p + p { margin-top: 10px; }
