/* convert-box styles
   Fonts are self-hosted (SIL Open Font License, see licenses.html). */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-display: swap; src: url(fonts/bricolage-grotesque-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-800.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f4f1ea;
  --card: #fffdf8;
  --sunk: #ebe6da;
  --ink: #1d1b16;
  --muted: #5a554a;
  --line: #d6cfbf;
  --accent: #c2410c;
  --accent-hover: #a5370a;
  --on-accent: #ffffff;
  --accent-tint: #fbe4d5;
  --ok: #2c6634;
  --ok-tint: #dfeedb;
  --err: #b42318;
  --err-tint: #fde4e0;
  --focus: #1a5fd0;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #181713; --card: #22201b; --sunk: #2c2a24; --ink: #f2eee5; --muted: #b8b2a4; --line: #403d35;
    --accent: #f08a4b; --accent-hover: #f5a171; --on-accent: #1d1b16; --accent-tint: #3d2618;
    --ok: #8fd19a; --ok-tint: #1f3322; --err: #ff9b8f; --err-tint: #3d1d19; --focus: #7fb0ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #181713; --card: #22201b; --sunk: #2c2a24; --ink: #f2eee5; --muted: #b8b2a4; --line: #403d35;
  --accent: #f08a4b; --accent-hover: #f5a171; --on-accent: #1d1b16; --accent-tint: #3d2618;
  --ok: #8fd19a; --ok-tint: #1f3322; --err: #ff9b8f; --err-tint: #3d1d19; --focus: #7fb0ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; letter-spacing: -0.02em; }
a { color: inherit; text-underline-offset: 3px; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; z-index: 10; font-weight: 700; }
.skip:focus { top: 12px; }
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* header */
.topbar { max-width: 1040px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--head); letter-spacing: -0.03em; }
.brand b { color: var(--accent); }
.logo { width: 34px; height: 34px; stroke-width: 2.2; }
.logo-arrow { stroke: var(--accent); }
.topnav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 16px; }
.topnav a { text-decoration: none; }
.topnav a:hover { text-decoration: underline; }
.theme { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--card); border-radius: 50%; cursor: pointer; }
.theme svg { width: 20px; height: 20px; }

/* intro */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 28px; }
.intro h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 800; margin: 0 0 18px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 20px; max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-weight: 700; font-size: 15px; }

.drop {
  border: 2.5px dashed var(--ink); border-radius: 10px; background: var(--card);
  padding: 36px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  transition: background .15s, border-color .15s;
}
.drop.drag { background: var(--accent-tint); border-color: var(--accent); border-style: solid; }
.drop-icon { width: 54px; height: 54px; color: var(--accent); stroke-width: 2.5; }
.drop-hint { margin: 0; color: var(--muted); font-size: 16px; max-width: 22em; }

/* buttons */
.btn {
  border: 2px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 8px;
  padding: 9px 16px; font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap; min-height: 44px;
}
.btn:hover:not(:disabled) { background: var(--sunk); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary, #chooseBtn { background: var(--accent); border-color: var(--ink); color: var(--on-accent); box-shadow: 3px 3px 0 var(--ink); }
.btn-primary:hover:not(:disabled), #chooseBtn:hover { background: var(--accent-hover); }
.btn-primary:active:not(:disabled), #chooseBtn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-big { font-size: 19px; padding: 13px 28px; min-height: 54px; }
.btn-ok { background: var(--ok); border-color: var(--ok); color: var(--card); }
.btn-ok:hover:not(:disabled) { background: var(--ok); filter: brightness(1.1); }

/* steps */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 2px solid var(--ink); }
.steps .n { font: 800 30px/1 var(--head); color: var(--accent); min-width: 26px; }
.steps strong { display: block; font-size: 18px; }
.steps span:not(.n) { color: var(--muted); font-size: 15.5px; }

/* queue */
.queue { margin-top: 32px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; padding: 22px; scroll-margin-top: 16px; }
.queue-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.queue-head h2 { margin: 0; font-size: 26px; }
.queue-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; background: var(--sunk); border-radius: 8px; margin-bottom: 14px; }
.bulk-label { font-weight: 700; }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font: 500 14.5px/1 var(--mono); border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 6px; padding: 9px 11px; cursor: pointer; min-height: 38px;
}
.pill:hover:not(:disabled) { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill:disabled { opacity: .5; cursor: not-allowed; }

.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tools:empty { display: none; }
.tool { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--accent); color: var(--ink); background: var(--accent-tint); border-radius: 8px; padding: 9px 14px; font-weight: 700; font-size: 15.5px; cursor: pointer; min-height: 44px; }
.tool svg { width: 18px; height: 18px; color: var(--accent); }
.tool:disabled { opacity: .5; cursor: not-allowed; }

