/* ── Reset & base ─────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0a0a0c;
  --surface:   rgba(255, 255, 255, 0.04);
  --border:    rgba(255, 255, 255, 0.08);
  --text:      #f0f0f2;
  --muted:     rgba(240, 240, 242, 0.5);
  --accent:    #4ade80;
  --accent-2:  #86efac;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ── Background ───────────────────────────────────────────────── */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background:
  radial-gradient(ellipse 80% 60% at 50% -10%, rgba(74, 222, 128, 0.12) 0%, transparent 60%),
  radial-gradient(ellipse 60% 50% at 90% 80%, rgba(134, 239, 172, 0.08) 0%, transparent 55%),
  radial-gradient(ellipse 50% 40% at 10% 70%, rgba(74, 222, 128, 0.06) 0%, transparent 50%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 75%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 12s ease-in-out infinite alternate;
}

.bg-orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(74, 222, 128, 0.15);
}

.bg-orb--2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -60px;
  background: rgba(134, 239, 172, 0.12);
  animation-delay: -6s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

/* ── Layout ───────────────────────────────────────────────────── */

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
}

/* ── Header / logo ────────────────────────────────────────────── */

.header {
  width: 100%;
  max-width: 720px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 1;
}

.logo-mark {
  width: 32px;
  height: 32px;
  color: var(--text);
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 640px;
  padding: 3rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem 0.4rem 0.75rem;
  margin-bottom: 2rem;
  animation: fade-up 0.7s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--accent); }
  50%       { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

.headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  animation: fade-up 0.7s 0.1s ease both;
}

.headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subhead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 420px;
  animation: fade-up 0.7s 0.2s ease both;
}

.divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2.5rem 0 1.5rem;
  animation: fade-up 0.7s 0.3s ease both;
}

.domain {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(240, 240, 242, 0.25);
  animation: fade-up 0.7s 0.35s ease both;
}

/* ── Footer ───────────────────────────────────────────────────── */

.footer {
  width: 100%;
  max-width: 720px;
  padding-top: 2rem;
}

.copyright {
  font-size: 0.8125rem;
  color: rgba(240, 240, 242, 0.2);
  text-align: center;
}

/* ── Animations ───────────────────────────────────────────────── */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 480px) {
  .page {
    padding: 1.5rem 1.25rem;
  }

  .hero {
    padding: 2rem 0;
  }
}

/* ── Reduced motion ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
