/* Restoration Revenue Digest, samaltman-blog style.
   White page, plain sans-serif, red post-title links. */

:root {
  --ink: #333;
  --faded: #999;
  --red: #CC0000; /* brand red per CONTENT-STYLE-GUIDE 2026-08-02 addendum */
  --rule: #eee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
  -webkit-font-smoothing: antialiased;
}

/* ---- site header ---- */

.site-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.site-title a {
  color: #000;
  text-decoration: none;
}

.tagline {
  color: var(--faded);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  margin-bottom: 3.5rem;
}

/* ---- posts (full text, stacked, like blog.samaltman.com) ---- */

article {
  margin-bottom: 4rem;
}

/* post title: h2 on the index, h1 on post pages */
.post-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

/* the main content header: red clickable link */
.post-title a {
  color: var(--red);
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

article .date {
  display: block;
  color: var(--faded);
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}

article p {
  margin-bottom: 1.1rem;
}

article a {
  color: var(--red);
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
}

article blockquote {
  border-left: 3px solid var(--rule);
  padding-left: 1rem;
  color: #666;
  margin-bottom: 1.1rem;
}

/* ---- footer ---- */

footer {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--faded);
  font-size: 0.85rem;
}

footer a {
  color: var(--red);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
