:root {
    --bg: #060607;
    --card: rgba(30, 30, 34, .62);
    --card-2: rgba(255, 255, 255, .05);
    --edge: rgba(255, 255, 255, .1);
    --edge-2: rgba(255, 255, 255, .16);
    --l1: #f5f5f7;
    --l2: rgba(235, 235, 245, .64);
    --l3: rgba(235, 235, 245, .36);
    --green: #30d158;
    --green-bg: rgba(48, 209, 88, .13);
    --red: #ff453a;
    --red-bg: rgba(255, 69, 58, .13);
    --yellow: #ffd60a;
    --yellow-bg: rgba(255, 214, 10, .12);
    --blue: #64d2ff;
    --blue-bg: rgba(100, 210, 255, .12);
    --purple: #bf5af2;
    --purple-bg: rgba(191, 90, 242, .13);
    --gray-bg: rgba(142, 142, 147, .16);
    --r: 12px;
    --r-lg: 20px;
    --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; font: 15px/1.6 var(--font); color: var(--l1); background: transparent; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 45% at 12% 4%, rgba(255, 255, 255, .13), transparent 70%), radial-gradient(40% 35% at 90% 22%, rgba(48, 209, 88, .07), transparent 70%), radial-gradient(60% 45% at 40% 108%, rgba(255, 255, 255, .09), transparent 70%), linear-gradient(160deg, #161618, #060607); }
::selection { background: rgba(245, 245, 247, .24); }
a { color: inherit; }
img { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 650; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--l3); font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; padding: 8px 14px; background: var(--l1); color: #000; border-radius: 8px; z-index: 10; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--l1); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }

.top { position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); background: rgba(10, 10, 12, .62); border-bottom: .5px solid var(--edge); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand img { border-radius: 7px; }
.brand b { font-weight: 600; color: var(--l2); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--l2); font-size: 14px; padding: 7px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--l1); background: var(--card-2); }
.nav .lang { border: .5px solid var(--edge-2); font-weight: 600; font-size: 12px; letter-spacing: .04em; }

.card { background: var(--card); border: .5px solid var(--edge); border-radius: var(--r-lg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: .5px solid var(--edge-2); background: var(--card-2); color: var(--l1); font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: rgba(255, 255, 255, .1); }
.btn:active { transform: scale(.98); }
.btn-pri { background: var(--l1); color: #000; border-color: transparent; }
.btn-pri:hover { background: #fff; }
.btn-dl { flex: 1; min-width: 120px; }
.btn-dl.is-off, .dl.is-off { opacity: .35; cursor: not-allowed; }

.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 72px 0 40px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--l2); padding: 5px 12px; border-radius: 999px; border: .5px solid var(--edge); background: var(--card-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(48, 209, 88, .18); }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); margin: 20px 0 16px; }
.lead { color: var(--l2); font-size: 17px; max-width: 58ch; }

.check { margin-top: 28px; max-width: 520px; }
.check label { display: block; font-size: 13px; font-weight: 600; color: var(--l2); margin-bottom: 8px; }
.check-row { display: flex; gap: 8px; }
.check input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: .5px solid var(--edge-2); background: rgba(0, 0, 0, .35); color: var(--l1); font: 500 16px var(--font); font-variant-numeric: tabular-nums; }
.check input::placeholder { color: var(--l3); }
.check input:focus { outline: none; border-color: var(--l2); }
.check .btn { height: 46px; padding: 0 22px; }
.hint { font-size: 13px; color: var(--l3); margin-top: 8px; }

.rec { padding: 28px; position: relative; overflow: hidden; }
.rec::after { content: ""; position: absolute; inset: -40% -30% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(48, 209, 88, .16), transparent); pointer-events: none; }
.rec-l { font-size: 13px; font-weight: 600; color: var(--l2); text-transform: uppercase; letter-spacing: .08em; }
.rec-n { font-size: clamp(56px, 8vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 12px 0 14px; font-variant-numeric: tabular-nums; }
.rec-n a { text-decoration: none; }
.rec-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rec-note { color: var(--l2); font-size: 14px; margin: 14px 0 20px; }
.rec-dl { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.rec-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--l2); text-decoration: none; position: relative; z-index: 1; }
.rec-more:hover { color: var(--l1); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--r-lg); overflow: hidden; border: .5px solid var(--edge); background: var(--edge); margin-bottom: 24px; }
.stat { background: rgba(18, 18, 21, .92); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 26px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--l3); font-size: 13px; }

