/* chimology.app — tokens copied from the app (app/CLAUDE.md → Design tokens). Monochrome only. */
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url(fonts/space-grotesk-400Regular.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(fonts/space-grotesk-500Medium.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-700Bold.woff2) format('woff2'); }
@font-face { font-family: 'Press Start 2P'; font-weight: 400; font-display: swap; src: url(fonts/press-start-2p.woff2) format('woff2'); }

:root {
  --ink: #0b0b0c; --paper: #faf9f7; --line: #d9d7d3; --mid: #8f8c86;
  --g1: #eceae5; --g5: #65615b;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --pixel: 'Press Start 2P', ui-monospace, monospace;
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.px { font-family: var(--pixel); font-weight: 400; letter-spacing: 0; }
.pixelated { image-rendering: pixelated; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.tag { display: inline-block; font: 10px/1 var(--pixel); padding: 6px 7px; border: 1.5px solid var(--ink); border-radius: 4px; }
.tag.solid { background: var(--ink); color: var(--paper); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px;
  border-radius: var(--r); font: 700 17px/1 var(--sans); text-decoration: none; border: 1.5px solid var(--ink); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.muted { color: var(--g5); }
.soon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--g5); }
.soon b { font-weight: 500; color: var(--ink); }

/* Shared page frame */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1.5px solid var(--line); }
.brand { font: 14px/1 var(--pixel); text-decoration: none; }
.top nav a { margin-left: 22px; font-weight: 500; text-decoration: none; font-size: 15px; color: var(--g5); }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a:not(:last-child) { display: none; } }
.foot { border-top: 1.5px solid var(--ink); margin-top: 96px; padding: 22px 0 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 15px; }
.foot a { margin-right: 20px; text-decoration: none; font-weight: 500; }
.foot small { color: var(--g5); font-size: 14px; }
.stores { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 10px; font-weight: 700; text-decoration: none; }

/* Text pages (privacy, support) */
.prose { max-width: 680px; padding-top: 48px; }
.prose h1 { font: 700 clamp(34px, 5vw, 48px)/1.05 var(--sans); letter-spacing: -0.02em; margin: 0 0 14px; }
.prose h2 { font: 700 22px/1.25 var(--sans); margin: 40px 0 10px; }
.prose p, .prose li { margin: 0 0 12px; }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 8px 10px 0; border-bottom: 1.5px solid var(--line); }
.prose th { font-weight: 700; }
.note { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 14px 16px; font-size: 15px; }
