/* ════════════════════════════════════════════════════════════════════
   CyberXYZ — Web Content
   Light theme · brand orange #f5793b · brand blue #2e2eff · white
   Display: Bricolage Grotesque  ·  Body: DM Sans  ·  Mono: JetBrains Mono
   ════════════════════════════════════════════════════════════════════ */

:root {
  --orange:        #f5793b;
  --orange-2:      #fbb040;
  --orange-soft:   #fff1e8;
  --orange-line:   #ffd4b8;
  --blue:          #2e2eff;
  --blue-soft:     #eef0ff;
  --blue-line:     #d3d8ff;

  --ink:           #0a0a23;
  --ink-2:         #2a2a40;
  --ink-3:         #5a5a72;
  --ink-4:         #8a8aa0;

  --bg:            #fbfbfd;
  --bg-2:          #f4f5fa;
  --line:          #e7e7f0;
  --white:         #ffffff;

  --ok:            #16a34a;
  --warn:          #f5793b;
  --alert:         #f59e0b;
  --block:         #dc2626;

  --radius:        18px;
  --radius-sm:     10px;
  --shadow-sm:     0 2px 8px rgba(15,15,40,.04), 0 1px 2px rgba(15,15,40,.04);
  --shadow:        0 8px 28px rgba(15,15,40,.06), 0 2px 6px rgba(15,15,40,.04);
  --shadow-lg:     0 30px 60px rgba(15,15,40,.10), 0 6px 18px rgba(15,15,40,.06);

  --font-display:  "Bricolage Grotesque", ui-serif, Georgia, serif;
  --font-body:     "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, Menlo, monospace;

  --container:     1240px;
  --gutter:        clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
code, pre { font-family: var(--font-mono); font-size: 0.86em; }
em { font-style: italic; }

/* ────────── selection ────────── */
::selection { background: var(--orange); color: #fff; }

/* ════════════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__logo img { height: 28px; }
.nav__links {
  display: flex;
  gap: 34px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
}
.nav__links a {
  position: relative;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--orange); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10,10,35,.18);
}
.btn--primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245,121,59,.32);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}
.btn--lg { padding: 18px 32px; font-size: 16px; }

/* ════════════════════════════════════════════════════════════════════
   EYEBROWS / TYPE
   ════════════════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(245,121,59,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(245,121,59,.18); }
  50%     { box-shadow: 0 0 0 8px rgba(245,121,59,0); }
}

.section { padding: clamp(80px, 11vw, 160px) var(--gutter); max-width: var(--container); margin: 0 auto; }
.section__head { max-width: 920px; margin: 0 0 64px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.8vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 18px 0 22px;
}
.section__lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 760px;
}

.ink { color: var(--orange); font-style: italic; font-weight: 700; }
.muted { color: var(--ink-4); }

/* ════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  padding: clamp(60px, 9vw, 130px) var(--gutter) clamp(60px, 9vw, 130px);
  max-width: 1480px;
  margin: 0 auto;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, #000 30%, transparent 80%);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 22px 0 26px;
}
.hero__sub {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--ink-3);
  max-width: 580px;
  line-height: 1.6;
  margin: 0 0 36px;
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 28px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats b {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero__stats span { font-size: 12.5px; color: var(--ink-4); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ───── animated diagram (hero) ───── */
.hero__diagram { position: relative; z-index: 2; }
.diagram {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 70px rgba(46,46,255,.08));
}
.dots circle { fill: var(--ink-4); opacity: .4; }

.rail {
  fill: none;
  stroke: var(--ink-4);
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
  opacity: .35;
}
.rail--allow { stroke: var(--ok);    opacity: .45; }
.rail--alert { stroke: var(--alert); opacity: .45; }
.rail--quar  { stroke: var(--orange); opacity: .55; }
.rail--block { stroke: var(--block); opacity: .55; }

/* nodes */
.node__bg {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1.5;
  filter: drop-shadow(0 16px 40px rgba(15,15,40,.10));
}

/* source nodes */
.src .node__bg {
  stroke-width: 1.5;
  stroke: var(--line);
}
.src__icon-bg {
  fill: var(--bg-2);
  stroke: var(--line);
  stroke-width: 1;
}
.src__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  fill: var(--ink);
  letter-spacing: -0.015em;
}
.src__sub {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 10px;
  fill: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* destination nodes — modern filled pills */
.dst__pill {
  stroke: none;
  filter: drop-shadow(0 10px 24px rgba(15,15,40,.18));
}
.dst--allow .dst__pill { fill: var(--ok);     }
.dst--alert .dst__pill { fill: var(--alert);  }
.dst--quar  .dst__pill { fill: var(--orange); }
.dst--block .dst__pill { fill: var(--block);  }

.dst__badge { fill: rgba(255,255,255,.22); stroke: rgba(255,255,255,.85); stroke-width: 1.5; }

.dst__check {
  fill: none; stroke: #fff; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.dst__cross {
  fill: none; stroke: #fff; stroke-width: 2.6;
  stroke-linecap: round;
}
.dst__icon-glyph {
  fill: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
}
.dst__icon-glyph-shape {
  fill: #fff;
}

.dst__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  text-anchor: start;
  letter-spacing: 0.04em;
  fill: #fff;
}

