:root {
  --ink: #0b1017;
  --panel: #161d27;
  --panel-light: #202a37;
  --line: #344153;
  --text: #f7fafc;
  --text-muted: #a7b5c5;
  --green: #36e07a;
  --green-dark: #25b963;
  --green-soft: #123c28;
  --gold: #ffc857;
  --danger: #ff6873;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, input { font: inherit; }

.site-shell { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: 24px;
}
.wordmark {
  color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 23px;
  font-weight: 700; letter-spacing: 2px; text-decoration: none;
}
.wordmark span { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-muted); font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  min-height: 46px; padding: 12px 19px; border: 1px solid transparent;
  border-radius: 12px; background: var(--green); color: #07120d;
  font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer;
}
.button:hover { background: #51e68b; }
.button-outline { background: transparent; border-color: var(--line); color: var(--text); }
.button-danger { background: var(--danger); color: #210609; }
.button:disabled { cursor: not-allowed; opacity: .55; }

.hero {
  position: relative; overflow: hidden; padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 560px; height: 560px;
  top: -310px; right: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 224, 122, .24), transparent 68%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: 1.25px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; line-height: 1.1; }
h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 7vw, 76px); letter-spacing: -2.4px; }
h1 .accent { color: var(--green); }
.hero-copy { max-width: 600px; margin: 24px 0 32px; color: var(--text-muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; color: var(--text-muted); font-size: 13px; }

.section { padding: 76px 0; }
.section-muted { background: #0e151e; border-block: 1px solid var(--line); }
.section-heading { max-width: 660px; margin-bottom: 34px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -1.2px; }
.section-heading p { margin: 0; color: var(--text-muted); }
.grid { display: grid; gap: 16px; }
.grid-three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.card-icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 17px;
  border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.reward-card { background: linear-gradient(135deg, #163322, var(--panel)); }
.reward-card strong { color: var(--gold); }

.legal-page { max-width: 780px; padding: 52px 0 86px; }
.legal-page h1 { font-size: clamp(36px, 5vw, 52px); }
.legal-page .effective { margin: 12px 0 46px; color: var(--text-muted); font-size: 14px; }
.legal-page h2 { margin-top: 42px; font-size: 21px; }
.legal-page p, .legal-page li { color: var(--text-muted); }
.legal-page strong { color: var(--text); }
.legal-page a { color: var(--green); }
.legal-page ul { padding-left: 22px; }

.form-shell { max-width: 470px; padding: 52px 0 86px; }
.form-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.form-card h1 { font-size: 31px; letter-spacing: -1px; }
.form-card p { color: var(--text-muted); }
label { display: block; margin: 18px 0 7px; color: var(--text-muted); font-size: 12px; font-weight: 800; letter-spacing: .7px; }
input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 11px; outline: none; background: var(--panel-light); color: var(--text);
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(54,224,122,.12); }
.form-error { margin: 12px 0 0; color: var(--danger) !important; font-size: 13px; }
.notice { margin: 20px 0; padding: 14px; border: 1px solid rgba(255,104,115,.4); border-radius: 12px; background: rgba(255,104,115,.08); color: #ffd8dc; font-size: 14px; }
.hidden { display: none !important; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 13px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 700px) {
  .site-shell { width: min(var(--max-width), calc(100% - 32px)); }
  .site-header { min-height: 68px; }
  .site-nav { gap: 13px; }
  .site-nav a:not(.button) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 58px 0; }
  .grid-three { grid-template-columns: 1fr; }
  .footer-content { align-items: flex-start; flex-direction: column; }
}
