:root {
  --bg-1: #0c0510;
  --bg-2: #17091a;
  --line: rgba(255, 255, 255, 0.16);
  --text: #fff3f8;
  --muted: #dbc7d1;
  --accent-1: #ff4e86;
  --accent-2: #ffaf51;
  --ok: #35d489;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: Outfit, system-ui, sans-serif;
  background:
    radial-gradient(circle at 11% 15%, rgba(255, 94, 147, 0.35), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(255, 176, 81, 0.25), transparent 33%),
    radial-gradient(circle at 75% 80%, rgba(255, 88, 140, 0.2), transparent 40%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  min-height: 100vh;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 45%, #000 48%, transparent 88%);
}

.shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 20px 0 50px;
}

.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.brand {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.top-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 14px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 2px solid #ffdbe8;
  outline-offset: 2px;
}

.btn:hover { transform: translateY(-1px); }

.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  border-color: transparent;
}

.hero {
  padding: clamp(22px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-bottom: 34px;
}

.kicker {
  margin: 0 0 10px;
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 11px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ffe4ef;
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  margin: 0;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(102deg, #ffd4e6 10%, #ff79ae 48%, #ffbb73 84%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subcopy {
  margin: 0 0 16px;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.hero-note {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  align-self: start;
}

.hero-note h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
}

.section { margin-bottom: 34px; }

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 12px;
}

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

.features { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.feature {
  padding: 16px;
}

.step-no {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
}

.card h3,
.feature h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.card p,
.feature p,
.form-copy,
.hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-wrap {
  padding: clamp(18px, 3vw, 30px);
}

.form-wrap h2 { margin-bottom: 8px; }
.form-copy { margin-bottom: 16px; }

#early-access-form {
  display: grid;
  gap: 12px;
}

.field { display: grid; gap: 6px; }

label {
  font-size: 14px;
  font-weight: 600;
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(13, 7, 16, 0.6);
  color: #fff;
  padding: 11px 12px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hint {
  font-size: 13px;
}

.error {
  min-height: 18px;
  font-size: 13px;
  color: #ffb3ca;
}

.submit-btn {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.form-state {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
}

.form-state.error { color: #ffb3ca; }
.form-state.loading { color: #ffe2a8; }

.success-state {
  margin-top: 14px;
  border: 1px solid rgba(53, 212, 137, 0.45);
  border-radius: 14px;
  background: rgba(53, 212, 137, 0.12);
  padding: 14px;
}

.success-state h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ok);
}

.success-state p { margin: 0; color: #d2f6e6; }

.footer {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0 2px;
}

.footer a {
  color: #f4d9e4;
  text-decoration: none;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-actions,
  .top-actions .btn,
  .cta {
    width: 100%;
  }

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