:root {
  --bg: #02030a;
  --bg-elevated: #050712;
  --text: #f5f5f7;
  --muted: #a2a4b5;
  --accent: #0c50ff;
  --accent-soft: rgba(12, 80, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #05081b 0, #02030a 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Canvas */

#mouseTrail {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Layout */

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 40px 20px 48px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.pt-50 {
  padding-top: 60px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-80 {
  margin-top: 80px;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-21ch {
  max-width: 21ch;
}

/* Typography */

.company-name {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}

.heading {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
}

.heading-link {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.subheading {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 15px;
  color: var(--muted);
}

.section-title {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Form */

.waitlist-form {
  margin-top: 36px;
}

.form-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
}

.email-input {
  min-width: 0;
  width: 260px;
  max-width: 340px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(6, 8, 20, 0.9);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease;
}

.email-input::placeholder {
  text-transform: lowercase;
  color: rgba(162, 164, 181, 0.7);
}

.email-input:focus {
  border-color: rgba(12, 80, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(12, 80, 255, 0.5);
  background: rgba(6, 8, 20, 1);
}

.submit-button {
  border-radius: 999px;
  border: none;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(12, 80, 255, 0.5);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background 0.16s ease, opacity 0.16s ease;
  white-space: nowrap;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(12, 80, 255, 0.6);
}

.submit-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(12, 80, 255, 0.45);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: default;
}

/* Tags / badges */

.stealth-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 10, 26, 0.92);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Sections */

.section {
  background: radial-gradient(circle at top left, var(--accent-soft), #02030a);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 32px 26px 30px;
  box-shadow: var(--shadow-soft);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 20px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(7, 9, 24, 0.96);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* CTA */

.cta {
  text-align: left;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.cta p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 48ch;
}

.secondary-button {
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Footer */

.footer {
  margin-top: 42px;
  font-size: 12px;
  color: var(--muted);
}

.nav-centered {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.mono-link {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  position: relative;
}

.mono-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.18s ease;
}

.mono-link:hover::after {
  width: 100%;
}

.footer-note {
  margin: 0;
}

/* Animations */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.65s ease forwards;
}

.fade-in-delay-1 {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.15s;
}

.fade-in-delay-2 {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.75s ease forwards;
  animation-delay: 0.3s;
}

.fade-in-delay-3 {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.45s;
}

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

/* Responsive */

@media (max-width: 720px) {
  .container {
    padding-inline: 16px;
  }

  .section {
    padding: 24px 18px 22px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .form-group {
    flex-direction: column;
    align-items: stretch;
  }

  .email-input {
    width: 100%;
    max-width: none;
  }

  .submit-button {
    width: 100%;
    justify-content: center;
  }

  .cta {
    text-align: left;
  }
}
