/* Shelfcrawler site: the app's style B tokens (app/src/theme.ts), light and dark. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f6f4f1; --surface: #ffffff; --ink: #141414; --muted: #6f6f6f; --line: #ebe7e2;
  --accent: #d0603a; --accent-ink: #ffffff; --accent-soft: #f8e4db;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #151515; --surface: #212121; --ink: #f1eee8; --muted: #9a958c; --line: #33322f; --accent: #ef8a63; --accent-ink: #1a0f0a; --accent-soft: #3a2720; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
h1, h2, h3 { font-family: "Bricolage Grotesque", Inter, system-ui, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 8vw, 52px); margin: 8px 0 12px; }
h2 { font-size: 26px; margin: 40px 0 8px; }
h3 { font-size: 19px; margin: 24px 0 4px; }
p, li { max-width: 65ch; }
a { color: var(--accent); text-underline-offset: 3px; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

header.top { display: flex; align-items: center; gap: 10px; max-width: 720px; margin: 0 auto; padding: 16px 16px 0; }
header.top a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 700; font-size: 20px; }
header.top img { width: 36px; height: 36px; border-radius: 9px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 12px; }
.hero .text { flex: 1 1 300px; }
.hero img { width: min(220px, 60vw); height: auto; margin: 0 auto; }
.lead { font-size: 20px; color: var(--muted); margin: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 20px 22px; margin: 16px 0; }
.card h3 { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.pill { display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 12px 22px; font-weight: 600; text-decoration: none; }
.pill.soft { background: var(--accent-soft); color: var(--accent); }
ol.steps { padding-left: 1.3em; }
ol.steps li { margin: 6px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }

footer { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; }
