:root {
  --bg: #07100c;
  --bg-2: #0c1a14;
  --card: #0f1f18;
  --line: #1d3429;
  --ink: #effbf3;
  --muted: #9cb8a8;
  --mint: #86efac;
  --green: #5fcb88;
  --deep: #1c3a31;
  --white: #ffffff;
  --warn: #fbbf24;
  --bad: #f87171;
  --r: 18px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(134, 239, 172, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(95, 203, 136, .08), transparent 60%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
b { font-weight: 700; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); margin: 0 0 18px; }
.narrow { max-width: 680px; }
.fine { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.link { color: var(--mint); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(134, 239, 172, .35); }
.link:hover { border-color: var(--mint); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(134, 239, 172, .18); margin-right: 8px; vertical-align: 1px; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(134, 239, 172, 0); } }

main { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0 0; }
.h2 { font: 800 clamp(30px, 4.4vw, 46px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 10px; }
.h3 { font: 700 18px/1.2 var(--display); margin: 0 0 14px; }
.h3--gap { margin-top: 26px; }
.kicker { font: 600 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mint); margin: 0 0 18px; }
.label { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 12px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(7, 16, 12, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 52, 41, .7);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--display); }
.nav { display: flex; gap: 22px; margin-left: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.top__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: 500 13px var(--mono); cursor: pointer; text-decoration: none;
}
.chip:hover { border-color: var(--green); }
.chip__k { color: var(--mint); font-weight: 700; }
.chip--icon { width: 38px; padding: 0; justify-content: center; }

