/* Grid402 landing page -- dark energy-grid theme (direction: Angel, 2026-10-02). */

:root {
  --bg: #0a0e14;
  --text: #e6edf3;
  --accent: #2dd4ef;      /* cyan -- UI chrome, links, ticker frame */
  --accent-2: #f5a623;    /* amber -- live price values only */
  --success: #3fb950;     /* reused x402 success green -- status badge */
  --muted: #8b98a5;       /* secondary text, timestamps, captions */
  --border: #1c2430;

  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --font-sans: -apple-system, "Segoe UI", Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  margin: 0;
  min-height: 100vh;
  line-height: 1.6;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.wordmark {
  display: block;
  margin-bottom: 2rem;
}

p {
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.ticker, .price-value, code, pre {
  font-family: var(--font-mono);
}

.ticker-frame {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: #0d1420;
}

.ticker-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.ticker-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.price-value {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 1.6rem;
}

.ticker-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.status-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.status-badge.live .dot {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.status-badge.live {
  color: var(--success);
}

.status-badge.error .dot {
  background: #f85149;
}

.status-badge.error {
  color: #f85149;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
