/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --bg:       #0b1929;
  --bg2:      #0f2035;
  --ink:      #e2eaf4;
  --ink-muted:#8ba0b8;
  --accent:   #22d3ee;
  --accent-h: #06b6d4;
  --panel:    rgba(255,255,255,0.05);
  --border:   rgba(255,255,255,0.09);
  --muted:    rgba(255,255,255,0.04);
  --sans:     "IBM Plex Sans","Segoe UI",sans-serif;
  --mono:     "IBM Plex Mono","SFMono-Regular",monospace;
  --max:      72rem;
}

/* ── Reset ───────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}
img{display:block;max-width:100%;}
a{color:var(--accent);text-decoration:none;}
a:hover{color:var(--accent-h);}

/* ── Nav ─────────────────────────────────────────────────── */
.nav{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 2rem;height:3.5rem;
  background:rgba(11,25,41,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-brand{
  display:flex;align-items:center;gap:.6rem;
  font-weight:700;font-size:1.05rem;color:var(--ink);
}
.nav-logo{width:1.8rem;height:1.8rem;}
.nav-links{list-style:none;display:flex;align-items:center;gap:2rem;}
.nav-links a{font-size:.9rem;font-weight:600;color:var(--ink-muted);}
.nav-links a:hover{color:var(--accent);}
.nav-cta{
  background:var(--accent);color:#0b1929 !important;
  padding:.4rem 1rem;border-radius:6px;font-weight:700 !important;
  transition:background .15s;
}
.nav-cta:hover{background:var(--accent-h) !important;}

/* ── Network canvas ──────────────────────────────────────── */
#network-bg{
  position:absolute;top:3.5rem;left:0;
  width:100%;pointer-events:none;z-index:0;
  opacity:.8;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero{
  position:relative;
  padding:7rem 2rem 5rem;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(34,211,238,.10), transparent 40rem),
    radial-gradient(ellipse at 80% 60%, rgba(34,211,238,.06), transparent 32rem);
  text-align:center;
}
.hero-inner{max-width:52rem;margin:auto;position:relative;z-index:1;}
.hero-logo{width:20rem;height:20rem;margin:0 auto 1.5rem;}
.eyebrow{
  display:inline-block;
  font-size:.75rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);margin-bottom:1.2rem;
}
.hero h1{
  font-size:clamp(2.4rem,6vw,4.2rem);
  line-height:1.05;font-weight:700;
  color:#fff;margin-bottom:1.4rem;
}
.hero h1 em{font-style:normal;color:var(--accent);}
.hero-copy{
  font-size:1.1rem;color:var(--ink-muted);
  max-width:42rem;margin:0 auto 2.4rem;line-height:1.75;
}
.hero-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--accent);color:#0b1929;
  padding:.75rem 1.6rem;border-radius:8px;
  font-weight:700;font-size:.95rem;
  transition:background .15s,transform .1s;
}
.btn-primary:hover{background:var(--accent-h);color:#0b1929;transform:translateY(-1px);}
.btn-secondary{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--panel);color:var(--ink);
  padding:.75rem 1.6rem;border-radius:8px;
  font-weight:700;font-size:.95rem;
  border:1.5px solid var(--border);
  transition:border-color .15s,transform .1s;
}
.btn-secondary:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-1px);}

/* ── Context strip ───────────────────────────────────────── */
.context-strip{
  background:rgba(34,211,238,.07);
  border-top:1px solid rgba(34,211,238,.15);
  border-bottom:1px solid rgba(34,211,238,.15);
  padding:2.5rem 2rem;
}
.context-inner{
  max-width:var(--max);margin:auto;
  display:flex;gap:2rem;align-items:stretch;flex-wrap:wrap;
}
.context-item{flex:1;min-width:14rem;display:flex;flex-direction:column;gap:.4rem;}
.context-item strong{font-size:2rem;font-weight:700;color:var(--accent);}
.context-item span{font-size:.9rem;line-height:1.5;color:var(--ink-muted);}
.context-item span em{font-style:italic;color:rgba(139,160,184,.55);}
.context-divider{
  width:1px;background:rgba(34,211,238,.15);
  align-self:stretch;display:none;
}
@media(min-width:48rem){.context-divider{display:block;}}

/* ── Sections ────────────────────────────────────────────── */
.section{padding:5rem 2rem;}
.section--alt{background:rgba(255,255,255,.02);}
.section-inner{max-width:var(--max);margin:auto;}
.section-label{
  font-size:.75rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);margin-bottom:.8rem;
}
.section h2{
  font-size:clamp(1.7rem,3.5vw,2.6rem);
  font-weight:700;line-height:1.15;
  color:#fff;margin-bottom:1rem;
}
.section-copy{
  font-size:1.05rem;color:var(--ink-muted);
  max-width:44rem;line-height:1.75;margin-bottom:3rem;
}

