/* AfricaOne developer preview — hand-written CSS, no framework, no bundler (matches @ao/status).
   Color roles match apps/web/src/styles.css's "African Glass" tokens (docs/design/
   AFRICAONE_DESIGN_SYSTEM.md) so this public page reads as the same product, without pulling
   in Tailwind or the web app's font pipeline for three static pages. */
:root {
  --bg: #faf3e6;
  --surface: #fffaf1;
  --surface-2: #f3e5cc;
  --text: #1d1611;
  --text-muted: #5c4a3c;
  --border: #1d1611;
  --primary: #b03d18;
  --on-primary: #ffffff;
  --accent: #f2a93b;
  --focus: #1f3a68;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16110d;
    --surface: #221a14;
    --surface-2: #2f241b;
    --text: #f7ecdb;
    --text-muted: #c9b59d;
    --border: #f7ecdb;
    --primary: #ef7a4b;
    --on-primary: #16110d;
    --accent: #f4b54d;
    --focus: #f4b54d;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
}
.skip:focus {
  inset-inline-start: 1rem;
  top: 1rem;
  background: var(--surface);
  padding: 0.5rem;
}

a {
  color: var(--primary);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.site-header,
main,
.site-footer {
  max-width: 48rem;
  margin-inline: auto;
  padding: 1.5rem 1.25rem;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid var(--surface-2);
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.preview-banner {
  margin: 1.5rem 1.25rem 0;
  max-width: 48rem;
  margin-inline: auto;
  padding: 0.75rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-weight: 600;
}

h1 {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
th,
td {
  text-align: start;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--surface-2);
  vertical-align: top;
}
th {
  background: var(--surface-2);
}

.swatch {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 0.2rem;
  border: 1px solid var(--border);
  vertical-align: middle;
  margin-inline-end: 0.4rem;
}
/* One fixed swatch per documented color role (design.html) -- not theme-reactive by design,
   since the table is describing the current light-theme reference values literally. */
.swatch-bg {
  background: #faf3e6;
}
.swatch-surface {
  background: #fffaf1;
}
.swatch-text {
  background: #1d1611;
}
.swatch-muted {
  background: #5c4a3c;
}
.swatch-primary {
  background: #b03d18;
}
.swatch-onprimary {
  background: #ffffff;
  border-color: #1d1611;
}
.swatch-accent {
  background: #f2a93b;
}
.swatch-focus {
  background: #1f3a68;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.site-footer {
  border-top: 1px solid var(--surface-2);
  color: var(--text-muted);
  font-size: 0.9rem;
}
