:root {
  color-scheme: dark;
  --bg:#101112;
  --surface:#191b1c;
  --line:#343638;
  --muted:#a3a7a9;
  --text:#f2f3f0;
  --red:#ff5c46;
  --mint:#b9ead7;
  font-family:
    Inter,
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
  font-synthesis: none;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  width: 76px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
}
.language-switch svg { width: 16px; height: 16px; }
.mac-notice.mac-notice { display: block; }
.mac-notice.mac-notice svg { display: inline; vertical-align: middle; margin-right: 8px; }
html[lang="en"] .tool h3 { flex-wrap: wrap; }
html[lang="en"] .tool-description { min-height: 74px; }
@media (max-width: 760px) {
  .header .brand-label, .header .brand-divider { display: none; }
  .header { padding-inline: 16px; gap: 12px; }
  .header nav { gap: 12px; margin-left: auto; }
  .language-switch { width: 58px; gap: 5px; font-size: 11px; }
  html[lang="en"] .section-top h2 { font-size: 23px; }
  html[lang="en"] .tool-description { min-height: 0; }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
}
button,
select {
  letter-spacing: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}
svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
[hidden] {
  display: none !important;
}
.container {
  width: calc(100% - 96px);
  max-width: 1280px;
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 50;
  background: var(--text);
  color: var(--bg);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 48px;
  border-bottom: 1px solid #ffffff13;
  background: #101112e8;
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 30px;
  font-weight: 850;
}
.brand-divider {
  height: 22px;
  width: 1px;
  background: #47494b;
}
.brand-label {
  font-size: 15px;
  font-weight: 500;
}
.header nav {
  display: flex;
  gap: 38px;
  align-self: stretch;
  align-items: center;
  font-size: 14px;
}
.header nav a {
  position: relative;
  color: var(--muted);
  transition: color .2s;
}
.header nav a:hover,
.header nav .nav-current {
  color: var(--text);
}
.nav-current:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  left: 50%;
  bottom: -14px;
}
.header-note {
  font-size: 12px;
  color: #a8abad;
}
.hero {
  height: 510px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(./assets/scene.webp) center/cover no-repeat;
}
.scene canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #101112 0%,
      #101112e8 19%,
      #10111230 55%,
      transparent 75%);
  pointer-events: none;
}
.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 38px;
  pointer-events: none;
}
.hero-content a {
  pointer-events: auto;
  align-self: flex-start;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.square {
  width: 6px;
  height: 6px;
  background: var(--red);
}
h1 {
  font-size: 58px;
  font-weight: 550;
  line-height: 1.18;
  margin: 20px 0;
  max-width: 560px;
}
.hero-brand {
  font-size: 88px;
  font-weight: 850;
  display: block;
  line-height: 1;
}
.title-dot {
  color: var(--red);
}
.hero-description {
  font-size: 15px;
  line-height: 1.8;
  color: #b8bcbe;
}
.hero-link {
  display: flex;
  gap: 35px;
  align-items: center;
  margin-top: 24px;
  font-size: 13px;
  border-bottom: 1px solid #6a6d6e;
  padding-bottom: 9px;
}
.hero-link svg {
  color: var(--red);
  transition: transform .25s;
}
.hero-link:hover svg {
  transform: translate(3px, 3px);
}
.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  color: #9ca1a3;
}
.hero-bottom b {
  font-weight: 400;
  color: #55595a;
  margin: 0 12px;
}
.hero-index {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff23;
  border-radius: 4px;
  background: #151718a3;
  transition: background .2s;
}
.icon-button:hover {
  background: #3b3e40;
}
.icon-button svg {
  width: 15px;
  height: 15px;
}
.software {
  padding-top: 52px;
  padding-bottom: 58px;
  scroll-margin-top: 25px;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.section-top h2 {
  display: flex;
  gap: 14px;
  align-items: start;
  font-size: 28px;
  font-weight: 500;
  margin-top: 9px;
}
.count {
  font-size: 11px;
  color: #949a9c;
  border: 1px solid var(--line);
  padding: 3px 6px;
  margin-top: 3px;
  line-height: 1.2;
}
.platform-switch {
  display: flex;
  padding: 5px;
  background: #202223;
  border: 1px solid #36393a;
  border-radius: 6px;
  flex-shrink: 0;
  gap: 4px;
}
.platform-switch button {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  height: 39px;
  min-width: 125px;
  border-radius: 3px;
  font-size: 13px;
  color: #aaaeb0;
  transition: background .2s, color .2s;
}
.platform-switch button[aria-pressed=true] {
  background: #e9ede9;
  color: #171919;
  box-shadow: 0 2px 8px #0003;
}
.platform-switch svg {
  width: 16px;
  height: 16px;
}
.platform-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8f9598;
  font-size: 11px;
  margin: 27px 0 18px;
  line-height: 1.5;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.tool {
  min-width: 0;
  background: var(--surface);
  border: 1px solid #383a3c;
  border-radius: 6px;
  padding: 27px;
  position: relative;
  transition: border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.tool:hover {
  border-color: #666d6b;
  box-shadow: 0 12px 40px #0003;
}
.tool-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 11px;
  color: #a4abad;
}
.tool-number {
  color: var(--red);
  font-family: monospace;
}
.tool-heading > svg {
  margin-left: auto;
  color: var(--red);
}
.tool-clip .tool-heading > svg,
.tool-clip .tool-number {
  color: var(--mint);
}
h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 30px;
  font-weight: 550;
}
.version {
  font-family: monospace;
  font-size: 11px;
  font-weight: 400;
  color: #a0a6a8;
  border: 1px solid #404447;
  border-radius: 3px;
  padding: 4px 7px;
}
.tool-description {
  font-size: 13px;
  line-height: 1.9;
  color: #a5abad;
  margin-top: 12px;
  min-height: 50px;
}
.preview {
  display: block;
  position: relative;
  padding: 0;
  width: 100%;
  margin-top: 22px;
  aspect-ratio: 1.6;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #ffffff2b;
  background: #e8e9ec;
}
.preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.preview:hover img {
  transform: scale(1.025);
}
.preview-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #101112e8;
  border: 1px solid #a3a7a94d;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.preview-expand svg {
  width: 14px;
  height: 14px;
}
.features {
  padding: 18px 0 20px;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #b0b6b8;
  font-size: 11px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.features li:before {
  content: "";
  width: 3px;
  height: 3px;
  background: #778281;
}
.download-area {
  border-top: 1px solid #ffffff12;
  padding-top: 20px;
}
.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: var(--red);
  color: #171211;
  padding: 0 20px;
  height: 50px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  transition: filter .2s, transform .2s;
}
.tool-clip .download-button {
  background: var(--mint);
  color: #14231e;
}
.download-button:hover {
  filter: brightness(1.12);
}
.download-button:hover svg {
  transform: translateY(2px);
}
.download-button svg {
  transition: transform .2s;
}
.package-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #9da5a8;
  margin: 13px 0 20px;
  line-height: 1.4;
}
.architecture {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #a6adaf;
  margin-bottom: 12px;
  position: relative;
}
.architecture select {
  appearance: none;
  min-width: 0;
  flex: 1;
  height: 39px;
  background: #121415;
  border: 1px solid #404547;
  border-radius: 3px;
  color: #e1e5e4;
  padding: 0 33px 0 13px;
  font-size: 12px;
}
.architecture svg {
  position: absolute;
  right: 12px;
  pointer-events: none;
  width: 14px;
  height: 14px;
}
.version-history {
  border-top: 1px solid #ffffff12;
  padding-top: 12px;
}
.version-history summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 11px;
  color: #a0a8aa;
  list-style: none;
}
.version-history summary svg {
  width: 13px;
  height: 13px;
}
.release-entry { margin-top: 18px; font-size: 12px; line-height: 1.8; color: #adb6b8; }
.release-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.release-heading strong { color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.release-heading time { color: var(--muted); font-size: 11px; }
.release-entry p { margin-top: 10px; color: var(--text); }
.release-entry ul { margin: 8px 0 0; padding-left: 18px; }
.release-entry li + li { margin-top: 6px; }
.release-entry + .release-entry { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.version-history[open] summary svg,
.help details[open] summary svg {
  transform: rotate(45deg);
}
summary::-webkit-details-marker {
  display: none;
}
.mac-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #abb1b3;
  margin-top: 20px;
  flex-wrap: wrap;
}
.mac-notice svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.mac-notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text);
}
.help {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 70px;
  padding-top: 46px;
  padding-bottom: 70px;
  border-top: 1px solid var(--line);
}
.help h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 12px 0 15px;
}
.help-heading > p:last-child {
  font-size: 12px;
  color: #929b9d;
}
.help details {
  border-bottom: 1px solid #313638;
  padding: 23px 0;
}
.help details:first-child {
  padding-top: 0;
}
.help summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}
.help summary svg {
  width: 16px;
  height: 16px;
  color: #8a9294;
  transition: transform .2s;
}
.help details p {
  font-size: 12px;
  line-height: 1.95;
  color: #a5aeb0;
  margin-top: 18px;
}
.footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 10px;
  color: #8f999b;
}
.footer-brand {
  font-size: 23px;
  font-weight: 800;
  color: #e3e8e6;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: auto;
}
.footer-brand span {
  font-weight: 400;
  font-size: 11px;
  color: #8f999b;
}
.footer > a:last-child {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer svg {
  width: 16px;
  height: 16px;
}
dialog {
  padding: 14px;
  border: 1px solid #646d70;
  background: #191d1f;
  color: #e3e8e6;
  border-radius: 6px;
  width: min(1300px, calc(100% - 40px));
  max-height: 94vh;
}
dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(10px);
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 12px;
}
dialog img {
  display: block;
  width: 100%;
  max-height: calc(94vh - 90px);
  object-fit: contain;
}
.scene[data-ready=true] {
  background-image: none;
}
@media (min-width: 1600px) {
  .hero {
    height: 550px;
  }
  .hero-content {
    padding-bottom: 20px;
  }
  h1 {
    font-size: 66px;
  }
  .hero-brand {
    font-size: 104px;
  }
}
@media (max-width: 1000px) {
  .container {
    width: calc(100% - 56px);
  }
  .header {
    padding: 0 28px;
  }
  .header-note {
    display: none;
  }
  .hero {
    height: 480px;
  }
  .tools-grid {
    gap: 18px;
  }
  .tool {
    padding: 22px;
  }
  .features {
    gap: 12px;
  }
  .help {
    gap: 40px;
    grid-template-columns: 1fr 1.6fr;
  }
  .section-top h2 {
    font-size: 25px;
  }
  .tool-description {
    min-height: 74px;
  }
  h3 {
    font-size: 27px;
  }
}
@media (max-width: 760px) {
  .header {
    height: 70px;
    padding: 0 22px;
    gap: 18px;
  }
  .brand {
    font-size: 27px;
    gap: 11px;
  }
  .brand-label {
    font-size: 12px;
  }
  .header nav {
    gap: 20px;
    font-size: 12px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    height: 485px;
  }
  .hero-content {
    padding-bottom: 55px;
  }
  .hero:after {
    background:
      linear-gradient(
        90deg,
        #101112ec,
        #1011128c 55%,
        #10111210);
  }
  h1 {
    font-size: 44px;
    max-width: 380px;
  }
  .hero-brand {
    font-size: 78px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-link {
    font-size: 12px;
  }
  .software {
    padding-top: 33px;
    padding-bottom: 35px;
  }
  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }
  .section-top h2 {
    font-size: 24px;
  }
  .platform-switch {
    width: 100%;
  }
  .platform-switch button {
    flex: 1;
    min-width: 0;
  }
  .platform-caption {
    font-size: 10px;
    margin-top: 20px;
  }
  .platform-caption > span:last-child {
    display: none;
  }
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tool {
    padding: 23px;
  }
  .tool-description {
    min-height: 0;
  }
  .preview {
    margin-top: 20px;
  }
  .help {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 33px;
    padding-bottom: 40px;
  }
  .help h2 {
    font-size: 25px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 22px;
  }
  .footer-brand {
    width: 100%;
    margin-right: 0;
  }
  .footer > a:last-child {
    margin-left: auto;
  }
  .mac-notice {
    gap: 6px;
    font-size: 11px;
    display: block;
  }
  .mac-notice svg {
    vertical-align: middle;
    margin-right: 8px;
  }
  dialog {
    width: calc(100% - 20px);
    padding: 9px;
  }
  .help details {
    padding: 21px 0;
  }
}
@media (max-width: 380px) {
  .header nav {
    gap: 12px;
  }
  .brand-label {
    display: none;
  }
  .brand-divider {
    display: none;
  }
  .tool {
    padding: 18px;
  }
  .features {
    gap: 10px;
    font-size: 10px;
  }
  .hero-brand {
    font-size: 72px;
  }
  h1 {
    font-size: 40px;
  }
  .section-top h2 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
