:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1c2340; background: #f7f8fc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; }
a { color: #4941bd; }
a:hover { color: #2c2692; }
a:focus-visible, input:focus-visible { outline: 3px solid #6366f1; outline-offset: 3px; }
.shell { width: min(1120px, calc(100% - 40px)); margin: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 8px 14px; z-index: 10; background: white; }
.skip-link:focus { top: 12px; }
.site-header { background: #11142a; color: white; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 1.1rem; font-weight: 650; white-space: nowrap; }
.brand b { color: #bfc2ff; }
.site-header nav { display: flex; gap: 24px; }
.site-header nav a { color: #eef0ff; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero { padding: 62px 0 34px; max-width: 760px; }
.eyebrow { color: #6258c4; font-size: .8rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 12px; }
h1, h2 { line-height: 1.17; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); margin: 0 0 18px; }
h2 { font-size: 1.65rem; margin: 0 0 12px; }
.hero > p:not(.eyebrow), .lead { color: #5b637a; font-size: 1.14rem; max-width: 720px; }
.search-label { display: block; font-weight: 700; margin: 28px 0 8px; }
#guide-search { width: 100%; border: 1px solid #b9bdd2; border-radius: 12px; padding: 15px 18px; background: white; font: inherit; box-shadow: 0 6px 24px #141b4210; }
.search-status { min-height: 1.4em; color: #5b637a; font-size: .9rem; margin: 8px 0 0; }
.category-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.category-nav a { padding: 8px 14px; border: 1px solid #dfe1ee; border-radius: 99px; color: #353b58; background: white; text-decoration: none; font-weight: 600; font-size: .9rem; }
.category-nav a:hover { background: #e9e9ff; }
.guide-section, .search-results { padding: 16px 0 32px; scroll-margin-top: 20px; }
.section-heading p { color: #656c80; margin: -4px 0 18px; }
.guide-topic { margin: 28px 0 36px; }
.guide-topic h3 { margin: 0 0 14px; font-size: 1.18rem; color: #30385c; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid #e0e2ed; border-radius: 16px; color: #2a3151; background: white; text-decoration: none; min-height: 210px; box-shadow: 0 5px 20px #18204c08; }
.guide-card:hover { border-color: #8c88df; box-shadow: 0 8px 25px #39308c1c; color: #24204e; }
.guide-card-category { color: #5c53b1; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.guide-card strong { font-size: 1.15rem; line-height: 1.3; }
.guide-card > span:not(.guide-card-category):not(.guide-card-link) { color: #626a7d; font-size: .92rem; }
.guide-card-link { color: #4e45ba; font-size: .86rem; font-weight: 750; margin-top: auto; }
.article-layout { display: grid; grid-template-columns: minmax(0, 750px) minmax(180px, 1fr); gap: 65px; padding: 34px 0 90px; }
.article { min-width: 0; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; margin-bottom: 44px; }
.article-header { margin-bottom: 30px; }
.article-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 36px; }
.facts > div { padding: 18px; border: 1px solid #dcdeed; border-radius: 12px; background: white; }
.facts strong { display: block; color: #3f388f; }
.facts p { margin: 5px 0 0; color: #566078; }
.article section { margin: 34px 0; }
.article section p, .article li { color: #38415d; }
.article li { margin: 0 0 13px; padding-left: 5px; }
.steps { padding-left: 26px; }
.steps li::marker { color: #5a50bf; font-weight: 800; }
.guide-figure { margin: 34px 0; border: 1px solid #dfe1ed; border-radius: 15px; background: white; overflow: hidden; }
.figure-media { position: relative; }
.guide-figure img { width: 100%; height: auto; display: block; }
.figure-callout { position: absolute; display: grid; place-items: center; transform: translate(-50%, -50%); width: 30px; height: 30px; border: 2px solid white; border-radius: 50%; background: #5148bd; color: white; font-size: .9rem; font-weight: 800; box-shadow: 0 2px 8px #11142a80; }
.guide-figure figcaption { padding: 12px 18px; color: #596177; font-size: .86rem; border-top: 1px solid #e5e6f0; }
.stage-demo { margin: 34px 0; padding: 18px; border: 1px solid #dfe1ed; border-radius: 15px; background: white; }
.stage-demo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stage-demo-row span { padding: 18px 8px; border-radius: 9px; text-align: center; background: #eff0f8; color: #39415f; font-size: .85rem; font-weight: 700; }
.stage-demo-toggle { margin: 18px 0 7px; padding: 9px 13px; border: 1px solid #5148bd; border-radius: 8px; background: white; color: #4037aa; font: inherit; font-weight: 700; cursor: pointer; }
.stage-demo-toggle:hover { background: #f0efff; }
.stage-demo figcaption { color: #596177; font-size: .86rem; }
.stage-demo.is-playing .stage-demo-row span { animation: stage-highlight 8s linear infinite; }
.stage-demo.is-playing .stage-demo-row span:nth-child(2) { animation-delay: 2s; }
.stage-demo.is-playing .stage-demo-row span:nth-child(3) { animation-delay: 4s; }
.stage-demo.is-playing .stage-demo-row span:nth-child(4) { animation-delay: 6s; }
@keyframes stage-highlight { 0%, 24% { background: #5148bd; color: white; } 25%, 100% { background: #eff0f8; color: #39415f; } }
.related { border-top: 1px solid #dde0ec; padding-top: 25px; }
.article-aside { align-self: start; position: sticky; top: 25px; display: flex; flex-direction: column; gap: 12px; font-size: .88rem; }
.article-aside p { font-weight: 800; margin: 0 0 4px; }
.article-aside a { text-decoration: none; color: #58617a; }
.article-aside a:hover { color: #4941bd; text-decoration: underline; }
.primary-link { display: inline-block; padding: 12px 18px; border-radius: 10px; background: #5148ba; color: white; font-weight: 700; text-decoration: none; }
.primary-link:hover { color: white; background: #39309b; }
.site-footer { border-top: 1px solid #dfe1eb; padding: 24px 0; color: #656b7b; font-size: .88rem; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 15px; }
@media (max-width: 850px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .article-layout { grid-template-columns: 1fr; } .article-aside { display: none; } }
@media (max-width: 600px) { .shell { width: calc(100% - 28px); } .header-inner { min-height: 62px; } .site-header nav { gap: 12px; font-size: .87rem; } .hero { padding-top: 42px; } .card-grid, .facts { grid-template-columns: 1fr; } .guide-card { min-height: 0; } .article-layout { padding-top: 24px; } .breadcrumbs { margin-bottom: 30px; } .stage-demo-row { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .stage-demo-toggle { display: none; } .stage-demo.is-playing .stage-demo-row span { animation: none; } }
