:root{
  --void:#020508;
  --deep:#030a10;
  --surface:#071018;
  --edge:#0d2030;
  --phosphor:#00ff88;
  --phosphor-dim:#00aa55;
  --phosphor-ghost:rgba(0,255,136,.07);
  --text:#7ab8a0;
  --text-bright:#c8f0e0;
  --muted:#2a4a38;

  --radius:18px;
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.hb{
  margin:0;
  font-family:"IBM Plex Mono", monospace;
  background:#010308;
  color:var(--text);
  overflow-x:hidden;
  cursor:crosshair;
}

#starfield{
  position:fixed; inset:0;
  z-index:0;
  pointer-events:none;
}

body.hb::before{
  content:"";
  position:fixed; inset:0;
  background:repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,.22) 2px,
    rgba(0,0,0,.22) 3px
  );
  pointer-events:none;
  z-index:9999;
}

body.hb::after{
  content:"";
  position:fixed; inset:0;
  background:radial-gradient(ellipse 110% 110% at 50% 50%,
    transparent 45%,
    rgba(0,0,0,.74) 100%
  );
  pointer-events:none;
  z-index:9998;
}

.nebula{position:fixed; inset:0; z-index:1; pointer-events:none; overflow:hidden}
.nb{position:absolute; border-radius:50%; filter:blur(90px); opacity:.9; animation: drift 24s ease-in-out infinite alternate;}
.nb1{width:720px;height:520px;top:-200px;right:-120px;background:radial-gradient(ellipse, rgba(0,60,180,.28) 0%, rgba(0,20,80,.10) 55%, transparent 100%);}
.nb2{width:520px;height:480px;bottom:-140px;left:-160px;background:radial-gradient(ellipse, rgba(0,255,136,.12) 0%, rgba(0,80,50,.06) 55%, transparent 100%); animation-duration:28s;}
.nb3{width:560px;height:520px;top:20%;left:40%;background:radial-gradient(ellipse, rgba(255,149,0,.14) 0%, rgba(120,60,0,.06) 55%, transparent 100%); animation-duration:32s;}
@keyframes drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(40px,-30px,0)}}

.hb-main{
  position:relative;
  z-index:5;
  min-height:calc(100vh - 160px);
  padding: 34px 18px 70px;
}

.hb-container{
  max-width:var(--max);
  margin:0 auto;
}

.hb-panel{
  background:linear-gradient(180deg, rgba(7,16,24,.82), rgba(2,5,8,.72));
  border:1px solid rgba(0,255,136,.14);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.hb-panel-inner{padding:22px}

.hb-topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(180deg, rgba(2,5,8,.92), rgba(2,5,8,.62));
  border-bottom:1px solid rgba(0,255,136,.12);
  backdrop-filter: blur(8px);
}

.hb-nav{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.hb-brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  color:var(--text-bright);
}

.hb-brand .mark{
  width:34px;height:34px;
  border-radius:10px;
  border:1px solid rgba(0,255,136,.28);
  background:radial-gradient(circle at 40% 40%, rgba(0,255,136,.22), rgba(0,0,0,0));
  box-shadow:0 0 0 2px rgba(0,255,136,.06) inset;
}
.hb-brand .name{
  font-family:"Bebas Neue", sans-serif;
  font-size:22px;
  letter-spacing:.08em;
}

.hb-links{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.hb-links a{
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  opacity:.92;
}
.hb-links a:hover{color:var(--text-bright)}

.hb-actions{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:12px;
  padding:10px 14px;
  font-size:13px;
  border:1px solid rgba(0,255,136,.18);
  background:rgba(0,255,136,.08);
  color:var(--text-bright);
  text-decoration:none;
  cursor:pointer;
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(0,255,136,.32); background:rgba(0,255,136,.12)}
.btn.primary{
  background:linear-gradient(180deg, rgba(0,255,136,.18), rgba(0,255,136,.08));
  border-color:rgba(0,255,136,.35);
}
.btn.ghost{
  background:transparent;
  border-color:rgba(0,255,136,.14);
  color:var(--text);
}

.h1{
  font-family:"Bebas Neue", sans-serif;
  font-size:64px;
  line-height:.92;
  letter-spacing:.04em;
  color:var(--text-bright);
  margin:0 0 10px;
}
.kicker{
  color:var(--phosphor);
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin:0 0 10px;
  opacity:.9;
}
.lead{
  font-size:14px;
  line-height:1.7;
  color:rgba(200,240,224,.86);
  max-width:72ch;
}

.section{margin-top:22px}
.section h2{
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.06em;
  font-size:28px;
  color:var(--text-bright);
  margin:0 0 12px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:14px;
}
.card{
  grid-column:span 6;
  border:1px solid rgba(0,255,136,.14);
  background:rgba(7,16,24,.62);
  border-radius:16px;
  padding:16px;
}
.card h3{
  margin:0 0 8px;
  font-size:14px;
  color:var(--text-bright);
}
.card p{margin:0; font-size:13px; line-height:1.7; color:rgba(200,240,224,.78)}
.card ul{margin:10px 0 0 18px; color:rgba(200,240,224,.74); font-size:13px; line-height:1.7}

.form{
  display:grid;
  gap:12px;
}
label{font-size:12px; color:rgba(200,240,224,.72)}
input, textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(0,255,136,.16);
  background:rgba(0,0,0,.25);
  padding:12px 12px;
  color:var(--text-bright);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus, textarea:focus{border-color:rgba(0,255,136,.35); box-shadow:0 0 0 3px rgba(0,255,136,.08)}

.note{font-size:12px; color:rgba(200,240,224,.65); line-height:1.6}

.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(0,255,136,.12);
}
.table th, .table td{
  padding:12px 10px;
  font-size:12px;
  border-bottom:1px solid rgba(0,255,136,.08);
}
.table th{color:rgba(200,240,224,.85); text-align:left; background:rgba(0,255,136,.06)}
.table td{color:rgba(200,240,224,.72)}
.table tr:hover td{background:rgba(0,255,136,.04)}

.hb-foot{
  position:relative;
  z-index:10;
  border-top:1px solid rgba(0,255,136,.10);
  background:rgba(2,5,8,.72);
  padding:22px 18px;
}
.hb-foot .wrap{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.hb-foot a{color:rgba(200,240,224,.75); text-decoration:none}
.hb-foot a:hover{color:var(--text-bright)}

/* Page hero (legacy / content pages) */
.hero-page{margin-bottom:28px}
.hero-page h1{font-family:"Bebas Neue", sans-serif; font-size:42px; letter-spacing:.04em; color:var(--text-bright); margin:0 0 8px}
.hero-page .subhead{font-size:14px; color:rgba(200,240,224,.78); margin:0}
section{margin-top:24px}
section h2{font-family:"Bebas Neue", sans-serif; font-size:22px; color:var(--text-bright); margin:0 0 10px}
section p, section ul{margin:0 0 10px; font-size:13px; line-height:1.7; color:rgba(200,240,224,.82)}
section a{color:var(--phosphor); text-decoration:none}
section a:hover{color:var(--text-bright)}

@media (max-width:900px){
  .h1{font-size:46px}
  .card{grid-column:span 12}
  .hb-links{display:none}
}
