:root {
  --bg-color: #06070a;
  --text-color: white;
  --grid-line: rgba(255, 255, 255, 0.01);
  --glow-strong: rgba(255, 255, 255, 0.06);
  --glow-weak: rgba(255, 255, 255, 0.03);
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-faint: rgba(255, 255, 255, 0.50);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-color);
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  -webkit-tap-highlight-color: transparent;
}

.page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.4;
  mask-image: radial-gradient(circle at center, transparent 10%, black 70%);
}

@media (min-width: 640px) {
  .grid { background-size: 40px 40px; }
}
@media (min-width: 768px) {
  .grid { background-size: 48px 48px; opacity: 0.6; }
}
@media (min-width: 1024px) {
  .grid { opacity: 0.7; }
}

.glow1 {
  position: absolute;
  top: -5rem;
  left: -20%;
  width: 40vmin;
  height: 40vmin;
  background: var(--glow-strong);
  border-radius: 9999px;
  filter: blur(48px);
}

.glow2 {
  position: absolute;
  top: 58%;
  right: -18%;
  transform: translateY(-50%);
  width: 50vmin;
  height: 50vmin;
  background: var(--glow-weak);
  border-radius: 9999px;
  filter: blur(72px);
}

.radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, var(--glow-weak), transparent 35%);
  animation: pulse 32s ease-in-out infinite;
  will-change: opacity;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background: url(noise.svg);
}

header {
  position: relative;
  z-index: 10;
  padding: 16px 20px;
}

.brand {
  font-size: 15px;
  letter-spacing: 0.16em;
  margin: 0;
  font-weight: normal;
}

main {
  flex: 1;
}

.center {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding-top: 20vh;
}

.notice {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.23em;
  color: var(--text-muted);
}

footer {
  position: relative;
  z-index: 10;
  text-align: center;
  font-size: 12px;
  padding: 12px;
  color: var(--text-faint);
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:focus-visible {
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.96; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}