/* One stylesheet for every page. Colors are tokens on
   :root, each light-dark(light, dark); the palette and type are option A, the quote page
   (chosen 2026-10-24): ink on white, hairlines, one
   violet accent, Instrument Sans for text and IBM Plex Mono for money. The page follows the
   system's light or dark mode unless the viewer flipped the theme toggle in this tab (base.html),
   which sets data-theme on the root and so the color-scheme the tokens read. */

:root {
  color-scheme: light dark;
  --bg: light-dark(#ffffff, #161615);
  --surface: light-dark(#ffffff, #1e1e1c);                /* a panel: a table, a card, a popover */
  --field: light-dark(#F4F5F7, #262624);                  /* the hatch under Other's bar */
  --text: light-dark(#0E1116, #e8e8e4);                   /* ink */
  --text-soft: light-dark(#3A424D, #c9cdd3);
  --muted: light-dark(#6B7280, #9a9a94);
  --border: light-dark(#E6E8EC, #33332f);                 /* the hairline rule */
  --border-strong: light-dark(#CDD1D7, #4a4e55);          /* an input's border */
  --accent: light-dark(#5F4EB3, #A99BE8);
  --accent-hover: light-dark(#4C3D99, #C3B8F2);
  --accent-tint: light-dark(#EEEBF8, #2B2640);
  --on-accent: light-dark(#ffffff, #161615);
  --row-hover: light-dark(#F6F7F9, #262624);
  --panel: light-dark(#F7F8F9, #1e1e1c);                  /* a card set off from the page: the search's funder cards */
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --panel-shadow: light-dark(transparent, rgb(0 0 0 / 0.4));  /* the sources panel's edge */
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }

/* Room for the scrollbar is kept on a page too short to scroll, so the header sits in the same
   place on every page (where scrollbars take room at all). */
html { scrollbar-gutter: stable; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.5 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The header, one row on every page: the brand, the search box, the links. */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
/* The row is as tall with the search box as without it (the explore page leaves it off): the
   box's 36px and the padding. */
.site-row { max-width: 1280px; min-height: 64px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -0.01em;
         color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand picture, .brand img { display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.site-nav a { color: var(--text-soft); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }  /* the page you are on */
/* Each link keeps the width of its bold form (its label again, unseen, in bold under it), so the
   header's links sit in the same place on every page, whichever one is current. */
.site-nav a[data-label] { display: inline-flex; flex-direction: column; align-items: center; }
.site-nav a[data-label]::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 600;
                                 user-select: none; pointer-events: none; }
/* Get in touch, the header's ask (base.html): a quiet pill after the links. Its modal sits in the
   nav, so it takes back the wrapping the nav turns off. A phone has no room for it. */
.site-nav { align-items: center; }
.site-nav .ask { margin: 0; display: flex; }
.site-contact { height: 30px; padding: 0 12px; font: 500 13px/1 var(--font); color: var(--text); background: var(--surface);
                border: 1px solid var(--border-strong); border-radius: 999px; cursor: pointer; }
.site-contact:hover { border-color: var(--text); }
.site-nav .ask-dialog { white-space: normal; }
.site-thanks { color: var(--muted); }
@media (max-width: 600px) { .site-nav .ask, .site-thanks { display: none; } }
/* A phone's header is the brand's row, then the box's: no height to hold, here or on the landing page. */
@media (max-width: 600px) { .site-row { min-height: 0; } }
/* The footer of every page but the landing page (base.html): small and quiet over a hairline, 
   Comprendo's mark at the left, a page's own line and About at the right. */
.site-footer { border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.site-footer-row { max-width: 1280px; margin: 0 auto; padding: 18px 24px 26px; display: flex; flex-wrap: wrap; align-items: center;
                   justify-content: space-between; gap: 10px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.site-footer a { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.site-footer a:hover { color: var(--text); text-decoration: none; }
.site-footer img { display: block; }
.p-back { align-self: flex-start; font-size: 14px; color: var(--text-soft); }  /* back to the funder (orgs/grantees.html) */

main { max-width: 1280px; margin: 0 auto; padding: 28px 24px 64px; }

h1 { font-size: 1.5rem; margin: 0 0 0.25rem; }
h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
section { margin-top: 2rem; }

[x-cloak] { display: none !important; }

.unclassified { color: var(--muted); }

.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.date { white-space: nowrap; }

table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
table.data th {
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
table.data th.num { text-align: right; }
table.data th, table.data td { padding: 0.5rem 0.75rem; }
table.data tbody tr + tr td { border-top: 1px solid var(--border); }
table.data tbody tr:hover { background: var(--row-hover); }

.scroll { overflow-x: auto; }  /* a table wider than the page, such as every figure of each return */

@media (max-width: 40rem) {
  main { padding: 1rem; }
}

form button {
  font: inherit;
  padding: 0.3rem 0.6rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

form button { cursor: pointer; }
form button:hover { border-color: var(--accent); color: var(--accent); }
button:disabled { cursor: not-allowed; opacity: 0.6; }

/* An organization's page, from the org page archetype: the header card,
   its head row (logo, the name's column, Watch), and in the name's column the description, the
   facts line and the bands. */
.public main { display: flex; flex-direction: column; gap: 20px; }
.public h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.025em; }
.p-aside { font-size: 13px; margin: 0.75rem 0 0; }
.p-muted { margin: 0; font-size: 14px; color: var(--muted); }
.p-small { font-size: 12px; }
.p-card { border: 1px solid var(--border-strong); border-radius: 10px; margin: 0; overflow: hidden; }
.p-head { padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; }
.p-avatar { flex: 0 0 52px; height: 52px; border-radius: 10px; background: var(--border); color: var(--muted);
            display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.p-what { flex: 1 1 600px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.p-actions { display: flex; gap: 8px; }
.p-actions .ask { margin: 0; }
.p-button { height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
            font: inherit; font-size: 14px; cursor: pointer; }
.p-button-dark { border: 0; background: var(--text); color: var(--bg); font-weight: 500; }
.p-mission { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-soft); }
/* What it does and where it works: two lines under the description, a muted label in a fixed
   column and the words beside it; on a narrow screen the label sits above its words. */
.p-described { margin: 4px 0 0; display: grid; gap: 4px; font-size: 14px; color: var(--text-soft); }
.p-described div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
.p-described dt { color: var(--muted); }
.p-described dd { margin: 0; }
@media (max-width: 480px) { .p-described div { grid-template-columns: 1fr; gap: 0; } }
/* The header card's facts line: plain values with a middle dot between, wrapping as whole items.
   Every item carries its dot in front; the list starts 20px left of the column and clips, so the
   dot of whichever item begins a line falls outside and is hidden. */
.p-facts { margin: 18px 0 0 -20px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 2px 0;
           clip-path: inset(0 0 0 20px); font-size: 14px; color: var(--text-soft); }
.p-facts li { white-space: nowrap; }
.p-facts li::before { content: "\00B7"; display: inline-block; width: 20px; text-align: center; color: var(--muted); }
/* A band of the header card: a hairline above, its label (.p-box-label), its content. */
.p-band { margin-top: 16px; padding: 22px 0 8px; border-top: 1px solid var(--border); display: flex; flex-direction: column;
          gap: 14px; min-width: 0; }
/* How big: the return's figures as equal tiles, label above and number below, as many to a row as fit. */
.p-stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px 16px; }
.p-stat { margin: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-stat dt { font-size: 13px; color: var(--muted); }
.p-stat dd { margin: 0; font: 500 22px/1.2 var(--mono); letter-spacing: -0.02em; color: var(--text); }
/* What its grants show: a row per area (name, amount, share, bar), a Total row under a hairline.
   Each bar is its row's paid dollars against the largest paid row's, on no track (an award-only
   row has none): K-12 in the accent, the rest in grey, Other areas and Not known hatched. Kept narrow so the amount
   sits near its name; the bar column gives way below 720px wide so the names do not wrap. */
.p-shares { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; max-width: 720px;
            gap: 2px 0; font-size: 14px; color: var(--text-soft); }
.p-shares li { display: grid; grid-template-columns: minmax(0, 1fr) auto 46px min(320px, 45%); align-items: center; gap: 14px; padding: 4px 0; }
.p-shares .p-pct { font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: right; }
.p-shares .unclassified .p-amount { color: var(--muted); }
.p-share-bar { display: block; height: 12px; }
.p-seg { display: block; height: 100%; min-width: 2px; border-radius: 3px; background: var(--muted); }
.p-seg-k12 { background: var(--accent); }
.p-seg-other { background: repeating-linear-gradient(135deg, var(--border) 0 4px, var(--field) 4px 8px);
               box-shadow: inset 0 0 0 1px var(--border-strong); }
.p-shares .p-total-row { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--border); color: var(--text); }
.p-total-row .p-amount { font-weight: 500; }
/* Program areas: its own names from its site, one to a line behind a small square. */
.p-areas-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--text); }
.p-areas-list li { display: flex; align-items: baseline; gap: 10px; }
.p-areas-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 1px; background: var(--border-strong);
                           transform: translateY(-2px); }
.p-box-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.p-amount { font-family: var(--mono); font-size: 13px; white-space: nowrap; }

/* A public card's sources (partials/sources.html): a pill with a badge per kind of source, which
   opens a panel on the right listing them. */
.src-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border: 1px solid var(--border);
            border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.src-pill:hover, .src-pill[aria-expanded="true"] { border-color: var(--border-strong); color: var(--text-soft); }
.src-badges { display: inline-flex; }
.src-badges .src-badge + .src-badge { margin-left: -6px; }
.src-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px;
             border-radius: 50%; border: 2px solid var(--surface); font-size: 10px; font-weight: 600; line-height: 1; }
.src-badge-irs { background: #1F3A5F; color: #fff; }
.src-badge-web { background: var(--accent-tint); color: var(--accent); }
/* Our own mark, the favicon, on the page's surface with a hairline so its colours read in both modes. */
.src-badge-synapse { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.src-badge-synapse img { display: block; width: 14px; height: 14px; }
.src-badge-other { background: var(--border); color: var(--muted); }
.src-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 20; width: min(420px, 100vw); overflow-y: auto;
             background: var(--surface); border-left: 1px solid var(--border); box-shadow: -8px 0 24px rgb(0 0 0 / 0.08); }
.src-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px;
            background: var(--surface); border-bottom: 1px solid var(--border); font-weight: 500; }
.src-close { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface);
             color: var(--text-soft); font-size: 18px; line-height: 1; cursor: pointer; }
.src-list { list-style: none; margin: 0; padding: 4px 20px 20px; }
.src-entry { padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.src-entry:last-child { border-bottom: 0; }
.src-group { padding: 18px 0 2px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.src-group + .src-entry { padding-top: 10px; }
.src-publisher { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.src-publisher .src-badge { border: 0; }
.src-title { font-size: 15px; color: var(--text); }
.src-title a { color: inherit; }
.src-quote, .src-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-soft);
                        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.src-when { margin: 0; font-size: 12px; color: var(--muted); }
.src-panel { box-shadow: -8px 0 24px var(--panel-shadow); }
.p-foot { padding: 0 20px 16px; }

/* The sections beneath the header card (orgs/sections.html): a card each, its label as a
   small heading with a count on the right, its rows in a hairline table (on a phone, fewer
   columns: see .p-wide below). Money in the mono font. */
.p-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
                  padding: 16px 20px 0; }
.p-section-head h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.p-section-head h1 { font-size: 24px; }
.p-count { font-size: 13px; color: var(--muted); }
.p-subhead { margin: 18px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.p-body { padding: 10px 20px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.p-body .p-aside { margin: 0; }
.p-table { font-size: 14px; }
.p-table th { font-size: 12px; font-weight: 500; color: var(--muted); }
.p-table th, .p-table td { padding: 6px 10px 6px 0; }
.p-table th.num, .p-table td.num { padding: 6px 0 6px 10px; }
.p-years { color: var(--muted); font-size: 13px; white-space: nowrap; }
/* Logos (sections.logo_url): the header's in the avatar's box; a table's 20px slot in front of a
   name, kept when empty so the names align; a web badge's in its round box. */
.p-avatar-logo { object-fit: contain; background: var(--surface); border: 1px solid var(--border); padding: 6px; }
/* A named cell hangs its name beside the logo: the cell is padded by the slot's width (28px, past
   a cell's own 12px) and its first line pulled back over it, so a name that wraps lines up under
   itself, not under the logo. */
.p-table .p-named { white-space: normal; padding-left: 40px; text-indent: -28px; }
.p-named > * { text-indent: 0; }
.p-logo { display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: -5px; flex: none; }
.p-logo img { display: block; width: 20px; height: 20px; border-radius: 4px; }
.src-badge-web img { display: block; width: 14px; height: 14px; border-radius: 50%; }
/* Giving over time: one bar a year, all it paid in the hairline grey, the K-12 part in the accent. */
.p-bar-col { width: 45%; min-width: 48px; }
.p-bar { display: block; height: 12px; border-radius: 4px; background: var(--border-strong); overflow: hidden; }
.p-bar-k12 { display: block; height: 100%; background: var(--accent); }
.p-legend { margin: 0; font-size: 13px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.p-key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.p-key + .p-key, .p-legend .p-key-k12 { margin-left: 10px; }
.p-key-all { background: var(--border-strong); }
.p-key-k12 { background: var(--accent); }
.p-people { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 6px 16px; font-size: 14px; }
.p-person { color: var(--text); }
.p-people .p-muted { font-size: 13px; }
.p-recent{ margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
/* Recent (orgs/sections.html): the date in a mono column, then the headline in ink on one line
   and the small line saying whose it is and what it is to this organization. */
.p-recent { gap: 14px; }
.p-recent li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 2px 16px; align-items: baseline; }
.p-when { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.p-recent-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.p-headline { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-headline:hover { text-decoration: underline; }

.p-gate-thanks { margin: 0; font-size: 14px; color: var(--muted); }
/* A table on a phone shows what fits its box: a name, one small line under it (.p-detail: a place,
   the years paid, a program's host) and a figure. A column that holds such a detail on a wider
   screen is .p-wide and is left off here; a detail written only for the phone is .p-narrow and is
   left off there. A long word in a name breaks rather than push the table past its box; the
   wrapper (.scroll) still scrolls a table that cannot fit. Below 640px the widest tables (the
   fifty, a funder's grantees by year) no longer fit whole. */
.p-narrow { display: none; }
@media (max-width: 640px) {
  .p-wide { display: none; }
  .p-detail { display: block; }
  .p-table .p-named, .p-table .p-plain { overflow-wrap: anywhere; }
  /* Giving over time keeps its five columns: the share's heading wraps and the bar's cell is tighter. */
  .p-table th.p-share { white-space: normal; }
  .p-table .p-bar-col { min-width: 36px; padding-left: 6px; padding-right: 6px; }
}
/* The header card on a phone: Watch stays up beside the logo; the name's column and its bands take
   the full width beneath, the figures two to a row, the bars narrower. */
@media (max-width: 600px) {
  .p-head { padding: 16px; }
  .p-what { order: 2; flex-basis: 100%; }
  .p-section-head { padding: 16px 16px 0; }
  .p-body { padding: 10px 16px 16px; }
  .p-foot { padding: 0 16px 16px; }
  .public .p-head h1 { font-size: 26px; }
  .p-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-stat dd { font-size: 20px; }
  .p-shares li { grid-template-columns: minmax(0, 1fr) auto 44px 25%; gap: 10px; }
  .p-recent li { grid-template-columns: minmax(0, 1fr); gap: 2px; }  /* the date above the headline */
}

/* ---- Strategy search (search/search.html) ---------------------------------------------------
   Option A in one centred 760px column under the public pages' header (the brand, the
   search box, the links; base.html): on the home page the h1,
   the box with its button under it at the right and the examples as hairline rows, vertically
   centred; on a result the box, the first lookalikes as ranked hairline rows with fit dots, the
   top funders as three cards with their grant lines (B's cards in A's type). */
.s-page main { max-width: 760px; padding: 28px 16px 96px; gap: 0; }  /* the funder pages' air under the header */
.s-home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.s-home main { flex: 1 1 auto; width: 100%; justify-content: center; padding: 48px 16px 76px; }
.s-page section { margin: 0; }
.s-box { display: flex; flex-direction: column; }
.public .s-box h1 { font-size: 44px; line-height: 1.08; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 32px; max-width: 16em; }
.s-form { display: flex; flex-direction: column; align-items: flex-end; }
/* Two lines to start, growing with the words to three, then scrolling (search/search.html has the
   fallback for browsers without field-sizing). */
.s-form textarea { display: block; width: 100%; resize: none; overflow-y: auto; padding: 12px 14px;
                   font: 400 19px/1.45 var(--font); color: var(--text); background: var(--surface);
                   border: 1px solid var(--border-strong); border-radius: 6px;
                   field-sizing: content; min-height: calc(2 * 1.45em + 26px); max-height: calc(3 * 1.45em + 26px); }
.s-form textarea::placeholder { color: var(--muted); }
.s-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.s-compact .s-form textarea { font-size: 16px; }
.public .s-box.s-compact h1 { font-size: 26px; margin-bottom: 16px; }  /* a result: the home page's heading, smaller */
/* The button is ink, the landing page's button (.l-btn) that sends a visitor here. */
.s-button { margin-top: 12px; height: 40px; padding: 0 20px; font: 500 15px/1 var(--font); color: var(--bg); background: var(--text);
            border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.s-button:hover { background: var(--text-soft); color: var(--bg); }  /* the form button rule above would colour the label */
/* While the next search loads (search/search.html): the button spins and says Searching, the box and
   the results below it fade. */
.s-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.s-spinner { display: none; width: 13px; height: 13px; border: 2px solid currentColor; border-right-color: transparent;
             border-radius: 50%; animation: s-spin 0.7s linear infinite; }
.s-loading .s-spinner { display: inline-block; }
.s-loading .s-button { cursor: progress; background: var(--text-soft); }
.s-loading .s-form textarea { color: var(--text-soft); }
.s-loading .s-box ~ section, .s-loading .s-examples { opacity: 0.4; pointer-events: none; transition: opacity 0.2s 0.1s; }
@keyframes s-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .s-spinner { animation-duration: 2.4s; } }
.s-examples { margin-top: 40px; }
.s-examples-head { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.s-examples ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.s-examples li { border-bottom: 1px solid var(--border); }
.s-example { display: block; padding: 12px 8px 12px 0; font-size: 15px; line-height: 1.45; color: var(--text-soft); }
.s-example:hover { text-decoration: none; background: var(--accent-tint); color: var(--text);
                   padding-left: 8px; margin-left: -8px; }

/* A section: title, a hairline lead, the count on the right; then its rows under a rule in ink. */
.s-page .s-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 48px 0 0; font-size: 20px;
                  font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.s-lead { flex: 1 1 24px; height: 1px; background: var(--border); align-self: center; }
.s-count { font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.s-every a { color: var(--muted); }
.s-every a:hover { color: var(--accent); }
.s-lookalikes { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--text); counter-reset: look; }
.s-lookalikes li { counter-increment: look; display: grid; grid-template-columns: 24px minmax(0, 1fr) 150px auto;
                   align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.s-lookalikes li::before { content: counter(look); font-size: 13px; color: var(--muted); text-align: right; }
.s-name { font-weight: 500; min-width: 0; }
/* A name that links to its organization's page (search.html's named()) keeps the name's ink, and
   takes the accent and the site's underline under the pointer. */
.s-name a, .s-f-name a, .s-line-name a { color: inherit; }
.s-name a:hover, .s-f-name a:hover, .s-line-name a:hover { color: var(--accent); }
.s-place { font-size: 13px; color: var(--muted); }
.s-dots { display: inline-flex; gap: 3px; }
.s-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.s-dots i.on { background: var(--accent); }
.s-more { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
/* The ask (partials/signup.html), where a page withholds the rest: the line counting it is a quiet
   button with a lock, and opens a modal over the page blurred under a wash of ink. The modal is a
   card at the landing box's radius: the mark, the heading, the lead in its own tint, the line on
   getting in touch and the landing page's form (.l-box), full width. It fades and rises in. */
.ask { margin: 12px 0 0; }
.ask-open { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 12px; border: 1px solid var(--border-strong);
            border-radius: 9px; background: var(--surface); color: var(--text-soft); font: 500 14px/1.35 var(--font); text-align: left; cursor: pointer; }
.ask-open:hover { border-color: var(--text); color: var(--text); background: var(--surface); }
.ask-lock { flex: none; color: var(--muted); }
.ask-arrow { flex: none; color: var(--muted); transition: transform 0.15s; }
.ask-open:hover .ask-arrow { transform: translateX(2px); color: var(--text); }
.ask-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--border);
              border-radius: 16px; background: var(--surface); color: var(--text);
              box-shadow: 0 24px 64px -12px rgb(14 17 22 / 0.28), 0 2px 6px rgb(14 17 22 / 0.06);
              opacity: 0; transform: translateY(8px) scale(0.98);
              transition: opacity 0.18s ease-out, transform 0.18s ease-out, overlay 0.18s allow-discrete, display 0.18s allow-discrete; }
.ask-dialog[open] { opacity: 1; transform: none; }
@starting-style { .ask-dialog[open] { opacity: 0; transform: translateY(8px) scale(0.98); } }
.ask-dialog::backdrop { background: light-dark(rgb(14 17 22 / 0.28), rgb(0 0 0 / 0.55)); backdrop-filter: blur(6px) saturate(0.9);
                        -webkit-backdrop-filter: blur(6px) saturate(0.9); opacity: 0;
                        transition: opacity 0.18s ease-out, overlay 0.18s allow-discrete, display 0.18s allow-discrete; }
.ask-dialog[open]::backdrop { opacity: 1; }
@starting-style { .ask-dialog[open]::backdrop { opacity: 0; } }
.ask-body { position: relative; padding: 28px 28px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ask-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center;
             justify-content: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.ask-close:hover { background: var(--row-hover); color: var(--text); }
.ask-brand { margin: 0 0 14px; }
.public .ask-head { margin: 0 0 12px; font: 600 20px/1.25 var(--font); letter-spacing: -0.015em; color: var(--text); }
.ask-lead { margin: 0 0 12px; padding: 8px 12px; border-radius: 9px; background: var(--accent-tint); color: var(--text);
            font-size: 14px; line-height: 1.45; }
.ask-copy { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.ask-dialog .l-signup { max-width: none; text-align: left; }
@media (prefers-reduced-motion: reduce) { .ask-dialog, .ask-dialog::backdrop, .ask-arrow { transition: none; } }

/* The funders: three panels across (B's cards in A's type), each its top (name, place, the
   dollars and their scale), a hairline, then its grant lines stacked: recipient and total, the
   years, the purposes. */
.s-cards { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-card { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--border-strong);
          border-radius: 6px; }
.s-card-top { padding: 16px 16px 14px; }
.s-f-name { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; overflow-wrap: anywhere; }
.s-f-place { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.s-f-amount { margin: 16px 0 0; font: 500 22px/1.2 var(--mono); letter-spacing: -0.02em; }
.s-f-sub { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.s-lines { list-style: none; margin: 0; padding: 4px 16px; border-top: 1px solid var(--border-strong); }
.s-line { padding: 10px 0; }
.s-line + .s-line { border-top: 1px solid var(--border); }
.s-line-a { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.s-line-name { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.s-line-amount { flex: none; font: 500 13px var(--mono); white-space: nowrap; }
.s-line-years { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.s-line-purpose { margin: 3px 0 0; font-size: 13px; color: var(--text-soft); }
.s-f-more { margin: 0; padding: 0 16px 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .s-cards { grid-template-columns: minmax(0, 1fr); } }

.public .s-empty { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-soft); }
.s-empty p { margin: 0; max-width: 66ch; }
/* Footnotes: a short rule, then one paragraph of small print. */

@media (max-width: 640px) {
  .public .s-box h1 { font-size: 32px; margin-bottom: 22px; }
  .s-home main { padding: 24px 16px 48px; }
  .s-lookalikes li { grid-template-columns: 20px minmax(0, 1fr) auto; gap: 2px 10px; }
  .s-place { grid-column: 2; grid-row: 2; }
  .s-dots { grid-column: 3; grid-row: 1; }
  .s-button { width: 100%; }
}
/* ---- end strategy search ---- */

/* ---- Landing page (home/home.html) --------------------------------------------------------
   In the manner of a quiet product page (thinkingmachines.ai/inkling): the nav over a first screen
   that holds the ASCII hero (static/js/ascii-hero.js), a serif headline, two lines and one ink
   button, all centred; then sections under centred serif headings with a lot of air: the tools as
   four cards in the panel's grey, two to a row, how the site is built as four cells between hairlines, the AI
   tools as a row of logos, and the closing form. The accent stays off this page: buttons are ink,
   and the only color is the hero's tints and the green "Live" tag. The hero's box must have a
   size: the canvas fills it and is transparent. Under 860px the grids stack; under 600px the nav
   keeps only Get in touch and the toggle. */
.l-page { --serif: "Instrument Serif", Georgia, serif; --live: #14B8A6; }  /* the mark's green */
.l-page main { max-width: none; padding: 0; display: block; }
.l-page a { color: inherit; }
.l-page a:hover { text-decoration: none; }
/* The nav: brand left, links right, over the hero. */
.l-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
/* The row has the other pages' header's measure, height and padding (.site-row), and the brand
   its size there, so the brand sits in the same place on this page as on the explore page. */
.l-nav-row { max-width: 1280px; min-height: 64px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.l-links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--text-soft); }
.l-links a:hover, .l-links .l-linkbtn:hover { color: var(--text); }
.l-nav .ask, .l-tool .ask, .l-apps-foot .ask { margin: 0; display: flex; }
.l-linkbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
/* The theme toggle: a small half-filled circle, the same in both modes. */
.theme-toggle { width: 24px; height: 24px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0;
                border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg { display: block; }
/* The hero: one full screen, the graphic, one headline, two lines, one button. */
.l-hero { position: relative; min-height: 100vh; min-height: 100svh; margin: 0; display: flex; flex-direction: column; align-items: center;
          justify-content: center; padding: 64px 16px 112px; text-align: center; }  /* more below than above: the block sits a little high of center */
.l-stage { position: relative; width: min(52svh, 520px, 86vw); aspect-ratio: 1 / 1; margin-bottom: 28px; }
.ascii-hero { position: absolute; inset: 0; contain: strict; }
.ascii-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.l-hero h1 { font: 400 52px/1.05 var(--serif); letter-spacing: -0.015em; margin: 0 0 16px; }
.l-sub { margin: 0 0 28px; font-size: 16px; color: var(--text-soft); max-width: 40em; text-wrap: balance; }
.l-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: var(--text); color: var(--bg);
         font-weight: 500; font-size: 15px; }
.l-page .l-btn { color: var(--bg); }
.l-btn:hover { background: var(--text-soft); }
/* The caret at the hero's foot: the first screen is the whole screen, so nothing else says there
   is more below. Muted, with a slow small bob; still for reduced motion. A click scrolls smoothly
   to the next section. */
.l-more { position: absolute; left: 50%; bottom: 28px; margin-left: -18px; width: 36px; height: 36px; display: grid; place-items: center;
          color: var(--muted); animation: l-bob 2.6s ease-in-out infinite; }
.l-page .l-more:hover { color: var(--text); }
.l-more svg { display: block; }
@keyframes l-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
html:has(.l-page) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { .l-more { animation: none; } html:has(.l-page) { scroll-behavior: auto; } }
/* Sections: a centred serif heading, lots of air. */
.l-section { max-width: 1080px; margin: 0 auto; padding: 112px 16px; }
.l-section > h2 { font: 400 34px/1.15 var(--serif); text-align: center; margin: 0 0 12px; }
.l-section > h2.l-alone { margin-bottom: 40px; }
.l-intro { text-align: center; color: var(--text-soft); max-width: 40em; margin: 0 auto 48px; text-wrap: balance; }
/* The tools: one card each, the questions it answers first. */
.l-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.l-tool { background: var(--panel); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; min-height: 280px; }
.l-tool-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.l-tool-head h3 { margin: 0; font: 400 24px/1.1 var(--serif); }
.l-state { font: 500 10.5px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); padding: 4px 7px;
           border-radius: 5px; background: var(--border); }
.l-state.l-live { color: var(--live); background: color-mix(in oklab, var(--live) 12%, transparent); }
.l-qs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.l-qs li { font-size: 16px; line-height: 1.4; color: var(--text); padding-left: 16px; position: relative; }
.l-qs li::before { content: "“"; position: absolute; left: 0; top: -1px; color: var(--muted); font-family: var(--serif); font-size: 20px; }
.l-what { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: auto 0 18px; }
.l-go { font-size: 14px; font-weight: 500; color: var(--text); }
.l-page .l-go:hover { text-decoration: underline; text-underline-offset: 3px; }
.l-go.l-linkbtn { text-align: left; }
/* How it's built: four cells with hairlines between. */
.l-built { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.l-built > div { padding: 28px 28px 32px; border-bottom: 1px solid var(--border); }
.l-built > div:nth-child(odd) { border-right: 1px solid var(--border); }
.l-built svg { display: block; margin-bottom: 14px; color: var(--text); }
.l-built h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.l-built p { margin: 0; font-size: 14px; color: var(--muted); max-width: 30em; }
/* The video: a frame of it with a play mark; a click puts Stream's player in its place (home.html).
   No padding above: the hero's own space below it is the gap, so the heading is the first thing
   a scroll brings up. */
#video { padding-top: 0; }
.l-player { position: relative; display: block; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
            background: var(--panel); }
.l-player img, .l-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.l-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
          background: rgb(17 17 17 / 0.78); color: #fff; display: grid; place-items: center; transition: transform 0.15s, background 0.15s; }
.l-play svg { margin-left: 3px; }  /* the triangle's weight sits left of its box; this centres it to the eye */
.l-player:hover .l-play { transform: scale(1.06); background: #111; }
.l-player:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
/* The AI tools: the assistants as a row of logos in ink, then the state and the way in. */
#integrations { padding-top: 32px; }
.l-apps { list-style: none; padding: 0; margin: 0 auto; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.l-apps li { width: 180px; padding: 28px 16px 22px; border-radius: 14px; background: var(--panel); display: flex; flex-direction: column;
             align-items: center; gap: 14px; font-size: 14px; font-weight: 500; color: var(--text); }
.l-apps-foot { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 28px; }
/* Closing: the mark, a heading, the form (partials/signup.html) or the thanks in its place. */
.l-close { text-align: center; padding-bottom: 96px; }
.l-close-mark { display: flex; justify-content: center; margin: 0 0 24px; }
.l-close-mark img { width: 52px; height: 52px; }
.l-close .l-signup { margin: 0 auto; text-align: left; }
.l-close .l-note { min-height: 4.2em; }  /* taller here than in the asks' modals */
.l-signup { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: stretch; }
/* One box: the email on the first line, the note under a hairline, growing with its words, and
   the ink button alone at the foot, right. The fields have no borders of their own; the box's
   border darkens when either has focus. */
.l-box { display: flex; flex-direction: column; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
.l-box:focus-within { border-color: var(--text); }
.l-email, .l-note { display: block; width: 100%; border: 0; background: none; color: var(--text); }
.l-email { padding: 11px 14px; border-bottom: 1px solid var(--border); font: 400 15px/1.4 var(--font); }
.l-email::placeholder { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.l-note { padding: 9px 14px 4px; font: 400 14px/1.45 var(--font); resize: none; field-sizing: content; min-height: 3.4em; max-height: 8em; }
.l-note::placeholder { color: var(--muted); }
.l-email:focus, .l-note:focus { outline: none; }
.l-foot { display: flex; justify-content: flex-end; padding: 4px; }
.l-foot button { height: 34px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--text); color: var(--bg);
                 font: 500 14px/1 var(--font); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; }
.l-foot button:hover { background: var(--text-soft); color: var(--bg); }  /* the form button rule above would colour the label */
.l-website { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }  /* the honeypot: off the page, not display:none, which some bots respect */
.l-thanks { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.l-error { margin: 8px 0 0 14px; font-size: 13px; line-height: 1.4; color: var(--muted); }
/* The footer: the Comprendo mark and label, small, over a hairline. */
.l-footer { max-width: 1080px; margin: 0 auto; padding: 24px 16px 32px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap;
            gap: 8px 12px; align-items: center; font-size: 12.5px; color: var(--muted); }
.l-footer a { display: inline-flex; align-items: center; gap: 7px; }
.l-footer a:hover { color: var(--text); }
.l-footer img { display: block; }
@media (max-width: 860px) {
  .l-tools { grid-template-columns: 1fr; }
  .l-tool { min-height: 0; }
  .l-built { grid-template-columns: 1fr; }
  .l-built > div:nth-child(odd) { border-right: 0; }
}
@media (max-width: 600px) {
  .l-links > a { display: none; }
  .l-nav-row { min-height: 0; }
  .l-hero h1 { font-size: 38px; }
  .l-sub br { display: none; }
  .l-section { padding: 80px 16px; }
  .l-section > h2 { font-size: 28px; }
}

/* The search box in the header (partials/find.html, js/find.js): a field with a glass, a spinner
   at its right end while an answer is slow, and under it a panel of up to five rows, each an icon
   for its kind, the name over its type and place, and one figure. The results page lists the
   same rows (find/results.html). */
.f-box { position: relative; width: 100%; }
.f-box input { width: 100%; height: 36px; padding: 0 32px 0 34px; font: 400 14px var(--font); color: var(--text);
               background: var(--surface); border: 1px solid var(--border-strong); border-radius: 8px; }
.f-box input::placeholder { color: var(--muted); }
.f-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.f-box input::-webkit-search-cancel-button { display: none; }
.f-glass { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.f-spin { position: absolute; right: 11px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; display: none;
          border: 2px solid var(--muted); border-right-color: transparent; border-radius: 50%; animation: s-spin 0.7s linear infinite; }
.f-loading .f-spin { display: block; }
.f-loading .f-panel { opacity: 0.55; transition: opacity 0.15s; }
.f-panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: max(100%, 440px); max-width: calc(100vw - 32px);
           background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
           box-shadow: 0 10px 30px light-dark(rgb(14 17 22 / 0.10), rgb(0 0 0 / 0.5)); }
.f-panel[hidden] { display: none; }
.f-row { display: flex; align-items: center; gap: 12px; padding: 9px 14px; color: var(--text); text-decoration: none; }
.f-row + .f-row { border-top: 1px solid var(--border); }
.f-row:hover, .f-row[aria-selected="true"] { background: var(--row-hover); text-decoration: none; }
.f-icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px;
          color: var(--text-soft); background: var(--field); }
.f-icon.f-funder { color: var(--accent); background: var(--accent-tint); }
.f-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.f-name { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-fig { flex: none; font: 12px var(--mono); color: var(--text-soft); text-align: right; }
.f-all { display: block; padding: 9px 14px; font-size: 13px; border-top: 1px solid var(--border); color: var(--accent); }
.f-all:hover, .f-all[aria-selected="true"] { background: var(--row-hover); text-decoration: none; }
.f-none { margin: 0; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.f-page main { max-width: 760px; }
.f-results h1 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 16px; }
.f-list { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.f-list .f-row { padding: 12px 16px; }
.f-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
@media (max-width: 600px) {
  .f-panel { width: 100%; }
  .f-fig { display: none; }
}
/* The public header as three columns: the brand, the search box centred on the page, the links.
   The two outer columns are equal, so the box stays centred. On a phone the brand and links
   share the first row and the box takes the second. */
.public .site-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 440px) minmax(0, 1fr);
                    grid-template-areas: "brand box nav"; column-gap: 24px; }
.public .site-row > .brand { grid-area: brand; justify-self: start; }
.public .site-row .f-box { grid-area: box; }
.public .site-row .site-nav { grid-area: nav; justify-self: end; flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 600px) {
  .public .site-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand nav" "box box"; row-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .f-spin { animation-duration: 2.4s; } }
.f-icon { position: relative; }
.f-icon img { position: absolute; inset: 0; width: 28px; height: 28px; padding: 4px; border-radius: 7px; background: var(--surface);
              border: 1px solid var(--border); }

/* Topics (app/topics): the pages are cards at the width of the funders' pages. On the list a
   topic's funders are their icons, overlapping, then the count; its recent posts a number and a
   bar in the accent, the busiest topic's the full width. A brief's
   paragraphs run the card's width, each under a small quiet label, with one sources pill at the card's foot;
   a post's summary sits under its headline. */
.t-head { align-items: center; }  /* the name, with Follow at the right */
.t-part { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.t-part + .t-part { margin-top: 18px; }
.t-label { margin: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.t-text { margin: 0; font-size: 15px; line-height: 1.6; }
.t-summary { font-size: 13px; line-height: 1.45; color: var(--text-soft); }
.t-funders { white-space: nowrap; }
.t-funders .src-badges { vertical-align: middle; margin-right: 6px; min-width: 48px; }
.p-table td.t-active { width: 3em; padding-right: 10px; }
.t-bar { width: 22%; }
.t-bar span { display: block; height: 8px; min-width: 0; border-radius: 2px; background: var(--accent); }

/* Explore (explore/explore.html): first the search box by name (the header's, larger) under its
   heading and a line, set left in one 640px column centred on the page, with air around it and
   no card. Then cards in the funders' pages' manner: strategy search as one row, its words left
   and its button right; topics and funders as a pair of equal columns, stacked under 860px,
   each card's link to its full list at its foot; and the ask. In the site's footer it puts a quiet line on
   the dataset's size, its parts set apart by middle dots. */
.e-page main { padding-bottom: 40px; }  /* the cards run the header's and footer's width, as the funders' pages do */
.e-searches { width: 100%; max-width: 640px; margin: 0 auto; padding: 56px 0 72px; }
.e-search { margin: 0; }
/* The heading is strategy search's on a result (.s-box.s-compact h1): 26px, medium, tight. */
.public .e-search h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.08; font-weight: 500; letter-spacing: -0.03em; }
.e-sub { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.e-search .f-box input { height: 52px; padding-left: 44px; font-size: 17px; border-radius: 10px; }
.e-search .f-glass { left: 16px; }
.e-figures > span + span::before { content: "·"; margin: 0 8px; }
@media (max-width: 600px) { .e-searches { padding: 24px 0 32px; } }
.e-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.e-pair > .p-card { display: flex; flex-direction: column; }
.e-pair > .p-card > .p-body { flex: 1 1 auto; }
.p-table td.e-rank { width: 2em; padding: 6px 12px 6px 0; color: var(--muted); }
.e-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 500; }
.e-talk .p-body, .e-strategy .p-body { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 20px; }
.e-talk h2, .e-strategy h2 { margin: 0 0 2px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.e-talk .ask { margin: 0; }
.e-strategy .p-body > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.e-strategy .p-small a { color: var(--text-soft); }
.e-go { display: inline-flex; align-items: center; flex: none; }
.e-go:hover { text-decoration: none; background: var(--text-soft); }
@media (max-width: 860px) { .e-pair { grid-template-columns: minmax(0, 1fr); } }
