:root{
  --bg:#080808;
  --bg-2:#0E0E0E;
  --card:#121212;
  --border:#242424;
  --border-soft:#1a1a1a;
  --text:#F5F5F5;
  --text-2:#9A9A9A;
  --text-3:#666666;
  --accent:#B8FF3D;
  --ease:cubic-bezier(.16,1,.3,1);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none;}
::selection{background:var(--accent);color:#080808;}

.custom-cursor{display:none;}
body.has-custom-cursor{cursor:none;}
body.has-custom-cursor a,
body.has-custom-cursor button{cursor:none;}
.custom-cursor{
  display:block;
  position:fixed;
  top:0;left:0;
  width:24px;height:24px;
  margin:-12px 0 0 -12px;
  z-index:1000;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
}
.custom-cursor.is-visible{opacity:1;}
.cursor-core{
  position:absolute;
  top:50%;left:50%;
  width:4px;height:4px;
  margin:-2px 0 0 -2px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 8px rgba(184,255,61,.65);
}
.cursor-orbit{
  position:absolute;
  inset:2px;
  border:1px solid rgba(184,255,61,.8);
  border-radius:50%;
  opacity:.7;
  transition:inset .25s var(--ease), background .25s ease, opacity .25s ease;
}
.cursor-bracket{
  display:none;
}
.custom-cursor.is-hovering .cursor-orbit{inset:0;border-radius:50%;background:rgba(184,255,61,.08);opacity:1;}

@media (prefers-reduced-motion: reduce){
  .custom-cursor{transition:none;}
  .cursor-orbit,.cursor-bracket{transition:none;}
}

.mono{font-family:'Space Mono',monospace;}

.wrap{
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
}

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:2px;
}

