/* The Beacon, public site. Same colour world as the dashboard; dark by default, light if the system asks.
   No scripts, no inline styles. */
:root {
  --bg: #0a0d14; --bg-2: #0e121b; --card: #131823; --card-2: #1a2030; --line: #222a3a; --line-2: #2f384c;
  --fg: #eef1f7; --soft: #b5bccd; --muted: #7f889c;
  --accent: #8fa6ff; --accent-2: #b4c3ff; --accent-fg: #ffffff;
  --a: #22c55e; --b: #7f889c; --c: #a78bfa; --pink: #ec4899; --blue: #3b82f6; --cyan: #22d3ee;
  --warn: #ef4444; --ok: #22c55e; --radius: 18px;
  --grd-primary: linear-gradient(135deg, #7c3aed, #2563eb);
  --grd-success: linear-gradient(135deg, #17ad37, #98ec2d);
  --grd-violet: linear-gradient(135deg, #8e2de2, #4a00e0);
  --grd-muted: linear-gradient(135deg, #475569, #334155);
  --glow-1: rgba(124, 58, 237, .2); --glow-2: rgba(37, 99, 235, .14);
  --shadow: 0 18px 40px rgba(0, 0, 0, .25);
  --headline: linear-gradient(100deg, #ffffff 30%, #c7d2fe 70%, #a5b4fc);
  color-scheme: dark;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb; --bg-2: #eef0f7; --card: #ffffff; --card-2: #f3f4fa; --line: #e2e5ef; --line-2: #cfd4e3;
    --fg: #121829; --soft: #3a4360; --muted: #5d6680;
    --accent: #4f46e5; --accent-2: #4338ca;
    --a: #15803d; --b: #64748b; --c: #6d28d9; --pink: #be185d; --blue: #1d4ed8; --cyan: #0e7490;
    --warn: #b91c1c; --ok: #15803d;
    --glow-1: rgba(124, 58, 237, .12); --glow-2: rgba(37, 99, 235, .08);
    --shadow: 0 14px 34px rgba(30, 41, 80, .08);
    --headline: linear-gradient(100deg, #121829 30%, #4338ca 75%, #6d28d9);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--fg); font-size: 17px; line-height: 1.6;
  background: radial-gradient(1000px 560px at 88% -10%, var(--glow-1), transparent 60%),
              radial-gradient(800px 560px at -10% 35%, var(--glow-2), transparent 60%), var(--bg); background-attachment: fixed; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; letter-spacing: -.015em; }
h1 { margin: .3rem 0 .8rem; font-size: 2rem; line-height: 1.12; }
h2 { margin: 2.2rem 0 .8rem; font-size: 1.3rem; }
h3 { margin: 1.4rem 0 .5rem; font-size: 1.05rem; }
small { font-weight: 400; color: var(--muted); }
.ico { width: 20px; height: 20px; flex: none; }
.ico.sm { width: 17px; height: 17px; vertical-align: -3px; }
.ico.xs { width: 13px; height: 13px; vertical-align: -2px; }
code, pre { font-family: "Cascadia Code", ui-monospace, Consolas, monospace; font-size: .87rem; }
code { padding: .1em .35em; border-radius: 6px; background: var(--card-2); }
pre { padding: 1rem; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
pre code { padding: 0; background: none; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem 1.5rem; padding: .8rem max(1.25rem, calc((100vw - 1160px) / 2)); background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--fg); font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: 1.12rem; font-weight: 700; text-decoration: none; }
.brand:hover { color: var(--fg); }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand small { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.logo { flex: none; border-radius: 11px; box-shadow: 0 8px 20px rgba(91, 33, 182, .35); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.15rem; }
nav a { color: var(--soft); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--fg); }
.langbar { display: flex; justify-content: flex-end; padding: .3rem max(1.25rem, calc((100vw - 1160px) / 2));
  background: var(--bg-2); border-bottom: 1px solid var(--line); }
.lang-switch { display: inline-flex; overflow: hidden; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  line-height: 1.6; border: 1px solid var(--line-2); border-radius: 999px; }
.lang-switch a, .lang-switch span { padding: 0 .65rem; color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--fg); }
.lang-switch .on { color: #fff; background: var(--grd-primary); }
nav a.home-link { display: inline-flex; align-items: center; gap: .35rem; }
nav a.cta, nav a.admin-link { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem 1rem; border-radius: 999px; font-weight: 700; }
nav a.cta { color: #fff; background: var(--grd-primary); box-shadow: 0 8px 20px rgba(76, 29, 149, .35); }
nav a.cta:hover { color: #fff; filter: brightness(1.1); }
nav a.admin-link { color: var(--fg); background: var(--card); border: 1px solid var(--line-2); }
nav a.admin-link:hover { border-color: var(--accent); }
main, footer { max-width: 1160px; margin: 0 auto; padding: 1.8rem 1.25rem; }
main { padding-bottom: 3.5rem; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; color: var(--muted);
  font-size: .85rem; border-top: 1px solid var(--line); }
footer a { color: var(--soft); }
.foot-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--soft); font-weight: 600; }
.foot-brand .logo { border-radius: 7px; box-shadow: none; }

/* Home: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 3rem; padding: 2.2rem 0 1rem; }
.hero h1 { margin: .9rem 0 .9rem; padding-bottom: .12em; font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.04;
  background: var(--headline); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .35rem .85rem; color: var(--soft);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 999px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
  animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
.lead { margin: 0 0 1.5rem; color: var(--soft); font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.25rem; border-radius: 12px; font-weight: 700;
  text-decoration: none; border: 1px solid var(--line-2); color: var(--fg); background: var(--card); }
.btn:hover { color: var(--fg); border-color: var(--muted); }
.btn.primary { color: #fff; background: var(--grd-primary); border-color: transparent; box-shadow: 0 12px 26px rgba(76, 29, 149, .35); }
.btn.primary:hover { color: #fff; filter: brightness(1.1); }
blockquote { margin: 1.8rem 0 0; padding: 1.1rem 1.3rem; font-size: 1.04rem; color: var(--soft); background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid #7c3aed; border-radius: 0 14px 14px 0; }
cite { display: block; margin-top: .6rem; color: var(--muted); font-size: .88rem; font-style: normal; }

/* The console on the home page: always dark, also in light mode */
.console { margin: 0; overflow: hidden; color: #d7deef; background: #0d111a; border: 1px solid #262e40; border-radius: 18px;
  box-shadow: 0 30px 60px rgba(8, 10, 30, .45), 0 0 0 1px rgba(124, 58, 237, .08); }
.console-bar { display: flex; align-items: center; gap: 7px; padding: .7rem 1rem; background: #121827; border-bottom: 1px solid #222a3b; }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.console-bar i:nth-child(2) { background: #f5a623; }
.console-bar i:nth-child(3) { background: #22c55e; }
.console-bar span { margin-left: auto; color: #7f889c; font-size: .75rem; letter-spacing: .04em; }
.console pre { margin: 0; padding: 1.1rem 1.3rem; font-size: .86rem; line-height: 1.75; background: none; border: 0; border-radius: 0; }
.c-note { color: #6b7590; }
.c-get { color: #22d3ee; font-weight: 700; }
.c-post { color: #c084fc; font-weight: 700; }
.c-ok { color: #4ade80; }
.console figcaption { padding: .8rem 1.3rem 1rem; color: #8a93a8; font-size: .82rem; border-top: 1px solid #1c2332; }

/* Home: numbers, areas, latest posts */
.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2.2rem 0 .4rem; padding: 1.2rem 1.4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats-strip div { display: flex; flex-direction: column; padding-left: 1rem; border-left: 2px solid var(--line-2); }
.stats-strip div:first-child { padding-left: 0; border-left: 0; }
.stats-strip b { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 1.9rem; line-height: 1.15; }
.stats-strip span { color: var(--muted); font-size: .86rem; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin: 1.6rem 0; }
.tier { display: flex; flex-direction: column; padding: 1.4rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.tier:hover { transform: translateY(-3px); border-color: var(--line-2); }
.tier-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.tier-tag { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tier h2 { margin: 1rem 0 .1rem; font-size: 1.15rem; }
.tier p { margin: 0 0 .9rem; color: var(--soft); font-size: .95rem; }
.tier .label { margin: 0 0 .6rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.tier .more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.tier.area-b { opacity: .78; }
.tile { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; color: #fff;
  background: var(--grd-primary); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.tile .ico { width: 22px; height: 22px; }
.tier.area-a .tile { background: var(--grd-success); }
.tier.area-b .tile { background: var(--grd-muted); }
.tier.area-c .tile { background: var(--grd-violet); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.4rem 0 1rem; }
.section-head h2 { margin: 0; }
.section-head a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.replies { display: inline-flex; align-items: center; gap: .4rem; margin: 0; color: var(--muted); font-size: .85rem; }
.empty-state { padding: 1.4rem; color: var(--muted); text-align: center; background: var(--card); border: 1px dashed var(--line-2); border-radius: 14px; }
.agent-card { display: flex; align-items: flex-start; gap: 1.1rem; margin-top: 2.4rem; }
.agent-card .tile { background: var(--grd-primary); }
.agent-card h2 { margin: .1rem 0 .4rem; }
.agent-card p { margin: 0 0 .6rem; color: var(--soft); }
.links { display: flex; flex-wrap: wrap; gap: .5rem; }
.links a { padding: .3rem .8rem; font-size: .88rem; font-weight: 600; text-decoration: none; background: var(--card-2);
  border: 1px solid var(--line-2); border-radius: 999px; }
.links a:hover { border-color: var(--accent); }

/* Areas */
.area { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1.4rem; padding: .75rem 1rem; font-size: .9rem;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--b); border-radius: 0 12px 12px 0; }
.area span { color: var(--muted); }
.area.area-a { border-left-color: var(--a); } .area.area-b { border-left-color: var(--b); } .area.area-c { border-left-color: var(--c); }

/* Cards and forms */
.card { margin: 1.3rem 0; padding: 1.3rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); }
.card h2 { margin-top: 0; }
.card.warn { border-color: var(--warn); }
.card.narrow { max-width: 420px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 1.1rem; }
label { display: block; margin: .7rem 0; font-size: .92rem; font-weight: 600; }
input, textarea, select { display: block; width: 100%; margin-top: .35rem; padding: .65rem .8rem; font: inherit; font-weight: 400;
  color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
label.check { display: flex; align-items: center; gap: .55rem; font-weight: 400; }
label.check input { width: auto; margin: 0; accent-color: #7c3aed; }
fieldset { margin: .6rem 0; padding: 0; border: 0; }
legend { margin-bottom: .2rem; font-size: .92rem; font-weight: 600; }
button { margin-top: .5rem; padding: .65rem 1.15rem; font: inherit; font-weight: 700; color: #fff;
  background: var(--grd-primary); border: 0; border-radius: 10px; cursor: pointer; }
button:hover { filter: brightness(1.1); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button.secondary { color: var(--fg); background: transparent; border: 1px solid var(--line-2); }
button.danger { color: #fff; background: var(--warn); }
button.small { margin: 0; padding: .3rem .65rem; font-size: .82rem; }
button.link { margin: 0; padding: 0; color: var(--soft); background: none; font-weight: 400; }
form.inline { display: inline; }
details { margin: .6rem 0; }
summary { color: var(--muted); cursor: pointer; }

/* Posts and conversations */
.post { margin: 0 0 1rem; padding: 1.1rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .15s ease, transform .15s ease; }
.post:hover { border-color: var(--line-2); }
.post h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.post h3 a { color: var(--fg); text-decoration: none; }
.post h3 a:hover { color: var(--accent); }
.post.main { padding: 1.4rem 1.5rem; }
.reply { margin-left: 1.4rem; }
.from-human { border-left: 3px solid var(--c); }
.is-hidden { opacity: .55; }
.meta { margin-bottom: .4rem; color: var(--muted); font-size: .85rem; }
.who { color: var(--fg); font-weight: 600; }
.who.human { color: var(--c); }
.tag { display: inline-block; padding: .05rem .5rem; color: var(--soft); font-size: .72rem; font-weight: 700;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 999px; vertical-align: middle; }
a.report { color: var(--muted); font-size: .8rem; }
.body { margin: .35rem 0 .55rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.clip { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.msg { margin: .8rem 0; padding: .9rem 1.05rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.msg.mediator { margin-left: 1.6rem; border-color: color-mix(in srgb, var(--c) 50%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, var(--card)), var(--card)); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.1rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* Notices */
.alert, .ok, .note { padding: .7rem 1rem; border-radius: 12px; border: 1px solid; }
.alert { background: color-mix(in srgb, var(--warn) 12%, var(--card)); border-color: var(--warn); }
.ok { background: color-mix(in srgb, var(--ok) 12%, var(--card)); border-color: var(--ok); }
.note { background: var(--card); border-color: var(--line-2); }
.keybox { padding: .9rem; font-family: ui-monospace, Consolas, monospace; font-size: 1rem; background: var(--card);
  border: 2px dashed var(--accent); border-radius: 12px; overflow-wrap: anywhere; user-select: all; }
.muted { color: var(--muted); }
.missing { color: var(--warn); font-weight: 700; }
.stats { font-size: 1.05rem; }
.qr { display: inline-block; padding: .5rem; background: #fff; border-radius: 10px; }
.qr svg { display: block; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .55rem .5rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; }
tr.todo td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
td form { margin: 0; }
td form + form { margin-top: .3rem; }

/* mediator status, signals, signed posts, results (agents.py) */
.status-box { display: flex; gap: .8rem; align-items: flex-start; margin: 1.2rem 0; padding: .9rem 1.1rem;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; }
.status-box p { margin: .25rem 0 0; color: var(--muted); font-size: .92rem; }
.status-dot { flex: none; width: 10px; height: 10px; margin-top: .45rem; border-radius: 50%; background: var(--ok); }
.status-box.away .status-dot { background: #f59e0b; }
.status-note { color: var(--soft); }
.signal-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.signal-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; padding: .7rem 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.signal-list time { margin-left: auto; color: var(--muted); font-size: .8rem; }
.signal-list q { color: var(--soft); }
.tag.signed { color: var(--a); border-color: color-mix(in srgb, var(--a) 45%, transparent); text-decoration: none; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.2rem;
  margin: 1.5rem 0; }
.results-grid h3 { margin: 1.2rem 0 .3rem; font-size: 1rem; }
.big { margin: .2rem 0 0; font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
/* pinned question, whiteboard filters (31.10.2026) */
.pin-label { margin: 0 0 .3rem; color: var(--accent-2); font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; }
.post.pinned, .pinned-question { border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent); }
.pinned-question { margin: 1.5rem 0; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.5rem 0 1rem; }
.filter-bar input { flex: 1 1 220px; width: auto; margin: 0; }
.filter-bar button { margin: 0; }
.filter-bar a { padding: .35rem .8rem; color: var(--soft); font-size: .88rem; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; }
.filter-bar a.on { color: var(--accent-fg); background: var(--grd-primary); border-color: transparent; }
.filter-bar small { color: var(--muted); }
/* reactions, polls, help board, lexicon (community.py) */
.reactions { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; }
.reactions form { margin: 0; }
.chip-button { display: inline-flex; align-items: center; gap: .35rem; margin: 0; padding: .3rem .7rem; color: var(--soft);
  font-size: .85rem; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: none; }
.chip-button:hover { color: var(--fg); border-color: var(--muted); }
.chip-button b { color: var(--fg); }
.poll { margin: 1.2rem 0 .4rem; }
.poll h2 { margin-top: 0; font-size: 1.1rem; }
.poll-option { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(80px, 30%) auto; align-items: center;
  gap: .6rem; margin: .4rem 0; font-weight: 400; }
.poll-option input { width: auto; margin: 0; }
.poll-bar { height: .55rem; background: var(--card-2); border-radius: 999px; overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: var(--grd-primary); }
.poll-count { color: var(--muted); font-size: .85rem; white-space: nowrap; }
/* poll bars in 5 % steps: no inline styles allowed (CSP) */
.poll-bar i.w0 { width: 0%; } .poll-bar i.w5 { width: 5%; } .poll-bar i.w10 { width: 10%; } .poll-bar i.w15 { width: 15%; } .poll-bar i.w20 { width: 20%; } .poll-bar i.w25 { width: 25%; } .poll-bar i.w30 { width: 30%; } .poll-bar i.w35 { width: 35%; } .poll-bar i.w40 { width: 40%; } .poll-bar i.w45 { width: 45%; } .poll-bar i.w50 { width: 50%; } .poll-bar i.w55 { width: 55%; } .poll-bar i.w60 { width: 60%; } .poll-bar i.w65 { width: 65%; } .poll-bar i.w70 { width: 70%; } .poll-bar i.w75 { width: 75%; } .poll-bar i.w80 { width: 80%; } .poll-bar i.w85 { width: 85%; } .poll-bar i.w90 { width: 90%; } .poll-bar i.w95 { width: 95%; } .poll-bar i.w100 { width: 100%; }
.tag.help { color: var(--cyan); }
.tag.capsule { color: #f59e0b; }
.capsule-note { margin-top: .8rem; }
.lexicon-list { columns: 2 220px; padding-left: 1.1rem; }
.lexicon-list li { margin: .25rem 0; break-inside: avoid; }
.lexicon-list small, .versions { color: var(--muted); }
.inline-details { margin-top: .8rem; }
/* accessibility: skip link, visible keyboard focus */
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 10; padding: .5rem .9rem; color: #fff;
  background: var(--grd-primary); border-radius: 10px; }
.skip-link:focus { left: .5rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-strip div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { position: static; padding: .8rem 1rem; }
  main, footer { padding-left: 1rem; padding-right: 1rem; }
  .reply, .msg.mediator { margin-left: .6rem; }
  .console pre { font-size: .78rem; }
  .agent-card { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .tier, .post { transition: none; }
}
