:root{
  --bg:#F5F8FB; --bg-alt:#EDF3F8; --panel:#FFFFFF;
  --ink:#0B2036; --ink-2:#4A6178; --ink-3:#8CA1B5;
  --line:#DCE6EF;
  --f1:#88BDE8; --f2:#006AA5; --f3:#006AA5; --f4:#004d7a;
  --signal:#00C79A; --signal-ink:#04503E;
  --danger:#B4B2A9;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg); color:var(--ink);
  font-family:'Inter',sans-serif; font-weight:400;
  line-height:1.6; -webkit-font-smoothing:antialiased;
  overflow-x:hidden; opacity:0;
}
body.ready{opacity:1; transition:opacity .4s ease;}
.wrap{max-width:1120px; margin:0 auto; padding:0 32px;}
h1,h2,h3{font-family:'Space Grotesk',sans-serif; font-weight:600; letter-spacing:-0.02em; color:var(--ink);}
.eyebrow{
  font-size:13px; font-weight:600; color:var(--f3);
  background:var(--f1); display:inline-block; padding:5px 14px; border-radius:999px;
  margin-bottom:18px; box-shadow:0 2px 8px rgba(0,106,165,0.18);
}

/* soft depth glow behind hero visual */
.hero-visual{position:relative;}
.hero-visual::before{
  content:""; position:absolute; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(136,189,232,0.35) 0%, rgba(136,189,232,0) 70%);
  z-index:-1; filter:blur(6px);
}

/* ambient floating background particles, continuous */
#particles{position:fixed; inset:0; pointer-events:none; z-index:0; overflow:hidden;}
#particles span{position:absolute; display:block; opacity:0.3;
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
  animation:drift linear infinite;}
@keyframes drift{0%{transform:translateY(0) rotate(0deg);} 100%{transform:translateY(-140vh) rotate(180deg);}}
main, header, section, nav, footer{position:relative; z-index:1;}

/* cursor glow */
#cursor-glow{position:fixed; width:26px; height:26px; border-radius:50%; border:1.5px solid var(--f3);
  pointer-events:none; z-index:998; transform:translate(-50%,-50%);
  transition:width .25s ease, height .25s ease, border-color .25s ease, opacity .25s ease; opacity:0;}
#cursor-glow.show{opacity:1;}
#cursor-glow.big{width:52px; height:52px; border-color:var(--signal); background:rgba(0,199,154,0.08);}

/* nav */
nav.topnav{border-bottom:0.5px solid var(--line); position:sticky; top:0; background:rgba(245,248,251,0.9); backdrop-filter:blur(8px); z-index:50; box-shadow:0 1px 0 rgba(11,32,54,0.02), 0 4px 20px rgba(11,32,54,0.03);}
nav.topnav .wrap{display:flex; align-items:center; justify-content:space-between; height:76px;}
.logo{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:600; font-size:19px; text-decoration:none; color:var(--ink);}
.logo-mark{width:24px; height:24px; filter:drop-shadow(0 2px 4px rgba(0,106,165,0.25));}
.logo-mark svg{width:100%; height:100%;}
.navlinks{display:flex; gap:34px; font-size:15px; color:var(--ink-2);}
.navlinks a{color:var(--ink-2); text-decoration:none; position:relative; padding:4px 0;}
.navlinks a::after{content:""; position:absolute; left:0; bottom:-4px; width:0; height:1.5px; background:var(--ink); transition:width .3s ease;}
.navlinks a:hover::after, .navlinks a.current::after{width:100%;}
.navlinks a.current{color:var(--ink); font-weight:600;}
.btn{
  font-family:'Inter'; font-weight:600; font-size:15px; padding:12px 24px;
  border:1.5px solid var(--ink); color:var(--ink); background:transparent; cursor:pointer;
  border-radius:999px; text-decoration:none; display:inline-block;
  transition:transform .3s cubic-bezier(.2,.8,.3,1), background-color .3s ease, color .3s ease;
}
.btn:hover{transform:translateY(-3px); box-shadow:0 8px 20px rgba(11,32,54,0.12);}
.btn-solid{background:var(--signal); color:var(--signal-ink); border-color:var(--signal); box-shadow:0 4px 14px rgba(0,199,154,0.28);}
.btn-solid:hover{box-shadow:0 10px 24px rgba(0,199,154,0.38);}

/* mobile menu toggle */
.menu-toggle{display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:32px; height:32px; background:none; border:none; cursor:pointer; padding:0; flex-shrink:0;}
.menu-toggle span{display:block; width:22px; height:2px; background:var(--ink); border-radius:2px;
  transition:transform .3s ease, opacity .3s ease;}
.menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle.active span:nth-child(2){opacity:0;}
.menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-menu{
  position:fixed; top:76px; left:0; right:0; background:var(--bg); border-bottom:0.5px solid var(--line);
  display:flex; flex-direction:column; padding:8px 32px 20px; gap:0;
  transform:translateY(-14px); opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease;
  z-index:49; box-shadow:0 16px 30px rgba(11,32,54,0.1);
}
.mobile-menu.open{opacity:1; transform:translateY(0); pointer-events:auto;}
.mobile-menu a{padding:15px 2px; font-size:16px; font-weight:500; color:var(--ink-2); text-decoration:none; border-bottom:0.5px solid var(--line);}
.mobile-menu a.current{color:var(--ink); font-weight:600;}
.mobile-menu a.btn{border-bottom:none; margin-top:14px; text-align:center;}

/* hero (shared shape across pages) */
header.hero{padding:100px 0 70px; overflow:hidden;}
.hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;}
.hero h1{font-size:clamp(34px,4.8vw,58px); line-height:1.06; margin-bottom:22px;}
.hero h1 .accent{color:var(--f3);}
.line{display:block; overflow:hidden;}
.line span{display:inline-block; transform:translateY(110%); will-change:transform;}
.hero p{font-size:17px; color:var(--ink-2); max-width:500px; margin-bottom:30px;}
.hero p strong{color:var(--ink); font-weight:600;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
.hero-visual{display:flex; align-items:center; justify-content:center; perspective:800px;}
.hero-visual .diamond{transform-style:preserve-3d; transition:transform .15s ease-out; filter:drop-shadow(0 18px 30px rgba(0,106,165,0.22));}
header.hero.compact{padding:80px 0 50px;}
header.hero.compact .hero-grid{grid-template-columns:1fr; text-align:left; max-width:760px;}

/* marquee */
.marquee{overflow:hidden; border-top:0.5px solid var(--line); border-bottom:0.5px solid var(--line); background:var(--bg-alt); padding:16px 0;}
.marquee-track{display:flex; width:max-content; animation:marquee 24s linear infinite;}
.marquee-track span{font-size:14px; font-weight:600; color:var(--ink-3); padding:0 28px; white-space:nowrap; display:flex; align-items:center; gap:10px;}
.marquee-track span::after{content:""; width:5px; height:5px; border-radius:50%; background:var(--f2); display:inline-block; margin-left:28px;}
@keyframes marquee{from{transform:translateX(0);} to{transform:translateX(-50%);}}

/* generic section */
section{padding:92px 0;}
section.alt{background:var(--bg-alt); border-top:0.5px solid var(--line); border-bottom:0.5px solid var(--line); position:relative; overflow:hidden;}
section.alt::before{
  content:""; position:absolute; top:-120px; right:-80px; width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(136,189,232,0.25) 0%, rgba(136,189,232,0) 70%); pointer-events:none;
}
.section-head{max-width:660px; margin-bottom:44px;}
.section-head h2{font-size:clamp(26px,3.2vw,34px); margin-bottom:14px; line-height:1.25;}
.section-head p{color:var(--ink-2); font-size:16.5px;}
.reveal{opacity:0; transform:translateY(24px);}

/* stat band (bordered card, not floating numbers) */
.stat-band{
  background:var(--panel); border:0.5px solid var(--line); border-radius:20px;
  padding:44px 20px; display:flex; align-items:center; justify-content:space-around;
  box-shadow:0 1px 3px rgba(11,32,54,0.04), 0 10px 30px rgba(11,32,54,0.04);
  position:relative; overflow:hidden; flex-wrap:wrap; gap:24px;
}
.stat-band::before{
  content:""; position:absolute; top:-140px; left:50%; transform:translateX(-50%); width:420px; height:280px;
  background:radial-gradient(ellipse, rgba(136,189,232,0.22) 0%, rgba(136,189,232,0) 70%); pointer-events:none;
}
.stat-item{display:flex; flex-direction:column; align-items:center; gap:10px; position:relative; z-index:1; min-width:160px; text-align:center;}
.stat-item svg{width:26px; height:26px; color:var(--f3);}
.stat-item .num{font-family:'Space Grotesk'; font-size:38px; font-weight:600; color:var(--f3);}
.stat-item .lbl{font-size:13px; color:var(--ink-3); margin-top:2px;}
.stat-item .proof-title{font-family:'Space Grotesk'; font-size:17px; font-weight:600; color:var(--ink);}
.stat-divider{width:1px; height:64px; background:var(--line); align-self:center;}
@media (max-width:820px){ .stat-divider{display:none;} }