/* brain */
.brain__pulse {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1;
  opacity: 0.25;
  transform-origin: 450px 360px;
  animation: brainPulse 3.6s ease-out infinite;
}
@keyframes brainPulse {
  0%   { transform: scale(0.85); opacity: 0.45; }
  70%  { transform: scale(1.15); opacity: 0;    }
  100% { transform: scale(1.15); opacity: 0;    }
}
.brain__halo {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.2;
  opacity: 0.45;
}
.brain__ring {
  fill: var(--white);
  stroke: var(--orange);
  stroke-width: 2.5;
  filter: drop-shadow(0 18px 40px rgba(245,121,59,.30));
}
.brain__sublabel {
  fill: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-anchor: middle;
}
.brain__decision {
  fill: var(--ink-4);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-anchor: middle;
}
.brain__spin {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-dasharray: 2 9;
  opacity: .4;
  transform-origin: 450px 360px;
  animation: spin 28s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* traveling packets */
.pkt {
  fill: var(--blue);
  filter: drop-shadow(0 0 8px rgba(46,46,255,.6));
}
.pkt--in.pkt--dev { offset-path: path('M 250 180 C 310 180, 330 280, 370 360'); animation: rideIn 3.6s linear infinite; }
.pkt--in.pkt--ci  { offset-path: path('M 250 360 L 370 360');                    animation: rideIn 3.6s linear infinite .9s; fill: var(--orange); filter: drop-shadow(0 0 8px rgba(245,121,59,.6)); }
.pkt--in.pkt--k8  { offset-path: path('M 250 540 C 310 540, 330 440, 370 360'); animation: rideIn 3.6s linear infinite 1.8s; }

.pkt--out.pkt--allow { offset-path: path('M 530 360 C 610 360, 650 130, 700 106'); animation: rideOut 3.8s linear infinite .4s; fill: var(--ok);     filter: drop-shadow(0 0 8px rgba(22,163,74,.6)); }
.pkt--out.pkt--alert { offset-path: path('M 530 360 C 610 360, 650 240, 700 236'); animation: rideOut 3.8s linear infinite 1.3s; fill: var(--alert);  filter: drop-shadow(0 0 8px rgba(245,158,11,.6)); }
.pkt--out.pkt--quar  { offset-path: path('M 530 360 C 610 360, 650 460, 700 454'); animation: rideOut 3.8s linear infinite 2.1s; fill: var(--orange); filter: drop-shadow(0 0 8px rgba(245,121,59,.6)); }
.pkt--out.pkt--block { offset-path: path('M 530 360 C 610 360, 650 580, 700 584'); animation: rideOut 3.8s linear infinite 2.7s; fill: var(--block);  filter: drop-shadow(0 0 8px rgba(220,38,38,.6)); }

@keyframes rideIn  {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes rideOut {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.hero__caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-4);
  text-align: center;
  letter-spacing: 0.06em;
}
.hero__caption .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}
.dot--allow { background: var(--ok); }
.dot--alert { background: var(--alert); }
.dot--quar  { background: var(--orange); }
.dot--block { background: var(--block); }

