:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #142033;
  --muted: #5f6f84;
  --brand: #1f67ff;
  --brand-dark: #174dcc;
  --accent: #0ea5a4;
  --line: #dce4ef;
  --success: #087b58;
  --danger: #c43232;
  --warning: #9a6500;
  --shadow: 0 18px 50px rgba(33,65,120,.11);
  --radius: 18px;
  --max: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
.container { width: min(calc(100% - 32px),var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 68px; display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 38px; display: grid; place-items: center; position: relative; color: white; background: linear-gradient(145deg,var(--brand),#4c8cff); border-radius: 8px 8px 11px 8px; font-size: 13px; font-weight: 900; box-shadow: 0 7px 15px rgba(31,103,255,.22); }
.logo-mark::after { content: ""; position: absolute; right: 0; top: 0; width: 10px; height: 10px; background: #a9c6ff; clip-path: polygon(0 0,100% 100%,0 100%); }
.main-nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.main-nav a { color: #425269; text-decoration: none; font-weight: 650; font-size: .94rem; padding: 8px 10px; border-radius: 9px; }
.main-nav a:hover, .main-nav a:focus-visible { background: #edf3ff; color: var(--brand-dark); }
.hero { padding: 82px 0 62px; background: radial-gradient(circle at 83% 8%,#dce9ff 0,transparent 28%),linear-gradient(180deg,#fff 0,var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 46px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 11px; border-radius: 999px; background: #e8f8f5; color: #087568; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
h1,h2,h3 { line-height: 1.18; letter-spacing: -.028em; }
h1 { margin: 18px 0; font-size: clamp(2.35rem,5vw,4.5rem); max-width: 820px; }
h2 { font-size: clamp(1.75rem,3vw,2.55rem); margin: 0 0 14px; }
h3 { font-size: 1.16rem; margin: 0 0 8px; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem,2vw,1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 11px; padding: 10px 17px; color: #fff; background: var(--brand); text-decoration: none; font-weight: 780; transition: transform .15s ease,background .15s ease; }
.button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button.secondary:hover { background: #f3f6fb; }
.button.danger { background: #fff; color: var(--danger); border-color: #f0caca; }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.trust-card strong { display: block; font-size: 1.05rem; margin-bottom: 12px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; color: #45566d; }
.trust-list li { display: flex; gap: 9px; }
.check { color: var(--success); font-weight: 900; }
.section { padding: 70px 0; }
.section.alt { background: #fff; border-block: 1px solid #e9eef5; }
.section-heading { max-width: 720px; margin-bottom: 30px; }
.section-heading p { color: var(--muted); margin: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.tool-card { display: block; position: relative; min-height: 220px; padding: 24px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: 0 8px 24px rgba(24,55,100,.055); transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.tool-card:hover { transform: translateY(-3px); border-color: #aac5ff; box-shadow: var(--shadow); }
.tool-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--brand-dark); background: #eaf1ff; font-weight: 900; margin-bottom: 18px; }
.tool-card p { color: var(--muted); margin: 8px 0 16px; }
.tool-card .go { color: var(--brand-dark); font-weight: 800; font-size: .92rem; }
.badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #eaf8f6; color: #087568; font-size: .72rem; font-weight: 800; }
.feature-grid,.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature,.step { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.feature p,.step p { margin: 6px 0 0; color: var(--muted); }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 13px; background: var(--brand); color: #fff; border-radius: 50%; font-weight: 900; }
.tool-hero { padding: 48px 0 26px; background: linear-gradient(180deg,#fff,var(--bg)); }
.breadcrumbs { font-size: .87rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.tool-hero h1 { font-size: clamp(2rem,4vw,3.35rem); margin: 8px 0 12px; }
.tool-shell { display: grid; grid-template-columns: minmax(0,760px) minmax(240px,1fr); gap: 24px; align-items: start; padding-bottom: 62px; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px,3vw,30px); box-shadow: var(--shadow); }
.tool-side { display: grid; gap: 16px; position: sticky; top: 88px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 18px; }
.side-card p,.side-card ul { color: var(--muted); font-size: .93rem; margin-bottom: 0; }
.drop-zone { position: relative; display: grid; place-items: center; min-height: 190px; padding: 26px; text-align: center; border: 2px dashed #adc2e4; border-radius: 16px; background: #f9fbff; transition: .16s ease; }
.drop-zone.is-dragging { border-color: var(--brand); background: #eef4ff; transform: scale(1.005); }
.drop-zone strong { display: block; font-size: 1.1rem; margin-bottom: 5px; }
.drop-zone p { margin: 0 0 14px; color: var(--muted); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-picker { display: inline-flex; padding: 9px 15px; border-radius: 10px; color: #fff; background: var(--brand); font-weight: 780; cursor: pointer; }
.file-picker:hover { background: var(--brand-dark); }
.control-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.control-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1/-1; }
.field label,.field-label { font-weight: 750; font-size: .9rem; }
.field input,.field select,.field textarea { width: 100%; min-height: 43px; border: 1px solid #cdd8e6; border-radius: 10px; padding: 9px 11px; color: var(--ink); background: #fff; outline: none; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,103,255,.13); }
.inline-check { display: flex; gap: 9px; align-items: center; margin-top: 13px; color: #415168; font-weight: 650; }
.inline-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.action-row .button { border: 0; }
.progress { height: 8px; overflow: hidden; margin-top: 18px; background: #e8edf4; border-radius: 99px; }
.progress > span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--brand),var(--accent)); transition: width .2s ease; }
.status { min-height: 28px; margin: 11px 0 0; color: var(--muted); font-size: .92rem; }
.status[data-type="success"] { color: var(--success); }
.status[data-type="error"] { color: var(--danger); }
.status[data-type="warning"] { color: var(--warning); }
.file-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; }
.file-main { display: flex; min-width: 0; align-items: center; gap: 10px; }
.file-position { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #eaf1ff; color: var(--brand-dark); font-weight: 800; font-size: .82rem; }
.file-info { display: grid; min-width: 0; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: .9rem; }
.file-size { color: var(--muted); font-size: .78rem; }
.file-controls { display: flex; flex: 0 0 auto; gap: 5px; }
.icon-button { width: 32px; height: 32px; border: 1px solid #d4deea; border-radius: 8px; background: #fff; color: #405169; font-weight: 900; }
.icon-button:hover { background: #edf3ff; color: var(--brand-dark); }
.icon-button.remove:hover { background: #fff1f1; color: var(--danger); }
.image-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 9px; background: #eef1f6; }
.selected-file { margin-top: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: #3f5068; background: #fbfcfe; }
.selected-file strong { color: var(--ink); }
.content-section { padding: 58px 0; background: #fff; border-top: 1px solid var(--line); }
.content-narrow { max-width: 820px; }
.content-narrow p,.content-narrow li { color: #4f6076; }
.content-narrow h2 { margin-top: 38px; }
.content-narrow h2:first-child { margin-top: 0; }
.faq { margin-top: 30px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 780; }
.faq p { margin: 10px 0 2px; }
.guide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.guide-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.guide-card h2 { margin: 10px 0 8px; font-size: 1.35rem; }
.guide-card p { color: var(--muted); }
.guide-card a { font-weight: 800; }
.article { max-width: 820px; margin: 0 auto; padding: 52px 0 70px; }
.article .updated { color: var(--muted); font-size: .9rem; }
.article p,.article li { color: #485a70; }
.article h2 { margin-top: 36px; }
.article h3 { margin-top: 26px; font-size: 1.2rem; }
.article .breadcrumbs { margin-bottom: 20px; }
.guide-index { max-width: 1020px; }
.guide-index .guide-grid { margin: 30px 0 46px; }
.article-toc { margin: 28px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.article-toc strong { display: block; margin-bottom: 8px; }
.article-toc ol { margin: 0; padding-left: 22px; }
.article-toc li + li { margin-top: 5px; }
.tool-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 30px 0; padding: 22px; border: 1px solid #cfe0ff; border-radius: 15px; background: #f3f7ff; }
.tool-cta h2,.tool-cta h3 { margin: 0 0 6px; font-size: 1.25rem; }
.tool-cta p { margin: 0; }
.tool-cta .button { flex: 0 0 auto; }
.table-wrap { overflow-x: auto; margin: 20px 0 26px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.comparison-table th,.comparison-table td { padding: 13px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table th { color: var(--ink); background: #f2f6fc; font-size: .9rem; }
.comparison-table tr:last-child td { border-bottom: 0; }
.related-guides { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-guides ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; }
.related-guides a { display: block; height: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-weight: 750; text-decoration: none; }
.related-guides a:hover { border-color: #aac5ff; background: #f7f9ff; }
.ad-container { display: none; margin: 20px 0; min-height: 90px; border-radius: 10px; text-align: center; overflow: hidden; }
.ad-container.is-active { display: block; }
.ad-label { display: block; color: #8794a6; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.site-footer { padding: 42px 0 28px; color: #aebbd0; background: #0e1b2d; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer .logo { color: #fff; }
.site-footer p { max-width: 520px; color: #96a8c0; font-size: .92rem; }
.site-footer h3 { color: #fff; font-size: .94rem; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-links a { color: #b8c7db; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid #26364c; display: flex; justify-content: space-between; gap: 15px; color: #7f91aa; font-size: .82rem; }
.notice { padding: 13px 15px; border-radius: 11px; color: #415168; background: #edf4ff; border: 1px solid #d2e1ff; }
.notice strong { color: var(--ink); }
.callout { margin: 28px 0; padding: 20px; border-left: 4px solid var(--accent); background: #edfafa; border-radius: 0 12px 12px 0; }
@media (max-width: 900px) {
  .hero-grid,.tool-shell { grid-template-columns: 1fr; }
  .tool-side { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .main-nav a:nth-child(2),.main-nav a:nth-child(3) { display: none; }
}
@media (max-width: 650px) {
  .container { width: min(calc(100% - 22px),var(--max)); }
  .header-inner { min-height: 62px; gap: 8px; }
  .logo { font-size: .94rem; }
  .main-nav a { padding: 7px; font-size: .84rem; }
  .hero { padding: 54px 0 45px; }
  h1 { font-size: 2.45rem; }
  .tool-grid,.feature-grid,.steps-grid,.guide-grid,.footer-grid,.tool-side { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .control-grid,.control-grid.three { grid-template-columns: 1fr; }
  .file-row { align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .tool-cta { align-items: flex-start; flex-direction: column; }
  .related-guides ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }
