/* ==========================================================
   MioCreate — main stylesheet
   Light theme · Poppins · 1140px layout width
   ========================================================== */

@font-face { font-family: "Poppins"; src: url(../fonts/poppins-1.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-2.woff) format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-3.woff) format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --primary: #2164fd;
  --primary-d: #1449c9;
  --primary-50: #eef3ff;
  --primary-100: #dbe6ff;
  --ink: #0d1b3e;
  --text: #3f4a63;
  --muted: #69738b;
  --line: #e1e7f4;
  --accent: #ff7a3d;
  --accent-d: #c94a12;
  --accent-50: #fff2ea;
  --ok: #0f8a47;
  --ok-50: #e9f8f0;
  --bad: #c0392b;
  --bad-50: #fdeeee;
  --bg: #f6f8fe;
  --white: #ffffff;
  --shadow-s: 0 2px 10px rgba(13, 27, 62, .06);
  --shadow-m: 0 14px 40px rgba(13, 27, 62, .09);
  --header-h: 72px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-d); }
h1, h2, h3, h4 { font-family: "Poppins", Arial, sans-serif; color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 500; }
p { margin: 0 0 1em; }
button, input, select { font-family: "Poppins", Arial, sans-serif; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Layout width — every section uses the same 1140px width */
.container { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.sec { padding: 88px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px; border: 2px solid transparent;
  font-weight: 500; font-size: 1rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(33, 100, 253, .28); }
.btn-primary:hover { background: var(--primary-d); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(13, 27, 62, .06); }
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); justify-self: start; }
.brand:hover { color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; justify-content: center; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a.is-active { background: var(--primary-50); color: var(--primary); }
.header-cta { justify-self: end; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------------- Hero ---------------- */
.hero { padding: 44px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: start; }
.hero-copy { padding-top: 22px; }
.hero-copy h1 span { color: var(--primary); }
.hero-lead { font-size: 1.06rem; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--ink); }
.hero-points svg { width: 22px; height: 22px; color: var(--primary); flex: none; }

/* ---------------- Tool ---------------- */
.tool { background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-m); padding: 20px; }
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.tool-top h2 { font-size: 1.1rem; margin: 0; font-weight: 500; }
.tool-badge { font-size: .76rem; font-weight: 500; color: var(--ok); background: var(--ok-50); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 84px;
  border: 2px dashed #c8d4f0; border-radius: 14px; background: #fbfcff; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop.is-over { border-color: var(--primary); background: var(--primary-50); }
.drop:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 122, 61, .45); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-ico { width: 54px; height: 54px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; flex: none; overflow: hidden; }
.drop-ico svg { width: 26px; height: 26px; }
.drop-ico img { width: 100%; height: 100%; object-fit: cover; }
.drop strong { display: block; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.3; }
.drop small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.stage {
  position: relative; margin-top: 14px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; min-height: 230px;
  background-color: #f2f5fc;
  background-image: linear-gradient(45deg, #e8edf8 25%, transparent 25%), linear-gradient(-45deg, #e8edf8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8edf8 75%), linear-gradient(-45deg, transparent 75%, #e8edf8 75%);
  background-size: 22px 22px; background-position: 0 0, 0 11px, 11px -11px, -11px 0;
  display: grid; place-items: center;
}
.stage canvas { max-height: 420px; width: auto; height: auto; cursor: grab; touch-action: none; }
.stage canvas.dragging { cursor: grabbing; }
.stage-empty { text-align: center; padding: 30px 20px; color: var(--muted); font-size: .92rem; max-width: 360px; }
.stage-empty svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--primary); }
.editor { display: grid; grid-template-columns: 180px 1fr; gap: 16px; margin-top: 16px; }
.picker-wrap p { font-size: .8rem; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.picker-wrap canvas { width: 180px; border-radius: 10px; border: 1px solid var(--line); cursor: grab; touch-action: none; background: #f2f5fc; }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.ctrl label { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 500; color: var(--ink); }
.ctrl output { color: var(--primary); font-weight: 500; }
.ctrl input[type="range"] { width: 100%; accent-color: var(--primary); height: 28px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tool-actions .grow { margin-left: auto; }
.tool-msg { margin: 12px 0 0; font-size: .88rem; min-height: 1.4em; }
.tool-msg.is-error { color: var(--bad); }
.tool-msg.is-ok { color: var(--ok); }
.tool-note { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }

/* ---------------- About (editorial split) ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; margin: 0; }
.about-media img { border-radius: 24px; box-shadow: var(--shadow-m); }
.about-media figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: center; }
.facts { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; font-size: .95rem; }

/* ---------------- Features (open icon rows, no boxes) ---------------- */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 44px; row-gap: 40px; }
.feature { padding-left: 20px; border-left: 3px solid var(--primary-100); transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--primary); transform: translateY(-3px); }
.feature-ico { width: 46px; height: 46px; color: var(--primary); margin-bottom: 14px; transition: transform .25s; }
.feature:hover .feature-ico { transform: scale(1.08); }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: .95rem; }

