:root {
  --ink: #07150d;
  --dark: #041008;
  --dark-2: #0c2717;
  --lime: #52ff0d;
  --green: #00b83f;
  --paper: #f3f8ef;
  --white: #fff;
  --muted: #56705d;
  --line: #cfe0ce;
  --danger: #c53a2e;
  --warning: #a65f00;
  --radius: 24px;
  color-scheme: light;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: white; border-radius: 8px; }
.skip:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(4, 16, 8, .94); border-bottom: 1px solid rgba(82,255,13,.25); backdrop-filter: blur(14px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand img { width: 92px; height: auto; }
.brand span { padding-left: 14px; border-left: 1px solid #54725c; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.header-link { color: #dff2e2; text-decoration: none; font-size: 13px; font-weight: 750; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 8%, rgba(82,255,13,.22), transparent 28%), linear-gradient(135deg, #031007, #0d2e1b 62%, #06170d); }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -280px; bottom: -360px; border: 1px solid rgba(82,255,13,.35); border-radius: 50%; box-shadow: 0 0 80px rgba(82,255,13,.12); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .9fr; gap: 58px; align-items: center; padding-block: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #c7efca; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 18px; font-size: clamp(46px, 6.2vw, 82px); line-height: .96; letter-spacing: -.055em; }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 650px; color: #c8d9cc; font-size: clamp(17px, 2vw, 21px); }
.reward-badge { display: inline-grid; grid-template-columns: auto auto; column-gap: 9px; align-items: end; margin: 12px 0 28px; padding: 15px 20px; color: var(--ink); background: linear-gradient(135deg, var(--lime), var(--green)); border-radius: 18px; box-shadow: 0 18px 45px rgba(30,220,57,.28); }
.reward-badge small { grid-column: 1 / -1; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.reward-badge strong { font-size: 46px; line-height: 1; letter-spacing: -.06em; }
.reward-badge span { padding-bottom: 5px; font-size: 13px; font-weight: 900; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: #b9cbbd; font-size: 12px; font-weight: 750; }
.trust-row span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(0,0,0,.18); }

.card { padding: 30px; background: #fff; border: 1px solid rgba(82,255,13,.42); border-radius: var(--radius); box-shadow: 0 30px 75px rgba(0,0,0,.34); color: var(--ink); }
.card h2 { margin-bottom: 6px; font-size: 26px; letter-spacing: -.03em; }
.card-lead { margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { font-size: 12px; font-weight: 850; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b9cdbd; border-radius: 11px; background: #fbfdfa; color: var(--ink); outline: none; }
.field textarea { min-height: 82px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,184,63,.13); }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: #3c5544; }
.check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.primary, .secondary, .danger-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 18px; border-radius: 12px; border: 0; cursor: pointer; text-decoration: none; font-weight: 900; }
.primary { background: linear-gradient(135deg, var(--lime), var(--green)); color: var(--ink); box-shadow: 0 12px 28px rgba(0,184,63,.22); }
.primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.secondary { border: 1px solid #9ab49f; background: #fff; color: #184426; }
.danger-button { background: #fff0ee; color: var(--danger); border: 1px solid #e2aaa4; }
.primary:disabled, .secondary:disabled { opacity: .55; cursor: wait; transform: none; }
.form-error { min-height: 20px; margin: 10px 0 0; color: var(--danger); font-size: 13px; font-weight: 750; }
.fine-print { margin: 12px 0 0; color: #667b6b; font-size: 11px; }

.section { padding-block: 72px; }
.section-heading { max-width: 730px; margin-bottom: 34px; }
.section-heading span { color: #11762d; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.section-heading h2 { margin: 8px 0 12px; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.section-heading p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { min-height: 230px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(24,64,36,.08); }
.step b { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 30px; border-radius: 13px; background: var(--ink); color: var(--lime); }
.step h3 { margin-bottom: 9px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.rules { background: #07140c; color: #fff; }
.rules-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.rules h2 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1; letter-spacing: -.05em; }
.rules h2 em { color: var(--lime); font-style: normal; }
.rule-list { display: grid; gap: 12px; }
.rule-item { display: flex; gap: 12px; padding: 17px 18px; border: 1px solid #2c4b35; border-radius: 15px; background: #0d2416; }
.rule-item span { flex: 0 0 auto; color: var(--lime); font-weight: 950; }
.rule-item p { margin: 0; color: #d0ddd2; }
.faq { display: grid; gap: 11px; }
.faq details { padding: 0 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { padding: 18px 0; cursor: pointer; font-weight: 850; }
.faq details p { color: var(--muted); }
.footer { padding: 34px 0; background: #030a06; color: #9fb0a3; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: #d8e5da; }

.legal-main { padding: 58px 0 80px; }
.legal-card { max-width: 900px; margin: auto; padding: clamp(24px,5vw,58px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 20px 55px rgba(22,58,31,.09); }
.legal-card h1 { font-size: clamp(39px,6vw,65px); color: var(--ink); }
.legal-card h2 { margin-top: 38px; font-size: 23px; }
.legal-card li, .legal-card p { color: #405847; }
.legal-card li { margin-bottom: 9px; }
.version { display: inline-block; padding: 7px 10px; border-radius: 999px; background: #e8f7e4; color: #17642b; font-size: 11px; font-weight: 850; }

.success-card { display: none; padding: 28px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 30px 75px rgba(0,0,0,.3); }
.success-card.is-visible { display: block; }
.success-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 19px; border-radius: 17px; background: #ddffd2; color: #08772a; font-size: 26px; font-weight: 950; }
.code-box { display: grid; gap: 7px; margin: 20px 0; padding: 18px; border: 1px dashed #6ba478; border-radius: 14px; background: #eef9ea; }
.code-box small { color: #55705c; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.code-box strong { font-size: 30px; letter-spacing: .04em; }
.link-row { display: flex; gap: 8px; }
.link-row input { min-width: 0; flex: 1; padding: 11px; border: 1px solid #b9cdbd; border-radius: 10px; background: #f7faf6; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.referral-hero .hero-grid { grid-template-columns: .78fr 1.22fr; }
.referrer-chip { display: inline-flex; padding: 8px 12px; margin-bottom: 18px; border: 1px solid #50865a; border-radius: 999px; background: rgba(82,255,13,.1); color: #dfffe3; font-size: 12px; font-weight: 850; }
.status-note { padding: 12px 14px; border-radius: 11px; background: #f1f7ef; color: #3a5942; font-size: 13px; }

@media (max-width: 900px) {
  .hero-grid, .referral-hero .hero-grid, .rules-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 48px; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-copy { max-width: 760px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 22px, 1180px); }
  .header-inner { min-height: 66px; }
  .brand span { display: none; }
  h1 { font-size: 47px; }
  .card { padding: 22px 18px; border-radius: 20px; }
  .form-grid, .steps { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .section { padding-block: 52px; }
  .step { min-height: auto; }
  .step b { margin-bottom: 20px; }
  .link-row { display: grid; }
  .actions > * { width: 100%; }
}
