/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;1,9..144,300;1,9..144,600&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500&display=swap');

/* ─── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --bg:          #0c0b09;
  --bg-card:     #141310;
  --border:      rgba(255,255,255,0.07);
  --accent:      #f0a500;
  --accent-dim:  rgba(240,165,0,0.12);
  --text:        #e8e4dc;
  --muted:       #7a7468;
  --ff-display:  'Fraunces', Georgia, serif;
  --ff-body:     'Satoshi', 'Helvetica Neue', Helvetica, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  /* Subtle grain texture */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240,165,0,0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ─── Layout shell ────────────────────────────────────────────────────────── */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Badge ───────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-dim);
  border: 1px solid rgba(240,165,0,0.25);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 4rem;
}

.hero__badge { margin-bottom: 2rem; }

.hero__headline {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw + 1rem, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f4f0e8;
  margin-bottom: 1.25rem;
}

/* Italic accent on key phrase via JS injection */
.hero__headline em {
  font-style: italic;
  color: var(--accent);
}

.hero__subhead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* ─── Form ────────────────────────────────────────────────────────────────── */
.form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.form__input {
  flex: 1 1 220px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form__input::placeholder { color: var(--muted); }

.form__input:focus {
  border-color: rgba(240,165,0,0.4);
  background: rgba(255,255,255,0.07);
}

.form__btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #0c0b09;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.form__btn:hover  { background: #ffb820; transform: translateY(-1px); }
.form__btn:active { transform: translateY(0); }

.form__btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
}

/* Status messages */
.form__status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  min-height: 1.2em;
  transition: opacity 0.2s ease;
}
.form__status--success { color: #4ade80; }
.form__status--error   { color: #f87171; }

/* ─── Divider ─────────────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3.5rem 0;
}

/* ─── Benefits ────────────────────────────────────────────────────────────── */
.benefits__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.benefits__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.benefits__item:hover { border-color: rgba(240,165,0,0.2); }

.benefits__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(240,165,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.benefits__icon::after {
  content: '';
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(40deg) translate(-1px, -1px);
}

.benefits__text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__name {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}

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

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .form { flex-direction: column; }
  .form__btn { width: 100%; }
  .hero { padding: 4rem 0 3rem; }
}
