/* Shared finishing layer; preserves the homepage's original visual identity. */
html{scroll-padding-top:96px}body{overflow-x:clip}main{min-width:0}img{max-width:100%}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #3155ff;outline-offset:5px}button{touch-action:manipulation}a,button{transition:color .18s ease,background .18s ease,transform .18s ease}.skip-link{position:fixed;top:8px;left:16px;z-index:1000;padding:12px 20px;background:#11121a;color:white;border-radius:10px;transform:translateY(-180%)}.skip-link:focus{transform:none}
.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.resource-card{display:flex;flex-direction:column;align-items:flex-start;padding:30px;border:1px solid #e7e8ef;border-radius:22px;background:#fff;transition:transform .2s,border-color .2s,box-shadow .2s}.resource-card:hover{transform:translateY(-4px);border-color:#c9cfff;box-shadow:0 18px 48px #262f6810}.resource-card>span{font-size:11px;font-weight:750;letter-spacing:.14em;color:#656a78}.resource-card h3{font-size:26px;line-height:1.14;letter-spacing:-.035em;margin:28px 0 16px}.resource-card p{font-size:15px;line-height:1.7;color:#656a78}.resource-card>b{margin-top:auto;padding-top:18px;color:#3155ff;font-size:14px}
.topbar nav{gap:20px}.topbar .brand{flex-shrink:0}.data-grid article,.doc-card>div,.builder>*{min-width:0}.data-grid b{overflow-wrap:anywhere}.content>.livebar{box-shadow:0 12px 40px #262f680a}.doc-meta b{line-height:1.5}.doc-card .actions{flex-wrap:wrap}.codebox,.code pre{max-width:100%;overflow:auto}.toast{max-width:calc(100vw - 40px)}.footer-links{flex-wrap:wrap}.reveal{opacity:1!important;transform:none!important}
@media(max-width:1050px){.topbar nav{gap:14px;font-size:12px}.topbar{padding-left:20px;padding-right:20px}.navlinks{gap:17px;font-size:13px}}
@media(max-width:850px){.resource-grid{grid-template-columns:1fr}.resource-card{padding:26px}.resource-card h3{margin-top:20px}.section{padding:64px 0}.hero{padding-top:48px}.topbar nav{font-size:15px}.topbar nav a{min-height:44px}.topbar nav .btn{min-height:44px}.doc-card{gap:28px}.page-hero{padding-bottom:48px}.content{padding-top:40px;padding-bottom:72px}}
@media(max-width:520px){.hero-grid{min-height:0;gap:24px}.hero h1{font-size:clamp(43px,12vw,58px)}.hero .lead{font-size:18px}.hero-art{height:auto;min-height:240px}.hero-art img{height:auto!important;max-height:360px;object-fit:contain}.quick a{min-height:64px}.doc-card .actions{gap:18px}.equation{padding:20px;font-size:13px}.asset img{width:100px}.topbar .brand{font-size:13px}.resource-card h3{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