/* tag pills row */
.tagrow{display:flex; flex-wrap:wrap; gap:10px;}
.tag{font-size:13px; font-weight:500; color:var(--f4); background:var(--f1); padding:6px 14px; border-radius:999px; box-shadow:0 2px 6px rgba(0,106,165,0.12);}
.tag.alt{background:var(--panel); border:1px solid var(--line); color:var(--ink-2); box-shadow:none;}

/* status badges */
.status{font-size:11.5px; font-weight:600; padding:4px 11px; border-radius:999px; letter-spacing:.02em;}
.status.live{background:var(--signal); color:var(--signal-ink); box-shadow:0 2px 8px rgba(0,199,154,0.3);}
.status.dev{background:var(--bg-alt); color:var(--f3); border:1px solid var(--f1);}
.status.roadmap{background:var(--bg-alt); color:var(--ink-3); border:1px solid var(--line);}

/* generic card */
.card{background:var(--panel); border:0.5px solid var(--line); border-radius:16px; padding:28px;
  box-shadow:0 1px 3px rgba(11,32,54,0.04), 0 8px 24px rgba(11,32,54,0.03);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;}
.card:hover{transform:translateY(-6px); border-color:var(--f2); box-shadow:0 20px 40px rgba(11,32,54,0.1);}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}

/* numbered capability rows */
.cap-row{display:grid; grid-template-columns:60px 1fr auto; gap:24px; align-items:center;
  padding:28px 0; border-top:0.5px solid var(--line);}
.cap-row:last-child{border-bottom:0.5px solid var(--line);}
.cap-num{font-family:'Space Grotesk'; font-size:22px; font-weight:600; color:var(--ink-3);}
.cap-row h3{font-size:19px; margin-bottom:6px;}
.cap-row p{font-size:14.5px; color:var(--ink-2); max-width:520px;}
.cap-row a{font-size:13.5px; font-weight:600; color:var(--f3); text-decoration:none; white-space:nowrap;}

/* feature list */
.feature-list{list-style:none;}
.feature-list li{display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:13px 0; border-top:0.5px solid var(--line); font-size:14.5px; color:var(--ink-2);}
.feature-list li:last-child{border-bottom:0.5px solid var(--line);}

/* CTA band */
.cta-band{padding:64px 0; text-align:center; background:var(--f4); position:relative; overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);}
.cta-band::before{
  content:""; position:absolute; top:-100px; left:10%; width:320px; height:320px; border-radius:50%;
  background:radial-gradient(circle, rgba(136,189,232,0.18) 0%, rgba(136,189,232,0) 70%); pointer-events:none;
}
.cta-band::after{
  content:""; position:absolute; bottom:-140px; right:5%; width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,199,154,0.14) 0%, rgba(0,199,154,0) 70%); pointer-events:none;
}
.cta-band .wrap{position:relative; z-index:1;}
.cta-band h2{color:#fff; font-size:clamp(24px,3vw,32px); margin-bottom:24px;}
.cta-band .hero-ctas{justify-content:center;}
.cta-band .btn{border-color:rgba(255,255,255,0.5); color:#fff;}
.cta-band .btn:hover{border-color:#fff;}
.cta-band .btn-solid{background:var(--signal); color:var(--signal-ink); border-color:var(--signal);}

/* footer */
footer{padding:56px 0 32px; border-top:0.5px solid var(--line);}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px;}
.footer-brand .logo{margin-bottom:10px;}
.footer-brand p{color:var(--ink-2); font-size:14px; max-width:280px; margin-bottom:14px;}
.footer-brand a{color:var(--f3); font-size:13.5px; text-decoration:none;}
footer h4{font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); margin-bottom:14px;}
footer ul{list-style:none;}
footer li{margin-bottom:9px; font-size:14px;}
footer a{color:var(--ink-2); text-decoration:none;}
footer a:hover{color:var(--ink);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:24px; border-top:0.5px solid var(--line); font-size:13px; color:var(--ink-3); flex-wrap:wrap; gap:10px;}
.footer-bottom a{color:var(--ink-3); text-decoration:none; margin-left:18px;}

@media (max-width:820px){
  .hero-grid{grid-template-columns:1fr;}
  .grid-2, .grid-3, .grid-4{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .navlinks{display:none;}
  .nav-cta{display:none;}
  .menu-toggle{display:flex;}
  header.hero{padding:56px 0 40px;}
  #cursor-glow{display:none;}
  .cap-row{grid-template-columns:1fr;}
}
