@charset "UTF-8";
:root {
  --blue: #2455ff;
  --blue-hover: #1641db;
  --ink: #10131a;
  --muted: #636d80;
  --line: #e3e8f0;
  --soft: #f2f8ff;
  --white: #fff;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.7; }
button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; border: 0; background: none; cursor: pointer; }
button:disabled { opacity: .42; cursor: default; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #85a6ff; outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
svg { display: block; }
.icon { width: 24px; height: 24px; fill: currentColor; flex-shrink: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1272px, calc(100% - 96px)); margin-inline: auto; }
.section-rule { border-top: 1px solid var(--line); }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 10px 20px; background: var(--blue); color: white; z-index: 10; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 24px; line-height: 1; font-weight: 750; letter-spacing: -.9px; white-space: nowrap; }
.brand img { width: 42px; height: 42px; }
.site-header nav { display: flex; gap: 34px; font-size: 14px; color: #364155; }
.site-header nav a { padding: 16px 0; }
.header-local { display: flex; align-items: center; gap: 9px; color: #364155; font-size: 14px; white-space: nowrap; }
.header-local .icon { width: 19px; height: 19px; }
.hero { text-align: center; padding: 45px 0 32px; }
.eyebrow { font: 600 15px/1.5 Consolas, monospace; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 5.1vw, 74px); font-weight: 800; line-height: 1.2; letter-spacing: -2.5px; }
.hero h1 .accent { color: var(--blue); letter-spacing: -3px; }
.hero-copy { color: #535e73; font-size: 20px; line-height: 1.85; margin-top: 25px; }
.hero-benefits { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 25px; font-size: 17px; }
.hero-benefits > span { display: flex; align-items: center; gap: 11px; padding: 0 24px; line-height: 1.4; }
.hero-benefits > span + span { border-inline-start: 1px solid var(--line); }
.hero-benefits .icon { color: var(--blue); width: 29px; height: 29px; }
.converter, #formats, #how-it-works, #faq, #privacy { scroll-margin-top: 28px; }
.workbench:not(.has-files) .queue-heading,
.workbench:not(.has-files) .output-pane,
.workbench:not(.has-files) .workbench-bottom { display: none; }
.drop-zone { border: 1.5px dashed #8cafff; border-radius: 12px; background: #f1f8ff; text-align: center; padding: 30px 24px 32px; transition: background .18s, border-color .18s; }
.drop-zone.dragging { background: #e2edff; border-color: var(--blue); }
.conversion-art { width: 520px; height: 170px; max-width: 80%; object-fit: contain; display: block; margin: 0 auto 10px; }
.drop-zone h2 { font-size: 38px; font-weight: 750; letter-spacing: -.8px; }
.drop-note { font-size: 19px; color: var(--muted); margin-top: 9px; }
.drop-actions { display: flex; align-items: center; justify-content: center; gap: 36px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 11px 25px; border-radius: 8px; font-size: 16px; font-weight: 550; transition: background .15s; line-height: 1.5; }
.button .icon { width: 20px; height: 20px; }
.primary { color: white; background: var(--blue); }
.primary:not(:disabled):hover { background: var(--blue-hover); color: white; }
#choose-files { min-width: 245px; min-height: 58px; font-size: 18px; }
.text-button { font-size: 15px; color: var(--blue); padding: 8px 0; min-height: 40px; }
.text-button:hover { color: var(--blue-hover); }
.drop-privacy { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; color: #677185; margin-top: 27px; }
.drop-privacy .icon { width: 18px; height: 18px; }
.engine-strip { display: grid; grid-template-columns: 1fr 1fr; padding: 27px 25px; gap: 35px; }
.engine-strip > div { display: flex; gap: 20px; }
.engine-strip > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 45px; }
.engine-strip > div > .icon { color: var(--blue); width: 30px; height: 30px; margin-top: 3px; }
.engine-strip h3 { font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.engine-strip p { font-size: 14px; color: var(--muted); }
.runtime-status { font-size: 12px; color: #527091; display: block; margin-top: 4px; }
.section-heading { text-align: center; margin-bottom: 25px; }
.section-heading h2 { font-size: 36px; letter-spacing: -1.1px; font-weight: 750; }
.section-heading p { font-size: 18px; color: var(--muted); margin-top: 7px; }
.formats-section { padding-top: 32px; padding-bottom: 26px; }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.format-item { display: flex; align-items: flex-start; gap: 22px; padding: 22px 23px; min-width: 0; }
.format-item:not(:nth-child(3n + 1)) { border-inline-start: 1px solid var(--line); }
.format-item:nth-child(n + 4) { border-top: 1px solid var(--line); }
.format-item > .icon { width: 48px; height: 53px; margin-top: 1px; }
.format-item h3 { font-size: 18px; font-weight: 650; }
.format-item p { font-size: 15px; color: var(--muted); margin-top: 5px; }
.format-item span { display: block; color: #748093; font: 12px/1.7 Consolas, monospace; margin-top: 5px; overflow-wrap: anywhere; }
.pdf > .icon { color: #ec343f; }
.word > .icon { color: #1768d4; }
.excel > .icon { color: #168744; }
.powerpoint > .icon { color: #df5127; }
.epub > .icon { color: #6434db; }
.other > .icon { color: #7b8395; }
.format-note { text-align: center; color: #737e90; font-size: 13px; margin-top: 15px; }
.how-section { padding-top: 30px; padding-bottom: 39px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; text-align: center; }
.steps li { position: relative; padding: 0 16px; }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 31px; inset-inline-start: calc(50% + 60px); width: calc(100% - 120px); height: 2px; background: #c6d9ff; }
.step-number { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f1ff; color: var(--blue); font-size: 23px; font-weight: 700; margin: 0 auto 13px; }
.steps h3 { font-size: 22px; font-weight: 650; margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--muted); }
.privacy-section { display: grid; grid-template-columns: 1.12fr 1fr; background: #f2f8ff; border-radius: 12px; padding: 36px 39px; gap: 42px; }
.privacy-intro h2 { font-size: 33px; letter-spacing: -1px; font-weight: 750; }
.privacy-intro > p { font-size: 16px; color: var(--muted); margin-top: 9px; }
.local-flow { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-top: 35px; }
.local-flow > div { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: center; text-align: center; }
.local-flow > div > .icon { width: 60px; height: 65px; color: #5786ff; margin-bottom: 14px; }
.local-flow strong { font-size: 16px; font-weight: 600; }
.local-flow span { font-size: 12px; color: var(--muted); margin-top: 3px; }
.local-flow > .flow-arrow { color: #81a5ff; width: 29px; margin-top: 21px; }
.privacy-details { border-inline-start: 1px solid #e0eaf7; padding-inline-start: 33px; }
.privacy-details article { display: flex; gap: 20px; padding: 4px 0 22px; }
.privacy-details article + article { border-top: 1px solid #dae6f5; padding-top: 25px; padding-bottom: 0; }
.privacy-details .icon { color: var(--blue); width: 33px; height: 33px; margin-top: 4px; }
.privacy-details h3 { font-size: 21px; font-weight: 650; margin-bottom: 7px; }
.privacy-details p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.use-cases { padding-top: 32px; padding-bottom: 33px; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.use-case-grid article { display: flex; gap: 23px; padding: 0 25px; }
.use-case-grid article:first-child { padding-inline-start: 10px; }
.use-case-grid article + article { border-inline-start: 1px solid var(--line); }
.use-case-grid .icon { color: var(--blue); width: 39px; height: 39px; }
.use-case-grid h3 { font-size: 20px; font-weight: 650; margin-bottom: 4px; }
.use-case-grid p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.faq-section { display: grid; grid-template-columns: .75fr 1.5fr; gap: 52px; padding-top: 28px; padding-bottom: 30px; }
.faq-intro h2 { font-size: 35px; font-weight: 750; letter-spacing: -1px; line-height: 1.5; }
.faq-intro p { color: var(--muted); font-size: 18px; margin-top: 10px; }
.faq-list { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 22px; font-size: 16px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-toggle { color: var(--blue); width: 21px; height: 21px; transition: transform .2s; }
.faq-list details[open] .faq-toggle { transform: rotate(45deg); }
.faq-list details p { margin: -3px 22px 17px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.closing-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 25px; }
.closing-cta h2 { border-inline-start: 5px solid var(--blue); padding-inline-start: 18px; color: var(--blue); font-size: 31px; letter-spacing: -.8px; }
.closing-cta .button { min-width: 195px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 23px; color: #69758a; font-size: 12px; }
.footer-main, .footer-links { display: flex; align-items: center; gap: 22px; }
.site-footer .brand { font-size: 20px; color: var(--ink); }
.site-footer .brand img { width: 35px; height: 35px; }
.footer-main p { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.footer-main p a:hover { text-decoration: underline; }
.footer-links { gap: 24px; white-space: nowrap; }
.footer-links span { margin-inline-start: 16px; }
/* The compact upload area expands into a working surface once files are selected. */
.workbench.has-files { border: 1px solid #dce5f3; border-radius: 12px; overflow: hidden; }
.has-files .workbench-grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.has-files .input-pane { padding: 22px; min-width: 0; }
.has-files .output-pane { padding: 22px 24px 0; border-inline-start: 1px solid var(--line); min-width: 0; background: #fcfdff; display: flex; flex-direction: column; }
.pane-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-bottom: 13px; }
.pane-heading h2 { font-size: 17px; font-weight: 650; }
.count { display: inline-block; padding: 0 7px; margin-inline-start: 5px; font-size: 13px; color: var(--blue); background: #edf3ff; border-radius: 5px; }
.file-list { height: 290px; overflow: auto; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.file-row.selected { background: #edf3ff; border-radius: 5px; }
.file-select { flex: 1; min-width: 0; text-align: start; padding: 0; }
.file-name { display: block; font-size: 15px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.file-error { color: #ab492e; }
.remove-file { font-size: 22px; color: #7d8ba2; padding: 0 7px; min-height: 40px; }
.retry { color: var(--blue); font-size: 13px; min-height: 40px; }
.queue-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 12px; }
.secondary { border: 1px solid #d6e1f4; background: #f5f8fe; font-size: 14px; min-height: 40px; padding: 8px 14px; }
.preview-tabs { display: flex; padding: 3px; border: 1px solid var(--line); background: #f2f5fa; border-radius: 6px; }
.preview-tabs button { padding: 4px 12px; font-size: 13px; color: var(--muted); min-height: 32px; border-radius: 4px; }
.preview-tabs button[aria-selected=true] { color: var(--blue); background: white; box-shadow: 0 1px 4px #142a4f0d; }
.preview-filename { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.preview-filename .icon { width: 17px; height: 17px; }
#preview-name { font-family: Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-content { height: 280px; overflow: auto; padding: 20px 0; overscroll-behavior: contain; }
.markdown-body { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; color: #334158; }
.markdown-body h1 { font-size: 27px; color: var(--ink); margin: 0 0 16px; }
.markdown-body h2 { font-size: 21px; margin: 22px 0 12px; }
.markdown-body h3, .markdown-body h4 { font-size: 17px; margin: 18px 0 10px; }
.markdown-body p { margin-bottom: 12px; }
.markdown-body ul, .markdown-body ol { padding-inline-start: 25px; }
.markdown-body blockquote { border-inline-start: 3px solid #aac5ff; background: #f0f6ff; margin: 15px 0; padding: 8px 14px; }
.markdown-body blockquote p { margin: 0; }
.markdown-body pre { overflow: auto; background: #edf2f9; padding: 12px; border-radius: 5px; }
.markdown-body code { font-family: Consolas, monospace; }
.markdown-body table { border-collapse: collapse; display: block; overflow: auto; }
.markdown-body th, .markdown-body td { padding: 7px 12px; border: 1px solid var(--line); min-width: 75px; }
.markdown-body th { background: #f0f4fa; }
.markdown-body a { text-decoration: underline; color: var(--blue); }
.markdown-body img { max-width: 100%; height: auto; }
.attachment-info { font-size: 12px; color: var(--muted); padding-block: 10px; overflow-wrap: anywhere; }
.bundle-button { align-self: flex-start; margin-bottom: 8px; }
.obsidian-help { margin-block: 16px; font-size: 14px; color: var(--muted); }
.obsidian-help summary { cursor: pointer; color: var(--ink); }
.obsidian-help p { margin-top: 8px; }
#source-preview { margin: 0; resize: vertical; min-height: 300px; width: 100%; border: 1px solid var(--line); border-radius: 5px; padding: 12px; font: 14px/1.8 Consolas, monospace; color: #405271; background: white; }
.editor-tools { padding-block: 12px; border-bottom: 1px solid var(--line); }
.editor-tools details { margin-top: 8px; font-size: 13px; }
.editor-tools summary { cursor: pointer; padding-block: 5px; }
.editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.editor-actions button, .find-fields button { border: 1px solid var(--line); border-radius: 5px; padding: 7px 10px; min-height: 36px; font-size: 13px; }
.editor-help { color: var(--muted); font-size: 12px; margin-block: 8px 0; }
.find-fields { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding-block: 8px; }
.find-fields label { flex: 1 1 140px; min-width: 0; }
.find-fields span, .tidy-comparison span { display: block; margin-bottom: 5px; }
.find-fields input { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 5px; font: inherit; }
.find-fields input:focus-visible, #source-preview:focus-visible, .tidy-comparison textarea:focus-visible { outline: 2px solid #85a6ff; outline-offset: 2px; }
.source-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 16px; min-width: 0; }
.source-layout > * { min-width: 0; }
#editor-live-preview { max-height: 420px; overflow: auto; }
#tidy-dialog { width: min(1000px, 94vw); max-height: 90vh; overflow: auto; margin: auto; border: 1px solid var(--line); border-radius: 12px; padding: 24px; color: var(--ink); }
#tidy-dialog::backdrop { background: #142a4f80; }
#tidy-dialog h2 { font-size: 22px; }
#tidy-count { margin-block: 8px 16px; color: var(--muted); }
.tidy-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.tidy-comparison label { min-width: 0; }
.tidy-comparison textarea { display: block; width: 100%; height: 340px; resize: vertical; padding: 12px; border: 1px solid var(--line); border-radius: 5px; font: 13px/1.6 Consolas, monospace; }
@media (max-width: 1100px) { .source-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tidy-comparison { grid-template-columns: 1fr; } .tidy-comparison textarea { height: 180px; } #tidy-dialog { padding: 16px; } }
.preview-empty { padding: 35px 12px; color: var(--muted); font-size: 15px; text-align: center; }
.output-footer { margin-top: auto; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; min-height: 50px; }
.output-footer > span { margin-inline-end: auto; font-size: 12px; color: var(--muted); }
.icon-button { display: grid; place-items: center; min-width: 38px; min-height: 38px; border-radius: 5px; color: #657895; }
.icon-button .icon { width: 18px; height: 18px; }
.icon-button:hover:not(:disabled) { background: #eaf1ff; color: var(--blue); }
.workbench-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; border-top: 1px solid var(--line); background: #f8faff; }
.workbench-bottom p { color: var(--muted); font-size: 14px; }
.zip-label { font: 12px Consolas, monospace; opacity: .8; }
.notice { font-size: 14px; color: #855123; border: 1px solid #ecd6bb; background: #fff7ec; border-radius: 7px; padding: 12px 16px; margin: 12px 0; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: #172443; color: white; padding: 12px 23px; font-size: 14px; border-radius: 8px; z-index: 20; max-width: 90vw; box-shadow: 0 5px 20px #17244322; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 20px; }
  .header-local { font-size: 12px; }
  .brand { font-size: 21px; }
  .section-heading h2 { font-size: 30px; }
  .format-item { gap: 15px; padding: 20px 16px; }
  .format-item > .icon { width: 38px; height: 43px; }
  .format-item h3 { font-size: 16px; }
  .format-item p { font-size: 14px; }
  .privacy-section { padding: 30px; gap: 28px; }
  .privacy-intro h2 { font-size: 27px; }
  .privacy-details { padding-inline-start: 25px; }
  .local-flow span { font-size: 11px; }
  .use-case-grid article { gap: 16px; padding-inline: 18px; }
  .use-case-grid h3 { font-size: 17px; }
  .faq-section { gap: 30px; }
  .faq-intro h2 { font-size: 28px; }
  .footer-main { flex-wrap: wrap; gap: 12px; }
  .footer-main p { padding-inline-start: 0; border-inline-start: 0; }
  .footer-links { gap: 14px; }
}
@media (max-width: 800px) {
  .header-local { display: none; }
  .header-inner { min-height: 76px; }
  .hero h1 { font-size: 54px; }
  .hero-copy { font-size: 17px; }
  .hero-benefits { font-size: 14px; }
  .hero-benefits > span { padding-inline: 15px; gap: 8px; }
  .hero-benefits .icon { width: 23px; height: 23px; }
  .engine-strip { padding: 24px 5px; gap: 20px; }
  .engine-strip > div { gap: 12px; }
  .engine-strip > div + div { padding-inline-start: 20px; }
  .engine-strip h3 { font-size: 15px; }
  .engine-strip p { font-size: 13px; }
  .format-grid { grid-template-columns: 1fr 1fr; }
  .format-item:not(:nth-child(3n + 1)) { border-inline-start: 0; }
  .format-item:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .format-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .privacy-section { grid-template-columns: 1fr; }
  .privacy-details { padding-inline-start: 0; border-inline-start: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
  .privacy-details article + article { padding-top: 4px; border-top: 0; }
  .local-flow { max-width: 560px; margin: 25px auto 0; }
  .use-case-grid { grid-template-columns: 1fr; gap: 22px; }
  .use-case-grid article, .use-case-grid article:first-child { padding-inline: 0; border-inline-start: 0; }
  .faq-section { grid-template-columns: 1fr; gap: 20px; }
  .faq-intro h2 br { display: none; }
  .closing-cta h2 { font-size: 24px; }
  .site-footer { flex-wrap: wrap; }
  .has-files .workbench-grid { grid-template-columns: 1fr; }
  .has-files .output-pane { border-inline-start: 0; border-top: 1px solid var(--line); }
  .file-list { height: auto; max-height: 290px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 70px; gap: 12px; }
  .brand { font-size: 18px; gap: 8px; letter-spacing: -.7px; }
  .brand img { width: 33px; height: 33px; }
  .site-header nav { font-size: 12px; gap: 15px; }
  .site-header nav a:first-child, .site-header nav a:nth-child(3) { display: none; }
  .site-header nav a[data-blog-link] { display: block; }
  .hero { padding-top: 34px; padding-bottom: 25px; }
  .eyebrow { font-size: 12px; letter-spacing: 1px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 43px); line-height: 1.3; letter-spacing: -1.4px; }
  .hero h1 .accent { letter-spacing: -1.5px; }
  .hero-copy { font-size: 14px; line-height: 1.85; margin-top: 19px; }
  .hero-copy br { display: none; }
  .hero-benefits { font-size: 11px; margin-top: 20px; }
  .hero-benefits > span { padding-inline: 9px; gap: 6px; }
  .hero-benefits .icon { width: 18px; height: 18px; }
  .drop-zone { padding: 22px 13px; border-radius: 9px; }
  .conversion-art { width: 290px; height: 100px; max-width: 100%; margin-bottom: 12px; }
  .drop-zone h2 { font-size: 25px; letter-spacing: -.8px; }
  .drop-note { font-size: 12px; margin-top: 8px; }
  .drop-actions { gap: 22px; margin-top: 22px; }
  #choose-files { min-width: 175px; min-height: 48px; font-size: 16px; }
  .text-button { font-size: 14px; }
  .drop-privacy { font-size: 11px; gap: 6px; margin-top: 20px; }
  .drop-privacy .icon { width: 14px; height: 14px; }
  .engine-strip { grid-template-columns: 1fr; padding: 23px 4px; gap: 18px; }
  .engine-strip > div + div { border-inline-start: 0; padding-inline-start: 0; }
  .engine-strip > div > .icon { width: 25px; height: 25px; }
  .section-heading h2 { font-size: 26px; letter-spacing: -.8px; }
  .section-heading p { font-size: 14px; margin-top: 9px; }
  .formats-section { padding-top: 26px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-item { padding: 17px 3px; gap: 20px; }
  .format-item:nth-child(even) { border-inline-start: 0; }
  .format-item + .format-item { border-top: 1px solid var(--line); }
  .format-item h3 { font-size: 17px; }
  .format-item > .icon { width: 39px; height: 44px; }
  .format-note { text-align: start; font-size: 12px; margin-top: 15px; }
  .how-section { padding-top: 25px; padding-bottom: 28px; }
  .steps { grid-template-columns: 1fr; text-align: start; gap: 23px; }
  .steps li { padding: 0; padding-inline-start: 70px; min-height: 55px; }
  .step-number { width: 48px; height: 48px; font-size: 18px; position: absolute; inset-inline-start: 0; top: 2px; margin: 0; }
  .steps li:not(:last-child)::after { inset-inline-start: 23px; top: 59px; width: 1px; height: 18px; }
  .steps h3 { font-size: 19px; margin-bottom: 4px; }
  .steps p { font-size: 13px; }
  .privacy-section { padding: 25px 20px; gap: 26px; }
  .privacy-intro h2 { font-size: 25px; }
  .privacy-intro > p { font-size: 14px; }
  .local-flow { gap: 4px; }
  .local-flow > div > .icon { width: 42px; height: 48px; margin-bottom: 9px; }
  .local-flow > .flow-arrow { width: 18px; margin-top: 15px; }
  .local-flow strong { font-size: 12px; }
  .local-flow span { font-size: 10px; }
  .privacy-details { grid-template-columns: 1fr; gap: 0; }
  .privacy-details article { gap: 13px; padding-bottom: 20px; }
  .privacy-details article + article { border-top: 1px solid #dae6f5; padding-top: 20px; }
  .privacy-details .icon { width: 27px; height: 27px; }
  .privacy-details h3 { font-size: 18px; }
  .privacy-details p { font-size: 14px; }
  .use-cases { padding-block: 28px; }
  .use-case-grid h3 { font-size: 18px; }
  .use-case-grid p { font-size: 14px; }
  .use-case-grid .icon { width: 31px; height: 31px; }
  .faq-section { padding-block: 25px; }
  .faq-intro h2 { font-size: 26px; }
  .faq-intro p { font-size: 15px; }
  .faq-list summary { font-size: 14px; padding: 14px; }
  .faq-list details p { margin-inline: 14px; font-size: 13px; }
  .closing-cta { flex-direction: column; align-items: flex-start; padding-block: 25px; gap: 18px; }
  .closing-cta h2 { font-size: 24px; padding-inline-start: 12px; }
  .closing-cta .button { min-width: 165px; font-size: 14px; min-height: 44px; }
  .footer-main { display: grid; gap: 13px; }
  .footer-links { flex-wrap: wrap; }
  .footer-links span { margin-inline-start: 0; }
  .site-footer { gap: 18px; }
  .has-files .input-pane, .has-files .output-pane { padding: 16px; }
  .has-files .output-pane { padding-bottom: 0; }
  .pane-heading h2 { font-size: 15px; }
  .preview-tabs button { font-size: 12px; padding-inline: 10px; }
  .preview-content { height: 280px; }
  .workbench-bottom { padding: 13px; gap: 12px; }
  .workbench-bottom p { font-size: 12px; }
  .workbench-bottom .button { font-size: 13px; padding: 8px 13px; min-height: 42px; white-space: nowrap; }
  .zip-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Language controls remain available at every viewport width. */
.format-item h3 a { text-decoration: underline; text-decoration-color: #bccbf5; text-underline-offset: 4px; }
.tool-guide { padding-block: 42px; }
.tool-guide .section-heading { max-width: 880px; margin-inline: auto; }
.tool-guide h3 { font-size: 19px; margin-block: 0 12px; }
.tool-example { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-block: 28px; }
.tool-example > div { min-width: 0; }
.tool-example p, .tool-checks { color: var(--muted); line-height: 1.8; }
.tool-example a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.tool-example pre { margin: 0; padding: 20px; background: #f4f7fc; border: 1px solid var(--line); border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; }
.tool-checks { padding-inline-start: 22px; }
.tool-checks li + li { margin-top: 10px; }
@media (max-width: 800px) { .tool-example { grid-template-columns: 1fr; } .tool-guide { padding-block: 28px; } }
.language-picker { display: flex; align-items: center; gap: 7px; color: #364155; flex-shrink: 0; }
.language-picker .icon { width: 20px; height: 20px; color: var(--blue); }
.language-picker select { font: inherit; font-size: 14px; color: inherit; background: white; border: 1px solid var(--line); border-radius: 7px; padding: 8px 5px; max-width: 142px; cursor: pointer; }
.language-picker select:focus-visible { outline: 3px solid #85a6ff; outline-offset: 3px; }
.language-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 12px; padding-block: 8px 26px; font-size: 13px; color: var(--muted); }
.language-links a[aria-current] { color: var(--blue); font-weight: 650; }
.header-inner { gap: 18px; flex-wrap: wrap; padding-block: 12px; }
.site-header nav { gap: 20px; }
.header-local { font-size: 12px; }
.hero h1 { overflow-wrap: break-word; }
.hero h1 > [data-i18n] { color: inherit; letter-spacing: inherit; }
.hero-benefits { flex-wrap: wrap; row-gap: 12px; }
.drop-actions, .pane-heading, .queue-actions, .workbench-bottom { flex-wrap: wrap; }
.drop-actions .button { max-width: 100%; }
.format-grid, .steps, .privacy-section, .use-case-grid, .faq-section, .engine-strip { min-width: 0; }
.format-item > div, .engine-strip > div > div, .privacy-details article > div, .use-case-grid article > div { min-width: 0; overflow-wrap: anywhere; }
#preview-panel, #source-panel { text-align: start; }
[dir=rtl] .flow-arrow, [dir=rtl] .button .icon { transform: scaleX(-1); }
[dir=rtl] .hero h1, [dir=rtl] .section-heading h2, [dir=rtl] .drop-zone h2 { letter-spacing: normal; }
@media (max-width: 1250px) { .header-local { display: none; } }
@media (max-width: 800px) {
  .header-inner { column-gap: 12px; }
  .site-header nav { order: 3; width: 100%; justify-content: center; gap: 24px; flex-wrap: wrap; }
  .site-header nav a { padding: 0; }
  .hero h1 { font-size: clamp(30px, 6.8vw, 54px); }
}
@media (max-width: 520px) {
  .language-picker select { max-width: 125px; font-size: 12px; }
  .site-header nav { gap: 18px; }
  .hero-benefits > span { border: 0; }
  .drop-actions { gap: 14px; }
  #choose-files { min-width: 0; }
  .workbench-bottom .button { white-space: normal; }
  .closing-cta h2 { overflow-wrap: anywhere; }
}
