:root {
  --bg: #05060a;
  --text: #f1f5ff;
  --muted: #96a0be;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: radial-gradient(1200px 700px at 20% -10%, #13203f33, transparent 45%),
    radial-gradient(1200px 900px at 110% 10%, #2f194533, transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  overflow: hidden;
}

#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

/* HOME */
.home-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  text-align: center;
}

.home-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 920px);
}
.home-mark {
  line-height: 1;
}

.home-logo {
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #eef4ff;
  text-shadow: 0 0 18px rgba(110, 166, 255, 0.5), 0 0 44px rgba(143, 88, 255, 0.22);
  filter: drop-shadow(0 0 10px rgba(110, 166, 255, 0.45)) drop-shadow(0 0 20px rgba(143, 88, 255, 0.18));
}

.logo-three {
  color: #f5f9ff;
  text-shadow: 0 0 16px rgba(140, 190, 255, 0.62), 0 0 32px rgba(158, 104, 255, 0.28);
}

.home-line {
  margin: 14px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: #b8c3df;
}

.home-links {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  z-index: 3;
}

.home-links a,
.back-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  transition: 180ms ease;
}

.home-links a:hover,
.back-link:hover {
  color: var(--text);
  text-shadow: 0 0 10px rgba(148, 188, 255, 0.45);
}

/* ABOUT */
.shell {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.back-link {
  align-self: flex-start;
}

.hero {
  margin: auto 0;
  padding: 10vh 0 10vh;
  max-width: 1020px;
}

.kicker {
  margin: 0 0 14px;
  color: #8ea7d6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  font-size: clamp(1.45rem, 3.6vw, 2.4rem);
}

.subtext {
  margin-top: 20px;
  color: #c8d1ea;
  line-height: 1.75;
  max-width: 880px;
  font-size: 0.92rem;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: #d4def8;
  background: rgba(255, 255, 255, 0.02);
  transition: 180ms ease;
}

.btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
  .shell { padding: 20px 18px; }
  .hero { padding-top: 10vh; }
  .home-center { width: 94vw; }
  .home-links { bottom: 20px; gap: 14px; }
}
