:root {
  --bg: #0f1115;
  --panel: #181b22;
  --panel-2: #1f232d;
  --text: #e8eaf0;
  --muted: #9aa3b2;
  --accent: #4f8cff;
  --accent-2: #6ea0ff;
  --ok: #35c56f;
  --err: #ff5d5d;
  --radius: 12px;
  font-size: 16px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fa; --panel: #ffffff; --panel-2: #eef1f6;
    --text: #1a1d24; --muted: #5b6470;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; background: var(--panel);
  border-bottom: 1px solid rgba(128,128,128,.15);
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 9px; background: var(--accent); color: #fff;
  font-size: 20px; font-weight: 700;
}
.by { color: var(--muted); font-size: .8rem; }
.cta-ext {
  color: var(--accent-2); text-decoration: none; font-weight: 600; font-size: .9rem;
}
main { width: min(880px, 94vw); margin: 0 auto; }
.hero { text-align: center; padding: 44px 0 10px; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; }
.tagline { color: var(--muted); max-width: 620px; margin: 0 auto; }
.converter { margin: 26px 0 10px; }
.dropzone {
  border: 2px dashed rgba(128,148,190,.45); border-radius: var(--radius);
  background: var(--panel); padding: 46px 20px; text-align: center;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.drag {
  border-color: var(--accent); background: var(--panel-2); outline: none;
}
.dz-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 6px; }
.dz-sub { color: var(--muted); margin: 0; }
.dz-browse { color: var(--accent-2); text-decoration: underline; }
.options {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 18px 0; padding: 14px 18px;
  background: var(--panel); border-radius: var(--radius);
}
.options label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.options select, .options input[type="range"] { accent-color: var(--accent); }
.options select {
  background: var(--panel-2); color: var(--text);
  border: 1px solid rgba(128,128,128,.25); border-radius: 8px; padding: 6px 10px;
}
button {
  border: 0; border-radius: 9px; padding: 10px 20px;
  font-size: .95rem; font-weight: 600; cursor: pointer;
}
button:disabled { opacity: .45; cursor: default; }
.primary { background: var(--accent); color: #fff; }
.primary:not(:disabled):hover { background: var(--accent-2); }
.secondary { background: var(--ok); color: #fff; }
.ghost { background: transparent; color: var(--muted); }
.progress {
  position: relative; height: 26px; border-radius: 999px; overflow: hidden;
  background: var(--panel-2); margin-bottom: 16px;
}
.progress-bar { position: absolute; inset: 0 100% 0 0; background: var(--accent); transition: right .2s; }
.progress span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list li {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border-radius: 10px; padding: 10px 14px;
}
.file-list .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .meta { color: var(--muted); font-size: .8rem; }
.file-list .status.ok { color: var(--ok); }
.file-list .status.err { color: var(--err); }
.file-list a.dl { color: var(--accent-2); font-size: .85rem; }
.local-note { text-align: center; color: var(--muted); font-size: .85rem; }
section { margin: 46px 0; }
h2 { font-size: 1.45rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--panel); border-radius: var(--radius); padding: 18px; }
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.how ol { color: var(--muted); padding-left: 22px; }
.how li { margin-bottom: 8px; }
.extension { text-align: center; background: var(--panel); border-radius: var(--radius); padding: 34px 22px; }
.extension p { color: var(--muted); max-width: 560px; margin: 10px auto; }
.cta-big {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: 10px; font-weight: 700; text-decoration: none;
  margin-top: 8px;
}
.cta-big:hover { background: var(--accent-2); }
.soon { font-size: .85rem; }
.faq details {
  background: var(--panel); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin-bottom: 4px; }
.waitlist { text-align: center; }
.waitlist p { color: var(--muted); max-width: 520px; margin: 8px auto 16px; }
.waitlist form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.waitlist input[type="email"] {
  padding: 11px 14px; border-radius: 9px; min-width: 260px;
  border: 1px solid rgba(128,128,128,.3); background: var(--panel); color: var(--text);
}
footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 22px; color: var(--muted); font-size: .8rem;
  border-top: 1px solid rgba(128,128,128,.12); margin-top: 30px;
}
footer a { color: var(--muted); margin-left: 14px; }
