:root {
  --bg: #f6f5f2; --panel: #fff; --ink: #1b1b1f; --muted: #6b6b75; --line: #e3e1db;
  --accent: #1f4fd8; --fail: #c62828; --fail-bg: #fdecea; --review: #a15c00; --review-bg: #fff4e0;
  --pass: #1e7a3c; --pass-bg: #e7f5ec; --na: #6b6b75; --na-bg: #efeeea;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.45; }
main { max-width: 1040px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 28px; margin: 4px 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 18px; margin: 32px 0 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--muted); margin: 0; }
.lede { color: var(--muted); max-width: 680px; margin: 0 0 24px; }
.muted { color: var(--muted); font-size: 13px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
label.chk { display: inline-flex; gap: 6px; align-items: center; margin-right: 16px; font-weight: 500; }
input[type=text] { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted); cursor: pointer; background: #fbfaf8; }
.drop.over { border-color: var(--accent); color: var(--accent); }
.preview { margin-top: 12px; }
.preview img, .preview video { max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }
button { font: inherit; border: 0; border-radius: 8px; padding: 10px 16px; cursor: pointer; }
button.primary { background: var(--accent); color: #fff; font-weight: 600; }
button.primary:disabled { opacity: .5; cursor: default; }
button.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.field { margin-top: 14px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.banner { display: inline-block; padding: 8px 14px; border-radius: 8px; font-weight: 700; margin: 8px 0 16px; }
.banner.non_conformities_found { background: var(--fail-bg); color: var(--fail); }
.banner.review_required { background: var(--review-bg); color: var(--review); }
.banner.no_non_conformities_observed { background: var(--pass-bg); color: var(--pass); }
.banner.insufficient_evidence { background: var(--na-bg); color: var(--na); }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fbfaf8; }
td.num, th.num { text-align: right; white-space: nowrap; }
.pill { display: inline-block; min-width: 58px; text-align: center; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pill.fail { background: var(--fail-bg); color: var(--fail); }
.pill.review { background: var(--review-bg); color: var(--review); }
.pill.pass { background: var(--pass-bg); color: var(--pass); }
.pill.not_assessable { background: var(--na-bg); color: var(--na); }
dl.meta { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; margin: 0 0 20px; font-size: 14px; }
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; }
pre { background: #111; color: #e8e8e8; padding: 16px; border-radius: 10px; overflow: auto; font-size: 12px; max-height: 480px; }
.status { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--na-bg); color: var(--muted); }
.status.on { background: var(--pass-bg); color: var(--pass); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 14px; counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.error { color: var(--fail); margin-top: 12px; }
details summary { cursor: pointer; font-weight: 600; }

/* certify.games */
.brand { margin: 0 0 28px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand a { color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
body.narrow main { max-width: 460px; padding-top: 56px; }
input[type=email], input.text { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 16px; background: #fff; }
input[type=email]:focus, input.text:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
a.button, button.block { display: inline-block; text-decoration: none; background: var(--accent); color: #fff; font-weight: 600; padding: 10px 16px; border-radius: 8px; }
button.block { width: 100%; margin-top: 12px; }
button.link { background: none; padding: 0; color: var(--accent); text-decoration: underline; font-size: 14px; }
.notice { background: var(--pass-bg); color: var(--pass); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.topbar .brand { margin: 0; }
.topbar .spacer { flex: 1; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.products .panel h2 { margin-top: 0; }
.products .panel p { margin: 0 0 12px; }
.copyfield { display: flex; gap: 8px; }
.copyfield code { flex: 1; background: #f1f0ec; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font-size: 13px; overflow-wrap: anywhere; }
ul.conns { list-style: none; padding: 0; margin: 0; font-size: 14px; }
ul.conns li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
