@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root{
  --bg:#07080c;
  --panel:#0d1017;
  --panel2:#11151e;
  --border:#202735;
  --text:#eef2f8;
  --muted:#929bab;
  --accent:#8b5cf6;
  --accent2:#22d3ee;
  --green:#43e97b;
  --yellow:#f5d76e;
  --shadow:0 24px 70px rgba(0,0,0,.42);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;line-height:1.65}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:50px 50px;mask-image:linear-gradient(to bottom,black,transparent 85%);z-index:-2}
.bg-glow{position:fixed;width:500px;height:500px;border-radius:50%;filter:blur(110px);opacity:.12;pointer-events:none;z-index:-1}
.glow-one{background:#7c3aed;top:-180px;left:-150px}.glow-two{background:#0891b2;right:-220px;top:500px}
a{color:inherit;text-decoration:none}
code,pre{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace}
code{color:#c4b5fd}
.topbar{height:72px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));background:rgba(7,8,12,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}
.brand{display:flex;gap:10px;align-items:center}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid #8b5cf6;border-radius:10px;background:linear-gradient(145deg,#8b5cf6,#312e81);font-family:"Space Grotesk";font-weight:800}.brand small,.footer-brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.16em;text-transform:uppercase;line-height:1}.brand b{font-family:"Space Grotesk";font-size:16px}.topbar nav{display:flex;gap:25px}.topbar nav a{font-size:13px;color:#aeb5c3}.topbar nav a:hover{color:#fff}.mobile-menu{display:none;background:none;border:0;color:white;font-size:23px}
.section{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:92px 0}.hero{min-height:720px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px;padding-top:80px}.eyebrow{color:#a78bfa;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:800;margin-bottom:15px}.dot{display:inline-block;width:7px;height:7px;background:#43e97b;border-radius:50%;margin-right:8px;box-shadow:0 0 15px #43e97b}.hero h1{font-family:"Space Grotesk";font-size:clamp(54px,7vw,88px);line-height:.95;letter-spacing:-.055em;margin:0 0 25px}.hero h1 span{background:linear-gradient(90deg,#a78bfa,#22d3ee);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{max-width:650px;color:var(--muted);font-size:17px}.hero-actions{display:flex;gap:12px;margin:30px 0}.btn{padding:12px 19px;border-radius:11px;font-weight:700;font-size:13px;border:1px solid var(--border)}.btn.primary{background:#8b5cf6;border-color:#8b5cf6;color:white;box-shadow:0 10px 35px rgba(139,92,246,.22)}.btn.ghost{background:#10131a}.hero-tags{display:flex;flex-wrap:wrap;gap:8px}.hero-tags span,.pill{border:1px solid var(--border);background:#0d1017;padding:5px 9px;border-radius:999px;color:#9ca3af;font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.hero-card{background:rgba(13,16,23,.82);border:1px solid var(--border);border-radius:22px;padding:10px;box-shadow:var(--shadow);transform:rotate(1deg)}.window-bar{height:32px;display:flex;align-items:center;gap:6px;color:#666f7f;font-size:10px;padding:0 10px}.window-bar i{width:7px;height:7px;border-radius:50%;background:#313744}.window-bar span{margin-left:auto;margin-right:auto}.mock-gui{background:#171b23;border:1px solid #303744;border-radius:13px;padding:20px;min-height:400px}.mock-title{font-family:"Space Grotesk";font-size:20px;margin-bottom:22px;color:#f8fafc}.mock-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.mock-item{height:78px;background:#222832;border:1px solid #303744;border-radius:9px;display:grid;place-items:center;align-content:center;gap:5px}.mock-item b{font-size:23px}.mock-item span{font-size:10px;color:#aab2c0}.mock-lore{margin-top:22px;padding:16px;background:#0e1117;border-radius:10px;border:1px solid #262c36;display:grid;gap:4px;font-size:12px}.mock-lore strong{color:#4ade80}.mock-lore span{color:#e6e9ef}.mock-lore em{color:#f5d76e;font-style:normal;margin-top:10px}
.stats{padding-top:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:16px;overflow:hidden}.stats div{background:#0b0e13;padding:25px;text-align:center}.stats b{display:block;font:700 30px "Space Grotesk";color:#fff}.stats span{color:var(--muted);font-size:11px}
.section-head{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:36px}.section-head h2{font:700 42px "Space Grotesk";letter-spacing:-.04em;margin:0}.section-head>p{max-width:430px;color:var(--muted);font-size:13px;margin:0}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.step,.dep,.file-grid article,.board-grid article{background:linear-gradient(145deg,#0e1219,#0a0d12);border:1px solid var(--border);border-radius:16px}.step{padding:24px;min-height:190px}.step>span{color:#6f7785;font:700 11px "Space Grotesk"}.step h3{font:600 17px "Space Grotesk";margin:30px 0 8px}.step p,.dep p,.file-grid p,.board-grid p{color:var(--muted);font-size:12px;margin:0}.callout,.notice{margin-top:16px;padding:17px 20px;border:1px solid #293149;background:#0d1220;border-radius:13px;display:flex;gap:15px;font-size:12px}.callout b,.notice b{color:#c4b5fd}.callout span{color:#aeb6c4}
.dependency-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.dep{display:flex;gap:18px;padding:22px}.dep-icon{flex:0 0 48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#171320;color:#c4b5fd;font:700 20px "Space Grotesk";border:1px solid #2c2444}.dep h3{font:600 18px "Space Grotesk";margin:6px 0}.dep .pill{font-size:8px;padding:3px 7px}.required{border-color:#2c3850}
.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:15px;margin-top:16px}.table-wrap table{border-collapse:collapse;width:100%;min-width:780px;background:#0b0e13}.table-wrap th,.table-wrap td{padding:15px 17px;text-align:left;border-bottom:1px solid #1b212b;font-size:12px}.table-wrap th{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#70798a;background:#0e1218}.table-wrap td:nth-child(2){color:#9ca3af}.table-wrap tr:last-child td{border-bottom:0}.subheading{font:600 19px "Space Grotesk";margin:35px 0 14px}.code-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.code-card{border:1px solid var(--border);background:#0d1118;color:#d8dee8;padding:14px 15px;border-radius:11px;text-align:left;cursor:pointer}.code-card:hover{border-color:#4c3b70;background:#111522}.code-card span{float:right;color:#7f8795;font:11px monospace}.example-box,.code-block{margin-top:16px;border:1px solid var(--border);background:#090c11;border-radius:15px;overflow:hidden}.example-top,.code-header{padding:12px 15px;border-bottom:1px solid var(--border);font-size:11px;color:#9aa3b2;display:flex;justify-content:space-between}.copy-btn{background:#151a23;border:1px solid #2a313e;color:#cbd5e1;border-radius:7px;padding:5px 8px;font-size:10px;cursor:pointer}.example-box pre,.code-block pre{margin:0;padding:18px;overflow:auto;color:#cbd5e1;font-size:12px;line-height:1.8}
.command-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:14px}.command-list,.permissions{border:1px solid var(--border);border-radius:15px;overflow:hidden;background:#0b0e13}.cmd,.perm{display:flex;justify-content:space-between;gap:15px;padding:13px 16px;border-bottom:1px solid #191f28;font-size:11px}.cmd:last-child,.perm:last-child{border-bottom:0}.cmd span,.perm span{color:#808998;text-align:right}.permissions{padding:20px}.permissions h3{font:600 18px "Space Grotesk";margin:0 0 15px}.permissions .perm{padding:11px 0}
.file-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.file-grid article{padding:18px}.file-grid code{font-size:12px}.config-columns{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:35px}.config-columns h3{font:600 19px "Space Grotesk"}.source{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #1b212b}.source b{font-size:10px;color:#c4b5fd;white-space:nowrap}.source span{color:#8e97a6;font-size:11px;text-align:right}.mt{margin-top:30px!important}
.board-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.board-grid article{padding:21px}.board-grid b{font-size:23px}.board-grid h3{font:600 17px "Space Grotesk";margin:14px 0 2px}.board-grid code{font-size:10px}.board-grid p{margin-top:12px}.faq{border-top:1px solid var(--border)}details{border-bottom:1px solid var(--border);padding:18px 0}summary{cursor:pointer;font:600 15px "Space Grotesk";list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:"+";float:right;color:#737d8d}details[open] summary:after{content:"−"}details p{color:var(--muted);font-size:12px;max-width:800px}
footer{width:min(1180px,calc(100% - 40px));margin:auto;border-top:1px solid var(--border);padding:30px 0 45px;display:flex;justify-content:space-between;color:#697282;font-size:11px}.footer-brand{display:flex;align-items:center;gap:10px;color:#d8dee8}.footer-brand b{font:600 13px "Space Grotesk"}
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;background:#f5f7fb;color:#10131a;padding:8px 13px;border-radius:8px;font-size:11px;font-weight:700;transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.topbar nav{display:none}.mobile-menu{display:block}.topbar nav.open{display:flex;position:absolute;left:20px;right:20px;top:65px;background:#0b0e13;border:1px solid var(--border);padding:15px;border-radius:12px;flex-direction:column;gap:12px}.hero{grid-template-columns:1fr;padding-top:55px}.hero-card{max-width:700px;margin:auto}.steps{grid-template-columns:1fr 1fr}.dependency-grid,.command-layout,.config-columns{grid-template-columns:1fr}.file-grid{grid-template-columns:1fr 1fr}.board-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.section{width:min(100% - 28px,1180px);padding:65px 0}.hero h1{font-size:54px}.hero p{font-size:15px}.hero-actions{flex-wrap:wrap}.stats{grid-template-columns:1fr 1fr}.section-head{display:block}.section-head h2{font-size:32px}.section-head>p{margin-top:12px}.steps,.dependency-grid,.file-grid,.code-grid,.board-grid{grid-template-columns:1fr}.mock-grid{grid-template-columns:repeat(2,1fr)}footer{width:calc(100% - 28px);display:block}footer>span{display:block;margin-top:15px}}


/* Avenox polish: logo, hover states, motion and accessibility */
.brand-logo{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 0 14px rgba(139,92,246,.28));transition:transform .35s ease,filter .35s ease}
.brand:hover .brand-logo{transform:scale(1.07) rotate(-2deg);filter:drop-shadow(0 0 22px rgba(139,92,246,.55))}
.footer-logo{width:34px;height:34px;object-fit:contain;opacity:.9}
.topbar nav a{position:relative;transition:color .2s ease}
.topbar nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:1px;background:linear-gradient(90deg,#8b5cf6,#22d3ee);transition:right .25s ease}
.topbar nav a:hover:after,.topbar nav a.active:after{right:0}
.topbar nav a.active{color:#fff}
.btn,.step,.dep,.file-grid article,.board-grid article,.usage-card,.trouble-grid article,.feature-chip,.code-card{transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease}
.btn:hover{transform:translateY(-2px)}
.step:hover,.dep:hover,.file-grid article:hover,.board-grid article:hover,.usage-card:hover,.trouble-grid article:hover,.feature-chip:hover{transform:translateY(-5px);border-color:#3a3152;box-shadow:0 14px 35px rgba(0,0,0,.22)}
.hero-card{animation:floatCard 7s ease-in-out infinite}
@keyframes floatCard{0%,100%{transform:rotate(1deg) translateY(0)}50%{transform:rotate(1deg) translateY(-8px)}}
.hero-copy{animation:fadeUp .7s ease both}
.hero-card{animation:fadeUp .8s .08s ease both,floatCard 7s 1s ease-in-out infinite}
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.feature-strip{padding-top:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.feature-chip{display:flex;align-items:center;gap:12px;padding:16px;background:#0c1016;border:1px solid var(--border);border-radius:14px}
.feature-chip>span{font-size:19px}
.feature-chip b{display:block;font-size:12px}
.feature-chip small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
.usage-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
.usage-card{padding:21px;border:1px solid var(--border);border-radius:16px;background:#0b0f15}
.usage-number{font:700 10px "Space Grotesk";color:#7f8898}
.usage-card h3{font:600 17px "Space Grotesk";margin:25px 0 7px}
.usage-card p{font-size:12px;color:var(--muted);margin:0}
.inline-copy{border:0;background:none;color:#c4b5fd;font:inherit;cursor:pointer;padding:0;text-decoration:underline;text-decoration-color:#4c3b70;text-underline-offset:3px}
.integration-panel{margin-top:14px;display:grid;grid-template-columns:.65fr 1.35fr;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#0a0d12}
.integration-panel>div{padding:24px}.integration-panel h3{font:600 20px "Space Grotesk";margin:12px 0 5px}.integration-panel p{color:var(--muted);font-size:12px;margin:0}
.integration-panel pre{margin:0;padding:24px;background:#07090d;border-left:1px solid var(--border);overflow:auto;font-size:12px;line-height:1.8}
.trouble-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}
.trouble-grid article{padding:22px;border:1px solid var(--border);border-radius:15px;background:#0b0f15}
.trouble-grid b{font:600 16px "Space Grotesk"}.trouble-grid p{font-size:12px;color:var(--muted);margin:9px 0 0}
@media(max-width:900px){.feature-strip{grid-template-columns:1fr 1fr}.usage-grid{grid-template-columns:1fr 1fr}.integration-panel{grid-template-columns:1fr}.integration-panel pre{border-left:0;border-top:1px solid var(--border)}}
@media(max-width:600px){.feature-strip,.usage-grid,.trouble-grid{grid-template-columns:1fr}.brand-logo{width:38px;height:38px}.hero-card{animation:none}.integration-panel>div,.integration-panel pre{padding:18px}.feature-chip{padding:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-copy,.hero-card{animation:none!important}.btn,.step,.dep,.file-grid article,.board-grid article,.usage-card,.trouble-grid article,.feature-chip{transition:none}}
