* { box-sizing:border-box }
:root { color:#202540; background:#f1f3fb; font:16px/1.5 Inter, "Segoe UI", sans-serif; font-synthesis:none }
body { margin:0 }
a { color:inherit }
.shell { width:min(1120px,calc(100% - 48px)); margin-inline:auto }
.header { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:84px; border-bottom:1px solid #d7dcef }
.brand, nav { display:flex; align-items:center; gap:14px }
.brand { font-size:22px; font-weight:750; text-decoration:none }
.brand img { border-radius:10px }
nav a { text-decoration:none; font-weight:600 }
nav [aria-current] { text-decoration:underline; text-underline-offset:5px }
.hero { display:grid; grid-template-columns:1.15fr 1fr; gap:44px; align-items:center; min-height:560px; padding-block:54px }
h1 { font-size:clamp(42px,7vw,86px); line-height:1.03; letter-spacing:-.05em; margin:0 0 20px }
p { color:#515a79; margin:0 0 24px }
.hero p,.downloads-intro p { max-width:46ch; font-size:18px }
.actions { display:flex; flex-wrap:wrap; gap:12px }
.action { display:inline-flex; align-items:center; gap:12px; padding:12px 17px; border-radius:12px; background:#354be0; color:white; text-decoration:none; font-weight:650 }
.action:hover { background:#2739ba }
.action.secondary { background:#e0e5fb; color:#26398c }
.action.small { padding:8px 12px }
:focus-visible { outline:3px solid #5465ee; outline-offset:4px }
.preview { display:grid; gap:24px; border:1px solid #d8dff4; background:#fff; border-radius:26px; padding:22px; box-shadow:0 24px 70px #263a731f; transform:rotate(-3deg) }
.preview-head { display:flex; align-items:center; gap:12px; border-bottom:1px solid #edf0fa; padding-bottom:14px }
.avatar { display:grid; place-items:center; width:42px; height:42px; color:white; background:#6373db; border-radius:50% }
.preview-messages { display:grid; gap:12px; padding-bottom:28px }
.preview-messages > span { width:fit-content; background:#eff2fa; padding:10px 13px; border-radius:14px }
.preview-messages > span + span { justify-self:end; background:#dfe5ff }
.preview-messages small { color:#4458ce }
.preview-compose { display:flex; align-items:center; justify-content:space-between; background:#f0f3fb; padding:8px 12px; border-radius:18px; color:#59617a }
.preview-compose span { display:grid; place-items:center; border-radius:50%; width:28px; height:28px; color:white; background:#354be0 }
.downloads-intro { padding-top:52px }
.downloads { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding-bottom:40px }
.package { padding:24px; background:#fff; border:1px solid #d8dff4; border-radius:18px }
h2 { margin:0 0 6px }
details { margin-top:16px; color:#515a79 }
summary { cursor:pointer }
code { overflow-wrap:anywhere }
@media(max-width:760px) {
 .hero,.downloads { grid-template-columns:1fr }
 .hero { min-height:auto; gap:38px; padding-bottom:48px }
 .preview { transform:none }
 .shell { width:calc(100% - 32px) }
 .header { min-height:66px }
 .brand,nav { gap:8px }
 nav a { font-size:13px }
}
@media(prefers-color-scheme:dark) {
 :root { color:#f1f3ff; background:#13182b }
 p,details { color:#bac3e1 }
 .header { border-color:#353d5c }
 .package,.preview { background:#202741; border-color:#374266 }
 .preview-head { border-color:#374266 }
 .preview-messages > span { background:#39425f }
 .preview-messages > span + span { background:#394b9a }
 .preview-messages small { color:#d9e0ff }
 .preview-compose { background:#313a58; color:#d0d7f0 }
}
