/*
 * Public pages: homepage, request-a-key, privacy, security.
 * Black, white and red. Builds on app.css tokens; no inline styles (CSP).
 */

/* ---------------------------------------------------------------- shared -- */

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--brand); }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none;
}
.status-pill .dot { background: var(--muted); }
.status-pill.ok .dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.status-pill.down .dot { background: var(--brand); }

.site-header .nav-cta { margin-left: 6px; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }

/* ------------------------------------------------------------------ hero -- */

.home-hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.home-hero::before {
  /* Faint grid, fading out — gives depth without colour. */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 70%);
}
.home-hero .container { position: relative; display: grid; gap: 48px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 920px) { .home-hero .container { grid-template-columns: 1fr; } }

.home-hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; margin-top: 18px; }
.home-hero h1 em { font-style: normal; color: var(--brand); }
.home-hero .lede { font-size: 18px; color: var(--text-2); max-width: 54ch; margin-top: 20px; }
.home-hero .actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: var(--text-2); font-size: 13.5px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* Live panel */
.panel { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: 12.5px; color: var(--text-2); }
.panel-bar .title { font-family: var(--font-mono); }
.panel-bar .right { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.panel-bar .live { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.panel-body { padding: 18px; }
.readout { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14px; }
.readout dt { color: var(--text-2); }
.readout dd { margin: 0; font-family: var(--font-mono); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.readout .hot { color: var(--brand); }
.spark-wrap { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--border); }
.spark-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.spark { width: 100%; height: 64px; display: block; margin-top: 8px; }
.spark .bar { fill: color-mix(in srgb, var(--text) 22%, transparent); }
.spark .bar.now { fill: var(--brand); }
.spark .base { stroke: var(--border-strong); }

/* ------------------------------------------------------------- sections -- */

.home .section { padding: 80px 0; }
.home .section h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 750; letter-spacing: -0.025em; margin-top: 10px; }
.home .section .sub { font-size: 16px; max-width: 62ch; }
.section-head { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.updated { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }

/* Ledger: numbers separated by hairlines, like a report. */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.ledger > div { padding: 22px 22px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ledger .n { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.ledger .l { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; }
.ledger .d { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.ledger .red .n { color: var(--brand); }
@media (max-width: 820px) { .ledger { grid-template-columns: 1fr 1fr; } }

/* Compared with Roblox: three counts and one split bar. */
.compare { margin-top: 36px; }
.compare-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.compare-nums > div { padding: 22px 22px 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compare-nums .n { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.compare-nums .l { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; }
.compare-nums .d { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.compare-nums .red .n { color: var(--brand); }
.compare-bar { display: flex; height: 14px; margin-top: 28px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.compare-bar .seg { display: block; height: 100%; width: 0; transition: width .9s var(--ease-out, ease-out); }
.compare-bar .seg.closed { background: var(--text); }
.compare-bar .seg.open { background: var(--brand); }
.compare-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.compare-key .k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.compare-key .k.closed { background: var(--text); }
.compare-key .k.open { background: var(--brand); }
.compare-key .grow { margin-left: auto; text-align: right; }
@media (max-width: 720px) {
  .compare-nums { grid-template-columns: 1fr; }
  .compare-key .grow { margin-left: 0; text-align: left; flex-basis: 100%; }
}

/* Pipeline: one row per stage, bar on a log scale. */
.pipeline { margin-top: 40px; display: grid; gap: 4px; }
.stage { display: grid; grid-template-columns: 36px minmax(140px, 220px) 1fr 110px; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.stage .idx { font-family: var(--font-mono); color: var(--muted); font-size: 12.5px; }
.stage .name { font-weight: 600; font-size: 14px; }
.stage .name small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.stage svg { width: 100%; height: 10px; display: block; }
.stage .track { fill: var(--surface-2); }
.stage .fill { fill: var(--text); }
.stage.red .fill { fill: var(--brand); }
.stage .val { text-align: right; font-family: var(--font-mono); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .stage { grid-template-columns: 28px 1fr 80px; }
  .stage svg { grid-column: 1 / -1; }
}
.foot-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Signals: a table, not cards. */
.sig-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.sig-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border-strong); }
.sig-table td { padding: 16px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.sig-table td:first-child { font-weight: 650; width: 30%; }
.sig-table td.desc { color: var(--text-2); font-size: 14px; }
.sig-table td.num { text-align: right; font-family: var(--font-mono); font-weight: 700; width: 90px; font-variant-numeric: tabular-nums; }
.weight { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border-strong); color: var(--text-2); }
.weight.hard { border-color: var(--brand); color: var(--brand); }
@media (max-width: 760px) { .sig-table td.desc { display: none; } }

/* Coverage */
.coverage { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; margin-top: 8px; }
@media (max-width: 880px) { .coverage { grid-template-columns: 1fr; } }
.cov-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); margin-top: 28px; }
.cov-list > div { padding: 18px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cov-list .n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; }
.cov-list .l { color: var(--text-2); font-size: 13px; }
.cov-list .wide { grid-column: span 2; }
.network { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 14px; }
.network svg { width: 100%; height: auto; display: block; }
.network .edge { stroke: var(--border-strong); stroke-width: 1.2; }
.network .edge.hot { stroke: var(--brand); stroke-width: 1.6; }
.network .node { fill: var(--surface); stroke: var(--text-2); stroke-width: 1.4; }
.network .node.hot { fill: var(--brand); stroke: none; }
.network .ring { fill: none; stroke: var(--brand); opacity: .35; }
.network .cap { font-size: 10px; fill: var(--muted); font-family: var(--font-mono); }

/* Steps */
.flow { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: flow; border-top: 2px solid var(--text); }
.flow li { counter-increment: flow; padding: 18px 18px 0 0; color: var(--text-2); font-size: 14px; position: relative; }
.flow li::before { content: "0" counter(flow); display: block; font-family: var(--font-mono); font-size: 12.5px; color: var(--brand); font-weight: 700; margin-bottom: 10px; }
.flow li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text); }
.flow li strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 6px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 26px; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Developers */
.dev { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 880px) { .dev { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-2); font-size: 14.5px; }
.ticks li strong { color: var(--text); }
.ticks svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.codecard { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #0b0b0c; color: #e9e9ec; box-shadow: var(--shadow); }
.codecard .bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #222226; font-size: 12.5px; color: #9a9aa3; font-family: var(--font-mono); }
.codecard .bar button { margin-left: auto; background: transparent; color: #e9e9ec; border: 1px solid #333338; border-radius: 6px; font: inherit; padding: 3px 10px; cursor: pointer; }
.codecard .bar button:hover { border-color: #ff2d3a; }
.codecard pre { margin: 0; padding: 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; overflow-x: auto; }
.codecard .k { color: #ff6b74; }
.codecard .s { color: #a5d6a7; }
.codecard .c { color: #6f6f78; }
.codecard .b { color: #f7c873; }

/* Principles */
.principles { display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.principles > div { padding: 24px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.principles .no { font-family: var(--font-mono); font-size: 12.5px; color: var(--brand); font-weight: 700; }
.principles h3 { font-size: 16px; margin-top: 10px; }
.principles p { color: var(--text-2); font-size: 14px; margin-top: 6px; }
@media (max-width: 880px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* Call to action: an ink band. */
.band { background: var(--ink); color: var(--ink-fg); padding: 72px 0; }
.band .container { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.03em; }
.band p { margin-top: 10px; opacity: .75; max-width: 52ch; }
.band .btn { border-color: color-mix(in srgb, var(--ink-fg) 30%, transparent); background: transparent; color: var(--ink-fg); }
.band .btn:hover { border-color: var(--ink-fg); }
.band .btn-accent { background: var(--brand); border-color: var(--brand); color: #fff; }
.band .btn-accent:hover { background: var(--brand-strong); border-color: var(--brand-strong); }

/* FAQ */
.faq { display: grid; gap: 40px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin-top: 10px; }

/* ---------------------------------------------------------------- footer -- */

.footer-big { border-top: 1px solid var(--border); padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-grid h4 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--brand); }
.footer-grid .about { color: var(--text-2); max-width: 36ch; margin-top: 12px; }
.footer-bottom { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; }

/* ------------------------------------------------------------ long-form -- */

.doc { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; }
.doc .meta { color: var(--muted); margin-top: 10px; font-size: 13.5px; }
.doc h2 { font-size: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.doc p, .doc li { color: var(--text-2); }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 12px; padding-left: 20px; display: grid; gap: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ------------------------------------------------------- staff directory -- */

.dir-title { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; }
.directory { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.member { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 20px; display: grid; grid-template-columns: 72px 1fr; gap: 6px 16px; align-items: center; }
/* Red ring + light inner edge so dark pictures still read on a dark page. */
.member .pic { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid var(--brand); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--border-strong); background: var(--surface-2); }
.member .pic img, .member .pic svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.member h3 { font-size: 17px; display: flex; align-items: center; gap: 6px; }
.member .role { display: block; font-size: 13px; font-weight: 650; color: var(--brand); margin-top: 2px; }
.member .joined { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.member blockquote { grid-column: 1 / -1; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--border); color: var(--text-2); font-size: 14px; font-style: italic; }
.verified { width: 18px; height: 18px; color: var(--brand); flex: none; }
.verified-inline { color: var(--brand); font-weight: 650; }

/* --------------------------------------------------------- request page -- */

.req-steps { display: flex; gap: 0; margin: 6px 0 22px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.req-steps .step { flex: 1; font-size: 12.5px; padding: 9px 10px; color: var(--muted); text-align: center; border-right: 1px solid var(--border); }
.req-steps .step:last-child { border-right: 0; }
.req-steps .step.on { color: var(--text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--brand); }
.req-steps .step.done { color: var(--text-2); background: var(--surface-2); }
.code-big { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: .08em; padding: 12px 16px; border: 1px dashed var(--brand); border-radius: var(--radius); display: inline-block; user-select: all; }

@media (prefers-reduced-motion: reduce) { .panel-bar .live { animation: none; } }

/* ---------------------------------------------------- developer dashboard -- */

.dev-hero { max-width: 760px; }
.big-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.big-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: start; }
.big-steps .no { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--brand); color: var(--brand-ink); }
.big-steps strong { font-size: 16px; }
.big-steps p { color: var(--text-2); margin-top: 2px; font-size: 14.5px; }
details.plain summary { cursor: pointer; font-weight: 600; color: var(--text-2); }
details.plain p { color: var(--text-2); max-width: 70ch; font-size: 14px; }
.dev-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 0; margin-bottom: 16px; }
.dev-tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; margin-bottom: -1px; }
.dev-tab:hover { color: var(--text); }
.dev-tab.on { color: var(--text); border-bottom-color: var(--brand); }
.dev-tab .count { font-size: 11.5px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.dev-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.dev-chip img { border-radius: 50%; }
.verify { border: 1px dashed var(--brand); border-radius: var(--radius); padding: 16px; }
.site-header .side-tag { margin-left: 4px; }


/* ---- request form steps, tick lists, proof pictures ---- */
.form-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.form-step:first-child { border-top: 0; padding-top: 0; }
.form-step > .no { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--brand); color: var(--brand-ink); }
.form-step h3 { margin: 4px 0 10px; font-size: 16px; }
.form-step .grow { min-width: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.checks { display: grid; gap: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; cursor: pointer; }
.check input { margin-top: 3px; flex: none; accent-color: var(--brand); }
.proof-rules { margin: 0; padding: 12px 14px 12px 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2, transparent); font-size: 13.5px; color: var(--text-2); display: grid; gap: 4px; }
.proof-list { display: grid; gap: 8px; margin-top: 10px; }
.proof-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; }
.proof-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.proof-thumb { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.proof-thumb img { width: 100%; height: auto; display: block; }
.proof-thumb figcaption { padding: 8px 10px; font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.proof-open, .proof-gone { display: grid; place-items: center; min-height: 110px; width: 100%; border: 0; background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(128,128,128,.10) 10px 20px); color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; }
.proof-open { cursor: pointer; }
.proof-open:hover { background-color: rgba(128,128,128,.12); }
.proof-gone { color: var(--text-2); font-weight: 400; }
.chips-static { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 560px) { .form-step { grid-template-columns: 1fr; } .form-step > .no { display: none; } .proof-item { grid-template-columns: 56px 1fr; } }

/* ==========================================================================
   Motion on the public pages. See app.css for the shared pieces.
   ========================================================================== */
@keyframes grid-drift { to { background-position: 44px 44px, 44px 44px; } }
@keyframes underline-in { from { background-size: 0 3px; } }
@keyframes bar-grow { from { transform: scaleX(0); } }
@keyframes glow { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 0%, transparent); } }

html.motion .site-header { animation: drop-in .5s var(--ease-out) backwards; }
.site-header nav .btn-ghost { position: relative; }
.site-header nav .btn-ghost::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease-out); }
.site-header nav .btn-ghost:hover::after { transform: scaleX(1); }

/* The hero arrives in order: label, headline, text, buttons, then the live panel. */
html.motion .home-hero::before { animation: grid-drift 14s linear infinite; }
html.motion .home-hero .container > div:first-child > * { animation: fade-up .6s var(--ease-out) backwards; }
.home-hero .container > div:first-child > :nth-child(2) { animation-delay: .08s; }
.home-hero .container > div:first-child > :nth-child(3) { animation-delay: .16s; }
.home-hero .container > div:first-child > :nth-child(4) { animation-delay: .24s; }
.home-hero .container > div:first-child > :nth-child(5) { animation-delay: .32s; }
html.motion .home-hero .panel { animation: pop-in .7s var(--ease-out) .28s backwards; transition: transform .3s var(--ease-out), box-shadow .3s; }
.home-hero .panel:hover { transform: translateY(-3px); }
html.motion .home-hero h1 em { background: linear-gradient(var(--brand), var(--brand)) left bottom / 100% 3px no-repeat; padding-bottom: 2px; animation: underline-in .7s var(--ease-out) .7s backwards; }
html.motion .home-hero .trust li { animation: fade-up .5s var(--ease-out) backwards; }
.home-hero .trust li:nth-child(1) { animation-delay: .40s; }
.home-hero .trust li:nth-child(2) { animation-delay: .46s; }
.home-hero .trust li:nth-child(3) { animation-delay: .52s; }
.home-hero .trust li:nth-child(4) { animation-delay: .58s; }

/* Sections below the fold fade up as you reach them (motion.js adds .reveal, then .in). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Numbers and bars. */
html.motion .stage .fill { transform-box: fill-box; transform-origin: left center; animation: bar-grow .9s var(--ease-out) backwards; }
.stage:nth-child(2) .fill { animation-delay: .08s; }
.stage:nth-child(3) .fill { animation-delay: .16s; }
.stage:nth-child(4) .fill { animation-delay: .24s; }
.ledger > div, .principles > div { transition: background-color .25s; }
.ledger > div:hover, .principles > div:hover { background: color-mix(in srgb, var(--text) 4%, transparent); }
.ledger > div:hover .n { transform: translateY(-2px); }
.ledger .n { transition: transform .25s var(--ease-out); }
.flow li::after { transition: transform .25s var(--ease-spring), background-color .25s; }
.flow li:hover::after { transform: scale(1.5); background: var(--brand); }
.codecard { transition: transform .3s var(--ease-out), box-shadow .3s; }
.codecard:hover { transform: translateY(-3px); }
.faq details summary { transition: color .15s; }
.faq details[open] summary { color: var(--brand); }

/* Inner pages: appeal, privacy, security, staff directory, developers. */
html.motion .page-head > *, html.motion .page .narrow > .card, html.motion .page .narrow > form, html.motion .dev-hero > * { animation: fade-up .5s var(--ease-out) backwards; }
.page-head > :nth-child(2), .dev-hero > :nth-child(2) { animation-delay: .06s; }
.page-head > :nth-child(3), .dev-hero > :nth-child(3) { animation-delay: .12s; }
.page .narrow > .card, .page .narrow > form, .dev-hero > :nth-child(n + 4) { animation-delay: .18s; }
html.motion .big-steps li { animation: fade-up .5s var(--ease-out) backwards; }
.big-steps li:nth-child(1) { animation-delay: .20s; }
.big-steps li:nth-child(2) { animation-delay: .28s; }
.big-steps li:nth-child(3) { animation-delay: .36s; }
.big-steps .no { transition: transform .25s var(--ease-spring); }
.big-steps li:hover .no { transform: scale(1.12); }
html.motion .directory > * { animation: fade-up .45s var(--ease-out) backwards; transition: transform .25s var(--ease-out), border-color .25s; }
.directory > *:nth-child(2) { animation-delay: .06s; }
.directory > *:nth-child(3) { animation-delay: .12s; }
.directory > *:nth-child(4) { animation-delay: .18s; }
.directory > *:nth-child(n + 5) { animation-delay: .24s; }
.directory > *:hover { transform: translateY(-3px); }
.dev-tab { position: relative; }
html.motion .form-step { animation: fade-up .4s var(--ease-out) backwards; }
.form-step:nth-of-type(2) { animation-delay: .06s; }
.form-step:nth-of-type(3) { animation-delay: .12s; }
.form-step:nth-of-type(4) { animation-delay: .18s; }
html.motion .thread .msg { animation: fade-up .3s var(--ease-out) backwards; }
.footer-big a { transition: color .15s; }

/* ---- setup guide: one step at a time ---- */
.guide { border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.guide-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 13px; }
.guide-count { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--brand); white-space: nowrap; }
.guide-dots { display: flex; gap: 6px; flex: 1; }
.guide-dot { flex: 1; max-width: 46px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--text) 16%, transparent); cursor: pointer; transition: background-color .2s, transform .2s; }
.guide-dot:hover { transform: scaleY(1.5); }
.guide-dot.done { background: color-mix(in srgb, var(--brand) 55%, transparent); }
.guide-dot.on { background: var(--brand); }
.guide-step { padding: 22px 22px 8px; }
.guide-step h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; letter-spacing: -.01em; margin: 0 0 14px; }
.guide-step h3 .no { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 800; background: var(--brand); color: var(--brand-ink); }
.guide-body { font-size: 15.5px; line-height: 1.6; max-width: 68ch; }
.guide-list { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.guide-list li::marker { color: var(--brand); font-weight: 700; }
.guide-help { border: 1px dashed var(--border); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; }
.guide-help ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; color: var(--text-2); }
.guide-ok { color: var(--ok); font-weight: 600; }
.guide-nav { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px 20px; }
.guide .code { max-height: 260px; overflow: auto; }
html.motion .guide { animation: fade-up .4s var(--ease-out) backwards; }
html.motion .guide-step { animation: fade-up .3s var(--ease-out) backwards; }
@media (max-width: 560px) { .guide-top { flex-wrap: wrap; } .guide-step { padding: 18px 16px 4px; } .guide-nav { padding: 14px 16px 16px; } }

/* People who ask for less motion get none of the above. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Staff application */
.apply-form .apply-step { padding: 22px 0; border-bottom: 1px solid var(--border); }
.apply-form .apply-step:first-child { padding-top: 0; }
.apply-form h2 { font-size: 18px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.apply-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 10px; }
.apply-checks { display: grid; gap: 10px; }
.apply-check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.apply-check input { margin-top: 3px; flex: none; }
.apply-check .sub { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.apply-agree .apply-check { font-size: 14px; }
.apply-form fieldset.field { border: 0; padding: 0; margin: 14px 0 0; }
.apply-form .check { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; }
.apply-done h2 { margin: 0; }

/* Coverage: the flagged lists by category */
.cov-total .n { font-size: 38px; }
.cov-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cov-cat { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); background: var(--surface); }
.cov-cat.c-condo { color: #f87171; border-color: rgba(248,113,113,.35); }
.cov-cat.c-nsfw { color: #fb7185; border-color: rgba(251,113,133,.35); }
.cov-cat.c-fetish { color: #c084fc; border-color: rgba(192,132,252,.35); }
.cov-cat.c-erp { color: #f472b6; border-color: rgba(244,114,182,.35); }
.cov-cat.c-clothing { color: #fbbf24; border-color: rgba(251,191,36,.35); }
.cov-cat.c-bypass { color: #60a5fa; border-color: rgba(96,165,250,.35); }

/* Transparency report */
.tr-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin-top: 24px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.tr-totals > div { padding: 16px 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tr-totals .n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }
.tr-totals .l { color: var(--text-2); font-size: 13px; }
.tr-wrap { overflow-x: auto; margin-top: 14px; }
.tr-wrap table { margin-top: 0; min-width: 760px; font-size: 13.5px; }
.tr-wrap .num { text-align: right; font-variant-numeric: tabular-nums; }
.tr-wrap .nowrap { white-space: nowrap; }

/* ---- Kept out: a tilted wall of soft blobs, the total floating over it ---- */
.wall-section { overflow: hidden; }
.wall-stage { position: relative; height: 480px; margin: 8px 0 26px; perspective: 1100px; overflow: hidden; }
.wall-stage.empty { display: none; }
.wall { position: absolute; left: -12%; right: -12%; top: 50%; display: grid; gap: 18px;
  transform: translateY(-50%) rotateX(22deg) rotateZ(-6deg); transform-origin: 50% 50%;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 40%, transparent 100%); }
.wall-row { overflow: visible; }
.wall-track { display: flex; gap: 18px; width: max-content; animation: wall-roll calc(var(--n, 30) * 2.6s * var(--speed, 1)) linear infinite; }
.wall-row.rev .wall-track { animation-direction: reverse; }
.wall-tile { width: 112px; height: 112px; flex: 0 0 auto; border-radius: 50%; image-rendering: auto;
  filter: blur(7px) saturate(.75) brightness(.9); box-shadow: 0 0 40px rgba(0,0,0,.6); }
.wall-tile.game { border-radius: 24px; filter: blur(8px) saturate(.9) brightness(.8); outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 6px; }
.wall-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 50% 50%, color-mix(in srgb, var(--bg) 25%, transparent), color-mix(in srgb, var(--bg) 70%, transparent) 70%),
    linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.wall-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 40% 35% at 50% 52%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); }
.wall-total { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; padding: 26px 40px 22px; border-radius: 24px;
  background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.wall-total-n { display: block; font: 800 clamp(56px, 9vw, 112px)/1 var(--font-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--text); }
.wall-total-l { display: block; margin-top: 10px; font: 600 13px/1.3 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.wall-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; }
.wall-counts > div { padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.wall-counts .n { display: block; font: 800 clamp(30px, 4vw, 44px)/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.wall-counts .n.red { color: var(--brand); }
.wall-counts .l { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
@keyframes wall-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } }
@media (max-width: 700px) {
  .wall-stage { height: 380px; }
  .wall-tile { width: 80px; height: 80px; }
  .wall-total { padding: 18px 22px; width: calc(100% - 48px); }
  .wall-counts { grid-template-columns: 1fr; }
}

/* ---- Why it matters ---- */
.danger-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.danger { position: relative; padding: 22px 22px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.danger .dn { font: 700 13px/1 var(--font-mono); color: var(--brand); letter-spacing: .12em; }
.danger h3 { margin: 10px 0 8px; font-size: 19px; }
.danger p { color: var(--text-2); line-height: 1.6; }
.advice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.advice > div { padding: 18px 20px; border-radius: 16px; background: var(--surface-2); }
.advice h3 { font-size: 16px; margin-bottom: 8px; }
.advice ul { margin: 0; padding-left: 18px; color: var(--text-2); line-height: 1.65; }
.notice-help { margin-top: 18px; padding: 16px 20px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--border)); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); line-height: 1.6; }
.notice-help strong { display: block; margin-bottom: 4px; }
@media (max-width: 800px) { .danger-grid, .advice { grid-template-columns: 1fr; } }
