:root{
  --bg:#F8F8FB;
  --bg-2:#FFFFFF;
  --ink:#12131F;
  --muted:#6B6E82;
  --violet:#7B5CFA;
  --cyan:#1FBFA6;
  --magenta:#E844B8;
  --line: rgba(18,19,31,0.10);
  --surface: rgba(18,19,31,0.03);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  /* Space Grotesk / Manrope / IBM Plex Mono are never fetched (no CDN allowed under
     this platform's CSP) - these are intentional first choices that always fall
     through to the system stacks below. */
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,.display{ font-family:'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing:-0.01em; margin:0; }
.mono{ font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing:0.03em; }
a{color:inherit;}
img{max-width:100%;display:block;}
button{font-family:inherit;}
:focus-visible{ outline: 2px solid var(--cyan); outline-offset: 3px; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; position:relative; z-index:2; }

.grad-text{
  background:linear-gradient(100deg, var(--violet) 10%, #B45CFA 45%, var(--cyan) 90%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- AMBIENT BACKGROUND ---------- */
.ambient{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(55% 45% at 15% 6%, rgba(123,92,250,0.14), transparent 60%),
    radial-gradient(50% 40% at 88% 12%, rgba(31,191,166,0.12), transparent 60%),
    radial-gradient(40% 35% at 55% 90%, rgba(232,68,184,0.08), transparent 60%),
    var(--bg);
}
.grain{
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:0.02;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}

/* ---------- NAV ---------- */
header.site{ position:sticky; top:0; z-index:50; }
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 26px; margin-top:16px;
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(16px);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 8px 30px -20px rgba(18,19,31,0.25);
}
.logo{ display:flex; align-items:center; gap:10px; font-family:'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight:700; font-size:19px;}
.logo .orb{
  width:20px;height:20px;border-radius:50%;
  background:conic-gradient(from 180deg, var(--violet), var(--cyan), var(--magenta), var(--violet));
  filter: blur(0.2px);
  box-shadow:0 0 16px rgba(139,107,255,0.7);
}
.navlinks{ display:flex; gap:30px; list-style:none; margin:0; padding:0; font-size:14px; font-weight:500; color:var(--muted);}
.navlinks a{ text-decoration:none; transition:color .15s;}
.navlinks a:hover{ color:var(--ink); }
.navcta{ display:flex; gap:10px; align-items:center; }
@media (max-width:860px){ .navlinks{display:none;} }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 20px; border-radius:10px;
  font-size:14.5px; font-weight:600; text-decoration:none; cursor:pointer;
  border:1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn-primary{
  background:linear-gradient(100deg, var(--violet), var(--cyan));
  color:#fff;
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px rgba(123,92,250,0.45);}
.btn-ghost{ background:#fff; color:var(--ink); border-color:var(--line);}
.btn-ghost:hover{ border-color:rgba(18,19,31,0.35); background:#fff; box-shadow:0 4px 16px -8px rgba(18,19,31,0.2);}
.btn-sm{ padding:9px 15px; font-size:13.5px;}

/* ---------- HERO ---------- */
.hero{ padding:100px 0 30px; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12px; text-transform:uppercase; letter-spacing:.14em;
  color:#12876F; padding:7px 14px; border:1px solid rgba(31,191,166,0.35);
  border-radius:100px; background:rgba(31,191,166,0.08); margin-bottom:28px;
}
.eyebrow .pulse{ width:6px;height:6px;border-radius:50%; background:var(--cyan); box-shadow:0 0 8px var(--cyan); animation:pulse 2s ease-in-out infinite;}
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero h1{
  font-size:clamp(38px, 6vw, 68px); line-height:1.04; font-weight:700;
  max-width:16ch; margin:0 auto;
}
.hero .lede{
  margin:26px auto 0; font-size:18.5px; line-height:1.6; color:var(--muted); max-width:50ch;
}
.hero-ctas{ margin-top:36px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hero-note{ margin-top:20px; font-size:12.5px; color:var(--muted); font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- NEURAL DIAGRAM ---------- */
.diagram-shell{
  margin:70px auto 0; max-width:980px; text-align:left;
  background:#fff;
  border:1px solid var(--line); border-radius:24px; padding:10px;
  box-shadow:0 40px 90px -50px rgba(18,19,31,0.35);
}
.diagram-inner{
  position:relative; border-radius:18px; overflow:hidden;
  background:radial-gradient(120% 100% at 50% 0%, rgba(139,107,255,0.20), transparent 60%), #0E1020;
  padding:40px 30px 34px;
}
.diagram-label{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:11.5px; color:#9195AA;
  display:flex; justify-content:space-between; margin-bottom:26px;
  text-transform:uppercase; letter-spacing:.08em;
}
.diagram{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; }
.source-col{ display:flex; flex-direction:column; gap:10px; }
.source-chip{
  display:flex; align-items:center; gap:10px; padding:11px 14px;
  border:1px solid rgba(255,255,255,0.1); border-radius:11px;
  background:rgba(255,255,255,0.05);
  font-size:13.5px; font-weight:500; color:#F3F4F8;
  opacity:0; animation: fadeSlide .6s ease forwards;
  position:relative;
}
.source-chip .sw{ width:7px;height:7px;border-radius:50%; background:var(--cyan); box-shadow:0 0 6px var(--cyan); flex-shrink:0;}
.source-chip:nth-child(1){animation-delay:.05s;}
.source-chip:nth-child(2){animation-delay:.18s;}
.source-chip:nth-child(3){animation-delay:.31s;}
.source-chip:nth-child(4){animation-delay:.44s;}

.core{ display:flex; flex-direction:column; align-items:center; gap:12px; position:relative; }
.core-node{
  width:112px; height:112px; border-radius:50%;
  background:conic-gradient(from 0deg, var(--violet), var(--cyan), var(--magenta), var(--violet));
  display:flex; align-items:center; justify-content:center; position:relative;
  animation: rotate 10s linear infinite;
}
.core-node span{
  display:flex; align-items:center; justify-content:center;
  width:92px; height:92px; border-radius:50%; background:#0E1020;
  color:#F3F4F8; font-family:'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight:700; font-size:15px;
  animation: counter-rotate 10s linear infinite;
}
@keyframes rotate{ to{ transform:rotate(360deg); } }
@keyframes counter-rotate{ to{ transform:rotate(-360deg); } }
.core-node::before{
  content:''; position:absolute; inset:-14px; border-radius:50%;
  background:radial-gradient(circle, rgba(139,107,255,0.35), transparent 70%);
  filter:blur(6px); z-index:-1;
}
.core-caption{ font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:11px; color:#9195AA; text-align:center; }

.out-card{
  border-radius:16px; padding:20px 20px 18px;
  background:linear-gradient(160deg, rgba(139,107,255,0.14), rgba(51,232,201,0.06));
  border:1px solid rgba(139,107,255,0.28);
  opacity:0; animation: fadeSlide .6s ease forwards .6s;
}
.out-card .out-eyebrow{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:10.5px; color:var(--cyan);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px;
}
.out-row{ display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-top:1px solid rgba(255,255,255,0.08); font-size:13.5px;}
.out-row:first-of-type{border-top:none;}
.out-row .v{ font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color:#fff; font-weight:500;}
.out-row .flag{ color:var(--magenta); font-size:11px; font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;}

@keyframes fadeSlide{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);} }

@media (max-width:760px){
  .diagram{ grid-template-columns:1fr; }
  .core{ flex-direction:row; justify-content:center; padding:10px 0;}
  .hero{ text-align:left; }
  .hero h1, .hero .lede{ margin-left:0; margin-right:0; }
  .hero-ctas{ justify-content:flex-start; }
}

/* ---------- SECTION GENERIC ---------- */
section{ padding:110px 0; }
.section-head{ max-width:640px; margin-bottom:60px; }
.section-eyebrow{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12px; color:var(--cyan);
  text-transform:uppercase; letter-spacing:.12em; margin-bottom:16px; display:block;
}
.section-head h2{ font-size:clamp(28px,3.6vw,40px); font-weight:600; line-height:1.15;}
.section-head p{ margin-top:18px; color:var(--muted); font-size:16.5px; line-height:1.6;}

/* ---------- HOW IT WORKS ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.step{
  background:var(--surface); border:1px solid var(--line); border-radius:18px;
  padding:32px 26px 28px; position:relative; overflow:hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.step:hover{ border-color:rgba(139,107,255,0.4); transform:translateY(-4px); }
.step::before{
  content:''; position:absolute; top:-40%; right:-40%; width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, rgba(139,107,255,0.18), transparent 70%);
}
.step .num{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color:var(--cyan); font-size:12.5px; font-weight:500;
  margin-bottom:22px; display:block; position:relative;
}
.step h3{ font-size:20px; font-weight:600; margin-bottom:10px; position:relative;}
.step p{ color:var(--muted); font-size:15px; line-height:1.6; margin:0; position:relative;}
@media (max-width:820px){ .steps{grid-template-columns:1fr;} }

/* ---------- INDUSTRIES ---------- */
.ind-shell{
  display:grid; grid-template-columns:270px 1fr;
  border:1px solid var(--line); border-radius:20px; overflow:hidden;
  background:var(--surface);
}
.ind-list{ list-style:none; margin:0; padding:12px; border-right:1px solid var(--line); }
.ind-list button{
  width:100%; text-align:left; background:transparent; border:none; border-radius:10px;
  padding:14px 15px; font-size:14.5px; font-weight:500; color:var(--muted); cursor:pointer;
  transition: background .15s ease, color .15s ease;
}
.ind-list button.active{ background:linear-gradient(100deg, rgba(139,107,255,0.18), rgba(51,232,201,0.08)); color:var(--ink); font-weight:600;}
.ind-list button:hover{ color:var(--ink); }
.ind-detail{ padding:44px 46px; }
.ind-detail .tag{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12px; color:var(--cyan);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; display:block;
}
.ind-detail h3{ font-size:24px; font-weight:600; margin-bottom:14px;}
.ind-detail p{ color:var(--muted); font-size:15.5px; line-height:1.65; max-width:52ch;}
@media (max-width:760px){
  .ind-shell{ grid-template-columns:1fr; }
  .ind-list{ display:flex; overflow-x:auto; border-right:none; border-bottom:1px solid var(--line); gap:6px;}
  .ind-list button{ white-space:nowrap; }
  .ind-detail{ padding:30px 24px; }
}

/* ---------- INTEGRATIONS ---------- */
.integrations-band{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:60px 0; }
.int-head{ display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:12px; margin-bottom:32px; }
.int-head h2{ font-size:19px; font-weight:600;}
.int-head span{ font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:12.5px; color:var(--muted);}
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  padding:10px 16px; border:1px solid var(--line); border-radius:100px;
  font-size:13.5px; font-weight:500; color:var(--ink); background:var(--surface);
  transition: border-color .15s ease;
}
.chip:hover{ border-color:rgba(139,107,255,0.5); }

/* ---------- CTA ---------- */
.cta-band{ padding:130px 0; text-align:center; position:relative; }
.cta-band h2{ font-size:clamp(30px,4.4vw,46px); font-weight:700; max-width:18ch; margin:0 auto;}
.cta-band p{ margin:20px auto 0; color:var(--muted); font-size:16.5px; max-width:46ch;}
.cta-band .hero-ctas{ justify-content:center; margin-top:34px;}

footer{ border-top:1px solid var(--line); padding:44px 0; }
footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; font-size:13px; color:var(--muted); }
footer a{ text-decoration:none; transition:color .15s;}
footer a:hover{ color:var(--ink); }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important;}
  .source-chip, .out-card{ opacity:1; }
}
