:root {
  --bg: #0b0e14;
  --panel: #111623;
  --text: #e6eefb;
  --muted: #9bb0d3;
  --accent: #6bc4ff;
  --accent-2: #a96bff;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Overall content wrapper */
#site-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Header chrome */
#site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 22, 35, 0.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #22304f;
  width: 100%;
}

/* Header layout */
.header-inner {
  min-height: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-inner .nav-left,
.header-inner .nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-inner .nav-left {
  margin-right: auto;
}

.header-inner .nav-right {
  margin-left: auto;
}

/* For simple headers (no brand) on / and /portal/ */
.header-inner.header-simple .nav-right {
  margin-left: 0;
}

/* Brand in the centre for marketing pages */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand .logo {
  height: 28px;
  width: auto;
}

.brand .digital-sigil {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Generic button style */
.btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #22304f;
  background: rgba(17, 22, 35, 0.85);
  color: var(--text);
  font-weight: 500;
}

.btn:hover {
  text-decoration: none;
  background: rgba(26, 34, 54, 0.95);
}

/* Main content area */
#content,
.content {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 24px;
  flex: 1 1 auto;
  min-height: 0;
	
}

#content h1,
.content h1 {
  font-size: 32px;
  margin: 16px 0;
}

/* Panel look */
.panel {
  background: rgba(17, 22, 35, 0.75);
  border: 1px solid #22304f;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.muted {
  color: var(--muted);
}

/* Footer chrome — layout handled in footer.css */
.site-footer {
  background: rgba(17, 22, 35, 0.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid #22304f;
  margin-top: auto;
  width: 100%;
}

/* Splash central buttons: equal width and spacing with synced text overlay */
.splash-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
  gap: 0;
}

/* Central panel buttons: fixed width and tight hitbox */
.splash-buttons .btn-svg.btn-splash {
  position: relative;
  display: block;
  width: 260px; /* fixed width for Log In / Sign Up / Explore */
  line-height: 0; /* remove text line height from the anchor box */
}

/* SVG fills the entire clickable box */
.splash-buttons .btn-svg.btn-splash img.btn-svg-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Text overlay uses the exact SVG box as its frame */
.splash-buttons .btn-svg.btn-splash .btn-svg-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
  white-space: nowrap;
}

/* Log In + Sign Up: no gap between them */
.splash-buttons .btn-splash-auth + .btn-splash-auth {
  margin-top: 12px;
}

/* Add spacing only before Explore */
.splash-buttons .btn-splash-explore {
  margin-top: 12px;
}

/* Header SVG auth buttons: SVG + text overlay */
.header-inner .btn-svg {
  position: relative;
  display: inline-block;
  line-height: 0; /* remove text line height from anchor box */
}

.header-inner .btn-svg img.btn-svg-img {
  display: block;
  height: 32px;
  width: auto;
}

/* Header labels sit centred on the button SVG */
.header-inner .btn-svg .btn-svg-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
  white-space: nowrap;
}

/* Footer pill SVG buttons: SVG + text overlay */
.site-footer .btn-footer-pill {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.site-footer .btn-footer-pill img.btn-svg-img {
  display: block;
  height: 32px;
  width: auto;
}

.site-footer .btn-footer-pill .btn-svg-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: none;
  white-space: nowrap;
}

