/* Apex Core — layout & theme (standalone) */
:root {
  --font-sans: "DM Sans", system-ui, sans-serif;
  --background: #070606;
  --foreground: 0 0% 95%;
  --primary: 265 80% 60%;
  --primary-foreground: 0 0% 100%;
  --muted-foreground: 0 0% 55%;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: hsl(var(--foreground));
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.stack {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 0 5rem;
  }
}

.content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.headline {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.headline .accent {
  color: hsl(var(--primary));
}

.cta {
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .cta {
    margin-top: 1.5rem;
  }
}

.button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: hsl(265, 80%, 60%);
  color: hsl(var(--primary-foreground));
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 1.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 1.5rem 5rem;
  }
}

.footer .handle {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}

/* Entrance (JS adds .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