/* ---------------- How it works (timeline) ---------------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 10px, transparent 10px 18px); opacity: .45; }
.tl-step { text-align: center; position: relative; }
.tl-node { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--primary); color: var(--primary); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg); }
.tl-node svg { width: 30px; height: 30px; }
.tl-step h3 { margin-bottom: 8px; }
.tl-step p { font-size: .94rem; margin: 0; }

/* ---------------- Use cases (tabs) ---------------- */
.uc { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: stretch; }
.uc-tabs { display: grid; gap: 6px; align-content: start; }
.uc-tab { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink); font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s; }
.uc-tab svg { width: 24px; height: 24px; color: var(--muted); flex: none; transition: color .2s, transform .2s; }
.uc-tab:hover { background: var(--white); border-color: var(--line); }
.uc-tab[aria-selected="true"] { background: var(--white); border-color: var(--primary-100); box-shadow: var(--shadow-s); }
.uc-tab[aria-selected="true"] svg { color: var(--primary); transform: translateX(2px); }
.uc-panel { background: var(--white); border-radius: 20px; border: 1px solid var(--line); padding: 36px 40px; box-shadow: var(--shadow-s); }
.uc-panel h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 12px; }
.uc-panel ul { margin: 16px 0 0; padding-left: 20px; }
.uc-panel li { margin-bottom: 6px; }
.uc-panel li::marker { color: var(--primary); }

/* ---------------- Benefits (image + check list) ---------------- */
.benefit-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.benefit-grid img { border-radius: 24px; box-shadow: var(--shadow-m); }
.benefit-list { list-style: none; margin: 0; padding: 0; }
.benefit-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); transition: transform .25s; }
.benefit-list li:last-child { border-bottom: 0; }
.benefit-list li:hover { transform: translateX(4px); }
.benefit-list .b-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-50); color: var(--accent-d); display: grid; place-items: center; }
.benefit-list .b-ico svg { width: 24px; height: 24px; }
.benefit-list h3 { margin: 0 0 4px; }
.benefit-list p { margin: 0; font-size: .95rem; }

/* ---------------- Comparison table ---------------- */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-s); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--primary-50); color: var(--ink); font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafbff; }
td:first-child { color: var(--ink); font-weight: 500; }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.yes { color: var(--ok); }
.no { color: var(--bad); }
.yes svg, .no svg { width: 18px; height: 18px; flex: none; }
.cmp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.cmp-col h3 { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cmp-col h3 svg { width: 26px; height: 26px; }
.cmp-col.pros h3 { color: var(--ok); }
.cmp-col.cons h3 { color: var(--bad); }
.cmp-col ul { list-style: none; margin: 0; padding: 0; }
.cmp-col li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cmp-col li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.cmp-col.pros li svg { color: var(--ok); }
.cmp-col.cons li svg { color: var(--bad); }

/* ---------------- Privacy (single banner with dividers) ---------------- */
.privacy-band { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-s); overflow: hidden; }
.pv { padding: 34px 30px; position: relative; transition: background-color .25s; }
.pv + .pv { border-left: 1px solid var(--line); }
.pv:hover { background: #fbfcff; }
.pv svg { width: 36px; height: 36px; color: var(--primary); margin-bottom: 14px; }
.pv p { margin: 0; font-size: .95rem; }

/* ---------------- Troubleshooting (problem → fix rows) ---------------- */
.fix-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.fix { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.fix-ico { width: 40px; height: 40px; color: var(--accent-d); }
.fix h3 { margin-bottom: 6px; }
.fix p { margin: 0; font-size: .94rem; }

/* ---------------- FAQ ---------------- */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.faq-cat { font-size: 1.15rem; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.faq-cat svg { width: 26px; height: 26px; color: var(--primary); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); font-weight: 500; font-size: .98rem; line-height: 1.45; }
.faq-q:hover { color: var(--primary); }
.faq-icon { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; transition: transform .25s, background-color .25s; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-icon .v { transition: opacity .2s; }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--primary); color: #fff; }
.faq-q[aria-expanded="true"] .faq-icon .v { opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 16px; font-size: .95rem; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-top: 60px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin: 14px 0 0; font-size: .94rem; max-width: 420px; }
.footer-col h3 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: .94rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--primary); text-decoration: none; font-weight: 500; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px rgba(33, 100, 253, .3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------------- Inner pages ---------------- */
.page-hero { padding: 56px 0 24px; text-align: center; }
.page-hero p { max-width: 760px; margin: 0 auto; color: var(--muted); }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b4bdd2; }
.crumbs a { color: var(--muted); }
.prose { max-width: 820px; margin: 0 auto; padding-bottom: 80px; }
.prose h2 { font-size: 1.5rem; margin-top: 38px; }
.prose h3 { font-size: 1.18rem; margin-top: 26px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--primary); }
.contact-line { display: inline-block; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px; margin: 6px 0 18px; user-select: all; }

