@font-face {
  font-family: "Cyber Copix";
  src: url("../assets/fonts/CyberCopix.woff2") format("woff2"),
       url("../assets/fonts/CyberCopix.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #0b0c0e;
  --bg2: #111316;
  --line: #1c1f23;
  --line2: #2a2e33;
  --text: #ededea;
  --muted: #8a8f98;
  --dim: #5f646b;
  --accent: #e5484d;
  --font-display: "Cyber Copix", "Arial Narrow", sans-serif;
  --font-body: "Geist", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --pad-x: clamp(20px, 6vw, 72px);
}

* { box-sizing: border-box; }

[id] { scroll-margin-top: 76px; }

/* ---------- pixel icons ---------- */

.px {
  display: inline-block;
  width: 20px;
  height: 20px;
  color: var(--text);
  line-height: 0;
  flex: none;
}
.px svg { width: 100%; height: 100%; display: block; shape-rendering: crispedges; }
.px svg rect { opacity: 0; transition: opacity 0.25s ease; }
.px.on svg rect { opacity: 1; }
a:hover .px-r,
button:hover .px-r,
.chip:hover .px-r,
.chip:focus-visible .px-r {
  animation: px-blink 0.8s steps(2) infinite;
}
@keyframes px-blink {
  50% { opacity: 0; }
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

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

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 12, 14, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 16px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-right a:hover { color: var(--text); }
.nav-right a:not(.btn-ghost) { position: relative; }
.nav-right a:not(.btn-ghost)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-right a:not(.btn-ghost):hover::after { transform: scaleX(1); }
.nav-right .btn-ghost {
  color: var(--text);
  border: 1px solid var(--line2);
  padding: 8px 16px;
  border-radius: 2px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}
.nav-right .btn-ghost:hover {
  border-color: var(--text);
  background: rgba(237, 237, 234, 0.06);
}
.nav-right .btn-ghost:active { transform: scale(0.97); }

@media (max-width: 620px) {
  .nav-right a:not(.btn-ghost) { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color 0.18s ease, transform 0.18s ease, translate 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover { background: #ffffff; }
.btn:active { transform: scale(0.98); }
.btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, inset 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background:
    linear-gradient(var(--accent) 0 0) left top / 9px 1px,
    linear-gradient(var(--accent) 0 0) left top / 1px 9px,
    linear-gradient(var(--accent) 0 0) right top / 9px 1px,
    linear-gradient(var(--accent) 0 0) right top / 1px 9px,
    linear-gradient(var(--accent) 0 0) left bottom / 9px 1px,
    linear-gradient(var(--accent) 0 0) left bottom / 1px 9px,
    linear-gradient(var(--accent) 0 0) right bottom / 9px 1px,
    linear-gradient(var(--accent) 0 0) right bottom / 1px 9px;
  background-repeat: no-repeat;
}
.btn:hover::before { opacity: 1; inset: -5px; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 32%, rgba(11, 12, 14, 0.14) 50%, transparent 68%) no-repeat;
  background-size: 250% 100%;
  background-position: 180% 0;
}
.btn:hover::after { animation: sheen 0.7s ease; }
@keyframes sheen {
  from { background-position: 180% 0; }
  to { background-position: -80% 0; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 96px var(--pad-x) 48px;
}
.hero-globe {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  animation: globe-in 1.6s ease 0.2s both;
}
@keyframes globe-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-copy {
      animation: hero-exit linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 70%;
    }
    @keyframes hero-exit {
      to { opacity: 0; transform: translateY(-44px); }
    }
  }
}
.hero-globe canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-globe canvas.grabbable {
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-y;
}
.hero-globe canvas.grabbing { cursor: grabbing; }
.hero-quote .row { display: block; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 12, 14, 0.55) 34%, transparent 62%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(1100px 700px at 18% 8%, rgba(237, 237, 234, 0.06), transparent 60%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0.045em;
}
.hero-sub {
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  max-width: 46ch;
}
.hero-cta { margin-top: 36px; }
.accent { color: var(--accent); }
.hero-quote .accent { animation: beacon 4s ease-in-out infinite; }
@keyframes beacon {
  50% { opacity: 0.5; }
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line2);
  border-radius: 2px;
  padding: 9px 14px;
  transition: color 0.2s ease, border-color 0.2s ease, translate 0.2s ease;
}
.chip .px { width: 14px; height: 14px; color: var(--muted); transition: color 0.2s ease; }
.chip:hover, .chip:focus-visible {
  color: var(--text);
  border-color: var(--muted);
  translate: 0 -1px;
}
.chip:hover .px, .chip:focus-visible .px { color: var(--text); }
/* the chip whose demo is currently playing on the globe */
.chip-active {
  color: var(--text);
  border-color: var(--accent);
}
.chip-active .px { color: var(--text); }
.chip-active .px-r { animation: px-blink 0.8s steps(2) infinite; }

.hero-copy > * {
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 879px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 110px;
  }
  .hero::before { background: none; }
  .hero-globe {
    position: relative;
    inset: auto;
    order: 2;
    height: 52vh;
    min-height: 320px;
    margin: 8px calc(-1 * var(--pad-x)) 0;
  }
  .hero-copy { order: 1; }
}

