/* ============================================================================
   Astu Base — Typography, defaults, dark background
   Source of truth: .stitch/DESIGN.md
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-void);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-md) 0;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

h1 { font-size: var(--text-2xl); font-weight: 700; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); }

p { margin: 0 0 var(--space-lg) 0; color: var(--text-secondary); }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-primary-hover); }

code, pre, .mono {
  font-family: var(--font-mono);
}

/* Amount display */
.amount { font-family: var(--font-mono); font-weight: 600; }
.amount-lg { font-family: var(--font-mono); font-weight: 600; font-size: var(--text-3xl); }
.amount-sm { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-sm); }

/* Uppercase label */
.label-upper {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
}

/* Selection */
::selection { background: var(--color-primary); color: white; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* Focus */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(99,102,241,0.4);
}

/* Skip to content */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--color-primary); color: white;
  padding: var(--space-sm) var(--space-lg);
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Gambian flag stripe */
.flag-stripe {
  height: 3px;
  background: var(--flag-stripe);
}