@font-face {
  font-family: system-fallback;
  src: local("Avenir Next");
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #faf9f6;
  --surface: #fffefd;
  --surface-alt: #f0efea;
  --text: #282824;
  --muted: #6b6a64;
  --line: #deded5;
  --accent: #2e5543;
  --accent-contrast: #f9fcf8;
  --tint: #e6ece3;
  --tint-strong: #c8d7bd;
  --error: #a32e2e;
  --shadow: 0 24px 70px -32px #393b303d;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1d1a;
    --surface: #252622;
    --surface-alt: #30312b;
    --text: #f1f0e9;
    --muted: #b4b4a9;
    --line: #46473e;
    --accent: #c3dab8;
    --accent-contrast: #22301f;
    --tint: #2e382b;
    --tint-strong: #53634a;
    --error: #ffb5b5;
    --shadow: 0 24px 70px -32px #0008;
  }
}
:root[data-theme="dark"] {
  --bg: #1c1d1a;
  --surface: #252622;
  --surface-alt: #30312b;
  --text: #f1f0e9;
  --muted: #b4b4a9;
  --line: #46473e;
  --accent: #c3dab8;
  --accent-contrast: #22301f;
  --tint: #2e382b;
  --tint-strong: #53634a;
  --error: #ffb5b5;
  --shadow: 0 24px 70px -32px #0008;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Avenir Next",
    system-fallback,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft Yahei",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.25;
}
h1 {
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.04em;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
button {
  color: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--tint-strong);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav {
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1.2px;
  line-height: 1;
}
.brand img {
  border-radius: 8px;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav nav > a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.nav nav > a:hover,
.nav nav > a[aria-current] {
  color: var(--text);
}
.nav-tag {
  margin-left: 4px;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 4px;
  letter-spacing: 0.04em;
}
.theme-toggle {
  border: 0;
  background: none;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 23px;
  line-height: 1;
}
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  padding-block: 86px 82px;
  min-height: 620px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(46px, 4.7vw, 64px);
  line-height: 1.2;
  word-break: keep-all;
}
.hero h1 span {
  color: var(--muted);
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 26px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 50px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.primary {
  background: var(--text);
  color: var(--bg);
}
.primary:hover {
  box-shadow: 0 5px 18px -9px var(--text);
}
.secondary {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.secondary:hover {
  background: var(--surface-alt);
}
.hero-art {
  min-width: 0;
  width: 100%;
  max-width: 640px;
  justify-self: center;
  --compression-cycle: 6.8s;
}
.compression-illustration {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.illustration-backdrop {
  fill: var(--tint);
}
.illustration-paper {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 2;
}
.illustration-fold {
  fill: var(--tint);
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linejoin: round;
}
.illustration-image {
  fill: var(--tint);
}
.illustration-sun {
  fill: var(--tint-strong);
}
.illustration-landscape {
  fill: var(--accent);
  opacity: 0.75;
}
.illustration-lines {
  fill: none;
  stroke: var(--line);
  stroke-width: 4;
  stroke-linecap: round;
}
.illustration-filetype {
  fill: var(--muted);
  font:
    500 12px "Avenir Next",
    sans-serif;
  letter-spacing: 1px;
}
.illustration-file-dot {
  fill: var(--tint-strong);
}
.illustration-back-sheet {
  fill: var(--tint-strong);
  stroke: var(--accent);
  stroke-width: 1.5;
}
.illustration-floor-shadow {
  fill: var(--accent);
  opacity: 0.08;
}
.illustration-connector {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
}
.illustration-machine-foot {
  fill: var(--tint-strong);
  stroke: var(--accent);
  stroke-width: 1.5;
}
.illustration-machine-rail {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 1.5;
}
.illustration-machine-thread {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.5;
}
.illustration-plate {
  fill: var(--accent);
}
.illustration-plate-side {
  fill: var(--text);
}
.illustration-machine-name {
  fill: var(--accent-contrast);
  font:
    600 13px "Avenir Next",
    sans-serif;
  letter-spacing: 0.7px;
}
.illustration-plate-grip {
  fill: none;
  stroke: var(--accent-contrast);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.5;
}
.illustration-pressure {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}
.illustration-check-bg {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 3;
}
.illustration-check {
  fill: none;
  stroke: var(--accent-contrast);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.illustration-label {
  fill: var(--muted);
  font:
    14px -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
}
.compression-traveler {
  opacity: 0;
  transform-origin: 0 0;
  animation: compression-travel var(--compression-cycle)
    cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.compression-upper-plate {
  animation: compression-press-top var(--compression-cycle)
    cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.compression-lower-plate {
  animation: compression-press-bottom var(--compression-cycle)
    cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.compression-output {
  animation: compression-output var(--compression-cycle) ease infinite;
}
.compression-done {
  animation: compression-done var(--compression-cycle) ease infinite;
}
.compression-pressure-lines {
  opacity: 0;
  animation: compression-pressure var(--compression-cycle) ease infinite;
}
.motion-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 36px;
  margin-top: -8px;
  color: var(--muted);
  font-size: 10px;
}
.motion-toggle {
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.motion-toggle:hover {
  color: var(--accent);
}
.hero-art:is(.motion-paused, .motion-offscreen, .motion-background)
  .compression-illustration
  * {
  animation-play-state: paused;
}
@keyframes compression-travel {
  0%,
  9% {
    opacity: 0;
    transform: translate(123px, 246px) rotate(-7deg) scale(1);
  }
  12% {
    opacity: 1;
    transform: translate(145px, 246px) rotate(-5deg) scale(1);
  }
  29% {
    opacity: 1;
    transform: translate(325px, 246px) rotate(0deg) scale(1);
  }
  36%,
  43% {
    opacity: 1;
    transform: translate(325px, 246px) rotate(0deg) scale(0.62, 0.66);
  }
  48% {
    opacity: 1;
    transform: translate(325px, 246px) rotate(0deg) scale(0.66);
  }
  66% {
    opacity: 1;
    transform: translate(526px, 255px) rotate(7deg) scale(0.65);
  }
  72%,
  100% {
    opacity: 0;
    transform: translate(526px, 255px) rotate(7deg) scale(0.65);
  }
}
@keyframes compression-press-top {
  0%,
  29%,
  58%,
  100% {
    transform: translateY(0);
  }
  36%,
  43% {
    transform: translateY(30px);
  }
}
@keyframes compression-press-bottom {
  0%,
  29%,
  58%,
  100% {
    transform: translateY(0);
  }
  36%,
  43% {
    transform: translateY(-30px);
  }
}
@keyframes compression-output {
  0%,
  55%,
  100% {
    opacity: 0.22;
  }
  66%,
  88% {
    opacity: 1;
  }
}
@keyframes compression-done {
  0%,
  64%,
  100% {
    opacity: 0;
  }
  70%,
  88% {
    opacity: 1;
  }
}
@keyframes compression-pressure {
  0%,
  33%,
  48%,
  100% {
    opacity: 0;
  }
  37%,
  43% {
    opacity: 0.8;
  }
}
@media (prefers-reduced-motion: reduce) {
  .compression-traveler,
  .compression-pressure-lines,
  .motion-toggle {
    display: none;
  }
  .compression-output,
  .compression-done {
    opacity: 1;
  }
}
.format-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 12px;
  color: var(--muted);
}
.format-strip > span {
  flex: none;
}
.format-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  justify-content: space-between;
  flex: 1;
}
.web-section {
  padding-block: 118px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.section-copy {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 22px;
  max-width: 470px;
}
.text-link {
  font-size: 14px;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  margin-top: 26px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.gif-invite {
  position: relative;
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 34px 34px 30px;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 220px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.gif-invite:hover {
  transform: translateY(-4px);
  background: var(--tint);
}
.gif-stack {
  position: relative;
  flex: none;
  width: 104px;
  height: 134px;
}
.file-sheet {
  position: absolute;
  width: 95px;
  height: 122px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 8px 15px -10px #31392b55;
}
.back-sheet {
  transform: rotate(-13deg);
  top: 3px;
  left: -7px;
  background: var(--tint-strong);
}
.front-sheet {
  transform: rotate(6deg);
  top: 4px;
  left: 6px;
  padding: 18px;
}
.file-extension {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.file-fold {
  position: absolute;
  right: 12px;
  top: 10px;
  color: var(--muted);
  font-size: 21px;
}
.file-line {
  height: 3px;
  width: 50px;
  background: var(--line);
  display: block;
  margin-top: 28px;
}
.file-line.short {
  width: 33px;
  margin-top: 7px;
}
.gif-invite strong {
  display: block;
  font-size: 20px;
  font-weight: 550;
}
.gif-invite > div > span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
  display: block;
}
.invite-arrow {
  position: absolute;
  top: 21px;
  right: 24px;
  font-size: 23px;
}
.mac-section {
  padding-block: 50px 100px;
  scroll-margin-top: 30px;
}
.mac-heading {
  max-width: 650px;
}
.mac-heading > img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  margin-bottom: 24px;
}
.mac-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 44px;
  margin-top: 54px;
}
.mac-features article {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px 16px;
}
.feature-symbol {
  font-size: 26px;
  grid-row: span 2;
  line-height: 1.2;
  color: var(--accent);
}
.mac-features h3 {
  font-size: 18px;
}
.mac-features p {
  font-size: 14px;
  color: var(--muted);
  max-width: 385px;
}
.download-panel {
  margin-top: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.download-panel p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.unavailable {
  background: var(--surface-alt);
  color: var(--muted);
  white-space: nowrap;
}
.unavailable:hover {
  transform: none;
}
.faq {
  padding-block: 10px 100px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq h2 {
  font-size: 28px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:first-child {
  padding-top: 0;
}
.faq summary {
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--muted);
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  color: var(--muted);
  font-size: 14px;
  padding-top: 18px;
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer .brand {
  font-size: 23px;
}
.footer .brand img {
  width: 30px;
  height: 30px;
}
.footer p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 13px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}
.copyright {
  font-size: 11px;
  color: var(--muted);
}
.tool-heading {
  padding-block: 40px 36px;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 30px;
}
.back-link:hover {
  color: var(--text);
}
.tool-heading .eyebrow {
  margin-bottom: 14px;
}
.tool-heading h1 {
  font-size: 46px;
}
.tool-heading > p:last-child {
  font-size: 15px;
  color: var(--muted);
  margin-top: 18px;
}
.compressor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}
.tool-main {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
}
.dropzone {
  position: relative;
  min-height: 332px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: var(--bg);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.dropzone:hover,
.dropzone:focus-within,
.dropzone.drag-over {
  background: var(--tint);
  border-color: var(--accent);
}
.dropzone:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  font-size: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 25px;
}
.dropzone h2 {
  font-size: 23px;
  letter-spacing: -0.02em;
}
.dropzone p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.dropzone > span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 23px;
}
.sample-button {
  border: 0;
  background: transparent;
  display: block;
  margin: 20px auto 0;
  padding: 2px 12px;
  font-size: 12px;
  color: var(--muted);
}
.sample-button:hover {
  color: var(--accent);
}
.sample-button span {
  margin-left: 8px;
}
.settings {
  padding: 3px 0;
}
.settings fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.settings legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.mode-option {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 15px 0;
}
.mode-option input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  flex: none;
  margin: 0;
}
.mode-option strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.mode-option small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.recommended {
  font-size: 10px;
  line-height: 1.4;
  border: 1px solid var(--line);
  padding: 3px 6px;
  border-radius: 5px;
  color: var(--accent);
  margin-left: auto;
}
.quality-control {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.quality-control > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.quality-control output {
  font-size: 11px;
  color: var(--accent);
}
.quality-control input {
  width: 100%;
  accent-color: var(--accent);
  margin: 20px 0 10px;
  height: 18px;
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.quality-control p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 14px;
}
.local-note {
  display: flex;
  gap: 13px;
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 25px;
}
.local-note > span {
  font-size: 22px;
  line-height: 1.3;
  color: var(--accent);
}
.local-note strong {
  font-size: 12px;
  font-weight: 500;
}
.local-note p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 7px;
}
.app-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  background: var(--tint);
  border-radius: 11px;
  padding: 20px;
  font-size: 11px;
  color: var(--accent);
}
.app-note strong {
  font-weight: 500;
}
.app-note span {
  color: var(--muted);
}
.app-note:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.tool-about {
  padding-block: 70px 90px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.tool-about h2 {
  font-size: 26px;
}
.tool-about p {
  font-size: 12px;
  color: var(--muted);
}
.tool-about p + p {
  margin-top: 14px;
}
.file-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.file-heading > div {
  min-width: 0;
}
.file-heading strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
}
.file-heading span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.small-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.4;
  padding: 7px 12px;
  background: var(--surface);
  white-space: nowrap;
}
.small-button:hover {
  background: var(--surface-alt);
}
.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.preview-box {
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: var(--surface-alt);
  background-image: conic-gradient(
    var(--bg) 25%,
    transparent 0 50%,
    var(--bg) 0 75%,
    transparent 0
  );
  background-size: 16px 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.preview-box img {
  max-height: 220px;
  max-width: 100%;
  object-fit: contain;
  min-width: 0;
}
.preview-grid figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  gap: 7px;
  margin-top: 10px;
  color: var(--muted);
}
.preview-grid figcaption strong {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text);
}
#preview-placeholder {
  text-align: center;
  padding: 15px;
  background: var(--surface-alt);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
#preview-placeholder > span {
  font-size: 35px;
  font-weight: 300;
}
#preview-placeholder > p {
  font-size: 11px;
  margin-top: 13px;
}
.processing {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 18px;
  background: var(--surface-alt);
  border-radius: 10px;
}
.processing strong {
  font-size: 12px;
  font-weight: 500;
}
.processing p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.processing .small-button {
  margin-left: auto;
}
.spinner {
  width: 19px;
  height: 19px;
  flex: none;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.result-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 22px;
  background: var(--tint);
  border-radius: 12px;
}
.result-panel > div > span {
  display: block;
  font-size: 11px;
  color: var(--accent);
}
.result-panel strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.04em;
  font-weight: 550;
  color: var(--accent);
  line-height: 1.4;
  margin-top: 4px;
}
.result-panel p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.result-panel .button {
  min-height: 44px;
  gap: 20px;
  font-size: 12px;
  padding: 11px 16px;
}
.recompress {
  display: flex;
  margin: 20px 0 0 auto;
  background: transparent;
  color: var(--muted);
  border: 0;
  font-size: 11px;
  padding: 4px;
  min-height: 30px;
  gap: 12px;
}
.error {
  padding: 14px 17px;
  color: var(--error);
  font-size: 12px;
  border: 1px solid currentColor;
  border-radius: 10px;
  margin-top: 20px;
}
.prose {
  max-width: 760px;
  padding-block: 50px 100px;
  min-height: 65vh;
}
.prose h1 {
  font-size: 42px;
}
.prose-lead {
  font-size: 20px !important;
  margin-top: 26px !important;
  color: var(--muted);
}
.prose h2 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin-top: 40px;
}
.prose p {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 18px;
}
.prose code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.prose p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 2;
  top: 15px;
  left: 15px;
  background: var(--surface);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 8px;
}
.will-reveal {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.will-reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 100px;
    min-height: 690px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .nav {
    height: 76px;
  }
  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    min-height: 540px;
    padding-block: 62px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-description {
    font-size: 14px;
  }
  .actions {
    gap: 9px;
  }
  .button {
    padding: 12px 16px;
    gap: 16px;
    font-size: 12px;
  }
  .format-strip {
    gap: 25px;
  }
  .format-strip > div {
    gap: 18px;
    font-size: 11px;
  }
  .web-section {
    gap: 50px;
    padding-block: 90px;
  }
  .gif-invite {
    gap: 20px;
    padding: 24px;
  }
  .gif-invite strong {
    font-size: 17px;
  }
  .gif-stack {
    transform: scale(0.85);
    width: 88px;
  }
  .gif-invite > div > span {
    font-size: 10px;
  }
  .mac-features {
    column-gap: 50px;
  }
  .faq {
    gap: 50px;
  }
  .compressor {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
  }
  .tool-main {
    padding: 20px;
  }
  .preview-box,
  .preview-box img {
    max-height: 190px;
  }
  .preview-box {
    height: 190px;
  }
  .result-panel {
    padding: 17px;
  }
  .result-panel strong {
    font-size: 26px;
  }
  .result-panel .button {
    font-size: 11px;
    gap: 12px;
  }
  .tool-about {
    gap: 55px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    height: 70px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .nav nav {
    gap: 20px;
  }
  .nav nav > a {
    font-size: 12px;
  }
  .nav-tag {
    display: none;
  }
  .theme-toggle {
    font-size: 21px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 52px 40px;
    min-height: auto;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .hero h1 {
    font-size: clamp(42px, 8vw, 62px);
  }
  .hero-description {
    font-size: 15px;
    margin-top: 20px;
  }
  .actions {
    margin-top: 26px;
    gap: 12px;
  }
  .button {
    font-size: 12px;
    min-height: 46px;
    padding: 12px 18px;
    gap: 20px;
  }
  .format-strip {
    display: block;
    padding-block: 22px;
  }
  .format-strip > div {
    margin-top: 17px;
    justify-content: flex-start;
    column-gap: 22px;
    row-gap: 12px;
    font-size: 11px;
  }
  .format-strip > span {
    font-size: 11px;
  }
  .web-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 65px;
  }
  .web-section h2,
  .mac-section h2 {
    font-size: 30px;
  }
  .section-copy {
    font-size: 14px;
    margin-top: 18px;
    max-width: 500px;
  }
  .gif-invite {
    min-height: 190px;
    padding: 27px 32px;
    gap: 35px;
  }
  .gif-invite strong {
    font-size: 19px;
  }
  .gif-invite > div > span {
    font-size: 12px;
  }
  .gif-stack {
    transform: scale(0.9);
  }
  .mac-section {
    padding-block: 15px 65px;
  }
  .mac-heading > img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }
  .mac-features {
    gap: 32px;
    margin-top: 32px;
  }
  .mac-features article {
    display: block;
    padding-top: 20px;
  }
  .feature-symbol {
    display: block;
    margin-bottom: 13px;
    font-size: 24px;
  }
  .mac-features h3 {
    font-size: 16px;
  }
  .mac-features p {
    font-size: 12px;
    margin-top: 10px;
  }
  .download-panel {
    margin-top: 36px;
    display: block;
    padding: 25px;
  }
  .download-panel h3 {
    font-size: 18px;
  }
  .download-panel .button {
    margin-top: 22px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 0 65px;
  }
  .faq h2 {
    font-size: 26px;
  }
  .faq summary {
    font-size: 14px;
  }
  .faq details p {
    font-size: 12px;
  }
  .footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    padding-block: 28px;
  }
  .footer-links {
    gap: 18px;
    font-size: 11px;
    grid-column: 1/-1;
    grid-row: 2;
  }
  .footer .copyright {
    font-size: 10px;
    align-self: start;
    margin-top: 10px;
  }
  .footer p {
    font-size: 10px;
    margin-top: 8px;
  }
  .tool-heading {
    padding-block: 25px 28px;
  }
  .tool-heading .back-link {
    margin-bottom: 23px;
  }
  .tool-heading h1 {
    font-size: 37px;
  }
  .tool-heading > p:last-child {
    font-size: 12px;
    max-width: 330px;
    margin-top: 15px;
  }
  .compressor {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tool-main {
    padding: 16px;
  }
  .dropzone {
    min-height: 290px;
    padding: 30px 16px;
  }
  .dropzone h2 {
    font-size: 21px;
  }
  .dropzone > span {
    font-size: 10px;
  }
  .settings {
    padding: 0;
  }
  .settings fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .settings legend {
    margin-bottom: 8px;
  }
  .mode-option {
    padding: 12px 0;
    gap: 9px;
  }
  .mode-option strong {
    font-size: 12px;
  }
  .mode-option small {
    font-size: 9px;
  }
  .recommended {
    font-size: 9px;
    padding: 2px 4px;
    margin-left: 0;
  }
  .quality-control {
    grid-column: 1/-1;
    margin-top: 12px;
    padding-top: 18px;
  }
  .quality-control input {
    margin-top: 12px;
  }
  .local-note {
    margin-top: 24px;
    padding-top: 20px;
  }
  .app-note {
    margin-top: 20px;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    padding: 17px;
  }
  .tool-about {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 48px 60px;
  }
  .tool-about h2 {
    font-size: 25px;
  }
  .tool-about p {
    font-size: 11px;
  }
  .preview-grid {
    gap: 10px;
  }
  .preview-box {
    height: 180px;
  }
  .preview-box img {
    max-height: 180px;
  }
  .file-heading strong {
    font-size: 12px;
  }
  .file-heading span {
    font-size: 10px;
  }
  .file-heading {
    gap: 10px;
    margin-bottom: 17px;
  }
  .small-button {
    padding: 7px 9px;
    font-size: 10px;
  }
  .result-panel {
    gap: 15px;
    padding: 17px 14px;
  }
  .result-panel strong {
    font-size: 25px;
  }
  .result-panel .button {
    font-size: 11px;
    gap: 9px;
    padding: 10px 12px;
  }
  .result-panel p {
    max-width: 180px;
  }
  .processing {
    padding: 13px 12px;
    gap: 10px;
  }
  .processing strong {
    font-size: 11px;
  }
  .processing p {
    font-size: 9px;
  }
  .spinner {
    width: 16px;
    height: 16px;
  }
  .prose {
    padding-block: 32px 65px;
  }
  .prose h1 {
    font-size: 34px;
  }
  .prose-lead {
    font-size: 17px !important;
  }
  .prose h2 {
    font-size: 21px;
  }
  .prose p {
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .nav nav {
    gap: 15px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-description {
    font-size: 13px;
  }
  .actions {
    gap: 9px;
  }
  .button {
    font-size: 11px;
    padding: 12px 15px;
    gap: 15px;
  }
  .gif-invite {
    padding: 25px;
    gap: 25px;
  }
  .gif-invite strong {
    font-size: 17px;
  }
  .gif-invite > div > span {
    font-size: 10px;
  }
  .recommended {
    display: none;
  }
  .preview-box {
    height: 145px;
  }
  .preview-box img {
    max-height: 145px;
  }
  .preview-grid figcaption {
    font-size: 9px;
  }
  .app-note {
    display: block;
  }
  .app-note span {
    display: block;
    margin-top: 8px;
  }
  .result-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .result-panel p {
    max-width: none;
  }
  .result-panel .button {
    align-self: start;
  }
  .processing p {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
  .spinner {
    border-style: dotted;
  }
}

.project-meta {
  margin-top: 44px !important;
  color: var(--muted);
  font-size: 12px !important;
}
