/* Same tokens as companion/theme.py ("warm"): one neutral ramp, three text roles, one accent. */
:root {
  --deep: #12110f; --page: #161513; --card: #1c1a18; --raised: #262421;
  --text: #efe9de; --text2: #aaa398; --muted: #8a847a; --hair: rgba(239, 233, 222, 0.08);
  --accent: #f2c14e;
  --font: "Franklin Gothic Medium", "Franklin Gothic", "Libre Franklin", "Arial Narrow", Arial, sans-serif;
  --mono: Consolas, "Cascadia Mono", Menlo, "DejaVu Sans Mono", monospace;
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.5 var(--font); }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.bar { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 20px 32px; }
.mark { font-size: 18px; }
.bar nav { display: flex; gap: 24px; font-size: 15px; }
.bar nav a { color: var(--text2); }

main { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
h1 { font-weight: 400; font-size: 52px; line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 24px; max-width: 13em; }
h2 { font-weight: 400; font-size: 28px; line-height: 1.15; margin: 0 0 8px; }
.lead { color: var(--text2); font-size: 18px; line-height: 1.6; max-width: 34rem; margin: 0 0 16px; }
.sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

.hero { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; padding: 64px 0 96px; }
.facts { margin: 32px 0 0; border-top: 1px solid var(--hair); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-size: 15px; }
.status { margin: 16px 0 0; color: var(--muted); font-size: 14px; max-width: 34rem; }
.status code { font-family: var(--mono); font-size: 12px; color: var(--text2); word-break: break-all; }
.get { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 32px 0 0; }
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 8px;
  background: var(--accent); color: #12110f; font-size: 16px; transition: background-color 150ms cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover { color: #12110f; background: #f6d07a; }
.btn:active { transform: scale(0.98); }
.meta { color: var(--muted); font-family: var(--mono); font-size: 13px; }

.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--hair); border-radius: 14px; }
.overlay img { background: #0b0b0d; }

.features { padding: 0 0 96px; }
.features h2 { margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--hair); }
.grid > div { padding: 24px 0; border-bottom: 1px solid var(--hair); }
h3 { font-weight: 400; font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.grid p { margin: 0; color: var(--text2); font-size: 15px; line-height: 1.6; }

.first { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; padding: 0 0 96px; }
.first .facts { margin-top: 24px; }

.story, .support { max-width: 40rem; padding: 0 0 64px; }
.story p, .support p { color: var(--text2); font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.story .sign { color: var(--muted); font-size: 15px; }
.support { padding-bottom: 96px; }

.board { padding: 0 0 96px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 400; color: var(--muted); font-size: 13px; padding: 8px 12px; border-bottom: 1px solid var(--hair); }
td { padding: 12px; border-bottom: 1px solid var(--hair); }
.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; }
th.num { font-family: var(--font); }
.dim { color: var(--text2); }
tbody tr:first-child .name { color: var(--accent); }

footer { max-width: 1200px; margin: 0 auto; padding: 32px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 13px; }
footer p { margin: 0 0 8px; }
footer a { color: var(--text2); }

.doc { max-width: 44rem; padding: 48px 0 96px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 20px; margin-top: 40px; }
.doc p, .doc li { color: var(--text2); }
.doc ul { padding-left: 20px; }

@media (max-width: 900px) {
  .bar, main, footer { padding-left: 16px; padding-right: 16px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 32px 0 64px; }
  .overlay { max-width: 360px; }
  h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .facts div { grid-template-columns: 96px 1fr; }
  .grid { grid-template-columns: 1fr; }
  .first { grid-template-columns: 1fr; gap: 32px; }
  th:nth-child(3), td:nth-child(3), th:nth-child(4), td:nth-child(4) { display: none; }
}
