:root {
  --paper: #f6f5f1;
  --white: #fff;
  --ink: #272a2f;
  --muted: #63665f;
  --subtle: #72746e;
  --red: #d93636;
  --red-text: #c72f2f;
  --red-hover: #be2929;
  --red-tint: #fff0ed;
  --line: #dedfd8;
  --input-line: #888e82;
  --green: #236044;
  --green-tint: #eef6ef;
  --amber: #79520a;
  --amber-tint: #fcf4df;
  --focus: #175dba;
  --radius: 10px;
  --container: 1152px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { border: 0; }
button:disabled, select:disabled { cursor: not-allowed; }
button:disabled { opacity: .54; }
button, a { touch-action: manipulation; }
button { background: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 720; line-height: 1.15; }
h1 { letter-spacing: -.06em; }
h2 { letter-spacing: -.045em; }
h3 { letter-spacing: -.025em; }
p { margin-bottom: 1.2em; }
svg { width: 24px; height: 24px; flex: none; }
img, svg { vertical-align: middle; max-width: 100%; }
img { display: block; }
[hidden] { display: none !important; }
::selection { background: #ffd4cb; color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.table-scroll { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line, #dedbd3); border-radius: 12px; background: #fff; }
.table-scroll table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .94rem; }
.table-scroll th, .table-scroll td { padding: 13px 15px; border-bottom: 1px solid var(--line, #dedbd3); text-align: left; vertical-align: top; }
.table-scroll tr:last-child th, .table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll thead th { background: #f3f1eb; font-weight: 720; }
.table-scroll tbody th { width: 18%; font-weight: 700; }
.technical-summary { margin-top: 34px; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--ink); color: white; border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 650; line-height: 1.35; text-align: center; transition: background-color .16s, border-color .16s, color .16s; }
.button svg { width: 19px; height: 19px; }
.button-primary { background: var(--red); color: white; }
.button-primary:hover:not(:disabled) { background: var(--red-hover); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover:not(:disabled) { background: #43464a; }
.button-quiet { border-color: var(--line); background: white; }
.button-quiet:hover:not(:disabled) { background: var(--paper); border-color: #acafa5; }
.button-small { min-height: 44px; padding: 10px 16px; font-size: 13px; }
.icon-button { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid transparent; border-radius: 7px; }
.icon-button:hover:not(:disabled) { background: var(--paper); border-color: var(--line); }
.icon-button svg { width: 20px; height: 20px; }
.text-button, .text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 40px; padding: 6px 0; font-size: 14px; font-weight: 650; text-decoration: none; }
.text-button:hover, .text-link:hover { color: var(--red-text); }
.text-button svg, .text-link svg { width: 18px; height: 18px; }
.text-button.subtle { color: var(--muted); font-weight: 500; }
.accent { color: var(--red-text); }
.eyebrow { display: block; margin-bottom: 14px; color: var(--red-text); font-size: 11px; line-height: 1.5; letter-spacing: .13em; font-weight: 750; text-transform: uppercase; }
.section { padding-block: 88px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(30px, 3.3vw, 42px); }
.section-heading p { margin-bottom: 0; color: var(--muted); }
.section-heading > .text-link { margin-bottom: 2px; flex: none; }
.section-heading-copy { font-size: 14px; line-height: 1.65; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; min-height: 44px; color: var(--ink); font-size: 24px; font-weight: 760; line-height: 1; letter-spacing: -.055em; }
.brand-mark { width: 34px; height: 34px; flex: none; object-fit: contain; }
.brand-wordmark { display: block; width: 224px; max-width: 100%; line-height: 0; }
.brand-wordmark img { width: 100%; height: auto; }
.brand-accent { color: var(--red-text); }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 590; }
.desktop-nav > a { display: flex; align-items: center; min-height: 44px; }
.desktop-nav > a:hover, .nav-trigger:hover { color: var(--red-text); }
.nav-dropdown { position: relative; }
.nav-trigger { display: flex; gap: 7px; align-items: center; min-height: 44px; padding: 0; font-weight: inherit; font-size: inherit; }
.nav-trigger svg { width: 13px; height: 13px; }
.nav-menu { position: absolute; top: calc(100% + 9px); left: -24px; width: 320px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 44px #272a2f14; }
.nav-menu > a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 7px; }
.nav-menu > a:hover { background: var(--paper); }
.nav-menu > a > svg { color: var(--red-text); width: 22px; height: 22px; }
.nav-menu strong, .nav-menu small { display: block; }
.nav-menu strong { margin-bottom: 2px; font-size: 14px; }
.nav-menu small { color: var(--muted); font-size: 12px; font-weight: 400; }
.nav-menu .nav-menu-all { justify-content: space-between; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); border-radius: 0; font-size: 13px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-free { color: var(--muted); font-size: 12px; }
.header-cta { white-space: nowrap; }
.mobile-menu-button, .mobile-navigation { display: none; }
.hero-shell, .tool-hero-shell { background: var(--paper); }
.home-hero { padding-top: 55px; padding-bottom: 38px; text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.kicker-line { width: 22px; height: 2px; background: var(--red); }
.home-hero h1 { margin: 18px auto 20px; font-size: clamp(48px, 6.1vw, 78px); line-height: .99; font-weight: 760; }
.home-hero h1 > span { color: var(--red-text); }
.hero-description { margin-bottom: 16px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-assurances { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 32px; color: #50544d; font-size: 12px; font-weight: 550; }
.hero-assurances > span { display: flex; align-items: center; gap: 5px; }
.hero-assurances svg { width: 14px; height: 14px; color: var(--red-text); }
.converter { position: relative; width: min(984px, 100%); margin-inline: auto; border: 1px solid #d5d7ce; border-radius: 12px; background: white; text-align: left; box-shadow: 0 5px 0 #e9e8e0; scroll-margin-top: 24px; }
.converter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 59px; padding: 16px 25px; border-bottom: 1px solid var(--line); }
.converter-toolbar-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mini-mark { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; background: var(--red); border-radius: 4px; color: white; font-size: 20px; font-weight: 600; line-height: 1; }
.converter-toolbar h2 { margin: 0; font-size: 15px; letter-spacing: -.025em; }
.free-label { flex: none; color: var(--green); font-size: 10px; line-height: 1.4; font-weight: 740; text-transform: uppercase; letter-spacing: .09em; }
.processing-choice { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 25px 0; }
.mode-tabs { display: inline-flex; flex: none; gap: 3px; padding: 3px; background: #f0f1ed; border-radius: 7px; }
.mode-tab { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; min-height: 40px; border-radius: 5px; font-size: 11px; font-weight: 620; color: var(--muted); }
.mode-tab svg { width: 16px; height: 16px; }
.mode-tab.is-active { background: white; color: var(--ink); box-shadow: 0 1px 2px #272a2f14; }
.mode-tab:not(.is-active):hover:not(:disabled) { color: var(--red-text); }
.processing-hint { max-width: 330px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.converter-loading { position: absolute; z-index: 2; left: 50%; bottom: 61px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: 95%; padding: 6px 10px; border-radius: 5px; background: #fff; color: var(--muted); font-size: 11px; }
.converter-notice { margin: 16px 25px 0; padding: 12px 14px; border: 1px solid #e8bdac; border-radius: 7px; background: #fff6ef; color: #704125; font-size: 13px; line-height: 1.5; }
.converter-notice .text-button { display: inline; margin-left: 8px; color: inherit; text-decoration: underline; }
.dropzone { position: relative; margin: 16px 25px 21px; padding: 25px 20px 22px; border: 1.5px dashed #c4c8ba; border-radius: 8px; background: #fcfcf9; text-align: center; transition: background .16s, border-color .16s; }
.dropzone.is-dragging { border-color: var(--red-text); background: var(--red-tint); }
.drop-art { height: 62px; margin-bottom: 13px; }
.drop-art svg { width: 80px; height: 68px; }
.drop-back { fill: #f3ede4; stroke: #bdb9ad; stroke-width: 1.4; }
.drop-front { fill: white; stroke: #333a36; stroke-width: 1.5; }
.drop-fold { fill: #fbdbd2; stroke: #333a36; stroke-width: 1.5; stroke-linejoin: round; }
.drop-arrow { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.drop-spark { fill: none; stroke: #a5a796; stroke-width: 1.5; stroke-linecap: round; }
.dropzone h3 { margin-bottom: 8px; font-size: 23px; line-height: 1.3; letter-spacing: -.04em; }
.drop-subtitle { margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.button-upload { min-width: 185px; min-height: 50px; font-size: 14px; }
.upload-limits { max-width: 600px; margin: 12px auto 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.converter-footnote { display: flex; justify-content: space-between; gap: 12px; padding: 13px 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.4; }
.converter-footnote > span, .converter-footnote > a { display: flex; align-items: center; gap: 6px; }
.converter-footnote svg { width: 14px; height: 14px; }
.converter-footnote a:hover { color: var(--red-text); }
.format-ribbon { border-block: 1px solid var(--line); }
.format-ribbon > .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.format-ribbon.category-count-1 > .container { grid-template-columns: minmax(0, 1fr); }
.format-ribbon.category-count-2 > .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.format-ribbon a { display: flex; flex-direction: column; gap: 3px; padding: 19px 24px; border-right: 1px solid var(--line); font-size: 12px; font-weight: 680; }
.format-ribbon a:first-child { border-left: 1px solid var(--line); }
.format-ribbon a:hover { background: white; color: var(--red-text); }
.format-ribbon a > span { color: var(--muted); font-size: 10px; font-weight: 400; white-space: nowrap; }
.queue-area { padding: 18px 25px 0; }
.queue-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.queue-heading h3, .directory-toolbar h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; }
.queue-heading > div { display: flex; gap: 15px; align-items: center; }
.queue-heading .text-button { font-size: 12px; }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; min-height: 23px; padding: 2px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.3; }
.file-queue { display: flex; flex-direction: column; gap: 10px; }
.file-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 178px 102px 38px; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.file-icon { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 45px; background: var(--paper); border: 1px solid #d7d9d0; border-radius: 5px; color: #575c53; font-size: 10px; font-weight: 730; letter-spacing: -.03em; overflow: hidden; }
.file-info { min-width: 0; }
.file-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; line-height: 1.5; }
.file-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.file-state { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.file-state > svg { width: 14px; height: 14px; }
.file-row.is-success .file-state { color: var(--green); }
.file-row.is-error .file-state { color: #ad2525; }
.file-row.is-success { border-color: #b9d5bb; background: #fdfffd; }
.file-row.is-error { border-color: #e9b6ac; background: #fffaf8; }
.file-options { display: flex; align-items: center; gap: 5px; min-width: 0; }
.file-select-label { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; color: var(--muted); font-size: 9px; line-height: 1.3; }
.file-select-label select { width: 100%; min-height: 36px; padding: 6px 24px 6px 9px; border: 1px solid var(--input-line); border-radius: 5px; background: white; color: var(--ink); font-size: 12px; }
.file-options .icon-button { width: 36px; height: 36px; margin-top: 13px; padding: 8px; }
.file-options .icon-button svg { width: 16px; height: 16px; }
.file-action { display: flex; justify-content: flex-end; }
.file-action .button { min-width: 96px; min-height: 40px; padding: 9px 10px; font-size: 11px; }
.file-action .button svg { width: 14px; height: 14px; }
.file-action:has(.file-move) { flex-direction: column; align-items: flex-end; gap: 0; }
.file-action .file-move { min-height: 34px; padding: 6px 0; font-size: 10px; }
.file-remove { width: 36px; height: 40px; color: var(--muted); }
.file-row progress { display: block; width: 100%; height: 4px; margin-top: 7px; border: 0; border-radius: 2px; background: var(--paper); accent-color: var(--red-text); }
.file-row progress::-webkit-progress-bar { background: #eceee7; border-radius: 2px; }
.file-row progress::-webkit-progress-value { background: var(--red); border-radius: 2px; }
.file-row progress::-moz-progress-bar { background: var(--red); border-radius: 2px; }
.file-warning { grid-column: 2 / -2; margin: -3px 0 0; color: #775326; font-size: 11px; line-height: 1.55; }
.queue-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 21px; padding-block: 20px; border-top: 1px solid var(--line); }
.queue-summary strong { display: block; font-size: 13px; line-height: 1.4; }
.queue-summary p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.queue-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.queue-actions .button { min-height: 44px; font-size: 12px; padding: 11px 15px; }
.spinner { width: 13px; height: 13px; flex: none; border: 2px solid #daddd4; border-top-color: var(--red-text); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tool-card { position: relative; display: flex; flex-direction: column; min-height: 181px; padding: 24px 21px 22px; border: 1px solid var(--line); border-radius: 9px; background: white; transition: border-color .16s, background .16s, box-shadow .16s; }
.tool-card:hover { border-color: #e39183; background: #fffcfa; box-shadow: 0 3px 0 #f0e3da; }
.tool-card-formats { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin-bottom: 21px; color: #5c6359; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.tool-card-formats > span { max-width: 100px; padding: 3px 6px; border-radius: 4px; background: #f0f2ea; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.tool-card-formats > span:last-child { background: var(--red-tint); color: #a62b24; }
.tool-card-formats svg { width: 15px; height: 15px; color: #929a8a; }
.tool-card-title { margin-bottom: 7px; padding-right: 18px; font-size: 15px; line-height: 1.4; font-weight: 680; letter-spacing: -.025em; }
.tool-card-description { color: var(--muted); font-size: 11px; line-height: 1.65; }
.tool-card-arrow { position: absolute; top: 22px; right: 18px; width: 15px; height: 15px; color: #777f70; }
.tool-card:hover .tool-card-arrow { color: var(--red-text); }
.category-section { border-block: 1px solid var(--line); background: var(--paper); }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.category-grid.category-count-1 { grid-template-columns: minmax(0, 1fr); }
.category-grid.category-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 18px 18px; border: 1px solid #dce0d4; border-radius: 9px; background: #fff; }
.category-card:hover { border-color: #bf9d92; }
.category-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 8px; background: #f4ece5; color: #aa3f28; }
.category-card:nth-child(2) .category-icon { background: #f9e8e5; color: #ac332d; }
.category-card:nth-child(3) .category-icon { background: #eaf0e5; color: #4a5c3e; }
.category-card:nth-child(4) .category-icon { background: #fff1d8; color: #805a1f; }
.category-card:nth-child(5) .category-icon { background: #e8eff0; color: #436a70; }
.category-card h3 { margin-bottom: 10px; font-size: 16px; }
.category-card p { flex-grow: 1; margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.category-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; font-size: 11px; font-weight: 650; }
.category-link svg { width: 16px; height: 16px; }
.why-section { display: grid; grid-template-columns: 1fr 1.7fr; gap: 75px; }
.why-intro h2 { margin-bottom: 20px; font-size: clamp(36px, 4vw, 51px); }
.why-intro p { max-width: 280px; color: var(--muted); font-size: 15px; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 40px; }
.benefits-grid article > svg { width: 26px; height: 26px; margin-bottom: 17px; color: var(--red-text); }
.benefits-grid h3 { margin-bottom: 10px; font-size: 18px; }
.benefits-grid p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.how-section { padding-block: 64px; background: #2b2d30; color: white; }
.how-section .eyebrow { color: #ffa292; }
.how-section .section-heading { margin-bottom: 43px; }
.how-section h2 { font-size: 36px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; }
.steps-grid article { position: relative; }
.step-symbol { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; margin-bottom: 21px; border: 1px solid #595b5d; border-radius: 8px; background: #36393b; color: #f6b2a6; }
.step-symbol svg { width: 22px; height: 22px; }
.steps-grid h3 { margin-bottom: 12px; font-size: 19px; }
.steps-grid p { max-width: 320px; margin-bottom: 0; color: #c4c8c3; font-size: 13px; line-height: 1.75; }
.faq-section { display: grid; grid-template-columns: 1fr 1.7fr; gap: 75px; }
.faq-intro h2 { margin-bottom: 21px; font-size: 38px; }
.faq-intro p { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; list-style: none; font-size: 14px; font-weight: 650; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { flex: none; color: var(--muted); font-size: 22px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary > span { transform: rotate(45deg); color: var(--red-text); }
.faq-list details[open] summary { color: var(--red-text); }
.faq-list p { margin: 0; padding: 0 30px 23px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.faq-list p a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { padding-top: 51px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.55fr 1fr .9fr 1.1fr; gap: 45px; padding-bottom: 39px; }
.footer-brand > p { margin: 20px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.footer-note svg { width: 13px; height: 13px; color: var(--red-text); }
.footer-group h2 { margin: 3px 0 13px; font-size: 12px; letter-spacing: -.01em; }
.footer-group > a, .footer-group > button { display: flex; width: fit-content; min-height: 32px; padding: 6px 0; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.45; }
.footer-group > a:hover, .footer-group > button:hover { color: var(--red-text); }
.footer-group > p { margin-bottom: 8px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 19px; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 10px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 38px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.breadcrumbs a:hover { color: var(--red-text); }
.breadcrumbs > [aria-current] { color: var(--ink); }
.tool-hero { padding-top: 28px; padding-bottom: 45px; }
.tool-heading { display: flex; justify-content: space-between; align-items: center; gap: 38px; margin: 0 auto 33px; max-width: 984px; }
.tool-heading h1 { margin-bottom: 17px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; }
.tool-heading p { max-width: 710px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.tool-format-badge { display: flex; flex: none; align-items: center; gap: 10px; }
.tool-format-badge > span { display: flex; align-items: center; justify-content: center; width: 68px; height: 76px; padding: 6px; border: 1px solid #d4d6ca; border-radius: 8px; background: #fdfdfb; font-size: 15px; font-weight: 750; overflow-wrap: anywhere; }
.tool-format-badge > span:last-child { border-color: #e7b6ac; background: var(--red-tint); color: #ab2c25; }
.tool-format-badge > svg { width: 20px; color: var(--muted); }
.tool-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; padding-top: 65px; padding-bottom: 45px; }
.tool-guide { min-width:0; }
.tool-guide h2 { margin: 38px 0 20px; font-size: 29px; line-height: 1.25; }
.tool-guide > h2:first-of-type { margin-top: 0; }
.guide-steps { padding-left: 23px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.guide-steps li { padding-left: 10px; margin-bottom: 15px; }
.guide-steps li::marker { color: var(--red-text); font-weight: 700; }
.use-cases { padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.use-cases li { margin-bottom: 10px; padding-left: 5px; }
.tool-guide > p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.quality-note { display: flex; align-items: flex-start; gap: 13px; margin-top: 32px; padding: 22px; border: 1px solid #e0d9c5; border-radius: 8px; background: #fcf9ed; }
.quality-note > svg { margin-top: 1px; color: #8a6c32; width: 20px; height: 20px; }
.quality-note h3 { margin-bottom: 8px; font-size: 14px; }
.quality-note p { margin: 0; color: #696451; font-size: 12px; line-height: 1.85; }
.tool-faq { margin-top: 49px; }
.tool-faq h2 { font-size: 28px; }
.tool-sidebar { padding-top: 3px; }
.details-card { padding: 25px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.details-card .eyebrow { margin-bottom: 10px; font-size: 9px; }
.details-card h2 { margin-bottom: 23px; font-size: 21px; }
.details-card dl { margin: 0 0 22px; }
.details-card dl > div { display: flex; justify-content: space-between; gap: 13px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.details-card dt { color: var(--muted); }
.details-card dd { margin: 0; text-align: right; font-weight: 600; }
.details-card h3 { margin-bottom: 8px; font-size: 13px; }
.details-card p { color: var(--muted); font-size: 11px; line-height: 1.8; }
.details-card .text-link { font-size: 11px; }
.help-note { margin-top: 25px; padding: 0 10px; }
.help-note h3 { margin-bottom: 8px; font-size: 14px; }
.help-note p { margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.help-note .text-link { font-size: 12px; }
.related-section { padding-top: 36px; }
.directory-hero { padding-top: 28px; padding-bottom: 42px; }
.directory-hero h1 { max-width: 900px; margin-bottom: 19px; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; }
.directory-hero > p { max-width: 710px; margin: 0; color: var(--muted); font-size: 16px; }
.directory-section { padding-bottom: 65px; }
.directory-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; padding-top: 27px; border-top: 1px solid var(--line); }
.directory-toolbar h2 { font-size: 20px; }
.search-field { display: flex; align-items: center; gap: 10px; width: 330px; max-width: 100%; padding: 9px 14px; border: 1px solid var(--input-line); border-radius: 7px; background: white; }
.search-field:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search-field > svg { width: 18px; height: 18px; color: var(--muted); }
.search-field input { min-width: 0; width: 100%; min-height: 26px; padding: 0; border: 0; outline: none; background: transparent; font-size: 13px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.category-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.category-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: #54594f; font-size: 12px; }
.category-pills a:hover { border-color: var(--red-text); color: var(--red-text); }
.directory-help { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 75px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.directory-help > svg { width: 22px; height: 22px; color: var(--red-text); }
.directory-help > div { flex: 1; }
.directory-help h2 { margin-bottom: 9px; font-size: 17px; }
.directory-help p { max-width: 700px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.directory-help > a { flex: none; font-size: 12px; }
.category-info { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; border-top: 1px solid var(--line); }
.category-info h2 { font-size: 37px; }
.category-info p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.empty-state { grid-column: 1 / -1; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--muted); font-size: 14px; }
.empty-state h3 { color: var(--ink); font-size: 18px; }
.empty-state p { margin-bottom: 7px; }
.filter-empty { margin: 18px 0 0; }
.legal-shell { padding-top: 28px; padding-bottom: 85px; }
.legal-heading { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-heading h1 { margin-bottom: 19px; font-size: clamp(38px, 4.8vw, 60px); }
.legal-updated { margin: 0; color: var(--muted); font-size: 12px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 100px; padding-top: 37px; }
.prose { font-size: 14px; line-height: 1.95; color: #51574e; overflow-wrap: anywhere; }
.prose > p { margin-bottom: 1.65em; }
.legal-nav { display: flex; flex-direction: column; align-self: flex-start; padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.legal-nav h2 { margin-bottom: 12px; font-size: 16px; }
.legal-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.legal-nav a:last-child { border: 0; }
.legal-nav a:hover { color: var(--red-text); }
.contact-shell { padding-top: 28px; padding-bottom: 85px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.12fr; gap: 100px; padding-block: 12px 30px; }
.contact-intro { padding-top: 8px; }
.contact-intro h1 { margin-bottom: 25px; font-size: clamp(42px, 4.5vw, 58px); }
.contact-intro > p { max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.contact-note { display: flex; gap: 11px; margin: 27px 0 10px; padding: 18px 0; border-block: 1px solid var(--line); }
.contact-note > svg { width: 20px; height: 20px; margin-top: 3px; color: var(--red-text); }
.contact-note p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.contact-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.contact-card > h2 { margin-bottom: 25px; font-size: 25px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field > label { font-size: 12px; font-weight: 650; }
.required-mark { color: var(--red-text); }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid var(--input-line); border-radius: 6px; background: white; color: var(--ink); font-size: 14px; line-height: 1.5; }
.form-field textarea { min-height: 137px; max-height: 500px; resize: vertical; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #a02f2f; }
.form-help { display: block; color: var(--muted); font-size: 11px; line-height: 1.65; }
.form-error { margin: 4px 0; color: #a32626; font-size: 12px; line-height: 1.6; }
.form-error ul { margin: 0; padding-left: 17px; }
.contact-privacy { color: var(--muted); font-size: 11px; line-height: 1.8; }
.contact-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form > .button { width: 100%; }
.operator-details { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.operator-details h2 { margin: 0 0 12px; color: var(--ink); font-size: 15px; }
.operator-details p { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.operator-details a { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute; height: 1px; width: 1px; overflow: hidden; left: -10000px; }
.contact-success { padding: 40px 10px; text-align: center; }
.success-symbol { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0 auto 24px; border: 1px solid #b3d2b9; border-radius: 10px; background: var(--green-tint); color: var(--green); }
.contact-success h2 { font-size: 28px; }
.contact-success p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.status-shell { max-width: 840px; padding-top: 28px; padding-bottom: 95px; }
.status-shell h1 { margin-bottom: 18px; font-size: 54px; }
.page-intro { color: var(--muted); font-size: 15px; }
.status-card { padding: 30px; margin-top: 35px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.status-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.status-heading h2 { margin: 0; font-size: 24px; }
.status-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #856023; }
.status-good .status-dot { background: var(--green); }
.status-card > p { color: var(--muted); font-size: 13px; }
.status-details { margin: 26px 0; border-top: 1px solid var(--line); }
.status-details > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.status-details dd { margin: 0; font-weight: 650; }
.status-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.status-explainer { margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.error-shell { max-width: 780px; padding-block: 62px 95px; text-align: center; }
.error-number { margin-bottom: 13px; color: #eee7dd; font-size: clamp(100px, 16vw, 190px); font-weight: 760; letter-spacing: -.08em; line-height: 1; }
.error-shell h1 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 48px); }
.error-shell > p { max-width: 520px; margin: 0 auto 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.error-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; }
.settings-dialog { width: min(540px, calc(100vw - 32px)); max-height: min(88dvh, 780px); padding: 27px; border: 1px solid #cccfc4; border-radius: 12px; background: white; color: var(--ink); box-shadow: 0 22px 90px #11161d33; overflow-y: auto; }
.settings-dialog::backdrop { background: #23272c70; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 17px; }
.dialog-heading .eyebrow { margin-bottom: 8px; font-size: 9px; }
.dialog-heading h2 { margin: 0; font-size: 27px; }
.dialog-heading .icon-button { margin: -7px -8px 0 0; }
.dialog-description { color: var(--muted); font-size: 12px; line-height: 1.8; }
.settings-fields { margin-top: 23px; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); }
.dialog-actions .text-link, .dialog-actions .text-button { font-size: 11px; }
.dialog-actions .button { min-height: 44px; padding: 10px 16px; font-size: 12px; }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.consent-option strong { display: block; margin-bottom: 5px; font-size: 13px; }
.consent-option small { display: block; color: var(--muted); font-size: 11px; line-height: 1.7; }
.consent-option input { width: 20px; height: 20px; flex: none; accent-color: var(--red-text); }
.cookie-banner { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: flex; align-items: flex-start; gap: 28px; width: min(825px, calc(100% - 40px)); padding: 23px; border: 1px solid #bfc4b5; border-radius: 10px; background: white; box-shadow: 0 8px 35px #17221721; }
.cookie-banner > div:first-child { flex: 1; }
.cookie-banner strong { display: block; margin-bottom: 6px; font-size: 14px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.cookie-actions { display: flex; flex-direction: column; align-items: stretch; gap: 7px; flex: none; }
.cookie-actions > .text-button { justify-content: center; min-height: 28px; padding: 2px; font-size: 11px; }
.cookie-actions > .button { font-size: 11px; }
.toast-region { position: fixed; bottom: 22px; left: 50%; z-index: 80; width: max-content; max-width: calc(100% - 32px); transform: translateX(-50%); pointer-events: none; }
.toast { padding: 12px 17px; border: 1px solid #575d52; border-radius: 8px; background: var(--ink); color: white; box-shadow: 0 3px 20px #20221c1a; font-size: 12px; line-height: 1.6; }
.noscript-note { margin: 20px; padding: 18px; border: 1px solid #e0c391; background: #fff7e9; font-size: 13px; }
.noscript-note p { margin: 8px 0 0; }
@media (min-width: 1440px) { .home-hero { padding-top: 61px; } }
@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 17px; }
  .header-free { display: none; }
  .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card { min-height: 235px; }
  .category-card:nth-child(4), .category-card:nth-child(5) { grid-column: auto; }
  .why-section, .faq-section { gap: 45px; grid-template-columns: 1fr 1.6fr; }
  .footer-main { gap: 26px; }
  .format-ribbon a { padding-inline: 16px; }
  .tool-content { gap: 42px; grid-template-columns: minmax(0, 1fr) 275px; }
  .contact-layout { gap: 50px; }
  .file-row { grid-template-columns: 36px minmax(0, 1fr) 156px 94px 30px; gap: 10px; padding: 13px; }
  .file-action .button { min-width: 90px; }
  .file-remove { width: 30px; padding: 5px; }
}
@media (max-width: 860px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 73px; }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: inline-flex; }
  .header-actions { gap: 12px; }
  .mobile-navigation:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding-top: 9px; padding-bottom: 19px; border-top: 1px solid var(--line); }
  .mobile-navigation a { min-height: 44px; padding: 12px 0; font-size: 13px; }
  .mobile-navigation a:hover { color: var(--red-text); }
  .home-hero { padding-top: 43px; }
  .home-hero h1 { font-size: 63px; }
  .processing-choice { align-items: flex-start; }
  .processing-hint { max-width: 260px; font-size: 10px; padding-top: 5px; }
  .format-ribbon a { padding-inline: 10px; font-size: 11px; }
  .format-ribbon a > span { font-size: 9px; }
  .section { padding-block: 67px; }
  .section-heading { gap: 25px; }
  .section-heading h2 { font-size: 34px; }
  .tools-grid { gap: 11px; }
  .tool-card { padding: 21px 17px; min-height: 180px; }
  .tool-card-arrow { right: 13px; top: 19px; }
  .tool-card-title { font-size: 14px; }
  .tool-card-description { font-size: 11px; }
  .tool-card-formats { gap: 5px; font-size: 9px; }
  .why-section, .faq-section { grid-template-columns: 1fr; gap: 35px; }
  .why-intro h2 br, .faq-intro h2 br { display: none; }
  .why-intro p { max-width: 480px; }
  .why-intro h2, .faq-intro h2 { font-size: 36px; }
  .benefits-grid { gap: 32px; }
  .steps-grid { gap: 27px; }
  .steps-grid h3 { font-size: 17px; }
  .steps-grid p { font-size: 12px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { margin-bottom: 11px; }
  .tool-content { grid-template-columns: minmax(0, 1fr) 235px; gap: 30px; }
  .details-card { padding: 21px; }
  .details-card dl > div { font-size: 10px; }
  .tool-heading { gap: 20px; }
  .tool-heading p { font-size: 14px; }
  .tool-format-badge > span { width: 50px; height: 60px; font-size: 12px; }
  .tool-format-badge > svg { width: 15px; }
  .category-info { gap: 40px; }
  .category-info h2 { font-size: 32px; }
  .legal-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) 200px; }
  .contact-layout { gap: 30px; }
  .contact-card { padding: 24px; }
  .contact-intro h1 { font-size: 43px; }
  .contact-intro > p { font-size: 14px; }
  .file-row { grid-template-columns: 36px minmax(0, 1fr) 150px 36px; }
  .file-action { grid-column: 3; grid-row: 2; justify-content: flex-start; }
  .file-remove { grid-column: 4; grid-row: 1; width: 36px; }
  .file-warning { grid-column: 2 / 4; }
  .file-options { grid-column: 3; grid-row: 1; }
  .file-icon { grid-column: 1; grid-row: 1; }
  .file-info { grid-column: 2; grid-row: 1; }
  .file-row:has(.file-action:empty) .file-action { display: none; }
  .file-action .button { min-width: auto; }
  .queue-actions .button { padding-inline: 12px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .site-header .container { width: calc(100% - 28px); }
  .header-inner { min-height: 68px; }
  .brand { gap: 8px; font-size: 21px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-wordmark { width: 204px; }
  .header-cta { display: none; }
  .header-actions { gap: 0; }
  .home-hero { padding-top: 34px; padding-bottom: 27px; }
  .hero-kicker { font-size: 9px; letter-spacing: .11em; }
  .home-hero h1 { margin-top: 18px; margin-bottom: 17px; font-size: clamp(43px, 10.9vw, 62px); line-height: 1.01; }
  .hero-description { max-width: 420px; margin-inline: auto; font-size: 13px; line-height: 1.7; }
  .desktop-break { display: none; }
  .hero-assurances { gap: 12px; margin-bottom: 24px; font-size: 10px; }
  .hero-assurances > span { gap: 3px; }
  .hero-assurances svg { width: 12px; height: 12px; }
  .converter { border-radius: 10px; }
  .converter-toolbar { min-height: 54px; padding: 14px; gap: 8px; }
  .converter-toolbar h2 { font-size: 13px; }
  .converter-toolbar-title { gap: 7px; }
  .free-label { font-size: 9px; }
  .mini-mark { width: 19px; height: 19px; font-size: 18px; }
  .processing-choice { flex-direction: column; align-items: stretch; gap: 9px; padding: 13px 13px 0; }
  .mode-tabs { width: 100%; gap: 3px; }
  .mode-tab { flex: 1; gap: 5px; padding: 8px 5px; min-height: 41px; font-size: 10px; }
  .mode-tab svg { width: 15px; height: 15px; }
  .processing-hint { max-width: none; padding: 0; text-align: center; font-size: 11px; }
  .dropzone { margin: 13px 13px 15px; padding: 20px 12px 18px; }
  .drop-art { height: 54px; margin-bottom: 16px; }
  .drop-art svg { width: 72px; height: 61px; }
  .dropzone h3 { max-width: 310px; margin-inline: auto; font-size: 19px; line-height: 1.28; }
  .drop-subtitle { margin-bottom: 15px; font-size: 11px; }
  .button-upload { min-height: 47px; min-width: 173px; font-size: 13px; }
  .upload-limits { max-width: 300px; margin-top: 12px; font-size: 10px; }
  .converter-footnote { flex-direction: column; align-items: center; gap: 7px; padding: 12px 10px; font-size: 9px; }
  .converter-footnote a { min-height: 24px; }
  .converter-footnote svg { width: 12px; height: 12px; }
  .converter-loading { bottom: 94px; font-size: 9px; }
  .converter-notice { margin: 13px 13px 0; padding: 10px 11px; font-size: 11px; }
  .format-ribbon > .container { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .format-ribbon a { align-items: center; justify-content: center; padding: 12px 8px; font-size: 10px; text-align: center; }
  .format-ribbon a:first-child { border-left: 0; }
  .format-ribbon a:nth-child(3) { border-right: 0; }
  .format-ribbon a:nth-child(4), .format-ribbon a:nth-child(5) { border-top: 1px solid var(--line); }
  .format-ribbon a:nth-child(4) { grid-column: 1; }
  .format-ribbon a:nth-child(5) { grid-column: 2 / 4; border-right: 0; }
  .format-ribbon a > span { font-size: 8px; }
  .section { padding-block: 51px; }
  .eyebrow { margin-bottom: 10px; font-size: 9px; letter-spacing: .11em; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 23px; }
  .section-heading h2 { margin-bottom: 10px; font-size: 29px; line-height: 1.15; }
  .section-heading p { font-size: 12px; }
  .section-heading > .text-link { min-height: 30px; margin: -3px 0 0; font-size: 12px; }
  .section-heading-copy { display: none; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card { min-height: 179px; padding: 20px 13px 17px; }
  .tool-card-formats { margin-bottom: 22px; gap: 4px; font-size: 8px; }
  .tool-card-formats > span { padding: 3px 5px; max-width: 55px; }
  .tool-card-formats > svg { width: 12px; height: 12px; }
  .tool-card-arrow { width: 13px; height: 13px; top: 9px; right: 9px; }
  .tool-card-title { padding-right: 0; font-size: 14px; }
  .tool-card-description { font-size: 11px; line-height: 1.7; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .category-card { padding: 20px 16px 16px; min-height: 216px; }
  .category-grid:is(.category-count-1, .category-count-3, .category-count-5) .category-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 0 15px; min-height: 0; }
  .category-grid:is(.category-count-1, .category-count-3, .category-count-5) .category-card:last-child .category-icon { grid-column: 1; grid-row: 1 / 4; margin-bottom: 0; }
  .category-grid:is(.category-count-1, .category-count-3, .category-count-5) .category-card:last-child h3 { grid-column: 2; }
  .category-grid:is(.category-count-1, .category-count-3, .category-count-5) .category-card:last-child p { grid-column: 2; margin-bottom: 9px; }
  .category-grid:is(.category-count-1, .category-count-3, .category-count-5) .category-card:last-child .category-link { grid-column: 2; max-width: 150px; }
  .category-icon { width: 40px; height: 40px; margin-bottom: 21px; }
  .category-icon svg { width: 22px; height: 22px; }
  .category-card h3 { font-size: 15px; }
  .category-card p { font-size: 11px; }
  .why-section, .faq-section { gap: 30px; }
  .why-intro h2, .faq-intro h2 { font-size: 31px; }
  .why-intro p { font-size: 13px; }
  .why-intro .text-link, .faq-intro .text-link { font-size: 12px; }
  .benefits-grid { gap: 30px 20px; }
  .benefits-grid h3 { font-size: 16px; line-height: 1.25; }
  .benefits-grid p { font-size: 11px; line-height: 1.8; }
  .benefits-grid article > svg { width: 24px; height: 24px; margin-bottom: 15px; }
  .how-section { padding-block: 44px; }
  .how-section .section-heading { margin-bottom: 30px; }
  .how-section h2 { font-size: 29px; }
  .steps-grid { grid-template-columns: 1fr; gap: 25px; }
  .steps-grid article { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .step-symbol { grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; }
  .steps-grid h3 { grid-column: 2; margin-bottom: 8px; }
  .steps-grid p { grid-column: 2; max-width: none; font-size: 12px; }
  .faq-list summary { padding-block: 18px; font-size: 13px; }
  .faq-list p { font-size: 12px; padding-right: 15px; }
  .site-footer { padding-top: 35px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 29px 30px; padding-bottom: 29px; }
  .footer-main .footer-group:last-child { grid-column: 1 / -1; max-width: 360px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { margin-top: 16px; font-size: 12px; }
  .footer-note { font-size: 10px; }
  .footer-group h2 { font-size: 12px; margin-bottom: 9px; }
  .footer-group > a, .footer-group > button { min-height: 38px; padding-block: 8px; font-size: 11px; }
  .footer-group > p { font-size: 11px; }
  .footer-bottom { padding-block: 16px; flex-wrap: wrap; gap: 5px 16px; }
  .footer-bottom p { font-size: 9px; }
  .queue-area { padding: 16px 12px 0; }
  .queue-heading { gap: 8px; margin-bottom: 12px; }
  .queue-heading h3 { gap: 6px; font-size: 13px; }
  .queue-heading > div { gap: 11px; }
  .queue-heading .text-button { font-size: 10px; }
  .queue-heading .text-button svg { width: 14px; height: 14px; }
  .file-row { grid-template-columns: 34px minmax(0, 1fr) 32px; gap: 10px; padding: 12px; }
  .file-icon { width: 32px; height: 39px; font-size: 9px; }
  .file-info { grid-column: 2; }
  .file-name { font-size: 12px; }
  .file-meta { font-size: 9px; }
  .file-state { font-size: 10px; }
  .file-options { grid-column: 1 / 3; grid-row: 2; width: 100%; max-width: 200px; }
  .file-select-label { font-size: 9px; }
  .file-select-label select { min-height: 44px; font-size: 16px; }
  .file-options .icon-button { min-height: 42px; width: 42px; padding: 11px; }
  .file-remove { grid-column: 3; grid-row: 1; width: 32px; }
  .file-action { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; }
  .file-action .button { min-height: 42px; font-size: 11px; }
  .file-action:has(.file-move) { flex-direction: row; align-items: center; gap: 22px; }
  .file-action .file-move { min-height: 44px; font-size: 11px; }
  .file-warning { grid-column: 1 / -1; grid-row: 4; font-size: 10px; }
  .file-row.is-success .file-action { grid-row: 2; }
  .file-row.is-success .file-options { display: none; }
  .queue-bottom { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 15px; padding-block: 17px; }
  .queue-summary strong { font-size: 12px; }
  .queue-summary p { font-size: 10px; }
  .queue-actions { justify-content: flex-start; }
  .queue-actions .button { flex: 1; min-width: 128px; min-height: 47px; font-size: 12px; }
  .breadcrumbs { margin-bottom: 27px; font-size: 10px; gap: 7px; }
  .tool-hero { padding-top: 22px; padding-bottom: 30px; }
  .tool-heading { margin-bottom: 24px; }
  .tool-heading h1 { font-size: clamp(34px, 9vw, 45px); margin-bottom: 14px; }
  .tool-heading p { font-size: 13px; line-height: 1.75; }
  .tool-format-badge { display: none; }
  .tool-content { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 25px; gap: 32px; }
  .tool-guide h2 { font-size: 26px; }
  .guide-steps, .use-cases, .tool-guide > p { font-size: 13px; }
  .guide-steps { padding-left: 18px; }
  .guide-steps li { padding-left: 6px; }
  .quality-note { padding: 18px; gap: 10px; }
  .tool-sidebar { display: grid; grid-template-columns: 1fr; }
  .details-card { padding: 22px; }
  .details-card dl > div { font-size: 12px; }
  .details-card p { font-size: 12px; }
  .help-note { margin-top: 20px; }
  .related-section { padding-top: 30px; }
  .directory-hero { padding-top: 22px; padding-bottom: 28px; }
  .directory-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .directory-hero > p { font-size: 13px; line-height: 1.8; }
  .directory-toolbar { align-items: stretch; flex-direction: column; gap: 19px; padding-top: 22px; margin-bottom: 21px; }
  .directory-toolbar h2 { font-size: 19px; }
  .search-field { width: 100%; min-height: 46px; }
  .search-field input { font-size: 13px; }
  .directory-section { padding-bottom: 43px; }
  .category-pills { gap: 7px; }
  .category-pills a { padding-inline: 12px; font-size: 11px; }
  .directory-help { flex-wrap: wrap; padding: 21px; gap: 12px; margin-bottom: 45px; }
  .directory-help > div { flex: 1; min-width: 75%; }
  .directory-help h2 { font-size: 16px; }
  .directory-help p { font-size: 11px; }
  .directory-help > a { margin-left: 34px; min-height: 35px; }
  .category-info { grid-template-columns: 1fr; gap: 15px; }
  .category-info h2 { font-size: 31px; margin-bottom: 10px; }
  .category-info p { font-size: 13px; }
  .legal-shell { padding-top: 22px; padding-bottom: 51px; }
  .legal-heading h1 { font-size: 39px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .prose { font-size: 13px; }
  .legal-nav { padding: 20px; }
  .legal-nav a { min-height: 44px; }
  .contact-shell { padding-top: 22px; padding-bottom: 50px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 0; padding-bottom: 0; }
  .contact-intro h1 { font-size: 45px; }
  .contact-intro > p { max-width: none; font-size: 13px; }
  .contact-note { margin-top: 20px; }
  .contact-card { padding: 23px; }
  .contact-card > h2 { font-size: 25px; }
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; }
  .status-shell { padding-top: 22px; padding-bottom: 60px; }
  .status-shell h1 { font-size: 43px; }
  .page-intro { font-size: 13px; }
  .status-card { padding: 22px; margin-top: 25px; }
  .status-heading { align-items: flex-start; }
  .status-dot { margin-top: 7px; }
  .status-heading h2 { font-size: 22px; line-height: 1.25; }
  .status-card > p { font-size: 12px; }
  .status-details > div { font-size: 12px; }
  .status-actions { gap: 14px; }
  .status-actions > a { font-size: 12px; }
  .status-explainer { font-size: 11px; }
  .error-shell { padding-block: 45px 65px; }
  .error-shell h1 { font-size: 35px; }
  .error-actions { flex-direction: column; gap: 12px; }
  .settings-dialog { padding: 22px; }
  .dialog-heading h2 { font-size: 25px; }
  .dialog-actions { gap: 10px; }
  .dialog-actions .button { padding: 11px 14px; font-size: 12px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); flex-direction: column; gap: 14px; padding: 18px; }
  .cookie-banner strong { font-size: 13px; }
  .cookie-banner p { font-size: 10px; }
  .cookie-actions { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; }
  .cookie-actions .button { flex: 1; min-height: 42px; padding: 9px; font-size: 10px; }
  .cookie-actions .text-button { padding: 8px; min-height: 36px; font-size: 10px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 24px); }
  .home-hero h1 { font-size: 41px; }
  .hero-assurances { gap: 8px; font-size: 9px; }
  .converter-toolbar { padding-inline: 12px; }
  .converter-toolbar h2 { font-size: 12px; }
  .free-label { font-size: 8px; }
  .processing-choice { padding-inline: 10px; }
  .mode-tab { font-size: 9px; }
  .dropzone { margin-inline: 10px; padding-inline: 10px; }
  .dropzone h3 { font-size: 18px; }
  .tool-card { padding-inline: 12px; }
  .tool-card-formats { font-size: 7px; }
  .tool-card-title { font-size: 13px; }
  .tool-card-description { font-size: 10px; }
  [data-tool-directory] { grid-template-columns: minmax(0, 1fr); }
  [data-tool-directory] .tool-card-title { font-size: 15px; }
  [data-tool-directory] .tool-card-description { font-size: 13px; }
  .section-heading h2 { font-size: 27px; }
  .queue-heading > div { gap: 7px; }
  .category-card { padding-inline: 13px; }
  .category-card h3 { font-size: 14px; }
  .category-card p { font-size: 10px; }
  .dialog-heading h2 { font-size: 22px; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
  .dialog-actions > .text-button, .dialog-actions > .text-link { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .spinner { border-top-color: var(--red-text); border-right-color: var(--red-text); }
}
@media (forced-colors: active) {
  .button, .mode-tab.is-active, .tool-card, .category-card, .converter, .file-row { border: 1px solid ButtonText; }
  .spinner { border-color: CanvasText; }
  .status-dot, .kicker-line { background: CanvasText; }
}

/* Visible, honest progress across upload, conversion and browser handoff. */
.file-timing { display:block; margin-top:5px; color:var(--muted); font-size:11px; font-variant-numeric:tabular-nums; }
.file-transfer { margin:7px 0 0; font-size:12px; color:var(--green); overflow-wrap:anywhere; }
.file-steps { display:flex; flex-wrap:wrap; gap:6px 12px; list-style:none; padding:0; margin:11px 0 0; font-size:10px; color:var(--muted); }
.file-steps li { display:flex; align-items:center; gap:5px; }
.file-steps li::before { content:''; width:6px; height:6px; border:1px solid currentColor; border-radius:50%; }
.file-steps .is-complete { color:var(--green); }
.file-steps .is-complete::before { background:currentColor; }
.file-steps .is-current { color:var(--red-text); font-weight:700; }
.file-row.is-busy .file-icon { animation:activity-glow 1.8s ease-in-out infinite; }
.file-row progress:indeterminate { background:linear-gradient(90deg,#eceee7 20%,#d24731 50%,#eceee7 80%); background-size:200% 100%; animation:activity-sweep 1.6s linear infinite; }
.file-row progress:indeterminate::-webkit-progress-bar { background:transparent; }
@keyframes activity-glow { 50% { box-shadow:0 0 0 5px rgba(210,71,49,.09); } }
@keyframes activity-sweep { to { background-position:-200% 0; } }
@media(max-width:600px) { .file-state { overflow-wrap:anywhere; } .file-steps { gap:6px 9px; } .file-remove,.file-options .icon-button { min-height:44px; } }
@media(prefers-reduced-motion:reduce) { .file-row.is-busy .file-icon,.file-row progress:indeterminate { animation:none; } }
