:root {
  --bg: #040711;
  --bg-alt: #0c1326;
  --text: #dbe9ff;
  --muted: #99a7c5;
  --accent: #00e1ff;
  --accent-2: #7a5cff;
  --card: rgba(10, 19, 38, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 225, 255, 0.2), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(122, 92, 255, 0.2), transparent 35%),
    linear-gradient(160deg, var(--bg) 0%, #070d19 40%, var(--bg-alt) 100%);
  position: relative;
  overflow-x: hidden;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 225, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 225, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, black 45%, transparent 90%);
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 6vw;
  border-bottom: 1px solid rgba(153, 167, 197, 0.15);
  backdrop-filter: blur(6px);
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-family: Orbitron, Inter, sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

main {
  width: min(1100px, 90vw);
  margin: 3.6rem auto;
}

.hero h1,
.content-page h1 {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 0.6rem 0 1rem;
  max-width: 14ch;
  line-height: 1.12;
  text-shadow: 0 0 18px rgba(0, 225, 255, 0.24);
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero-copy,
.content-page p {
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button {
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.button.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #021018;
}

.button.ghost {
  color: var(--text);
  border: 1px solid rgba(153, 167, 197, 0.4);
}

.quick-cards,
.two-col {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.quick-cards article,
.two-col article {
  border: 1px solid rgba(0, 225, 255, 0.2);
  background: var(--card);
  padding: 1.1rem;
  border-radius: 14px;
  box-shadow: inset 0 0 30px rgba(0, 225, 255, 0.07);
}

.quick-cards h2,
.two-col h2 {
  margin-top: 0;
  font-size: 1.05rem;
  font-family: Orbitron, Inter, sans-serif;
}

.quick-cards p,
.two-col p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(153, 167, 197, 0.15);
  padding: 1rem 6vw 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    gap: 0.9rem;
  }

  .logo {
    text-align: center;
  }
}

.splash-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.access-panel {
  width: min(460px, 100%);
  border: 1px solid rgba(0, 225, 255, 0.25);
  border-radius: 16px;
  background: var(--card);
  padding: 2rem;
  box-shadow: inset 0 0 38px rgba(0, 225, 255, 0.06);
}

.access-panel h1 {
  max-width: none;
  margin-bottom: 0.6rem;
}

.access-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.access-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.access-form label {
  color: var(--muted);
  font-size: 0.9rem;
}

.access-form input {
  width: 100%;
  background: rgba(4, 7, 17, 0.8);
  border: 1px solid rgba(153, 167, 197, 0.35);
  border-radius: 10px;
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.access-form input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 225, 255, 0.15);
}

.access-form .button {
  border: 0;
  cursor: pointer;
}

.access-error {
  min-height: 1.2rem;
  margin: 0;
  color: #ff8f8f;
}