/* ════════════════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════════════════ */
.marquee {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.marquee__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  white-space: nowrap;
}
.marquee__track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__row {
  display: inline-flex;
  gap: 44px;
  white-space: nowrap;
  align-items: center;
  animation: slide 60s linear infinite;
}
.mq__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mq__item img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  opacity: .85;
  transition: all .3s ease;
}
.mq__item:hover img { opacity: 1; transform: scale(1.12); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════════════════════
   PROBLEM
   ════════════════════════════════════════════════════════════════════ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .problem__grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-line);
}
.card header { margin-bottom: 14px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  line-height: 1.1;
}
.card p { color: var(--ink-3); margin: 0 0 14px; }
.card ul {
  margin: 0; padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--ink-2);
}
.card ul li {
  padding: 9px 0 9px 22px;
  position: relative;
  border-top: 1px dashed var(--line);
}
.card ul li::before {
  content: "→";
  position: absolute;
  left: 0; top: 9px;
  color: var(--orange);
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag--blue   { background: var(--blue-soft);   color: var(--blue);   border: 1px solid var(--blue-line);   }
.tag--orange { background: var(--orange-soft); color: var(--orange); border: 1px solid var(--orange-line); }

.card--punchline {
  background: linear-gradient(160deg, var(--orange) 0%, var(--orange-2) 100%);
  border-color: transparent;
  color: #fff;
}
.card--punchline h3 { color: #fff; }
.card--punchline p, .card--punchline strong { color: rgba(255,255,255,.95); }
.card--punchline code { background: rgba(255,255,255,.18); padding: 1px 6px; border-radius: 4px; }
.card--punchline .tag--orange { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.3); }
.card--punchline:hover { border-color: transparent; }

/* ════════════════════════════════════════════════════════════════════
   RISK SCORE
   ════════════════════════════════════════════════════════════════════ */
.riskscore { background:
  radial-gradient(ellipse 60% 80% at 80% 20%, var(--orange-soft) 0%, transparent 60%),
  radial-gradient(ellipse 60% 80% at 10% 90%, var(--blue-soft) 0%, transparent 60%);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.riskscore .section__head,
.riskscore .risk__layout { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.risk__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) { .risk__layout { grid-template-columns: 1fr; } }

.risk__formula { background: var(--white); border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow); }

.formula {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 28px;
}
.formula__lhs {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.formula__eq { color: var(--ink-4); font-size: 24px; }
.formula__rhs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.frag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: default;
  transition: all .25s ease;
}
.frag:hover, .frag.is-hot {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(245,121,59,.32);
}
.op { color: var(--ink-4); font-weight: 700; }

.gauges { display: flex; flex-direction: column; gap: 16px; }
.gauge { display: grid; grid-template-columns: 130px 1fr 130px; align-items: center; gap: 16px; }
.gauge__label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.gauge__bar {
  height: 14px;
  border-radius: 999px;
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.gauge__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--c, var(--blue));
  border-radius: 999px;
  transition: width 1.6s cubic-bezier(.2,.7,.2,1);
}
.gauge.in-view .gauge__bar span { width: var(--w); }
.gauge__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-align: right;
}
.gauge__val small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.gauge--xyz .gauge__val { color: var(--orange); }
.gauges__caption {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.risk__legend { display: flex; flex-direction: column; gap: 14px; }
.dim {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: all .25s ease;
  cursor: default;
}
.dim:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(245,121,59,.12);
  transform: translateX(4px);
}
.dim h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.dim__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 3px 8px;
  border-radius: 4px;
}
.dim p { margin: 0; font-size: 14.5px; color: var(--ink-3); }

/* ════════════════════════════════════════════════════════════════════
   THE BRAIN — 4 SIGNALS
   ════════════════════════════════════════════════════════════════════ */
.signals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .signals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .signals { grid-template-columns: 1fr; } }

.signal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.signal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
}
.signal--c::before { background: var(--block); }
.signal--d::before { background: var(--alert); }
.signal:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}
.signal:hover::before { transform: scaleX(1); }

.signal header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.signal__letter {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  border: 1.5px solid var(--orange-line);
}
.signal--c .signal__letter { background: #ffe6e6; color: var(--block); border-color: #ffc3c3; }
.signal--d .signal__letter { background: #fff5e0; color: var(--alert); border-color: #ffe1a8; }

.signal h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.signal p { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; }
.signal__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
}
.signal__pill--allow { background: var(--ok); }
.signal__pill--alert { background: var(--alert); }
.signal__pill--quar  { background: var(--orange); }
.signal__pill--block { background: var(--block); }

.signals__bonus {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .signals__bonus { grid-template-columns: 1fr; } }

.bonus {
  padding: 24px 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  background: var(--bg-2);
}
.bonus strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

/* ════════════════════════════════════════════════════════════════════
   SURFACES
   ════════════════════════════════════════════════════════════════════ */
.surfaces__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 1080px) { .surfaces__grid { grid-template-columns: 1fr; } }

.surface {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.surface:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.surface__head { display: flex; align-items: baseline; gap: 14px; }
.surface__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
}
.surface h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.surface__copy { font-size: 14.5px; color: var(--ink-3); margin: 0; line-height: 1.6; }
.surface__copy code, .surface__copy strong { color: var(--ink); }

