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

:root{
  --bg0:#0e0f10;
  --bg1:#141618;
  --text:#eef0f2;
  --muted:#b3b8be;
  --line:rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --accent:#ff8a1f;
  --accent2:#ffb25a;
  --accent3:#ffe0b3;
  --radius:22px;
  --radius2:14px;
  --max:1120px;
  --focus: 0 0 0 3px rgba(255,138,31,.35);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{color-scheme:dark; background:var(--bg1)}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:transparent;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 560px at 12% 18%, rgba(255,138,31,.16) 0%, transparent 60%),
    radial-gradient(860px 520px at 85% 78%, rgba(255,178,90,.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 1px, transparent 1px, transparent 72px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025), rgba(255,255,255,.025) 1px, transparent 1px, transparent 72px);
  opacity:1;
  z-index:-1;
}

a{color:inherit}
img{max-width:100%; height:auto}
button{font-family:inherit}

.skip{
  position:absolute;
  left:-999px;
  top:12px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(255,138,31,.18);
  border:1px solid rgba(255,138,31,.35);
}
.skip:focus{left:12px; outline:none; box-shadow:var(--focus)}

.wrap{max-width:var(--max); margin:0 auto; padding:22px}
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:none;
  background:#0f1112;
  border-bottom:1px solid var(--line);
}
.topbar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  letter-spacing:.08em;
  font-weight:700;
}
.brand svg{width:22px; height:22px}
.brandLogo{
  width:26px;
  height:26px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  object-fit:cover;
}
.brand span{
  background:linear-gradient(135deg, var(--accent2), var(--accent));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  text-decoration:none;
  padding:9px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--muted);
}
.nav a:hover{
  color:var(--text);
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
}
.nav a[aria-current="page"]{
  color:var(--text);
  border-color:rgba(255,138,31,.28);
  background:rgba(255,138,31,.08);
}

.pillbar{display:flex; gap:8px; align-items:center; justify-content:flex-end; flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  transition:transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{background:rgba(255,255,255,.06)}
.btn:active{transform:translateY(1px)}
.btn:focus{outline:none; box-shadow:var(--focus)}
.btn.primary{
  border-color:rgba(255,138,31,.40);
  background:linear-gradient(135deg, rgba(255,138,31,.18), rgba(255,178,90,.12));
}
.btn.primary:hover{border-color:rgba(255,138,31,.70)}
.btn.discord{
  border-color:rgba(88,101,242,.55);
  background:linear-gradient(135deg, rgba(88,101,242,.22), rgba(88,101,242,.08));
}
.btn.discord:hover{border-color:rgba(88,101,242,.85)}
.btn .icon{width:18px; height:18px; display:inline-block}

.hero{padding:44px 0 24px}
.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.panel{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.panelInner{padding:22px}
.title{
  font-size:clamp(34px, 5vw, 64px);
  line-height:1.04;
  letter-spacing:.08em;
  margin:0;
}
.title .grad{
  background:linear-gradient(135deg, var(--accent2), var(--accent));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:14px 0 0;
  color:var(--muted);
  font-size:clamp(15px, 1.4vw, 18px);
  line-height:1.6;
}

.quick{display:grid; grid-template-columns:1fr; gap:12px}
.chip{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px;
  border-radius:var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.15);
}
.chip .k{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(255,138,31,.14);
  border:1px solid rgba(255,138,31,.26);
  flex:0 0 auto;
}
.chip h3{margin:0; font-size:14px; letter-spacing:.04em}
.chip p{margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.45}

.grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:14px;
  padding:24px 0 40px;
}
.card{
  grid-column:span 4;
  padding:18px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.card h2{margin:0; font-size:16px; letter-spacing:.08em; text-transform:uppercase}
.card p{margin:10px 0 0; color:var(--muted); line-height:1.6}
.card ul{margin:10px 0 0; padding:0 0 0 18px; color:var(--muted); line-height:1.7}

.sep{height:1px; background:var(--line); margin:10px 0 0}
.small{font-size:12px; color:rgba(255,255,255,.55)}

.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.field{display:flex; flex-direction:column; gap:6px}
.field label{font-size:12px; color:rgba(255,255,255,.70); letter-spacing:.06em; text-transform:uppercase}
.field input,.field textarea{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:var(--text);
}
.field input:focus,.field textarea:focus{outline:none; box-shadow:var(--focus); border-color:rgba(255,107,0,.45)}
.field textarea{min-height:120px; resize:vertical}
.form .wide{grid-column:1/-1}

.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(10,10,12,.70);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color:rgba(255,255,255,.88);
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(-2px)}

