/* Resources: article pages (site/resources/<slug>/) and the hub (site/resources.html). Built by resources/build.py. */
body{margin:0;background:#05070f}
a{color:#c7d2fe;text-decoration:none}a:hover{color:#fff}

/* Article */
.art-hero{padding-bottom:24px}
.art-head{max-width:820px;gap:16px}
.art-head h1{font-size:clamp(32px,4.4vw,52px)}
.art-back{font-size:14px}
.art-meta{font-size:14px;color:#8b95b8}
.art-sec{padding-top:8px}
.art-sec .wrap{display:flex;flex-direction:column;gap:56px}
.art{max-width:720px;font-size:17px;line-height:1.65}
.art h2{font-size:26px;line-height:1.2;letter-spacing:-.4px;margin-top:40px}
.art h3{font-size:20px;margin-top:28px}
.art p,.art li{color:#d5dbef;font-size:17px}
.art p,.art ul,.art ol,.art figure,.art blockquote,.art table{margin-top:14px}
.art ul,.art ol{padding-left:22px;display:flex;flex-direction:column;gap:8px}
.art a{color:#c7d2fe;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(199,210,254,.4)}
.art a:hover{color:#fff;text-decoration-color:#fff}
.art strong{color:#fff;font-weight:500}
.art blockquote{border-left:3px solid #4f7bff;padding:4px 0 4px 18px;margin-left:0;color:#e6e9f5}
.art figure{margin-left:0;margin-right:0}
.art figure img,.art figure svg{display:block;width:100%;height:auto;border-radius:16px;background:#0b1020}
.art figcaption{font-size:14px;color:#8b95b8;margin-top:10px}
.art table{width:100%;border-collapse:collapse;font-size:15px}
.art th,.art td{text-align:left;padding:10px 12px;border-bottom:1px solid rgba(148,163,255,.14);color:#d5dbef}
.art th{color:#fff;font-weight:500}
.art-short{background:#0b1020;border:1px solid rgba(143,171,255,.3);border-radius:18px;padding:20px 22px;margin-bottom:8px}
.art-short-k{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#8fabff}
.art-short p{margin-top:8px;color:#fff;font-size:18px}
.art-sources{margin-top:40px;padding-top:20px;border-top:1px solid rgba(148,163,255,.14)}
.art-sources h2{font-size:18px;margin-top:0}
.art-sources li,.art-sources p{font-size:14px;color:#aab3cf}
.art-note{margin-top:32px!important;font-size:14px!important;color:#8b95b8!important}
.art-cta{max-width:720px;box-sizing:border-box;background:linear-gradient(135deg,#13205a,#1e1b4b 60%,#0b1020);border:1px solid rgba(143,171,255,.3);border-radius:24px;padding:28px 30px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.art-cta>div{flex:1 1 320px;display:flex;flex-direction:column;gap:8px}
.art-cta h2{font-size:24px;line-height:1.2}
.art-cta-k{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#c4b5fd}

/* Hub: featured and latest */
.hub-top{position:relative;max-width:1280px;margin:0 auto;padding:24px 24px 56px;display:flex;flex-wrap:wrap;gap:22px;box-sizing:border-box}
.hub-feat{flex:1.5 1 560px;min-width:0;background:linear-gradient(135deg,#13205a,#1e1b4b 60%,#0b1020);border:1px solid rgba(143,171,255,.3);border-radius:28px;overflow:hidden;color:#fff;display:flex;flex-direction:column}
.hub-feat:hover{border-color:rgba(143,171,255,.6)}
.hub-feat-art{height:300px;position:relative;overflow:hidden;display:block}
.hub-feat-art i{position:absolute;display:block}
.hub-feat-art .r{left:48px;top:48px;width:200px;height:200px;border-radius:50%;border:30px solid #4f7bff;box-sizing:border-box;box-shadow:0 0 60px rgba(79,123,255,.5)}
.hub-feat-art .b{left:300px;height:16px;border-radius:999px}
.hub-feat-art .b1{top:70px;width:260px;background:#c4b5fd}
.hub-feat-art .b2{top:108px;width:200px;background:#8fabff}
.hub-feat-art .b3{top:146px;width:150px;background:#a78bfa}
.hub-feat-art .b4{top:184px;width:90px;background:#5c6890}
.hub-feat-t{padding:0 32px 32px;display:flex;flex-direction:column;gap:10px}
.hub-feat-k{display:flex;gap:10px;align-items:center;font-size:13px;color:#8b95b8}
.hub-feat-k .k{color:#c4b5fd}
.hub-feat-h{font-size:34px;font-weight:700;letter-spacing:-.6px;line-height:1.12}
.hub-feat-d{color:#aab3cf}
.hub-latest{flex:1 1 340px;display:flex;flex-direction:column;gap:14px}
.hub-latest-h{font-size:20px;font-weight:500;color:#fff}
.hub-latest-i{background:#0b1020;border:1px solid rgba(148,163,255,.16);border-radius:18px;padding:18px 20px;color:#fff;display:flex;flex-direction:column;gap:4px}
.hub-latest-i:hover{border-color:rgba(143,171,255,.55)}
.hub-latest-i .k{font-size:13px;color:#8fabff}
.hub-latest-i .t{font-weight:500;font-size:17px}

/* Hub: filters, library, coming soon */
.hub-chips{display:flex;gap:8px;flex-wrap:wrap;font-size:14px}
.hub-chips button{background:transparent;color:#e6e9f5;border:1px solid rgba(199,210,254,.3);border-radius:999px;padding:8px 16px;font:inherit;cursor:pointer}
.hub-chips button[aria-pressed="true"]{background:#fff;color:#05070f;border-color:#fff;font-weight:500}
.lib-grid{display:flex;gap:18px;flex-wrap:wrap}
.lib-card{flex:1 1 260px;background:#0b1020;border:1px solid rgba(148,163,255,.16);border-radius:22px;overflow:hidden;color:#fff;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.lib-card:hover{border-color:rgba(143,171,255,.55);transform:translateY(-2px)}
.lib-b{padding:18px 20px;display:flex;flex-direction:column;gap:6px}
.lib-b .k{font-size:13px;color:#8fabff}
.lib-b .t{font-weight:500;font-size:17px}
.lib-b .m{font-size:13px;color:#8b95b8}
.lib-empty{color:#aab3cf}
.lib-soon{opacity:.72}
.soon-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.soon{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#c4b5fd;border:1px solid rgba(196,181,253,.45);border-radius:999px;padding:2px 8px;font-weight:500}
[hidden]{display:none!important}

/* Card thumbnails */
.th{height:150px;position:relative;overflow:hidden;display:block;background:radial-gradient(ellipse at 30% 20%,rgba(124,58,237,.25),rgba(5,7,15,0) 70%),#0d1430}
.th span,.th i{position:absolute;display:block}
.th-ring{left:30px;top:30px;width:90px;height:90px;border-radius:50%;border:16px solid #4f7bff;box-sizing:border-box}
.th-ring.r2{left:100px;top:46px;width:70px;height:70px;border-width:12px;border-color:#c4b5fd}
.th-bar{left:140px;height:12px;border-radius:999px}
.th-bar.b1{top:56px;width:110px;background:#c4b5fd}
.th-bar.b2{top:84px;width:70px;background:#8fabff}
.th-cols{left:30px;bottom:0;display:flex!important;gap:8px;align-items:flex-end}
.th-cols i{position:static;width:28px;border-radius:4px 4px 0 0;background:#4f7bff}
.th-cols i:nth-child(1){height:40px;background:rgba(143,171,255,.35)}
.th-cols i:nth-child(2){height:70px;background:#8fabff}
.th-cols i:nth-child(3){height:100px}
.th-cols i:nth-child(4){height:56px;background:#a78bfa}
.th-line{left:30px;right:30px;top:74px;height:2px;background:#8fabff}
.th-dot{top:66px;width:18px;height:18px;border-radius:50%;background:#c4b5fd}
.th-dot.d1{left:30px}.th-dot.d2{right:30px}

/* Soft gate (gated pieces). The text after the gate is hidden only when JavaScript runs. */
html.js .art.gated:not(.unlocked) .art-gated{display:none}
.gate{margin:32px 0 8px;background:linear-gradient(135deg,#13205a,#1e1b4b 60%,#0b1020);border:1px solid rgba(143,171,255,.35);border-radius:22px;padding:26px 28px}
html:not(.js) .gate{display:none}
.gate h2{font-size:24px;margin-top:6px}
.gate p{color:#d5dbef;font-size:16px;margin-top:10px}
.gate-k{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#c4b5fd}
.gate-f{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-top:16px}
.gate-l{flex:1 1 240px;display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;color:#c7d2fe}
.gate-l input{height:48px;border-radius:12px;border:1px solid rgba(199,210,254,.25);background:#0d1430;color:#fff;padding:0 14px;font-size:15px;font-family:inherit}
.gate-f .cta{height:48px;border:none;cursor:pointer;font-family:inherit;padding:0 22px}
.gate-f .cta[disabled]{opacity:.7;cursor:default}
.gate-l{order:1}.gate-f .cta{order:2}.gate-alt{order:3;height:48px;padding:0 6px;border:0;background:none;color:#e0e7ff;font:inherit;font-size:15px;text-decoration:underline;cursor:pointer}
.gate-alt[disabled]{opacity:.6;cursor:default}
.gate-limit .nl{margin-top:16px}
.art-nl{margin-top:40px}
.art-nl+.art-cta{margin-top:24px}
.gate-err{flex-basis:100%;order:4;color:#fca5a5!important;margin-top:0!important;font-size:14px!important}
.gate-fine{flex-basis:100%;order:5;font-size:13px!important;color:#8b95b8!important;margin-top:0!important}
.gate-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.gate-limit .cta{display:inline-block;margin-top:16px}
.art .cta,.art .cta:hover{text-decoration:none;color:#05070f}
@media (max-width:700px){.gate{padding:22px}.gate-f .cta{width:100%}.gate-alt{width:100%}}

@media (max-width:700px){
  .art{font-size:16px}
  .art p,.art li{font-size:16px}
  .art h2{font-size:22px;margin-top:32px}
  .art-cta{padding:22px}
  .art-cta .cta{width:100%;text-align:center;box-sizing:border-box}
  .hub-top{padding:16px 16px 40px}
  .hub-feat{flex-basis:100%}
  .hub-feat-art{height:180px}
  .hub-feat-art .r{left:24px;top:24px;width:130px;height:130px;border-width:20px}
  .hub-feat-art .b{left:180px}
  .hub-feat-art .b1{width:140px}.hub-feat-art .b2{width:110px}.hub-feat-art .b3{width:80px}.hub-feat-art .b4{width:50px}
  .hub-feat-t{padding:0 22px 24px}
  .hub-feat-h{font-size:26px}
  .lib-card{max-width:none}
}
