/* RewardGPT brand system v2 (2026-10-08) — dark, ember accent, Geist. Shared by every page.
   Page CSS (home.css, airdrop.css, claim.css, manage.css) builds on these tokens and components. */
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/geist.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/geist-mono.woff2) format("woff2"); }

:root {
  --bg: #0a0a0b; --bg-1: #0f0f11; --bg-2: #141417; --bg-3: #1b1b1f;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14); --line-3: rgba(255,255,255,.22);
  --text: #ededed; --text-2: #a1a1aa; --muted: #6e6e78;
  --ember: #ff6a1a; --ember-2: #ff8f52; --ember-soft: rgba(255,106,26,.12); --ember-glow: rgba(255,106,26,.38); --on-ember: #160800;
  --danger: #ff5c5c;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --pill: 999px;
  --ease: cubic-bezier(.2,.8,.2,1); --ease-out: cubic-bezier(.16,1,.3,1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--ember); color: var(--on-ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap { padding-left: 18px; padding-right: 18px; } }

/* ---------- type ---------- */
.h-display { font-weight: 560; font-size: clamp(44px, 7.2vw, 104px); line-height: .98; letter-spacing: -.05em; margin: 0; }
.h-1 { font-weight: 560; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; margin: 0; }
.h-2 { font-weight: 560; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; margin: 0; }
.h-3 { font-weight: 560; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-2); margin: 0; }
.dim { color: var(--muted); }
.em { color: var(--ember); }
.label { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--ember); box-shadow: 0 0 12px var(--ember-glow); }
.label.plain::before { display: none; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-head.scrolled { background: rgba(10,10,11,.72); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line); }
.site-nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.035em; flex: none; }
.brand img { width: 26px; height: 26px; }
.brand > span { color: var(--muted); margin-left: -10px; } /* flex gap must not split the wordmark */
.brand b { font-weight: 600; } .brand b span { color: var(--muted); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: var(--pill); font-size: 14px; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: rgba(255,255,255,.05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-new { font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--ember); margin-left: 6px; }
@media (max-width: 960px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: var(--pill); border: 1px solid transparent; font-weight: 500; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .3s, transform .2s var(--ease); background: none; }
.btn:active { transform: scale(.98); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--ember); color: var(--on-ember); box-shadow: 0 0 0 1px rgba(255,140,80,.4) inset, 0 8px 30px -8px var(--ember-glow); }
.btn-primary:hover { background: var(--ember-2); box-shadow: 0 0 0 1px rgba(255,170,120,.5) inset, 0 10px 40px -6px var(--ember-glow); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255,255,255,.06); }
.btn-white { background: var(--text); color: #0a0a0b; }
.btn-white:hover { background: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 var(--ember-glow); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--ember-glow); } 70% { box-shadow: 0 0 0 8px rgba(255,106,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,26,0); } }

/* ---------- surfaces ---------- */
.card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 28px; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 13px; color: var(--text-2); background: rgba(255,255,255,.02); }
.chip.ember { border-color: rgba(255,106,26,.35); color: var(--ember-2); background: var(--ember-soft); }
.tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); color: var(--text); flex: none; }
.tile svg { width: 20px; height: 20px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- inputs ---------- */
.field { display: block; }
.field > span { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.input { display: flex; align-items: center; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-1); transition: border-color .2s, box-shadow .2s; }
.input:focus-within { border-color: rgba(255,106,26,.6); box-shadow: 0 0 0 4px rgba(255,106,26,.12); }
.input input, .input select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 16px; font-size: 15px; }
.input .pre { padding-left: 16px; color: var(--muted); font-family: var(--mono); }
.input.pre-on input { padding-left: 6px; }
.input.bad { border-color: rgba(255,92,92,.6); }
input::placeholder { color: #55555e; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 13.5px; }
.site-foot .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; align-items: center; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); padding: 12px 18px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); font-size: 14px; z-index: 80; transition: transform .35s var(--ease-out); max-width: calc(100vw - 32px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.toast.on { transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(255,92,92,.5); }

/* ---------- motion helpers ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
