/* EdgeX — static site styles */

:root {
  --bg:        #07080A;
  --bg-soft:   #0B0C10;
  --surface:   #0F1014;
  --surface-2: #14161C;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --text:      #F5F5F7;
  --text-mid:  rgba(245,245,247,0.72);
  --text-dim:  rgba(245,245,247,0.48);
  --text-faint:rgba(245,245,247,0.32);

  --accent:    #FF4D1F;
  --accent-2:  #FF7A3D;
  --accent-soft: rgba(255,77,31,0.14);
  --accent-glow: rgba(255,77,31,0.45);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --max:       1240px;
  --pad-x:     32px;

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 50% -200px, rgba(255,77,31,0.10), transparent 60%),
    radial-gradient(900px 600px at 110% 30%, rgba(255,77,31,0.06), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: rgba(255,77,31,0.30); color: #fff; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Typography */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.25;
}
p { margin: 0; color: var(--text-mid); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.22) inset,
    0 0 0 1px rgba(255,77,31,0.5),
    0 12px 28px -10px rgba(255,77,31,0.55);
}
.btn-primary:hover {
  background: #FF5C30;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 0 0 1px rgba(255,77,31,0.6),
    0 18px 40px -12px rgba(255,77,31,0.75);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 7px; }
.btn .arr { display: inline-block; transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7,8,10,0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-left { display: flex; align-items: center; gap: 36px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 13.5px;
  color: var(--text-mid);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-right { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px;
  background: rgba(255,255,255,0.02);
  font-family: var(--font-mono);
  font-size: 11px;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.04em;
  font-family: inherit;
  font-size: inherit;
}
.lang-toggle button.on {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 .swap {
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent {
  background: linear-gradient(180deg, #FFB07A 0%, #FF4D1F 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.55;
}
.hero-cta { margin-top: 32px; display: flex; gap: 12px; }
.hero-proof {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  max-width: 560px;
}
.hero-proof div {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
}
.hero-proof .check {
  width: 14px; height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 80%);
}
.glow-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

/* Constellation */
.constellation {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  aspect-ratio: 1 / 0.95;
  min-height: 440px;
}
.constellation svg.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(20,22,28,0.92), rgba(14,15,20,0.92));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 20px 40px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  min-width: 140px;
  max-width: 220px;
  animation: bob 8s ease-in-out infinite;
  z-index: 2;
}
.node:nth-child(2)  { animation-delay: -1s; }
.node:nth-child(3)  { animation-delay: -2s; }
.node:nth-child(4)  { animation-delay: -3s; }
.node:nth-child(5)  { animation-delay: -4s; }
.node:nth-child(6)  { animation-delay: -5s; }
.node:nth-child(7)  { animation-delay: -6s; }
.node:nth-child(8)  { animation-delay: -7s; }

@keyframes bob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-6px); }
}

.node .row { display: flex; align-items: center; gap: 8px; }
.node .ico {
  width: 22px; height: 22px;
  border-radius: 5px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(255,77,31,0.32);
  flex-shrink: 0;
}
.node .ico svg { width: 12px; height: 12px; }
.node .ttl {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
}
.node .sub {
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.node .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #19D27F;
  box-shadow: 0 0 8px rgba(25,210,127,0.5);
  margin-left: auto;
}

.node.center .ttl { white-space: nowrap; }
.node.center {
  background: linear-gradient(160deg, rgba(255,77,31,0.18), rgba(20,22,28,0.95) 70%);
  border-color: rgba(255,77,31,0.35);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 0 0 1px rgba(255,77,31,0.25),
    0 30px 60px -20px rgba(255,77,31,0.35),
    0 30px 80px -20px rgba(0,0,0,0.7);
  z-index: 3;
  padding: 14px 18px;
  min-width: 190px;
}
.node.center .ico { background: rgba(255,77,31,0.30); color: #fff; border-color: rgba(255,255,255,0.18); }
.node.center .ttl { font-size: 14px; }

.constellation .ring {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.06);
  pointer-events: none;
}
.constellation .ring.r1 { width: 56%; height: 56%; }
.constellation .ring.r2 { width: 100%; height: 100%; border-style: solid; border-color: rgba(255,255,255,0.04); }

.constellation::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 60%; height: 60%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,31,0.18) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

