/* SheetCommand — clear type, generous controls, a blue-led identity. */
:root {
  color-scheme: light;
  --ink: #111b2e;
  --ink-soft: #26344c;
  --muted: #26344c;
  --blue: #1259dc;
  --blue-dark: #0b3fa5;
  --blue-soft: #edf4ff;
  --navy: #090e19;
  --line: #d9e1ed;
  --paper: #f7f9fd;
  --green: #08744c;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, textarea, input { font: inherit; }
button, a, label, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--blue); text-underline-offset: 4px; }
img { max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible, .dropzone:focus-within { outline: 3px solid #2475ff; outline-offset: 4px; }
::selection { color: #fff; background: var(--blue); }
.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; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 200; padding: 12px 20px; color: #fff; background: var(--blue); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.content-wrap, .nav-wrap, .footer-wrap, .copyright { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.narrow { width: min(1120px, calc(100% - 64px)); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }

/* Navigation */
.topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.brand-copy strong { font-size: 23px; line-height: 1.1; letter-spacing: -.06em; font-weight: 800; }
.brand-dot { color: var(--blue); }
.topbar nav, .nav-actions { display: flex; align-items: center; gap: 25px; }
.topbar nav a { padding-block: 12px; color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar nav a:hover { color: var(--blue); }
.nav-actions { gap: 16px; }
.language-menu { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 10px; }
.language-menu a { display: grid; place-items: center; min-width: 34px; min-height: 36px; color: var(--ink); border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.language-menu a[aria-current] { background: var(--ink); color: #fff; }
.language-menu a:hover:not([aria-current]) { background: var(--blue-soft); }
.nav-cta, .outline-button, .final-cta > a, .article-cta > a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 20px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; }
.nav-cta:hover, .final-cta > a:hover, .article-cta > a:hover { background: var(--blue-dark); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; font-size: 15px; font-weight: 700; }

/* Opening */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 48px 0 148px; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 50% 115%, #123e83 0%, transparent 65%); }
.hero-orbit { position: absolute; z-index: -1; left: 50%; top: 135px; width: 1800px; height: 850px; border: 1px solid #214879; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 100px #0e449322; pointer-events: none; }
.hero-content { position: relative; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #fff; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: #59e4aa; border-radius: 50%; }
.hero h1 { margin: 20px auto; max-width: 1000px; font-size: clamp(46px, 5.2vw, 68px); line-height: 1.07; letter-spacing: -.055em; font-weight: 700; }
.hero h1 em { color: #87bcff; font-style: normal; }
.hero-copy { max-width: 750px; margin: 0 auto 23px; color: #fff; font-size: 21px; line-height: 1.6; }
.hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; color: #fff; font-size: 16px; }
.hero-meta span { display: inline-flex; gap: 8px; align-items: center; }
.hero-meta svg { width: 18px; height: 18px; color: #88beff; stroke-width: 2; }

/* Tool */
.workspace-section { position: relative; margin-top: -106px; z-index: 2; scroll-margin-top: 105px; }
.tool-card { background: #fff; border: 1px solid #d5deed; border-radius: 20px; box-shadow: 0 22px 65px #16356112, 0 0 0 6px #ffffff0d; overflow: hidden; }
.tool-toolbar { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 32px; border-bottom: 1px solid var(--line); }
.tool-toolbar h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 19px; letter-spacing: -.02em; }
.tool-toolbar h2 svg { color: var(--blue); }
.tool-status { display: inline-flex; align-items: center; gap: 9px; color: #075e3f; font-size: 14px; font-weight: 600; }
.tool-status .status-dot { background: #08744c; }
.tool-grid { display: grid; grid-template-columns: .85fr 1.15fr; }
.upload-panel, .command-panel { min-width: 0; padding: 32px; }
.upload-panel { border-right: 1px solid var(--line); }
.tool-card-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 24px; }
.step-pill { display: grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid #d3e2fb; border-radius: 9px; background: var(--blue-soft); color: var(--blue-dark); font-size: 14px; font-weight: 750; }
.tool-card-heading h3 { margin: 0 0 5px; font-size: 22px; }
.tool-card-heading p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.dropzone { min-height: 260px; padding: 26px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; position: relative; text-align: center; border: 1.5px dashed #86a8dd; border-radius: 14px; background: #f7faff; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-dragging { border-color: var(--blue); background: #eaf2ff; }
.dropzone.has-file { border-color: var(--green); background: #f1faf6; }
.upload-icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--blue); }
.upload-icon svg { width: 42px; height: 42px; stroke-width: 1.4; }
.dropzone strong { font-size: 20px; line-height: 1.4; max-width: 300px; }
#selectedFile { font-size: 15px; color: var(--ink-soft); overflow-wrap: anywhere; max-width: 100%; }
.select-button { display: inline-flex; align-items: center; gap: 26px; min-height: 46px; padding: 9px 19px; margin-top: 5px; color: #fff; border-radius: 9px; background: var(--ink); font-size: 16px; font-weight: 650; }
.sample-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; margin-top: 18px; font-size: 14px; }
.upload-privacy { margin: 19px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.upload-privacy a { color: var(--blue-dark); font-weight: 700; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--blue-dark); font-size: inherit; font-weight: 700; text-underline-offset: 4px; }
.text-button:hover { text-decoration: underline; }
.command-form { position: relative; }
textarea { width: 100%; min-height: 133px; padding: 19px; display: block; resize: vertical; border: 1px solid #aebdd3; border-radius: 12px; background: #fff; color: var(--ink); font-size: 19px; line-height: 1.6; }
textarea::placeholder { color: #374b6d; opacity: 1; }
textarea:hover { border-color: var(--blue); }
.command-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; margin: 9px 0 18px; color: var(--ink-soft); font-size: 13px; }
.run-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 14px 22px; border: 0; border-radius: 10px; color: #fff; background: var(--blue); font-size: 18px; font-weight: 700; transition: background .15s, transform .15s; }
.run-button > span:last-child { margin-left: auto; }
.run-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.run-button:disabled { cursor: wait; transform: none; background: #284c86; }
.quick-label { margin: 22px 0 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 39px; padding: 7px 11px; border: 1px solid #cfdaeb; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; }
.chips button:hover, .chips button.is-selected { color: var(--blue-dark); background: var(--blue-soft); border-color: #83a9e6; }
.column-hints { margin-top: 20px; font-size: 14px; overflow-wrap: anywhere; }
.column-hints strong { display: block; }
.column-hints span { color: var(--blue-dark); }
.tool-bottom { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 32px; border-top: 1px solid var(--line); background: #f8faff; font-size: 14px; }
.tool-bottom > span { display: inline-flex; align-items: center; gap: 9px; padding-top: 5px; }
.tool-bottom > span svg { width: 19px; height: 19px; color: #08744c; }
.supported-details { max-width: 60%; }
.supported-details summary { display: flex; justify-content: flex-end; gap: 20px; padding: 5px 0; color: var(--blue-dark); list-style: none; font-weight: 700; }
.supported-details summary::-webkit-details-marker { display: none; }
.supported-details[open] summary span { transform: rotate(45deg); }
.supported-body { padding: 20px 0 6px; }
.supported-body p { margin-bottom: 15px; }
.supported-commands { display: grid; gap: 8px; }
.supported-commands button { padding: 10px 12px; display: flex; justify-content: space-between; text-align: left; gap: 12px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 15px; }
.supported-commands button:hover { border-color: var(--blue); }
.supported-body .supported-note { margin: 20px 0 0; font-size: 14px; }
.inline-error { margin: 0 32px 24px; padding: 18px 22px; border: 1px solid #eaa4a4; border-radius: 12px; background: #fff3f3; color: #851b1b; font-size: 16px; }
.inline-error p { margin: 4px 0 0; }

/* Result preview */
.results-section { margin-top: 28px; scroll-margin-top: 110px; }
.workspace-card { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 16px 50px #16356109; }
.result-topline, .result-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.result-topline h2 { margin: 4px 0 0; font-size: 26px; overflow-wrap: anywhere; }
.result-topline > div:first-child { min-width: 0; }
.result-actions { flex-shrink: 0; gap: 10px; }
.ghost-button, .download-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 9px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.download-button { color: #fff; background: var(--blue); border-color: var(--blue); }
.ghost-button:hover { background: var(--paper); }
.download-button:hover { background: var(--blue-dark); }
.is-disabled, button:disabled { opacity: .6; cursor: not-allowed; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1.3fr; margin: 25px 0; border: 1px solid var(--line); border-radius: 12px; }
.stat { padding: 18px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat > span { display: block; font-size: 15px; }
.stat strong { display: block; font-size: 30px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.stat .status-text { margin-top: 6px; color: var(--green); font-size: 20px; }
.summary { display: flex; gap: 15px; padding: 22px; margin-bottom: 24px; border: 1px solid #bdd1f2; border-radius: 12px; background: var(--blue-soft); }
.summary-icon { color: var(--blue); font-size: 24px; }
.summary strong { font-size: 17px; }
.summary p { margin: 5px 0 0; font-size: 17px; overflow-wrap: anywhere; white-space: pre-line; }
.table-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.tab { padding: 17px 9px; border: 0; border-bottom: 3px solid transparent; background: transparent; font-size: 16px; font-weight: 650; }
.tab.is-active { color: var(--blue-dark); border-color: var(--blue); }
#previewLabel { margin-left: auto; align-self: center; font-size: 14px; }
.table-wrap { overflow: auto; max-height: 540px; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 16px; }
th { position: sticky; top: 0; background: #edf2f9; color: var(--ink); text-align: left; z-index: 1; }
th, td { padding: 13px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: #f8faff; }
tbody tr:hover { background: #eaf2ff; }
.empty-state { padding: 55px 20px; text-align: center; }
.empty-state h3 { margin: 12px 0; }
.empty-state p { margin: 0; }

/* Supporting sections */
.how-section, .blog-preview, .faq-section { padding-block: 100px; }
.section-kicker { margin: 0 0 16px; color: var(--blue-dark); font-size: 14px; letter-spacing: .1em; font-weight: 750; text-transform: uppercase; }
.section-heading { max-width: 800px; margin-bottom: 42px; }
.section-heading h2, .section-title { margin: 0 0 20px; font-size: clamp(32px, 3.5vw, 46px); }
.section-heading > p:last-child { margin: 0; font-size: 19px; color: var(--ink); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps-grid article { padding: 25px 0 0; border-top: 2px solid var(--ink); }
.step-number { color: var(--blue); font-size: 16px; font-weight: 750; }
.steps-grid h3 { margin: 22px 0 13px; font-size: 25px; }
.steps-grid p { margin: 0; font-size: 18px; }
.features-section { padding-block: 90px; border-block: 1px solid var(--line); background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid article, .feature-guide { min-width: 0; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 32px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 12px; font-size: 26px; }
.feature-grid h3 { margin: 0 0 12px; font-size: 23px; }
.feature-grid p { margin: 0; font-size: 17px; color: var(--ink); }
.feature-guide { background: var(--blue); color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; }
.feature-guide img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 24px; }
.feature-guide span { margin-top: auto; padding-top: 22px; font-weight: 700; font-size: 16px; }
.feature-guide:hover { background: var(--blue-dark); }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; max-width: none; }
.split-heading h2 { max-width: 720px; margin: 0; }
.outline-button { border: 1px solid var(--ink); color: var(--ink); background: #fff; white-space: nowrap; }
.outline-button:hover { background: var(--blue-soft); }
.blog-card-grid, .blog-index-grid, .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: border-color .2s, transform .2s; }
.blog-card:hover { border-color: #82a6e3; transform: translateY(-3px); }
.blog-card-kicker { display: flex; justify-content: space-between; gap: 15px; color: var(--blue-dark); font-size: 14px; font-weight: 700; }
.blog-card h2, .blog-card h3 { margin: 34px 0 17px; font-size: 26px; line-height: 1.3; }
.blog-card h2 a, .blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card p { margin: 0 0 28px; font-size: 17px; color: var(--ink); }
.blog-card-link { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; text-decoration: none; }
.faq-section { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 40px 24px 0; list-style: none; font-size: 20px; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 21px; font-size: 27px; color: var(--blue); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 0 0 24px; font-size: 17px; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 45px 50px; margin-bottom: 80px; border-radius: 20px; background: var(--navy); color: #fff; }
.final-cta img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 20px; }
.final-cta h2 { margin: 0 0 12px; font-size: 36px; }
.final-cta p { margin: 0; font-size: 18px; color: #fff; }
.final-cta > a { background: #fff; color: var(--ink); flex-shrink: 0; min-height: 56px; padding-inline: 26px; }
.final-cta > a:hover { background: #dceaff; }

/* Reading pages */
.content-hero { background: var(--paper); padding: 50px 0 65px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; font-size: 15px; color: var(--ink-soft); }
.breadcrumbs a { text-decoration: none; font-weight: 600; }
.content-hero h1 { max-width: 1000px; margin: 0 0 24px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.12; }
.blog-intro { max-width: 860px; margin: 0; font-size: 21px; color: var(--ink); }
.article-meta, .privacy-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; font-size: 15px; color: var(--ink-soft); }
.blog-index-grid { margin-top: 48px; }
.guide-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.guide-nav a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.guide-nav a:hover { border-color: var(--blue); color: var(--blue-dark); }
.guide-nav span { color: var(--blue-dark); }
.guide-group { margin-top: 55px; scroll-margin-top: 115px; }
.guide-group > h2 { margin: 0; font-size: 31px; }
.guide-group .blog-index-grid { margin-top: 22px; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 65px; margin-top: 60px; }
.article-main { min-width: 0; }
.article-lead { font-size: 22px; line-height: 1.7; margin-bottom: 44px; }
.article-section { margin: 0 0 42px; padding-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: 115px; }
.article-section h2, .article-faq h2 { margin: 0 0 22px; font-size: 32px; line-height: 1.25; }
.article-section p, .article-faq p, .privacy-section p, .privacy-section li { margin: 0 0 18px; font-size: 19px; line-height: 1.8; color: var(--ink); }
.article-example-table { overflow-x: auto; margin: 26px 0 32px; border: 1px solid var(--line); border-radius: 12px; }
.article-example-table table { min-width: 460px; }
.article-example-table th, .article-example-table td { position: static; padding: 14px 18px; text-align: left; font-size: 17px; }
.article-example-table tbody tr:nth-child(even) { background: #f8faff; }
.article-code { margin: 28px 0; }
.article-code > span { display: block; margin-bottom: 8px; font-weight: 750; color: var(--ink); }
.article-code pre { overflow-x: auto; margin: 0; padding: 22px; border-radius: 12px; background: #111b2e; color: #fff; font-size: 15px; line-height: 1.7; }
.article-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-sources h2 { font-size: 25px; }
.article-sources ul { padding-left: 24px; line-height: 1.8; }
.article-sources a { color: var(--blue-dark); font-weight: 650; }
.article-steps h3 { margin: 26px 0 18px; font-size: 23px; }
.article-steps ol { padding-left: 28px; }
.article-steps li { padding: 5px 0 5px 8px; font-size: 18px; }
.article-steps li::marker { color: var(--blue-dark); font-weight: 700; }
.article-command { margin: 28px 0 10px; padding: 24px; border: 1px solid #bed2f2; border-left: 4px solid var(--blue); border-radius: 12px; background: var(--blue-soft); }
.article-command > span { display: block; margin-bottom: 12px; color: var(--blue-dark); font-size: 14px; font-weight: 750; }
.article-command code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; line-height: 1.8; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.article-sidebar { position: sticky; top: 115px; align-self: start; padding-left: 24px; border-left: 1px solid var(--line); }
.article-toc { display: grid; gap: 17px; font-size: 16px; }
.article-toc strong { margin-bottom: 5px; font-size: 18px; }
.article-toc a { color: var(--ink); text-decoration: none; }
.article-toc a:hover { color: var(--blue); }
.article-faq { margin: 45px 0; }
.article-faq > div { padding-top: 22px; border-top: 1px solid var(--line); }
.article-faq h3 { font-size: 22px; line-height: 1.4; }
.article-cta { margin-block: 48px 65px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #c3d6f3; border-radius: 15px; background: var(--blue-soft); }
.article-cta h2 { margin: 0 0 14px; font-size: 27px; }
.article-cta p { margin: 0; color: var(--ink); font-size: 17px; }
.article-cta .section-kicker { margin-bottom: 12px; font-size: 14px; }
.article-cta > a { flex-shrink: 0; }
.article-main .article-cta { flex-direction: column; align-items: flex-start; }
.related-section { margin-block: 40px 90px; }
.related-section > h2 { font-size: 34px; margin-bottom: 28px; }
.privacy-shell { max-width: 900px; padding-block: 55px 85px; }
.privacy-section { margin-bottom: 44px; }
.privacy-section h2 { font-size: 29px; }
.article-back { display: inline-flex; padding: 10px 0; font-weight: 700; }

/* Footer and system feedback */
footer { padding: 65px 0 0; border-top: 1px solid var(--line); background: var(--paper); }
.footer-wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 55px; }
.footer-about p { margin: 19px 0 0; font-size: 18px; color: var(--ink); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 16px; }
.footer-column strong { margin: 10px 0; font-size: 18px; }
.footer-column a { color: var(--ink); text-decoration: none; padding: 3px 0; }
.footer-column button { padding: 3px 0; border: 0; background: none; color: var(--ink); font-size: 16px; text-align: left; }
.footer-column button:hover { color: var(--blue); text-decoration: underline; }
.footer-column a:hover { color: var(--blue); }
.copyright { margin-top: 50px; padding-block: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--ink); }
.cookie-banner { position: fixed; z-index: 80; bottom: 20px; left: 20px; width: min(670px, calc(100% - 40px)); padding: 20px 24px; display: flex; gap: 20px; align-items: center; border: 1px solid #4b5b77; border-radius: 15px; background: #101b30; box-shadow: 0 10px 35px #0003; color: #fff; }
.cookie-banner p { margin: 0; font-size: 14px; }
.cookie-banner strong, .cookie-banner p > span { display: block; }
.cookie-banner strong { font-size: 17px; margin-bottom: 5px; }
.cookie-banner a { color: #b8d8ff; }
.cookie-banner > div { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button { min-height: 44px; padding: 9px 13px; border: 1px solid #b5c5df; border-radius: 8px; background: #101b30; color: #fff; font-size: 14px; font-weight: 650; }
.cookie-banner #cookieAccept { background: #fff; color: var(--ink); }
.toast { position: fixed; z-index: 100; top: 108px; left: 50%; max-width: min(600px, calc(100% - 32px)); padding: 15px 22px; background: var(--ink); color: #fff; border: 1px solid #3e567e; border-radius: 12px; box-shadow: 0 10px 35px #0002; font-size: 16px; transform: translate(-50%, -15px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #8e2020; border-color: #8e2020; }
.loading { position: fixed; bottom: 24px; right: 24px; z-index: 110; display: flex; gap: 12px; align-items: center; padding: 16px 22px; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: 0 10px 30px #0002; }
.loading p { margin: 0; font-size: 16px; }
.loading > span { width: 22px; height: 22px; border: 2px solid #86baff; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .topbar nav { gap: 17px; }
  .topbar nav a { font-size: 15px; }
  .nav-cta { display: none; }
  .article-shell { gap: 35px; grid-template-columns: minmax(0, 1fr) 215px; }
  .hero h1 { font-size: 64px; }
}
@media (max-width: 850px) {
  .content-wrap, .nav-wrap, .footer-wrap, .copyright, .narrow { width: calc(100% - 40px); }
  .nav-wrap { min-height: 76px; }
  .brand-copy strong { font-size: 21px; }
  .brand-mark { width: 44px; height: 44px; }
  .menu-toggle { display: flex; }
  .nav-actions { gap: 10px; }
  .topbar nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px #10203b0a; }
  .topbar nav.is-open { display: grid; gap: 3px; }
  .topbar nav a { padding: 12px 8px; font-size: 17px; }
  .hero { padding: 55px 0 145px; }
  .hero h1 { font-size: 54px; }
  .hero-copy { font-size: 20px; }
  .tool-grid { grid-template-columns: 1fr; }
  .upload-panel { border: 0; border-bottom: 1px solid var(--line); }
  .dropzone { min-height: 215px; }
  .tool-card-heading { margin-bottom: 20px; }
  .steps-grid { gap: 24px; }
  .feature-grid, .blog-card-grid, .blog-index-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card-grid .blog-card:last-child { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: 1fr; gap: 20px; }
  .faq-layout .section-heading { margin-bottom: 10px; }
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .final-cta { padding: 35px; }
  .final-cta h2 { font-size: 30px; }
  .result-topline { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 100px; }
  .content-wrap, .nav-wrap, .footer-wrap, .copyright, .narrow { width: calc(100% - 32px); }
  .nav-wrap { flex-wrap: wrap; gap: 8px; padding-block: 12px; }
  .brand { gap: 5px; }
  .brand-copy strong { font-size: 18px; }
  .brand-mark { width: 40px; height: 40px; }
  .language-menu { padding: 2px; }
  .language-menu a { min-width: 28px; min-height: 34px; font-size: 12px; }
  .menu-toggle { padding: 8px; border: 0; }
  .menu-toggle > span { display: none; }
  .nav-actions { gap: 4px; }
  .hero { padding: 42px 0 122px; }
  .hero h1 { font-size: clamp(36px, 9vw, 48px); line-height: 1.1; margin-block: 20px; }
  .hero-badge { font-size: 14px; }
  .hero-copy { font-size: 18px; line-height: 1.65; }
  .hero-meta { gap: 9px 16px; font-size: 14px; }
  .hero-orbit { width: 1000px; top: 190px; }
  .workspace-section { margin-top: -78px; }
  .tool-card { border-radius: 16px; }
  .tool-toolbar { padding: 18px; flex-wrap: wrap; gap: 8px; }
  .tool-toolbar h2 { font-size: 18px; }
  .tool-status { font-size: 13px; }
  .upload-panel, .command-panel { padding: 23px 20px; }
  .tool-card-heading h3 { font-size: 20px; }
  .tool-card-heading p { font-size: 14px; }
  .dropzone { padding: 22px 15px; min-height: 235px; }
  .dropzone strong { font-size: 19px; }
  .sample-row { font-size: 14px; }
  .sample-row button { min-height: 40px; }
  .sample-row > span { align-self: center; }
  textarea { min-height: 146px; font-size: 18px; }
  .command-meta { font-size: 12px; }
  .chips button { min-height: 44px; font-size: 14px; }
  .tool-bottom { padding: 18px 20px; flex-direction: column; gap: 13px; }
  .supported-details { max-width: none; width: 100%; }
  .supported-details summary { justify-content: space-between; min-height: 40px; align-items: center; }
  .inline-error { margin: 0 20px 20px; padding: 16px; }
  .workspace-card { padding: 22px 16px; border-radius: 15px; }
  .result-topline h2 { font-size: 22px; }
  .result-actions { width: 100%; }
  .download-button { flex: 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; }
  .stat:nth-child(2) { border: 0; }
  .stat:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
  .stat .status-text { margin: 0; font-size: 18px; }
  .summary { padding: 16px; gap: 10px; }
  .summary p { font-size: 16px; }
  .tabs { padding: 0 9px; gap: 0 6px; }
  .tab { font-size: 14px; padding-inline: 6px; }
  #previewLabel { width: 100%; margin: 0; padding-bottom: 12px; font-size: 13px; }
  th, td { padding: 12px 16px; }
  .how-section, .blog-preview, .features-section { padding-block: 65px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .section-title { font-size: 32px; }
  .section-heading > p:last-child { font-size: 18px; }
  .steps-grid, .feature-grid, .blog-card-grid, .blog-index-grid, .related-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps-grid article { padding-top: 22px; padding-bottom: 15px; }
  .steps-grid h3 { margin-top: 16px; }
  .feature-grid article, .feature-guide { padding: 26px; }
  .feature-icon { margin-bottom: 24px; }
  .split-heading { flex-direction: column; align-items: flex-start; gap: 22px; }
  .blog-card { padding: 26px; }
  .blog-card h2, .blog-card h3 { font-size: 25px; }
  .faq-section { padding-bottom: 65px; }
  .faq-list summary { font-size: 18px; }
  .final-cta { flex-direction: column; align-items: flex-start; padding: 28px; margin-bottom: 60px; gap: 28px; }
  .final-cta > a { width: 100%; }
  .content-hero { padding: 30px 0 42px; }
  .breadcrumbs { margin-bottom: 30px; font-size: 14px; }
  .content-hero h1 { font-size: 36px; }
  .blog-intro { font-size: 19px; }
  .article-shell { margin-top: 35px; }
  .article-lead { font-size: 20px; }
  .article-section h2, .article-faq h2 { font-size: 28px; }
  .article-section p, .article-faq p, .privacy-section p, .privacy-section li { font-size: 18px; }
  .article-command { padding: 18px; }
  .article-command code { font-size: 16px; }
  .article-cta { padding: 26px; flex-direction: column; align-items: flex-start; }
  .article-cta > a { width: 100%; }
  .footer-wrap { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-brand .brand-copy strong { font-size: 23px; }
  .copyright { flex-direction: column; gap: 8px; }
  .cookie-banner { padding: 18px; flex-direction: column; align-items: stretch; gap: 14px; left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .cookie-banner > div { justify-content: flex-end; }
  .cookie-banner button { flex: 1; }
  .loading { bottom: 15px; right: 15px; left: 15px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
