:root {
  --bg: #0d1a2a;
  --panel: rgba(11, 24, 42, 0.72);
  --text: #f2f5f8;
  --muted: #afbdd0;
  --line: rgba(220, 54, 69, 0.45);
  --accent: #dc3645;
  --accent-soft: rgba(220, 54, 69, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.launch-wrap {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(1.4rem + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    calc(1.4rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.launch-card {
  width: min(860px, 100%);
  text-align: center;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at center, rgba(220, 54, 69, 0.14), transparent 56%), var(--panel);
  backdrop-filter: blur(3px);
  border-radius: 16px;
}

.logo-mark {
  margin: 0 auto 0.8rem;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.line {
  height: 1px;
  width: min(580px, 90%);
  margin: 0.8rem auto 1.3rem;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

h1 {
  margin: 0;
  letter-spacing: 0.18em;
  font-size: clamp(1.35rem, 4.6vw, 3.35rem);
  line-height: 1.16;
  text-wrap: balance;
}

.tagline {
  margin: 1.15rem auto 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  max-width: 640px;
  text-wrap: pretty;
}

.actions {
  margin-top: 1.7rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 210px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn i {
  margin-right: 0.45rem;
}

.btn-primary {
  color: #fff;
  border: 1px solid var(--accent);
  background: linear-gradient(90deg, rgba(220, 54, 69, 0.95), rgba(186, 29, 59, 0.95));
  box-shadow: 0 6px 22px rgba(220, 54, 69, 0.32);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn:hover {
  transform: translateY(-1px);
}

.socials {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.83rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.05);
}

.foot {
  margin: 0.35rem 0 0;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted);
  text-wrap: balance;
}

/* ⚙️ OP::Prime™ Mobile breakpoints progressively increase tap targets and stack CTAs to avoid overflow on small phones and narrow landscape screens. */
@media (max-width: 640px) {
  .launch-wrap {
    padding-top: calc(1.1rem + env(safe-area-inset-top));
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom));
  }

  .launch-card {
    border-radius: 14px;
    padding: 1.15rem 1rem 1.25rem;
  }

  .logo-mark {
    width: 62px;
    height: 62px;
    font-size: 1.1rem;
  }

  h1 {
    letter-spacing: 0.11em;
    line-height: 1.22;
  }

  .tagline {
    margin-top: 0.95rem;
    font-size: 0.95rem;
  }

  .actions {
    margin-top: 1.25rem;
    gap: 0.6rem;
  }

  .btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0.8rem 0.95rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
  }

  .socials a {
    width: 42px;
    height: 42px;
  }

  .foot {
    letter-spacing: 0.08em;
    font-size: 0.68rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.16rem;
    letter-spacing: 0.08em;
  }

  .tagline {
    font-size: 0.88rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .launch-wrap {
    padding-inline: 1.4rem;
  }

  .launch-card {
    padding: 2rem 1.8rem;
  }

  h1 {
    letter-spacing: 0.15em;
  }
}

@media (min-width: 1600px) {
  .launch-card {
    width: min(980px, 88vw);
  }

  .tagline {
    max-width: 700px;
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .launch-wrap {
    align-items: start;
    padding-top: 1rem;
  }

  .logo-mark {
    width: 56px;
    height: 56px;
    margin-bottom: 0.55rem;
  }

  .line {
    margin-block: 0.45rem 0.8rem;
  }

  .tagline {
    margin-top: 0.75rem;
  }

  .actions {
    margin-top: 0.9rem;
  }

  .socials {
    margin-top: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .socials a {
    transition: none;
  }
}
