:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --bg-soft: #f1f5fb;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --text: #111827;
  --text-2: #536174;
  --text-3: #7d8999;
  --line: #e3e9f1;
  --line-strong: #d5deea;
  --blue: #1769e8;
  --blue-dark: #0f55c8;
  --blue-soft: #edf4ff;
  --blue-line: #cfe0ff;
  --green: #16865b;
  --green-soft: #eaf8f1;
  --red: #c54848;
  --shadow-card: 0 18px 54px rgba(29, 54, 92, .075), 0 2px 8px rgba(29, 54, 92, .035);
  --shadow-soft: 0 8px 26px rgba(29, 54, 92, .055);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --ease: .2s cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { display: block; }

/* Shared topbar — injected by site.js */
.rh-topbar {
  position: fixed; inset: 0 0 auto; z-index: 300;
  height: 66px; display: flex; align-items: center;
  padding: 0;
  background: rgba(255,255,255,.82); border-bottom: 1px solid rgba(218,226,237,.8);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  transition: transform .28s ease, background var(--ease), box-shadow var(--ease);
}
.rh-topbar.is-hidden { transform: translateY(-105%); }
.rh-topbar-shell { width: min(calc(100% - 48px), 1180px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.rh-brand { display: inline-flex; align-items: center; min-width: 0; color: var(--text); text-decoration: none; }
.rh-brand-copy { display: grid; gap: 2px; }
.rh-brand-name { font-size: 14px; line-height: 1; font-weight: 750; letter-spacing: -.035em; }
.rh-brand-sub { color: var(--text-3); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rh-topbar-right { display: flex; align-items: center; gap: 16px; }
.rh-topbar-note { color: var(--text-3); font-size: 11px; font-weight: 550; }
.rh-hub-link {
  min-height: 36px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 15px; border: 1px solid #dce6f5; border-radius: 999px; background: rgba(255,255,255,.74);
  color: #24436c; text-decoration: none; font-size: 11px; font-weight: 700; transition: all var(--ease);
}
.rh-hub-link:hover { border-color: #b9d0f4; background: #f1f6ff; color: var(--blue-dark); transform: translateY(-1px); }

main { position: relative; z-index: 1; padding-top: 66px; }
section { width: min(calc(100% - 48px), 1180px); margin-inline: auto; }
.hero-section { padding: 86px 0 54px; text-align: center; }
.hero-format-mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 25px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: 0 3px 12px rgba(37,62,101,.035); }
.fmt-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 43px; height: 23px; padding: 0 8px; border-radius: 6px; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.fmt-chip.heic { color: #fff; background: #34445b; border: 1px solid #34445b; }
.fmt-chip.jpg { color: #fff; background: #155eef; border: 1px solid #155eef; box-shadow: 0 3px 8px rgba(21,94,239,.18); }
.fmt-chip.png { color: #fff; background: #25364d; border: 1px solid #25364d; box-shadow: 0 3px 8px rgba(37,54,77,.14); }
.format-convert-label { color: #52647d; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.format-slash { color: #53647a; font-size: 12px; font-weight: 800; }
h1 { margin: 0; color: #111827; font-size: clamp(56px, 8vw, 88px); line-height: .98; letter-spacing: -.085em; font-weight: 750; }
.hero-lead { margin: 19px 0 0; color: #273449; font-size: clamp(18px, 2.5vw, 23px); line-height: 1.35; font-weight: 600; letter-spacing: -.04em; }
.hero-sub { max-width: 590px; margin: 15px auto 0; color: var(--text-2); font-size: 14px; line-height: 1.8; font-weight: 400; }
.hero-pills { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 25px auto 28px; }
.hero-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #e4eaf2; border-radius: 999px; background: rgba(255,255,255,.72); color: #536174; font-size: 10px; font-weight: 600; }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #2b9b6d; box-shadow: 0 0 0 3px #e6f6ee; }
.hero-metrics { width: min(100%, 610px); display: grid; grid-template-columns: repeat(3,1fr); margin: 0 auto 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 6px 24px rgba(33,62,105,.035); }
.metric { min-height: 73px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong { color: #172235; font-size: 17px; line-height: 1.1; font-weight: 750; letter-spacing: -.045em; }
.metric span { color: var(--text-3); font-size: 9px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 21px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: white; text-decoration: none; font-size: 12px; font-weight: 700; box-shadow: 0 5px 14px rgba(23,105,232,.18); transition: all var(--ease); }
.hero-cta:hover { border-color: var(--blue-dark); background: var(--blue-dark); box-shadow: 0 8px 20px rgba(23,105,232,.22); transform: translateY(-2px); }

.tool-section { padding: 50px 0 72px; }
.section-heading { max-width: 700px; margin-bottom: 25px; }
.centered-heading { margin-inline: auto; text-align: center; }
.section-eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.section-title { margin: 0; color: #121b2a; font-size: clamp(30px, 4.8vw, 43px); line-height: 1.12; font-weight: 700; letter-spacing: -.065em; }
.section-title span { color: #7c899b; font-weight: 550; }
.section-description { margin: 11px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.75; }
.tool-card { padding: 20px; border: 1px solid #dce4ee; border-radius: var(--radius-xl); background: rgba(255,255,255,.94); box-shadow: var(--shadow-card); }
.tool-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 16px; }
.studio-label { display: inline-flex; align-items: center; gap: 8px; color: #263449; font-size: 11px; font-weight: 750; letter-spacing: -.01em; }
.studio-indicator { width: 7px; height: 7px; border-radius: 50%; background: #24996a; box-shadow: 0 0 0 3px #e8f7ef; }
.studio-limit { color: #8a96a6; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.studio-limit span { padding: 0 4px; color: #c2cad5; }

.drop-zone { min-height: 236px; display: flex; align-items: center; justify-content: center; padding: 35px 20px; border: 1.5px dashed #b9cce7; border-radius: 17px; background: linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%); text-align: center; cursor: pointer; outline: none; transition: border-color var(--ease), background var(--ease), box-shadow var(--ease), transform var(--ease); }
.drop-zone:hover, .drop-zone.dz-over, .drop-zone:focus-visible { border-color: #6fa0ed; background: #eff6ff; box-shadow: inset 0 0 0 1px rgba(67,132,226,.08); }
.drop-zone:focus-visible { outline: 3px solid rgba(23,105,232,.16); outline-offset: 3px; }
.dz-inner { display: flex; flex-direction: column; align-items: center; }
.dz-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 13px; border: 1px solid #d7e5fa; border-radius: 16px; background: white; color: #397bd5; box-shadow: 0 5px 15px rgba(37,89,159,.07); }
.dz-icon svg { width: 34px; height: 34px; }
.dz-title { color: #1a2638; font-size: 16px; line-height: 1.35; font-weight: 700; letter-spacing: -.035em; }
.dz-sub { margin-top: 6px; color: #6f7e91; font-size: 12px; }
.dz-link { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(23,105,232,.35); text-underline-offset: 3px; cursor: pointer; }
.dz-link:hover { color: var(--blue-dark); text-decoration-color: currentColor; }
.dz-footnote { margin-top: 17px; color: #99a5b5; font-size: 9px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }

.fmt-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 18px 0 15px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.setting-group { display: flex; align-items: center; gap: 12px; }
.fmt-label { color: #718095; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.fmt-options { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #e5eaf1; border-radius: 9px; background: #f1f4f8; }
.fmt-btn { min-height: 28px; padding: 0 11px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #748196; font-size: 10px; font-weight: 700; cursor: pointer; transition: all var(--ease); }
.fmt-btn:hover { color: #26364d; }
.fmt-btn.active { border-color: #d9e4f4; background: white; color: #155fc9; box-shadow: 0 1px 3px rgba(29,55,92,.08); }

.file-list { margin: 17px 0 15px; }
.fl-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.fl-label { color: #42516a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fl-count { color: #8793a3; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fl-items { display: flex; flex-direction: column; gap: 6px; max-height: 390px; margin: 0; padding: 0 3px 0 0; overflow: auto; list-style: none; }
.fl-item { min-height: 46px; display: flex; align-items: center; gap: 11px; padding: 8px 11px; border: 1px solid #e8edf4; border-radius: 10px; background: #fbfcfe; }
.fl-item-name { min-width: 0; flex: 1; overflow: hidden; color: #28364b; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.fl-item-meta { flex-shrink: 0; color: #8b97a7; font-size: 9px; font-weight: 550; }
.fl-item-status { flex-shrink: 0; color: #8793a3; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fl-item-status.ok { color: var(--green); }
.fl-item-status.err { color: var(--red); }
.fl-item-status.proc { color: var(--blue); animation: status-pulse .9s ease-in-out infinite; }
@keyframes status-pulse { 50% { opacity: .42; } }
.fl-item-remove { width: 25px; height: 25px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #9aa5b4; font-size: 16px; line-height: 1; cursor: pointer; transition: all var(--ease); }
.fl-item-remove:hover { background: #fff0f0; color: #c54848; }

.tool-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.controls-hint { color: #8793a3; font-size: 10px; font-weight: 600; }
.controls-right { display: flex; align-items: center; gap: 8px; }
.btn-primary, .btn-secondary, .btn-dl { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border-radius: 9px; font-size: 11px; font-weight: 700; cursor: pointer; transition: all var(--ease); }
.btn-primary { border: 1px solid var(--blue); background: var(--blue); color: #fff; box-shadow: 0 4px 11px rgba(23,105,232,.14); }
.btn-primary:hover:not(:disabled) { border-color: var(--blue-dark); background: var(--blue-dark); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }
.btn-primary svg, .btn-dl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-secondary { border: 1px solid #dfe6ef; background: #fff; color: #68768a; }
.btn-secondary:hover:not(:disabled) { border-color: #bdcde1; background: #f7faff; color: #233b5d; }
.btn-secondary:disabled { opacity: .45; cursor: not-allowed; }

.progress-wrap { margin-top: 18px; padding-top: 17px; border-top: 1px solid #edf0f5; }
.progress-track { width: 100%; height: 5px; margin-bottom: 9px; overflow: hidden; border-radius: 99px; background: #eaf0f8; }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4e91f0, #1769e8); transition: width .3s ease; }
.progress-text { color: #718095; font-size: 10px; font-weight: 600; }
.result-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 17px; padding: 14px; border: 1px solid #d9eee3; border-radius: 13px; background: #f6fcf8; }
.result-icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #cce9d8; border-radius: 10px; background: var(--green-soft); color: var(--green); }
.result-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-info { min-width: 130px; flex: 1; }
.result-info strong { display: block; color: #1b4734; font-size: 13px; font-weight: 750; letter-spacing: -.02em; }
.result-info span { display: block; margin-top: 3px; color: #6d8b7a; font-size: 10px; }
.result-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.btn-dl { border: 1px solid #18885b; background: #18885b; color: white; }
.btn-dl:hover { border-color: #116b47; background: #116b47; transform: translateY(-1px); }
.ad-slot { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; margin-top: 12px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--bg-soft); }
.ad-slot span { color: #aab4c2; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.tool-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 15px 0 0; color: #7f8c9e; font-size: 10px; line-height: 1.6; text-align: center; }
.tool-note svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: #4d9a75; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.content-section { padding: 64px 0 70px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.step-card { min-width: 0; padding: 23px 21px; border: 1px solid #e2e8f0; border-radius: 17px; background: rgba(255,255,255,.84); box-shadow: 0 6px 20px rgba(29,54,92,.025); transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.step-card:hover { border-color: #ccd9e9; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.step-num { display: block; color: #96a3b5; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.step-icon { width: 37px; height: 37px; display: grid; place-items: center; margin: 19px 0 16px; border: 1px solid #dce8f8; border-radius: 11px; background: #f1f6ff; color: #397bd5; }
.step-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-card h3 { margin: 0 0 8px; color: #1d2a3d; font-size: 15px; font-weight: 700; letter-spacing: -.035em; }
.step-card p { margin: 0; color: #68768a; font-size: 11px; line-height: 1.8; }
.use-cases-section { padding-top: 28px; padding-bottom: 100px; }
.shines-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.use-case-card { padding: 25px 23px; }
.use-case-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #7f91a8; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.use-case-mark span { color: #98a4b3; font-size: 8px; letter-spacing: .15em; }
.use-case-card h3 { margin-bottom: 9px; font-size: 17px; }
.use-case-card p { max-width: 510px; font-size: 12px; }

/* Shared footer — injected by site.js */
.rh-footer {
  position: relative; z-index: 2; margin-top: 0; padding: 42px 0 24px;
  border-top: 1px solid rgba(218,226,237,.9);
  background: rgba(255,255,255,.68); -webkit-backdrop-filter: blur(24px) saturate(165%); backdrop-filter: blur(24px) saturate(165%);
}
.rh-footer-inner { width: min(calc(100% - 48px), 1180px); margin: 0 auto; }
.rh-footer-top { display: grid; grid-template-columns: 1.15fr 2fr; gap: 42px; padding-bottom: 30px; }
.rh-footer-brand { max-width: 260px; }
.rh-footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #172235; text-decoration: none; }
.rh-footer-logo-mark { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 10px; background: #111827; color: white; font-size: 13px; font-weight: 800; letter-spacing: -.07em; }
.rh-footer-logo-text { font-size: 15px; font-weight: 750; letter-spacing: -.04em; }
.rh-footer-brand p { margin: 13px 0 0; color: #748196; font-size: 11px; line-height: 1.8; }
.rh-footer-columns { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.rh-footer-col h3 { margin: 3px 0 13px; color: #8a96a6; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.rh-footer-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.rh-footer-col a { color: #536174; text-decoration: none; font-size: 11px; font-weight: 550; transition: color var(--ease); }
.rh-footer-col a:hover { color: var(--blue); }
.rh-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 17px; border-top: 1px solid rgba(218,226,237,.82); }
.rh-footer-bottom p { margin: 0; color: #93a0af; font-size: 9px; line-height: 1.6; }
.rh-footer-bottom a { color: #63748b; font-weight: 700; text-decoration: none; }
.rh-footer-bottom a:hover { color: var(--blue); }
.rh-footer-powered { display: inline-flex; align-items: center; gap: 6px; }
.rh-footer-powered::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #4388e8; }

#toast { position: fixed; left: 50%; bottom: 24px; z-index: 999; max-width: calc(100vw - 32px); padding: 10px 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: #172235; color: white; box-shadow: 0 8px 28px rgba(12,28,53,.2); font-size: 11px; font-weight: 700; text-align: center; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(-50%, 9px); transition: opacity .2s ease, transform .2s ease; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.terror { background: #b83c3c; }

@media (max-width: 760px) {
  .rh-topbar { height: 60px; }
  .rh-topbar-shell { width: calc(100% - 40px); }
  main { padding-top: 60px; }
  section { width: calc(100% - 40px); }
  .hero-section { padding-top: 68px; padding-bottom: 40px; }
  .tool-section { padding-top: 40px; }
  .content-section { padding-top: 48px; padding-bottom: 50px; }
  .steps-grid { gap: 9px; }
  .step-card { padding: 19px 17px; }
  .step-icon { margin: 14px 0 13px; }
  .rh-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .rh-footer-brand { max-width: 360px; }
  .rh-footer-columns { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
  .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technical-layout { grid-template-columns: minmax(0,1.4fr) minmax(220px,.9fr); gap: 18px; }
}

@media (max-width: 560px) {
  .rh-topbar-shell { width: calc(100% - 32px); }
  .rh-topbar-note { display: none; }
  .rh-hub-link { min-height: 34px; padding-inline: 12px; font-size: 10px; }
  section { width: calc(100% - 32px); }
  .hero-section { padding-top: 56px; }
  h1 { font-size: clamp(51px, 15vw, 70px); }
  .hero-lead { max-width: 340px; margin-inline: auto; }
  .hero-sub { max-width: 390px; font-size: 12px; }
  .hero-pills { gap: 6px; margin-top: 20px; }
  .hero-pill { padding: 6px 9px; font-size: 9px; }
  .hero-metrics { margin-bottom: 22px; }
  .metric { min-height: 66px; padding: 9px 4px; }
  .metric strong { font-size: 14px; }
  .metric span { font-size: 7px; letter-spacing: .06em; }
  .tool-card { padding: 12px; border-radius: 19px; }
  .tool-card-topline { padding: 2px 2px 12px; }
  .studio-limit { font-size: 7px; }
  .drop-zone { min-height: 215px; padding: 27px 12px; }
  .dz-title { font-size: 14px; }
  .fmt-row { align-items: stretch; flex-direction: column; gap: 12px; padding: 12px; }
  .setting-group { justify-content: space-between; gap: 8px; }
  .quality-group { padding-top: 10px; border-top: 1px solid #e9edf3; }
  .fmt-btn { min-width: 45px; padding-inline: 9px; }
  .tool-controls { align-items: stretch; flex-direction: column; }
  .controls-hint { padding-left: 2px; }
  .controls-right { width: 100%; }
  .controls-right button { flex: 1; }
  .fl-item { gap: 7px; padding-inline: 8px; }
  .fl-item-meta { font-size: 8px; }
  .fl-item-status { font-size: 8px; }
  .result-wrap { align-items: flex-start; }
  .result-info { min-width: 0; padding-top: 2px; }
  .result-actions { width: 100%; }
  .result-actions button { flex: 1; }
  .tool-note { align-items: flex-start; font-size: 9px; }
  .steps-grid, .shines-grid, .editorial-grid.two-up, .format-choice-grid, .faq-list { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technical-layout, .standard-benefit { grid-template-columns: 1fr; gap: 16px; }
  .editorial-card, .format-choice-card { padding: 22px 19px; }
  .editorial-section { padding-top: 48px; padding-bottom: 50px; }
  .faq-section { padding-bottom: 68px; }
  .step-card { padding: 20px; }
  .step-icon { margin: 12px 0 11px; }
  .use-case-card { padding: 21px; }
  .rh-footer { padding: 34px 0 20px; }
  .rh-footer-inner { width: calc(100% - 32px); }
  .rh-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 24px; }
  .rh-footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .rh-topbar, .rh-footer, .hero-section, .tool-card { display: none !important; }
}


/* SEO / educational content — kept separate from the converter workspace */
.editorial-section { padding-top: 66px; padding-bottom: 68px; }
.editorial-section .section-heading { max-width: 780px; }
.editorial-grid { display: grid; gap: 14px; }
.editorial-grid.two-up { grid-template-columns: repeat(2,minmax(0,1fr)); }
.editorial-card { min-width: 0; padding: 28px 28px 26px; border: 1px solid #e0e7f0; border-radius: 19px; background: rgba(255,255,255,.88); box-shadow: 0 7px 24px rgba(29,54,92,.035); }
.editorial-kicker { display: inline-block; margin-bottom: 13px; color: #1769e8; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.editorial-card h3, .standard-benefit h3 { margin: 0 0 11px; color: #172235; font-size: 19px; font-weight: 720; letter-spacing: -.045em; }
.editorial-card p, .technical-copy p { margin: 0 0 13px; color: #59687c; font-size: 12px; line-height: 1.9; }
.editorial-card p:last-child, .technical-copy p:last-child { margin-bottom: 0; }
.benefit-card { background: linear-gradient(145deg,#fff 0%,#f6f9ff 100%); }
.tradeoff-card { background: linear-gradient(145deg,#fff 0%,#f8fafc 100%); }
.editorial-takeaway { margin: 16px 0 0; padding: 18px 21px; border-left: 3px solid #1769e8; border-radius: 0 12px 12px 0; background: #edf4ff; color: #43546c; font-size: 12px; line-height: 1.8; }
.editorial-takeaway strong { color: #163b71; }
.audience-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.audience-card { min-width: 0; padding: 22px 19px; border: 1px solid #e2e8f0; border-radius: 16px; background: rgba(255,255,255,.86); }
.audience-card h3 { margin: 0 0 9px; color: #1d2a3d; font-size: 14px; font-weight: 750; letter-spacing: -.03em; }
.audience-card p { margin: 0; color: #68768a; font-size: 11px; line-height: 1.85; }
.format-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.format-choice-card { min-width: 0; padding: 27px 27px 24px; border: 1px solid #dfe7f1; border-radius: 19px; background: #fff; box-shadow: 0 7px 24px rgba(29,54,92,.035); }
.format-choice-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.large-format-chip { min-width: 54px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.jpg-chip { background: #155eef; }
.png-chip { background: #25364d; }
.format-choice-label { color: #5d6e84; font-size: 9px; font-weight: 850; letter-spacing: .11em; text-align: right; }
.format-choice-card h3 { margin: 0 0 10px; color: #172235; font-size: 19px; font-weight: 750; letter-spacing: -.04em; }
.format-choice-card p, .format-choice-card li { color: #5d6b7e; font-size: 12px; line-height: 1.85; }
.format-choice-card p { margin: 0 0 14px; }
.format-choice-card ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; }
.format-choice-card li::marker { color: #1769e8; }
.format-note { margin: 15px 0 0; color: #708095; font-size: 11px; line-height: 1.85; }
.technical-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(250px,.9fr); align-items: start; gap: 28px; }
.technical-copy { max-width: 760px; }
.technical-copy strong { color: #24354d; font-weight: 750; }
.technical-facts { display: grid; gap: 0; overflow: hidden; border: 1px solid #dfe7f1; border-radius: 16px; background: #fff; }
.technical-facts div { display: grid; gap: 5px; padding: 15px 18px; }
.technical-facts div + div { border-top: 1px solid #edf1f6; }
.technical-facts span { color: #1769e8; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.technical-facts strong { color: #34445a; font-size: 11px; font-weight: 650; line-height: 1.5; }
.standard-benefit { display: grid; grid-template-columns: minmax(190px,.75fr) minmax(0,1.5fr); align-items: center; gap: 26px; margin-top: 22px; padding: 24px 26px; border: 1px solid #d6e4f7; border-radius: 17px; background: linear-gradient(110deg,#f4f8ff,#fff); }
.standard-benefit .editorial-kicker { margin-bottom: 7px; }
.standard-benefit h3 { margin-bottom: 0; font-size: 17px; }
.standard-benefit p { margin: 0; color: #596a80; font-size: 12px; line-height: 1.85; }
.faq-section { padding-top: 72px; padding-bottom: 100px; }
.faq-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 13px; }
.faq-item { min-width: 0; padding: 21px 22px; border: 1px solid #e1e8f1; border-radius: 15px; background: rgba(255,255,255,.88); }
.faq-item h3 { margin: 0 0 8px; color: #1a2a40; font-size: 13px; font-weight: 750; line-height: 1.5; letter-spacing: -.02em; }
.faq-item p { margin: 0; color: #637187; font-size: 11px; line-height: 1.85; }
.further-reading { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e1e8f1; }
.further-reading .editorial-kicker { margin-bottom: 6px; }
.further-reading p { margin: 0; color: #78869a; font-size: 10px; line-height: 1.8; }
.further-reading a { color: #245fba; font-weight: 650; text-decoration: underline; text-decoration-color: #b7cbed; text-underline-offset: 2px; }
.further-reading a:hover { color: #1249a3; }

/* Responsive overrides for the editorial sections, placed after their base styles. */
@media (max-width: 760px) {
  .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technical-layout { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .editorial-grid.two-up,
  .format-choice-grid,
  .faq-list { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .technical-layout,
  .standard-benefit { grid-template-columns: 1fr; gap: 16px; }
  .editorial-section { padding-top: 48px; padding-bottom: 50px; }
  .faq-section { padding-bottom: 68px; }
  .editorial-card,
  .format-choice-card { padding: 22px 19px; }
}

/* Readability pass: comfortable 100% zoom sizes and stronger text contrast.
   The converter workspace itself is intentionally left unchanged. */
.hero-sub {
  max-width: 680px;
  color: #202a39;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 450;
}
.hero-pill { color: #263449; font-size: 12px; font-weight: 650; }
.metric span { color: #344256; font-size: 11px; }
.section-eyebrow { font-size: 11px; }
.section-title span { color: #202b3b; font-weight: 650; }
.section-description { color: #202a39; font-size: 16px; line-height: 1.75; font-weight: 450; }

/* Explanatory content below the converter */
.content-section p,
.editorial-section p,
.faq-section p {
  color: #202a39;
  font-size: 16px;
  line-height: 1.75;
}
.step-card p,
.use-case-card p { color: #202a39; font-size: 16px; line-height: 1.75; }
.step-card h3,
.use-case-card h3 { color: #111827; font-size: 19px; font-weight: 750; }
.step-num { color: #42516a; font-size: 11px; }
.use-case-mark { color: #344256; font-size: 11px; }
.use-case-mark span { color: #344256; font-size: 10px; }

.editorial-card p,
.technical-copy p,
.format-choice-card p,
.format-choice-card li,
.standard-benefit p,
.faq-item p,
.audience-card p,
.editorial-takeaway,
.format-note {
  color: #202a39;
  font-size: 16px;
  line-height: 1.75;
}
.editorial-card h3,
.standard-benefit h3,
.format-choice-card h3 { color: #111827; }
.editorial-kicker { font-size: 11px; }
.editorial-takeaway { color: #172235; }
.editorial-takeaway strong,
.technical-copy strong,
.editorial-card strong,
.format-choice-card strong,
.faq-item strong { color: #111827; font-weight: 800; }
.audience-card h3 { color: #111827; font-size: 17px; font-weight: 800; }
.technical-facts span { font-size: 11px; }
.technical-facts strong { color: #172235; font-size: 14px; font-weight: 750; line-height: 1.5; }
.faq-item h3 { color: #111827; font-size: 17px; font-weight: 800; line-height: 1.45; }
.format-choice-label { color: #263449; font-size: 11px; }
.further-reading .editorial-kicker { font-size: 11px; }
.further-reading p { color: #263449; font-size: 14px; line-height: 1.75; }
.further-reading a { color: #064fbd; font-weight: 750; }

/* Shared navigation and footer copy remain legible without competing with the page. */
.rh-brand-name { font-size: 16px; }
.rh-brand-sub { color: #344256; font-size: 10px; }
.rh-topbar-note { color: #344256; font-size: 12px; }
.rh-hub-link { color: #17365f; font-size: 12px; }
.rh-footer-brand p { color: #263449; font-size: 14px; line-height: 1.7; }
.rh-footer-col h3 { color: #344256; font-size: 11px; }
.rh-footer-col a { color: #202a39; font-size: 14px; font-weight: 600; }
.rh-footer-bottom p { color: #344256; font-size: 12px; }
.rh-footer-bottom a { color: #17365f; }

@media (max-width: 560px) {
  .hero-sub { font-size: 16px; }
  .hero-pill { font-size: 11px; }
  .section-description,
  .content-section p,
  .editorial-section p,
  .faq-section p,
  .step-card p,
  .use-case-card p,
  .editorial-card p,
  .technical-copy p,
  .format-choice-card p,
  .format-choice-card li,
  .standard-benefit p,
  .faq-item p,
  .audience-card p,
  .editorial-takeaway,
  .format-note { font-size: 16px; }
  .audience-card h3,
  .faq-item h3 { font-size: 16px; }
  .rh-footer-col a { font-size: 14px; }
}



/* HEIC search landing pages — same 1180px shell, editorial content only. */
.pseo-breadcrumb-wrap { width: min(calc(100% - 48px), 1180px); margin: 0 auto; padding-top: 18px; }
.pseo-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #344256; font-size: 13px; line-height: 1.6; }
.pseo-breadcrumbs a { color: #174f9b; font-weight: 700; text-decoration: none; }
.pseo-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pseo-breadcrumbs [aria-current="page"] { color: #202a39; font-weight: 650; }
.pseo-hero { padding-top: 48px; padding-bottom: 42px; }
.pseo-hero h1 { max-width: 980px; margin-inline: auto; font-size: clamp(43px, 6.5vw, 76px); line-height: 1.02; letter-spacing: -.065em; }
.pseo-hero .hero-lead { max-width: 790px; margin-inline: auto; color: #1c2b40; }
.pseo-hero .hero-sub { max-width: 790px; }
.pseo-hero .hero-cta { margin-top: 22px; }
.pseo-hero-note { max-width: 760px; margin: 18px auto 0; color: #263449; font-size: 14px; line-height: 1.7; }
.pseo-jump-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 22px auto 0; }
.pseo-jump-links a { display: inline-flex; align-items: center; min-height: 35px; padding: 0 13px; border: 1px solid #d8e3f1; border-radius: 999px; background: rgba(255,255,255,.85); color: #174f9b; font-size: 13px; font-weight: 700; text-decoration: none; }
.pseo-jump-links a:hover { border-color: #9dbce8; background: #f1f6ff; }
.pseo-section { padding: 42px 0 54px; }
.pseo-section .section-heading { max-width: 850px; }
.pseo-section p { color: #202a39; font-size: 16px; line-height: 1.78; }
.pseo-section h3 { color: #111827; font-size: 19px; font-weight: 800; letter-spacing: -.035em; }
.pseo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.pseo-card { min-width: 0; padding: 24px 22px; border: 1px solid #dfe7f1; border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 7px 22px rgba(29,54,92,.035); }
.pseo-card h3 { margin: 0 0 10px; }
.pseo-card p { margin: 0; }
.pseo-card p + p { margin-top: 10px; }
.pseo-card ul { margin: 12px 0 0; padding-left: 20px; color: #202a39; font-size: 16px; line-height: 1.75; }
.pseo-card li + li { margin-top: 5px; }
.pseo-step { display: flex; gap: 15px; align-items: flex-start; }
.pseo-step + .pseo-step { margin-top: 17px; }
.pseo-step-number { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eaf2ff; color: #1559b7; font-size: 13px; font-weight: 850; }
.pseo-step h3 { margin: 0 0 5px; font-size: 17px; }
.pseo-step p { margin: 0; }
.pseo-note { margin-top: 18px; padding: 19px 21px; border: 1px solid #cfe0fa; border-radius: 14px; background: #f1f6ff; color: #172a45; font-size: 16px; line-height: 1.75; }
.pseo-note strong { color: #0e3978; }
.pseo-related { padding-top: 24px; padding-bottom: 90px; }
.pseo-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.pseo-related-card { display: block; padding: 19px 20px; border: 1px solid #dfe7f1; border-radius: 15px; background: #fff; color: #172235; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.pseo-related-card:hover { border-color: #b8cdec; box-shadow: 0 8px 24px rgba(29,54,92,.07); transform: translateY(-2px); }
.pseo-related-card strong { display: block; margin-bottom: 5px; color: #123e78; font-size: 16px; font-weight: 800; }
.pseo-related-card span { display: block; color: #263449; font-size: 14px; line-height: 1.65; }
.pseo-back-link { display: inline-flex; margin-top: 20px; color: #174f9b; font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .pseo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pseo-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pseo-hero { padding-top: 38px; }
}
@media (max-width: 560px) {
  .pseo-breadcrumb-wrap { width: calc(100% - 32px); }
  .pseo-hero { padding-top: 28px; padding-bottom: 32px; }
  .pseo-hero h1 { font-size: clamp(39px, 11vw, 56px); }
  .pseo-grid, .pseo-related-grid { grid-template-columns: 1fr; }
  .pseo-card { padding: 20px 18px; }
  .pseo-section { padding-top: 32px; padding-bottom: 38px; }
  .pseo-related { padding-bottom: 62px; }
}


/* Substantial HEIC guides and the post-converter share strip. */
.pseo-deep-section { padding: 48px 0 58px; }
.pseo-deep-section .section-heading { max-width: 900px; }
.pseo-deep-section .section-description { color: #263449; font-size: 17px; line-height: 1.75; }
.pseo-deep-intro { max-width: 940px; margin: 0 auto 24px; color: #202a39; font-size: 17px; line-height: 1.82; }
.pseo-deep-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.pseo-deep-card { min-width: 0; padding: 25px 23px; border: 1px solid #dbe4ef; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(20,45,78,.045); }
.pseo-deep-card h3 { margin: 0 0 11px; color: #101827; font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.025em; }
.pseo-deep-card p { margin: 0; color: #202a39; font-size: 16px; line-height: 1.78; }
.pseo-deep-card p + p { margin-top: 10px; }
.pseo-step-list { max-width: 960px; margin: 0 auto; padding: 27px 29px; border: 1px solid #dbe4ef; border-radius: 18px; background: #fff; }
.pseo-step-list .pseo-step + .pseo-step { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e8edf4; }
.pseo-step-list .pseo-step h3 { color: #101827; font-size: 18px; }
.pseo-step-list .pseo-step p { color: #202a39; font-size: 16px; line-height: 1.78; }
.pseo-format-wrap { overflow-x: auto; border: 1px solid #dbe4ef; border-radius: 16px; background: #fff; }
.pseo-format-table { width: 100%; min-width: 700px; border-collapse: collapse; color: #172235; font-size: 15px; line-height: 1.7; }
.pseo-format-table caption { padding: 17px 19px; text-align: left; color: #101827; font-size: 16px; font-weight: 800; }
.pseo-format-table th, .pseo-format-table td { padding: 15px 18px; border-top: 1px solid #e7edf4; text-align: left; vertical-align: top; }
.pseo-format-table th { background: #f4f7fb; color: #15243a; font-size: 13px; letter-spacing: .035em; }
.pseo-format-table td:first-child { width: 16%; font-weight: 800; white-space: nowrap; }
.pseo-format-table td { color: #263449; }
.pseo-format-table strong { color: #111827; }
.pseo-format-source { margin-top: 18px; color: #344256; font-size: 14px; line-height: 1.75; }
.pseo-format-source a { color: #174f9b; font-weight: 700; text-underline-offset: 3px; }
.pseo-editorial-note { margin-top: 22px; padding: 21px 23px; border-left: 4px solid #2867bd; border-radius: 0 14px 14px 0; background: #f1f6ff; color: #182a44; font-size: 16px; line-height: 1.8; }
.pseo-editorial-note strong { color: #0d3976; }
.pseo-prose { max-width: 940px; margin: 0 auto; }
.pseo-prose p { margin: 0; color: #202a39; font-size: 16px; line-height: 1.82; }
.pseo-prose p + p { margin-top: 16px; }
.pseo-prose strong { color: #111827; font-weight: 800; }
.pseo-share { width: min(calc(100% - 48px),1180px); margin: 24px auto 12px; padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(174,194,221,.75); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: 0 10px 34px rgba(30,57,93,.075); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.pseo-share-copy { max-width: 520px; }
.pseo-share-kicker { margin: 0 0 6px; color: #275b9e; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.pseo-share h2 { margin: 0 0 7px; color: #101827; font-size: clamp(23px,3vw,30px); line-height: 1.16; letter-spacing: -.045em; }
.pseo-share-copy p:not(.pseo-share-kicker) { margin: 0; color: #263449; font-size: 15px; line-height: 1.65; }
.pseo-share-hub { display: inline-flex; margin-top: 11px; color: #174f9b; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.pseo-share-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.pseo-social-link { min-width: 74px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 10px; border: 1px solid #dce5f0; border-radius: 13px; background: #fff; color: #1b2a40; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.pseo-social-link:hover { border-color: #9dbce8; background: #f5f8fd; transform: translateY(-2px); }
.pseo-social-link svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.pseo-social-link span { color: #24344a; font-size: 11px; font-weight: 750; }
.pseo-social-link:focus-visible, .pseo-share-hub:focus-visible { outline: 3px solid #77a8ee; outline-offset: 3px; }
@media(max-width:900px) {
  .pseo-share { align-items: flex-start; flex-direction: column; }
  .pseo-share-actions { justify-content: flex-start; }
}
@media(max-width:760px) {
  .pseo-deep-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pseo-deep-section { padding: 36px 0 42px; }
}
@media(max-width:560px) {
  .pseo-share { width: calc(100% - 32px); padding: 21px 18px; }
  .pseo-share-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
  .pseo-social-link { min-width: 0; }
  .pseo-deep-grid { grid-template-columns: 1fr; }
  .pseo-step-list { padding: 20px 17px; }
  .pseo-editorial-note { padding: 17px 18px; }
}


/* In-page guide navigation — compact iOS-inspired section shortcuts. */
.pseo-jump-links { gap: 8px; margin-top: 20px; }
.pseo-jump-links a { min-height: 36px; padding: 0 15px; border-color: #dce6f3; background: rgba(255,255,255,.9); color: #214f8d; font-size: 13px; font-weight: 700; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.pseo-jump-links a:hover { border-color: #a9c6ed; background: #f1f6ff; color: #124da3; transform: translateY(-1px); }
.pseo-jump-links a:focus-visible, .pseo-section-jumps a:focus-visible { outline: 3px solid rgba(23,105,232,.22); outline-offset: 3px; }
.pseo-section-jumps { width: min(calc(100% - 48px),1180px); margin: 4px auto 24px; padding: 13px 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 15px; border: 1px solid #e1e9f3; border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 5px 18px rgba(29,54,92,.035); }
.pseo-section-jumps-label { flex: 0 0 auto; color: #52647d; font-size: 11px; font-weight: 750; letter-spacing: .045em; }
.pseo-section-jumps-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.pseo-section-jumps a { min-height: 31px; display: inline-flex; align-items: center; justify-content: center; padding: 0 11px; border: 1px solid #e1e9f3; border-radius: 999px; background: #fff; color: #244c80; font-size: 12px; font-weight: 650; text-decoration: none; transition: all .18s ease; }
.pseo-section-jumps a:hover { border-color: #b7cdeb; background: #f3f7fd; color: #1454aa; }
@media(max-width:560px) {
  .pseo-section-jumps { width: calc(100% - 32px); align-items: flex-start; padding: 14px; gap: 9px; }
  .pseo-section-jumps-label { width: 100%; }
  .pseo-section-jumps-links { gap: 7px; }
  .pseo-section-jumps a { min-height: 32px; padding: 0 10px; font-size: 11px; }
}
