:root {
  --bg: #0b1020;
  --panel: #151b2e;
  --panel-2: #1d2540;
  --text: #e8ecf7;
  --muted: #9aa4c4;
  --accent: #6d8bff;
  --accent-2: #4f6bff;
  --border: #2a3350;
  --radius: 12px;
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, #16203f, transparent), var(--bg);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 15px;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.lede {
  color: var(--muted);
  font-size: 20px;
  max-width: 620px;
  margin: 0 auto 32px;
}

.btn {
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  cursor: pointer;
  transition:
    transform 0.05s ease,
    opacity 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: white;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

section {
  padding: 64px 0;
}

section h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card,
.price-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h3,
.price-card h3 {
  margin-top: 0;
}

.price {
  font-size: 34px;
  font-weight: 800;
  margin: 8px 0 12px;
}

.price-card.highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.signup-form {
  display: grid;
  gap: 16px;
  max-width: 440px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.signup-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.signup-form input {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
}

.signup-form input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* BUG #1 lives here: the referral wrapper is hidden, but its input is required. */
.referral-wrapper {
  display: none;
}

.signup-success {
  color: #6ee7a8;
  font-weight: 600;
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
