@font-face {
  font-family: Manrope;
  src: url('/assets/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: oklch(1 0 0);
  --ink: oklch(.205 .004 265);
  --muted: oklch(.466 .009 265);
  --line: oklch(.905 .004 265);
  --soft: oklch(.973 .003 265);
  --blue: oklch(.484 .155 254);
  --button: oklch(.498 .152 254);
  --on-button: white;
  --width: 1120px;
  --gutter: clamp(20px, 6vw, 82px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: oklch(.161 .003 265);
  --ink: oklch(.97 .002 265);
  --muted: oklch(.75 .008 265);
  --line: oklch(.325 .008 265);
  --soft: oklch(.216 .004 265);
  --blue: oklch(.78 .12 249);
  --button: oklch(.73 .13 249);
  --on-button: oklch(.16 .01 259);
}
* { box-sizing: border-box }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, Manrope, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased }
h1, h2, h3, p, figure, ul { margin: 0 }
h1, h2, h3 { line-height: 1.12; font-weight: 620; overflow-wrap: anywhere }
h1 { font-size: clamp(38px, 5.3vw, 68px); letter-spacing: -.045em }
h2 { font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.025em }
h3 { font-size: 22px; letter-spacing: -.022em }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer }
a, button, summary { touch-action: manipulation }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px }
[hidden] { display: none !important }
svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none }
img { display: block; max-width: 100% }
.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.skip:focus { top: 8px; left: 12px; z-index: 5; width: auto; height: auto; padding: 8px 16px; background: var(--paper); clip-path: none }
main { flex: 1 }
.mast { border-bottom: 1px solid var(--line) }
.nav { display: flex; align-items: center; min-height: 58px; gap: 26px }
.brand { display: inline-flex; align-items: center; min-height: 44px; font: 530 21px/1 Manrope, -apple-system, sans-serif; letter-spacing: -.055em; gap: 5px }
.brand strong { font-weight: 800 }
.nav nav { margin-left: auto; display: flex; gap: clamp(16px, 2.3vw, 34px) }
.nav nav a, .footer a, .crumb a, .theme-toggle, .preview-close { display: inline-flex; align-items: center; min-height: 44px }
.nav nav a { font-size: 13px; color: var(--muted) }
.nav a[aria-current], .nav a:hover { color: var(--ink) }
.theme-toggle, .preview-close { flex: none; width: 44px; justify-content: center; border: 0; border-radius: 50%; background: none }
.theme-toggle:hover, .preview-close:hover { background: var(--soft) }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px }
.catalog-bar h1 { font-size: 20px; letter-spacing: -.02em; white-space: nowrap }
.scopes { display: flex; align-items: center; gap: 20px }
.scopes a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); white-space: nowrap }
.scopes a:hover, .scopes a[aria-current] { color: var(--ink) }
.scopes a[aria-current] { font-weight: 650 }
.scopes a[aria-current]::after { position: absolute; bottom: 5px; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; content: "" }
.catalog { border-top: 1px solid var(--line) }
.showcase { position: relative; isolation: isolate }
.product-inner { min-width: 0 }
.showcase .product-inner { background: var(--paper); display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(22px, 4vw, 64px); align-items: center; min-height: clamp(320px, 33vw, 465px); padding: clamp(20px, 2.4vw, 38px) clamp(0px, 2vw, 32px) }
.showcase:nth-of-type(even)::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--gutter)); background: var(--soft); border-radius: 24px }
.showcase:nth-of-type(even) .product-inner { background: var(--soft) }
.showcase:nth-of-type(even) .product-copy { grid-column: 2; grid-row: 1 }
.showcase:nth-of-type(even) .product-art { grid-column: 1; grid-row: 1 }
.product-copy { min-width: 0 }
.byline, .meta, .category, .compat, .hint, .notes { color: var(--muted) }
.byline { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; letter-spacing: .015em }
.app-icon { width: 50px; height: 50px; object-fit: contain; border-radius: 11px }
.byline .app-icon { width: 24px; height: 24px; border-radius: 6px }
.monogram { display: grid; place-items: center; background: var(--soft); color: var(--ink); font-size: 22px; font-weight: 620 }
.showcase h3 { margin-top: 13px; font-size: clamp(42px, 5.7vw, 82px); line-height: 1.06; font-family: -apple-system, BlinkMacSystemFont, Manrope, sans-serif; font-weight: 620; letter-spacing: -.045em; word-spacing: .025em }
.product .summary { overflow-wrap: anywhere }
.showcase .summary { margin-top: 12px; font-size: clamp(18px, 2vw, 27px); letter-spacing: -.023em }
.product-art { position: relative; min-width: 0; background: inherit }
.product-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; mix-blend-mode: multiply }
:root[data-theme="dark"] .product-art img { mix-blend-mode: screen; filter: invert(1) hue-rotate(180deg) }
.product-actions, .app-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 21px }
.product-actions { margin-top: clamp(20px, 2.1vw, 30px) }
.action, .preview-link, .text-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; font-size: 15px; line-height: 1.25 }
.action { width: fit-content; padding: 10px 22px; background: var(--button); color: var(--on-button); border-radius: 999px; font-weight: 550; white-space: nowrap }
.action:hover { filter: brightness(1.09) }
.preview-link, .text-action { appearance: none; padding: 0; color: var(--blue); font-weight: 520; background: transparent; border: 0 }
.preview-link svg, .text-action svg { width: 14px; height: 14px }
.preview-link:hover, .text-action:hover, .footer a:hover, .crumb a:hover { text-decoration: underline; text-underline-offset: 3px }
.compat { margin-top: 13px; font-size: 13px; font-variant-numeric: tabular-nums }
.compact { border-bottom: 1px solid var(--line) }
.compact .product-inner { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; padding: 30px 0 }
.compact .product-copy { position: relative; padding-right: 144px }
.compact .byline { font-size: 12px }
.compact h3 { margin-top: 4px; font-size: clamp(23px, 2.7vw, 32px) }
.compact .summary { margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted) }
.compact .product-actions { position: absolute; top: 50%; right: 0; transform: translateY(-50%); margin: 0 }
.compact .compat { margin-top: 5px }
.empty-state { text-align: center; padding: clamp(64px, 12vw, 160px) 16px }
.empty-state h3, .empty-state h2 { font-size: clamp(23px, 3vw, 36px) }
.empty-state a { margin-top: 12px }
.page-head { padding: clamp(40px, 6.2vw, 85px) 0 clamp(24px, 3.6vw, 50px) }
.page-head p { margin-top: 10px; font-size: clamp(16px, 1.65vw, 20px); color: var(--muted) }
.crumb { display: flex; gap: 10px; align-items: center; padding-top: 9px; font-size: 13px; color: var(--muted) }
.app-head { background: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 18px 0 34px; min-width: 0 }
.app-copy { min-width: 0 }
.app-copy > h1 { margin-top: 10px }
.app-copy > p { max-width: 43em; margin-top: 10px; font-size: clamp(15px, 1.6vw, 19px); color: var(--muted); white-space: pre-line; overflow-wrap: anywhere }
.app-head .product-art { flex: 0 0 min(35%, 330px) }
.app-links { margin-top: 10px }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr); align-items: start; gap: clamp(32px, 6vw, 88px); padding-top: 24px; border-top: 1px solid var(--line) }
.section-title, .meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 13px }
.section-title { margin-bottom: 12px }
.section-title span, .meta, .category { font-size: 13px }
.packages { padding: 0; list-style: none }
.package { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; align-items: start; padding: 16px 0 8px; border-bottom: 1px solid var(--line) }
.package h3 { font-size: 21px }
h3 small, h2 small { font-size: .73em; color: var(--muted); font-weight: 460 }
.package-title p { margin-top: 6px; font-size: 13px; overflow-wrap: anywhere; color: var(--muted) }
.package-title p span { white-space: nowrap }
.package .action { padding-inline: 18px; font-size: 14px }
.checksum { grid-column: 1 / -1; min-width: 0; font-size: 13px; color: var(--muted) }
summary { cursor: pointer; width: fit-content }
summary, .checksum button { min-height: 44px; align-content: center }
.checksum code { display: block; overflow-wrap: anywhere; user-select: all }
.checksum button { border: 0; background: transparent; padding: 0; color: var(--blue) }
.notes, .help p { white-space: pre-line; overflow-wrap: anywhere }
.release-note .meta { margin: 12px 0 8px }
.hint { margin-top: 10px }
.download-item { display: grid; grid-template-columns: minmax(195px, .9fr) minmax(0, 2fr); align-items: start; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line) }
.download-item header { display: flex; align-items: center; gap: 14px; min-width: 0 }
.download-item h2, .update h2 { font-size: 25px }
.update { display: grid; grid-template-columns: minmax(100px, .5fr) minmax(0, 2fr); gap: 18px; border-top: 1px solid var(--line); padding-block: 26px 18px }
.update time { color: var(--muted); font-variant-numeric: tabular-nums }
.update .notes { margin-top: 8px }
.help { margin-top: 28px }
.help h2 { margin-bottom: 12px }
.help details { border-top: 1px solid var(--line) }
.help p { color: var(--muted); margin-bottom: 12px }
.missing .action { margin-top: 20px }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 15px; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted) }
.footer a { gap: 4px }
.footer svg { width: 14px }
.image-dialog { width: fit-content; max-width: min(94vw, 1040px); max-height: 94svh; padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 18px 90px oklch(0 0 0 / .22) }
.image-dialog::backdrop { background: oklch(.12 .006 260 / .63) }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 54px; padding-inline: 18px 6px }
.preview-head h2 { font-size: 17px }
.preview-stage { display: grid; place-items: center; padding: 12px; background: var(--soft) }
.preview-stage img { max-height: calc(94svh - 80px); width: auto; height: auto; object-fit: contain; border-radius: 9px }
@media (min-width: 1320px) {
  .showcase:nth-of-type(even)::before { inset-inline: -44px }
}
@media (max-width: 720px) {
  :root { --gutter: clamp(18px, 4.5vw, 30px) }
  .nav { gap: 10px; min-height: 51px }
  .catalog-bar { min-height: 56px }
  .showcase .product-inner { gap: 12px; padding-inline: 3px }
  .showcase:nth-of-type(even)::before { border-radius: 0 }
  .detail-grid, .download-item { grid-template-columns: 1fr; gap: 23px }
}
@media (max-width: 580px) {
  .nav { gap: 4px }
  .brand { font-size: 19px }
  .nav nav { gap: 13px }
  .nav nav a { font-size: 12px }
  .theme-toggle { width: 35px }
  .catalog-bar { gap: 6px }
  .catalog-bar h1 { font-size: 17px }
  .scopes { gap: 12px }
  .scopes a { font-size: 12px }
  .showcase .product-inner { display: flex; flex-direction: column; justify-content: center; min-height: 0; gap: 4px; padding: 32px 0 16px; text-align: center }
  .showcase .product-art { width: min(84%, 338px) }
  .byline, .showcase .product-actions { justify-content: center }
  .byline { font-size: 12px; gap: 6px }
  .byline .app-icon { width: 19px; height: 19px; border-radius: 5px }
  .showcase h3 { margin-top: 8px; font-size: clamp(40px, 11vw, 56px) }
  .showcase .summary { font-size: 19px; margin-top: 5px }
  .showcase .product-actions { margin-top: 13px; gap: 15px }
  .compat { margin-top: 7px; font-size: 12px }
  .compact .product-inner { grid-template-columns: 40px minmax(0, 1fr); gap: 13px; padding-block: 24px }
  .compact .app-icon { width: 40px; height: 40px }
  .compact .product-copy { padding: 0 }
  .compact .byline { justify-content: flex-start }
  .compact .product-actions { position: static; transform: none; margin-top: 10px }
  .app-head { padding: 10px 0 20px; gap: 8px }
  .app-head .product-art { display: none }
  .app-head .app-icon { width: 42px; height: 42px }
  .app-links { gap: 4px 16px }
  .detail-grid { padding-top: 19px }
  .package { gap: 3px 6px }
  .package .action { font-size: 13px; padding-inline: 12px }
  .update { grid-template-columns: 1fr; gap: 8px }
}
@media (max-width: 355px) {
  .nav nav { gap: 8px }
  .brand { gap: 3px; font-size: 18px }
  .scopes { gap: 9px }
  .catalog-bar h1 { font-size: 16px }
}
@media (prefers-reduced-motion: no-preference) {
  .action { transition: filter .15s ease }
}
