
:root{
  --bg:#ffffff;
  --bg2:#f7f3ff;
  --panel:rgba(255,255,255,.88);
  --line:rgba(115,77,214,.14);
  --text:#2b1858;
  --muted:#6f5b99;
  --accent:#7c3aed;
  --accent-2:#a855f7;
  --shadow:0 20px 60px rgba(124,58,237,.12);
  --radius:24px;
  --container:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(168,85,247,.14), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(124,58,237,.10), transparent 22%),
    linear-gradient(180deg,var(--bg),var(--bg2));
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
.container{width:min(calc(100% - 32px),var(--container));margin:0 auto}
.glass{
  background:var(--panel);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  backdrop-filter: blur(16px);
}
.bg-grid{
  position:fixed; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size:40px 40px;
  mask-image:linear-gradient(180deg, rgba(124,58,237,.18), transparent 90%);
}
.bg-glow{
  position:fixed; border-radius:999px; filter:blur(70px); pointer-events:none;
}
.glow-1{width:260px;height:260px;left:-40px;top:100px;background:rgba(168,85,247,.16)}
.glow-2{width:340px;height:340px;right:0;top:380px;background:rgba(124,58,237,.12)}
.site-header{
  position:sticky; top:0; z-index:10;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(124,58,237,.10);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  min-height:74px; gap:20px;
}
.brand{display:flex; align-items:center; gap:14px}
.brand-mark{
  width:50px;height:50px;border-radius:16px;display:grid;place-items:center;
  background:linear-gradient(135deg,#ffffff,#f4ebff);
  color:#fff;font-weight:800;font-size:1.35rem; box-shadow:0 10px 26px rgba(124,58,237,.12);
  border:1px solid rgba(124,58,237,.14);
}
.brand-mark-image img{width:100%;height:100%;object-fit:contain;display:block;border-radius:16px}
.brand-text{display:flex; flex-direction:column; line-height:1.05}
.brand-text strong{font-size:1rem; letter-spacing:.08em}
.brand-text small{color:var(--muted)}
.brand-text strong{color:#2b1858}
.reading-progress{position:fixed;top:0;left:0;width:100%;height:4px;z-index:25;background:rgba(124,58,237,.08)}
.reading-progress span{display:block;height:100%;width:0%;background:linear-gradient(90deg,var(--accent),var(--accent-2));box-shadow:0 0 18px rgba(124,58,237,.28)}
.header-links{display:flex; flex-wrap:wrap; gap:18px; color:var(--muted)}
.header-links a:hover,.sidebar-links a:hover,.toc-grid a:hover,.footer-links a:hover{color:var(--accent)}
.hero{
  display:grid; grid-template-columns:1.25fr .75fr; gap:28px;
  padding:52px 0 24px;
}
.eyebrow,.section-kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border:1px solid rgba(124,58,237,.14);
  border-radius:999px; color:#7c3aed; background:rgba(255,255,255,.94);
  font-size:.86rem; margin-bottom:16px;
}
.hero h1{
  margin:0 0 18px; font-size:clamp(2.25rem,5vw,4.4rem); line-height:.96; letter-spacing:-.04em;
}
.lead{font-size:1.08rem; line-height:1.72; color:var(--muted); max-width:860px}
.hero-points{
  display:flex; flex-wrap:wrap; gap:12px; margin:24px 0 28px;
}
.hero-points span{
  padding:10px 14px; border-radius:999px; background:rgba(255,255,255,.78);
  border:1px solid rgba(124,58,237,.12); color:#5b3fa6; font-size:.92rem;
}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:48px; padding:0 18px; border-radius:14px; font-weight:700;
  transition:transform .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff;
}
.btn-secondary{
  border:1px solid rgba(124,58,237,.14); background:rgba(255,255,255,.88); color:#5b3fa6;
}
.hero-card{
  border-radius:var(--radius); padding:20px;
  display:flex; align-items:stretch;
}
.stat-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:14px; width:100%;
}
.stat-grid article{
  padding:18px; border-radius:20px; background:rgba(255,255,255,.72);
  border:1px solid rgba(124,58,237,.12); min-height:150px;
}
.stat-grid strong{
  display:block; font-size:1.45rem; margin-bottom:10px;
}
.stat-grid span{color:var(--muted); line-height:1.55}
.quick-summary,.toc-wrap,.faq{padding:18px 0}
.summary-card,.toc,.faq-wrap{border-radius:var(--radius); padding:26px}
.summary-card h2,.section-top h2{margin:0 0 14px; font-size:clamp(1.45rem,2.6vw,2.4rem)}
.summary-card p{margin:0; color:var(--muted); line-height:1.78}
.toc-grid{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;
}
.toc-grid a{
  display:flex; gap:14px; align-items:flex-start; padding:16px 18px;
  border-radius:18px; border:1px solid rgba(124,58,237,.12);
  background:rgba(255,255,255,.92); color:#412b7d;
}
.toc-grid a span{
  min-width:36px; height:36px; border-radius:12px; display:grid; place-items:center;
  background:linear-gradient(135deg,rgba(124,58,237,.10),rgba(168,85,247,.10)); color:#7c3aed; font-weight:700;
}
.article-layout{
  display:grid; grid-template-columns:320px 1fr; gap:22px; padding:18px 0 34px;
}
.article-sidebar{
  position:sticky; top:96px; align-self:start; border-radius:24px; padding:20px;
}
.article-sidebar h3{margin:0 0 14px}
.sidebar-links{display:flex; flex-direction:column; gap:10px}
.sidebar-links a{
  color:var(--muted); line-height:1.4; padding:8px 0;
  border-bottom:1px solid rgba(124,58,237,.08);
}
.sidebar-links a.active{color:var(--accent); font-weight:700}
.article-content{display:flex; flex-direction:column; gap:18px}
.article-section{
  border-radius:28px; padding:28px;
}
.section-content p{
  margin:0 0 16px; color:#4a357e; line-height:1.78; font-size:1rem;
}
.section-content p:last-child{margin-bottom:0}
.faq-list{display:grid; gap:12px}
.faq-list details{
  padding:18px 20px; border-radius:18px; background:rgba(255,255,255,.9);
  border:1px solid rgba(124,58,237,.12);
}
.faq-list summary{cursor:pointer; font-weight:700}
.faq-list p{color:#6f5b99; line-height:1.74}
.site-footer{
  border-top:1px solid rgba(124,58,237,.10);
  background:rgba(255,255,255,.9);
}
.footer-inner{
  min-height:92px; display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.footer-inner p{margin:6px 0 0; color:var(--muted)}
.footer-links{display:flex; gap:18px; color:var(--muted)}
@media (max-width: 1080px){
  .hero,.article-layout{grid-template-columns:1fr}
  .article-sidebar{position:relative; top:0}
}
@media (max-width: 720px){
  .nav{min-height:auto; padding:14px 0; align-items:flex-start}
  .header-links{display:none}
  .hero{padding-top:28px}
  .hero h1{font-size:clamp(2rem,11vw,3rem)}
  .hero-card{padding:16px}
  .stat-grid{grid-template-columns:1fr}
  .toc-grid{grid-template-columns:1fr}
  .article-section,.summary-card,.toc,.faq-wrap{padding:20px}
  .footer-inner{flex-direction:column; align-items:flex-start; padding:20px 0}
}


.feature-bands{padding:18px 0}
.compact-center{text-align:center;align-items:center}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.feature-card{border-radius:24px;padding:22px}
.feature-card h3{margin:0 0 12px;font-size:1.08rem}
.feature-card p{margin:0;color:#6f5b99;line-height:1.7}
.sidebar-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;margin:0 0 14px;border-radius:16px;background:rgba(124,58,237,.08);color:#5b3fa6}
.sidebar-progress strong{font-size:1rem;color:#7c3aed}
.cta-block .summary-card{margin-bottom:10px}
@media (max-width: 980px){.feature-grid{grid-template-columns:1fr 1fr}}
@media (max-width: 720px){.feature-grid{grid-template-columns:1fr}}


.glass{background:var(--panel); border:1px solid var(--line); box-shadow:var(--shadow); backdrop-filter: blur(16px);}
.hero-card,.summary-card,.toc,.faq-wrap,.article-section,.article-sidebar,.feature-card{background:rgba(255,255,255,.88);}
.hero h1,.summary-card h2,.section-top h2,.article-sidebar h3,.faq-list summary,.feature-card h3,.stat-grid strong{color:#2b1858;}
.lead,.summary-card p,.stat-grid span,.footer-inner p,.header-links,.sidebar-links a,.feature-card p{color:#6f5b99;}
.btn-secondary:hover{border-color:rgba(124,58,237,.22); background:rgba(255,255,255,.98);}