@keyframes pulse-dash {
  to { stroke-dashoffset: -200; }
}
.wires .pulse {
  stroke-dasharray: 4 200;
  animation: pulse-dash 4s linear infinite;
}
.wires .pulse.d1 { animation-delay: 0s; }
.wires .pulse.d2 { animation-delay: -1s; }
.wires .pulse.d3 { animation-delay: -2s; }
.wires .pulse.d4 { animation-delay: -3s; }
.wires .pulse.d5 { animation-delay: -1.5s; }
.wires .pulse.d6 { animation-delay: -2.5s; }

/* Generic section */
section { position: relative; padding: 96px 0; }
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--text-mid); }

/* Trust band */
.trust {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.trust-list {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
}
.trust-list span { display: inline-flex; align-items: center; gap: 8px; }
.trust-list .pip {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,77,31,0.6);
}

/* Problem cells */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.problem-cell {
  padding: 18px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-mid);
  display: flex; align-items: center; gap: 12px;
}
.problem-cell .x {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: rgba(255,77,31,0.10);
  border: 1px solid rgba(255,77,31,0.3);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  flex-shrink: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, rgba(20,22,28,0.5), rgba(14,15,20,0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  min-height: 240px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 24px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-mid); }
.step .ico-big {
  position: absolute;
  top: 24px; right: 24px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,77,31,0.3);
  color: var(--accent);
}
.step .ico-big svg { width: 16px; height: 16px; }

/* Capabilities */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cap {
  padding: 28px 26px 26px;
  background: linear-gradient(180deg, rgba(20,22,28,0.55), rgba(14,15,20,0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.cap:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.cap .corner {
  position: absolute;
  top: -1px; right: -1px;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(255,77,31,0.18), transparent 60%);
  pointer-events: none;
}
.cap-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.cap-ico {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,77,31,0.3);
  color: var(--accent);
  display: grid; place-items: center;
}
.cap-ico svg { width: 18px; height: 18px; }
.cap h3 { font-size: 19px; }
.cap p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 18px;
}
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex;
  padding: 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mid);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: nowrap;
}
.tag.soon {
  color: var(--accent-2);
  background: rgba(255,122,61,0.08);
  border-color: rgba(255,122,61,0.25);
}

/* VDC tree */
.vdc {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.vdc-copy h2 { margin-bottom: 18px; }
.vdc-copy ul { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 12px; }
.vdc-copy li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; color: var(--text-mid);
}
.vdc-copy li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255,77,31,0.5);
}

.tree {
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(255,77,31,0.08), transparent 70%),
    linear-gradient(180deg, rgba(20,22,28,0.5), rgba(11,12,16,0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.tree::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.tree-node {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(20,22,28,0.85);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 12px;
}
.tree-node .lbl-tiny {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 4px;
}
.tree-node.contract { margin-left: 32px; }
.tree-node.vdc {
  margin-left: 64px;
  background: linear-gradient(180deg, rgba(255,77,31,0.16), rgba(20,22,28,0.9));
  border-color: rgba(255,77,31,0.35);
  box-shadow: 0 0 0 1px rgba(255,77,31,0.18), 0 20px 40px -16px rgba(255,77,31,0.30);
}
.tree-resources {
  margin: 8px 0 0 96px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.tree-resources .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 7px;
  white-space: nowrap;
}
.tree-resources .pill .ico {
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.tree-resources .pill .ico svg { width: 10px; height: 10px; }

.tree-line {
  position: absolute;
  background: var(--line-2);
  z-index: 0;
}

/* Deploy */
.deploy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.deploy-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,22,28,0.5), rgba(14,15,20,0.5));
  position: relative;
  overflow: hidden;
}
.deploy-card .badge {
  display: inline-flex;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(255,77,31,0.3);
  border-radius: 5px;
  margin-bottom: 18px;
  white-space: nowrap;
}
.deploy-card h3 { font-size: 24px; margin-bottom: 12px; }
.deploy-card > p { font-size: 14.5px; color: var(--text-mid); margin-bottom: 24px; }
.deploy-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.deploy-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--text-mid);
}
.deploy-list li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.deploy-card .ttm {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
  display: flex; justify-content: space-between; align-items: center;
}
.deploy-card .ttm span:last-child { color: var(--text); }

