:root{
  --site-max: 1100px;
  --ink: rgba(255,255,255,.85);
  --muted: rgba(255,255,255,.60);
  --line: rgba(255,255,255,.10);
  --panel: rgba(255,255,255,.04);
  --accent: #7cffb2;
}

*{ box-sizing:border-box; }
body{ margin:0; color:var(--ink); }

a{ color:inherit; text-decoration:none; }

.wrap{
  max-width: var(--site-max);
  width: min(var(--site-max), 92vw);
  margin: 0 auto;
  padding: 18px;
}

/* ====== TOPBAR (shared header) ====== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10,10,15,.75);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar-inner{
  max-width: var(--site-max);
  width: min(var(--site-max), 92vw);
  margin: 0 auto;
  padding: 10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{
  font-weight: 650;
  letter-spacing: .12em;
  font-size: 12px;
  opacity: .9;
  white-space: nowrap;
}

.nav-right{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbtn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  transition: transform .10s ease, border-color .12s ease, opacity .12s ease;
}

.topbtn:hover{ border-color: rgba(124,255,178,.6); }
.topbtn:active{ transform: translateY(1px); }

.topbtn.muted{ opacity:.55; }
.topbtn.active{
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(124,255,178,.15) inset;
}

/* ====== FOOTER · QUIET PORTAL (shared footer) ====== */
.site-footer{
  margin-top: 80px;
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
}

.footer-inner{
  max-width: var(--site-max);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a{
  text-decoration:none;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover{ color: rgba(255,255,255,0.9); }

.footer-signup a{
  text-decoration:none;
  color: rgba(255,255,255,0.75);
}

.footer-signup a:hover{ color: rgba(255,255,255,0.95); }

.visually-hidden{
  position:absolute;
  width:1px;height:1px;
  overflow:hidden;
  clip: rect(0 0 0 0);
}
