:root {
  --bg: #070b16;
  --bg-soft: #0b1020;
  --text: #f7f8fb;
  --muted: #aeb7ca;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #8b7cff;
  --cyan: #5ee7df;
  --blue: #6aa8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: rgba(139, 124, 255, 0.4);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 88%);
}

.glow {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.26;
  z-index: -2;
  animation: drift 12s ease-in-out infinite alternate;
}

.glow-one {
  top: -18rem;
  right: -10rem;
  background: #5d4dff;
}

.glow-two {
  bottom: -24rem;
  left: -14rem;
  background: #19b8c9;
  animation-delay: -4s;
}

.site-header,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
}

.brand-mark span {
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 20px rgba(94, 231, 223, 0.18);
}

.brand-mark span:nth-child(1) { height: 14px; }
.brand-mark span:nth-child(2) { height: 24px; }
.brand-mark span:nth-child(3) { height: 18px; }

.header-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.header-link:hover {
  color: var(--text);
}

.hero {
  width: min(920px, calc(100% - 40px));
  margin: auto;
  padding: 72px 0 96px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #d7dcef;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(94, 231, 223, 0.09), 0 0 18px rgba(94, 231, 223, 0.8);
}

h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.3rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.22rem);
  line-height: 1.7;
}

.notify-form {
  width: min(560px, 100%);
  margin: 38px auto 0;
}

.input-wrap {
  display: flex;
  gap: 10px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--text);
  font: inherit;
}

input::placeholder {
  color: #818ca2;
}

button {
  border: 0;
  border-radius: 11px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #8c7cff, #6e8fff);
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(110, 143, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(110, 143, 255, 0.38);
}

button:active {
  transform: translateY(0);
}

.form-note {
  margin: 12px 0 0;
  color: #7f899c;
  font-size: 0.84rem;
}

.site-footer {
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.075);
  color: #778195;
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(35px, 22px, 0) scale(1.08); }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero {
    width: min(100% - 28px, 100%);
  }

  .site-header {
    padding-top: 20px;
  }

  .hero {
    padding: 62px 0 72px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .input-wrap {
    flex-direction: column;
    padding: 8px;
  }

  input {
    min-height: 52px;
  }

  button {
    width: 100%;
  }

  .site-footer {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
