/* Onyx (owner 30 Nov): shared tokens, fonts, nav shell for every Early page. Source of truth for the look: site/design_templates/onyx/ */
@font-face{font-family:"Archivo Black";font-weight:400;font-display:swap;src:url(fonts/ArchivoBlack-Regular.ttf) format("truetype")}
@font-face{font-family:"Fira Sans";font-weight:400;font-display:swap;src:url(fonts/FiraSans-Regular.ttf) format("truetype")}
@font-face{font-family:"Fira Sans";font-weight:500;font-display:swap;src:url(fonts/FiraSans-Medium.ttf) format("truetype")}
@font-face{font-family:"Fira Sans";font-weight:600;font-display:swap;src:url(fonts/FiraSans-SemiBold.ttf) format("truetype")}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
:root{--bg:#000;--s1:#121214;--s2:#1C1C1F;--s3:#2C2C30;--rule:#2A2A2E;--ink:#F5F5F7;--ink2:#A8A8AE;--mut:#8E8E94;--pos:#1ED760;--neg:#FF5A3C;--coral:#FF6F61;--line:rgba(255,255,255,.07);
 --r-card:28px;--r-row:16px;--gut:20px;--tabh:84px}
body{font-family:"Fira Sans",-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums lining-nums;font-size:16px;line-height:1.4;min-height:100vh;padding-bottom:calc(var(--tabh) + env(safe-area-inset-bottom))}
a{color:inherit;text-decoration:none;cursor:pointer}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
a:focus-visible,button:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:8px}
.blk,h1,.big,.bigv,.wm,.v,.dh3 h3,.ans,.sh,.sect>h2{font-family:"Archivo Black","Arial Black",sans-serif;font-weight:400}
sup.h{font-family:"Fira Sans",sans-serif;font-size:12px;font-weight:500;color:var(--mut);vertical-align:super;line-height:0;margin-left:2px;letter-spacing:0;text-transform:none}
.na{color:var(--mut);font-weight:400}
.pos{color:var(--pos)}.neg{color:var(--neg)}
svg text{font-family:"Fira Sans",sans-serif}
.wrap{max-width:1344px;margin:0 auto;padding:0 var(--gut)}
/* wordmark */
.wm{font-size:24px;letter-spacing:-.04em;position:relative;padding-right:10px;line-height:1.2;display:inline-block}
.wm .dot{position:absolute;right:0;bottom:6px;width:7px;height:7px;border-radius:50%;background:var(--coral)}
/* phone: top bar + bottom tab bar */
.topbar{display:flex;justify-content:space-between;align-items:center;padding:12px var(--gut) 8px}
.iconbtn{width:44px;height:44px;border-radius:22px;background:var(--s2);display:grid;place-items:center;color:var(--ink)}
.dnav{display:none}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);height:calc(var(--tabh) - 14px + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);background:rgba(18,18,20,.94);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid var(--rule)}
.tb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;font-weight:500;color:var(--mut);min-height:48px}
.tb.on{color:var(--ink);font-weight:600}
/* desktop: top bar with tabs + search */
@media(min-width:720px){
 body{padding-bottom:0}
 .topbar,.tabbar{display:none}
 .dnav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 48px;border-bottom:1px solid var(--rule)}
 .dtabs{display:flex;gap:4px}
 .dtabs a{font-size:15px;font-weight:500;color:var(--ink2);padding:0 16px;min-height:44px;display:grid;place-items:center;border-radius:22px}
 .dtabs a.on{background:var(--ink);color:#000;font-weight:600}
 .srch{width:260px;min-height:44px;border-radius:22px;padding:0 14px;display:flex;align-items:center;gap:8px;font-size:14px;color:var(--mut);background:var(--s2)}
 :root{--gut:48px}
}
/* footer: one legend line + not-advice on every page */
.foot{padding:24px var(--gut) 32px;margin-top:40px;border-top:1px solid var(--rule);font-size:12px;line-height:1.5;color:var(--mut)}
.foot .legal{max-width:720px}
/* ---- shared Onyx components (task 319: Home + All raises; reusable by raise pages). Names avoid site2's page classes. ---- */
.lcn,.fh b,.shd,.ttl h1{font-family:"Archivo Black","Arial Black",sans-serif;font-weight:400}
.oxp{padding-top:6px}
.ph{display:block}.dt{display:none}
.ld{width:7px;height:7px;border-radius:50%;background:var(--pos);display:inline-block;margin-right:6px;flex:none;box-shadow:0 0 0 3px rgba(30,215,96,.22)}
.tag{flex:none;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:13px;font-size:13px;font-weight:600;background:var(--s2);color:var(--ink2);white-space:nowrap}
.tag.r{background:rgba(255,90,60,.15);color:var(--neg)}
.tag.live{background:rgba(30,215,96,.13);color:var(--pos)}
.tag .ld{width:6px;height:6px;box-shadow:none}
/* hero card */
.hc{border-radius:28px;padding:22px 20px 18px;background:var(--s1);border:1px solid var(--line)}
.hc .q{font-size:15px;color:var(--ink2);line-height:1.35}
.hc .ans{font-size:28px;letter-spacing:-.03em;line-height:1.1;margin-top:6px}
.big{font-size:80px;line-height:.95;letter-spacing:-.05em;margin-top:12px}
.big.sm{font-size:40px;line-height:1.05}
.hc .hsub{font-size:15px;line-height:1.4;color:var(--ink2);margin-top:10px}.hc .hsub b{font-weight:600}
.hc svg.dots{display:block;margin-top:16px;width:100%;height:auto}
.cap2{font-size:12px;color:var(--mut);margin-top:6px;line-height:1.4}
.kb{margin-top:16px;padding-top:16px;border-top:1px solid var(--rule)}
.kbl{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--ink2)}
.kbl b{color:var(--ink);font-weight:600}
.kbl.s{font-size:13px}
.kbar,.track{height:8px;border-radius:4px;background:var(--s3);margin:10px 0 8px;position:relative}
.kbar span,.track span{display:block;height:100%;border-radius:4px;background:var(--ink)}
.track span{background:var(--pos)}
.track.sm{height:6px;margin:12px 0 10px}
/* section heads */
.shd{font-size:21px;letter-spacing:-.025em;padding:30px 0 4px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.shd small,.shd a.mr{font-family:"Fira Sans",sans-serif;font-size:13px;color:var(--mut);font-weight:400;letter-spacing:0;text-align:right}
.shd a.mr{color:var(--ink2);font-size:14px;min-height:44px;display:inline-flex;align-items:center;gap:8px}
/* raising-now cards (swipe on phones) */
.hs{display:flex;gap:12px;overflow-x:auto;padding:8px var(--gut) 4px;margin:0 calc(-1 * var(--gut));scroll-snap-type:x mandatory;scrollbar-width:none;scroll-padding:0 var(--gut)}
.hs::-webkit-scrollbar{display:none}
.lc{flex:none;width:252px;scroll-snap-align:start;background:var(--s1);border-radius:24px;padding:16px;position:relative;overflow:hidden;border:1px solid var(--line);display:block}
.lc:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--pos)}
.lc.up:before{background:var(--mut)}
.lct{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:var(--ink2)}
.lcn{font-size:20px;letter-spacing:-.025em;margin-top:12px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lcg{font-size:14px;color:var(--ink2);margin-top:4px;white-space:nowrap}.lcg b{color:var(--ink);font-weight:600}
.lcf{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--ink2)}.lcf b{color:var(--ink);font-weight:600}
/* what-failed cards */
.fcs{display:grid;gap:10px;margin-top:8px}
.fc{display:flex;gap:14px;align-items:flex-start;background:var(--s1);border-radius:22px;padding:16px;border:1px solid var(--line)}
.fi{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;flex:none}
.fi.down{background:rgba(255,90,60,.15);color:var(--neg)}
.fi.redo{background:var(--s2);color:var(--ink)}
.fb{flex:1;min-width:0}
.fh{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:26px}
.fh b{font-size:17px;letter-spacing:-.02em}
.fb p{font-size:14px;line-height:1.45;color:var(--ink2);margin-top:4px}
/* grouped list (iPhone style) */
.grp{margin-top:8px;background:var(--s1);border-radius:22px;overflow:hidden;border:1px solid var(--line)}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 16px;border-top:1px solid var(--rule)}
.grp>.row:first-child{border-top:0}
.row .rl{min-width:0;flex:1}
.row .n{font-size:16px;font-weight:600;display:flex;align-items:center;line-height:1.25}
.row .s{font-size:13px;color:var(--ink2);margin-top:3px;line-height:1.35}
.row>svg{color:var(--mut);flex:none}
.row .n sup.h,.pn sup.h{align-self:flex-start;line-height:1;margin-top:-2px}
.val{font-size:18px;font-weight:600;text-align:right;white-space:nowrap}
.val .na{font-size:14px}
.pl{flex:none;min-width:56px;display:inline-flex;align-items:center;justify-content:flex-end;font-size:16px;font-weight:600;white-space:nowrap;text-align:right}
.pl.p{color:var(--pos)}.pl.r{color:var(--neg)}.pl.sm{font-size:14px}
.twh{margin-left:8px;font-size:14px;font-weight:500;color:var(--mut);line-height:1}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.more{display:flex;align-items:center;gap:8px;min-height:44px;font-size:15px;font-weight:500;color:var(--ink);margin-top:4px}
.more svg{color:var(--mut)}
/* segmented control, search, filters */
.seg{display:flex;background:var(--s2);border-radius:12px;padding:3px}
.seg label,.seg a{flex:1;text-align:center;font-size:14px;font-weight:500;min-height:44px;display:grid;place-items:center;border-radius:9px;color:var(--ink2);white-space:nowrap;padding:0 10px;cursor:pointer}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg input:checked+label,.seg a.on{background:var(--s3);color:var(--ink);font-weight:600}
.seg input:focus-visible+label{outline:2px solid var(--ink);outline-offset:-2px}
.sbox{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:12px;background:var(--s2);color:var(--mut)}
.sbox input{flex:1;min-width:0;background:none;border:0;color:var(--ink);font:inherit;font-size:16px;min-height:44px;outline:0}
.sbox input::placeholder{color:var(--mut)}
.sbox:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.dd{min-height:44px;padding:0 12px;border-radius:12px;background:var(--s2);font:inherit;font-size:14px;color:var(--ink2);border:0}
/* tables (desktop) */
.tcard{margin-top:8px;background:var(--s1);border-radius:24px;padding:4px 20px;border:1px solid var(--line)}
.tcard table{width:100%;border-collapse:collapse;font-size:14px}
.tcard th{font-size:12px;font-weight:500;color:var(--mut);text-align:left;padding:12px 10px 10px 0;border-bottom:1px solid var(--rule);white-space:nowrap}
.tcard th.r,.tcard td.r{text-align:right}
.tcard td{padding:0 10px 0 0;height:56px;border-bottom:1px solid var(--rule);white-space:nowrap}
.tcard th:last-child,.tcard td:last-child{padding-right:0}
.tcard tbody tr:last-child td{border-bottom:0}
.pn{font-weight:600;font-size:15px;display:flex;align-items:center}
.pn a:hover{text-decoration:underline}
.pl2{font-size:12px;color:var(--mut);margin-top:2px}
tr.lv td{background:rgba(30,215,96,.05)}
.stt{font-size:13px;color:var(--ink2);display:inline-flex;align-items:center;gap:6px}
.stt.live{color:var(--ink);font-weight:600}
.tfoot{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--rule);font-size:13px;color:var(--mut)}
.btn2{min-height:44px;display:inline-grid;place-items:center;padding:0 16px;border-radius:12px;background:var(--s2);color:var(--ink);font-weight:600;font-size:14px}
.ttl{padding:10px 0 0}
.ttl h1{font-size:34px;letter-spacing:-.03em;line-height:1.1}
.ttl p{font-size:14px;color:var(--ink2);margin-top:4px}
.empty{padding:20px 16px;font-size:15px;color:var(--ink2)}
@media(min-width:720px){
 .ph{display:none}.dt{display:block}
 .oxp{padding-top:24px}
 .hs{margin:0;padding:8px 0 4px;scroll-padding:0}
 .lc{width:276px}
 .shd{font-size:22px;padding:28px 0 4px;min-height:48px;align-items:center}
 .indg{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
 .ttl h1{font-size:44px;letter-spacing:-.035em}.ttl p{font-size:15px;margin-top:6px}
}
@media(min-width:720px) and (max-width:1099.98px){.tcard .w{display:none}}
@media(min-width:1000px){
 .hc.d{display:grid;grid-template-columns:minmax(300px,360px) 1fr;gap:48px;padding:32px 36px 28px;border-radius:32px}
 .hc.d .ans{font-size:40px}.hc.d .big{font-size:120px;margin-top:18px}.hc.d .big.sm{font-size:48px}.hc.d .hsub{font-size:17px}
 .hc.d svg.dots{margin-top:0}
}
@media(min-width:1100px){
 .dcols{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:32px}
 .indg{grid-template-columns:1fr 1fr 1fr;gap:32px}
}
.dti{display:none}
@media(min-width:720px){.dti{display:inline}}
/* phones: body text 16 px (MOBILE_STANDARD), wordmark link 44 px tall */
.topbar>a:first-child{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:719.98px){.hc .q,.hc .hsub,.fb p,.ttl p{font-size:16px}}
@media(max-width:719.98px){.cap2,.foot .legal{font-size:16px;line-height:1.45}}
