:root {
  --bg: #000;
  --text: #f6fbff;
  --muted: rgba(235, 247, 255, 0.72);
  --cyan: #00d4ff;
  --cyan-soft: rgba(0, 212, 255, 0.2);
  --line: rgba(255, 255, 255, 0.22);
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: 'Orbitron', 'Inter', system-ui, sans-serif;
  --font-signature: 'lindsey-signature', cursive;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.coming-soon {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.splash-video,
.veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.splash-video {
  object-fit: cover;
  z-index: -4;
  background: #000 url("/assets/splash/jazmine_splash_1440x1440.webp") center / cover no-repeat;
  transition: opacity 900ms ease;
}

.veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 52%, rgba(0, 212, 255, 0.12), transparent 34rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
}

.centerpiece {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  min-height: min(72svh, 780px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vh, 34px);
  padding: clamp(28px, 6vw, 72px) 18px calc(clamp(28px, 6vw, 72px) + 84px);
  text-align: center;
}

.chat-cta {
  position: relative;
  z-index: 3;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 8px;
  color: #061012;
  background: rgba(0, 212, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 34px rgba(0, 212, 255, 0.28),
    0 16px 54px rgba(0, 0, 0, 0.32);
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.8vw, 1.04rem);
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.75);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.chat-cta:hover,
.chat-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.82);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.2) inset,
    0 0 44px rgba(0, 212, 255, 0.42);
  outline: none;
}

.signature {
  margin: 0;
  color: #fff;
  font-family: var(--font-signature);
  font-size: clamp(7.4rem, 21vw, 16rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 36px rgba(255, 255, 255, 0.5),
    0 0 84px rgba(0, 212, 255, 0.45);
  animation: signature-pulse 2.9s ease-in-out infinite;
}

.social-prompt {
  margin: -8px 0 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(0.76rem, 1.7vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.75);
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100%, 560px);
}

.social-link {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.05) inset,
    0 12px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.social-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.7);
  background: var(--cyan-soft);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.24) inset,
    0 0 28px rgba(0, 212, 255, 0.28);
  outline: none;
}

.sound-toggle {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(118px, 15vh, 146px);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.26);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.04) inset,
    0 14px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.updates-signup {
  position: fixed;
  left: 50%;
  bottom: 58px;
  z-index: 2;
  width: min(92vw, 520px);
  transform: translateX(-50%);
}

.updates-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.04) inset,
    0 14px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.updates-email {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.updates-email span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.updates-email input {
  min-width: 0;
  height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
}

.updates-email input:focus {
  outline: 2px solid rgba(0, 212, 255, 0.5);
  outline-offset: 1px;
}

.updates-form button {
  min-height: 34px;
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: 6px;
  padding: 0 13px;
  color: #001018;
  background: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.updates-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.signup-status {
  grid-column: 1 / -1;
  min-height: 14px;
  margin: -2px 3px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-legal-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  padding: 10px clamp(14px, 3vw, 34px) max(10px, env(safe-area-inset-bottom));
  color: rgba(246, 251, 255, 0.62);
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.72) 30%);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.site-legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.site-legal-footer a,
.site-legal-footer button {
  appearance: none;
  border: 0;
  padding: 0;
  color: rgba(246, 251, 255, 0.82);
  background: transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.site-legal-footer a:hover,
.site-legal-footer a:focus-visible,
.site-legal-footer button:hover,
.site-legal-footer button:focus-visible {
  color: #fff;
  outline: none;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(12px);
}

.policy-modal.hidden {
  display: none;
}

.policy-panel {
  width: min(100%, 620px);
  max-height: min(78svh, 720px);
  overflow: auto;
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(246, 251, 255, 0.78);
  background: rgba(0, 0, 0, 0.82);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.06) inset,
    0 28px 90px rgba(0, 0, 0, 0.54);
}

.policy-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-panel h2 {
  margin: 0 44px 14px 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.policy-body {
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.58;
}

.policy-body p {
  margin: 0;
}

.policy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: rgba(246, 251, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.policy-ack {
  margin-top: 18px;
  min-height: 38px;
  border: 1px solid rgba(0, 212, 255, 0.48);
  border-radius: 6px;
  padding: 0 14px;
  color: #001018;
  background: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.policy-close:hover,
.policy-close:focus-visible,
.policy-ack:hover,
.policy-ack:focus-visible {
  outline: none;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.22);
}

.legal-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 72px 18px 140px;
  background:
    radial-gradient(circle at 50% 12%, rgba(0, 212, 255, 0.14), transparent 30rem),
    #000;
}

.legal-document {
  width: min(100%, 780px);
  color: rgba(246, 251, 255, 0.78);
  line-height: 1.65;
}

.legal-document h1 {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.legal-document h2 {
  margin: 26px 0 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-document .back-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.62);
  background: rgba(0, 212, 255, 0.16);
  box-shadow:
    0 0 0 1px rgba(0, 212, 255, 0.22) inset,
    0 0 26px rgba(0, 212, 255, 0.24);
  outline: none;
}

.sound-toggle[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}

.sound-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sound-icon-on {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-icon-on {
  display: block;
}

.sound-toggle[aria-pressed="true"] .sound-icon-off {
  display: none;
}

@keyframes signature-pulse {
  0%,
  100% {
    opacity: 0.9;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.72),
      0 0 30px rgba(255, 255, 255, 0.36),
      0 0 70px rgba(0, 212, 255, 0.3);
  }

  50% {
    opacity: 1;
    text-shadow:
      0 0 18px rgba(255, 255, 255, 1),
      0 0 48px rgba(255, 255, 255, 0.62),
      0 0 104px rgba(0, 212, 255, 0.5);
  }
}

@media (max-width: 720px) {
  .centerpiece {
    min-height: 80svh;
    gap: 18px;
    padding-bottom: 172px;
  }

  .chat-cta {
    font-size: 0.72rem;
    min-height: 42px;
    padding: 0 15px;
  }

  .social-prompt {
    font-size: 0.74rem;
  }

  .signature {
    font-size: clamp(6.4rem, 28vw, 9rem);
  }

  .socials {
    gap: 10px;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .sound-toggle {
    right: 16px;
    bottom: 154px;
    width: 42px;
    height: 42px;
  }

  .updates-signup {
    bottom: 72px;
  }

  .updates-form,
  .updates-email {
    grid-template-columns: 1fr;
  }

  .updates-email span {
    text-align: center;
  }

  .updates-form button {
    width: 100%;
  }

  .policy-modal {
    place-items: end center;
    padding: 10px;
  }

  .policy-panel {
    max-height: 78svh;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-video {
    transition: none;
  }

  .signature {
    animation: none;
  }

  .social-link {
    transition: none;
  }

  .sound-toggle {
    transition: none;
  }
}
