/* Verjuice site — no frameworks, no webfonts, no external requests.
   The privacy promise (docs/privacy.md) applies to the site too:
   nothing here phones home, and there is no analytics script. */

:root {
  --bg: #14161a;
  --panel: #1c1f25;
  --text: #e8e6e1;
  --muted: #a5a49e;
  --accent: #7aa95c;
  --accent-dark: #5d8746;
  --line: #2c3038;
  --warn: #d9a441;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem 4rem; }

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  margin-bottom: 2.5rem;
}
header.site .wrap {
  display: flex; align-items: baseline; gap: 1.5rem;
  padding-bottom: 0;
}
header.site .brand {
  font-weight: 700; font-size: 1.15rem; color: var(--text);
  text-decoration: none; letter-spacing: 0.01em;
}
header.site nav a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem;
  margin-right: 1.1rem;
}
header.site nav a:hover { color: var(--text); }

h1 { font-size: 2rem; line-height: 1.25; margin: 0 0 0.75rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 0.4rem; }
p { margin: 0.6rem 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 44rem; }

.dl-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.6rem 0 0.4rem; }
.btn {
  display: inline-block; padding: 0.7rem 1.3rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  border: 1px solid var(--line);
}
.btn.primary { background: var(--accent); color: #10130c; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.secondary { color: var(--text); background: var(--panel); }
.btn.secondary:hover { border-color: var(--muted); }
.btn .sub { display: block; font-weight: 400; font-size: 0.8rem; opacity: 0.75; }

table { border-collapse: collapse; width: 100%; margin: 0.8rem 0 1.4rem; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em; background: var(--panel); padding: 0.1rem 0.35rem;
  border-radius: 4px; color: var(--text);
}
pre {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.8rem 1rem; overflow-x: auto; font-size: 0.88rem; line-height: 1.5;
}
pre code { background: none; padding: 0; }

.note {
  border-left: 3px solid var(--warn); background: var(--panel);
  padding: 0.7rem 1rem; border-radius: 0 8px 8px 0; margin: 1rem 0;
  font-size: 0.95rem;
}
.note.ok { border-left-color: var(--accent); }

.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.outcome { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.outcome h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.outcome p { margin: 0; color: var(--muted); font-size: 0.92rem; }

footer.site {
  border-top: 1px solid var(--line); margin-top: 3.5rem; padding: 1.2rem 0 0;
  color: var(--muted); font-size: 0.88rem;
}
footer.site .wrap { padding-bottom: 0; }
