/* DirectoryDone — early access landing (Palette A: Cyan + Lime) */
:root {
  --ink: #0F1530;
  --ink-deep: #0B1020;
  --body: #94A3B8;
  --muted: #64748B;
  --white: #FFFFFF;
  --brand: #0891B2;
  --brand-deep: #0E7490;
  --brand-cyan: #22D3EE;
  --brand-lime: #A3E635;
  --line: rgba(226, 232, 240, 0.12);
  --radius: 12px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-lime);
}

/* ── Page shell ─────────────────────────────────────────── */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Atmosphere — not flat */
.atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.atmosphere__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform, opacity;
}

.atmosphere__glow--cyan {
  top: -18%;
  right: -12%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  background: radial-gradient(circle, #0891B2 0%, #22D3EE 35%, transparent 70%);
  animation: glow-drift 14s ease-in-out infinite alternate;
}

.atmosphere__glow--lime {
  bottom: -22%;
  left: -16%;
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  background: radial-gradient(circle, rgba(163, 230, 53, 0.55) 0%, rgba(8, 145, 178, 0.25) 45%, transparent 70%);
  opacity: 0.22;
  animation: glow-drift 18s ease-in-out infinite alternate-reverse;
}

.atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.atmosphere__mark {
  position: absolute;
  top: 50%;
  right: -8%;
  width: min(52vw, 520px);
  transform: translateY(-52%);
  opacity: 0.1;
  animation: mark-float 10s ease-in-out infinite;
}

.atmosphere__mark img {
  width: 100%;
  height: auto;
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); opacity: 0.28; }
  to { transform: translate(-4%, 6%) scale(1.08); opacity: 0.42; }
}

@keyframes mark-float {
  0%, 100% { transform: translateY(-52%) translateX(0); }
  50% { transform: translateY(-48%) translateX(-2%); }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 2rem;
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.wordmark {
  width: min(100%, 420px);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.wordmark img {
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-lime);
}

.headline {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  max-width: 18ch;
}

.headline__accent {
  background: linear-gradient(120deg, #0E7490 0%, #0891B2 55%, #22D3EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.support {
  margin: 0 0 2rem;
  max-width: 36ch;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ── CTA ────────────────────────────────────────────────── */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 52px;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-cyan) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(8, 145, 178, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, color 0.2s ease;
}

.cta__primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(8, 145, 178, 0.55);
  filter: brightness(1.05);
}

.cta__primary:active {
  transform: translateY(0);
}

.cta__primary:focus-visible {
  outline: 2px solid var(--brand-lime);
  outline-offset: 3px;
}

.cta__primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.cta__primary:hover svg {
  transform: translateX(2px);
}

/* ── Entrance motions ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal--1 { animation-delay: 0.05s; }
.reveal--2 { animation-delay: 0.15s; }
.reveal--3 { animation-delay: 0.28s; }
.reveal--4 { animation-delay: 0.4s; }
.reveal--5 { animation-delay: 0.52s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__glow,
  .atmosphere__mark,
  .reveal {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cta__primary:hover {
    transform: none;
  }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 12px;
  color: var(--body);
}

.footer__meta {
  margin: 0;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
}

.footer__links a {
  color: var(--body);
}

.footer__links a:hover {
  color: var(--brand-cyan);
}
