/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Design: dark editorial, warm amber accent
   Fonts: Syne (headings) + Satoshi (body)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  --bg:         #0c0c0e;
  --surface:    #141416;
  --border:     rgba(255,255,255,0.08);
  --accent:     #f59e0b;     /* amber */
  --accent-dim: rgba(245,158,11,0.15);
  --text:       #e8e8e8;
  --muted:      #888;
  --danger:     #f87171;
  --success:    #34d399;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ─── Utilities ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* ─── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: 100%;
}

/* Badge */
.badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.3);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 32px;
}

/* Headline */
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

/* Sub-headline */
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 48px;
}

/* ─── Waitlist form ─────────────────────────────── */
.waitlist-form {
  width: 100%;
}

.input-row {
  display: flex;
  gap: 0;
  max-width: 480px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.input-row:focus-within {
  border-color: var(--accent);
}

.input-row input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  color: var(--text);
}

.input-row input[type="email"]::placeholder {
  color: var(--muted);
}

.input-row button[type="submit"] {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 14px 22px;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.input-row button[type="submit"]:hover:not(:disabled) {
  background: #d97706;
}

.input-row button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.input-row button:hover:not(:disabled) .btn-arrow {
  transform: translateX(3px);
}

.form-hint {
  margin-top: 14px;
  font-size: 0.875rem;
  min-height: 20px;
  transition: color 0.2s ease;
}

.form-hint.success { color: var(--success); }
.form-hint.error   { color: var(--danger); }

/* ─── Decorative background ─────────────────────── */
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  /* subtle dot grid */
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* ─── Value props ───────────────────────────────── */
.value-props {
  border-top: 1px solid var(--border);
  padding: 72px 0;
  background: var(--surface);
}

.props-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.prop-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.prop-icon {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1;
}

.prop-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.prop-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── Invited badge ─────────────────────────────── */
.invited-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
  width: fit-content;
}

.invited-icon {
  font-size: 0.65rem;
}

/* ─── Confirmation card ──────────────────────────── */
.confirm-card {
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.confirm-card--visible {
  opacity: 1;
  transform: translateY(0);
}

.confirm-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--success);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 2px;
  padding: 4px 10px;
  margin-bottom: 16px;
}

.confirm-position {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.confirm-position strong {
  color: var(--accent);
}

.confirm-sub {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Referral link row */
.referral-link-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  margin-bottom: 16px;
}

.referral-link-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-family: 'Satoshi', monospace, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: text;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  border-left: 1px solid var(--border);
  padding: 11px 16px;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.copy-btn:hover {
  background: rgba(255,255,255,0.13);
}

/* Share row */
.share-row {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 4px;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.share-btn:hover { opacity: 0.85; }

.twitter-btn {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 560px) {
  .hero { padding: 80px 24px 60px; }

  .input-row {
    flex-direction: column;
    border-radius: 4px;
  }

  .input-row input[type="email"] {
    border-bottom: 1px solid var(--border);
  }

  .input-row button[type="submit"] {
    justify-content: center;
    padding: 14px;
  }

  .value-props { padding: 52px 0; }

  .footer-inner { flex-direction: column; text-align: center; }
}