/* ---------- Nav ---------- */
header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:100;
  padding:22px 0;
  transition:background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom:1px solid transparent;
}
header.scrolled{
  background:rgba(8,8,8,.78);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--border-soft);
  padding:16px 0;
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-weight:800;
  font-size:16px;
  letter-spacing:0.02em;
}
.logo span{color:var(--accent);}
nav.links{
  display:flex;
  gap:40px;
  align-items:center;
}
nav.links a{
  font-size:14px;
  color:var(--text-2);
  position:relative;
  transition:color .25s var(--ease);
}
nav.links a:hover{color:var(--text);}
nav.links a.active{color:var(--text);}
nav.links a.active::after{
  content:'';
  position:absolute;
  bottom:-6px;left:0;
  width:100%;height:1px;
  background:var(--accent);
}
.nav-cta{
  font-size:14px;
  font-weight:600;
  padding:10px 18px;
  border:1px solid var(--border);
  border-radius:100px;
  display:flex;
  align-items:center;
  gap:6px;
  transition:border-color .25s var(--ease), background .25s var(--ease);
  white-space:nowrap;
}
.nav-cta:hover{border-color:var(--accent); background:rgba(184,255,61,.06);}
.hamburger{display:none;}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:120px;
  padding-bottom:80px;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.55;
}
.hero-bg canvas{display:block;width:100%;height:100%;}
.eyebrow{
  font-family:'Space Mono',monospace;
  font-size:12px;
  letter-spacing:.14em;
  color:var(--text-3);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:28px;
}
.eyebrow::before{
  content:'';
  width:6px;height:6px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 8px var(--accent);
}
.hero h1{
  font-size:clamp(48px,8vw,108px);
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:0.98;
  max-width:1000px;
}
.hero h1 em{
  font-style:normal;
  color:var(--text-3);
}
.hero-sub{
  margin-top:32px;
  font-size:19px;
  color:var(--text-2);
  max-width:480px;
  line-height:1.6;
}
.hero-actions{
  margin-top:44px;
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
}
.btn-primary{
  background:var(--text);
  color:#080808;
  font-weight:600;
  font-size:15px;
  padding:15px 26px;
  border-radius:100px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:transform .3s var(--ease), background .3s var(--ease);
  border:1px solid var(--text);
}
.btn-primary:hover{background:var(--accent); border-color:var(--accent); transform:translateY(-2px);}
.btn-primary svg{transition:transform .3s var(--ease);}
.btn-primary:hover svg{transform:translateX(3px);}
.btn-secondary{
  color:var(--text-2);
  font-size:15px;
  font-weight:500;
  padding:15px 4px;
  border-bottom:1px solid var(--border);
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
.btn-secondary:hover{color:var(--text); border-color:var(--text-2);}

.hero-meta{
  position:absolute;
  right:32px;
  bottom:56px;
  display:flex;
  gap:56px;
}
.hero-meta .stat{font-family:'Space Mono',monospace;}
.hero-meta .stat .num{font-size:22px;font-weight:700;color:var(--text);}
.hero-meta .stat .label{font-size:11px;color:var(--text-3);margin-top:4px;letter-spacing:.06em;}

/* ---------- Section shared ---------- */
section{
  padding:150px 0;
  border-top:1px solid var(--border-soft);
  position:relative;
}
.section-label{
  font-family:'Space Mono',monospace;
  font-size:12px;
  letter-spacing:.12em;
  color:var(--text-3);
  margin-bottom:22px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:80px;
}
.section-head h2{
  font-size:clamp(32px,4vw,52px);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.1;
  max-width:640px;
}
.section-head p{
  color:var(--text-2);
  font-size:16px;
  max-width:320px;
  line-height:1.6;
  padding-bottom:6px;
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in{opacity:1;transform:translateY(0);}

/* ---------- Intro ---------- */
.intro-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap:50px;
  align-items:center;
}
.intro-grid h2{
  font-size:clamp(28px,3.6vw,44px);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.2;
  margin:0;
}
.intro-grid .body{
  color:var(--text-2);
  font-size:17px;
  line-height:1.7;
  max-width:440px;
  margin:0;
  justify-self:end;
}
.divider{
  height:1px;
  background:var(--border);
  margin-top:70px;
}

/* ---------- Proof ---------- */
.proof-section{padding:0 0 110px;}
.proof-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.proof-grid>div{padding:26px 24px 24px 0;border-right:1px solid var(--border);}
.proof-grid>div:not(:first-child){padding-left:24px;}
.proof-grid>div:last-child{border-right:0;}
.proof-grid strong{display:block;font-size:32px;font-weight:700;color:var(--accent);}
.proof-grid span{display:block;margin-top:8px;color:var(--text-3);font:11px 'Space Mono',monospace;letter-spacing:.08em;}

/* ---------- Services ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--border-soft);
  border:1px solid var(--border-soft);
}
.service-card{
  background:var(--bg);
  padding:44px 34px;
  min-height:280px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:background .35s var(--ease);
  cursor:default;
}
.service-card:hover{background:var(--card);}
.service-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}
.service-num{
  font-family:'Space Mono',monospace;
  font-size:12px;
  color:var(--text-3);
  transition:color .3s var(--ease);
}
.service-card:hover .service-num{color:var(--accent);}
.service-arrow{
  width:32px;height:32px;
  border-radius:50%;
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.service-card:hover .service-arrow{
  border-color:var(--accent);
  background:var(--accent);
  transform:rotate(45deg);
}
.service-arrow svg{stroke:var(--text-2); transition:stroke .3s var(--ease);}
.service-card:hover .service-arrow svg{stroke:#080808;}
.service-card h3{
  font-size:21px;
  font-weight:600;
  margin-top:36px;
  letter-spacing:-0.01em;
}
.service-card p{
  color:var(--text-2);
  font-size:14.5px;
  line-height:1.6;
  margin-top:12px;
  max-width:280px;
}

/* ---------- Products ---------- */
.products-list{
  display:flex;
  flex-direction:column;
}
.product-row{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  padding:56px 0;
  border-top:1px solid var(--border-soft);
  align-items:center;
}
.product-row:last-child{border-bottom:1px solid var(--border-soft);}
.product-info .status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-family:'Space Mono',monospace;
  font-size:11px;
  color:var(--text-3);
  letter-spacing:.06em;
  padding:5px 11px;
  border:1px solid var(--border);
  border-radius:100px;
  margin-bottom:24px;
}
.status.live::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent);}
.status.dev::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--text-3);}
.product-info h3{
  font-size:30px;
  font-weight:700;
  letter-spacing:-0.02em;
}
.product-info .cat{
  color:var(--text-3);
  font-size:13px;
  font-family:'Space Mono',monospace;
  margin-top:10px;
}
.product-info p.desc{
  color:var(--text-2);
  font-size:16px;
  line-height:1.65;
  max-width:400px;
  margin-top:18px;
}
.product-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:28px;
  font-size:14.5px;
  font-weight:600;
  color:var(--text);
  border-bottom:1px solid var(--border);
  padding-bottom:3px;
  transition:border-color .3s var(--ease), color .3s var(--ease), gap .3s var(--ease);
}
.product-link:hover{border-color:var(--accent); color:var(--accent); gap:12px;}
.product-visual{
  aspect-ratio:4/3;
  background:var(--bg-2);
  border:1px solid var(--border);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
}
.product-visual svg{width:100%;height:100%;}

