:root {
  --bg: #0b0d12;
  --panel: #11151e;
  --panel2: #151b27;
  --line: #252d3c;
  --text: #edf2ff;
  --muted: #9ba8bd;
  --lime: #c8ff4d;
  --cyan: #5de4ff;
  --purple: #a78bfa;
  --mono: "DM Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body:before { content:""; position:fixed; inset:0; pointer-events:none; opacity:.16; z-index:-1; background-image:linear-gradient(rgba(93,228,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(93,228,255,.08) 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(to bottom,black,transparent 85%); }
a { color: inherit; text-decoration: none; }
.wrap { width:min(var(--max), calc(100% - 44px)); margin:auto; }
.mono { font-family:var(--mono); }
.topbar { position:sticky; top:0; z-index:20; backdrop-filter:blur(18px); background:rgba(11,13,18,.82); border-bottom:1px solid rgba(93,228,255,.12); }
.nav { height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:700; letter-spacing:-.04em; font-size:19px; }
.brand-mark { display:grid; place-items:center; width:37px; height:37px; border:1px solid var(--lime); color:var(--lime); font-family:var(--mono); font-size:15px; box-shadow:4px 4px 0 rgba(200,255,77,.14); }
.brand span:last-child em { color:var(--lime); font-style:normal; }
.nav-links { display:flex; align-items:center; gap:28px; font-size:13px; color:var(--muted); }
.nav-links a:hover { color:var(--lime); }
.nav-cta { padding:10px 15px; border:1px solid var(--line); color:var(--text)!important; font-family:var(--mono); font-size:11px; }
.nav-cta:hover { border-color:var(--lime); }
.hero { min-height:690px; padding:94px 0 78px; display:grid; grid-template-columns:1.12fr .88fr; align-items:center; gap:52px; }
.hero-copy > * { animation: intro-rise .7s both; }
.hero-copy > :nth-child(2) { animation-delay:.08s; }
.hero-copy > :nth-child(3) { animation-delay:.16s; }
.hero-copy > :nth-child(4) { animation-delay:.24s; }
.hero-copy > :nth-child(5) { animation-delay:.32s; }
.eyebrow { color:var(--lime); font:12px var(--mono); letter-spacing:.09em; text-transform:uppercase; display:flex; align-items:center; gap:11px; }
.pulse { width:7px; height:7px; background:var(--lime); border-radius:50%; box-shadow:0 0 16px var(--lime); animation:pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity:.35; box-shadow:0 0 3px var(--lime); } }
@keyframes intro-rise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
h1 { font-size:clamp(48px,6.2vw,82px); line-height:.99; letter-spacing:-.075em; margin:26px 0 25px; max-width:720px; }
h1 .outline { color:transparent; -webkit-text-stroke:1px var(--cyan); }
.hero p { color:var(--muted); max-width:610px; font-size:17px; line-height:1.8; margin:0; }
.hero p strong { color:var(--text); font-weight:600; }
.hero-actions { display:flex; gap:13px; flex-wrap:wrap; margin-top:34px; }
.btn { display:inline-flex; align-items:center; gap:12px; padding:14px 18px; font-size:13px; font-weight:600; border:1px solid var(--line); transition:.2s ease; }
.btn-primary { background:var(--lime); color:#10140a; border-color:var(--lime); }
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 10px 32px rgba(200,255,77,.16); }
.btn-secondary:hover { border-color:var(--cyan); color:var(--cyan); }
.hero-meta { display:flex; gap:25px; flex-wrap:wrap; margin-top:43px; color:var(--muted); font:11px var(--mono); }
.hero-meta span:before { content:"↳"; color:var(--cyan); margin-right:8px; }
.terminal { border:1px solid #303b4e; background:rgba(17,21,30,.92); box-shadow:0 28px 90px rgba(0,0,0,.3); transform:rotate(1.2deg); position:relative; animation: terminal-float 6s ease-in-out 1s infinite; }
@keyframes terminal-float { 50% { transform:translateY(-7px) rotate(.5deg); } }
.terminal:after { content:""; position:absolute; inset:12px -12px -12px 12px; border:1px solid rgba(200,255,77,.22); z-index:-1; }
.terminal-head { height:47px; display:flex; align-items:center; padding:0 16px; border-bottom:1px solid var(--line); gap:7px; color:var(--muted); font:11px var(--mono); }
.dot { width:8px; height:8px; border-radius:50%; background:#394357; }
.terminal-head span:last-child { margin-left:auto; }
.terminal-body { padding:24px 23px 27px; font:12px/2 var(--mono); color:#c4cee0; }
.prompt { color:var(--lime); } .cyan { color:var(--cyan); } .purple { color:var(--purple); } .dim { color:#718099; }
.code-line { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.terminal-status { display:flex; justify-content:space-between; margin-top:23px; padding-top:15px; border-top:1px solid var(--line); color:var(--muted); font-size:10px; }
.section { padding:100px 0; border-top:1px solid rgba(93,228,255,.1); }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:42px; }
.section-index { color:var(--lime); font:11px var(--mono); margin-bottom:12px; }
h2 { margin:0; font-size:clamp(34px,4vw,52px); line-height:1.05; letter-spacing:-.06em; }
.section-head p { max-width:420px; margin:0; color:var(--muted); font-size:14px; }
.stack-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.stack-card { min-height:155px; padding:22px; background:var(--panel); border:1px solid var(--line); transition:transform .3s ease,border-color .3s ease,background .3s ease,opacity .55s ease; position:relative; overflow:hidden; }
.stack-card:before { content:""; position:absolute; width:70px; height:70px; right:-28px; bottom:-28px; border:1px solid rgba(93,228,255,.2); transform:rotate(45deg); transition:transform .35s ease,border-color .35s ease; }
.stack-card:hover { transform:translateY(-5px); border-color:var(--cyan); background:var(--panel2); }
.stack-card:hover:before { transform:translate(-5px,-5px) rotate(45deg); border-color:rgba(200,255,77,.55); }
.stack-icon { color:var(--cyan); font:20px var(--mono); margin-bottom:18px; }
.stack-card h3 { margin:0 0 6px; font-size:16px; }
.stack-card p { margin:0; color:var(--muted); font-size:12px; }
.stack-card .tag { display:inline-block; margin-top:15px; color:var(--lime); font:10px var(--mono); }
.feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.feature { background:linear-gradient(135deg,var(--panel),rgba(17,21,30,.45)); border:1px solid var(--line); padding:29px; min-height:235px; transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease; }
.feature:hover { transform:translateY(-4px); border-color:rgba(93,228,255,.55); box-shadow:0 14px 38px rgba(0,0,0,.18); }
.feature-top { display:flex; justify-content:space-between; color:var(--cyan); font:11px var(--mono); }
.feature h3 { font-size:23px; letter-spacing:-.04em; margin:28px 0 10px; }
.feature p { color:var(--muted); margin:0; max-width:470px; font-size:14px; }
.feature .mini-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:22px; }
.mini-tags span { font:10px var(--mono); padding:5px 8px; border:1px solid #30394a; color:#b6c2d6; transition:border-color .25s ease,color .25s ease; }
.feature:hover .mini-tags span { border-color:#46566d; color:var(--text); }
.manifesto { background:var(--lime); color:#10140a; padding:64px; display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; align-items:center; }
.manifesto .mono { font-size:11px; }
.manifesto h2 { font-size:clamp(34px,4.4vw,58px); }
.manifesto p { margin:0; font-size:16px; line-height:1.8; }
.workflow { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); }
.step { padding:23px; min-height:185px; border-right:1px solid var(--line); transition:background .3s ease,transform .3s ease; }
.step:hover { background:var(--panel); transform:translateY(-3px); }
.step:last-child { border-right:0; }
.step-num { color:var(--lime); font:12px var(--mono); }
.step h3 { font-size:17px; margin:24px 0 9px; }
.step p { color:var(--muted); font-size:12px; margin:0; }
.contact { padding:100px 0 110px; }
.contact-box { border:1px solid var(--line); padding:clamp(28px,5vw,60px); display:flex; justify-content:space-between; align-items:center; gap:35px; background:radial-gradient(ellipse at 100% 0%,rgba(93,228,255,.08),transparent 50%),var(--panel); }
.contact h2 { max-width:620px; }
.contact p { color:var(--muted); max-width:560px; }
.contact-links { display:flex; flex-direction:column; gap:12px; flex-shrink:0; }
.contact-links a { font:12px var(--mono); padding:13px 16px; border:1px solid var(--line); transition:transform .2s ease,border-color .2s ease,color .2s ease; }
.contact-links a:hover { color:var(--lime); border-color:var(--lime); transform:translateX(3px); }
footer { border-top:1px solid var(--line); padding:27px 0; color:var(--muted); font:11px var(--mono); }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.footer-links { display:flex; gap:22px; }
.footer-links a { color:var(--text); }
.footer-links a:hover { color:var(--lime); }
.reveal { opacity:0; transform:translateY(22px) scale(.99); transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity:1; transform:translateY(0) scale(1); }
.stack-card:nth-child(4n + 2),.feature:nth-child(2),.step:nth-child(2) { transition-delay:.08s; }
.stack-card:nth-child(4n + 3),.feature:nth-child(3),.step:nth-child(3) { transition-delay:.16s; }
.stack-card:nth-child(4n + 4),.feature:nth-child(4),.step:nth-child(4) { transition-delay:.24s; }
.workflow.reveal .step { opacity:0; transform:translateY(12px); transition:opacity .45s ease,transform .45s ease; }
.workflow.reveal.visible .step { opacity:1; transform:translateY(0); }
.workflow.reveal.visible .step:nth-child(2) { transition-delay:.08s; }
.workflow.reveal.visible .step:nth-child(3) { transition-delay:.16s; }
.workflow.reveal.visible .step:nth-child(4) { transition-delay:.24s; }

@media (max-width:900px) {
  .hero { grid-template-columns:1fr; gap:50px; padding-top:75px; }
  .terminal { max-width:650px; width:100%; }
  .stack-grid { grid-template-columns:repeat(2,1fr); }
  .workflow { grid-template-columns:repeat(2,1fr); }
  .step:nth-child(2) { border-right:0; }
  .step:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .manifesto { grid-template-columns:1fr; padding:38px; }
  .contact-box { align-items:flex-start; flex-direction:column; }
  .contact-links { flex-direction:row; flex-wrap:wrap; }
}
@media (max-width:600px) {
  .wrap { width:min(var(--max), calc(100% - 30px)); }
  .nav { height:66px; } .nav-links a:not(.nav-cta) { display:none; }
  .hero { min-height:auto; padding:65px 0 70px; } h1 { font-size:48px; }
  .hero p { font-size:15px; } .section { padding:72px 0; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .stack-grid,.feature-grid { grid-template-columns:1fr; }
  .stack-card { min-height:130px; }
  .stack-card,.feature,.step { transition-delay:0s!important; }
  .workflow { grid-template-columns:1fr; }
  .step,.step:nth-child(2) { border-right:0; border-bottom:1px solid var(--line); }
  .step:last-child { border-bottom:0; }
  .manifesto { padding:28px; }
  .contact-links { flex-direction:column; width:100%; }
  .contact-links a { width:100%; }
  .terminal-body { padding:18px 14px; font-size:10px; }
  .footer-inner { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
  .reveal,.workflow.reveal .step { opacity:1; transform:none; }
}
