:root {
  --bg: #0b1420;
  --bg-alt: #0f1c2b;
  --surface: #142334;
  --surface-border: #223347;
  --text: #eef2f7;
  --text-muted: #9fb0c3;
  --accent: #f2a354;
  --accent-strong: #f6b877;
  --accent-contrast: #142334;
  --danger: #ff8a8a;
  --success: #7ce0b3;
  --radius: 14px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 0 0 12px;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

a {
  color: var(--accent-strong);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 20, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  min-width: 0;
}

.brand-mark-img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.nav-cta {
  text-decoration: none;
  color: var(--accent-contrast);
  background: var(--accent-strong);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(circle at 20% 0%, rgba(242, 163, 84, 0.16), transparent 55%),
              radial-gradient(circle at 90% 10%, rgba(242, 163, 84, 0.1), transparent 50%);
}

.hero-inner {
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 14px;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

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

.btn-primary {
  background: var(--accent-strong);
  color: var(--accent-contrast);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: transparent;
  border-color: var(--surface-border);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* Sections */
section {
  padding: 64px 0;
  border-top: 1px solid var(--surface-border);
}

.section-lede {
  max-width: 640px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
}

.align-center {
  align-items: center;
}

@media (max-width: 760px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 22px;
}

.card-compact {
  padding: 20px;
}

.card-compact p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.card.highlight {
  background: linear-gradient(160deg, rgba(242, 163, 84, 0.16), rgba(242, 163, 84, 0.05));
}

.highlight-label {
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* Icon badge, used on problem/how-it-works cards */
.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(242, 163, 84, 0.14);
  color: var(--accent);
  margin-bottom: 14px;
}

.icon-badge svg {
  width: 21px;
  height: 21px;
}

/* Checkmark list, used in the "why join early" card */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--accent);
  flex-shrink: 0;
}

.disclaimer {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-left: 3px solid var(--surface-border);
  padding-left: 14px;
}

/* Signup */
.signup {
  background: var(--bg-alt);
}

.signup-inner {
  max-width: 560px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

input[type="email"]:focus,
textarea:focus {
  outline: 2px solid var(--accent-strong);
  outline-offset: 1px;
}

/* Honeypot: hidden from sighted/real users, still reachable by bots that blind-fill forms */
.form-row-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.form-success {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.form-success .icon-badge-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.form-success .icon-badge-lg svg {
  width: 26px;
  height: 26px;
}

.form-success h3 {
  margin-bottom: 6px;
}

.form-success p {
  margin: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .nav-inner {
    padding: 10px 18px;
  }

  .brand-tagline {
    display: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  section {
    padding: 44px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}