/* ── Two-col cards ───────────────────────────────────────── */
.two-col{display:grid;gap:1.5rem;}
@media(min-width:50rem){.two-col{grid-template-columns:1fr 1fr;}}
.card{border-radius:12px;padding:2rem;border:1.5px solid var(--border);}
.card--muted{background:var(--muted);}
.card--accent{
  background:rgba(34,211,238,.06);
  border-color:rgba(34,211,238,.25);
}
.card h3{font-size:1.05rem;font-weight:700;color:#fff;margin-bottom:1rem;}
.card--accent h3{color:var(--accent);}
.list-plain{
  list-style:none;
  display:flex;flex-direction:column;gap:.6rem;
  font-size:.92rem;color:var(--ink-muted);
}
.list-plain li{display:flex;gap:.5rem;}
.list-plain li::before{content:"·";color:var(--accent);font-weight:700;flex-shrink:0;}
.list-plain em{font-style:normal;font-weight:600;color:var(--accent);}

/* ── Four layers ─────────────────────────────────────────── */
.layers{display:flex;flex-direction:column;align-items:flex-start;gap:0;max-width:36rem;}
.layer{
  display:flex;gap:1.2rem;align-items:flex-start;
  background:var(--panel);
  border:1.5px solid var(--border);
  border-radius:10px;padding:1.2rem 1.4rem;width:100%;
  transition:border-color .15s;
}
.layer:hover{border-color:var(--accent);}
.layer-num{
  flex-shrink:0;width:2rem;height:2rem;
  background:var(--accent);color:#0b1929;
  border-radius:50%;
  display:grid;place-items:center;
  font-weight:700;font-size:.85rem;
}
.layer h4{font-size:.95rem;font-weight:700;color:#fff;margin-bottom:.3rem;}
.layer p{font-size:.88rem;color:var(--ink-muted);line-height:1.5;}
.layer-arrow{
  text-align:center;color:var(--accent);
  font-size:1.3rem;line-height:1;
  padding:.2rem 0 .2rem 1rem;
}

/* ── AI Plane diagram ────────────────────────────────────── */
.plane-diagram{
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
  border-radius:14px;padding:2rem;margin-bottom:3rem;
  display:flex;flex-direction:column;align-items:center;gap:.6rem;
}
.plane-row{display:flex;gap:.8rem;flex-wrap:wrap;justify-content:center;width:100%;}
.plane-row--top,.plane-row--bottom{justify-content:center;}
.plane-node{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--ink-muted);border-radius:8px;
  padding:.55rem 1rem;
  font-size:.82rem;font-weight:600;font-family:var(--mono);text-align:center;
}
.plane-node--agent{
  background:rgba(34,211,238,.15);
  border-color:var(--accent);color:#fff;font-size:.9rem;
}
.plane-node--state{
  background:rgba(34,211,238,.08);
  border-color:rgba(34,211,238,.35);color:#fff;
}
.plane-connector{color:rgba(139,160,184,.4);font-size:.78rem;font-family:var(--mono);letter-spacing:.04em;}

/* ── Three-col features ──────────────────────────────────── */
.three-col{display:grid;gap:1.5rem;}
@media(min-width:50rem){.three-col{grid-template-columns:repeat(3,1fr);}}
.feature{
  padding:1.6rem;
  background:var(--panel);
  border:1.5px solid var(--border);
  border-radius:12px;
  transition:border-color .15s;
}
.feature:hover{border-color:var(--accent);}
.feature-icon{font-size:1.6rem;display:block;margin-bottom:.8rem;}
.feature h4{font-size:.95rem;font-weight:700;color:#fff;margin-bottom:.5rem;}
.feature p{font-size:.88rem;color:var(--ink-muted);line-height:1.6;}

/* ── Compare table ───────────────────────────────────────── */
.compare-table-wrap{overflow-x:auto;margin-top:1rem;}
.compare-table{width:100%;border-collapse:collapse;font-size:.9rem;}
.compare-table th,.compare-table td{
  padding:.8rem 1rem;text-align:left;
  border-bottom:1px solid var(--border);
}
.compare-table th:first-child,.compare-table td:first-child{font-weight:600;color:var(--ink);}
.compare-table thead th{
  font-size:.72rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  background:rgba(34,211,238,.06);color:var(--ink-muted);
}
.compare-table thead th:last-child{color:var(--accent);}
.compare-table tbody tr:nth-child(even){background:var(--muted);}
.compare-table td:nth-child(2){color:var(--ink-muted);}
.compare-table td:last-child{color:var(--accent);font-weight:500;}

/* ── CTA section ─────────────────────────────────────────── */
.cta-section{
  background:
    radial-gradient(ellipse at 50% 50%, rgba(34,211,238,.08), transparent 36rem),
    var(--bg);
  text-align:center;
}
.cta-inner{display:flex;flex-direction:column;align-items:center;gap:1.4rem;}
.cta-inner h2{max-width:34rem;color:#fff;}
.cta-inner p{max-width:42rem;color:var(--ink-muted);font-size:1.05rem;}

/* ── Footer ──────────────────────────────────────────────── */
.footer{
  border-top:1px solid var(--border);padding:2rem;
  font-size:.88rem;color:var(--ink-muted);
}
.footer-inner{
  max-width:var(--max);margin:auto;
  display:flex;align-items:center;gap:2rem;flex-wrap:wrap;
}
.footer-brand{display:flex;align-items:center;gap:.5rem;font-weight:700;color:var(--ink);font-size:.95rem;}
.footer-nav{display:flex;gap:1.5rem;flex:1;}
.footer-nav a{color:var(--ink-muted);}
.footer-nav a:hover{color:var(--accent);}
.footer-copy{margin-left:auto;}
