/* Nesterra — home page (Design option A · Dark network-tech) */

:root {
  --bg: #060A13;
  --bg-2: #0A101C;
  --surface: #0B1220;
  --surface-2: #0E1829;
  --text: #EEF3FB;
  --text-2: #C9D3E3;
  --muted: #9AA7BD;
  --faint: #6F7D94;
  --line: rgba(148, 170, 210, 0.12);
  --line-2: rgba(148, 170, 210, 0.14);
  --line-3: rgba(148, 170, 210, 0.22);
  --ac: #4FD8FF;
  --ac-hover: #A5ECFF;
  --ac-12: rgba(79, 216, 255, 0.12);
  --ac-22: rgba(79, 216, 255, 0.22);
  --ac-40: rgba(79, 216, 255, 0.40);
  --ac-55: rgba(79, 216, 255, 0.55);
  --ac-70: rgba(79, 216, 255, 0.70);
  --ok: #5BE49B;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: 32px;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.menu-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--ac); text-decoration: none; }
a:hover { color: var(--ac-hover); }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ac); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.page { position: relative; min-height: 100vh; overflow-x: clip; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ac { color: var(--ac); }
.muted { color: var(--muted); }

/* ---------- ambient background ---------- */
.bg-grid {
  position: absolute; left: 0; right: 0; top: 0; height: 1100px; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 170, 210, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 210, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.glow { background: radial-gradient(closest-side, var(--ac-22), transparent); filter: blur(10px); pointer-events: none; }
.bg-glow { position: absolute; width: 760px; height: 760px; right: -160px; top: -40px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; white-space: nowrap;
  transition: transform .2s, box-shadow .25s, background-color .2s, border-color .2s, color .2s;
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; gap: 8px; }
.btn-md { height: 52px; padding: 0 24px; font-size: 15px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15px; letter-spacing: 0.02em; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--ac); color: var(--bg); }
.btn-primary:hover { color: var(--bg); transform: translateY(-2px); box-shadow: 0 14px 36px -10px var(--ac-70); }
.btn-ghost { border: 1px solid var(--line-3); color: var(--text); font-weight: 500; }
.btn-ghost:hover { color: var(--text); background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 14px 36px -12px rgba(6, 10, 19, .7); }
.btn:active { transform: scale(.97); }
.btn-sm.btn-ghost { padding: 0 18px; }

.arrow { transition: transform .25s; }
a:hover .arrow { transform: translateX(4px); }

.link { color: var(--muted); transition: color .2s; }
.link:hover { color: var(--text); }

.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 10, 19, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { color: var(--ac); }
.brand-name { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--line-3); background: rgba(13, 20, 36, 0.8); color: var(--text);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: 49;
  overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line);
  padding: 28px 20px 40px; display: flex; flex-direction: column; gap: 4px;
  animation: menuIn .35s var(--ease) both;
}
.mobile-menu[hidden] { display: none; }
.mm-link {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
  border-bottom: 1px solid rgba(148, 170, 210, 0.1);
  font-family: var(--font-head); font-size: 26px; font-weight: 500; color: var(--text);
}
.mm-link span { font-family: var(--font-body); font-size: 13px; color: var(--faint); }
.mm-link.is-current, .mm-link:hover { color: var(--ac); }
.mm-cta { margin-top: 28px; height: 56px; font-size: 16px; }
.mobile-menu .btn-ghost { margin-top: 10px; height: 56px; font-size: 16px; }

