/* Public Twin — one centered column, near-black on white, single indigo accent.
   Design language distilled from the C5 Mobbin research (plan, design section). */
:root {
  --fg: #16181d;
  --muted: #6b7280;
  --accent: #4f46e5;
  --bg: #ffffff;
  --surface: #f6f7f9;
  --border: #e5e7eb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e7e9ee;
    --muted: #9ca3af;
    --accent: #8b8df2;
    --bg: #101216;
    --surface: #1a1d23;
    --border: #2a2e37;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  max-width: 42rem;
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--fg);
  background: var(--bg);
}
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0.5rem 0 0.25rem; }
h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 2.25rem 0 0.75rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  font-size: 0.85rem;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
p code { background: var(--surface); padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.9em; }

/* profile */
.identity { text-align: center; margin-bottom: 1rem; }
.monogram {
  width: 64px; height: 64px; margin: 0 auto;
  border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 1.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.handle { color: var(--muted); margin: 0; }
.summary { margin-top: 0.75rem; }
ul.topics { list-style: none; padding: 0; margin: 0; }
ul.topics li + li { margin-top: 0.5rem; }
ul.topics a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
}
ul.topics a:hover { border-color: var(--accent); text-decoration: none; }
.topic-title { font-weight: 600; }
.freshness { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
ul.contact { list-style: none; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hint, .empty { color: var(--muted); font-size: 0.9rem; }

/* topic page */
.crumb { margin-bottom: 1.5rem; }
.byline { color: var(--muted); font-size: 0.9rem; margin-top: -0.25rem; }
article .body { margin-top: 1.25rem; }
sup.cite a { font-size: 0.75em; }
section.sources ol { padding-left: 1.25rem; }
.src-kind { color: var(--muted); font-size: 0.85rem; }

/* landing */
.hero { text-align: center; margin: 2rem 0 1rem; }
.hero h1 { font-size: 2rem; }
.hero .sub { color: var(--muted); max-width: 34rem; margin: 0.75rem auto; }
.cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.25rem 0; }
.cta a.button {
  padding: 0.6rem 1.1rem; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 600;
}
.cta a.secondary { background: var(--surface); color: var(--fg); border: 1px solid var(--border); }

footer { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
footer p { margin: 0.25rem 0; }