/* Blog listing */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 88px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; color: var(--text); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--primary-100); color: var(--text); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 6px; }
.post-card h2, .post-card h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.post-card p { font-size: .92rem; margin: 0 0 14px; }
.post-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--primary); font-size: .92rem; }
.post-more svg { width: 18px; height: 18px; transition: transform .2s; }
.post-card:hover .post-more svg { transform: translateX(4px); }

/* Article */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-bottom: 88px; }
.article-head { padding: 44px 0 26px; }
.article-head .crumbs ol { justify-content: flex-start; }
.article-meta { font-size: .88rem; color: var(--muted); }
.article-figure { margin: 0 0 30px; }
.article-figure img { border-radius: 20px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-s); }
.article-body { font-size: 1.04rem; }
.article-body h2 { font-size: 1.6rem; margin-top: 42px; }
.article-body h3 { font-size: 1.2rem; margin-top: 28px; }
.article-body ul { padding-left: 22px; margin: 0 0 1.2em; }
.article-body li { margin-bottom: 7px; }
.article-body li::marker { color: var(--primary); }
.article-body .table-wrap { margin: 8px 0 24px; }
.article-body table { font-size: .93rem; }
.callout { background: var(--white); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 0 0 24px; }
.callout p { margin: 0; }
.art-faq { margin-top: 8px; }
.art-faq .faq-q { font-size: 1rem; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: #c8d4f0 transparent; }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: #c8d4f0; border-radius: 6px; }
.side-block { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 18px; }
.side-block h2 { font-size: 1rem; margin-bottom: 12px; }
.toc { list-style: none; margin: 0; padding: 0; }
.toc li { border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 12px; font-size: .88rem; color: var(--text); line-height: 1.45; }
.toc a:hover, .toc a.is-active { color: var(--primary); }
.toc li:has(a.is-active) { border-color: var(--primary); }
.side-cta { background: var(--primary-50); border-color: var(--primary-100); }
.side-cta p { font-size: .9rem; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.side-links a { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; color: var(--ink); font-size: .86rem; font-weight: 500; line-height: 1.4; }
.side-links img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.side-links a:hover { color: var(--primary); }
.related { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 40px; }
.related .blog-grid { padding-bottom: 0; gap: 20px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-top: 0; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-points { justify-content: center; grid-template-columns: repeat(3, auto); gap: 18px; }
}
@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-cta { display: none; }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m); padding: 14px 20px 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-cta { display: block; margin-top: 10px; }
  .about-grid, .benefit-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .uc { grid-template-columns: 1fr; }
  .uc-tabs { grid-template-columns: 1fr 1fr; }
  .privacy-band { grid-template-columns: 1fr; }
  .pv + .pv { border-left: 0; border-top: 1px solid var(--line); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; max-height: none; overflow: visible; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 981px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 700px) {
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 34px; }
  .hero { padding-top: 22px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { display: none; }
  .hero-copy h1 { order: 1; font-size: 1.75rem; text-align: center; margin-bottom: 10px; }
  .hero-lead { order: 2; text-align: center; font-size: .98rem; margin-bottom: 16px; }
  .hero-ctas { order: 3; margin-bottom: 18px; }
  .hero-ctas .btn-ghost { display: none; }
  .tool { order: 4; }
  .hero-points { order: 5; grid-template-columns: 1fr; justify-items: start; max-width: 320px; margin: 22px auto 0; }
  .uploads { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr; }
  .picker-wrap { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
  .picker-wrap canvas { width: 140px; }
  .controls { grid-template-columns: 1fr; }
  .tool-actions .grow { margin-left: 0; }
  .feature-list, .fix-list, .faq-cols, .cmp-split, .facts { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .uc-tabs { grid-template-columns: 1fr; }
  .uc-panel { padding: 26px 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  th, td { padding: 12px 14px; }
}
@media (max-width: 380px) {
  .tool { padding: 14px; }
  .btn { padding: 12px 18px; }
  .picker-wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.faq-h { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }

/* Unified responsive 1140px section envelope */
main > section, main > .page-hero, .site-header, .site-footer { width:100%; max-width:1140px; margin-inline:auto; }
.container { width:calc(100% - 40px); max-width:1140px; }
.faq-cols, .faq-cols > *, .hero-grid > *, .article-layout > * { min-width:0; }
.faq-cols { width:100%; max-width:1140px; }
@media(max-width:700px){.container{width:calc(100% - 32px);}}

/* Stacked hero: introductory content first, editor below, normal page scrolling. */
body { overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.hero-copy { display: block; position: static; max-height: none; overflow: visible; padding-top: 0; text-align: center; }
.hero-copy h1 { max-width: 100%; margin-inline: auto; }
.hero-lead { max-width: 820px; margin-inline: auto; }
.hero-ctas { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; max-width: none; margin: 0; }
.hero-grid > .tool { width: 100%; min-width: 0; }
@media (max-width: 700px) {
  .hero-grid { gap: 22px; }
  .hero-copy .eyebrow { display: inline-block; }
  .hero-points { display: grid; grid-template-columns: 1fr; justify-items: start; width: fit-content; margin-inline: auto; }
}

/* Text-only related guide links prevent repeated content imagery. */
.side-links a {grid-template-columns: 1fr;}
.related .post-card {height:100%;}

/* Approved split-brand header — original palette, CSS-only shape. */
:root { --header-h: 90px; }
.site-header { width:calc(100% - 32px); max-width:1140px; height:var(--header-h); padding:12px 0 8px; background:none; border:0; backdrop-filter:none; }
.site-header.is-scrolled { box-shadow:none; }
.header-inner { position:relative; width:100%; max-width:1140px; height:70px; display:flex; align-items:center; gap:12px; padding:0 14px 0 0; background:var(--white); border:1px solid var(--line); border-radius:20px; box-shadow:0 9px 25px rgba(13,27,62,.10); }
.header-inner > .brand { position:relative; isolation:isolate; align-self:stretch; display:flex; align-items:center; gap:9px; padding:0 36px 0 18px; flex:none; color:#fff; font-size:1.18rem; white-space:nowrap; }
.header-inner > .brand::before { content:""; position:absolute; inset:-1px 0 -1px -1px; z-index:-1; background:var(--primary); border-radius:20px 0 28px 20px; clip-path:polygon(0 0,100% 0,82% 100%,0 100%); }
.header-inner > .brand img { width:34px; height:34px; object-fit:contain; }
.main-nav { flex:1; min-width:0; }
.main-nav ul { gap:2px; align-items:center; }
.main-nav a { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px 9px; font-size:.84rem; white-space:nowrap; border-radius:30px; }
.main-nav a svg { width:19px; height:19px; flex:none; }
.header-cta { flex:none; margin-left:auto; border-radius:25px; font-size:.79rem; padding:10px 12px; gap:6px; white-space:nowrap; }
.header-cta svg { width:16px; height:16px; }
@media (min-width:981px) { .main-nav { border-right:1px solid var(--line); padding-right:8px; } }
@media (max-width: 1060px) {
  .header-inner { gap:8px; padding-right:12px; }
  .header-inner > .brand { padding-right:28px; padding-left:14px; font-size:1.05rem; }
  .main-nav a { padding:9px 6px; font-size:.78rem; gap:4px; }
  .main-nav a svg { width:17px; height:17px; }
  .header-cta { font-size:.74rem; padding:9px 10px; }
}
@media (max-width:980px) {
  :root { --header-h:80px; }
  .site-header { padding-top:8px; }
  .header-inner { height:64px; justify-content:space-between; }
  .header-inner > .brand { padding-right:42px; }
  .main-nav { position:absolute; top:calc(100% + 8px); left:0; right:0; padding:10px; border:1px solid var(--line); border-radius:16px; max-height:calc(100dvh - 90px); overflow:auto; }
  .main-nav ul { align-items:stretch; }
  .main-nav a { justify-content:flex-start; padding:12px 14px; font-size:.95rem; gap:10px; border-radius:10px; }
  .main-nav a svg { width:20px; height:20px; }
  .main-nav .nav-cta a { justify-content:center; color:white; background:var(--primary); white-space:normal; }
  .menu-toggle { margin-left:auto; flex:none; }
}

/* Approved curved footer — lightweight, original palette. */
.site-footer {background:transparent;border:0;padding:24px 0 32px;margin-top:20px;}
.footer-shell {background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 12px 32px rgba(13,27,62,.09);}
.footer-shell .footer-grid {display:grid;grid-template-columns:minmax(0,1.65fr) repeat(3,minmax(0,1fr));gap:0;padding:0;align-items:stretch;}
.footer-shell .footer-brand {grid-column:auto;position:relative;isolation:isolate;overflow:hidden;padding:32px 34px 34px 26px;color:white;background:var(--primary);border-radius:0 45% 35% 0 / 0 12% 15% 0;}
.footer-shell .footer-brand::after {content:"";position:absolute;z-index:-1;bottom:-65px;left:-40px;width:120%;height:110px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none;}
.footer-shell .footer-brand .brand {color:white;font-size:1.35rem;}
.footer-shell .footer-brand p {color:white;font-size:.84rem;line-height:1.7;margin:18px 0 22px;}
.footer-cta {display:flex;align-items:center;justify-content:center;gap:7px;background:white;color:var(--primary);border-radius:12px;padding:12px 10px;font-weight:600;font-size:.79rem;line-height:1.4;text-decoration:none;transition:background .2s;}
.footer-cta:hover {background:#eaf0ff;color:#0d1b3e;}
.footer-cta svg {width:17px;height:17px;flex:none;}
.footer-shell .footer-col {padding:32px 16px 28px 22px;min-width:0;}
.footer-icon {display:grid;place-items:center;width:40px;height:40px;background:#eaf0ff;color:var(--primary);border-radius:12px;margin-bottom:12px;}
.footer-icon svg {width:23px;height:23px;}
.footer-shell .footer-col h3 {font-size:1.05rem;margin:0 0 14px;color:var(--ink);}
.footer-shell .footer-col ul {gap:11px;}
.footer-shell .footer-col a {font-size:.87rem;line-height:1.5;overflow-wrap:anywhere;}
.footer-shell .footer-bottom {padding:18px 24px;background:#f6f8fe;gap:8px 20px;font-size:.78rem;align-items:center;}
.footer-shell a:focus-visible {outline:2px solid currentColor;outline-offset:4px;}
@media(max-width:900px){.footer-shell .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.footer-shell .footer-brand{grid-column:1/-1;border-radius:0 0 35% 0 / 0 0 12% 0;padding:26px 30px;}.footer-shell .footer-brand p{max-width:650px;}.footer-cta{width:max-content;max-width:100%;}.footer-shell .footer-col{padding:24px 20px;}}
@media(max-width:540px){.footer-shell .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.footer-shell .footer-brand{padding:25px 20px;}.footer-shell .footer-col{padding:20px 15px;}.footer-shell .footer-bottom{padding:16px;text-align:center;justify-content:center;}.footer-shell{border-radius:18px;}}

/* Centered copyright */
.footer-shell .footer-bottom {justify-content:center;text-align:center;font-size:1rem;line-height:1.7;}
.footer-shell .footer-bottom p {width:100%;margin:0;}
.footer-shell .footer-bottom a,.footer-shell .footer-bottom a strong {font-weight:700;}
.footer-shell .footer-bottom a:hover {text-decoration:underline;}
@media(max-width:540px){.footer-shell .footer-bottom {font-size:.9rem;}}
