/* Shared design for fontvera.com, fontfore.com and fontlume.com (version 4, "the brain look", 26 Nov 2026).
   The same look as the AI brain on fontfore.com and the tender brain on fontlume.com: cream paper or dark,
   Georgia headings, system body text, one gold accent, flat cards with a thin line. Light and dark.
   The tokens are copied from brain-game/brain.html; change them there and here together.
   The look before this one: shared.css.before-brain-look-2026-11-26. No web fonts are loaded. */

:root {
  --bg: #F6F3EC; --panel: #EFEBE0; --ink: #1A1915; --soft: #4A4740; --faint: #8A857A; --line: #D9D3C3; --wash: #E6E1D3;
  --accent: #8A6D1C; --accent-wash: rgba(138, 109, 28, .12); --on-accent: #FFFFFF;
  --warn: #9B3B2E; --warn-w: rgba(155, 59, 46, .09); --fresh: #3E6B4B; --fresh-w: rgba(62, 107, 75, .11);
  --words: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1040px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #16150F; --panel: #1F1D16; --ink: #F1ECDF; --soft: #C9C2B1; --faint: #8F887A; --line: #34312A; --wash: #29261E;
  --accent: #D2B25A; --accent-wash: rgba(210, 178, 90, .14); --on-accent: #16150F;
  --warn: #E08A7A; --warn-w: rgba(224, 138, 122, .12); --fresh: #8CC49A; --fresh-w: rgba(140, 196, 154, .12);
  color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #16150F; --panel: #1F1D16; --ink: #F1ECDF; --soft: #C9C2B1; --faint: #8F887A; --line: #34312A; --wash: #29261E;
  --accent: #D2B25A; --accent-wash: rgba(210, 178, 90, .14); --on-accent: #16150F;
  --warn: #E08A7A; --warn-w: rgba(224, 138, 122, .12); --fresh: #8CC49A; --fresh-w: rgba(140, 196, 154, .12);
  color-scheme: dark }
/* Names from the older look, kept so pages and shared.js that still use them get the new colours. */
:root { --muted: var(--soft); --a1: var(--accent); --a2: var(--accent); --tint: var(--accent-wash); --sans: var(--body); --grad: var(--accent); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--words); font-weight: 500; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 24px; }

/* Small tag */
.label { display: inline-block; font: 500 12.5px/1.3 var(--body); color: var(--soft); background: var(--wash); border-radius: 999px; padding: 4px 12px; }
.label b { font-weight: 600; color: var(--ink); }

/* Draft notice, removed before going live */
.draft { background: var(--wash); color: var(--soft); font: 500 12.5px/1.4 var(--body); text-align: center; padding: 8px var(--gutter); }

