/* Muluwin — shared styles for article pages. Tokens mirror the homepage. */
:root{
  --bg:#08070c;--panel:rgba(255,255,255,.045);--line:rgba(255,110,215,.2);
  --pink:#ff2fb3;--pink2:#ff75d3;--muted:#b8afba;--text:#f2ecf3
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 12% 4%,rgba(255,45,180,.11),transparent 26%),
    radial-gradient(circle at 92% 12%,rgba(255,90,205,.08),transparent 22%),
    linear-gradient(180deg,#08070c,#050509 70%);
  background-attachment:fixed;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.7
}
a{color:var(--pink2);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{width:min(1120px,calc(100% - 32px));margin:auto}

/* Header (matches homepage) */
.nav{position:sticky;top:0;z-index:20;background:rgba(8,7,12,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}
.navin{height:72px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:.06em;color:#fff}
.brand:hover{text-decoration:none}
.brand img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,110,215,.35);box-shadow:0 0 24px rgba(255,40,190,.25)}
.brand span{font-size:14px}
.links{display:flex;gap:22px;color:#c9c0cb;font-size:13px;font-weight:700}
.links a{color:#c9c0cb}
.links a:hover{color:#fff;text-decoration:none}
.navcta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:900;letter-spacing:.035em;border-radius:14px;transition:.2s;color:#fff}
.navcta:hover,.btn:hover{text-decoration:none}
.navcta{height:42px;padding:0 18px;background:linear-gradient(135deg,#ff25ad,#ff63cb);font-size:11px;box-shadow:0 12px 30px rgba(255,40,180,.2)}
.btn{min-height:52px;padding:0 20px;border:1px solid rgba(255,255,255,.09);font-size:12px}
.primary{background:linear-gradient(135deg,#ff22ad,#ff69cf);box-shadow:0 16px 38px rgba(255,34,173,.22)}
.secondary{background:rgba(255,255,255,.045)}
.btn:hover{transform:translateY(-2px);border-color:rgba(255,130,220,.35)}
.tgbtn{background:#229ed9;box-shadow:0 14px 34px rgba(34,158,217,.22)}

/* Article shell */
.crumbs{padding:22px 0 0;font-size:11px;color:#8f8792;letter-spacing:.02em}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.crumbs li+li::before{content:"/";margin-right:8px;color:#5b5460}
.crumbs a{color:#a99fae}
.kicker{color:#ff7bd3;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}

.doc{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:48px;align-items:start;padding:14px 0 90px}
article{min-width:0}
h1{font-size:clamp(32px,5vw,50px);line-height:1.08;letter-spacing:-.035em;margin:16px 0 18px}
.grad{background:linear-gradient(100deg,#fff 20%,#ffb9eb 55%,#ff35b8 92%);-webkit-background-clip:text;background-clip:text;color:transparent}
.standfirst{font-size:17px;color:var(--muted);margin:0 0 22px}
.byline{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;padding:16px 0;margin:0 0 30px;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);font-size:11px;color:#8f8792}
.byline strong{color:#d8d0da;font-weight:700}

article h2{font-size:clamp(23px,3.4vw,31px);letter-spacing:-.025em;line-height:1.2;margin:52px 0 14px;scroll-margin-top:92px}
article h3{font-size:17px;letter-spacing:-.01em;margin:32px 0 10px;scroll-margin-top:92px}
article p,article li{color:#cfc7d2;font-size:15.5px}
article p{margin:0 0 16px}
article ul,article ol{margin:0 0 18px;padding-left:22px}
article li{margin-bottom:9px}
article li::marker{color:var(--pink2)}
article strong{color:#fff;font-weight:700}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;padding:2px 7px;border-radius:7px;background:rgba(255,45,180,.1);border:1px solid rgba(255,100,207,.18);color:#ffd8f3}

.callout{margin:26px 0;padding:19px 21px;border-radius:18px;background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(255,117,215,.18)}
.callout p:last-child{margin-bottom:0}
.callout .kicker{display:block;margin-bottom:8px}

figure{margin:30px 0}
figure img{display:block;width:100%;height:auto;border-radius:20px;border:1px solid rgba(255,117,215,.16);box-shadow:0 22px 70px rgba(255,0,174,.12)}
figcaption{margin-top:10px;font-size:11px;color:#8f8792}

table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px;display:block;overflow-x:auto}
th,td{padding:12px 14px;text-align:left;border-bottom:1px solid rgba(255,255,255,.07);vertical-align:top}
th{color:#ffd8f3;font-size:10px;text-transform:uppercase;letter-spacing:.1em}
td{color:#cfc7d2}

/* Table of contents */
.toc{position:sticky;top:96px;padding:20px;border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.075)}
.toc .kicker{display:block;margin-bottom:12px}
.toc ol{list-style:none;margin:0;padding:0;counter-reset:t}
.toc li{counter-increment:t;margin-bottom:9px;font-size:12.5px;line-height:1.5}
.toc li::before{content:counter(t) ".";color:#6f6775;margin-right:7px}
.toc a{color:#b6adbb}
.toc a:hover{color:#fff;text-decoration:none}

/* FAQ */
details{margin-bottom:10px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.065)}
details[open]{border-color:rgba(255,117,215,.22)}
summary{cursor:pointer;font-weight:700;font-size:15px;color:#fff;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";float:right;color:var(--pink2);font-weight:900}
details[open] summary::after{content:"–"}
details p{margin:12px 0 0}

.endcta{margin:46px 0 0;padding:30px;border-radius:26px;background:radial-gradient(circle at 90% 15%,rgba(255,78,201,.16),transparent 32%),linear-gradient(135deg,#17101a,#0d0a10);border:1px solid rgba(255,117,215,.18)}
.endcta h2{margin-top:0}
.endcta .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}

footer{padding:36px 0 60px;color:#756d77;font-size:10px}
footer .foot{display:flex;justify-content:space-between;gap:15px;border-top:1px solid rgba(255,255,255,.06);padding-top:20px}
footer a{color:#8f8792}

/* Article hub cards */
.hub{padding:30px 0 90px}
.hublist{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:28px}
.hubcard{display:block;padding:24px;border-radius:24px;background:linear-gradient(160deg,rgba(255,255,255,.065),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.075);transition:.2s}
.hubcard:hover{transform:translateY(-3px);border-color:rgba(255,130,220,.35);text-decoration:none}
.hubcard h2{font-size:19px;margin:12px 0 8px;color:#fff;letter-spacing:-.02em}
.hubcard p{color:#a9a0ad;font-size:13px;margin:0}
.hubcard time{font-size:10px;color:#8f8792}

@media(max-width:980px){
  .doc{grid-template-columns:1fr;gap:0}
  .toc{position:static;margin:0 0 34px}
}
@media(max-width:640px){
  .wrap{width:min(100% - 22px,1120px)}
  .navin{height:64px}
  .links{display:none}
  .navcta{height:39px;padding:0 13px}
  .brand img{width:38px;height:38px}
  .doc{padding-bottom:64px}
  article p,article li{font-size:15px}
  .endcta{padding:22px 19px}
  .endcta .actions{display:grid;grid-template-columns:1fr}
  .endcta .btn{width:100%}
  footer .foot{display:block}
}

.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