.sec { padding: 40px 0 8px; }
.sec-h { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.sec-h.row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.sec-h h2, .list h1, .api h1 { font-size: 28px; }
.sec-h p { color: var(--l2); max-width: 70ch; }
.sec h2 + .notes { margin-top: 14px; }
.bd .sec h2 { font-size: 20px; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.bi { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; font-size: 10px; font-weight: 800; line-height: 1; }
.b-recommended { background: var(--green-bg); color: var(--green); }
.b-recommended .bi, .b-ok .bi { background: var(--green); color: #002b0c; }
.b-ok { background: var(--green-bg); color: var(--green); }
.b-outdated { background: var(--gray-bg); color: var(--l2); }
.b-outdated .bi { border: 1.5px solid currentColor; font-size: 0; width: 12px; height: 12px; }
.b-issue { background: var(--yellow-bg); color: var(--yellow); }
.b-issue .bi { background: var(--yellow); color: #2a2200; }
.b-failed, .b-unsafe { background: var(--red-bg); color: var(--red); }
.b-failed .bi, .b-unsafe .bi { background: var(--red); color: #2b0300; }

.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; flex: none; }
.t-security { background: var(--red-bg); color: var(--red); }
.t-voice { background: var(--purple-bg); color: var(--purple); }
.t-network { background: var(--blue-bg); color: var(--blue); }
.t-stability, .t-scripting, .t-natives, .t-build { background: var(--gray-bg); color: var(--l2); }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { text-decoration: none; font-size: 13px; font-weight: 500; color: var(--l2); padding: 6px 12px; border-radius: 999px; border: .5px solid var(--edge); background: var(--card-2); transition: background .2s, color .2s; }
.chip:hover { color: var(--l1); }
.chip.on { background: var(--l1); color: #000; border-color: transparent; }

.tbl-wrap { border-radius: var(--r-lg); border: .5px solid var(--edge); background: var(--card); overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 13px; font-weight: 500; color: var(--l3); padding: 12px 16px; border-bottom: .5px solid var(--edge); white-space: nowrap; }
.tbl td { padding: 11px 16px; border-bottom: .5px solid rgba(255, 255, 255, .06); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: rgba(255, 255, 255, .03); }
.c-b a { font-weight: 650; font-variant-numeric: tabular-nums; text-decoration: none; font-size: 15px; }
.c-b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.c-n { width: 100%; }
.c-n .nt { display: inline-flex; align-items: center; gap: 6px; margin: 2px 10px 2px 0; font-size: 13px; color: var(--l2); }
.nt-warn { color: var(--yellow) !important; }
.nt-bad { color: var(--red) !important; }
.nt-exp { color: var(--l3) !important; }
.c-d { white-space: nowrap; color: var(--l3); font-variant-numeric: tabular-nums; font-size: 13px; }
.c-dl { white-space: nowrap; text-align: right; }
.dl { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--l2); border: .5px solid var(--edge); background: var(--card-2); margin-left: 4px; transition: color .2s, background .2s; }
.dl:hover { color: var(--l1); background: rgba(255, 255, 255, .1); }
.r-failed .c-b a, .r-unsafe .c-b a { color: var(--l3); }

.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.note { background: var(--card); border: .5px solid var(--edge); border-radius: var(--r-lg); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.note-top { display: flex; align-items: flex-start; gap: 10px; }
.note-top .tag { margin-top: 2px; }
.note h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.note p { color: var(--l2); font-size: 14px; }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--l3); margin-top: auto; }
.m-fix { color: var(--green); font-weight: 600; }
.m-fix a { font-variant-numeric: tabular-nums; }
.src { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.src a { display: inline-flex; align-items: center; gap: 4px; color: var(--l2); text-decoration: none; font-family: var(--mono); font-size: 12px; }
.src a:hover { color: var(--l1); }
.n-issue { border-color: rgba(255, 214, 10, .22); }
.n-failed { border-color: rgba(255, 69, 58, .22); }

.empty { color: var(--l3); }
.empty.card { display: flex; align-items: center; gap: 14px; padding: 24px; color: var(--l2); }
.empty.card .ic { width: 28px; height: 28px; color: var(--l3); }
.own { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.own-c { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.more { margin-top: 16px; text-align: center; }

.faq details { border-bottom: .5px solid var(--edge); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--l3); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--l2); margin-top: 10px; max-width: 75ch; }

.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--l3); padding-top: 32px; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--l2); }
.crumbs a:hover { color: var(--l1); }
.bd { padding-bottom: 24px; }
.bd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.bd-head h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.bd-head .lead { margin-top: 14px; }
.bd-dl { display: flex; gap: 8px; min-width: min(300px, 100%); }
.upg { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-top: 24px; text-decoration: none; font-weight: 600; border-color: rgba(48, 209, 88, .3); }
.upg span { flex: 1; }
.upg .ic:first-child { color: var(--green); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 0; padding: 0; overflow: hidden; }
.facts div { padding: 16px 20px; border-right: .5px solid var(--edge); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: 13px; color: var(--l3); font-weight: 500; }
.facts dd { margin: 4px 0 0; font-weight: 500; }
.facts dd a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.sup-supported { color: var(--green); }
.sup-ending { color: var(--yellow); }
.sup-eol { color: var(--l3); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }

.api-list { display: grid; gap: 10px; margin: 24px 0 32px; }
.api-i { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.api-i a { text-decoration: none; color: var(--l1); word-break: break-all; }
.api-i p { color: var(--l2); font-size: 14px; }
.api h2 { font-size: 20px; margin-bottom: 12px; }
.code { background: rgba(0, 0, 0, .45); border: .5px solid var(--edge); border-radius: var(--r); padding: 16px 18px; overflow-x: auto; font: 13px/1.6 var(--mono); color: var(--l2); }

.pg-404 { padding: 96px 0 64px; }
.pg-404 h1 { font-size: 40px; margin-bottom: 12px; }

.foot { margin-top: 72px; border-top: .5px solid var(--edge); padding: 32px 0 40px; color: var(--l3); font-size: 13px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-in > div { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.foot .brand { color: var(--l2); font-weight: 500; }
.foot-r { text-align: right; }
.foot a { color: var(--l2); text-decoration: none; }
.foot a:hover { color: var(--l1); }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 28px; }
    .notes { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .facts div:nth-child(2) { border-right: 0; }
    .facts div:nth-child(-n+2) { border-bottom: .5px solid var(--edge); }
}
@media (max-width: 640px) {
    .nav a:not(.lang):not(:first-child) { display: none; }
    .check-row { flex-direction: column; }
    .check input { flex: none; width: 100%; }
    .brand b { display: none; }
    .c-d, .tbl th.c-d { display: none; }
    .tbl td, .tbl th { padding: 10px 12px; }
    .c-n .nt { font-size: 12px; }
    .rec { padding: 22px; }
    .foot-r { text-align: left; }
    .bd-dl { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
.m-conf { color: var(--yellow); opacity: .8; cursor: help; }
.h1s { font-size: 32px; }
.notes.fx { margin-top: 28px; }
