@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  color-scheme: light;
  --page: #f7f7f2;
  --surface: #fffffc;
  --ink: #243c32;
  --muted: #6d776e;
  --line: #e3e7dd;
  --tint: #f3f5ed;
  --accent: #285b47;
  --accent-text: #fffef5;
  --error: #a03c32;
  --error-tint: #fff1ec;
  --shadow: 31, 52, 34;
  --dot: #dce3d5;
  --highlight: #e8eedf;
  --soft-accent: #91a785;
  background: var(--page);
  color: var(--ink);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #111a15;
  --surface: #1b2720;
  --ink: #edf0e5;
  --muted: #abb5a8;
  --line: #344236;
  --tint: #202e23;
  --accent: #c0d4a8;
  --accent-text: #1e3326;
  --error: #f5a495;
  --error-tint: #392720;
  --shadow: 0, 0, 0;
  --dot: #364331;
  --highlight: #2d3e2d;
  --soft-accent: #94ae7c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(
    ellipse 600px 360px at 50% 350px,
    rgba(149, 167, 125, 0.07),
    transparent
  );
}
button,
input,
select {
  font: inherit;
}
button,
a,
label,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
.file-button:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 14px 20px;
  z-index: 10;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 8px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 29px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.4px;
}
.brand-mark {
  display: block;
  width: 33px;
  height: 33px;
  margin-right: 10px;
  border-radius: 9px;
  box-shadow: 0 2px 5px rgba(var(--shadow), 0.08);
}
.brand-dot {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.author-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
}
.author-link > span {
  color: var(--muted);
  font-weight: 450;
  margin-right: 2px;
}
.author-link .icon {
  width: 15px;
  height: 15px;
  margin-left: 3px;
}
.header-divider {
  height: 18px;
  width: 1px;
  background: var(--line);
}
.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.icon-button:hover {
  background: var(--highlight);
  color: var(--accent);
}
.icon-button .icon {
  width: 18px;
  height: 18px;
}
.theme-sun,
:root[data-theme="dark"] .theme-moon {
  display: none;
}
:root[data-theme="dark"] .theme-sun {
  display: block;
}
.intro {
  text-align: center;
  padding: 55px 0 43px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1.55px;
}
.intro-eyebrow {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 8px;
  letter-spacing: 1.3px;
  box-shadow: 0 2px 3px rgba(var(--shadow), 0.025);
}
.status-dot {
  height: 5px;
  width: 5px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
}
h1 {
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -3.5px;
  margin: 23px 0 20px;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -3.5px;
  color: var(--accent);
  line-height: 1.06;
}
.intro > p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.intro-benefits {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}
.intro-benefits > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.intro-benefits .icon {
  width: 13px;
  height: 13px;
}
.benefit-divider {
  height: 3px;
  width: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 2px 3px rgba(var(--shadow), 0.025),
    0 16px 35px -20px rgba(var(--shadow), 0.18),
    0 50px 100px -65px rgba(var(--shadow), 0.2);
  scroll-margin-top: 24px;
}
.studio-header {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 28px;
  border-bottom: 1px solid var(--line);
}
.studio-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.studio-title > .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
h2 {
  font-size: 15px;
  letter-spacing: -0.35px;
  margin: 0;
  font-weight: 650;
}
.studio-title h2 {
  font-size: 13px;
  letter-spacing: -0.1px;
}
.local-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
}
.local-badge .status-dot {
  background: #79966b;
  box-shadow: 0 0 0 3px rgba(121, 150, 107, 0.1);
}
.workspace-main {
  padding: 27px 28px 0;
  min-width: 0;
}
.dropzone {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 35px 18px 25px;
  border: 1px dashed #c6d2bd;
  border-radius: 10px;
  background-color: var(--tint);
  background-image: radial-gradient(var(--dot) 0.65px, transparent 0.65px);
  background-size: 12px 12px;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.dropzone::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse, var(--tint) 25%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.dropzone.dragging {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background-color: var(--highlight);
}
.image-stack {
  position: relative;
  width: 190px;
  height: 147px;
  margin: 0 auto 26px;
  pointer-events: none;
}
.image-card {
  position: absolute;
  border: 1px solid #dee3d3;
  border-radius: 9px;
  box-shadow: 0 6px 15px rgba(38, 60, 32, 0.06);
  width: 147px;
  height: 129px;
  top: 6px;
  left: 22px;
}
.image-card--back {
  background: #e3e8d9;
  transform: rotate(-14deg) translate(-9px, 3px);
}
.image-card--middle {
  background: #fdfcf3;
  transform: rotate(11deg) translate(10px, 0);
}
.image-card--front {
  background: #fffef8;
  padding: 7px;
  transform: rotate(-4deg);
  box-shadow:
    0 5px 8px rgba(38, 60, 32, 0.06),
    0 14px 24px -12px rgba(38, 60, 32, 0.24);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dropzone:focus-within .image-card--front,
.dropzone:hover .image-card--front {
  transform: rotate(0) translateY(-4px);
}
.landscape {
  display: block;
  width: 100%;
  height: 89px;
  border-radius: 4px;
}
.image-card-caption {
  height: 24px;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 1px 3px;
}
.image-card-caption > span {
  height: 3px;
  width: 29px;
  background: #dce4d4;
  border-radius: 10px;
}
.image-card-caption > span + span {
  width: 14px;
  background: #e8ece2;
}
.image-card-caption .icon {
  margin-left: auto;
  width: 13px;
  height: 13px;
  color: #567548;
  stroke-width: 2;
}
.stack-spark {
  position: absolute;
  color: #8ba36e;
  font-size: 19px;
  line-height: 1;
}
.stack-spark--one {
  right: -5px;
  top: 16px;
}
.stack-spark--two {
  left: 0;
  bottom: 8px;
  font-size: 23px;
}
.dropzone h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  font-weight: 600;
}
.dropzone p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 8px 0 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05px;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow:
    0 2px 3px rgba(var(--shadow), 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.primary:hover:not(:disabled) {
  box-shadow:
    0 4px 9px rgba(var(--shadow), 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.primary:active:not(:disabled) {
  transform: translateY(0);
}
.primary:disabled {
  background: var(--highlight);
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}
.button .icon {
  height: 16px;
  width: 16px;
}
.file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 166px;
}
.file-button:has(input:disabled) {
  opacity: 0.5;
  cursor: default;
  transform: none;
}
.file-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: inherit;
}
.format-list {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 19px;
}
.format-list > span {
  font-size: 8px;
  letter-spacing: 0.6px;
  font-weight: 650;
  line-height: 1;
  padding: 5px 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}
.file-hint {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}
.results-header h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.count {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.text-button {
  background: none;
  border: 0;
  padding: 10px 0 10px 15px;
  min-height: 36px;
  color: var(--muted);
  font-size: 10px;
}
.text-button:disabled {
  opacity: 0.5;
}
.text-button:hover:not(:disabled) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.status {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  margin: 4px 0 13px;
}
.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 10px;
  background: var(--surface);
}
.empty .icon {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}
.settings {
  padding: 27px 28px 22px;
  border-left: 1px solid var(--line);
  background: linear-gradient(140deg, var(--surface), var(--tint));
  align-self: stretch;
}
.settings-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 27px;
}
.settings-title .eyebrow {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 1.3px;
}
.settings-title h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.6px;
  margin-top: 6px;
}
.settings-title > .icon {
  width: 19px;
  height: 19px;
  color: var(--muted);
}
.settings fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.field {
  margin-bottom: 24px;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.label-row label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05px;
}
.field-index {
  color: var(--muted);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.field select {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  padding: 10px 30px 10px 12px;
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(var(--shadow), 0.02);
  transition: border-color 0.2s;
}
.field select:hover {
  border-color: var(--soft-accent);
}
.field p {
  font-size: 10px;
  line-height: 1.75;
  color: var(--muted);
  margin: 8px 0 0;
}
.quality-field {
  padding-top: 1px;
}
.quality-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}
.quality-readout output {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.quality-readout > span {
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1px;
  background: var(--highlight);
  color: var(--accent);
  padding: 5px 7px;
  border-radius: 4px;
  text-align: right;
}
input[type="range"] {
  display: block;
  width: 100%;
  height: 18px;
  margin: 13px 0 5px;
  accent-color: var(--accent);
  cursor: pointer;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
fieldset:disabled {
  opacity: 0.65;
}
input:disabled,
select:disabled {
  cursor: default;
}
.compress-button {
  width: 100%;
  justify-content: space-between;
  padding-inline: 16px;
  min-height: 45px;
}
.compress-button .icon {
  transition: transform 0.2s;
}
.compress-button:hover:not(:disabled) .icon {
  transform: translateX(3px);
}
.workspace[data-busy="true"] .compress-button .icon {
  animation: working 1.2s ease-in-out infinite;
}
.privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
}
.privacy > .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
  margin-top: 2px;
}
.privacy p {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.privacy strong {
  color: var(--ink);
  font-weight: 650;
  font-size: 10px;
}
.settings-note {
  font-size: 10px;
  line-height: 1.85;
  color: var(--muted);
  margin: 16px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.studio-footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  background: var(--tint);
}
.studio-footer > span:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
.studio-footer .icon {
  height: 12px;
  width: 12px;
  color: var(--accent);
}
.studio-footer > span:last-child {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 12px;
}
.results {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.result {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.thumbnail {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--tint);
  border-radius: 6px;
  overflow: hidden;
}
.thumbnail::before {
  content: attr(data-format);
  font-size: 8px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.thumbnail > img {
  position: absolute;
  inset: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  width: 100%;
  height: 100%;
  background: var(--tint);
}
.result-name {
  display: block;
  font-weight: 650;
  font-size: 12px;
  overflow-wrap: anywhere;
  line-height: 1.65;
  letter-spacing: -0.1px;
}
.result-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.result-saving {
  border-radius: 3px;
  background: var(--highlight);
  color: var(--accent);
  font-size: 8px;
  font-weight: 650;
  padding: 1px 5px;
}
.result-saving--larger {
  background: var(--error-tint);
  color: var(--error);
}
.result-dimensions {
  flex-basis: 100%;
  font-size: 8px;
}
.download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  border-radius: 6px;
  min-height: 36px;
  min-width: 44px;
  padding: 7px 9px;
  font-size: 9px;
  font-weight: 650;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.download:hover {
  background: var(--highlight);
  border-color: var(--soft-accent);
}
.download .icon {
  width: 13px;
  height: 13px;
}
.result.error .result-detail {
  color: var(--error);
}
.result[data-state="processing"] .thumbnail {
  animation: working 1.2s ease-in-out infinite;
}
.summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px;
  margin-top: 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--highlight);
  color: var(--accent);
}
.summary-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
}
.summary-label .icon {
  width: 14px;
  height: 14px;
}
.summary strong {
  font-size: 25px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.summary > span:last-child {
  font-size: 9px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}
.summary[data-larger="true"] {
  background: var(--error-tint);
  color: var(--error);
}
.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 41px 0 0;
  padding: 0 3px;
}
.details > div {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.detail-number {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--soft-accent);
  line-height: 1.1;
}
.details h2 {
  font-size: 12px;
  letter-spacing: -0.2px;
  margin: 1px 0 8px;
}
.details p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.closing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 50px 0 41px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
}
.closing-note > span {
  font-family: Manrope, sans-serif;
  font-size: 21px;
  color: var(--soft-accent);
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 23px;
  font-size: 9px;
  color: var(--muted);
}
.footer-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--ink);
}
footer > span > a {
  color: var(--ink);
  font-weight: 550;
}
footer .icon {
  width: 12px;
  height: 12px;
}
footer a:hover,
.author-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-note {
  font-size: 9px;
}
.noscript {
  color: var(--error);
}
@keyframes working {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .workspace-main,
  .settings {
    padding-left: 22px;
    padding-right: 22px;
  }
  .studio-header {
    padding-inline: 22px;
  }
  .details {
    gap: 18px;
  }
  .details > div {
    gap: 9px;
  }
  .details p br {
    display: none;
  }
}
@media (max-width: 740px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .workspace-main,
  .settings {
    padding-left: 17px;
    padding-right: 17px;
  }
  .dropzone {
    padding-inline: 10px;
  }
  .dropzone h2 {
    font-size: 18px;
  }
  .dropzone p {
    font-size: 10px;
  }
  .image-stack {
    transform: scale(0.9);
    margin-bottom: 16px;
  }
  .result {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
  }
  .thumbnail {
    width: 38px;
    height: 38px;
  }
  .download {
    grid-column: 2;
    justify-self: start;
    min-height: 38px;
  }
  .details {
    gap: 16px;
  }
  .details > div {
    display: block;
  }
  .detail-number {
    display: block;
    margin-bottom: 12px;
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    padding-block: 21px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    height: 29px;
    width: 29px;
    border-radius: 8px;
  }
  .header-actions {
    gap: 10px;
  }
  .author-link {
    font-size: 10px;
  }
  .author-link > span {
    display: none;
  }
  .header-divider {
    display: none;
  }
  .icon-button {
    width: 32px;
    height: 32px;
  }
  .intro {
    padding: 37px 0 32px;
  }
  .intro-eyebrow {
    font-size: 7px;
    padding: 7px 10px;
  }
  h1 {
    font-size: 47px;
    letter-spacing: -2.5px;
    margin-top: 21px;
    margin-bottom: 18px;
  }
  h1 em {
    letter-spacing: -2.6px;
    font-size: 1.08em;
  }
  .intro > p {
    font-size: 11px;
  }
  .intro-benefits {
    font-size: 8px;
    gap: 10px;
    margin-top: 17px;
  }
  .intro-benefits .icon {
    width: 12px;
    height: 12px;
  }
  .workspace {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .studio-header {
    padding: 17px;
    gap: 8px;
  }
  .studio-title {
    gap: 7px;
  }
  .studio-title h2 {
    font-size: 10px;
  }
  .studio-title > .icon {
    width: 15px;
    height: 15px;
  }
  .local-badge {
    font-size: 7px;
    gap: 5px;
  }
  .workspace-main {
    padding: 18px 17px 0;
  }
  .dropzone {
    padding: 27px 12px 24px;
  }
  .image-stack {
    transform: none;
    height: 140px;
    margin-bottom: 20px;
  }
  .dropzone h2 {
    font-size: 20px;
  }
  .dropzone p {
    font-size: 11px;
    max-width: 235px;
    margin-inline: auto;
  }
  .button {
    min-height: 46px;
    font-size: 12px;
  }
  .file-hint {
    font-size: 10px;
  }
  .format-list > span {
    font-size: 9px;
  }
  .results-header {
    margin-top: 16px;
  }
  .text-button {
    min-height: 44px;
    font-size: 11px;
  }
  .status {
    font-size: 11px;
  }
  .empty {
    font-size: 10px;
  }
  .settings {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 25px 22px 23px;
  }
  .settings-title {
    margin-bottom: 24px;
  }
  .settings-title .eyebrow {
    font-size: 8px;
  }
  .settings-title h2 {
    font-size: 28px;
  }
  .label-row label {
    font-size: 12px;
  }
  .field-index {
    font-size: 9px;
  }
  .field select {
    font-size: 16px;
    min-height: 48px;
    padding-right: 32px;
  }
  .select-wrap::after {
    top: 20px;
  }
  .field p {
    font-size: 10px;
  }
  .quality-readout output {
    font-size: 38px;
  }
  .quality-readout > span {
    font-size: 9px;
  }
  .range-labels {
    font-size: 10px;
  }
  input[type="range"] {
    height: 28px;
    margin-top: 8px;
  }
  .privacy p {
    font-size: 10px;
  }
  .privacy strong {
    font-size: 11px;
  }
  .settings-note {
    font-size: 10px;
  }
  .studio-footer {
    padding: 13px 17px;
    font-size: 8px;
  }
  .studio-footer > span:last-child {
    font-size: 11px;
  }
  .result {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .thumbnail {
    width: 40px;
    height: 40px;
  }
  .result-name {
    font-size: 11px;
  }
  .result-detail {
    font-size: 10px;
  }
  .download {
    grid-column: auto;
    min-height: 44px;
    padding: 8px;
  }
  .download > span {
    display: none;
  }
  .download .icon {
    height: 16px;
    width: 16px;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
    padding: 0 10px;
  }
  .details > div {
    display: flex;
    gap: 16px;
  }
  .detail-number {
    font-size: 21px;
    margin-top: 2px;
  }
  .details h2 {
    font-size: 13px;
  }
  .details p {
    font-size: 11px;
  }
  .closing-note {
    font-size: 13px;
    margin: 34px 0 28px;
    gap: 7px;
  }
  .closing-note > span {
    font-size: 18px;
  }
  footer {
    gap: 15px;
    flex-wrap: wrap;
    padding-block: 21px;
    font-size: 8px;
  }
  .footer-note {
    display: none;
  }
  .footer-brand {
    font-size: 15px;
  }
}
@media (max-width: 360px) {
  .author-link {
    font-size: 9px;
  }
  .author-link .icon {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  h1 {
    font-size: 41px;
  }
  .intro-benefits {
    gap: 8px;
    font-size: 7px;
  }
  .studio-title h2 {
    font-size: 9px;
  }
  .local-badge {
    font-size: 6px;
  }
  .studio-footer > span:last-child {
    display: none;
  }
  .field select {
    font-size: 14px;
  }
  .closing-note {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
