:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #000; color: #fff; font-family: 'Geist', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.7; }
a { color: #fff; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); border-bottom: 1px solid #1c1c1c; background: rgba(0,0,0,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bar img { width: 44px; height: 44px; filter: invert(1); mix-blend-mode: screen; object-fit: contain; display: block; }
.bar .back { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid #2a2a2a; border-radius: 999px; font-size: 14px; color: #d4d4d4; text-decoration: none; transition: border-color 200ms, color 200ms; }
.bar .back:hover { border-color: #6b6b6b; color: #fff; }

main { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 32px) clamp(64px, 10vw, 120px); }
.kicker { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; }
h1 { margin: 14px 0 0; font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; font-size: clamp(3rem, 8vw, 5rem); line-height: .92; }
.lead { margin: 22px 0 0; color: #a3a3a3; font-size: 18px; }
.updated { margin: 18px 0 0; font-size: 14px; color: #8a8a8a; }
nav.toc { margin: 40px 0 0; padding: 20px 22px; border: 1px solid #1f1f1f; border-radius: 8px; background: #0a0a0a; }
nav.toc b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; font-weight: 500; }
nav.toc ol { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
nav.toc a { color: #d4d4d4; text-decoration: none; }
nav.toc a:hover { color: #fff; text-decoration: underline; }
h2 { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid #1c1c1c; font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.4rem); line-height: 1; scroll-margin-top: 90px; }
h3 { margin: 28px 0 0; font-size: 17px; font-weight: 600; }
p, li { color: #d4d4d4; }
p { margin: 14px 0 0; }
ul, ol { margin: 14px 0 0; padding-left: 22px; }
li + li { margin-top: 6px; }
strong { color: #fff; font-weight: 500; }
.box { margin: 18px 0 0; padding: 18px 20px; border: 1px solid #2a2a2a; border-radius: 6px; background: #0a0a0a; }
.box p:first-child { margin-top: 0; }
dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 22px; margin: 18px 0 0; padding: 18px 20px; border: 1px solid #2a2a2a; border-radius: 6px; background: #0a0a0a; }
dt { color: #8a8a8a; font-size: 14px; }
dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
mark.dato { padding: 1px 6px; border-radius: 3px; background: #3a2f12; color: #f0c36a; font-size: .95em; }
.tbl { margin: 18px 0 0; overflow-x: auto; border: 1px solid #2a2a2a; border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid #1f1f1f; color: #d4d4d4; }
th { border-top: 0; background: #0d0d0d; color: #8a8a8a; font-weight: 500; font-size: 13px; letter-spacing: .04em; }
code { font-size: .9em; padding: 1px 6px; border-radius: 3px; background: #141414; color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border: 1px solid #fff; border-radius: 4px; background: transparent; color: #fff; font: inherit; font-size: 15px; cursor: pointer; text-decoration: none; transition: background 200ms, transform 160ms; }
.btn:hover { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(.97); }
.btn.solid { background: #fff; color: #000; font-weight: 500; }
.btn.solid:hover { background: #d9d9d9; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.status { font-size: 14px; color: #a3a3a3; }
.qr { display: inline-grid; place-items: center; width: 120px; height: 160px; margin-top: 14px; border: 1px dashed #3a3a3a; border-radius: 6px; color: #8a8a8a; font-size: 12px; text-align: center; padding: 10px; }

footer.legal { border-top: 1px solid #1c1c1c; padding: 28px clamp(16px, 4vw, 48px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: #8a8a8a; }
footer.legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.legal a { color: #a3a3a3; text-decoration: none; }
footer.legal a:hover, footer.legal a[aria-current] { color: #fff; }

@media (max-width: 560px) {
  nav.toc ol { columns: 1; }
  dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  dd + dt { margin-top: 10px; }
}

footer.legal .credit { flex-basis: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; padding-top: 18px; border-top: 1px solid #1f1f1f; color: #8a8a8a; }
footer.legal .credit img { width: 28px; height: 28px; border-radius: 50%; }
footer.legal .credit:hover { color: #fff; }
footer.legal.solo { justify-content: center; }
footer.legal.solo .credit { margin-top: 0; padding-top: 0; border-top: 0; }
