:root{color-scheme:dark}
body{margin:0;min-height:100vh;display:grid;place-items:center;background:#111312;color:#e8e6e1;
font:16px/1.5 ui-sans-serif,system-ui,sans-serif}
/* border-box: the declared width was the CONTENT box, so 2rem padding and the border sat outside it. min(28rem,92vw) at 390px is
   358.8px, plus 64px of padding and 2px of border = 425px in a 390px viewport — the whole page scrolled sideways on every phone. */
main{box-sizing:border-box;width:min(28rem,92vw);padding:2rem;border:1px solid #2a2f2c;border-radius:16px;background:#171a18}
h1{font-size:1.15rem;margin:0 0 .35rem;letter-spacing:-.01em}
p{margin:0 0 1.25rem;color:#a8b0aa}
.slot{min-height:4.5rem;display:grid;place-items:center}
footer{margin-top:1rem;font-size:.78rem;color:#828b84}
/* The Cap widget ships its own link colour (#06c), which is ~3.2:1 on this dark door and fails WCAG AA. Caught by the
   Playwright + axe gate at 390px. Targeted by href rather than by class, so an upstream restyle cannot silently undo it. */
a[href*="trycap.dev"]{color:#8ab4f8}