.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.file { border: 1.5px solid var(--line); border-radius: 8px; padding: 14px; background: var(--paper); }
.file.is-done { border-color: var(--ok); }
.file.is-error { border-color: var(--err); }
.file-top { display: flex; align-items: center; gap: 12px; }
.tag { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 6px; font: 500 13px/1 var(--mono); text-transform: uppercase; color: #fff; }
.fmeta { flex: 1; min-width: 0; }
.fname { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fsize { color: var(--muted); font-size: 15px; }
.remove { flex: none; border: none; background: none; color: var(--muted); cursor: pointer; padding: 8px 10px; border-radius: 6px; font-weight: 700; font-size: 15px; min-height: 44px; }
.remove:hover { color: var(--err); background: var(--err-tint); }
.file-to { margin-top: 12px; display: flex; gap: 10px; align-items: baseline; }
.file-to > span { font-weight: 700; flex: none; padding-top: 8px; font-size: 15.5px; }
.file-bottom { margin-top: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-hint { color: var(--muted); font-size: 15px; flex: 1; min-width: 12em; }
.status { font-weight: 700; font-size: 15.5px; flex: 1; min-width: 12em; }
.status.err { color: var(--err); }
.status.ok { color: var(--ok); }
.progress { flex-basis: 100%; height: 8px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.progress.indet > i { width: 30%; animation: slide 1.2s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.outputs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.outputs:empty { display: none; }
.dl {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 44px;
  padding: 8px 14px; border-radius: 8px; background: var(--ok); color: var(--card); text-decoration: none; font-weight: 700; font-size: 15.5px;
}
.dl:hover { filter: brightness(1.1); }
.dl svg { width: 18px; height: 18px; flex: none; }
.dl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl small { font-weight: 400; opacity: .85; }
.more { color: var(--muted); align-self: center; }

.queue-foot { margin-top: 18px; padding-top: 16px; border-top: 1.5px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; }
.foot-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.options { flex: 1 1 320px; }
.options summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px 22px; padding: 8px 0 4px; }
.opt-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; font-weight: 700; }
.opt-grid output { font-family: var(--mono); color: var(--accent); }
.opt-grid small { font-weight: 400; color: var(--muted); font-size: 14px; }
.opt-grid input[type=number], .opt-grid select { border: 1.5px solid var(--line); background: var(--card); border-radius: 6px; padding: 9px 10px; min-height: 44px; }
.opt-grid input[type=range] { accent-color: var(--accent); min-height: 30px; }

/* popular */
.popular { padding: 56px 0 8px; }
.popular h2, .formats h2, .faq h2 { font-size: 32px; margin: 0 0 18px; }
.pop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pop {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 2px solid var(--ink); background: var(--card); border-radius: 8px; padding: 14px 16px; cursor: pointer; text-align: left;
  font: 500 17px/1.2 var(--mono);
}
.pop:hover { background: var(--accent-tint); }
.pop .arr { color: var(--accent); font-family: var(--body); font-weight: 700; }
.pop small { display: block; font: 400 14px/1.3 var(--body); color: var(--muted); margin-top: 4px; }

/* catalog */
.formats { padding: 56px 0 8px; }
.formats-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.formats-head h2 { margin: 0; }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 0 12px; width: min(340px, 100%); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { border: none; background: none; outline: none; padding: 11px 0; width: 100%; font-size: 17px; }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tab { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 15px; cursor: pointer; min-height: 40px; }
.tab:hover { border-color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab .n { font-weight: 400; opacity: .7; margin-left: 5px; }
.cat-group { margin-bottom: 26px; }
.cat-group h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 0 0 10px; }
.cat-group h3 .sw { width: 14px; height: 14px; border-radius: 3px; }
.cat-group h3 .n { font: 400 15px var(--body); color: var(--muted); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 6px; padding: 10px 8px; font: 500 14.5px/1.2 var(--mono); cursor: pointer; min-height: 44px; }
.chip:hover { border-color: var(--ink); background: var(--accent-tint); }
.chip .arr { color: var(--accent); font-family: var(--body); font-weight: 700; padding: 0 2px; }
.empty { color: var(--muted); padding: 20px 0; }

/* faq */
.faq { padding: 56px 0 24px; max-width: 760px; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-of-type { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 0; list-style-position: outside; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* footer */
.footer { margin-top: 48px; border-top: 2px solid var(--ink); }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 28px 16px 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 8px 0 0; color: var(--muted); }
.brand-small { font-size: 19px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; align-content: flex-start; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.fine { max-width: 1040px; margin: 0 auto; padding: 8px 16px 40px; color: var(--muted); font-size: 14px; }

/* modal + toast */
.modal { border: 2px solid var(--ink); border-radius: 10px; background: var(--card); color: var(--ink); padding: 24px; max-width: min(480px, calc(100% - 32px)); box-shadow: 6px 6px 0 var(--ink); }
.modal::backdrop { background: rgba(20, 18, 14, .55); }
.modal h2 { margin: 0 0 12px; font-size: 24px; }
.modal p { margin: 0 0 12px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 8px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* text pages (privacy, terms…) */
.doc-page { max-width: 760px; padding-top: 24px; padding-bottom: 24px; }
.doc-page h1 { font-size: clamp(34px, 5vw, 46px); margin: 10px 0 8px; }
.doc-page .updated { color: var(--muted); margin: 0 0 28px; }
.doc-page h2 { font-size: 24px; margin: 36px 0 10px; }
.doc-page h3 { font-size: 19px; margin: 24px 0 8px; }
.doc-page p, .doc-page li { max-width: 40em; }
.doc-page li { margin-bottom: 6px; }
.doc-page .note { background: var(--sunk); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 0 6px 6px 0; }
.fill { background: #fff1a8; color: #1d1b16; padding: 0 4px; border-radius: 3px; font-weight: 700; }
.lic-table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 10px 0 20px; }
.lic-table th, .lic-table td { text-align: left; padding: 9px 8px; border-bottom: 1.5px solid var(--line); vertical-align: top; }
.lic-table th { font-family: var(--head); }
.lic-table td:first-child { font-weight: 700; }
.back { font-weight: 700; }

/* tool pages + directory */
.crumbs { padding-top: 12px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--ink); font-weight: 700; }
a.pop { color: inherit; text-decoration: none; }
.pop .arr { font-size: 20px; }
.dir-title { margin-top: 40px !important; }
.dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px 28px; }
.dir-group h3 { font-size: 18px; margin: 0 0 10px; }
.dir-links { display: flex; flex-wrap: wrap; gap: 6px; }
.dir-link { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--card); text-decoration: none; font-weight: 700; font-size: 15px; }
.dir-link:hover { border-color: var(--ink); background: var(--accent-tint); }
a.chip { display: flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; }
a.chip.has-page { border-color: var(--ink); }
.about { padding: 48px 0 0; max-width: 760px; }
.about h2, .related h2 { font-size: 28px; margin: 0 0 14px; }
.about p { margin: 0 0 12px; }
.related { padding: 40px 0 8px; }
.all-link { margin-top: 18px; font-weight: 700; }
body.tool-mode .file-to, body.tool-mode .file-bottom > .btn { display: none; }

/* ads */
.ad-slot { margin: 36px auto 0; max-width: 970px; min-height: 100px; }
.ad-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }

/* footer columns */
.footer-about { flex: 1 1 240px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-weight: 700; flex: 0 1 260px; }
.footer-col h2 { font: 800 15px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }

/* cookie banner: never blocks the page, reject is as easy as accept */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 620px; margin-left: auto;
  background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 5px 5px 0 var(--ink); padding: 18px 20px;
}
.consent h2 { margin: 0 0 6px; font-size: 20px; }
.consent p { margin: 0 0 12px; font-size: 15.5px; }
.consent-opts { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.consent-opts label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent-opts input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent-actions .btn { flex: 1 1 auto; }

@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; gap: 26px; padding-top: 20px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .topnav a:not(:last-of-type) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .queue { padding: 14px; }
  .file-to { flex-direction: column; gap: 6px; }
  .file-to > span { padding-top: 0; }
  .foot-actions, .foot-actions .btn { width: 100%; }
  .chips { grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); }
  .lic-table th:nth-child(3), .lic-table td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
