/*
 * Shared stylesheet for the standalone content pages in public/.
 *
 * These pages are served straight from public/ and never pass through Vite,
 * so they cannot link the app's hashed bundle — the tokens below are a copy of
 * the ones in src/styles.css. Keep them in step if the palette changes.
 */
:root {
  --bg: #101014;
  --panel: #18181f;
  --panel-2: #1f1f28;
  --border: #2a2a35;
  --text: #e8e8ee;
  --text-dim: #9a9aa8;
  --accent: #3ddc84;
  --accent-dim: #2aa864;
  font-size: 15px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-dim);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.page-header a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background:
    conic-gradient(#fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 10px 10px,
    var(--accent);
  opacity: 0.9;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.2rem 0;
}

h1 {
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0 0 0.8rem;
}
h2 {
  color: var(--text);
  font-size: 1.15rem;
  margin: 2.2rem 0 0.6rem;
}
h3 {
  color: var(--text);
  font-size: 0.95rem;
  margin: 1.4rem 0 0.3rem;
}
p { margin: 0 0 0.9rem; }
strong { color: var(--text); font-weight: 600; }
.lead { font-size: 1.05rem; }
ol, ul { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.5rem; }
a { color: var(--accent); }

.cta {
  display: inline-block;
  margin: 0.6rem 0 1.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  background: var(--accent);
  color: #0c1a12;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.cta:hover { background: #4ee694; }

.table-scroll { overflow-x: auto; margin-bottom: 1rem; }
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 32rem;
  font-size: 0.85rem;
}
th, td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { color: var(--text); font-weight: 600; }
tbody td:first-child { color: var(--text); white-space: nowrap; }

pre {
  background: #0c0c10;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  color: var(--text);
}
p > code {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05rem 0.3rem;
  font-size: 0.85em;
}

.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dim);
  background: var(--panel);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin: 1.2rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.site-footer {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  text-align: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin-bottom: 0.7rem;
}
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { margin: 0; }
