:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --elevated: #212121;
  --border: #2a2a2a;
  --gold: #e3b23c;
  --gold-dim: #b88f2e;
  --text: #f2f2f2;
  --text-muted: #9a9a9a;
  --success: #3ecf6e;
  --danger: #e2574c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.cage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      135deg,
      rgba(227, 178, 60, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(45deg, rgba(227, 178, 60, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
}

.wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 120%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px 32px 36px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(227, 178, 60, 0.05);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 140%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(
    closest-side,
    rgba(227, 178, 60, 0.16),
    transparent 70%
  );
  pointer-events: none;
}

.hero-logo {
  position: relative;
  width: min(200px, 48vw);
  height: auto;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 36px rgba(227, 178, 60, 0.25));
}

.headline {
  position: relative;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: #cfcfcf;
}

.headline-accent {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(227, 178, 60, 0.4);
}

.subcopy {
  position: relative;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 0 20px;
}

.subcopy-cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 32px;
}

.signup-form {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 14px 0 6px;
}

.field-label:first-of-type {
  margin-top: 0;
}

.optional-tag {
  text-transform: none;
  font-weight: 500;
  letter-spacing: normal;
  color: #6b6b6b;
}

.about-input {
  resize: vertical;
  min-height: 72px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  padding: 12px 14px;
  outline: none;
}

.about-input::placeholder {
  color: #6b6b6b;
}

.about-input:focus {
  border-color: var(--gold-dim);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.email-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  padding: 13px 14px;
}

.email-input::placeholder {
  color: #6b6b6b;
}

.email-input:focus {
  border-color: var(--gold-dim);
}

.email-input:disabled {
  opacity: 0.6;
}

.cta-button {
  margin-top: 20px;
  width: 100%;
  background: linear-gradient(180deg, #f0c15a, var(--gold));
  color: #1a1304;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: 0 8px 28px -8px rgba(227, 178, 60, 0.55);
  transition: box-shadow 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
}

.cta-button:hover:not(:disabled) {
  box-shadow: 0 10px 34px -6px rgba(227, 178, 60, 0.7);
}

.cta-button:active:not(:disabled) {
  transform: scale(0.98);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: default;
}

.cta-button.is-loading .cta-label {
  opacity: 0.6;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.form-message.is-success {
  color: var(--success);
}

.form-message.is-error {
  color: var(--danger);
}

.fine-print {
  font-size: 13px;
  color: #6b6b6b;
  margin: 16px 0 0;
}

.footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5a5a5a;
  font-size: 13px;
  padding-top: 16px;
}