/* mocks */
.mock {
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  overflow: hidden;
  position: relative;
}
.mock + .mock { margin-top: 14px; }
.mock__bar {
  background: #ececf3;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}
.mock__bar span {
  width: 9px; height: 9px; border-radius: 50%; background: #cfcfd9;
}
.mock__bar span:nth-child(1) { background: #ff5f57; }
.mock__bar span:nth-child(2) { background: #febc2e; }
.mock__bar span:nth-child(3) { background: #28c840; }
.mock__bar em {
  margin-left: auto;
  font-style: normal;
  color: var(--ink-4);
  font-size: 10.5px;
}
.mock pre { margin: 0; padding: 14px 16px; overflow-x: auto; line-height: 1.7; color: var(--ink-2); }
.mock .cm   { color: #6e6e8a; }
.mock .ck   { color: var(--blue); }
.mock .cv   { color: var(--ink); }
.mock .ok   { color: var(--ok);   font-style: normal; }
.mock .warn { color: var(--block);font-style: normal; }
.mock .alert{ color: var(--alert);font-style: normal; }

.mock--cli { background: #0a0a23; color: #f0f0fa; }
.mock--cli .mock__prompt { padding: 14px 16px 6px; color: var(--orange); font-weight: 600; }
.mock--cli .mock__line   { padding: 2px 16px; line-height: 1.7; }
.mock--cli .mock__line.muted { padding-bottom: 14px; color: #6e6e8a; }
.mock--cli .ok    { color: #4ade80; font-style: normal; margin-right: 6px; }
.mock--cli .warn  { color: #f87171; font-style: normal; margin-right: 6px; }
.mock--cli .alert { color: #fbbf24; font-style: normal; margin-right: 6px; }

.mock__bar--gh { background: #f0f0f7; }
.mock--ci .ci__row {
  display: flex; justify-content: space-between;
  padding: 9px 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
}
.mock--ci .ci__row b { color: var(--ink); font-weight: 600; }
.ci__row--ok span { color: var(--ok); }
.ci__row--block { background: #fff0f0; }
.ci__row--block span { color: var(--block); font-weight: 600; }

.mock--proxy { padding: 18px; background: var(--white); border: 1px solid var(--line); }
.proxy__title { font-family: var(--font-display); font-size: 15px; color: var(--ink); margin-bottom: 12px; display: flex; justify-content: space-between; }
.proxy__live { font-family: var(--font-mono); font-size: 10px; color: var(--ok); }
.proxy__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  align-items: center;
}
.proxy__pkg { color: var(--ink-2); }
.proxy__verdict {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.v-allow { background: #dcfce7; color: #14532d; }
.v-block { background: #fee2e2; color: #7f1d1d; }
.v-quar  { background: var(--orange-soft); color: var(--orange); }
.proxy__foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 10.5px; color: var(--ink-4); text-align: center; }

/* ════════════════════════════════════════════════════════════════════
   ATTACK STORY (timeline)
   ════════════════════════════════════════════════════════════════════ */
.story { background:
  linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.story .section__head { max-width: var(--container); margin: 0 auto 64px; padding: 0 var(--gutter); }
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 920px;
  position: relative;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--gutter) + 70px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--orange) 50%, var(--block) 100%);
  opacity: .25;
}
.step {
  display: grid;
  grid-template-columns: 70px 24px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.step.in-view { opacity: 1; transform: none; }

.step__time {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-3);
  text-align: right;
  padding-top: 4px;
  letter-spacing: 0.04em;
}
.step__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  margin-top: 5px;
  margin-left: 4px;
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 2;
}
.step__body { padding: 4px 0 0 6px; }
.step__body h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  line-height: 1.2;
}
.step__body p { margin: 0; color: var(--ink-3); font-size: 14.5px; line-height: 1.6; }
.step__body code { background: var(--bg-2); padding: 1px 6px; border-radius: 4px; color: var(--blue); font-size: 12px; }

.step--fired   .step__dot { border-color: var(--orange); box-shadow: 0 0 0 4px var(--bg), 0 0 0 8px rgba(245,121,59,.18); }
.step--blocked .step__dot { border-color: var(--block);  box-shadow: 0 0 0 4px var(--bg), 0 0 0 8px rgba(220,38,38,.18); background: var(--block); }
.step--ttp     .step__dot { border-color: var(--blue);   background: var(--blue); }
.step--final   .step__dot { border-color: var(--ink); background: var(--ink); }
.step--final h4 { color: var(--ink); }
.step--final p strong { color: var(--orange); }

/* ════════════════════════════════════════════════════════════════════
   COMPARISON — MODERN CARD LAYOUT
   ════════════════════════════════════════════════════════════════════ */
/* Logo ribbon */
.ct__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.ct__logo-us img { height: 60px; object-fit: contain; }
.ct__logo-vs {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-4);
}
.ct__logo-them img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: .45;
  transition: all .3s ease;
}
.ct__logo-them:hover img { opacity: 1; transform: scale(1.08); }

/* Card grid */
.ct__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.ct__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.ct__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ct__card--us {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.ct__card--us h4 { color: #fff; }
.ct__card--us .ct__score {
  background: var(--orange);
  color: #fff;
}

.ct__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: var(--bg-2);
  color: var(--ink);
  margin-bottom: 14px;
  border: 1.5px solid var(--line);
}
.ct__card--us .ct__score { border-color: rgba(255,255,255,.2); }

.ct__card-logo {
  height: 36px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}
.ct__card-logo img {
  height: 100%;
  max-width: 140px;
  object-fit: contain;
}
.ct__card--us .ct__card-logo img { height: 42px; filter: brightness(0) invert(1); }
.ct__card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.ct__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ct__card li {
  padding: 7px 0 7px 24px;
  position: relative;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  border-top: 1px solid rgba(128,128,140,.08);
}
.ct__card--us li { color: rgba(255,255,255,.8); border-top-color: rgba(255,255,255,.08); }
.ct__card li:first-child { border-top: none; }
.ct__card li::before {
  position: absolute;
  left: 0;
  top: 7px;
  font-weight: 800;
  font-size: 14px;
}
.ct__y::before { content: "✓"; color: var(--ok); }
.ct__n::before { content: "✗"; color: #d4d4dc; }
.ct__p::before { content: "◐"; color: var(--alert); font-size: 13px; }
.ct__card--us .ct__y::before { color: #6ee7b7; }
.ct__card--us .ct__n::before { color: rgba(255,255,255,.25); }
.ct__card code { color: var(--blue); font-size: 12px; }
.ct__card--us code { color: #93c5fd; }

.compare__legend {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--ink-4);
  font-family: var(--font-mono);
}

/* old column highlight — unused in card layout but kept for safety */
.ct__row > div:nth-child(2) {
  background: var(--orange-soft);
  position: relative;
}
.ct__row > div:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -1px; bottom: -1px;
  border-left: 1px solid var(--orange-line);
  border-right: 1px solid var(--orange-line);
  pointer-events: none;
}
.ct__row > div:nth-child(2).ct__yes { color: var(--orange); }

@media (max-width: 1080px) {
  .compare__table { overflow-x: auto; }
  .ct__head, .ct__row { min-width: 980px; }
}

/* ════════════════════════════════════════════════════════════════════
   SKILL GRID
   ════════════════════════════════════════════════════════════════════ */
.skill__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
@media (max-width: 980px) { .skill__grid { grid-template-columns: 1fr; } }

.skill__cell {
  padding: 38px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
  position: relative;
}
.skill__cell:hover { background: var(--orange-soft); }
.skill__cell:nth-child(3n) { border-right: none; }
.skill__cell:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 980px) {
  .skill__cell { border-right: none; }
  .skill__cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .skill__cell:last-child { border-bottom: none; }
}
.skill__cell h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.skill__cell p { font-size: 14.5px; color: var(--ink-3); margin: 0; line-height: 1.6; }
.skill__cell p code { color: var(--blue); }

/* ════════════════════════════════════════════════════════════════════
   CTA + FOOTER
   ════════════════════════════════════════════════════════════════════ */
.cta {
  margin: 0;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 40%, rgba(245,121,59,.30), transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 60%, rgba(46,46,255,.30), transparent 60%);
  pointer-events: none;
}
/* animated noise grain */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 1100px; margin: 0 auto; }
.cta__split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .cta__split { grid-template-columns: 1fr; text-align: center; } }

.cta__left h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}
.cta__left h2 .ink { color: var(--orange); }
.cta__left p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.cta__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.cta__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(245,121,59,.2);
  color: var(--orange);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

/* demo form card */
.demo-form {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
  color: var(--ink);
  position: relative;
}
.demo-form__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
  text-align: left;
}
.demo-form__field {
  margin-bottom: 18px;
}
.demo-form__field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.demo-form__field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-2);
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
  box-sizing: border-box;
}
.demo-form__field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,121,59,.12);
}
.demo-form__field input::placeholder { color: var(--ink-4); }

