*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0e0e14;
  --fg:         #f5f5fa;
  --primary:    #ccff00;
  --primary-fg: #0f1400;
  --card:       #141419;
  --border:     #26262f;
  --muted:      #7b7b96;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* ── LAYOUT ─────────────────────────── */
.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* ── CONTENT ────────────────────────── */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ── LOGO ───────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 1.25rem; height: 1.25rem; }
.logo-text {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
}

/* ── GHOST MARK ─────────────────────── */
.ghost-mark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(55vw, 480px);
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  fill: var(--fg);
}

/* ── LABEL ──────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 1.75rem;
}
.label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ── HEADLINE ───────────────────────── */
h1 {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  white-space: nowrap;
}
h1 .dim { color: var(--muted); display: block; }

/* ── BODY COPY ──────────────────────── */
.sub {
  margin-top: 2rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── SUBSCRIBE FORM ─────────────────── */
.subscribe-wrap { margin-top: 2.5rem; }

.subscribe-form {
  display: flex;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
}
.email-input {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 9999px 0 0 9999px;
  padding: 0.875rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.email-input::placeholder { color: var(--muted); }
.email-input:focus { border-color: var(--primary); }

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0 9999px 9999px 0;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.subscribe-btn:hover { opacity: 0.88; }
.subscribe-btn svg { width: 1rem; height: 1rem; }

.subscribe-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.subscribe-success.visible {
  display: flex;
}

.fine-print {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
}
.subscribe-success .tick {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.subscribe-success .tick svg { width: 0.75rem; height: 0.75rem; }

/* ── SKYLINE ────────────────────────── */
.skyline-wrap {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.skyline-wrap svg {
  display: block;
  width: 100%;
  fill: var(--primary);
  opacity: 0;
  transition: opacity 2s ease 0.6s;
}
.skyline-wrap svg.show { opacity: 0.07; }
