*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #0f0f1a; color: #e2e8f0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.landing { text-align: center; padding: 40px 24px; }
.logo { font-size: 48px; margin-bottom: 16px; cursor: default; }
.domain { font-size: 28px; font-weight: 700; color: #a78bfa; letter-spacing: -0.02em; margin-bottom: 12px; }
.tagline { color: #4b5563; font-size: 15px; }

/* Payment modal */
#payment-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal-card {
  background: #1a1a2e;
  border-radius: 12px;
  padding: 32px;
  width: 360px;
  max-width: 90vw;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #6b7280;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: #e2e8f0; }
.modal-title { font-size: 18px; color: #e2e8f0; margin-bottom: 4px; }
.modal-price { color: #6b7280; font-size: 13px; margin-bottom: 20px; }
.modal-error { color: #f87171; font-size: 13px; min-height: 18px; margin-bottom: 4px; }
.modal-field { margin-bottom: 16px; }
.modal-field label { display: block; color: #9ca3af; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.modal-field input { width: 100%; padding: 8px 12px; background: #0f0f1a; border: 1px solid #374151; border-radius: 4px; color: #e2e8f0; font-size: 14px; font-family: inherit; outline: none; }
.modal-field input:focus { border-color: #7c3aed; }
#pay-btn { width: 100%; padding: 10px; background: #7c3aed; color: #fff; border: none; border-radius: 4px; font-size: 14px; font-family: inherit; cursor: pointer; margin-top: 4px; }
#pay-btn:hover:not(:disabled) { background: #6d28d9; }
#pay-btn:disabled { opacity: 0.6; cursor: default; }

/* Consent checkbox */
.consent-label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; margin-bottom: 12px; }
.consent-label input[type="checkbox"] { margin-top: 3px; accent-color: #7c3aed; flex-shrink: 0; }
.consent-label span { font-size: 12px; color: #9ca3af; line-height: 1.5; }
.consent-label a { color: #a78bfa; text-decoration: none; }
.consent-label a:hover { text-decoration: underline; }

/* Site footer */
.site-footer { position: fixed; bottom: 0; left: 0; right: 0; text-align: center; padding: 10px; font-size: 11px; color: #6b7280; }
.site-footer a { color: #9ca3af; text-decoration: none; margin: 0 6px; }
.site-footer a:hover { color: #a78bfa; }

/* Legal pages — override body flex alignment */
body.legal { align-items: flex-start; }
.legal-page { max-width: 680px; width: 100%; padding: 48px 24px 80px; }
.legal-page .back-link { display: inline-block; color: #6b7280; font-size: 13px; text-decoration: none; margin-bottom: 32px; }
.legal-page .back-link:hover { color: #a78bfa; }
.legal-page h1 { font-size: 22px; color: #e2e8f0; margin-bottom: 8px; }
.legal-page .updated { color: #6b7280; font-size: 12px; margin-bottom: 32px; }
.legal-page h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: #6b7280; margin: 28px 0 8px; }
.legal-page p, .legal-page li { font-size: 14px; color: #9ca3af; line-height: 1.75; }
.legal-page ul { padding-left: 20px; margin-top: 4px; }
.legal-page li { margin-bottom: 4px; }
.legal-page strong { color: #c4b5fd; font-weight: 600; }
.legal-page a { color: #a78bfa; text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