.demo-form__submit {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
  border: none;
  font-size: 16px;
  font-weight: 700;
}
.demo-form__submit:disabled {
  background: var(--ok) !important;
  cursor: default;
}
.demo-form__note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-4);
  margin: 14px 0 0;
}

/* Formspree success / error states */
.demo-form__success {
  display: none;
  text-align: center;
  padding: 32px 0;
}
.demo-form__success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 16px 0 8px;
}
.demo-form__success p { font-size: 14px; color: var(--ink-3); margin: 0; }
.demo-form__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--ok);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}
[data-fs-success].fs-success { display: block; }
[data-fs-success].fs-success ~ form { display: none; }
.demo-form__error {
  color: var(--block);
  font-size: 13px;
  text-align: center;
  padding: 8px 0;
}
.demo-form__field-err {
  display: block;
  font-size: 12px;
  color: var(--block);
  margin-top: 4px;
  min-height: 16px;
}
.demo-form__field input[aria-invalid="true"] {
  border-color: var(--block);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.footer {
  background: linear-gradient(180deg, var(--ink) 0%, #0a0a1a 100%);
  color: rgba(255,255,255,.6);
  padding: 80px var(--gutter) 48px;
  position: relative;
  overflow: hidden;
}
/* decorative top gradient line */
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--orange));
  background-size: 200% 100%;
  animation: footerGradient 8s ease infinite;
}
@keyframes footerGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer__logo {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 40px;
  opacity: .9;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 700px) { .footer__cols { grid-template-columns: 1fr; } }
