/* radio-rian — plain document styling, a subtle green cast.
   Serif, narrow measure, rules instead of boxes. No JavaScript. */

:root {
  --paper:  #eef4ea;   /* faint sage */
  --ink:    #1e241f;   /* near-black, green-grey */
  --muted:  #5a655b;
  --accent: #3a7d4d;   /* moss/green */
  --accent-dark: #2e5d3a;
  --rule:   #b9ccb6;
  --rule-soft: #d6e2d3;
  --warn:   #8a6400;
  --warn-bg: #f6efd6;
  --warn-edge: #cbb26a;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 17px;
  max-width: 780px;
  margin: 30px auto;
  padding: 0 18px;
  line-height: 1.55;
}

a:link    { color: var(--accent-dark); }
a:visited { color: var(--accent-dark); }
a:hover   { color: var(--accent); }

h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 1.9em; margin-bottom: 0; }
h2 { font-size: 1.28em; margin-top: 1.7em; border-bottom: 1px solid var(--rule); padding-bottom: 3px; }
h3 { font-size: 1.06em; margin-top: 1.4em; }

/* Header with the kerbstone mark */
.masthead { display: flex; align-items: center; gap: 14px; }
.masthead img { width: 52px; height: 52px; flex: none; }
.site-title-link { text-decoration: none; color: inherit; }
.tagline { color: var(--muted); font-style: italic; margin: 2px 0 0; }

nav {
  margin: 16px 0;
  padding: 7px 0;
  border-top: 1px solid var(--accent-dark);
  border-bottom: 1px solid var(--accent-dark);
}
nav ul { list-style: none; padding: 0; margin: 0; }
nav ul li { display: inline; margin-right: 15px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }

/* A standing caveat, not decoration. Stays until the review passes are done. */
.provisional {
  border: 1px solid var(--warn-edge);
  background: var(--warn-bg);
  padding: 9px 13px;
  margin: 18px 0;
  font-size: 0.93em;
}
.provisional strong { color: var(--warn); }

/* Headline figures the reader reads off. */
.stat-row { margin: 16px 0; }
.stat-row dt {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 1.5em; color: var(--accent-dark); margin-top: 10px;
}
.stat-row dd { margin: 0 0 6px 0; color: var(--muted); font-style: italic; }

table { border-collapse: collapse; width: 100%; font-size: 0.9em; margin: 16px 0; }
th, td { text-align: left; padding: 5px 9px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
th { border-bottom: 1px solid var(--rule); font-weight: 700; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.code { font-family: "SF Mono", Menlo, Consolas, monospace; white-space: nowrap; }

.scroll { overflow-x: auto; }
figure { margin: 20px 0; }
figure img, figure svg { max-width: 100%; height: auto; border: 1px solid var(--rule); background: #fff; }
figcaption { color: var(--muted); font-style: italic; font-size: 0.9em; margin-top: 6px; }

code, pre { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; }
pre { background: #e6efe3; padding: 10px 12px; overflow-x: auto; border-left: 3px solid var(--accent); }
blockquote { margin: 14px 0; padding-left: 14px; border-left: 3px solid var(--rule); color: var(--muted); }

hr { border: none; border-top: 1px solid var(--rule); margin: 26px 0; }

footer {
  margin-top: 40px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 0.88em; color: var(--muted);
}
footer a { color: var(--accent-dark); }
