/* reaversrest.com — slate + void purple, mono headers, parchment ink. */
:root {
  --bg:      #0d0e13;
  --panel:   #15161e;
  --line:    #262838;
  --ink:     #d6d0c2;
  --dim:     #8b8798;
  --accent:  #a678e0;
  --accent2: #6d4fa0;
  --good:    #8fce6a;
  --bad:     #d0685a;
  --mono:    ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  font-size: 17px;
}
main { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }
a { color: var(--accent); }

/* --- nav --- */
nav {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
nav .brand {
  font-family: var(--mono);
  letter-spacing: 3px;
  color: #efe9da;
  text-decoration: none;
  font-size: 15px;
}
nav .links { display: flex; gap: 18px; }
nav .links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--dim);
  text-decoration: none;
  padding-bottom: 2px;
}
nav .links a:hover { color: var(--ink); }
nav .links a.on { color: var(--accent); border-bottom: 1px solid var(--accent2); }

/* --- landing header --- */
header.landing { padding: 26px 0 8px; }
.beta-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid var(--accent2);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
h1 {
  font-family: var(--mono);
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: 3px;
  color: #efe9da;
  text-wrap: balance;
}
h1.page-title { font-size: clamp(22px, 4vw, 30px); padding-top: 26px; }
.tagline { color: var(--dim); margin-top: 6px; max-width: 56ch; }

/* --- hero --- */
.hero { margin: 30px 0 8px; border: 1px solid var(--line); background: #000; line-height: 0; }
.hero img { width: 100%; height: auto; image-rendering: pixelated; }
.hero-caption { font-size: 13px; color: var(--dim); margin-bottom: 34px; font-family: var(--mono); }

.pitch { max-width: 62ch; margin: 16px 0 30px; }
.pitch strong { color: #efe9da; }

/* --- download / cta --- */
.dl-row, .cta-row { margin: 0 0 44px; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dl-btn {
  display: inline-block;
  background: var(--accent2);
  color: #f2ecff;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: 1px;
  padding: 13px 26px;
  border: 1px solid var(--accent);
  border-radius: 3px;
}
.dl-btn:hover { background: var(--accent); color: #14101f; }
.dl-meta { color: var(--dim); font-size: 14px; margin-top: 10px; }

/* --- server status pill --- */
.status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status.up .dot   { background: var(--good); box-shadow: 0 0 6px var(--good); }
.status.down .dot { background: var(--bad); }
.status.up   { color: var(--good); }
.status.down { color: var(--bad); }

/* --- sections --- */
h2 {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--accent);
  margin: 44px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
ul.features { list-style: none; }
ul.features li { padding: 5px 0 5px 22px; position: relative; max-width: 66ch; }
ul.features li::before {
  content: "◆";
  position: absolute; left: 0; top: 9px;
  color: var(--accent2); font-size: 12px;
}
ul.features b { color: #efe9da; font-weight: 600; }

ol.steps { counter-reset: step; list-style: none; max-width: 66ch; }
ol.steps li {
  counter-increment: step;
  padding: 10px 0 10px 44px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
ol.steps li:last-child { border-bottom: none; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 12px;
  width: 26px; height: 26px;
  text-align: center; line-height: 26px;
  font-family: var(--mono); font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent2);
  border-radius: 2px;
}
code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 2px;
  color: #cdbfe8;
}
.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent2);
  padding: 14px 18px;
  margin: 18px 0;
  max-width: 66ch;
  font-size: 15px;
  color: var(--dim);
}
.note b { color: var(--ink); }

/* --- markdown article --- */
article.md { max-width: 70ch; }
article.md h1, article.md h2, article.md h3 {
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 1px;
  margin: 30px 0 10px;
  border: none;
  padding: 0;
}
article.md h1 { font-size: 20px; }
article.md h2 { font-size: 17px; }
article.md h3 { font-size: 15px; color: #cdbfe8; }
article.md p, article.md li { margin: 8px 0; }
article.md ul, article.md ol { padding-left: 24px; }
article.md hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }
article.md table { border-collapse: collapse; margin: 14px 0; display: block; overflow-x: auto; }
article.md th, article.md td { border: 1px solid var(--line); padding: 6px 12px; font-size: 15px; text-align: left; }
article.md th { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--accent); }
article.md strong { color: #efe9da; }
article.md blockquote { border-left: 3px solid var(--accent2); padding-left: 14px; color: var(--dim); }

/* --- admin --- */
.admin-form { max-width: 320px; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.admin-form input, .admin-form button, form button {
  font-family: var(--mono);
  font-size: 15px;
  padding: 10px 14px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.admin-form button:hover, form button:hover { border-color: var(--accent); color: var(--accent); cursor: pointer; }
.err { color: var(--bad); font-size: 14px; }

/* --- footer --- */
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
footer a { color: var(--dim); }
footer a:hover { color: var(--accent); }