/* ---------- Work ---------- */
.work-list{display:flex;flex-direction:column;}
.work-card{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:64px;
  padding:60px 0;
  border-top:1px solid var(--border-soft);
  align-items:center;
}
.work-card:last-child{border-bottom:1px solid var(--border-soft);}
.work-card:nth-child(even){direction:rtl;}
.work-card:nth-child(even) > *{direction:ltr;}
.work-visual{
  aspect-ratio:16/11;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  position:relative;
}
.work-visual svg{width:100%;height:100%;}
.work-info .index{
  font-family:'Space Mono',monospace;
  font-size:12px;
  color:var(--text-3);
  margin-bottom:18px;
}
.work-info h3{
  font-size:28px;
  font-weight:700;
  letter-spacing:-0.02em;
}
.work-info .cat{
  color:var(--text-3);
  font-size:13px;
  margin-top:8px;
}
.work-info p.desc{
  color:var(--text-2);
  font-size:16px;
  line-height:1.65;
  max-width:400px;
  margin-top:18px;
}
.work-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:26px;
  font-size:14.5px;
  font-weight:600;
  border-bottom:1px solid var(--border);
  padding-bottom:3px;
  transition:border-color .3s var(--ease), color .3s var(--ease);
}
.work-link:hover{border-color:var(--accent); color:var(--accent);}

/* ---------- Technology ---------- */
.tech-wrap{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:60px;
}
.tech-copy h2{
  font-size:clamp(28px,3.6vw,42px);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.2;
  max-width:420px;
}
.tech-copy p{
  color:var(--text-2);
  margin-top:20px;
  font-size:16px;
  line-height:1.65;
  max-width:380px;
}
.tech-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
}
.tech-item{
  padding:20px 0;
  border-bottom:1px solid var(--border-soft);
  font-family:'Space Mono',monospace;
  font-size:14px;
  color:var(--text-2);
  transition:color .25s var(--ease), padding-left .25s var(--ease);
}
.tech-item:hover{color:var(--text); padding-left:6px;}

/* ---------- Process ---------- */
.process-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  position:relative;
}
.process-list::before{
  content:'';
  position:absolute;
  top:14px;left:0;right:0;
  height:1px;
  background:var(--border);
}
.process-step{
  padding-right:30px;
  position:relative;
}
.process-dot{
  width:9px;height:9px;
  border-radius:50%;
  background:var(--bg);
  border:1px solid var(--text-3);
  position:relative;
  z-index:2;
  margin-bottom:30px;
  transition:background .3s var(--ease), border-color .3s var(--ease);
}
.process-step:hover .process-dot{background:var(--accent); border-color:var(--accent);}
.process-step .step-num{
  font-family:'Space Mono',monospace;
  font-size:12px;
  color:var(--text-3);
  margin-bottom:10px;
}
.process-step h3{font-size:20px;font-weight:600;}
.process-step p{color:var(--text-2); font-size:14.5px; margin-top:10px; line-height:1.6;}

/* ---------- Why ---------- */
.why-wrap{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:60px;
}
.why-copy h2{
  font-size:clamp(30px,3.8vw,46px);
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.1;
}
.why-copy p{
  color:var(--text-2);
  font-size:16px;
  line-height:1.7;
  margin-top:24px;
  max-width:400px;
}
.principles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--border-soft);
  border:1px solid var(--border-soft);
}
.principle{
  background:var(--bg);
  padding:34px;
}
.principle h4{
  font-size:17px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:10px;
}
.principle h4::before{
  content:'';
  width:5px;height:5px;
  border-radius:50%;
  background:var(--accent);
}
.principle p{color:var(--text-2); font-size:14.5px; margin-top:12px; line-height:1.6;}