/* Solutions */
.solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sol {
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,22,28,0.5), rgba(14,15,20,0.5));
  position: relative;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.sol:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.sol .sol-ico {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,77,31,0.3);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.sol .sol-ico svg { width: 18px; height: 18px; }
.sol h3 { font-size: 18px; margin-bottom: 8px; }
.sol p { font-size: 13.5px; color: var(--text-mid); }
.sol .cta {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}

/* Compare table */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20,22,28,0.5), rgba(11,12,16,0.6));
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  text-align: left;
  padding: 18px 22px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.compare tr:last-child td { border-bottom: 0; }
.compare th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  background: rgba(255,255,255,0.02);
}
.compare th:first-child { color: var(--text-faint); }
.compare th.us {
  color: var(--accent);
  background: rgba(255,77,31,0.06);
}
.compare td:first-child {
  color: var(--text);
  font-weight: 500;
}
.compare td.cell-us {
  background: rgba(255,77,31,0.04);
  color: var(--text);
}
.compare td.cell-other { color: var(--text-dim); }

/* Final CTA */
.final-cta {
  padding: 80px 56px;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(255,77,31,0.18), transparent 60%),
    linear-gradient(180deg, rgba(20,22,28,0.6), rgba(11,12,16,0.6));
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { font-size: 17px; color: var(--text-mid); max-width: 560px; margin: 0 auto 28px; }
.final-cta .hero-cta { justify-content: center; }

/* Footer */
footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid li { font-size: 13.5px; color: var(--text-mid); cursor: pointer; }
.foot-grid li:hover { color: var(--text); }
.foot-grid .blurb { font-size: 13.5px; color: var(--text-mid); margin-top: 14px; max-width: 280px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 880px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .caps, .solutions { grid-template-columns: repeat(2, 1fr); }
  .deploy, .vdc { grid-template-columns: 1fr; gap: 32px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-wrap { grid-template-columns: 1fr !important; gap: 32px !important; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }

  /* Constellation → stacked grid on mobile.
     Drop absolute positioning, rings, wires and bobbing animation. */
  .constellation {
    aspect-ratio: auto;
    min-height: 0;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .constellation .ring,
  .constellation .wires { display: none; }
  .constellation::after { display: none; }
  .constellation .node {
    position: static;
    transform: none;
    animation: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .constellation .node.center {
    grid-column: 1 / -1;
    order: -1;
  }

  /* Compare table — horizontal scroll on mid screens */
  .compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare table { min-width: 520px; }
  .compare th, .compare td { padding: 14px 16px; font-size: 13px; }

  /* VDC tree — keep readable */
  .tree { padding: 24px; }
  .tree-resources { margin-left: 32px; }
}
@media (max-width: 560px) {
  :root { --pad-x: 20px; }
  section { padding: 64px 0; }
  .steps, .caps, .solutions { grid-template-columns: 1fr; }
  .final-cta { padding: 56px 24px; }
  h1 { letter-spacing: -0.02em; }
  .hero-cta { flex-wrap: wrap; }
  .hero-proof { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .trust-list { gap: 18px; font-size: 11.5px; }

  /* Constellation — single column on smallest screens */
  .constellation { grid-template-columns: 1fr; }

  /* Compare table — stack each row as a card */
  .compare { overflow: visible; border-radius: 14px; }
  .compare table,
  .compare thead,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td { display: block; }
  .compare table { min-width: 0; }
  .compare thead { display: none; }
  .compare tr {
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
  }
  .compare tr:last-child { border-bottom: 0; }
  .compare td {
    border: 0;
    padding: 4px 0;
    font-size: 14px;
    background: transparent !important;
  }
  .compare td:first-child {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 6px;
  }
  .compare td.cell-other::before { content: attr(data-col) " · "; color: var(--text-faint); font-size: 11px; letter-spacing: 0.04em; }
  .compare td.cell-us {
    color: var(--accent);
    font-weight: 600;
  }
  .compare td.cell-us::before { content: attr(data-col) " · "; color: var(--accent); opacity: 0.7; font-size: 11px; letter-spacing: 0.04em; }

  /* VDC tree — flatten indentation on tiny screens */
  .tree-node.contract { margin-left: 16px; }
  .tree-node.vdc { margin-left: 32px; }
  .tree-resources { margin-left: 48px; grid-template-columns: 1fr; }
}