/* ---------- buttons: the primary one is a capsule, half green, half white ---------- */
.btn {
  display: inline-flex; align-items: stretch; height: 54px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn--pill { box-shadow: 0 0 0 3px var(--deep), 0 10px 30px -10px rgba(134, 239, 172, .55); }
.btn--pill:hover { transform: translateY(-2px) rotate(-1deg); }
.btn--pill span { display: flex; align-items: center; padding: 0 20px; }
.btn--pill span:first-child { background: var(--green); color: #082015; padding-left: 26px; border-right: 3px solid var(--deep); }
.btn--pill span:last-child { background: var(--white); color: #0b1f16; padding-right: 26px; }
.btn--ghost { align-items: center; padding: 0 24px; color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--mint); color: var(--mint); }
.btn--sm { height: 42px; font-size: 14px; }
.btn--sm.btn--pill span:first-child { padding-left: 18px; }
.btn--sm.btn--pill span:last-child { padding-right: 18px; }
.btn--sm.btn--pill span { padding: 0 13px; }
.btn--sm.btn--ghost { padding: 0 18px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-top: 56px; overflow-x: clip; overflow-clip-margin: 0; }
.hero h1 { font: 800 clamp(58px, 9vw, 112px)/.92 var(--display); letter-spacing: -.04em; margin: 0 0 22px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #cfe6d8; max-width: 560px; margin: 0 0 30px; }
.lede b { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats div { background: var(--bg-2); padding: 14px 16px; }
.stats dt { font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.stats dd { margin: 0; font: 700 20px/1.1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up { color: var(--mint); } .down { color: var(--bad); }

.hero__art { position: relative; margin: 0; display: grid; justify-items: center; }
.hero__art img {
  width: min(440px, 80vw); height: auto; aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 6px var(--deep), 0 0 0 7px rgba(134, 239, 172, .4), 0 40px 120px -30px rgba(134, 239, 172, .6);
  animation: float 6s ease-in-out infinite;
  cursor: grab;
}
.hero__art figcaption { margin-top: 26px; font: 500 13px var(--mono); color: var(--muted); }
.orbit { position: absolute; inset: -24px; margin: auto; width: min(500px, 92vw); aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(134, 239, 172, .25); animation: spin 40s linear infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: relative; }
.step__n { font: 700 13px var(--mono); color: #082015; background: var(--mint); border-radius: 999px; padding: 4px 10px; }
.step h3 { font: 700 20px/1.2 var(--display); margin: 18px 0 8px; }
.step p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.step p b { color: var(--ink); font-weight: 600; }

/* ---------- cards & forms ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.sign { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; align-items: start; }
.sign__card { background: linear-gradient(180deg, #11251c, var(--card)); }
.sign:has(> #me[hidden]) { grid-template-columns: minmax(0, 760px); }
.field { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 560px; }
.field:focus-within { border-color: var(--green); }
.field__at { color: var(--muted); font: 600 17px var(--mono); }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: 500 17px var(--body); padding: 10px 0; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 22px 0 14px; max-width: 560px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wallets { display: flex; gap: 10px; flex-wrap: wrap; }
.status { min-height: 1.5em; margin: 16px 0 0; font-weight: 600; }
.status.ok { color: var(--mint); } .status.err { color: var(--bad); }

.me { text-align: center; border-color: rgba(134, 239, 172, .4); background: radial-gradient(400px 200px at 50% 0, rgba(134, 239, 172, .12), var(--card)); }
.me__num { font: 800 84px/1 var(--display); letter-spacing: -.03em; color: var(--mint); }
.me__name { font: 700 20px var(--body); margin: 6px 0 18px; }
.me__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.check .card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 24px; align-items: center; }
.check .h3 { margin: 0; }
.checklist { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.checklist .ci { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ci span { display: block; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.ci b { font: 700 16px var(--mono); }
.ci.good b { color: var(--mint); } .ci.bad b { color: var(--bad); }
.checklist .payouts { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }

/* ---------- rewards ---------- */
.rw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.vault__big { font-size: clamp(40px, 6vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--mint); }
.vault__usd { color: var(--muted); margin: 8px 0 18px; font-family: var(--mono); min-height: 1.5em; }
.rows { margin: 0; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.rows dt { color: var(--muted); } .rows dd { margin: 0; text-align: right; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.board { list-style: none; padding: 0; margin: 0; counter-reset: b; }
.board li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.board li:first-child { border-top: 0; }
.board li em { font: normal 600 14px var(--mono); color: var(--mint); white-space: nowrap; }
.board a { text-decoration: none; }
.board a:hover { color: var(--mint); }
.none { color: var(--muted); justify-content: flex-start !important; }

/* ---------- wall ---------- */
.wall__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.goal { min-width: 300px; padding: 16px 18px; }
.goal__top { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.goal__top b { color: var(--ink); }
.goal__bar { height: 12px; border-radius: 999px; background: var(--bg); overflow: hidden; border: 1px solid var(--line); }
.goal__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green) 50%, var(--white) 50%); background-size: 24px 100%; border-radius: 999px; transition: width .6s ease; }
.wall__tools { display: flex; gap: 12px; margin: 22px 0 18px; flex-wrap: wrap; }
.wall__tools input { flex: 1; min-width: 200px; max-width: 360px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); padding: 0 18px; font: 500 15px var(--body); outline: 0; }
.wall__tools input:focus { border-color: var(--green); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { background: transparent; color: var(--muted); border: 0; padding: 0 16px; height: 39px; font: 600 14px var(--body); cursor: pointer; }
.seg button.on { background: var(--mint); color: #082015; }
.wall__body { display: grid; grid-template-columns: 1fr 300px; gap: 18px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
.tile { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; animation: pop .35s ease both; min-width: 0; }
.tile:hover { border-color: var(--green); transform: translateY(-2px); }
.tile img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--deep); background: var(--bg); }
.tile.off img { filter: grayscale(1) opacity(.5); }
.tile__n { font: 700 12px var(--mono); color: var(--mint); }
.tile__u { font-size: 13px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile__e { font: 600 11px var(--mono); color: var(--muted); }
.badge { position: absolute; top: 8px; right: 8px; font: 700 9px var(--mono); text-transform: uppercase; letter-spacing: .04em; background: var(--white); color: #0b1f16; border-radius: 999px; padding: 2px 6px; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }
.empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; text-align: center; }
.side { display: grid; gap: 18px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.feed li:first-child { border-top: 0; }
.feed em { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; }
.more { margin: 22px auto 0; display: flex; }

/* ---------- faq & footer ---------- */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 19px/1.3 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--mint); font: 700 22px var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 720px; }
.foot { max-width: 1180px; margin: 80px auto 0; padding: 30px 20px 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--white); color: #0b1f16; font-weight: 700; padding: 12px 20px; border-radius: 999px; transition: all .25s ease; z-index: 50; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .hero__art { order: -1; }
  .hero__art img { width: min(300px, 70vw); }
  .orbit { width: min(350px, 82vw); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sign, .rw, .wall__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  section { padding-top: 56px; }
  .top { gap: 10px; padding: 10px 16px; }
  .brand span { display: none; }
  #caChip { display: none; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .check .card { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .btn { height: 50px; font-size: 15px; }
  .btn--sm { height: 42px; font-size: 14px; }
  .field input { font-size: 16px; }
  .field .btn--sm.btn--pill span { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
