/* c0mpute — pixel-art dark theme.
   Press Start 2P (Google Fonts) replaces the paid argent-pixel-cf Typekit face.
   Courier New for body copy (.pixel-sans). */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --bg: #000000;
  --panel: #0a0a0a;
  --panel-2: #111111;
  --accent: #80a0c1;        /* steel blue */
  --green: #22c55e;
  --red: #ef4444;
  --amber: #fcbb00;
  --card: rgba(255, 255, 255, 0.02);
  --card-hover: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.2);
  --input-border: #2a2a2a;
  --input-focus: #3a3a3a;
  --radius: 0.625rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: #fff;
  font-family: "Courier New", Monaco, Consolas, monospace;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Type classes (mirrors the original design system) ───────────────── */
.pixel-serif,
.pixel-serif-logo,
.pixel-serif-sub {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0.02em;
  image-rendering: pixelated;
}

.pixel-sans {
  font-family: "Courier New", Monaco, Consolas, monospace;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
}
.pixel-sans strong { font-weight: 700; letter-spacing: 0.03em; color: #fff; }

.dollar { font-family: "Courier New", Monaco, monospace; font-weight: 400; }
.font-mono { font-family: "Courier New", Monaco, Consolas, monospace; }

/* Logo: enlarge the "0" */
.logo .zero { font-size: 1.4em; display: inline-block; line-height: 1; vertical-align: baseline; }
.hero-logo .zero { font-size: 1.3em; }

/* ── Text color helpers ──────────────────────────────────────────────── */
.t-90 { color: rgba(255,255,255,0.9); }
.t-70 { color: rgba(255,255,255,0.7); }
.t-60 { color: rgba(255,255,255,0.6); }
.t-50 { color: rgba(255,255,255,0.5); }
.t-40 { color: rgba(255,255,255,0.4); }
.accent { color: var(--accent); }

/* ── Layout ──────────────────────────────────────────────────────────── */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header / nav (fixed pill) ───────────────────────────────────────── */
header.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 1rem 0;
}
.nav {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav .nav-left { flex: 1; display: flex; align-items: center; }
.nav .nav-center { display: flex; align-items: center; gap: 2rem; }
.nav .nav-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }
.logo {
  font-family: "Press Start 2P", monospace;
  color: #fff; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.nav a.navlink {
  font-family: "Courier New", monospace;
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem;
  letter-spacing: 0.03em; transition: color 0.15s;
}
.nav a.navlink:hover { color: #fff; }
.wallet-box {
  font-family: "Press Start 2P", monospace; font-size: 0.6rem;
  padding: 0.5rem 1rem; border: 1px solid var(--border-strong);
  border-radius: 0.5rem; color: rgba(255,255,255,0.5); background: transparent;
  cursor: pointer; transition: all 0.15s;
}
.wallet-box:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
/* Login button — pill ghost like the original */
.login-btn {
  font-family: "Courier New", Monaco, Consolas, monospace; font-size: 0.875rem;
  padding: 0.45rem 1.25rem; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px; color: #fff; background: transparent;
  cursor: pointer; transition: all 0.18s ease;
  letter-spacing: 0.02em;
}
.login-btn:hover { border-color: #fff; background: rgba(255,255,255,0.05); }
.icon-link { color: rgba(255,255,255,0.7); padding: 0.5rem; display: inline-flex; transition: color 0.15s; }
.icon-link:hover { color: #fff; }

.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; left: 50%; transform: translateX(-50%); top: 100%;
  padding-top: 0.75rem; display: none;
}
.dropdown:hover .dropdown-panel { display: block; }
.dropdown-inner {
  background: rgba(0,0,0,0.95); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 0.75rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  font-family: "Press Start 2P", monospace; font-size: 0.7rem;
  padding: 0.9rem 1.5rem; border-radius: 0.75rem; cursor: pointer;
  border: 1px solid var(--border); background: #000; color: #fff;
  transition: all 0.15s; text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center; gap: 0.5rem; line-height: 1.4;
}
.btn:hover { background: var(--card-hover); }
.btn-accent { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-accent:hover { background: rgba(128,160,193,0.9); }
.btn-white { background: #fff; color: #000; border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pixel-blast-container {
  position: absolute; inset: 0; z-index: 0;
}
.pixel-blast-container canvas { display: block; }
.hero-inner {
  position: relative; z-index: 10; text-align: center;
  max-width: 64rem; width: 100%; padding: 0 1.5rem; margin-top: -4rem;
}
.hero-logo {
  font-family: "Press Start 2P", monospace; color: #fff;
  font-size: clamp(2rem, 8vw, 4.5rem); line-height: 1.1; letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.hero-tagline { color: rgba(255,255,255,0.9); font-size: clamp(0.9rem, 2vw, 1.25rem); max-width: 36rem; margin: 0 auto 2rem; }
.prompt-form { max-width: 44rem; margin: 0 auto; display: flex; gap: 0.75rem; align-items: stretch; }
.prompt-input {
  flex: 1; font-family: "Courier New", monospace; background: #000;
  border: 1px solid var(--input-border); border-radius: 0.75rem; color: #fff;
  padding: 0.85rem 1rem; font-size: 1rem; transition: border-color 0.15s;
}
.prompt-input::placeholder { color: rgba(255,255,255,0.5); }
.prompt-input:focus { outline: none; border-color: var(--input-focus); }
.prompt-send {
  background: #000; border: 1px solid var(--input-border); border-radius: 0.75rem;
  color: #fff; padding: 0.85rem 1.1rem; cursor: pointer; display: flex; align-items: center; transition: all 0.15s;
}
.prompt-send:hover { background: var(--card-hover); }
.hero-subtext { color: rgba(255,255,255,0.7); font-size: 0.8rem; max-width: 32rem; margin: 1.5rem auto 0; }
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; cursor: pointer;
  color: rgba(255,255,255,0.5);
}
.scroll-cue span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue svg { animation: bounce 1.6s infinite; }

/* ── Sections ────────────────────────────────────────────────────────── */
section { background: #000; }
.section-pad { padding: 4rem 0; }
.section-divider { border-top: 1px solid var(--border-soft); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-family: "Press Start 2P", monospace; color: #fff; font-size: clamp(1.2rem, 4vw, 2.2rem); line-height: 1.5; }
.section-head p { color: rgba(255,255,255,0.7); margin-top: 1rem; max-width: 40rem; margin-left: auto; margin-right: auto; font-size: 0.95rem; }

/* ── Cards ───────────────────────────────────────────────────────────── */
.card {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 1rem; padding: 1.5rem; transition: background 0.15s;
}
.card:hover { background: var(--card-hover); }
.card h3 { font-family: "Press Start 2P", monospace; color: #fff; font-size: 0.95rem; line-height: 1.5; }
.card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.75rem; }

/* ── Bento grid (features) ───────────────────────────────────────────── */
.bento {
  display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 340px; gap: 1rem;
}
.bento .card { display: flex; flex-direction: column; overflow: hidden; }
.bento .span-3 { grid-column: span 3; }
.bento .span-2 { grid-column: span 2; }
.bento .illo { flex: 1; display: flex; align-items: center; justify-content: center; margin-top: 1rem; }
.bento .illo svg { max-width: 100%; max-height: 100%; }

/* ── ZERO token 3-step grid ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-num { font-family: "Press Start 2P", monospace; color: rgba(255,255,255,0.6); font-size: 1.6rem; }
.step h3 { font-family: "Press Start 2P", monospace; color: #fff; font-size: 0.85rem; margin: 1rem 0 0.75rem; line-height: 1.5; }
.step p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.link-accent { color: rgba(128,160,193,0.5); text-decoration: none; transition: color 0.15s; }
.link-accent:hover { color: var(--accent); }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 3rem 0; }
.footer-grid h4 { font-size: 0.75rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.4); margin-bottom: 0.75rem; text-transform: uppercase; }
.footer-grid a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; margin-bottom: 0.5rem; transition: color 0.15s; }
.footer-grid a:hover { color: #fff; }
.footer-logo { font-family: "Press Start 2P", monospace; color: #fff; font-size: 0.9rem; }
.footer-tagline { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 0.75rem; max-width: 14rem; }

/* ── Chat page ───────────────────────────────────────────────────────── */
.chat-wrap { max-width: 48rem; margin: 0 auto; padding: 7rem 1.5rem 8rem; min-height: 100vh; }
.tier-selector { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.tier-btn {
  font-family: "Press Start 2P", monospace; font-size: 0.6rem; padding: 0.6rem 1rem;
  border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card);
  color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.15s;
}
.tier-btn.active { border-color: var(--accent); background: rgba(128,160,193,0.1); color: var(--accent); }
.tier-meta { font-family: "Courier New", monospace; font-size: 0.7rem; }
.messages { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.msg { animation: msg-in 0.18s ease-out; max-width: 90%; }
.msg-in { animation: msg-in 0.18s ease-out; }
.msg.user { align-self: flex-end; }
.msg.assistant { align-self: flex-start; }
.msg .bubble {
  border: 1px solid var(--border); border-radius: 0.75rem; padding: 0.9rem 1.1rem;
  font-size: 0.9rem; white-space: pre-wrap; word-break: break-word;
}
.msg.user .bubble { background: rgba(128,160,193,0.1); border-color: rgba(128,160,193,0.3); }
.msg.assistant .bubble { background: var(--card); }
.msg .role { font-family: "Press Start 2P", monospace; font-size: 0.55rem; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.think-dots span { animation: thinkDot 1.4s infinite; }
.think-dots span:nth-child(2) { animation-delay: 0.2s; }
.think-dots span:nth-child(3) { animation-delay: 0.4s; }
.chat-input-row {
  position: fixed; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, #000 30%);
  padding: 1.5rem; 
}
.chat-input-inner { max-width: 48rem; margin: 0 auto; display: flex; gap: 0.75rem; }
.citation { font-size: 0.75rem; color: var(--accent); margin-top: 0.5rem; }
.citation a { color: var(--accent); }

/* ── Earn / dashboard ────────────────────────────────────────────────── */
.dash-wrap { max-width: 64rem; margin: 0 auto; padding: 8rem 1.5rem 4rem; }
.dash-title-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.dash-title-row h1 { font-family: "Press Start 2P", monospace; font-size: clamp(1.4rem, 5vw, 2.4rem); margin-bottom: 0.75rem; line-height: 1.4; }
.conn-status { font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; color: var(--accent); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; display: inline-block; }
.dot.pulsing { animation: pulse 2s infinite; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-bottom: 2.5rem; }
.status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.status-head h2 { font-family: "Press Start 2P", monospace; font-size: 1rem; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.metric {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem; background: var(--card); border: 1px solid var(--border-soft);
  border-radius: 0.75rem; min-height: 90px; text-align: center;
}
.metric .val { font-family: "Press Start 2P", monospace; font-size: 0.95rem; color: #fff; white-space: nowrap; }
.metric .lbl { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.6rem; }
.network-card h3 { font-family: "Press Start 2P", monospace; font-size: 0.85rem; margin-bottom: 0.75rem; }
.network-graph { height: 11rem; }

.earn-section h2 { font-family: "Press Start 2P", monospace; font-size: 1rem; margin-bottom: 0.5rem; }
.earn-section > p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 1.5rem; }
.worker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; align-items: stretch; }
.worker-card { display: flex; flex-direction: column; }
.worker-card.native { position: relative; border-color: rgba(128,160,193,0.4); background: rgba(128,160,193,0.06); padding: 1.75rem; }
.worker-card.browser { padding: 1.75rem; }
.badge {
  position: absolute; top: 1rem; right: 1rem; font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.25rem 0.5rem; border-radius: 0.375rem;
  background: rgba(128,160,193,0.2); color: var(--accent); border: 1px solid rgba(128,160,193,0.3);
}
.worker-card h3 { font-family: "Press Start 2P", monospace; font-size: 1rem; margin: 0.75rem 0; }
.worker-price { font-family: "Press Start 2P", monospace; font-size: 1.3rem; }
.worker-price-suffix { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.setup-steps { list-style: none; margin: 1.25rem 0; }
.setup-steps li { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 0.4rem; }
.os-tabs { display: flex; gap: 0.5rem; margin: 0.75rem 0; }
.os-tab { font-size: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 0.4rem; border: 1px solid var(--border); color: rgba(255,255,255,0.5); cursor: pointer; background: transparent; transition: all 0.15s; }
.os-tab.active { border-color: rgba(128,160,193,0.4); background: rgba(128,160,193,0.15); color: var(--accent); }
.code-block { background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.7rem; font-family: monospace; font-size: 0.75rem; color: rgba(255,255,255,0.7); word-break: break-all; }
.webgpu-status { padding: 0.4rem 0.75rem; border-radius: 0.5rem; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.5); font-size: 0.8rem; display: inline-block; }
.webgpu-status.ok { color: var(--green); border-color: rgba(34,197,94,0.3); }

/* ── Create / image page ─────────────────────────────────────────────── */
.create-wrap { max-width: 56rem; margin: 0 auto; padding: 8rem 1.5rem 4rem; }
.preset-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.preset { font-size: 0.75rem; padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card); color: rgba(255,255,255,0.6); cursor: pointer; transition: all 0.15s; }
.preset.active { border-color: var(--accent); color: var(--accent); background: rgba(128,160,193,0.1); }
.image-out { margin-top: 2rem; display: flex; justify-content: center; }
.image-out img { max-width: 100%; border: 1px solid var(--border); border-radius: 0.75rem; }
.scan-box { position: relative; overflow: hidden; border-radius: 0.75rem; }
.scan-line { position: absolute; left: 0; right: 0; height: 64px; background: linear-gradient(transparent, rgba(128,160,193,0.4), transparent); animation: img-scan 2s linear infinite; }

/* ── Staking page (matches original: login gate + info) ─────────────── */
.staking-main { padding-top: 5rem; }
.stake-gate {
  max-width: 38rem; margin: 0 auto; padding: 4rem 1.5rem 2rem;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.stake-title {
  font-family: "Press Start 2P", monospace; color: #fff;
  font-size: clamp(1.5rem, 5vw, 2.75rem); line-height: 1.3; letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.stake-title .stake-sub { color: rgba(255,255,255,0.4); font-size: 0.45em; }
.stake-body {
  color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.8;
  max-width: 30rem; margin: 0 auto 2rem;
}
.stake-login {
  width: 100%; max-width: 24rem;
  font-family: "Courier New", monospace; font-size: 1rem; font-weight: bold;
  padding: 0.9rem 1.5rem; border: none; border-radius: 9999px;
  color: #000; background: #fff; cursor: pointer; transition: all 0.18s ease;
}
.stake-login:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }
.stake-info { padding: 3rem 0 5rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 64rem; margin: 0 auto; }
.info-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: all 0.15s;
}
.info-card:hover { background: var(--card-hover); border-color: var(--border-strong); }
.info-card .info-num {
  font-family: "Press Start 2P", monospace; font-size: 1.1rem;
  color: rgba(255,255,255,0.25); margin-bottom: 1rem;
}
.info-card h3 { font-size: 0.9rem; margin-bottom: 0.75rem; }
.stake-meta { text-align: center; margin-top: 2.5rem; font-size: 0.8rem; letter-spacing: 0.05em; }

/* ── Data / Treasury pages ───────────────────────────────────────────── */
.data-main { padding-top: 5rem; }
.data-head { text-align: center; padding: 2rem 1.5rem; }
.data-head h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
.data-head p { max-width: 40rem; margin: 1rem auto 0; color: rgba(255,255,255,0.7); }
.data-live { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.8rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s ease-in-out infinite; }
.data-section { margin-top: 3rem; padding: 0 1.5rem; }
.data-sec-title { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; letter-spacing: 0.05em; }
.data-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.data-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.d-big { font-size: clamp(1rem, 3vw, 1.6rem); margin-bottom: 0.5rem; }
.chart-card { padding: 1.25rem; }
.chart-label { font-size: 0.7rem; margin-bottom: 0.75rem; }
.data-chart { width: 100%; height: auto; }
.data-chart-mini { width: 100%; height: 50px; }
.data-chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.burn-row { display: flex; gap: 1rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--border-soft); font-size: 0.8rem; flex-wrap: wrap; }
.burn-row:last-child { border-bottom: none; }
.burn-row span:first-child { min-width: 10rem; }
.data-foot { text-align: center; margin-top: 3rem; padding-bottom: 4rem; font-size: 0.75rem; }

/* Treasury hero */
.treasury-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding: 0 1.5rem; }
.th-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
.th-big { font-size: clamp(1.2rem, 3.5vw, 2rem); margin-bottom: 0.75rem; }
.th-label { color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.th-sub { font-size: 0.75rem; margin-top: 0.4rem; }
.treasury-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 2rem; padding: 0 1.5rem; }
.tg-num { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* ── Animations ──────────────────────────────────────────────────────── */
@keyframes thinkDot { 0%, 20% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes msg-in { 0% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
@keyframes img-scan { 0% { top: -64px; } 100% { top: 100%; } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes pulse { 50% { opacity: 0.5; } }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8,0,1,1); } 50% { transform: none; animation-timing-function: cubic-bezier(0,0,.2,1); } }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav .nav-center { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .span-3, .bento .span-2 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .worker-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .stake-grid { grid-template-columns: 1fr; }
  .data-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .data-grid-3 { grid-template-columns: 1fr; }
  .data-chart-row { grid-template-columns: 1fr; }
  .treasury-hero { grid-template-columns: 1fr; }
  .treasury-grid { grid-template-columns: 1fr; }
}
