.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 20px 0 12px;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-badge {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--accent); background: var(--surface-2);
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border);
}
.hero-copy h1 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); line-height: 1.14; margin: 14px 0; letter-spacing: -0.02em; }
.hero-lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.metric strong { display: block; font-size: 1.15rem; color: var(--text); }
.metric span { font-size: 0.8rem; color: var(--muted); }

.hero-terminal {
  background: var(--term-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.07); }
.terminal-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-bar .red { background: #ef4444; }
.terminal-bar .yellow { background: #f59e0b; }
.terminal-bar .green { background: #10b981; }
.terminal-title { margin-left: 8px; font-size: 0.78rem; color: #94a3b8; font-family: monospace; }
.terminal-code {
  margin: 0; padding: 16px; background: var(--term-bg); color: var(--term-fg);
  border-radius: 10px; overflow-x: auto; line-height: 1.5;
}

.section-gap { margin-top: 48px; }
.section-head { margin-bottom: 18px; }
.section-head h1, .section-head h2, .page-title { margin: 0 0 6px; font-size: 1.55rem; }
.section-head p { margin: 0; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card-elevated { box-shadow: var(--shadow); }
.card-featured { border-color: var(--accent); }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.card-foot { margin-top: 16px; }

.price-tag { font-size: 1.75rem; font-weight: 800; margin: 8px 0 12px; }
.price-tag span { font-size: 0.88rem; font-weight: 500; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 9px; padding: 9px 16px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; border: 1px solid transparent; transition: 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-sm { padding: 6px 12px; font-size: 0.83rem; }
.btn-icon { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 5px 9px; cursor: pointer; }
.inline-form { display: inline; margin: 0; }

.balls-row { display: flex; flex-wrap: wrap; gap: 5px; }
.ball {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-weight: 800; font-size: 0.8rem; color: var(--text);
}
.ball-bonus { background: var(--gold); color: #fff; border-color: transparent; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { background: var(--surface-2); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.muted-xs { font-size: 0.78rem; color: var(--muted); }
.jp-val { color: var(--accent); }

.field { margin-bottom: 13px; }
label { display: block; font-size: 0.83rem; font-weight: 700; margin-bottom: 5px; color: var(--muted); }
input, select {
  width: 100%; padding: 9px 11px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 0.9rem;
}

.status-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.st-verified { background: var(--ok-bg); color: var(--ok-fg); }
.st-pending_review { background: var(--warn-bg); color: var(--warn-fg); }

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 0.92rem; font-weight: 600; }
.alert-ok { background: var(--ok-bg); color: var(--ok-fg); }
.alert-warn { background: var(--warn-bg); color: var(--warn-fg); }
.endpoint-list { padding-left: 18px; margin: 0 0 14px; }
.endpoint-list li { margin-bottom: 6px; }
