:root {
  --bg: #0a0a0a;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-soft: rgba(255, 255, 255, 0.86);
  --text-mid: rgba(255, 255, 255, 0.88);
  --headline-size: clamp(2.35rem, 4.2vw, 3rem);
  --punchline-size: clamp(2.475rem, calc(4.2vw + 2px), 3.125rem);
  --launch-size: 0.8125rem;
  --page-padding: clamp(1.25rem, 3vw, 2rem);
  --display-font: "SF Pro Display", "SF Pro Text", "GT America", "GT America Standard",
    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --punchline-font: "Geist", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--display-font);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: -8rem;
  pointer-events: none;
  background:
    radial-gradient(
      1600px 900px at 18% 8%,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.018) 28%,
      rgba(255, 255, 255, 0.008) 48%,
      transparent 72%
    ),
    radial-gradient(
      1400px 760px at 82% 18%,
      rgba(100, 150, 255, 0.04) 0%,
      rgba(100, 150, 255, 0.024) 26%,
      rgba(100, 150, 255, 0.01) 46%,
      transparent 70%
    );
  animation: drift 26s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  filter: blur(38px);
  will-change: transform;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 28%),
    radial-gradient(circle at center, transparent 58%, rgba(0, 0, 0, 0.34) 100%);
  z-index: -1;
}

.page {
  position: relative;
  z-index: 1;
  padding: 0 var(--page-padding);
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.hero {
  position: relative;
  max-width: 630px;
  margin: 0 auto;
  padding-top: clamp(7rem, 20vh, 12rem);
  padding-bottom: 3rem;
  text-align: left;
}

.headline-group,
.punchline,
.launch-date {
  margin: 0;
}

.headline-group {
  display: flex;
  flex-direction: column;
  max-width: 620px;
}

.headline,
.punchline {
  text-wrap: balance;
}

.headline,
.punchline {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.8s ease forwards;
}

.headline {
  display: block;
  font-size: var(--headline-size);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.headline-top {
  color: var(--text-soft);
  animation-delay: 0ms;
}

.headline-middle {
  margin-top: 2px;
  color: var(--text-soft);
  animation-delay: 120ms;
}

.headline-bottom {
  margin-top: 2px;
  color: var(--text-mid);
  animation-delay: 240ms;
}

.quote-focus {
  display: inline-block;
  transition: text-shadow 180ms ease;
}

.quote-focus:hover {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.punchline {
  margin-top: 32px;
  font-family: var(--punchline-font);
  font-size: var(--punchline-size);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 500;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
  animation-delay: 400ms;
}

.punchline-text {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff, #ffffff, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.launch-date {
  margin-top: clamp(4.5rem, 7vw, 5rem);
  font-size: var(--launch-size);
  line-height: 1.4;
  letter-spacing: 0.14em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
  animation-delay: 800ms;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes drift {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(-14px, 8px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 16vh;
  }
}

@media (max-width: 430px) {
  :root {
    --headline-size: clamp(1.72rem, 8.4vw, 2rem);
    --punchline-size: clamp(1.8rem, calc(8.1vw + 1px), 2.05rem);
    --launch-size: 0.75rem;
    --page-padding: 1rem;
  }

  .hero {
    max-width: 100%;
    padding-top: clamp(5rem, calc(env(safe-area-inset-top) + 4.5rem), 6.25rem);
    padding-bottom: 2rem;
  }

  .headline-group {
    max-width: none;
    align-items: flex-start;
  }

  .headline {
    line-height: 1.08;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }

  .headline-bottom,
  .headline-middle {
    margin-top: 0;
  }

  .punchline {
    max-width: none;
    margin-top: 32px;
    line-height: 1.14;
  }

  .punchline-text {
    white-space: nowrap;
  }

  .launch-date {
    margin-top: clamp(5rem, 21vw, 6.25rem);
    letter-spacing: 0.13em;
  }
}

@media (max-width: 375px) {
  :root {
    --headline-size: clamp(1.6rem, 8.1vw, 1.86rem);
    --punchline-size: clamp(1.72rem, calc(7.8vw + 1px), 1.9rem);
    --page-padding: 0.9375rem;
  }

  .hero {
    padding-top: clamp(5rem, calc(env(safe-area-inset-top) + 4.25rem), 5.75rem);
  }

  .punchline {
    margin-top: 30px;
    max-width: none;
  }

  .launch-date {
    margin-top: clamp(5rem, 22vw, 5.75rem);
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  .headline,
  .punchline,
  .launch-date {
    animation: none;
  }

  .headline,
  .punchline,
  .launch-date {
    opacity: 1;
    transform: none;
  }
}
