:root {
  --bg: #131316;
  --bg-soft: #1a1a1e;
  --white: #f5f6f8;
  --muted: #9a9aa5;
  --cyan: #5ce1e6;
  --purple: #b78cff;
  --border: rgba(255, 255, 255, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font: 'Baloo 2', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  text-transform: lowercase;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ambient glow background */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.glow-cyan {
  width: 480px;
  height: 480px;
  background: var(--cyan);
  top: -160px;
  left: -140px;
  animation: float-a 14s ease-in-out infinite;
}

.glow-purple {
  width: 520px;
  height: 520px;
  background: var(--purple);
  bottom: -200px;
  right: -160px;
  animation: float-b 16s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.1); }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

/* hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 72px 0 56px;
  gap: 18px;
}

.eyebrow {
  color: var(--cyan);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.grad-text {
  background: linear-gradient(100deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

.notify-form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  max-width: 420px;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input {
  flex: 1 1 220px;
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font);
  text-transform: lowercase;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.notify-form input::placeholder {
  color: var(--muted);
}

.notify-form input:focus {
  border-color: var(--cyan);
}

.notify-form button {
  flex: 0 0 auto;
  background: linear-gradient(100deg, var(--cyan), var(--purple));
  color: #101012;
  border: none;
  font-family: var(--font);
  text-transform: lowercase;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.notify-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.notify-form button:active {
  transform: translateY(0);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  min-height: 18px;
}

.form-note.success {
  color: var(--cyan);
  font-weight: 600;
}

.form-note.error {
  color: #ff9b9b;
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 32px;
}

.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon[data-tone="cyan"] {
  background: rgba(92, 225, 230, 0.12);
  color: var(--cyan);
}

.feature-icon[data-tone="purple"] {
  background: rgba(183, 140, 255, 0.14);
  color: var(--purple);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
}

/* footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-social {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--cyan);
}

.dot {
  opacity: 0.5;
}

/* responsive */
@media (max-width: 760px) {
  .page {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 22px 20px;
  }

  .hero {
    padding: 40px 0 36px;
    gap: 14px;
  }

  .lede {
    font-size: 16px;
  }

  .notify-form {
    flex-direction: column;
    gap: 8px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .notify-form input,
  .notify-form button {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  .notify-form input {
    font-size: 16px;
  }

  .glow-cyan,
  .glow-purple {
    filter: blur(80px);
    opacity: 0.28;
  }
}

@media (max-width: 480px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .eyebrow {
    font-size: 13px;
  }

  .footer-social {
    gap: 16px;
  }

  .footer-social a span {
    display: none;
  }
}

@media (max-width: 340px) {
  .logo {
    font-size: 19px;
  }

  .badge {
    font-size: 11px;
    padding: 5px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .glow-cyan,
  .glow-purple {
    animation: none;
  }
}
