/* BRICKZ /learn/ shared styles */
*{margin:0;padding:0;box-sizing:border-box}
html,body{background:#0d0d0d;color:#fff;font-family:'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.7;-webkit-font-smoothing:antialiased;max-width:100vw;overflow-x:hidden;text-size-adjust:100%;-webkit-text-size-adjust:100%}
a{color:#f0b90b;text-decoration:none}
a:hover{text-decoration:underline}
img,svg{max-width:100%;height:auto}
.wrap{max-width:760px;margin:0 auto;padding:32px 20px 80px}
.wrap.wide{max-width:920px}
.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;flex-wrap:wrap;gap:12px}
.brand{font-size:16px;font-weight:800;color:#fff;letter-spacing:-.3px}
.brand a{color:#fff}
.brand b{color:#f0b90b}
.nav a{font-size:13px;color:#b7bdc6;margin-left:16px}
.crumb{font-size:11px;color:#8a919a;letter-spacing:.5px;text-transform:uppercase;margin-bottom:6px}
.crumb a{color:#8a919a}
h1{font-size:clamp(26px,4.2vw,36px);font-weight:800;letter-spacing:-.5px;margin:0 0 14px;color:#fff;line-height:1.18}
.lede{font-size:16px;color:#b7bdc6;margin:0 0 28px}
.meta{font-size:12px;color:#8a919a;margin-bottom:24px}
h2{font-size:22px;font-weight:800;color:#fff;margin:36px 0 10px;letter-spacing:-.2px;line-height:1.25}
h3{font-size:17px;font-weight:700;color:#fff;margin:22px 0 8px}
p{font-size:15px;color:#c9cfd6;margin-bottom:14px}
ul,ol{padding-left:22px;margin-bottom:16px}
li{font-size:15px;color:#c9cfd6;margin-bottom:8px}
code{background:#1a1a1a;padding:2px 7px;border-radius:4px;font-size:13px;color:#fff;font-family:'DM Mono',Consolas,monospace;word-break:break-all}
.box{background:#141414;border:1px solid #2a2a2a;border-left:3px solid #f0b90b;border-radius:8px;padding:16px 20px;margin:18px 0;font-size:14px}
.box.warn{border-left-color:#f6465d;background:rgba(246,70,93,.05)}
.box.ok{border-left-color:#0ecb81;background:rgba(14,203,129,.04)}
.box strong{color:#fff}
.cta{display:inline-block;padding:12px 22px;background:#f0b90b;color:#000;font-weight:800;border-radius:8px;margin:8px 8px 8px 0;text-decoration:none}
.cta.ghost{background:transparent;border:1px solid #f0b90b;color:#f0b90b}
.cta:hover{text-decoration:none;opacity:.9}
.summary{background:#141414;border:1px solid #2a2a2a;border-radius:12px;padding:20px 24px;margin:20px 0 28px}
.summary ol{padding-left:20px;margin-bottom:0}
.summary li{margin-bottom:6px;font-size:14px}
.feeline{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dotted #2a2a2a;font-size:14px;gap:12px}
.feeline:last-child{border-bottom:none;font-weight:800;color:#fff}
.feeline span:last-child{font-family:'DM Mono',monospace;text-align:right}
.related{background:#141414;border:1px solid #2a2a2a;border-radius:12px;padding:22px 24px;margin-top:36px}
.related h3{margin-top:0;font-size:14px;color:#f0b90b;text-transform:uppercase;letter-spacing:.8px}
.related a{display:block;padding:8px 0;font-size:14px}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:28px}
@media(max-width:640px){.grid{grid-template-columns:1fr}}
.card{display:block;padding:22px;background:#141414;border:1px solid #2a2a2a;border-radius:12px;color:#fff;text-decoration:none;transition:border-color .15s}
.card:hover{border-color:#f0b90b;text-decoration:none}
.card .tag{font-size:11px;color:#f0b90b;text-transform:uppercase;letter-spacing:.8px;font-weight:700;margin-bottom:8px}
.card h3{font-size:16px;font-weight:800;color:#fff;margin:0 0 6px;letter-spacing:-.2px}
.card p{font-size:13px;color:#8a919a;line-height:1.55;margin:0}
.eyebrow{font-size:11px;color:#f0b90b;text-transform:uppercase;letter-spacing:.8px;font-weight:700;margin-bottom:6px}
table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid #2a2a2a}
th{color:#fff;font-weight:700;background:#141414}
td{color:#c9cfd6}
footer{border-top:1px solid #2a2a2a;margin-top:48px;padding-top:24px;font-size:12px;color:#8a919a;line-height:1.7}
footer a{color:#b7bdc6}
:focus-visible{outline:2px solid #f0b90b;outline-offset:2px;border-radius:4px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