/* ---------- shared type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ac); }
h2 { font-family: var(--font-head); font-size: clamp(32px, 2.4vw + 14px, 48px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.lead strong { color: var(--text); font-weight: 600; }

.section { padding-block: 96px; }
.section-head { display: flex; flex-direction: column; gap: 20px; }
.section-head.narrow { max-width: 820px; }
.split { flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.split-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-side { flex: 1 1 380px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: 20px; }

/* cards */
.card {
  position: relative; border-radius: 20px; border: 1px solid var(--line-2); background-color: var(--surface); color: var(--text);
  transition: transform .35s var(--ease), border-color .35s, background-color .35s,
              opacity .8s var(--ease) calc(var(--i, 0) * 90ms), translate .8s var(--ease) calc(var(--i, 0) * 90ms);
}
.card:hover { color: var(--text); transform: translateY(-6px); border-color: var(--ac-40); background-color: var(--surface-2); }
.ico {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--ac-12); color: var(--ac);
  transition: background-color .35s, color .35s, transform .35s;
}
.card:hover .ico { background-color: var(--ac); color: var(--bg); transform: rotate(-6deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 88px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(148, 170, 210, 0.2); background: rgba(13, 20, 36, 0.7); font-size: 13px; color: var(--text-2);
}
.pill-link:hover { color: var(--text); border-color: var(--line-3); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.hero-title { font-family: var(--font-head); font-size: clamp(34px, 2.9vw + 12px, 54px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; }
.hl { position: relative; display: inline-block; }
.hl-line {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--ac);
  transform-origin: left; animation: underline 1.2s var(--ease) 1s both;
}
.shine {
  background: linear-gradient(90deg, var(--text) 0%, var(--ac) 25%, var(--text) 50%, var(--ac) 75%, var(--text) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-video { gap: 12px; padding: 0 24px 0 8px; letter-spacing: 0; }
.play { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: inline-flex; align-items: center; justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 8px; font-size: 13px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ac); }

/* network visual */
.hero-visual { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.net { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; color: var(--ac); }
.net-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-flows { stroke-width: 1; }
.net-packets { stroke-width: 4; }
.flow { stroke-dasharray: 4 12; animation: flow 2.4s linear infinite; }
.packet { stroke-dasharray: 6 1000; stroke-dashoffset: 6; animation: packet 3.4s cubic-bezier(.45, 0, .55, 1) infinite; }
.spin { animation: spin 48s linear infinite; }
.spin-r { animation: spinR 70s linear infinite; }
.node { animation: nodePulse 2.6s ease-in-out infinite; }
.hub, .hub-pulse { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; border-radius: 50%; transform: translate(-50%, -50%); }
.hub-pulse { border: 1px solid var(--ac); }
.pulse { animation: pulse 3s ease-out infinite; }
.hub {
  background: radial-gradient(circle at 50% 35%, #13213A, #0A1120);
  border: 1px solid var(--ac-55); box-shadow: 0 0 60px -6px var(--ac-55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hub svg { color: var(--ac); }
.hub span { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-2); }
.chip {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(11, 18, 32, 0.9); border: 1px solid var(--line-3);
  font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--text);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ac); flex: none; }
.chip .sm { display: none; }
.float { animation: float 6s ease-in-out infinite; }

/* ---------- marquee ---------- */
.marquee { position: relative; border-block: 1px solid var(--line); background: rgba(11, 18, 32, 0.6); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 48px; padding-right: 48px; font-family: var(--font-head); font-size: 24px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.marquee-group li { display: inline-flex; align-items: center; gap: 48px; }
.marquee-group li::after { content: "◆"; color: var(--ac); }

/* ---------- who we are ---------- */
.section-who { padding-top: 128px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 56px; }
.team-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.team-card { flex: 1 1 300px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 40px; }
.team-top { display: flex; justify-content: space-between; align-items: flex-start; }
.num { font-family: var(--font-head); font-size: 14px; color: var(--faint); }
.team-card h3 { font-family: var(--font-head); font-size: 22px; line-height: 1.3; font-weight: 600; }

/* ---------- what we do ---------- */
.section-what { display: flex; flex-direction: column; gap: 56px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service { overflow: hidden; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; min-height: 340px; }
.service h3 { margin-top: 12px; font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.service p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ac); }
.service:hover .arrow { transform: translateX(4px); }
.bignum { position: absolute; right: 18px; top: 10px; font-family: var(--font-head); font-size: 88px; line-height: 1.2; font-weight: 700; color: rgba(148, 170, 210, 0.06); pointer-events: none; }
.services-dots { display: none; }

/* ---------- how we engage ---------- */
.section-how { position: relative; padding: 96px 0; background: var(--bg-2); border-block: 1px solid rgba(148, 170, 210, 0.1); }
.section-how > .container { display: flex; flex-direction: column; gap: 64px; }
.timeline { position: relative; }
.timeline-line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-2); }
.timeline-glow {
  position: absolute; top: -7px; width: 120px; height: 16px; margin-left: -60px; border-radius: 999px;
  background: radial-gradient(closest-side, var(--ac), transparent); filter: blur(2px);
  animation: travel 6s ease-in-out infinite;
}
.phases { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.phase { display: flex; flex-direction: column; gap: 18px; }
.phase-body { display: flex; flex-direction: column; gap: 18px; }
.phase-num {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: var(--bg); border: 2px solid var(--ac); color: var(--ac);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; box-shadow: 0 0 0 6px var(--bg-2);
}
.phase-final .phase-num { background: var(--ac); color: var(--bg); box-shadow: 0 0 0 6px var(--bg-2), 0 0 40px -4px var(--ac); }
.phase-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.phase h3 { font-family: var(--font-head); font-size: 24px; font-weight: 600; }
.phase-body p:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- results ---------- */
.section-results { padding-top: 128px; padding-bottom: 96px; }
.results {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid rgba(148, 170, 210, 0.16);
  background: linear-gradient(160deg, #0E1829, #080D18 60%);
  padding: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.results-glow { position: absolute; width: 520px; height: 520px; left: -160px; bottom: -260px; }
.results-copy { position: relative; flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.results-copy h2 { font-size: clamp(28px, 2vw + 16px, 44px); line-height: 1.1; }
.results-btn { align-self: flex-start; height: 50px; padding: 0 22px; }
.results-stat { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.stat-label { font-size: 14px; color: var(--muted); }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat-value { font-family: var(--font-head); font-size: clamp(84px, 6vw + 40px, 128px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.stat-unit { font-family: var(--font-head); font-size: 28px; color: var(--muted); }
.stat-chart { width: 100%; height: auto; margin-top: 8px; color: var(--ac); }
.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s cubic-bezier(.3, .6, .2, 1) .3s forwards; }

/* ---------- smartsite ---------- */
.section-smartsite { padding-top: 64px; padding-bottom: 128px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.smartsite-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(148, 170, 210, 0.08); font-size: 14px; }
.checks li::before {
  content: ""; width: 14px; height: 14px; flex: none; background: var(--ac);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.smartsite-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.smartsite-ctas .btn-ghost { padding: 0 22px; }
.smartsite-visual { flex: 1 1 560px; min-width: 0; }

.dash {
  position: relative; border-radius: 20px; border: 1px solid rgba(148, 170, 210, 0.18); background: var(--surface);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8), 0 0 80px -40px var(--ac); overflow: hidden;
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dash-dot { width: 11px; height: 11px; border-radius: 50%; background: #2A3550; }
.dash-url { margin-left: 14px; flex: 1; height: 26px; border-radius: 8px; background: rgba(148, 170, 210, 0.07); display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: var(--faint); }
.dash-body { display: flex; min-height: 380px; }
.dash-side { width: 58px; border-right: 1px solid rgba(148, 170, 210, 0.1); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0; }
.dash-side span { width: 22px; height: 22px; border-radius: 6px; background: rgba(148, 170, 210, 0.16); }
.dash-side .dash-side-on { width: 28px; height: 28px; border-radius: 8px; background: var(--ac); }
.dash-main { flex: 1; min-width: 0; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; }
.dash-title { font-family: var(--font-head); font-size: 16px; font-weight: 600; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 14px; border-radius: 12px; background: rgba(148, 170, 210, 0.06); display: flex; flex-direction: column; gap: 10px; }
.kpi span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi i { display: block; height: 18px; border-radius: 5px; background: rgba(238, 243, 251, 0.85); }
.kpi i.ac-bg { background: var(--ac); }
.dash-chart { position: relative; overflow: hidden; flex: 1; border-radius: 12px; background: rgba(148, 170, 210, 0.05); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dash-chart-label { font-size: 12px; color: var(--muted); }
.bars { flex: 1; min-height: 150px; display: flex; align-items: flex-end; gap: 10px; }
.bar { display: block; flex: 1; border-radius: 6px 6px 2px 2px; background: rgba(148, 170, 210, 0.22); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bar-on { background: var(--ac); }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(79, 216, 255, 0.14), transparent); animation: scan 4.5s linear infinite; }

/* ---------- CTA ---------- */
.cta-wrap { padding-bottom: 112px; }
.cta {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--ac); color: var(--bg);
  padding: 72px 64px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.cta-rings { position: absolute; right: -80px; top: -110px; width: 420px; height: 420px; opacity: 0.22; color: var(--bg); pointer-events: none; }
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.cta-copy h2 { line-height: 1.05; }
.cta-copy p { font-size: 17px; line-height: 1.6; color: #0B2A36; }
.cta .btn { position: relative; height: 56px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 320px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand-name { font-size: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.social {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-3); color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s, color .2s;
}
.social:hover { color: var(--text); background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer-h { font-family: var(--font-body); font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(148, 170, 210, 0.1); font-size: 13px; color: var(--faint); }

/* ---------- motion ---------- */
.fade-in { animation: fadeUp .9s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .38s; } .d5 { animation-delay: .5s; }
.bob { animation: bob 7s ease-in-out infinite; }
.blink { animation: blink 1.8s ease-in-out infinite; }

/* scroll reveal (only when JS is running, so content never stays hidden) */
.reveal:not(.card) { transition: opacity .8s var(--ease) calc(var(--i, 0) * 90ms), translate .8s var(--ease) calc(var(--i, 0) * 90ms); }
.js .reveal:not(.is-in) { opacity: 0; translate: 0 28px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes flow { to { stroke-dashoffset: -64; } }
@keyframes packet { from { stroke-dashoffset: 6; } to { stroke-dashoffset: -250; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinR { to { transform: rotate(-360deg); } }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(.7); opacity: .7; } 100% { transform: translate(-50%, -50%) scale(2.3); opacity: 0; } }
@keyframes nodePulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-9px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes scan { 0% { transform: translateY(-120%); } 100% { transform: translateY(520%); } }
@keyframes shine { to { background-position: -200% center; } }
@keyframes blink { 50% { opacity: .3; } }
@keyframes travel { 0% { left: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes travelY { 0% { top: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */

/* tighter nav on small laptops */
@media (max-width: 1280px) {
  .nav-links { gap: 22px; }
}

/* tablet & below: hamburger menu */
@media (max-width: 1120px) {
  .nav { min-height: 64px; }
  .nav-links, .nav-contact { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-login { border-color: transparent; padding: 0 14px; color: var(--text-2); }
}

/* vertical timeline once four columns get cramped */
@media (max-width: 900px) {
  .timeline { padding-top: 16px; }
  .timeline-line { left: 23px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; background: rgba(148, 170, 210, 0.16); }
  .timeline-glow { top: 0; left: -5px; width: 12px; height: 80px; margin-left: 0; margin-top: -40px; filter: none; animation-name: travelY; animation-duration: 5s; }
  .phases { grid-template-columns: 1fr; gap: 28px; }
  .phase { flex-direction: row; align-items: flex-start; gap: 18px; }
  .phase-body { gap: 6px; padding-top: 2px; }
  .phase-num { width: 48px; height: 48px; font-size: 16px; box-shadow: 0 0 0 5px var(--bg-2); }
  .phase-final .phase-num { box-shadow: 0 0 0 5px var(--bg-2), 0 0 32px -4px var(--ac); }
  .phase-label { font-size: 11px; }
  .phase h3 { font-size: 20px; }
  .phase-body p:last-child { font-size: 14.5px; }
}

/* phone */
@media (max-width: 720px) {
  :root { --gutter: 20px; }

  .bg-grid { height: 900px; background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%); }
  .bg-glow { width: 520px; height: 520px; left: -60px; right: auto; top: 380px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 28px; height: 28px; }

  .eyebrow { font-size: 12px; letter-spacing: 0.14em; }
  .lead { font-size: 16px; }
  .section { padding-block: 48px; }

  /* hero */
  .hero { padding-top: 36px; padding-bottom: 40px; gap: 22px; }
  .hero-copy { gap: 22px; }
  .pills { gap: 8px; }
  .pill { padding: 6px 12px; font-size: 12px; gap: 7px; }
  .hero .eyebrow { font-size: 11.5px; }
  .hero-title { line-height: 1.1; letter-spacing: -0.02em; }
  /* let the highlighted phrase wrap like normal text; underline follows each line */
  .hl { display: inline; text-decoration: underline; text-decoration-color: var(--ac); text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .hl-line { display: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; }
  .btn-video { padding: 0 24px; gap: 10px; }
  .play { width: auto; height: auto; background: none; }
  .hero-points { display: none; }
  .hero-visual { flex-basis: 100%; }
  .net { max-width: 350px; }
  .net-flows { stroke-width: 1.5; }
  .net-packets { stroke-width: 6; }
  .hub, .hub-pulse { width: 84px; height: 84px; }
  .hub { gap: 2px; box-shadow: 0 0 44px -6px var(--ac-55); }
  .hub svg { width: 26px; height: 26px; }
  .hub span { font-size: 9.5px; }
  .chip { left: var(--mx); top: var(--my); gap: 6px; padding: 6px 10px; font-size: 11.5px; background: rgba(11, 18, 32, 0.92); }
  .chip::before { width: 6px; height: 6px; }
  .chip .lg { display: none; }
  .chip .sm { display: inline; }
  @keyframes float { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-6px); } }

  /* marquee */
  .marquee { padding: 18px 0; }
  .marquee-track { animation-duration: 34s; }
  .marquee-group { gap: 28px; padding-right: 28px; font-size: 18px; }
  .marquee-group li { gap: 28px; }

  /* who we are */
  .section-who { padding-top: 72px; padding-bottom: 40px; gap: 28px; }
  .split { gap: 18px; }
  .split-main, .split-side { flex-basis: 100%; gap: 18px; }
  .team-grid { flex-direction: column; gap: 12px; }
  .team-card { flex: none; flex-direction: row; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; }
  .team-card .ico { width: 48px; height: 48px; }
  .team-card .ico svg { width: 22px; height: 22px; }
  .team-card .num { display: none; }
  .team-card h3 { font-size: 17px; line-height: 1.35; }

  /* what we do — swipeable cards */
  .section-what { gap: 18px; }
  .section-what .section-head { gap: 18px; }
  .services-wrap { padding-inline: 0; }
  .services {
    display: flex; gap: 12px; overflow-x: auto; padding: 10px var(--gutter) 6px; scroll-padding-left: var(--gutter);
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .services::-webkit-scrollbar { display: none; }
  .service { flex: none; width: 290px; min-height: 280px; padding: 26px 22px; gap: 14px; scroll-snap-align: start; }
  .service .ico { width: 48px; height: 48px; }
  .service .ico svg { width: 22px; height: 22px; }
  .service h3 { margin-top: 8px; font-size: 20px; }
  .service p { font-size: 14.5px; }
  .service.is-active { border-color: var(--ac-40); background-color: var(--surface-2); }
  .service.is-active .ico { background-color: var(--ac); color: var(--bg); }
  .card:hover { transform: none; }
  .card:hover .ico { transform: none; }
  .bignum { right: 14px; top: 6px; font-size: 72px; color: rgba(148, 170, 210, 0.07); }
  .services-dots { display: flex; gap: 6px; padding: 4px var(--gutter) 0; }
  .services-dots span { width: 8px; height: 4px; border-radius: 4px; background: rgba(148, 170, 210, 0.3); transition: width .3s var(--ease), background-color .3s; }
  .services-dots span.on { width: 22px; background: var(--ac); }

  /* how we engage */
  .section-how { padding: 64px 0; }
  .section-how > .container { gap: 18px; }

  /* results */
  .section-results { padding-top: 64px; padding-bottom: 32px; }
  .results { border-radius: 24px; padding: 32px 24px; gap: 18px; }
  .results-glow { width: 420px; height: 420px; left: -140px; bottom: -220px; }
  .results-copy, .results-stat { flex-basis: 100%; }
  .results-copy { gap: 18px; }
  .results-copy h2 { line-height: 1.15; }
  .results-copy .lead { font-size: 15px; }
  .results-btn { align-self: stretch; }
  .stat-label { font-size: 13px; }
  .stat-unit { font-size: 22px; }
  .stat-chart .draw { stroke-width: 5; }

  /* smartsite */
  .section-smartsite { padding-top: 48px; padding-bottom: 64px; gap: 18px; }
  .smartsite-copy { gap: 18px; }
  .smartsite-visual { flex-basis: 100%; order: 0; }
  .checks { gap: 8px; }
  .checks li { padding: 8px 12px; font-size: 13px; gap: 6px; }
  .smartsite-ctas { flex-direction: column; gap: 10px; }
  .smartsite-ctas .btn { width: 100%; height: 54px; }
  .dash { border-radius: 18px; }
  .dash-bar { gap: 6px; padding: 12px 14px; }
  .dash-dot { width: 9px; height: 9px; }
  .dash-url { margin-left: 10px; height: 24px; font-size: 11px; padding: 0 10px; }
  .dash-body { min-height: 0; }
  .dash-side { display: none; }
  .dash-main { padding: 16px; gap: 12px; }
  .dash-title { font-size: 15px; }
  .dash-kpis { gap: 8px; }
  .kpi { padding: 10px; gap: 8px; border-radius: 10px; }
  .kpi span { font-size: 11px; }
  .kpi i { height: 14px; }
  .dash-chart { padding: 12px; gap: 10px; border-radius: 10px; }
  .bars { height: 120px; min-height: 0; flex: none; gap: 8px; }
  .scan { height: 44px; }

  /* cta */
  .cta-wrap { padding-bottom: 56px; }
  .cta { border-radius: 24px; padding: 40px 24px; flex-direction: column; align-items: stretch; gap: 14px; }
  .cta-rings { width: 280px; height: 280px; right: -90px; top: -90px; }
  .cta-copy { gap: 14px; }
  .cta-copy h2 { font-size: 30px; line-height: 1.1; }
  .cta-copy p { font-size: 15px; }
  .cta .btn { margin-top: 8px; width: 100%; height: 54px; }

  /* footer */
  .site-footer { padding: 40px 0 32px; }
  .footer-inner { gap: 28px; }
  .footer-top { gap: 28px; }
  .footer-brand { flex-basis: 100%; max-width: none; gap: 14px; }
  .footer-brand .brand-name { font-size: 19px; }
  .footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
  .footer-col { gap: 12px; }
  .footer-col .link { color: var(--text-2); }
  .footer-h { font-size: 11px; }
  .footer-bottom { flex-direction: column; gap: 4px; padding-top: 18px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal:not(.is-in) { opacity: 1; translate: none; }
  .hub-pulse, .timeline-glow, .scan { display: none; }
  .packet { stroke-dashoffset: 6; opacity: 0; }
  .draw { stroke-dashoffset: 0; }
}
