:root{
  --bg:#05070c;
  --bg-raised:#0b0f18;
  --blue1:#1e6fff;
  --blue2:#33c9ff;
  --white:#f4f6fa;
  --grey:#8b93a7;
  --line:#1c2230;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
html,body{height:100%;}
body{
  background:var(--bg);
  color:var(--white);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  line-height:1.5;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1080px;margin:0 auto;padding:0 32px;}

/* Header / nav */
header{
  position:sticky;top:0;z-index:10;
  background:rgba(5,7,12,.85);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav{display:flex;align-items:center;justify-content:space-between;padding:18px 32px;max-width:1080px;margin:0 auto;}
.logo{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:1.15rem;letter-spacing:.02em;display:flex;align-items:center;gap:9px;}
.logo .mark{width:22px;height:22px;background:linear-gradient(135deg,var(--blue1),var(--blue2));border-radius:5px;flex:none;}
.logo .d{background:linear-gradient(90deg,var(--blue1),var(--blue2));-webkit-background-clip:text;background-clip:text;color:transparent;}
nav .links{display:flex;gap:34px;font-size:.92rem;color:var(--grey);}
nav .links a:hover,nav .links a.active{color:var(--white);}
.cta-btn{
  background:linear-gradient(90deg,var(--blue1),var(--blue2));
  color:#04101f;font-weight:600;font-size:.9rem;
  padding:10px 20px;border-radius:8px;display:inline-block;
}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:6px;width:38px;height:38px;color:var(--white);font-size:1.1rem;}
@media (max-width:720px){
  nav .links{display:none;}
  nav .links.open{display:flex;flex-direction:column;position:absolute;top:64px;left:0;right:0;background:var(--bg);padding:20px 32px;border-bottom:1px solid var(--line);gap:16px;}
  .nav-toggle{display:block;}
}

/* Hero */
.hero{padding:110px 0 90px;text-align:center;position:relative;}
.hero::before{
  content:"";position:absolute;top:-120px;left:50%;transform:translateX(-50%);
  width:640px;height:420px;background:radial-gradient(ellipse at center,rgba(30,111,255,.22),transparent 70%);
  pointer-events:none;z-index:0;
}
.hero-inner{position:relative;z-index:1;}
.eyebrow{color:var(--grey);font-size:.95rem;letter-spacing:.06em;margin-bottom:22px;}
.eyebrow b{color:var(--white);font-weight:500;}
h1{
  font-family:'Space Grotesk',sans-serif;font-weight:700;
  font-size:clamp(2.6rem,6vw,4.6rem);line-height:1.04;letter-spacing:-.01em;
  max-width:820px;margin:0 auto;
}
h1 .grad,.grad{background:linear-gradient(90deg,var(--blue1),var(--blue2));-webkit-background-clip:text;background-clip:text;color:transparent;}
.hero p{color:var(--grey);font-size:1.15rem;max-width:560px;margin:26px auto 40px;}
.hero-ctas{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.btn-outline{border:1px solid var(--line);padding:12px 24px;border-radius:8px;font-weight:500;font-size:.95rem;display:inline-block;}
.btn-outline:hover{border-color:var(--blue2);}
.btn-solid{background:linear-gradient(90deg,var(--blue1),var(--blue2));color:#04101f;font-weight:600;padding:12px 24px;border-radius:8px;font-size:.95rem;display:inline-block;border:none;font-family:inherit;cursor:pointer;}

/* Sections */
section{padding:80px 0;border-top:1px solid var(--line);}
.page-header{padding:70px 0 20px;border-top:none;}
.section-head{max-width:560px;margin-bottom:56px;}
.section-head .tag{color:var(--blue2);font-size:.9rem;font-weight:500;margin-bottom:10px;}
.section-head h2{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:2rem;letter-spacing:-.01em;}
.section-head p{color:var(--grey);margin-top:14px;font-size:1.02rem;}

/* Services grid */
.services{display:grid;grid-template-columns:repeat(5,1fr);}
.service{padding:0 22px;border-left:1px solid var(--line);}
.service:first-child{border-left:none;padding-left:0;}
.service .icon{width:30px;height:30px;stroke:var(--blue2);fill:none;stroke-width:1.6;margin-bottom:20px;}
.service h3{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.02rem;margin-bottom:10px;}
.service p{color:var(--grey);font-size:.92rem;}
@media (max-width:900px){
  .services{grid-template-columns:1fr 1fr;row-gap:40px;}
  .service{border-left:1px solid var(--line);padding-left:18px;}
  .service:nth-child(odd){padding-left:0;border-left:none;}
}
@media (max-width:520px){
  .services{grid-template-columns:1fr;}
  .service{border-left:none;padding-left:0;}
}

/* Services detail (services page) */
.service-detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;padding:50px 0;border-top:1px solid var(--line);}
.service-detail:first-of-type{border-top:none;}
.service-detail .icon{width:34px;height:34px;stroke:var(--blue2);fill:none;stroke-width:1.6;margin-bottom:18px;}
.service-detail h3{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:1.4rem;margin-bottom:14px;}
.service-detail p{color:var(--grey);}
.service-detail ul{color:var(--grey);margin-top:16px;padding-left:18px;}
.service-detail li{margin-bottom:6px;}
@media (max-width:720px){.service-detail{grid-template-columns:1fr;gap:16px;}}

/* About */
.about{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
.about h2{font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:2rem;letter-spacing:-.01em;margin-bottom:20px;}
.about p{color:var(--grey);font-size:1.02rem;margin-bottom:16px;}
.founders{background:var(--bg-raised);border:1px solid var(--line);border-radius:12px;padding:28px;}
.founder-row{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);}
.founder-row:last-child{border-bottom:none;}
.founder-row .letter{font-family:'Space Grotesk',sans-serif;font-weight:700;background:linear-gradient(90deg,var(--blue1),var(--blue2));-webkit-background-clip:text;background-clip:text;color:transparent;font-size:1.3rem;}
.founder-row .name{font-weight:500;}
.founder-name-origin{color:var(--grey);font-size:.88rem;margin-top:20px;}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;}
.contact-info a{color:var(--blue2);}
.contact-info p{color:var(--grey);margin-bottom:20px;}
.contact-info .label{font-size:.85rem;color:var(--grey);margin-bottom:4px;}
.contact-info .value{font-family:'Space Grotesk',sans-serif;font-size:1.1rem;margin-bottom:24px;}
form{display:flex;flex-direction:column;gap:16px;}
label{font-size:.85rem;color:var(--grey);margin-bottom:6px;display:block;}
input,textarea{
  width:100%;background:var(--bg-raised);border:1px solid var(--line);border-radius:8px;
  padding:12px 14px;color:var(--white);font-family:inherit;font-size:.95rem;
}
input:focus,textarea:focus{outline:2px solid var(--blue2);outline-offset:1px;border-color:transparent;}
textarea{resize:vertical;min-height:120px;}
.form-note{font-size:.85rem;color:var(--grey);margin-top:4px;}
@media (max-width:720px){.contact-grid,.about{grid-template-columns:1fr;}}

/* Footer */
footer{padding:50px 0;border-top:1px solid var(--line);}
.foot-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;}
footer .logo{opacity:.9;}
footer .foot-links{display:flex;gap:26px;color:var(--grey);font-size:.9rem;}
footer .foot-links a:hover{color:var(--white);}
footer .copy{color:var(--grey);font-size:.82rem;margin-top:26px;}

@media (prefers-reduced-motion:no-preference){
  .hero-inner{animation:rise .7s ease both;}
  @keyframes rise{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);}}
}
a:focus-visible,button:focus-visible{outline:2px solid var(--blue2);outline-offset:3px;}
