:root {
  color-scheme: light;
  --ink: #142139;
  --muted: #53627a;
  --blue: #234dcc;
  --line: #d9e1ec;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f8fafd;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { padding-bottom: 16px; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #305be0; outline-offset: 3px; }
.shell { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 2; background: white; padding: 8px 16px; }
.skip:focus { top: 8px; }
.mast { background: #fff; border-bottom: 1px solid var(--line); }
.mast-inner, .mast nav, .brand, .platforms, .product-heading, .foot { display: flex; align-items: center; }
.mast-inner { min-height: 66px; justify-content: space-between; gap: 12px; }
.brand { gap: 10px; color: var(--ink); font-size: 19px; font-weight: 720; letter-spacing: -.03em; text-decoration: none; }
.mast nav { gap: 22px; }
.mast nav a, .foot { font-size: 14px; }
.mast nav a { color: var(--muted); text-decoration: none; padding-block: 8px; }
.mast nav a:hover { color: var(--blue); text-decoration: underline; }
.intro { padding: clamp(32px, 6vw, 68px) 0 24px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.15; letter-spacing: -.055em; }
.intro p { margin-top: 14px; font-size: 16px; color: var(--muted); max-width: 46em; }
.platforms { width: fit-content; gap: 4px; padding: 4px; background: #e8edf5; border: 1px solid #dfe5ee; border-radius: 12px; }
.platforms a { min-width: 96px; text-align: center; padding: 8px 15px; color: #354560; border-radius: 8px; text-decoration: none; font-weight: 650; font-size: 15px; }
.platforms a:hover { background: #f8faff; }
.platforms [aria-selected="true"] { background: white; color: #173caa; box-shadow: 0 1px 4px #33426029; }
.platform { margin-top: 29px; scroll-margin-top: 14px; }
.section-heading { margin-bottom: 15px; }
.section-heading h2 { font-size: 25px; letter-spacing: -.035em; line-height: 1.3; }
.section-heading p, .product-note, .card-foot, .install-help p, .language p, .after-install, .foot { color: var(--muted); }
.section-heading p { font-size: 14px; margin-top: 3px; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.product { padding: clamp(18px, 2.8vw, 28px); border: 1px solid var(--line); border-radius: 18px; background: white; min-width: 0; }
.product-heading { gap: 13px; }
.product-heading img { width: 52px; height: 52px; object-fit: contain; }
.product-heading h3 { font-size: 24px; letter-spacing: -.045em; line-height: 1.25; }
.product-heading p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.product-note { min-height: 3.2em; margin: 14px 0; font-size: 14px; }
.install { display: inline-flex; gap: 16px; align-items: center; padding: 9px 15px; border-radius: 8px; background: #244ec5; color: white; font-size: 14px; font-weight: 650; text-decoration: none; margin-bottom: 14px; }
.install span { font-size: 12px; font-weight: 550; }
.install:hover { background: #183caa; text-decoration: none; }
.packages { padding: 0; margin: 0; list-style: none; }
.package { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; border-top: 1px solid #e1e6ef; padding: 11px 0; min-height: 60px; }
.package:last-child { padding-bottom: 0; }
.package-name { display: grid; line-height: 1.5; }
.package-name strong { font-size: 14px; }
.package-name small { color: var(--muted); font-size: 12px; }
.package-links { display: flex; align-items: center; gap: 13px; }
.package-links a { display: inline-flex; align-items: center; min-height: 38px; font-size: 13px; font-weight: 600; }
.package-links a:first-child { text-decoration: none; }
.package-links a:first-child:hover { text-decoration: underline; }
.card-foot { margin: 14px 0 0; font-size: 13px; }
summary { cursor: pointer; width: fit-content; font-size: 14px; font-weight: 620; color: #233b70; padding-block: 4px; }
summary:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.install-help { margin-top: 12px; }
.install-help p, .language details p { margin: 7px 0 0; max-width: 74ch; font-size: 14px; }
pre { padding: 12px; border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; background: white; }
code { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
pre code { white-space: pre; overflow-wrap: normal; }
.language { display: flex; align-items: start; gap: 16px; margin: 30px 0 18px; padding: 20px 22px; border: 1px solid #d8e2f6; border-radius: 14px; background: #eef4ff; }
.language-icon { display: grid; place-items: center; flex-shrink: 0; width: 37px; height: 37px; background: white; border-radius: 10px; color: #25499c; font-weight: 700; }
.language h2 { font-size: 18px; letter-spacing: -.02em; }
.language p { margin-top: 4px; font-size: 14px; }
.language details { margin-top: 5px; }
.config-paths { margin: 8px 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.language pre { width: fit-content; max-width: 100%; margin: 9px 0; padding: 8px 14px; }
.after-install { font-size: 14px; }
.foot { border-top: 1px solid var(--line); justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; padding: 18px 0 25px; font-size: 13px; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .products { grid-template-columns: 1fr; }
  .product-note { min-height: 0; }
  .mast nav { gap: 12px; }
  .language { padding: 16px; gap: 10px; }
}
@media (max-width: 420px) {
  .brand { gap: 5px; font-size: 17px; }
  .brand img { width: 27px; height: 27px; }
  .mast nav { gap: 8px; }
  .mast nav a { font-size: 12px; }
  .platforms { width: 100%; }
  .platforms a { flex: 1; min-width: 0; }
  .language-icon { display: none; }
}
