@font-face {
  font-family: Syne;
  src: url("fonts/Syne-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("fonts/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0f17;
  --text: #ffffff;
  --lede: #e8eef4;
  --soft: #c5ced8;
  --muted: #8b96a3;
  --pink: #fb7185;
  --teal: #2dd4bf;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
}

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

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 450;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.glow-pink {
  width: 58vw;
  height: 58vw;
  max-width: 820px;
  max-height: 820px;
  left: -12%;
  top: 18%;
  background: rgba(251, 113, 133, 0.22);
  animation: driftA 28s ease-in-out infinite;
}

.glow-teal {
  width: 62vw;
  height: 62vw;
  max-width: 880px;
  max-height: 880px;
  right: -14%;
  top: 16%;
  background: rgba(45, 212, 191, 0.18);
  animation: driftB 32s ease-in-out infinite;
}

.glow-core {
  width: 42vw;
  height: 28vw;
  max-width: 520px;
  max-height: 340px;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: rgba(216, 232, 255, 0.07);
  filter: blur(70px);
  animation: pulse 10s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -3%) scale(1.07); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5%, 2%) scale(1.06); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 46%, #000 0%, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 46%, #000 0%, #000 35%, transparent 75%);
}

.stairs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, transparent 0%, transparent 42%, rgba(5, 7, 12, 0.55) 100%);
}

.grain {
  position: absolute;
  inset: 0;
  background: url("grain.png") center / 128px 128px repeat;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(28px + var(--safe-t))
    calc(24px + var(--safe-r))
    calc(20px + var(--safe-b))
    calc(24px + var(--safe-l));
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.mark {
  width: 72px;
  height: auto;
  display: block;
  margin: 0 auto 28px;
  filter:
    drop-shadow(-10px 0 28px rgba(251, 113, 133, 0.28))
    drop-shadow(10px 0 28px rgba(45, 212, 191, 0.26));
}

.badge {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.32);
  background: rgba(45, 212, 191, 0.08);
  color: #7dede0;
  font-family: Geist, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1;
}

h1 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #fff;
  hyphens: none;
  -webkit-hyphens: none;
}

h1 .line {
  display: block;
  white-space: nowrap;
}

h1 .dot { color: var(--teal); }

.rule {
  width: 72px;
  height: 3px;
  margin: 22px auto 22px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--teal) 100%);
}

.lede {
  margin: 0 0 36px;
  max-width: 26em;
  font-family: Geist, sans-serif;
  font-weight: 450;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--lede);
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #e8eef4;
  color: #0b0f17;
  font-family: Geist, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 10px 28px rgba(0,0,0,0.28);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 14px 32px rgba(0,0,0,0.34);
}

.btn:active {
  background: #d7dee6;
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 6px 16px rgba(0,0,0,0.24);
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 20px;
  color: var(--soft);
}

.x-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 2px;
  color: var(--soft);
  text-decoration: none;
  border-radius: 50%;
  flex: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s ease, background 0.18s ease;
}

.x-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

.x-link:hover,
.x-link:active {
  color: #fff;
}

.x-link:focus-visible {
  color: #fff;
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.domain {
  font-family: Geist, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: lowercase;
  color: var(--soft);
  padding-left: 0.26em;
}

.year {
  font-family: Geist, sans-serif;
  font-weight: 450;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 700px) {
  .wrap {
    padding:
      calc(40px + var(--safe-t))
      calc(40px + var(--safe-r))
      calc(28px + var(--safe-b))
      calc(40px + var(--safe-l));
  }
  .mark { width: 88px; margin-bottom: 34px; }
  .badge { margin-bottom: 22px; font-size: 12px; min-height: 34px; }
  h1 { font-size: 6rem; }
  .rule { width: 88px; margin: 28px auto 26px; }
  .lede { font-size: 1.35rem; margin-bottom: 42px; }
  .btn { min-height: 52px; padding: 16px 32px; font-size: 16px; }
  .domain { font-size: 14px; }
  .x-link { width: 48px; height: 48px; margin: 0 0 4px; }
  .x-link svg { width: 24px; height: 24px; }
}

@media (min-width: 1100px) {
  h1 { font-size: 6.75rem; }
}

@media (max-width: 699px) {
  .stairs { opacity: 0.4; }
  .glow-pink {
    width: 120vw;
    height: 120vw;
    max-width: none;
    max-height: none;
    left: -48%;
    top: 12%;
    background: rgba(251, 113, 133, 0.3);
  }
  .glow-teal {
    width: 120vw;
    height: 120vw;
    max-width: none;
    max-height: none;
    right: -48%;
    left: auto;
    top: 10%;
    background: rgba(45, 212, 191, 0.26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow-pink, .glow-teal, .glow-core {
    animation: none;
  }
  .x-link { transition: none; }
}

@media (max-height: 700px) and (max-width: 699px) {
  .mark { width: 60px; margin-bottom: 18px; }
  .badge { margin-bottom: 12px; }
  h1 { font-size: 2.75rem; }
  .rule { margin: 16px auto 16px; }
  .lede { font-size: 1.05rem; margin-bottom: 24px; }
  footer { padding-top: 16px; }
}