/* ---------- live threat estimates ---------- */

.threats {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vh, 90px) var(--pad-x) clamp(40px, 6vh, 64px);
}
.threats-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.threats-utc {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.threats-utc span { color: var(--muted); }
.threats h2 {
  margin: 0 0 34px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: 0.05em;
}
.threats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 32px;
  margin-top: 10px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat > .px {
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
}
.stat-n {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.stat-accent .stat-n { color: var(--accent); }
/* the grid hands its reveal to the stats, which cascade in one by one */
.threats-grid.reveal {
  opacity: 1;
  transform: none;
}
.threats-grid .stat {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.threats-grid.in .stat {
  opacity: 1;
  translate: none;
}
.threats-grid.in .stat:nth-child(2) { transition-delay: 0.09s; }
.threats-grid.in .stat:nth-child(3) { transition-delay: 0.18s; }
.threats-grid.in .stat:nth-child(4) { transition-delay: 0.27s; }
.stat-accent .stat-n.blip { animation: stat-blip 0.6s ease; }
@keyframes stat-blip {
  0% { color: #ffb9bb; }
  100% { color: var(--accent); }
}
.stat-l {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.threats-note {
  margin: 44px 0 0;
  font-size: 15px;
  color: var(--text);
  max-width: 72ch;
  line-height: 1.65;
}
@media (max-width: 879px) {
  .threats-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}
@media (max-width: 480px) {
  .threats-grid { grid-template-columns: 1fr; }
}

/* ---------- capabilities ---------- */

.capabilities { border-top: 1px solid var(--line); }
.cap-head { padding: clamp(72px, 10vh, 110px) var(--pad-x) 40px; }
.cap-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: 0.05em;
}
.svc {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: 0 var(--pad-x) clamp(56px, 8vh, 90px);
}
.svc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.svc-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 28px 10px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  letter-spacing: 0.05em;
  color: var(--dim);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.svc-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.svc-tab .px { width: 19px; height: 19px; }
.svc-tab:hover { color: var(--muted); }
.svc-tab[aria-pressed="true"] { color: var(--text); padding-left: 20px; }
.svc-tab[aria-pressed="true"]::before { transform: scaleY(1); }
.svc-tab[aria-pressed="true"] .px-r { animation: px-blink 1.6s steps(2) infinite; }
.svc-stage {
  position: relative;
  height: clamp(280px, 38vh, 400px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.stage-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stage-layer.show { opacity: 1; }
.stage-layer canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.svc-details { margin-top: 28px; }
.svc-detail { display: none; }
.svc-detail.show { display: block; animation: rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; }
.svc-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 52ch;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line2);
  padding: 5px 11px;
  border-radius: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.tags li .px { width: 13px; height: 13px; color: inherit; }
.svc-detail:hover .tags li { border-color: #4a4f56; color: var(--text); }
.svc-detail:hover .tags li:nth-child(2) { transition-delay: 0.07s; }
.svc-detail:hover .tags li:nth-child(3) { transition-delay: 0.14s; }
.svc-detail:hover .tags li:nth-child(4) { transition-delay: 0.21s; }
.card-cta {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line2);
  border-radius: 2px;
  padding: 10px 18px;
  transition: border-color 0.2s ease, color 0.25s ease;
}
.card-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-cta:hover {
  border-color: var(--text);
  color: var(--bg);
}
.card-cta:hover::before { transform: scaleX(1); }
.card-cta .arrow {
  display: inline-block;
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}
.card-cta:hover .arrow { transform: translateX(3px); }
.card-cta:active { transform: scale(0.98); }

@media (max-width: 879px) {
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .svc-tab { padding: 22px 8px; }
  .svc-stage { height: 240px; }
}

/* ---------- process ---------- */

.process {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vh, 90px) var(--pad-x) clamp(64px, 9vh, 100px);
}
.process h3 {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: 0.05em;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.step { position: relative; padding-left: 24px; }
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line2);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s ease;
}
.step h4, .step p {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process.in .step::before { transform: scaleY(1); }
.process.in .step h4, .process.in .step p { opacity: 1; transform: none; }
.process.in .step:nth-child(2)::before { transition-delay: 0.35s; }
.process.in .step:nth-child(3)::before { transition-delay: 0.7s; }
.process.in .step:nth-child(1) h4, .process.in .step:nth-child(1) p { transition-delay: 0.15s; }
.process.in .step:nth-child(2) h4, .process.in .step:nth-child(2) p { transition-delay: 0.5s; }
.process.in .step:nth-child(3) h4, .process.in .step:nth-child(3) p { transition-delay: 0.85s; }
.step h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
}
.step h4 .px { width: 16px; height: 16px; }
.step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.process-note {
  margin: 44px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 74ch;
}
.process-note a { color: var(--muted); }
.process-note a:hover { color: var(--text); }

@media (max-width: 879px) {
  .process-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- panoptes ---------- */

/* inverted "paper" section: light background, dark ink */
.panoptes {
  --pl-ink: #0b0c0e;
  --pl-muted: #575c63;
  --pl-line: rgba(11, 12, 14, 0.14);
  background: var(--text);
  color: var(--pl-ink);
  padding: clamp(72px, 10vh, 110px) var(--pad-x) clamp(64px, 9vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pan-logo {
  display: block;
  width: min(340px, 74%);
  height: auto;
  margin: 0 auto 26px;
}
.pan-lead {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
  line-height: 1.18;
  color: var(--pl-ink);
}
.pan-body {
  margin: 18px auto 0;
  font-size: 15px;
  color: var(--pl-muted);
  line-height: 1.65;
  max-width: 52ch;
}
.pan-points {
  list-style: none;
  margin: clamp(48px, 7vh, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  width: min(980px, 100%);
}
.pan-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.pan-points .px {
  width: 46px;
  height: 46px;
  color: var(--pl-ink);
}
.pan-points h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--pl-ink);
}
.pan-points p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--pl-muted);
  line-height: 1.55;
  max-width: 26ch;
}
/* the flow graph: query -> selectors -> regions -> sources -> processing -> intelligence */
.pan-flow {
  width: 100%;
  max-width: 1040px;
  margin-top: clamp(40px, 6vh, 56px);
  overflow-x: auto;
}
.pan-flow svg {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
}
.pan-flow .fl {
  fill: none;
  stroke: rgba(11, 12, 14, 0.3);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s ease;
}
.pan-flow .fl2 {
  fill: none;
  stroke: rgba(11, 12, 14, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.pan-flow .fn rect {
  fill: #fbfbf9;
  stroke: rgba(11, 12, 14, 0.25);
}
.pan-flow .fn text {
  fill: var(--pl-ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-anchor: middle;
  text-transform: uppercase;
}
.pan-flow .fn text.fs {
  fill: var(--pl-muted);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
}
.pan-flow .fcap {
  fill: var(--accent);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-anchor: middle;
  text-transform: uppercase;
}
.pan-flow .fc {
  fill: var(--pl-muted);
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-anchor: middle;
  text-transform: uppercase;
}
.pan-flow .fn-final rect:first-of-type { stroke: rgba(229, 72, 77, 0.55); }
.pan-flow .fx {
  fill: var(--accent);
  stroke: none;
  animation: flow-live 2.4s steps(2) infinite;
}
@keyframes flow-live {
  50% { opacity: 0.25; }
}
.pan-flow .fp { fill: var(--accent); stroke: none; }
.pan-flow .fp-dim { fill: rgba(11, 12, 14, 0.35); }
/* connectors draw, nodes and captions fade in (staggered inline), packets last */
.pan-flow .fn, .pan-flow .fcap, .pan-flow .fc, .pan-flow .fp {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.pan-flow.in .fl { stroke-dashoffset: 0; }
.pan-flow.in .fn, .pan-flow.in .fcap, .pan-flow.in .fc { opacity: 1; }
.pan-flow.in .fp { opacity: 1; transition-delay: 1.1s; }

@media (max-width: 879px) {
  .pan-points {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(420px, 100%);
  }
}

/* ---------- manifesto ---------- */

.manifesto {
  padding: clamp(96px, 16vh, 170px) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  width: min(1000px, 100%);
  margin: clamp(56px, 9vh, 90px) auto 0;
  text-align: left;
}
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact .px { width: 18px; height: 18px; margin-top: 2px; }
.fact h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.fact p { margin: 5px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

@media (max-width: 879px) {
  .facts { grid-template-columns: 1fr; gap: 24px; }
}
.manifesto-text {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1.45rem, 2.9vw, 2.15rem);
  line-height: 1.5;
  color: var(--muted);
  font-weight: 400;
}
.manifesto-text .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.manifesto.in .w { opacity: 1; transform: none; }
.hl {
  color: var(--muted);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left 96% / 0% 2px;
  transition: color 0.6s ease, background-size 0.6s ease;
}
.manifesto.in .hl { color: var(--text); background-size: 100% 2px; }
.manifesto.in .hl:nth-of-type(1) { transition-delay: 0.15s; }
.manifesto.in .hl:nth-of-type(2) { transition-delay: 0.45s; }
.manifesto.in .hl:nth-of-type(3) { transition-delay: 0.75s; }

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }
.faq-list {
  max-width: calc(900px + 2 * var(--pad-x));
  padding: 0 var(--pad-x) clamp(72px, 10vh, 110px);
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--dim);
  transition: transform 0.25s ease, color 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-list details p {
  margin: 0 0 24px;
  padding: 0 4px;
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.7;
}
.faq-list details a { color: var(--text); }

/* ---------- contact ---------- */

.contact {
  border-top: 1px solid var(--line);
  padding: clamp(80px, 14vh, 150px) var(--pad-x);
}
.contact h2,
.contact h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  letter-spacing: 0.05em;
  line-height: 1.12;
}
.contact p {
  margin: 18px 0 0;
  color: var(--text);
  max-width: 52ch;
}
.contact .btn { margin-top: 34px; }
.contact ul {
  margin: 18px 0 0;
  padding-left: 20px;
  max-width: 52ch;
}
.contact li {
  margin: 6px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.contact-ready {
  margin-top: 34px !important;
  color: var(--text) !important;
  font-weight: 500;
}
.contact-note {
  margin-top: 26px !important;
  font-size: 13.5px;
  color: var(--text);
  max-width: 56ch;
}
.c-red { color: var(--accent); }
.c-blue { color: #3b82f6; }
.btn-ico {
  width: 15px;
  height: 15px;
  color: currentColor;
  vertical-align: -2px;
  margin-right: 9px;
}
.email-row {
  display: inline-flex;
  align-items: stretch;
  margin-top: 16px;
  border: 1px solid var(--line2);
  border-radius: 2px;
}
.email-addr {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--muted);
  user-select: all;
  -webkit-user-select: all;
}
.email-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-left: 1px solid var(--line2);
  background: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.email-copy:hover { background: var(--bg2); }
.email-copy .px { width: 14px; height: 14px; }
.note-ico {
  width: 14px;
  height: 14px;
  color: currentColor;
  vertical-align: -2px;
  margin-right: 8px;
}
.foot-ico {
  width: 13px;
  height: 13px;
  color: currentColor;
  vertical-align: -2px;
  margin-right: 6px;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px var(--pad-x);
}
footer img { height: 14px; width: auto; display: block; opacity: 0.85; }
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--text); }

/* ---------- cookie notice ---------- */

.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  max-width: 380px;
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 2px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.cookie.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cookie strong { color: var(--text); font-weight: 500; }
.cookie-inner { display: flex; gap: 12px; align-items: flex-start; }
.cookie-inner p { margin: 0; }
.cookie-bot { width: 22px; height: 22px; margin-top: 2px; }
.cookie button {
  margin-top: 12px;
  background: none;
  border: 1px solid var(--line2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.cookie button:hover { border-color: var(--text); }

@media (max-width: 480px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */

.lost {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 var(--pad-x);
}
.lost-ico { width: 44px; height: 44px; margin-bottom: 22px; }
.lost h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  letter-spacing: 0.05em;
}
.lost p { color: var(--muted); margin: 18px 0 0; }
.lost .btn { margin-top: 34px; }

/* ---------- legal page ---------- */

.page {
  max-width: 76ch;
  margin: 0 auto;
  padding: 150px var(--pad-x) 100px;
}
.page h1 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1.12;
}
.page h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 52px 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: 0.06em;
}
.page h2 .px { width: 19px; height: 19px; }
.page p, .page li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.page ul { padding-left: 20px; margin: 14px 0; }
.page li { margin: 8px 0; }
.page a { color: var(--text); }
.page .updated { font-size: 13px; color: var(--muted); }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-globe, .btn:hover::after, .hero-quote .accent { animation: none; }
  .threats-grid .stat { opacity: 1; translate: none; transition: none; }
  .stat-accent .stat-n.blip { animation: none; }
  .pan-flow .fl { stroke-dashoffset: 0; transition: none; }
  .pan-flow .fn, .pan-flow .fcap, .pan-flow .fc { opacity: 1; transition: none; }
  .pan-flow .fp { display: none; }
  .pan-flow .fx { animation: none; }
  .px svg rect { opacity: 1; transition: none; }
  a:hover .px-r, button:hover .px-r, .chip:hover .px-r, .chip:focus-visible .px-r,
  .svc-tab[aria-pressed="true"] .px-r { animation: none; }
  .chip { transition: none; }
  .chip:hover, .chip:focus-visible { translate: none; }
  .reveal,
  .hl,
  .svc-tab, .svc-tab::before, .stage-layer,
  .tags li,
  .card-cta, .card-cta::before,
  .btn, .btn::before,
  .step h4, .step p, .step::before { transition: none; }
  .svc-detail.show { animation: none; }
  .btn::before { display: none; }
  .reveal { opacity: 1; transform: none; }
  .manifesto-text .w { opacity: 1; transform: none; transition: none; }
  .manifesto .hl { color: var(--text); background-size: 100% 2px; }
  .step::before { transform: scaleY(1); }
  .step h4, .step p { opacity: 1; transform: none; }
}
