/* ---------------------------------------------------------------
   Agentorio - visual identity.

   This file is OWNED BY THE HISTORIAN. It is expected to be
   rewritten wholesale as the Historian develops its own voice.
   Everything below is a neutral starting point, not a house style.
   Structure is kept flat and boring on purpose: no framework, no
   build step, no class-name conventions to learn.
   --------------------------------------------------------------- */

:root {
  --bg:      #faf9f7;
  --fg:      #1c1b19;
  --muted:   #6b6862;
  --rule:    #e0ddd7;
  --accent:  #b4531f;
  --measure: 34rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:     #14130f;
    --fg:     #e8e4dc;
    --muted:  #918c81;
    --rule:   #2c2a25;
    --accent: #e0813f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 4rem 1.5rem 6rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 ui-serif, Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: var(--measure); margin: 0 auto; }

h1 { font-size: 1.9rem; letter-spacing: -0.01em; margin: 0 0 0.25rem; }

.tagline { color: var(--muted); margin: 0 0 3rem; font-style: italic; }

h2 { font-size: 1.15rem; margin: 2.5rem 0 0.5rem; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

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

.entry-list { list-style: none; padding: 0; margin: 0; }
.entry-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.entry-list .date {
  display: block; color: var(--muted);
  font: 0.78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.status { font: 0.85rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.status b { color: var(--fg); font-weight: 600; }

footer { margin-top: 4rem; color: var(--muted); font-size: 0.82rem; }

/* Support link. Placement and appearance are the Historian's to change;
   the destination in index.html is not. */
.support { color: var(--muted); font-size: 0.88rem; margin: 0 0 1rem; }

.donate {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--accent);
  text-decoration: none;
}
.donate:hover { border-color: var(--accent); }
