/* Noosfera TAO — Design System v2.0 */

/* ── Tokens ── */
:root {
  --bg: #0A0E1A;
  --bg-panel: #111827;
  --bg-card: #151B2B;
  --bg-input: rgba(15, 20, 35, 0.6);
  --text: #C9D1D9;
  --text-heading: #F0F3F9;
  --text-muted: #6B7A90;
  --primary: #00D4AA;
  --primary-hover: #00E8BC;
  --primary-fg: #021A14;
  --primary-glow: rgba(0, 212, 170, 0.12);
  --accent: #8B5CF6;
  --accent-glow: rgba(139, 92, 246, 0.12);
  --gold: #D4A853;
  --jade: #00C97B;
  --cyan: #0EA5E9;
  --destructive: #EF4444;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  --max-w: 1200px;
  --header-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--text-heading); line-height: 1.15; }
code { font-family: var(--font-mono); font-size: 0.85em; }

/* ── Typography ── */
.h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
.h3 { font-size: 1.25rem; font-weight: 700; }
.h4 { font-size: 1rem; font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-jade { color: var(--jade); }
.text-cyan { color: var(--cyan); }
.text-center { text-align: center; }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-brand img, .header-brand svg {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.header-brand span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.04);
}
.header-nav a.active { color: var(--primary); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--text-muted);
}

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
  background: var(--primary-glow);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.2);
}
.btn-outline {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-heading);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 212, 170, 0.25);
  background: var(--primary-glow);
  color: var(--primary);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--border-strong); }
.card-lift:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 170, 0.15);
}
.glass {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

/* ── Stat Card ── */
.stat { text-align: center; padding: 1.25rem 1rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Token Card ── */
.token-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.token-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}
.token-card.ntao::before { background: linear-gradient(135deg, rgba(212, 168, 83, 0.3), transparent 60%); }
.token-card.tierra::before { background: linear-gradient(135deg, rgba(0, 201, 123, 0.3), transparent 60%); }
.token-card.mar::before { background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), transparent 60%); }
.token-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.token-info { display: flex; align-items: center; gap: 0.75rem; }
.token-info img { width: 48px; height: 48px; border-radius: 50%; }
.token-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.token-sub { font-size: 0.8125rem; color: var(--text-muted); }
.token-role {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  white-space: nowrap;
}
.token-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-top: 1rem; flex: 1; }
.token-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.625rem 0.875rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.token-address code {
  font-size: 0.6875rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.token-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.token-footer a {
  color: var(--primary);
  font-weight: 600;
  transition: opacity 0.2s;
}
.token-footer a:hover { opacity: 0.8; }

/* ── Terminal ── */
.terminal {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dots span:nth-child(1) { background: #EF4444; }
.terminal-dots span:nth-child(2) { background: #EAB308; }
.terminal-dots span:nth-child(3) { background: #22C55E; }
.terminal-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); }
.terminal-body {
  padding: 1.25rem;
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.8;
}
.terminal-body p { margin-bottom: 0.25rem; }
.terminal-body .user { color: var(--primary); font-weight: 600; }
.terminal-body .system { color: var(--text-muted); }
.terminal-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--border);
}
.terminal-form input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  outline: none;
  transition: border-color 0.2s;
}
.terminal-form input:focus { border-color: var(--primary); }
.terminal-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0 1rem 0.875rem;
}
.prompt-pill {
  font-size: 0.6875rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
}
.prompt-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

/* ── Node Card ── */
.node-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.node-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-glow);
  color: var(--primary);
  flex-shrink: 0;
}
.node-card h4 { font-size: 0.9375rem; font-weight: 600; }
.node-card p { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-top: 0.125rem; }
.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-left: auto;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Roadmap ── */
.phase-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.phase-tag.done { color: var(--primary); }
.phase-tag.active { color: var(--primary); }
.phase-tag.future { color: var(--accent); }
.phase-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.phase-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.phase-item svg { flex-shrink: 0; margin-top: 2px; }
.card.phase-active {
  border-color: rgba(0, 212, 170, 0.2);
  box-shadow: 0 0 30px var(--primary-glow);
}
.card.phase-future { opacity: 0.6; }

/* ── Founder ── */
.founder-card { display: flex; gap: 2rem; align-items: flex-start; }
.founder-card img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
}
.founder-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.2s;
}
.founder-link:hover { color: var(--primary); border-color: var(--primary); }

/* ── Method Cards ── */
.method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-glow);
  color: var(--primary);
  margin: 0 auto 0.75rem;
}

/* ── Forms ── */
.input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.input:focus { border-color: var(--primary); }
.select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7A90' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s;
}
.select:focus { border-color: var(--primary); }
.label { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.375rem; }
.field { margin-bottom: 1rem; }

/* ── Toggle Group ── */
.toggle-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
}
.toggle-btn {
  padding: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: capitalize;
  color: var(--text-muted);
  transition: all 0.2s;
}
.toggle-btn.active { background: var(--primary); color: var(--primary-fg); }
.toggle-btn.active-sell { background: var(--destructive); color: #fff; }

/* ── Pill Selector ── */
.pill {
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
}
.pill:hover { border-color: var(--primary); color: var(--primary); }
.pill.active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ── Copy Button ── */
.copy-btn {
  color: var(--primary);
  padding: 0.25rem;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.copy-btn:hover { opacity: 0.7; }

/* ── Footer ── */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: rgba(10, 14, 26, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img, .footer-brand svg { width: 32px; height: 32px; border-radius: 50%; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-heading); }
.footer-desc { margin-top: 1rem; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.7; max-width: 360px; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-heading);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--primary); }

/* ── Trading specific ── */
.chart-area {
  background: rgba(10, 15, 30, 0.5);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-top: 1.25rem;
}
.order-summary {
  padding: 0.875rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.875rem;
}
.order-row { display: flex; justify-content: space-between; align-items: center; }
.order-row + .order-row { margin-top: 0.375rem; }
.trade-log-empty {
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trade-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

/* ── Chatbot Panel ── */
.chat-panel {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 50;
  width: 340px;
  max-height: 480px;
  display: none;
  flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 340px;
  min-height: 200px;
}
.chat-msg { display: flex; gap: 0.5rem; }
.chat-msg.outgoing { justify-content: flex-end; }
.chat-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.chat-bubble {
  max-width: 85%;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.chat-bubble.incoming { background: rgba(255, 255, 255, 0.04); border-top-left-radius: 4px; }
.chat-bubble.outgoing { background: var(--primary-glow); border-top-right-radius: 4px; }
.chat-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px var(--primary-glow);
  transition: transform 0.2s;
}
.chat-fab:hover { transform: scale(1.08); }

/* ── Animations ── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* ── Document pages (privacy, terms) ── */
.doc-content { max-width: 760px; margin: 0 auto; }
.doc-content section { margin-bottom: 2.5rem; }
.doc-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--text-heading); margin-bottom: 0.75rem; }
.doc-content p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }
.doc-content ul { padding-left: 1.5rem; list-style: disc; font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }
.doc-content li { margin-bottom: 0.25rem; }
.doc-content a { color: var(--primary); }
.doc-content a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .founder-card { flex-direction: column; gap: 1.25rem; }
  .section { padding: 3rem 0; }
  .h1 { font-size: 2rem; }
  .container { padding: 0 1rem; }
  .badge { display: none; }
  .terminal-prompts { display: none; }
}
@media (max-width: 480px) {
  .stat-value { font-size: 1.25rem; }
}
