:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #17232a;
  background: #fafaf8;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --muted: #526064;
  --rule: #d5d9d5;
  --link: #234abb;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
figure, h1, h2, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid #305cda; outline-offset: 4px; }
.wrap { width: min(calc(100% - clamp(36px, 9vw, 144px)), 1256px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 3;
  top: -5rem;
  left: 12px;
  padding: 10px;
  color: #fff;
  background: #17232a;
}
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .site-header nav, .brand, .site-footer, .site-footer nav {
  display: flex;
  align-items: center;
}
.header-inner { justify-content: space-between; min-height: 72px; }
.brand { gap: 8px; font-weight: 670; font-size: 20px; letter-spacing: -.045em; }
.brand:hover, .download-button:hover { text-decoration: none; }
.site-header nav, .site-footer nav { gap: clamp(14px, 3vw, 40px); }
.site-header nav a { color: var(--muted); padding-block: 13px; font-size: 14px; }
.site-header nav [aria-current="page"] { color: #17232a; font-weight: 650; text-decoration: underline; text-underline-offset: 7px; }
.site-footer { justify-content: space-between; min-height: 85px; border-top: 1px solid var(--rule); color: var(--muted); }
.site-footer small, .site-footer nav a { font-size: 13px; }
.introduction {
  display: grid;
  grid-template-columns: minmax(260px, .84fr) minmax(0, 1.42fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
  padding-block: clamp(42px, 6.2vw, 90px) clamp(40px, 5.6vw, 80px);
}
.product-kind { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.product-copy h1 { font-size: clamp(44px, 4.7vw, 70px); font-weight: 680; line-height: 1.18; letter-spacing: -.055em; }
.description { max-width: 23em; margin: 22px 0 32px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.85; }
.product-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 13px 18px;
  border-radius: 5px;
  background: #17232a;
  color: white;
  font-size: 15px;
  font-weight: 600;
}
.download-button:hover { background: #344247; }
.version-link, .workspace-heading a { font-size: 14px; color: var(--link); }
.requirements { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
.sample-frame { border: 1px solid #222b31; border-radius: 7px; overflow: hidden; background: #202a2f; color: #fff; }
.comparison { --wipe: 31%; position: relative; aspect-ratio: 1100 / 580; isolation: isolate; }
.comparison img { width: 100%; height: 100%; object-fit: cover; }
.original-frame, .wipe-line, .sample-labels, .comparison input { position: absolute; }
.original-frame { inset: 0; clip-path: inset(0 calc(100% - var(--wipe)) 0 0); }
.sample-labels { inset: 12px 12px auto; display: flex; justify-content: space-between; pointer-events: none; }
.sample-labels span { padding: 4px 8px; background: #192127d9; color: white; font-size: 12px; border-radius: 3px; }
.wipe-line { inset: 0 auto 0 var(--wipe); width: 2px; background: white; transform: translateX(-50%); pointer-events: none; }
.only-result .sample-labels span:first-child,
.only-original .sample-labels span:last-child { visibility: hidden; }
.wipe-grip {
  position: absolute;
  left: 50%;
  top: 74%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border-radius: 16px;
  background: white;
  color: #16232b;
  font: 600 20px/1 system-ui, sans-serif;
  box-shadow: 0 1px 8px #18232b45;
}
.comparison input:not([hidden]) {
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  appearance: none;
}
.comparison input::-webkit-slider-runnable-track { height: 100%; }
.comparison input::-webkit-slider-thumb { appearance: none; width: 2px; height: 100%; }
.comparison input::-moz-range-thumb { width: 2px; border: 0; }
.comparison:has(input:focus-visible) { outline: 4px solid #213982; outline-offset: -4px; }
.comparison:has(input:not([hidden])) .wipe-grip { display: flex; }
.sample-meta, .reference, .sample figcaption { display: flex; align-items: center; }
.sample-meta { justify-content: space-between; padding: 8px 14px; gap: 14px; font-size: 12px; color: #dce5e8; }
.sample-meta time { margin-left: 4px; font-variant-numeric: tabular-nums; font-family: ui-monospace, Menlo, monospace; }
.reference { gap: 9px; }
.reference img { border-radius: 3px; }
.sample figcaption { justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 13px; }
.sample figcaption strong { font-weight: 550; }
.drag-instruction { visibility: hidden; }
.sample:has(input:not([hidden])) .drag-instruction { visibility: visible; }
.workspace { border-top: 1px solid var(--rule); padding-block: 30px clamp(40px, 5.5vw, 75px); }
.workspace-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.workspace h2 { font-size: clamp(23px, 2.2vw, 33px); font-weight: 630; letter-spacing: -.04em; }
.workspace-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .85fr); align-items: start; gap: clamp(28px, 5vw, 74px); }
.workspace-shot { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 4px; }
.workflow > div { padding: 17px 0; border-top: 1px solid var(--rule); }
.workflow > div:first-child { border: 0; padding-top: 4px; }
.workflow dt { font-weight: 650; font-size: 17px; margin-bottom: 6px; }
.workflow dd { color: var(--muted); line-height: 1.8; font-size: 15px; }
@media (max-width: 790px) {
  .introduction, .workspace-body { grid-template-columns: 1fr; }
  .introduction { gap: 30px; }
  .description { max-width: 32em; margin: 14px 0 21px; }
  .product-kind { margin-bottom: 8px; }
  .workspace-body { gap: 20px; }
}
@media (max-width: 480px) {
  .header-inner { min-height: 60px; }
  .brand { gap: 4px; font-size: 17px; }
  .brand img { width: 25px; height: 25px; }
  .site-header nav a { font-size: 13px; }
  .introduction { padding-block: 34px; }
  .product-actions { gap: 16px; }
  .sample-meta { padding: 6px 9px; }
  .reference img { width: 28px; height: 28px; }
  .sample-labels { inset: 7px 7px auto; }
  .site-footer { min-height: 70px; }
}
