/* Palette sampled from the KAB Studios logo: navy #000019, white #FAFAFA, gold #FED227 / #F6A612, cyan #00DFFE, magenta #D93DFC.
   --orange/--mint/--sky remain ONLY for the answer-colour swatches, which must match the app's buttons; update them with the app's theme. */
:root{--navy:#000019;--navy-2:#0B0B33;--line:#22225A;--white:#FAFAFA;--muted:#BDBAD6;--gold:#FED227;--gold-deep:#F6A612;--cyan:#00DFFE;--magenta:#D93DFC;--ink:#000019;--orange:#FF6A1A;--mint:#34D399;--sky:#7DD3FC;color-scheme:dark}
*{box-sizing:border-box;margin:0}
body{background:var(--navy);color:var(--white);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.6;min-height:100vh;display:flex;flex-direction:column}
.wrap{width:100%;max-width:880px;margin:0 auto;padding:0 20px}
a{color:var(--gold);text-underline-offset:3px}
a:focus-visible{outline:3px solid var(--cyan);outline-offset:2px;border-radius:4px}
.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;background:var(--gold);color:var(--ink);padding:8px 12px;border-radius:8px;z-index:9}
header.top{padding:22px 0}
header.top .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.logo{font-weight:900;letter-spacing:.12em;color:var(--gold);text-decoration:none;font-size:1.05rem}
nav{display:flex;flex-wrap:wrap;gap:4px 16px}
nav a{color:var(--white);font-size:.95rem}
.tiles{display:flex;gap:6px;margin-top:14px}.tiles span{flex:1;height:6px;border-radius:3px}
.t1{background:var(--gold)}.t2{background:var(--cyan)}.t3{background:var(--magenta)}.t4{background:var(--white)}
main{flex:1;overflow-wrap:break-word}
main a{overflow-wrap:anywhere}
h1{font-size:min(clamp(2.4rem,9vw,4.6rem),17vw);font-weight:900;letter-spacing:.06em;line-height:1.02;color:var(--gold);margin:40px 0 14px}
h2{font-size:clamp(1.4rem,4vw,1.9rem);font-weight:900;margin:0 0 14px;line-height:1.2}
h3{font-size:1.1rem;margin-bottom:6px}
.lede{font-size:1.15rem;color:var(--muted);max-width:58ch}
.pill{display:inline-block;margin-top:22px;background:var(--gold-deep);color:var(--ink);font-weight:900;padding:10px 16px;border-radius:12px}
section{margin:56px 0}
.steps{list-style:none;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{background:var(--navy-2);border:1px solid var(--line);border-radius:14px;padding:20px}
.card p,.muted{color:var(--muted)}
.num{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;font-weight:900;color:var(--ink);margin-bottom:10px}
.grid2{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(max(7rem,calc(50% - 5px)),1fr));gap:10px;margin-top:16px;max-width:420px}
.answers div{color:var(--ink);font-weight:800;border-radius:12px;padding:12px 14px}
.answers b{margin-right:8px}
details{background:var(--navy-2);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:10px}
summary{cursor:pointer;font-weight:700}
details p{margin-top:8px;color:var(--muted)}
.doc h2{font-size:1.25rem;margin:34px 0 8px}
.doc p,.doc li{color:var(--muted);max-width:68ch}
.doc ul{padding-left:1.2em}.doc li{margin:4px 0}
table{border-collapse:collapse;width:100%;margin-top:10px;font-size:.95rem}
th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}
th{color:var(--gold)}td{color:var(--muted)}
.tablewrap{overflow-x:auto}
footer{border-top:1px solid var(--line);padding:22px 0 34px;margin-top:40px;font-size:.88rem;color:var(--muted)}
footer p+p{margin-top:6px}
footer a{margin-right:14px}
.madeby{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
/* KAB Studios logo: shown exactly as provided (scale-only copy). The plate is the logo's own
   background navy (#010119), so the image needs no crop; padding keeps the rounded plate
   corners from touching the image. */
footer a.studio{display:block;margin-right:0;background:var(--navy);border-radius:12px;padding:6px;color:var(--white);font-weight:800}
footer a.studio:focus-visible{border-radius:12px}
.studio img{display:block;width:180px;max-width:100%;height:auto}
.bg-o{background:var(--orange)}.bg-g{background:var(--gold)}.bg-m{background:var(--mint)}.bg-s{background:var(--sky)}
.c-gold{background:var(--gold)}.c-cyan{background:var(--cyan)}.c-magenta{background:var(--magenta)}
.h1sm{font-size:clamp(2rem,7vw,3rem)}