/* Top bar: the site's name on the left, plain links on the right, a thin line under it */
.top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
.mark { font: 400 21px/1.2 var(--words); letter-spacing: .01em; color: var(--ink); text-decoration: none; }
.mark i { font-style: normal; }
.nav { display: flex; align-items: baseline; gap: 8px 22px; flex-wrap: wrap; }
.nav a { font: 500 14px/1.3 var(--body); color: var(--soft); text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a.cta { color: var(--ink); border-bottom-color: var(--accent); }

/* Headline */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 28px; padding: 30px 0 24px; align-items: start; }
.hero > * { grid-column: 1; justify-self: start; }
.hero h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; margin-top: 14px; }
.hero h1 em, .grad { font-style: normal; color: var(--accent); }
.hero .deck { font-size: 17px; color: var(--soft); max-width: 34em; margin-top: 12px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; font: 600 14px/1.2 var(--body); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.btn:hover { border-color: var(--accent); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.solid:hover { opacity: .9; }

/* Picture beside the headline */
.viz { grid-column: 2; grid-row: 1 / span 5; justify-self: stretch; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.viz .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font: 500 16px/1.25 var(--words); }
.viz .cap span + span { font: 400 12.5px/1.3 var(--body); color: var(--faint); text-align: right; }
.viz .cells { display: grid; gap: 4px; }
.viz .cells i { aspect-ratio: 1; border-radius: 3px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
.viz .cells i.a { background: var(--faint); box-shadow: none; }
.viz .cells i.b { background: var(--fresh); box-shadow: none; }
.viz .key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 12.5px; color: var(--soft); }
.viz .key span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
.viz .key span.a::before { background: var(--faint); box-shadow: none; }
.viz .key span.b::before { background: var(--fresh); box-shadow: none; }
.viz svg { display: block; width: 100%; height: auto; }
.viz .axis { stroke: var(--line); stroke-width: 1; }
.viz .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.viz .area { fill: var(--accent); opacity: .1; }
.viz .dot { fill: var(--panel); stroke: var(--accent); stroke-width: 2.5; }
.viz text { font: 400 12px var(--body); fill: var(--faint); }
.viz .now { font: 500 34px var(--words); fill: var(--ink); }

/* Three large figures (the tiles on the brain pages) */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.figures > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.figures .n { font: 700 28px/1.1 var(--words); font-variant-numeric: tabular-nums; }
.figures .n small { font-size: .55em; font-weight: 500; color: var(--soft); margin-left: 3px; }
.figures p { margin-top: 4px; font-size: 13.5px; color: var(--soft); }

/* Sections */
.section { padding-top: 36px; scroll-margin-top: 16px; }
.section .head { margin-bottom: 14px; }
.section .head > div:first-child { margin-bottom: 8px; }
.section h2 { font-size: 23px; line-height: 1.2; }
.section .lede { margin-top: 6px; max-width: 46em; color: var(--soft); font-size: 14.5px; }

/* Table in a card */
.scroll { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.scroll + .scroll { margin-top: 12px; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.table th { text-align: left; padding: 12px 14px 9px 0; border-bottom: 1px solid var(--line); font: 600 12.5px/1.2 var(--body); color: var(--faint); white-space: nowrap; }
.table td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td:last-child, .table th:last-child { padding-right: 0; }
.table .rank { width: 48px; }
.chip { width: 30px; height: 30px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; font: 600 13px/1 var(--body); color: var(--soft); }
.table tr:nth-child(-n+3) .chip { background: var(--accent-wash); color: var(--accent); }
.table .name { font: 500 15.5px/1.3 var(--body); }
.table .name span { display: block; font: 400 12.5px/1.3 var(--body); color: var(--faint); margin-top: 2px; }
.table .num { color: var(--soft); text-align: right; white-space: nowrap; }
.table th.num { text-align: right; }
.pill { display: inline-block; font: 600 12.5px/1 var(--body); color: var(--accent); background: var(--accent-wash); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.bar { height: 7px; border-radius: 99px; background: var(--wash); min-width: 120px; overflow: hidden; position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--accent); opacity: .85; }
.yes, .part, .no { display: inline-block; font: 600 11.5px/1 var(--body); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.yes { color: var(--fresh); background: var(--fresh-w); }
.part { color: var(--soft); background: var(--wash); }
.no { color: var(--faint); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
/* On a table cell the tag styling moves to an inner span (shared.js adds it) */
td.yes, td.part, td.no { display: table-cell; background: none; box-shadow: none; border-radius: 0; padding: 11px 14px 11px 0; font: inherit; color: inherit; }

/* Three cards */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cols > div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.cols .step { font: 700 22px/1 var(--words); color: var(--accent); }
.cols h3 { font-size: 16.5px; line-height: 1.3; margin: 10px 0 6px; }
.cols p { color: var(--soft); font-size: 14px; }

/* The card for updates by email */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.panel h2 { margin-top: 12px; }
.panel p { color: var(--soft); max-width: 32em; margin-top: 8px; font-size: 14.5px; }
.feed { margin: 0; padding: 2px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; align-self: start; }
.feed li { list-style: none; padding: 11px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 84px 1fr; gap: 12px; font-size: 14px; color: var(--soft); }
.feed li:last-child { border-bottom: 0; }
.feed time { font-size: 12.5px; line-height: 1.75; color: var(--faint); font-variant-numeric: tabular-nums; }
.feed b { font-weight: 600; color: var(--ink); }
.feed li.cap { display: block; font-size: 12.5px; color: var(--faint); }
.signup { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 480px; }
.signup input { flex: 1 1 200px; min-width: 0; font: 400 16px/1.3 var(--body); padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.signup input::placeholder { color: var(--faint); }
.signup .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.panel p.price { color: var(--ink); }
.panel p.price b { font-weight: 600; }
.pitch { margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--accent-wash); font-size: 14.5px; }
.pitch a { font-weight: 600; }
.fine, .panel p.fine { font-size: 12.5px; color: var(--faint); margin-top: 10px; }

/* Footer with the sister sites */
.foot { margin-top: 40px; padding: 24px 0 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 12px; align-items: start; }
.foot p { margin-top: 8px; color: var(--soft); font-size: 13.5px; max-width: 22em; }
.foot a.site { display: block; text-decoration: none; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.foot a.site:hover { border-color: var(--accent); }
.foot a.site strong { display: block; font: 500 16.5px/1.2 var(--words); }
.foot a.site span { display: block; margin-top: 5px; font-size: 13px; color: var(--soft); }
.foot a.site.here { background: none; }
.foot a.site.here strong { color: var(--accent); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Pages for one robot, customer, newsletter, sponsor, event, company, task or product */
.crumbs { margin-top: 18px; font-size: 13px; color: var(--faint); }
.crumbs a { text-decoration: none; color: var(--soft); }
.crumbs a:hover { color: var(--ink); }
.sub .hero { display: block; padding: 10px 0 22px; }
.sub .hero h1 { font-size: clamp(26px, 3.6vw, 36px); margin-top: 6px; }
.sub .hero .deck { max-width: 46em; font-size: 15.5px; }
.sub .section { padding-top: 30px; }
.sub .section h2 { font-size: 20px; }
.table td.wrap { font-size: 13.5px; color: var(--soft); min-width: 170px; }
.updated { margin-top: 30px; font-size: 13px; color: var(--faint); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .viz { grid-column: 1; grid-row: auto; margin-top: 24px; }
}
@media (max-width: 860px) {
  .figures, .cols, .foot { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; padding: 18px; }
  .scroll { padding: 2px 14px; }
  .table .hide-s { display: none; }
  .table .rank { width: 40px; }
}
