/* Styles for the static guide pages (served from /public, no JavaScript). */
:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #0f766e;
  --panel: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --text: #e8eaed;
    --muted: #a0a7b0;
    --border: #2c2f33;
    --accent: #2dd4bf;
    --panel: #1c1c1c;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.65 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}
.site-header,
main,
.site-footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  max-width: none;
}
.brand {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.cta {
  background: var(--accent);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
main {
  padding-top: 32px;
  padding-bottom: 32px;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}
h2 {
  font-size: 1.4rem;
  margin: 2.2rem 0 0.4rem;
}
h3 {
  font-size: 1.1rem;
  margin: 1.4rem 0 0.2rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
}
a {
  color: var(--accent);
}
code {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.9em;
}
li {
  margin: 0.3rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.cta-box {
  margin-top: 2.5rem;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}
.site-footer {
  padding-top: 16px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}
.site-footer ul {
  padding-left: 1.2rem;
}

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 1rem 0;
}
.symbol-grid figure {
  margin: 0;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}
.symbol-grid img {
  display: block;
  width: 100%;
  height: auto;
}
.symbol-grid figcaption {
  font-size: 14px;
  color: var(--muted);
}
