:root {
  --ink: #08090e;
  --surface: #12141c;
  --line: #2a2e3f;
  --line-soft: #1e2130;
  --paper: #f0f0f5;
  --body: #c6c8d4;
  --mute: #8e92a4;
  --dim: #5a5e72;
  --gold: #d4a24e;
  --gold-deep: #b8860b;
  --locked: #7b61ff;
  --locked-soft: rgba(123, 97, 255, 0.12);
  --display: "Darker Grotesque", "Arial Narrow", sans-serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}

::selection {
  background: rgba(212, 162, 78, 0.32);
  color: var(--paper);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.stage {
  position: relative;
  z-index: 0;
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 28px 0 32px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-name span {
  color: var(--gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--locked-soft);
  color: var(--locked);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge svg {
  width: 12px;
  height: 12px;
  display: block;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mute);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.coming {
  display: block;
  font-size: clamp(4.2rem, 12vw, 7.4rem);
  color: var(--paper);
}

.word {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-top: 0.02em;
}

.word > span {
  grid-area: 1 / 1;
  font-size: clamp(4.2rem, 12vw, 7.4rem);
}

.ghost {
  color: var(--dim);
  opacity: 0;
  user-select: none;
}

.final {
  color: var(--gold);
  background-image: linear-gradient(102deg, #f3d7a1 0%, #d4a24e 46%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin: 26px 0 0;
  color: var(--body);
  font-size: 1.2rem;
  font-weight: 400;
}

.tagline span {
  white-space: nowrap;
}

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steps strong {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--paper);
}

.steps span {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
}

footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 0.85rem;
}

footer a {
  color: var(--mute);
  text-decoration: none;
}

footer a:hover {
  color: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .ghost {
    animation: soon-out 2.4s ease forwards;
  }

  .final {
    animation: soom-in 2.4s ease forwards;
  }

  .tagline,
  .steps {
    animation: rise 0.8s ease 0.15s both;
  }
}

@keyframes soon-out {
  0%, 38% { opacity: 1; }
  62%, 100% { opacity: 0; }
}

@keyframes soom-in {
  0%, 38% { opacity: 0; }
  62%, 100% { opacity: 1; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 700px) {
  .stage {
    width: min(880px, calc(100% - 32px));
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  main {
    justify-content: flex-start;
    padding-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ghost {
    display: none;
  }
}
