*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
}

body {
  margin: 0;
}

button {
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
:root {
  --color-4: #582EFF;
  --paper: #eef2f2;
  --surface: #ffffff;
  --surface-2: #e4eae9;
  --border: #d3dcdb;
  --border-strong: #b7c4c3;
  --ink: #142226;
  --ink-soft: #4c6169;
  --ink-faint: #7c8e92;
  --teal: #2f6b73;
  --teal-deep: #1d474e;
  --teal-tint: #dbe8e7;
  --amber: #c97a2e;
  --amber-deep: #a5611e;
  --amber-tint: #f3e2cd;
  --good: #2f7d54;
  --good-tint: #dcefe2;
  --bad: #b9503f;
  --bad-tint: #f5e0dc;
  --shadow: 0 1px 2px rgba(20, 34, 38, .04), 0 10px 24px -12px rgba(20, 34, 38, .18);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --paper: #101c1e;
    --surface: #17282b;
    --surface-2: #1d3134;
    --border: #2b4448;
    --border-strong: #3a5a5e;
    --ink: #eef4f3;
    --ink-soft: #a9bdc0;
    --ink-faint: #74898c;
    --teal: #74b6ae;
    --teal-deep: #9ccdc6;
    --teal-tint: #1e3736;
    --amber: #e2a663;
    --amber-deep: #edbd85;
    --amber-tint: #3a2f1e;
    --good: #6fbd93;
    --good-tint: #1e332a;
    --bad: #e09082;
    --bad-tint: #37241f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 24px -12px rgba(0, 0, 0, .5);
  }
}
:root[data-theme=dark] {
  --paper: #101c1e;
  --surface: #17282b;
  --surface-2: #1d3134;
  --border: #2b4448;
  --border-strong: #3a5a5e;
  --ink: #eef4f3;
  --ink-soft: #a9bdc0;
  --ink-faint: #74898c;
  --teal: #74b6ae;
  --teal-deep: #9ccdc6;
  --teal-tint: #1e3736;
  --amber: #e2a663;
  --amber-deep: #edbd85;
  --amber-tint: #3a2f1e;
  --good: #6fbd93;
  --good-tint: #1e332a;
  --bad: #e09082;
  --bad-tint: #37241f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 24px -12px rgba(0, 0, 0, .5);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Archivo", system-ui, sans-serif;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-variant-numeric: tabular-nums;
}

a {
  color: var(--teal);
}

body {
  padding-top: 50px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.topbar .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  gap: 16px;
  flex: 0 0 fit-content;
  align-items: center;
}

.logo {
  width: 80px;
}

.logo-text {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo-text .dot {
  color: var(--color-4);
}

.langs {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}
.langs a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-faint);
  padding: 5px 10px;
  border-radius: 6px;
}
.langs a.active {
  background: var(--teal-tint);
  color: var(--teal-deep);
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 10px;
}
footer a {
  color: var(--ink-faint);
  text-decoration: none;
}
footer a:hover {
  color: var(--teal);
}

.hero {
  padding: 52px 0 36px;
}
.hero h1 {
  font-size: 28px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-tint);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow .sep {
  opacity: 0.5;
}

.stat-strip {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px 8px 8px;
  border-radius: 100px;
  box-shadow: var(--shadow);
}
.stat-strip .badge-num {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--surface-2);
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 13px;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: #241505;
}
.btn-primary:hover {
  background: var(--amber-deep);
}
.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: none;
  color: var(--ink-soft);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.btn-teal {
  background: var(--teal);
  color: #eef7f6;
}
.btn-teal:hover {
  background: var(--teal-deep);
}

.workbench {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
}

.workbench-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.workbench-head h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.step-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.dropzone {
  display: block;
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.18s ease;
  background: var(--paper);
}
.dropzone:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}
.dropzone.dragover {
  border-color: var(--teal);
  border-style: solid;
  background: var(--teal-tint);
}
.dropzone input {
  display: none;
}
.dropzone .icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  color: var(--teal);
}
.dropzone .lead {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.dropzone .sub {
  display: block;
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 4px;
}

.file-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.file-list:empty {
  margin: 0;
}
.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 13px;
}
.file-list li .thumb {
  --size: 60px;
  width: var(--size);
  height: var(--size);
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}
.file-list li .fname {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.file-list li .fsize {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 12px;
  color: var(--ink-faint);
}
.file-list li .rm {
  border: none;
  background: none;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 2px 4px;
}
.file-list li .rm:hover {
  color: var(--bad);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.cta-hint {
  font-size: 12px;
  color: var(--ink-faint);
}

.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 0;
}
@media (max-width: 540px) {
  .options {
    grid-template-columns: 1fr;
  }
}

.opt {
  position: relative;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 16px 16px 44px;
  cursor: pointer;
  transition: 0.15s ease;
  background: var(--paper);
}
.opt:hover {
  border-color: var(--border-strong);
}
.opt.selected {
  border-color: var(--teal);
  background: var(--teal-tint);
}
.opt.selected .row {
  color: var(--ink);
}
.opt.selected .dot {
  border-color: var(--teal);
}
.opt.selected .dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--teal);
}
.opt.selected input[type=text] {
  border-color: var(--teal);
}
.opt .dot {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
}
.opt .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 6px;
}
.opt .row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.opt input[type=text] {
  width: 64px;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 6px 4px;
}
.opt input[type=text]:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0 44px;
  padding: 0;
}
@media (max-width: 640px) {
  .how {
    grid-template-columns: 1fr;
  }
}
.how li {
  list-style: none;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.how .n {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}
.how h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}
.how p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.results {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 36px;
}

.results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.results-head h2 {
  font-size: 19px;
  font-weight: 800;
}
.results-head .sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.results-head .sub .n {
  color: var(--good);
  font-weight: 600;
}

.results-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  display: grid;
  grid-template-columns: 36px 1.4fr 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
}
@media (max-width: 640px) {
  .row {
    grid-template-columns: 32px 1fr;
    grid-template-areas: "thumb name" "thumb dims" "thumb gain";
    row-gap: 4px;
  }
  .row .dims {
    grid-area: dims;
  }
  .row .gain-pill {
    grid-area: gain;
    justify-self: start;
  }
  .row .dl {
    display: none;
  }
}
.row .thumb {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--surface-2);
}
.row .name {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row .dims {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.row .dims .arrow {
  color: var(--ink-faint);
  margin: 0 4px;
}
.row .sizes {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
  text-decoration: line-through;
  text-decoration-color: var(--border-strong);
}
.row .sizes b {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  text-decoration: none;
  color: var(--ink);
  margin-left: 5px;
}
.row .dl {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.row .dl:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.row .dl svg {
  width: 15px;
  height: 15px;
}

.gain-pill {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
  background: var(--good-tint);
  color: var(--good);
}
.gain-pill.negative {
  background: var(--bad-tint);
  color: var(--bad);
}

.seo {
  max-width: 640px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-faint);
  margin-bottom: 40px;
}
.seo h1 {
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.seo h2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 20px 0 8px;
}
.seo p,
.seo ul {
  margin: 0 0 10px;
}

.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 20px;
}
.notice h2 {
  font-size: 18px;
  margin-bottom: 10px;
}
.notice p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.notice ul {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  padding-left: 18px;
}/*# sourceMappingURL=main.css.map */