/* ---------- CTA ---------- */
.cta-section{
  text-align:center;
  padding:180px 0;
  background:radial-gradient(ellipse at 50% 0%, rgba(184,255,61,.05), transparent 60%);
}
.cta-section h2{
  font-size:clamp(40px,7vw,84px);
  font-weight:800;
  letter-spacing:-0.03em;
  line-height:1.02;
}
.cta-section h2 span{color:var(--text-3);}
.cta-section .sub{
  color:var(--text-2);
  font-size:17px;
  max-width:440px;
  margin:26px auto 0;
  line-height:1.6;
}
.cta-section .btn-primary{margin-top:44px;}
.cta-email{
  margin-top:26px;
  color:var(--text-3);
  font-size:14px;
  font-family:'Space Mono',monospace;
}
.contact-form{max-width:700px;margin:46px auto 0;text-align:left;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.contact-form label{display:block;color:var(--text-2);font:11px 'Space Mono',monospace;letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px;}
.contact-form input,.contact-form select,.contact-form textarea{display:block;width:100%;margin-top:9px;padding:13px 14px;border:1px solid var(--border);border-radius:2px;background:rgba(18,18,18,.72);color:var(--text);font:15px 'Inter',sans-serif;outline:none;transition:border-color .25s var(--ease),background .25s var(--ease);}
.contact-form textarea{resize:vertical;min-height:120px;}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--accent);background:var(--card);}
.contact-form select:invalid{color:var(--text-3);}
.contact-form .btn-primary{margin-top:4px;border:0;cursor:pointer;}
.form-status{min-height:22px;margin-top:16px;color:var(--accent);font-size:13px;}
.business-details{display:flex;justify-content:center;flex-wrap:wrap;gap:24px;margin-top:30px;color:var(--text-3);font:11px 'Space Mono',monospace;letter-spacing:.06em;}

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--border-soft);
  padding:70px 0 36px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.2fr 0.6fr 0.6fr 0.6fr;
  gap:40px;
  padding-bottom:60px;
}
.footer-logo{font-weight:800; font-size:16px;}
.footer-tag{color:var(--text-2); font-size:15px; margin-top:16px; max-width:260px; line-height:1.6;}
.footer-col h5{
  font-family:'Space Mono',monospace;
  font-size:11px;
  letter-spacing:.1em;
  color:var(--text-3);
  margin-bottom:18px;
}
.footer-col a{
  display:block;
  color:var(--text-2);
  font-size:14.5px;
  margin-bottom:12px;
  transition:color .25s var(--ease);
}
.footer-col a:hover{color:var(--accent);}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:28px;
  border-top:1px solid var(--border-soft);
  color:var(--text-3);
  font-size:13px;
}
.footer-bottom a{color:var(--text-3);transition:color .25s var(--ease);}
.footer-bottom a:hover{color:var(--accent);}

/* ---------- Legal ---------- */
.legal-page{padding:120px 0 100px;min-height:100vh;}
.legal-page .section-label{margin-top:100px;}
.legal-page h1{font-size:clamp(42px,7vw,80px);line-height:1;margin-top:18px;}
.legal-page h2{font-size:24px;margin:54px 0 12px;}
.legal-page p{max-width:680px;color:var(--text-2);font-size:16px;line-height:1.75;}
.legal-page a:not(.logo):not(.btn-secondary){color:var(--accent);}
.legal-updated{margin-top:16px;font-family:'Space Mono',monospace;font-size:12px !important;color:var(--text-3) !important;}
.legal-page .btn-secondary{display:inline-block;margin-top:50px;}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  nav.links, .hero-meta{display:none;}
  .hamburger{
    display:flex;
    width:36px;height:36px;
    align-items:center;justify-content:center;
    border:1px solid var(--border);
    border-radius:8px;
    background:none;
    color:var(--text);
  }
  .services-grid{grid-template-columns:1fr;}
  .intro-grid{grid-template-columns:1fr; gap:30px;}
  .section-head{flex-direction:column; align-items:flex-start; gap:20px; margin-bottom:56px;}
  .product-row{grid-template-columns:1fr; gap:30px;}
  .work-card{grid-template-columns:1fr !important; direction:ltr !important; gap:26px; padding:44px 0;}
  .tech-wrap, .why-wrap{grid-template-columns:1fr; gap:36px;}
  .tech-list{grid-template-columns:repeat(2,1fr);}
  .process-list{grid-template-columns:1fr 1fr; row-gap:44px;}
  .process-list::before{display:none;}
  .principles{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr; gap:36px;}
  .proof-grid{grid-template-columns:repeat(2,1fr);}
  .proof-grid>div:nth-child(2){border-right:0;}
  .proof-grid>div:nth-child(3){padding-left:0;border-top:1px solid var(--border);}
  .proof-grid>div:nth-child(4){border-top:1px solid var(--border);}
  section{padding:96px 0;}
  .cta-section{padding:120px 0;}
}
@media (max-width:560px){
  .wrap{padding:0 20px;}
  .hero{padding-top:100px;}
  .hero h1{font-size:clamp(38px,12vw,56px);}
  .process-list{grid-template-columns:1fr;}
  .hero-actions{flex-direction:column; align-items:flex-start; gap:16px;}
  .form-row{grid-template-columns:1fr;gap:0;}
  .business-details{justify-content:flex-start;flex-direction:column;gap:10px;}
  .proof-section{padding-bottom:80px;}
  .proof-grid>div{padding-right:14px;}
  .proof-grid>div:not(:first-child){padding-left:14px;}
  .proof-grid>div:nth-child(3){padding-left:0;}
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
  .reveal{opacity:1; transform:none;}
}
