/* ORVALL — coming soon
   Brand: navy #12213E · accent #9187BD
*/

:root {
  --navy: #12213e;
  --bg: #070b14;
  --purple: #9187bd;
  --purple-deep: #6e64a0;
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --white: #ffffff;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* Atmosphere */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(26, 45, 82, 0.85), transparent 60%),
    linear-gradient(165deg, #0a1020 0%, var(--bg) 45%, #0b1222 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  top: 8%;
  right: -8%;
  background: rgba(145, 135, 189, 0.28);
}

.glow-b {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  bottom: 5%;
  left: -10%;
  background: rgba(18, 33, 62, 0.9);
  animation-delay: -4s;
  animation-duration: 18s;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(145, 135, 189, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 135, 189, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  opacity: 0.7;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 4%, 0) scale(1.06); }
}

/* Content — one composition */
.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: min(100% - 2.5rem, 44rem);
  margin-inline: auto;
  padding: clamp(3.5rem, 10vh, 6rem) 0 4rem;
}

.brand {
  margin: 0 0 9.5rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.1s;
}

.brand img {
  width: min(50vw, 19.5rem);
  height: auto;
}

h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5.5vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.25s;
}

.support {
  margin: 0 0 2.25rem;
  max-width: 32rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  opacity: 0;
  animation: rise 0.9s ease forwards 0.4s;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.55s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--purple);
  color: var(--navy);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: #a49ad0;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(145, 135, 189, 0.4);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--white);
}

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

@media (prefers-reduced-motion: reduce) {
  .glow,
  .brand,
  h1,
  .support,
  .actions {
    animation: none;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .page {
    width: min(100% - 2rem, 40rem);
    padding: 3rem 0;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
