:root{--bg:#ffffff;--surface:#f5f6fd;--ink:#1b1d3a;--muted:#4c5170;--accent:#4338ca;--accent-ink:#ffffff;--accent2:#facc15;--line:#e1e4f2;--hero-ink:#1b1d3a;--r:12px;--maxw:1680px;--measure:47.5rem;--hf:'Prompt', 'Segoe UI', sans-serif;--bf:'Inter', system-ui, sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.65 var(--bf)}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-underline-offset:.18em}
h1,h2,h3,h4{font-family:var(--hf);line-height:1.18;margin:1.6em 0 .5em;font-weight:700;letter-spacing:-.015em}
h1{font-size:clamp(2rem,4.6vw,4rem);margin-top:0}
h2{font-size:clamp(1.4rem,2.6vw,2.1rem)}h3{font-size:1.2rem}
p,ul,ol,table,details{margin:0 0 1.1em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(16px,3vw,48px)}
.skip{position:absolute;left:-999px}.skip:focus{left:10px;top:10px;background:var(--surface);padding:8px;z-index:9}
header.site{border-bottom:1px solid var(--line);background:var(--surface)}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}
.brand{font-family:var(--hf);font-weight:800;font-size:1.25rem;color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:10px}
.brand svg{flex:none}
nav.main ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px 20px;margin:0;padding:0}
nav.main a{color:var(--ink);text-decoration:none;font-size:.95rem;padding:4px 0;border-bottom:2px solid transparent}
nav.main a[aria-current]{border-color:var(--accent)}
.menu-btn{display:none}
@media(max-width:860px){.menu-btn{display:inline-block;background:none;border:1px solid var(--line);color:var(--ink);border-radius:var(--r);padding:6px 12px;font:inherit}
nav.main{width:100%;display:none}nav.main.open{display:block}nav.main ul{flex-direction:column;gap:6px}}
.hero{position:relative;overflow:hidden}
.hero .wrap{padding-top:clamp(36px,5vw,84px);padding-bottom:clamp(36px,5vw,84px)}
.hero .lead{font-size:1.18rem;color:var(--muted);max-width:62ch}
.hero.split .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,4vw,72px);align-items:center}
.hero.plain{background:var(--surface);border-bottom:1px solid var(--line)}
.hero.full{color:var(--hero-ink);min-height:clamp(380px,46vw,640px);display:flex;align-items:flex-end}
.hero.full .wrap{position:relative;z-index:1;width:100%}.hero.full .lead{color:inherit;opacity:.92}
@media(max-width:860px){.hero.split .wrap{grid-template-columns:1fr}}
.page{display:grid;gap:48px;padding-top:44px;padding-bottom:72px}
.page.toc-layout{grid-template-columns:240px minmax(0,1fr)}
.page.toc-layout .toc{position:sticky;top:20px;align-self:start;font-size:.92rem;border-left:3px solid var(--accent);padding-left:14px}
.page.toc-layout .toc ul{list-style:none;padding:0;margin:0}.page.toc-layout .toc li{margin:.35em 0}
.page.toc-layout .toc a{color:var(--muted);text-decoration:none}
@media(max-width:900px){.page.toc-layout{grid-template-columns:1fr}.page.toc-layout .toc{position:static}}
/* Cards, grids and tables use the full container width; running text keeps a readable measure, centred. */
article.prose{max-width:none;min-width:0}
article.prose>:is(p,ul,ol,h2,h3,h4,blockquote,dl,details,.callout,.table-wrap,form.lead){max-width:var(--measure);margin-left:auto;margin-right:auto}
.page.toc-layout article.prose>*{margin-left:0;margin-right:0}
.page.wide article.prose>*{max-width:none}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:0 0 1.6em}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.card h3{margin-top:0}.card p:last-child{margin-bottom:0}
a.card{display:block;color:var(--ink);text-decoration:none}a.card:hover{border-color:var(--accent)}
.callout{border-left:4px solid var(--accent2);background:var(--surface);padding:14px 18px;border-radius:0 var(--r) var(--r) 0;margin:0 auto 1.2em}
.table-wrap{overflow-x:auto;margin:0 0 1.2em}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{border-bottom:1px solid var(--line);padding:9px 10px;text-align:left;vertical-align:top}
th{font-family:var(--hf);background:var(--surface)}
details{border:1px solid var(--line);border-radius:var(--r);padding:10px 16px;background:var(--surface)}
details+details{margin-top:-.5em}
summary{cursor:pointer;font-weight:600}
.steps{counter-reset:s;list-style:none;padding:0}.steps li{counter-increment:s;position:relative;padding-left:44px;margin-bottom:1em}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:30px;height:30px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-items:center;font-weight:700;font-size:.9rem}
.btn{display:inline-block;background:var(--accent);color:var(--accent-ink);padding:11px 20px;border-radius:var(--r);text-decoration:none;font-weight:600;border:0;font:inherit;font-weight:600;cursor:pointer}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.meta{font-size:.88rem;color:var(--muted)}
.label-concept{display:inline-block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;background:var(--ink);color:var(--bg);padding:2px 8px;border-radius:3px}
.ai-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 1.8em}.ai-grid figure{margin:0}.ai-grid img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r)}.ai-grid figcaption{display:grid;gap:4px;font-size:.9rem;color:var(--muted);padding-top:8px}.ai-grid .label-concept{justify-self:start}@media(max-width:900px){.ai-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ai-grid{grid-template-columns:1fr}}
footer.site{border-top:1px solid var(--line);background:var(--surface);font-size:.92rem;color:var(--muted)}
footer.site .wrap{padding-top:32px;padding-bottom:32px;display:grid;gap:18px}
footer.site ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px 18px}
footer.site a{color:var(--muted)}
form.lead{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:24px;margin:0 auto 1.4em;display:grid;gap:12px;grid-template-columns:1fr 1fr}
form.lead .full{grid-column:1/-1}form.lead label{display:grid;gap:4px;font-size:.92rem;font-weight:600}
form.lead input,form.lead textarea,form.lead select{font:inherit;padding:9px 11px;border:1px solid var(--line);border-radius:calc(var(--r) / 2);background:var(--bg);color:var(--ink)}
form.lead .consent{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:.82rem;color:var(--muted)}form.lead .consent input{margin-top:3px}
form.lead .hp{position:absolute;left:-9999px}
@media(max-width:600px){form.lead{grid-template-columns:1fr}}
/* Directory parts */
.sponsored{border:1px dashed var(--accent);border-radius:var(--r);padding:16px 18px;background:var(--surface);display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 1.6em}
.sponsored .tag{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:700}
.tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin:0 0 1.6em;padding:0;list-style:none}
.tool{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.tool h3{margin:0;font-size:1.08rem}.tool h3 a{color:var(--ink);text-decoration:none}.tool h3 a:hover{color:var(--accent)}
.tool p{margin:0;font-size:.94rem;color:var(--muted)}
.tool .cat{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);text-decoration:none;font-weight:700}
.filter{display:flex;gap:10px;align-items:center;margin:0 0 1.2em;flex-wrap:wrap}
.filter input{font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);color:var(--ink);min-width:min(420px,100%)}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:0 0 1.6em}
.facts div{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px}
.facts dt{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0}.facts dd{margin:.2em 0 0;font-weight:600}
.stc{--ind:#4338ca;--ind-d:#312e81;--ind-l:#e0e5ff;--sun:#facc15;--sun-l:#fef3c7}
.stc h1{line-height:1.08}
.stc h2{line-height:1.15}
.stc h2::after{content:"";display:block;width:56px;height:6px;border-radius:3px;background:var(--sun);margin-top:12px}
.stc .card h3,.stc .cm-card b{margin-top:0}
.stc header.site{background:#fff;border-bottom:1px solid var(--line);box-shadow:inset 0 4px 0 var(--ind)}
.stc .brand{font-weight:700;font-size:1.3rem;color:var(--ind-d)}
.stc nav.main a{font-weight:500;color:#2b2e52;padding:5px 10px;border-radius:999px;border-bottom:0}
.stc nav.main a[aria-current]{background:var(--sun);color:#1b1d3a}
.stc nav.main a:hover{background:var(--ind-l);color:var(--ind-d)}
.stc .hero{background:radial-gradient(circle at 1px 1px,#d9ddf5 1px,transparent 1.5px) 0 0/22px 22px,linear-gradient(180deg,#f7f8ff,#ffffff 80%);border-bottom:1px solid var(--line)}
.stc .hero.plain{background:linear-gradient(120deg,#eef0ff 0%,#ffffff 55%,#fffbea 100%)}
.stc .hero .kicker{display:inline-block;background:var(--sun);color:#1b1d3a;font-weight:600;padding:4px 12px;border-radius:999px;font-size:.85rem;letter-spacing:.02em}
.stc .hero h1{color:#1b1d3a}
.stc .hero .lead{color:#3f4466}
.stc .hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.stc .btn{font-weight:600;padding:12px 22px;box-shadow:0 6px 16px rgba(67,56,202,.22)}
.stc .btn:hover{background:var(--ind-d)}
.stc .btn.ghost{background:#fff;color:var(--ind);border:2px solid var(--ind);box-shadow:none}
.stc .btn.ghost:hover{background:var(--ind-l)}
.stc .cm{margin:0;display:grid;gap:14px}
.stc .cm-svg{width:100%;height:auto;display:block;border-radius:14px;box-shadow:0 24px 60px rgba(30,27,75,.16),0 0 0 1px #dfe2f2}
.stc .cm figcaption{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.stc .cm-head{display:flex;justify-content:space-between;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:8px}
.stc .cm-head span:first-child{color:var(--ind)}
.stc .cm-script{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.stc .cm-script li{display:grid;grid-template-columns:26px 44px 1fr;gap:10px;align-items:start;font-size:.92rem;line-height:1.45}
.stc .cm-n{width:24px;height:24px;border-radius:50%;background:var(--sun);border:2px solid var(--ind-d);color:#1e1b4b;font-weight:700;font-size:.78rem;display:grid;place-items:center}
.stc .cm-t{font-family:ui-monospace,Consolas,monospace;font-size:.82rem;color:var(--ind);padding-top:3px}
.stc .cm-sum{margin:12px 0 0;padding-top:10px;border-top:1px dashed #cfd3ea;font-size:.88rem;color:var(--muted)}
.stc .cm-sum b{color:var(--ind-d);font-family:var(--hf);font-size:1.1rem}
.stc .cm-wide{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:28px;margin:0 0 2.4em}
.stc .cm-concepts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 2em}
.stc .cm-card{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;display:grid;gap:12px;align-content:start}
.stc .cm-card .cm-svg{box-shadow:0 10px 28px rgba(30,27,75,.12),0 0 0 1px #dfe2f2}
.stc .cm-card figcaption{display:grid;gap:4px}.stc .cm-card figcaption span:last-child{color:var(--muted);font-size:.92rem}
.stc .label-concept{background:var(--ind-d);color:#fff;justify-self:start;font-weight:600}
.stc .cards{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.stc .card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 0 var(--line);padding:22px}
.stc a.card{position:relative;transition:transform .15s,box-shadow .15s}
.stc a.card:hover{border-color:var(--ind);transform:translateY(-2px);box-shadow:0 10px 24px rgba(67,56,202,.14)}
.stc .card-k{display:inline-block;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--ind);background:var(--ind-l);padding:2px 10px;border-radius:999px;margin-bottom:10px}
.stc .uses{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:0 0 2.2em;background:#fff}
.stc .uses div{padding:20px 22px;border-right:1px solid var(--line)}
.stc .uses div:last-child{border-right:0}
.stc .uses b{display:block;font-family:var(--hf);font-size:1.25rem;color:var(--ind-d);margin-bottom:4px}
.stc .uses span{color:var(--muted);font-size:.95rem}
.stc .uses i{display:inline-block;width:28px;height:6px;border-radius:3px;background:var(--sun);margin-bottom:10px}
.stc .cta-band{background:var(--ind);color:#fff;border-radius:18px;padding:26px 30px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:2.2em 0;box-shadow:inset 0 -6px 0 var(--sun)}
.stc .cta-band p{margin:0;max-width:64ch}
.stc .cta-band .btn{background:var(--sun);color:#1b1d3a;box-shadow:none}
.stc .cta-band .btn:hover{background:#fde047}
.stc .checks{list-style:none;padding:0}
.stc .checks li{padding-left:32px;position:relative;margin-bottom:.6em}
.stc .checks li::before{content:"";position:absolute;left:2px;top:.3em;width:18px;height:18px;border-radius:5px;background:var(--sun-l);border:2px solid var(--ind)}
.stc .checks li::after{content:"";position:absolute;left:8px;top:.55em;width:5px;height:9px;border:solid var(--ind);border-width:0 2px 2px 0;transform:rotate(45deg)}
.stc th{background:var(--ind-l);color:var(--ind-d)}
.stc details{background:#fff}
.stc summary{color:var(--ind-d)}
.stc .callout{border-left-color:var(--sun);background:var(--sun-l)}
.stc .steps li::before{background:var(--sun);color:#1b1d3a;border:2px solid var(--ind-d)}
.stc footer.site{background:#1e1b4b;color:#d4d6f0;border-top:6px solid var(--sun)}
.stc footer.site a{color:#e8e9fb}
@media(max-width:1100px){.stc .cm-wide{grid-template-columns:1fr}.stc .cm-concepts{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.stc .cm-concepts{grid-template-columns:1fr}.stc .uses div{border-right:0;border-bottom:1px solid var(--line)}.stc .cm-script li{grid-template-columns:24px 40px 1fr;font-size:.88rem}}