:root {
  --bg: #070a13;
  --surface: #0e1322;
  --surface-2: #161e35;
  --accent: #00d4ff;
  --accent-2: #7c3aed;
  --text: #f1f5f9;
  --mute: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --danger: #ef4444;
  --ok: #34d399;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0, 212, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100dvh;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.stage {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 55% 50% at 78% 18%, rgba(124, 58, 237, 0.16), transparent 62%),
    radial-gradient(ellipse 60% 55% at 12% 82%, rgba(0, 212, 255, 0.1), transparent 58%),
    var(--bg);
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 20%, transparent 78%);
}

.copy,
.card {
  position: relative;
  z-index: 1;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 2rem;
}

.logo svg {
  height: 36px;
  width: auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 .grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 36ch;
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.5;
  color: var(--mute);
}

.trust {
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.55);
}

.card {
  background: rgba(14, 19, 34, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 1.2rem;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mute);
}

input,
textarea {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 212, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: #061018;
  background: linear-gradient(135deg, var(--accent), #5eead4);
  cursor: pointer;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.22);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.msg {
  min-height: 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.msg.error {
  color: #fca5a5;
}

.msg.ok {
  color: var(--ok);
}

.foot {
  position: absolute;
  left: clamp(2rem, 6vw, 5rem);
  bottom: 1.4rem;
  z-index: 1;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.75);
}

.notfound {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.notfound h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.notfound p {
  color: var(--mute);
  max-width: 36ch;
}

.notfound a.btn {
  width: auto;
  margin-top: 1.4rem;
  padding-inline: 1.4rem;
  text-decoration: none;
  color: #061018;
}

@media (max-width: 860px) {
  .stage {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem 4.5rem;
    align-content: center;
  }

  .lede {
    max-width: none;
  }

  .foot {
    left: 1.25rem;
    right: 1.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .copy,
  .card {
    animation: rise 700ms ease-out both;
  }

  .card {
    animation-delay: 80ms;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
