*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Noto Sans SC",system-ui,sans-serif;background:#fff;color:#1a1a1a;line-height:1.75;font-size:16px}
a{color:#6366f1;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
.container{max-width:1060px;margin:0 auto;padding:0 20px}

.site-header{background:#fff;border-bottom:1px solid #e8e8e8;position:sticky;top:0;z-index:100}
.header-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-size:1.05rem;color:#1a1a1a;font-weight:500}
.brand:hover{text-decoration:none}
.brand b{color:#6366f1;font-weight:700}
.site-nav ul{display:flex;gap:6px 18px;list-style:none;flex-wrap:wrap}
.site-nav a{color:#444;font-size:.92rem;padding:4px 0}
.site-nav a.active{color:#6366f1;font-weight:600;border-bottom:2px solid #6366f1}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:#333;transition:.2s}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.is-open span:nth-child(2){opacity:0}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.ads-top-bar{background:#fafafa;border-bottom:1px solid #eee;padding:10px 0}
.applist-title{font-size:.78rem;color:#888;text-align:center;margin-bottom:6px;letter-spacing:.05em}
#ads{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
#ads .caption{font-size:.7rem;color:#666;margin-top:4px;text-align:center;max-width:70px;line-height:1.3}

/* Cascade steps layout */
.hero-cascade{padding:40px 0 32px;border-bottom:1px solid #eee}
.hero-cascade h1{font-size:1.72rem;line-height:1.35;margin-bottom:18px;color:#111;max-width:760px}
.hero-cascade .lead{color:#444;margin-bottom:14px;font-size:1.02rem;max-width:760px}
.hero-cascade .lead:last-of-type{margin-bottom:0}

.cascade-track{padding:36px 0 20px;position:relative}
.cascade-track::before{content:"";position:absolute;left:28px;top:0;bottom:40px;width:2px;background:linear-gradient(180deg,#6366f1 0%,#a5b4fc 50%,#e0e7ff 100%);border-radius:2px}

.cascade-step{position:relative;margin-bottom:28px;padding:24px 28px 24px 56px;background:#fff;border:1px solid #e8eaf6;border-radius:12px;box-shadow:0 2px 8px rgba(99,102,241,.06);transition:box-shadow .2s}
.cascade-step:hover{box-shadow:0 4px 16px rgba(99,102,241,.1)}
.cascade-step:nth-child(1){margin-left:0}
.cascade-step:nth-child(2){margin-left:32px}
.cascade-step:nth-child(3){margin-left:64px}
.cascade-step:nth-child(4){margin-left:96px}
.cascade-step:nth-child(5){margin-left:64px}
.cascade-step:nth-child(6){margin-left:32px}
.cascade-step:nth-child(7){margin-left:0}

.step-badge{position:absolute;left:-14px;top:24px;width:36px;height:36px;border-radius:50%;background:#6366f1;color:#fff;font-size:.85rem;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(99,102,241,.35);z-index:2}

.cascade-step h2{font-size:1.18rem;margin-bottom:12px;color:#111}
.cascade-step p{margin-bottom:12px;color:#333}
.cascade-step p:last-child{margin-bottom:0}
.cascade-step figure{margin:18px 0}
.cascade-step figcaption{font-size:.85rem;color:#777;margin-top:6px}

.callout-strip{background:#eef2ff;border-left:4px solid #6366f1;padding:14px 18px;margin:16px 0;border-radius:0 8px 8px 0;font-size:.94rem;color:#4338ca}

.faq{padding:36px 0 48px;border-top:1px solid #eee}
.faq h2{font-size:1.25rem;margin-bottom:18px;color:#111}
.faq details{border:1px solid #e8e8e8;border-radius:8px;margin-bottom:10px;padding:0}
.faq summary{padding:14px 18px;cursor:pointer;font-weight:500;color:#222;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq details[open] summary{border-bottom:1px solid #eee;background:#fafafa}
.faq details p{padding:14px 18px;color:#444;font-size:.95rem}

.site-footer{background:#fafafa;border-top:1px solid #eee;padding:28px 0;margin-top:20px;text-align:center;font-size:.88rem;color:#666}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-bottom:10px}
.footer-links a{color:#555}

.prose-page{padding:32px 0 48px}
.prose-page h1{font-size:1.5rem;margin-bottom:16px}
.prose-page h2{font-size:1.15rem;margin:24px 0 10px;color:#222}
.prose-page p{margin-bottom:12px;color:#333}
.error-page{text-align:center;padding:48px 0 24px}
.error-page h1{font-size:3rem;color:#6366f1}

@media(max-width:768px){
  .cascade-track::before{left:18px}
  .cascade-step{margin-left:0!important;padding:20px 20px 20px 48px}
  .step-badge{left:-10px;width:32px;height:32px;font-size:.78rem}
  .nav-toggle{display:flex}
  .site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #eee;padding:12px 20px;box-shadow:0 4px 12px rgba(0,0,0,.06)}
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column;gap:10px}
  .header-row{position:relative;flex-wrap:wrap}
}