.footer h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin: 0 0 18px;
}
.footer a, .footer span {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .25s ease, transform .25s ease;
}
.footer a:hover { color: #fff; transform: translateX(4px); }
.footer__base {
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ════════════════════════════════════════════════════════════════════
   REVEAL ON SCROLL (utility)
   ════════════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════════
   SURFACE LOGO STRIPS
   ════════════════════════════════════════════════════════════════════ */
.surface__head {
  flex-wrap: wrap;
  row-gap: 12px;
}
.surface__logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  padding-left: 16px;
}
.surface__logos img {
  height: 22px;
  width: auto;
  opacity: .55;
  filter: grayscale(100%);
  transition: all .25s ease;
}
.surface__logos img:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════════
   PACKAGE CENTRALITY
   ════════════════════════════════════════════════════════════════════ */
.centrality { background:
  radial-gradient(ellipse 60% 80% at 20% 20%, var(--orange-soft) 0%, transparent 60%),
  radial-gradient(ellipse 60% 80% at 80% 90%, var(--blue-soft) 0%, transparent 60%);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.centrality .section__head,
.centrality .cent__layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cent__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1080px) { .cent__layout { grid-template-columns: 1fr; } }

.cent__viz {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cent__svg {
  width: 100%;
  max-width: 720px;
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(245,121,59,.14));
}
.cent__dots circle { fill: var(--ink-4); opacity: .35; }

.ring {
  fill: none;
  stroke-dasharray: 2 8;
  opacity: 0.55;
}
.ring--2 { stroke: var(--orange); stroke-width: 1.6; }
.ring--3 { stroke: var(--ink-3);  stroke-width: 1.4; opacity: .35; }
.ring--4 { stroke: var(--ink-4);  stroke-width: 1.2; opacity: .22; }

.ring__core {
  fill: var(--orange);
  filter: drop-shadow(0 14px 36px rgba(245,121,59,.45));
}
.ring__title {
  fill: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.ring__sub {
  fill: rgba(255,255,255,.85);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}
.ring__tag rect {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1.5;
  filter: drop-shadow(0 6px 14px rgba(15,15,40,.06));
}
.ring__tag text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  fill: var(--ink);
  text-anchor: middle;
  letter-spacing: 0.05em;
}
.ring__tag text.ring__tag-sub {
  fill: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* orbiting package dots */
.orbit {
  transform-origin: 260px 260px;
  animation: orbit 18s linear infinite;
}
.orbit--2 .pkgdot { transform: translate(118px, 260px); }
.orbit--3 .pkgdot { transform: translate(170px, 260px); }
.orbit--4 .pkgdot { transform: translate(220px, 260px); }
.orbit--2 { animation-duration: 14s; }
.orbit--3 { animation-duration: 22s; animation-direction: reverse; }
.orbit--4 { animation-duration: 30s; }
.orbit--delay { animation-delay: -7s; }
.pkgdot {
  fill: var(--blue);
  filter: drop-shadow(0 0 8px rgba(46,46,255,.55));
}
.pkgdot--alt {
  fill: var(--orange);
  filter: drop-shadow(0 0 8px rgba(245,121,59,.55));
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* tier table */
.cent__table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cent__row {
  display: grid;
  grid-template-columns: 70px 1fr 120px;
  align-items: center;
  gap: 18px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.4;
  transition: background .25s ease;
}
.cent__row strong { display: block; font-size: 16px; }
.cent__hint {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 2px;
}
.cent__row:first-child { border-top: none; }
.cent__row:hover { background: var(--bg-2); }
.cent__row strong { color: var(--ink); }
.cent__row em { color: var(--orange); font-style: normal; font-weight: 600; }

.cent__row--head {
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding-top: 16px;
  padding-bottom: 16px;
}

.cent__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff;
  box-shadow: 0 6px 16px rgba(15,15,40,.12);
}
.cent__badge--1 { background: linear-gradient(160deg, var(--orange) 0%, var(--orange-2) 100%); }
.cent__badge--2 { background: linear-gradient(160deg, #fbb040, #fdd485); color: var(--ink); }
.cent__badge--3 { background: linear-gradient(160deg, #6e6e8a, #9a9ab0); }
.cent__badge--4 { background: linear-gradient(160deg, #c8c8d4, #e1e1ea); color: var(--ink); }

.cent__act {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--orange);
  text-align: right;
}
.cent__row--t1 .cent__act { color: var(--orange); font-weight: 700; }

@media (max-width: 760px) {
  .cent__row { grid-template-columns: 60px 1fr; }
  .cent__act { grid-column: 1 / -1; text-align: left; padding-top: 4px; }
  .cent__row--head div:nth-child(3) { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   DATA FRAGMENTATION ANIMATION
   ════════════════════════════════════════════════════════════════════ */
.frag__wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.frag__copy { text-align: center; max-width: 700px; }
.frag__copy .frag__desc { margin: 0 auto; }
.frag__diagram { width: 100%; max-width: 1100px; }

.frag__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--ink);
}
.frag__desc {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 520px;
}
.frag__diagram { position: relative; }
.frag__svg {
  width: 100%;
  display: block;
}

/* staggered entrance for source nodes */
.frag__src { opacity: 0; animation: fragSrcIn .6s ease forwards; }
.frag__src--1 { animation-delay: 0s; }
.frag__src--2 { animation-delay: .12s; }
.frag__src--3 { animation-delay: .24s; }
.frag__src--4 { animation-delay: .36s; }
.frag__src--5 { animation-delay: .48s; }
.frag__src--6 { animation-delay: .60s; }
@keyframes fragSrcIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* flow rails */
.frag__rail {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  opacity: .45;
  animation: fragDash 2s linear infinite;
}
.frag__rail--blue { stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 10 8; }
@keyframes fragDash { to { stroke-dashoffset: -56; } }

/* data packets traveling */
.frag__pkt {
  fill: var(--orange);
  filter: drop-shadow(0 0 8px rgba(245,121,59,.7));
}
.frag__pkt--in1 { offset-path: path('M 230 95  C 310 95,  330 280, 380 360'); animation: fragPktIn 3s ease-in-out infinite; }
.frag__pkt--in2 { offset-path: path('M 230 205 C 310 205, 330 300, 380 360'); animation: fragPktIn 3s ease-in-out infinite .4s; }
.frag__pkt--in3 { offset-path: path('M 230 315 C 310 315, 340 340, 380 360'); animation: fragPktIn 3s ease-in-out infinite .8s; }
.frag__pkt--in4 { offset-path: path('M 230 425 C 310 425, 340 380, 380 360'); animation: fragPktIn 3s ease-in-out infinite 1.2s; }
.frag__pkt--in5 { offset-path: path('M 230 535 C 310 535, 330 420, 380 360'); animation: fragPktIn 3s ease-in-out infinite 1.6s; }
.frag__pkt--in6 { offset-path: path('M 230 645 C 310 645, 330 440, 380 360'); animation: fragPktIn 3s ease-in-out infinite 2s; }
@keyframes fragPktIn {
  0%   { offset-distance: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.frag__pkt--mid {
  fill: var(--blue);
  filter: drop-shadow(0 0 10px rgba(46,46,255,.8));
  offset-path: path('M 520 360 C 580 360, 590 360, 620 360');
  animation: fragPktMid 2.2s ease-in-out infinite;
}
@keyframes fragPktMid {
  0%   { offset-distance: 0%;   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* modern DB cylinder */
.frag__db-body { fill: var(--white); stroke: var(--orange); stroke-width: 2; }
.frag__db-top { fill: var(--orange-soft); stroke: var(--orange); stroke-width: 2; }
.frag__db-bottom { fill: var(--white); stroke: var(--orange); stroke-width: 2; }
.frag__db-mid { fill: none; stroke: var(--orange); stroke-width: 1; opacity: .3; }

.frag__db-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  fill: var(--orange);
  letter-spacing: 0.06em;
}
.frag__db-sublabel {
  font-family: var(--font-mono);
  font-size: 10px;
  fill: var(--ink-3);
  letter-spacing: 0.03em;
}

.frag__norm-spin {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1;
  stroke-dasharray: 14 22;
  opacity: .3;
  transform-origin: 440px 360px;
  animation: fragSpin 12s linear infinite;
}
@keyframes fragSpin { to { transform: rotate(360deg); } }

/* dependency graph — nodes */
.frag__gn { stroke-width: 2; }
.frag__gn--core { fill: var(--white); stroke: var(--blue); stroke-width: 3; filter: drop-shadow(0 10px 24px rgba(46,46,255,.3)); }
.frag__gn--t1 { fill: var(--orange); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 4px 12px rgba(245,121,59,.4)); }
.frag__gn--t2 { fill: var(--blue); stroke: #fff; stroke-width: 1.5; opacity: .9; }
.frag__gn--t3 { fill: #8b8ba0; stroke: #fff; stroke-width: 1; opacity: .65; }

/* dependency graph — edges */
.frag__edges line {
  stroke: var(--blue);
  stroke-width: 1.5;
  opacity: .22;
}

/* propagation pulses from graph core */
.frag__pulse {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 730px 360px;
  animation: fragPulse 3.5s ease-out infinite;
}
.frag__pulse--2 { animation-delay: 1.2s; }
.frag__pulse--3 { animation-delay: 2.4s; }
@keyframes fragPulse {
  0%   { transform: scale(0.3); opacity: .55; }
  60%  { opacity: .12; }
  100% { transform: scale(1.1); opacity: 0; }
}

/* labels */
.frag__stage-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  fill: var(--ink);
  letter-spacing: 0.04em;
}
.frag__caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  fill: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════
   DATA SOURCES
   ════════════════════════════════════════════════════════════════════ */
.sources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
@media (max-width: 1080px) { .sources__grid { grid-template-columns: 1fr; } }

.src__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .35s cubic-bezier(.2,.7,.2,1);
}
.src__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 50%, var(--orange-soft));
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.src__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange-line); }
.src__card:hover::before { opacity: 1; }

.src__card header { margin-bottom: 22px; position: relative; }
.src__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: block;
  margin-bottom: 8px;
}
.src__card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.0;
}
.src__card--xyz {
  background: linear-gradient(160deg, var(--orange) 0%, var(--orange-2) 100%);
  color: #fff;
  border-color: transparent;
}
.src__card--xyz h3, .src__card--xyz .src__num { color: #fff; }
.src__card--xyz .src__num { color: rgba(255,255,255,.7); }

.src__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  position: relative;
}
.src__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
}
.src__list li:first-child { border-top: none; }
.src__name {
  color: var(--ink);
  font-weight: 600;
}
.src__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.src__card--xyz .src__list li { border-top-color: rgba(255,255,255,.18); }
.src__card--xyz .src__name { color: #fff; }
.src__card--xyz .src__count { color: rgba(255,255,255,.75); }

.src__foot {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  position: relative;
  line-height: 1.55;
}
.src__card--xyz .src__foot { color: rgba(255,255,255,.85); border-top-color: rgba(255,255,255,.18); }
.src__card--xyz .src__foot code {
  background: rgba(255,255,255,.18);
  padding: 1px 6px;
  border-radius: 4px;
}

.sources__marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  min-height: 100px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.sources__marquee-row {
  display: inline-flex;
  gap: 38px;
  align-items: center;
  white-space: nowrap;
  animation: slide 70s linear infinite;
  padding: 0 24px;
  width: max-content;
}
.mq__feed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}
.mq__feed img {
  display: block;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  opacity: .85;
  transition: all .3s ease;
}
.mq__feed:hover img { opacity: 1; transform: scale(1.1); }
.mq__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: var(--bg-2);
  color: var(--ink);
  border: 1.5px solid var(--line);
  text-transform: uppercase;
}
.mq__badge--orange {
  background: var(--orange-soft);
  color: var(--orange);
  border-color: var(--orange-line);
}
.mq__badge--blue {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue-line);
}

/* honor reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .pkt, .orbit { display: none; }
}
