/* XFollowList design system, applied 14 Sep 2026. See docs/design-system.md.
   One plain CSS file, no build step: self-hosted fonts, tokens, components.
   Components use tokens only; no literal colours below the token block. */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos-text-cyrillic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos-text-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #171b26;
  --muted: #5a6270;
  --rule: #d8dce3;
  --link: #2447d6;
  --link-hover: #1733a8;
  --mark: #ffe45c;
  --mark-ink: #171b26;
  --field: #ffffff;

  --font-display: "Archivo", Arial, Helvetica, sans-serif;
  --font-text: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;

  --page: 1080px;
  --gutter: 24px;
  --measure: 62ch;
  --radius: 2px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #121722; --ink: #e9ebef; --muted: #9aa3b2; --rule: #2b3342;
    --link: #8fa4ff; --link-hover: #b7c4ff; --mark: #e8c93f; --mark-ink: #171b26; --field: #0d1119;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #121722; --ink: #e9ebef; --muted: #9aa3b2; --rule: #2b3342;
  --link: #8fa4ff; --link-hover: #b7c4ff; --mark: #e8c93f; --mark-ink: #171b26; --field: #0d1119;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--font-text); font-variant-numeric: tabular-nums;
}
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color 120ms; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 12px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; }
h2 { font-size: 22px; font-stretch: 105%; }
h3 { font-size: 17px; }
small, .small { font-size: 14.5px; }
.muted { color: var(--muted); }
time { white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 2; }
.skip:focus { top: 16px; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .inner {
  max-width: var(--page); margin: 0 auto; padding: 18px var(--gutter);
  display: flex; align-items: baseline; gap: 12px 28px; flex-wrap: wrap;
}
.wordmark { font: 900 20px/1 var(--font-display); font-stretch: 125%; letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-right: auto; }
.wordmark:hover { color: var(--ink); }
.masthead nav { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 15.5px; }
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); text-decoration: underline; }
.masthead nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.page { max-width: var(--page); margin: 0 auto; padding: 40px var(--gutter) 24px; }

/* Page intro */
.intro { display: grid; gap: 16px; }
.scope { font-size: 20px; line-height: 1.4; max-width: 46ch; }
.figures { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 8px 0 0; padding: 0; }
.figures div { display: grid; gap: 2px; }
.figures dt { font-size: 13.5px; color: var(--muted); }
.figures dd { margin: 0; font: 600 18px/1.2 var(--font-display); }

/* Sections: separated by space and a heading, never by rules */
.section { margin-top: 56px; }
.section > h2 { margin-bottom: 10px; }
.lede { max-width: 62ch; }
.empty { color: var(--muted); max-width: 56ch; }

/* Lists of people and ecosystems: rows, not cards */
.roster, .ecosystems { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.person, .ecosystem {
  display: grid; grid-template-columns: 300px 1fr; gap: 8px 32px;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.identity { display: grid; gap: 3px; align-content: start; }
.handle, .title-link {
  font: 700 26px/1.1 var(--font-display); font-stretch: 110%; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
}
.handle .at { color: var(--link); font-weight: 600; }
.handle:hover, .title-link:hover { color: var(--link); }
.name { font-size: 15px; color: var(--muted); }
.topic { font-size: 13.5px; color: var(--muted); }
.about { display: grid; gap: 6px; align-content: start; }
.why { max-width: 56ch; }
.post, .evidence, .status { font-size: 14.5px; color: var(--muted); max-width: 56ch; }
.post time, .evidence time { color: var(--ink); }
.ecosystem { padding: 24px 0; }
.ecosystem .title-link { font-size: 28px; font-weight: 800; }
.ecosystem.planned .title-link { color: var(--muted); }
.ecosystem.planned .title-link:hover { color: var(--link); }

/* The only bright element: the reviewed mark */
.mark {
  display: inline; background: var(--mark); color: var(--mark-ink);
  padding: 1px 6px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Search and topic filters */
.finder { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: end; margin-top: 28px; }
.search { display: grid; gap: 6px; flex: 1 1 260px; max-width: 380px; }
.search label { font-size: 14.5px; color: var(--muted); }
.search input {
  font: inherit; width: 100%; padding: 9px 12px;
  border: 1px solid var(--ink); border-radius: var(--radius); background: var(--field); color: var(--ink);
}
.search input::placeholder { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.filters a { color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="true"], .filters a.active { color: var(--ink); border-bottom-color: var(--ink); }
.count { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.search-submit { margin-top: 8px; }

.button {
  display: inline-block; font: 600 15px/1 var(--font-text); padding: 10px 14px;
  border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer; transition: background-color 120ms, color 120ms;
}
.button:hover { background: var(--ink); color: var(--paper); }

/* Home: how the list works */
.explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: 24px; }
.explain h3 { margin-bottom: 6px; }
.explain p { font-size: 15.5px; color: var(--muted); }

.aside { margin-top: 56px; }

footer.site { border-top: 1px solid var(--rule); margin-top: 48px; }
footer.site .inner { max-width: var(--page); margin: 0 auto; padding: 24px var(--gutter) 48px; font-size: 14.5px; color: var(--muted); display: grid; gap: 8px; }

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .page { padding-top: 28px; }
  .person, .ecosystem { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .handle, .title-link { font-size: 22px; }
  .ecosystem .title-link { font-size: 24px; }
  .scope { font-size: 18px; }
  .explain { grid-template-columns: 1fr; }
  .figures { gap: 8px 24px; }
  .masthead nav { font-size: 15px; }
}