footer{
  border-top:1px solid var(--line);
  padding:18px 0 30px;
  color:rgba(255,255,255,.55);
}
footer .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footerRow a{
  color:rgba(255,255,255,.70);
  text-decoration:none;
}
.footerRow a:hover{color:var(--text)}
.footerLinks{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.discordIconLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.85);
  text-decoration:none;
  background:rgba(255,255,255,.02);
}
.discordIconLink:hover{
  color:var(--text);
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.20);
}
.discordIconLink svg{
  width:18px;
  height:18px;
}

/* Home (fullscreen, no cards) */
body.home .topbar .wrap{padding-top:18px; padding-bottom:18px}
body.home .nav a{background:transparent}

.homeMain{
  min-height:calc(100vh - 96px - 76px);
  display:block;
}
.heroWrap{padding:28px 0 18px}
.beta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.03);
}
.betaDot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 14px rgba(255,138,31,.55);
}
.heroGrid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:22px;
  align-items:stretch;
  margin-top:18px;
}
.heroCopy{animation:fadeUp .6s ease both}
.heroPanel{display:grid; gap:14px; animation:fadeUp .8s ease both}
.heroTitle{
  font-size:clamp(48px, 9vw, 96px);
  line-height:1;
  letter-spacing:.12em;
  margin:8px 0 0;
  color:var(--text);
}
.heroLead{
  margin:14px 0 0;
  font-size:clamp(16px, 1.8vw, 20px);
  color:rgba(255,255,255,.88);
  max-width:60ch;
}
.heroText{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.7;
  max-width:64ch;
}
.heroActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.heroMeta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.metaPill{
  font-family:var(--mono);
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color:var(--accent3);
  background:rgba(255,255,255,.02);
}
.panelCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  box-shadow:var(--shadow);
}
.panelCard.ghost{
  background:rgba(255,255,255,.02);
  border-style:dashed;
}
.panelTitle{
  font-size:12px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(255,255,255,.70);
  margin-bottom:12px;
}
.panelRow{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.88);
}
.panelRow strong{color:var(--text)}
.panelRow:last-of-type{border-bottom:0}
.panelHint{
  margin-top:10px;
  font-size:12px;
  color:rgba(255,255,255,.55);
}
.section{padding:22px 0}
.sectionHead h2{
  margin:0;
  font-size:22px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.sectionHead p{
  margin:8px 0 0;
  color:var(--muted);
}
.cardGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
.featureCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:16px;
  background:rgba(255,255,255,.02);
}
.featureCard h3{
  margin:0;
  font-size:16px;
}
.featureCard p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.6;
}
.cmdRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.cmdPill{
  font-family:var(--mono);
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.02);
  color:var(--accent3);
}
.homeServices{margin-top:18px}
.serviceGrid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}
.servicePill{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.02);
  text-decoration:none;
  color:rgba(255,255,255,.85);
}
.servicePill:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.18);
  color:var(--text);
}
.homeMeta{margin-top:18px}

.commandsSearch{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}
.commandsSearch input{
  flex:1 1 320px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.25);
  color:var(--text);
}
.commandsSearch input:focus{outline:none; box-shadow:var(--focus); border-color:rgba(255,138,31,.45)}
.commandsMeta{
  font-size:12px;
  color:rgba(255,255,255,.65);
}
.commandsGrid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
  margin-top:16px;
}
.commandCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,.02);
  min-height:140px;
  display:flex;
  flex-direction:column;
}
.commandName{
  font-family:var(--mono);
  font-size:13px;
  color:var(--accent3);
}
.commandDesc{
  margin-top:8px;
  color:var(--muted);
  line-height:1.6;
  font-size:13px;
}
.commandError{
  color:rgba(255,255,255,.70);
}

.teamGrid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}
.teamCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  box-shadow:var(--shadow);
  min-height:140px;
  display:flex;
  flex-direction:column;
}
.teamName{
  font-size:18px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.teamRole{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.teamLinks{margin-top:12px}

@keyframes fadeUp{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:translateY(0)}
}

@media (max-width: 920px){
  .heroGrid{grid-template-columns:1fr}
  .card{grid-column:span 6}
  .homeGrid{grid-template-columns:1fr}
  .cardGrid{grid-template-columns:1fr}
  .teamGrid{grid-template-columns:1fr}
  .commandsGrid{grid-template-columns:1fr}
}
@media (max-width: 620px){
  .wrap{padding:16px}
  .card{grid-column:1/-1}
  .form{grid-template-columns:1fr}
  .homeMain{min-height:calc(100vh - 84px - 86px)}
}
