/* Base skeleton. Redesign per project from the logo: change the tokens below first, then fonts, art and layout.
   Performance rules (phones under viral traffic):
   - animate only transform and opacity; never box-shadow, background-position, left/top, width/height, filter
   - no full-screen animated layers (grain, moving grids); keep textures static
   - every looping animation lives in a section that pauseOffscreen() watches (.offscreen pauses it) */
:root {
  --bg: #07080a; --bg2: #0e1014; --card: #12151a; --line: rgba(255, 255, 255, .09);
  --text: #f2f4f7; --mute: #9aa3ad; --accent: #d7ff2f; --accent-ink: #0b0d02; --ok: #3ddc84; --warn: #ffb547;
  --r: 18px; --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --f-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --f-display: var(--f-body); --f-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--f-body); overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 70% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), var(--bg); }

.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--f-display); }
.brand img { border-radius: 50%; }
.nav-r { display: flex; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; font: 600 12.5px/1 var(--f-mono); color: var(--mute); }
.chip b { color: var(--text); }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 700 15px/1 var(--f-body); text-decoration: none; transition: transform .2s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn:disabled, .btn.wait { opacity: .6; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn.big { width: 100%; padding: 18px 22px; font-size: 17px; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.offscreen, .offscreen * { animation-play-state: paused !important; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 40px 0 60px; color: var(--mute); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
