/* WatermarkLab — no framework, system fonts, fast LCP */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7f8;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6676;
  --border: #dfe5ea;
  --primary: #0f766e;
  --primary-600: #0d635c;
  --primary-50: #e6f4f2;
  --accent: #f59e0b;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220; --bg-alt: #111a2b; --surface: #131d30; --text: #e5edf5; --muted: #9aa8b8;
    --border: #24324a; --primary: #2dd4bf; --primary-600: #5eead4; --primary-50: #0f2e33;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  }
  .btn-primary { color: #04201d !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img, canvas, svg { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-600); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 1.6em; }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 12px; font-size: .875rem; }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; width: 100%; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; }
}

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 0; margin: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs.container ol { padding-left: 0; padding-right: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }

/* Hero */
.hero { text-align: center; padding: 40px 16px 24px; }
.hero-sm { padding-top: 24px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; margin: 0 auto 1em; }
.badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; }
.badges li { background: var(--primary-50); color: var(--primary); border-radius: 999px; padding: 4px 12px; font-size: .85rem; font-weight: 600; }

/* ---------------- Tool ---------------- */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin: 12px 0 8px; }
@media (max-width: 960px) { .tool { grid-template-columns: 1fr; padding: 12px; } }
.tool-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 961px) { .tool-main { position: sticky; top: 72px; align-self: start; } #wm-canvas { max-height: calc(100vh - 260px); } }
.dropzone { border: 2px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); background: var(--surface); border-radius: var(--radius); padding: 28px 16px; text-align: center; cursor: pointer; color: var(--primary); transition: background .15s, border-color .15s; }
.dropzone:hover, .dropzone.over { background: var(--primary-50); border-color: var(--primary); }
.dropzone .drop-title { font-weight: 700; font-size: 1.15rem; color: var(--text); margin: 6px 0 2px; }
.dropzone .drop-hint { color: var(--muted); font-size: .875rem; }
.dropzone.compact { padding: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dropzone .drop-privacy { color: var(--primary); font-size: .85rem; font-weight: 600; margin: -4px 0 12px; }
.dropzone.compact svg, .dropzone.compact .drop-hint, .dropzone.compact .drop-privacy { display: none; }
.dropzone.compact .drop-title { margin: 0; font-size: 1rem; }

.files, .preview, .results { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.files-head, .preview-head, .results-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.file-list, .result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 260px; overflow: auto; }
.result-list { max-height: none; }
.file-item, .result-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 6px; }
.file-item.selected { border-color: var(--primary); background: var(--primary-50); }
.file-item.error { border-color: var(--danger); }
.file-item.error .file-info { color: var(--danger); }
.file-pick { flex: 1; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.file-thumb { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; flex: none; background: var(--bg-alt); display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb.pdf { background: #fee2e2; color: #b91c1c; }
.file-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.file-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: .9rem; }
.file-remove { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.file-remove:hover { color: var(--danger); background: var(--bg-alt); }

.preview-stage { background: repeating-conic-gradient(#e5e7eb 0 25%, #f8fafc 0 50%) 50% / 20px 20px; border-radius: 8px; display: grid; place-items: center; min-height: 240px; overflow: hidden; }
#wm-canvas { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; cursor: crosshair; touch-action: none; box-shadow: var(--shadow); }
.preview-tip { margin: 8px 0 0; }

.tool-panel { display: flex; flex-direction: column; gap: 12px; }
.panel-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px 14px; margin: 0; min-width: 0; }
.panel-section legend { font-weight: 700; padding: 0 4px; display: flex; align-items: center; gap: 8px; }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: .8rem; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 0; font-size: .9rem; font-weight: 500; }
.field output { font-weight: 700; color: var(--primary); }
.field input[type=text], .field input[type=number], .field select, .field textarea, .field > input[type=text] {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font: inherit; background: var(--bg); color: var(--text);
}
.field textarea { resize: vertical; min-height: 44px; }
input[type=range] { width: 100%; accent-color: var(--primary); }
input[type=color] { width: 44px; height: 36px; padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); cursor: pointer; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.row .grow { flex: 1 1 120px; }
.color-field { flex: none; }
.checks { margin-top: 10px; gap: 14px; align-items: center; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; margin-top: 10px; cursor: pointer; }
.checks .check { margin-top: 0; }
.check input { accent-color: var(--primary); width: 16px; height: 16px; }
.range-num { display: flex; align-items: center; gap: 8px; }
.range-num input[type=number] { width: 80px !important; flex: none; }
.range-num em { font-style: normal; color: var(--muted); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); border-radius: 10px; padding: 3px; gap: 3px; margin-top: 6px; }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; text-align: center; padding: 7px 4px; border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--muted); }
.segmented input:checked + span { background: var(--surface); color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.segmented input:focus-visible + span { outline: 2px solid var(--primary); }

.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 150px; margin: 12px auto 0; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-alt); }
.grid9 label { position: relative; aspect-ratio: 1; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; }
.grid9 input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.grid9 label::after { content: ""; position: absolute; inset: 35%; border-radius: 50%; background: var(--border); }
.grid9 label:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.grid9 label:has(input:checked)::after { background: var(--primary); }
.grid9 label:has(input:focus-visible) { outline: 2px solid var(--primary); }
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.grid4 label { position: relative; }
.grid4 input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.grid4 span { display: block; text-align: center; padding: 8px; border: 1px solid var(--border); border-radius: 8px; font-size: .85rem; }
.grid4 input:checked + span { border-color: var(--primary); background: var(--primary-50); color: var(--primary); font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 999px; padding: 3px 10px; font: inherit; font-size: .8rem; cursor: pointer; }
.chip.active, .chip:hover { border-color: var(--primary); color: var(--primary); }
.logo-pick { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
#wm-logo-thumb { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; background: repeating-conic-gradient(#e5e7eb 0 25%, #fff 0 50%) 50% / 10px 10px; }

.panel-actions { position: sticky; bottom: 0; background: var(--bg-alt); padding: 8px 0; box-shadow: 0 -12px 12px -8px var(--bg-alt); z-index: 2; }
.progress { height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress-bar { height: 100%; width: 0; background: var(--primary); transition: width .2s; }
.results { grid-column: 1 / -1; }
.notice { grid-column: 1 / -1; background: #fff7ed; border: 1px solid #fed7aa; padding: 12px; border-radius: 8px; color: #9a3412; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 10px; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; max-width: calc(100% - 32px); font-size: .9rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Content sections ---------------- */
.section { padding-top: 48px; padding-bottom: 48px; }
.section-sm { padding-top: 28px; padding-bottom: 28px; }
.section-alt { background: var(--bg-alt); }
.section > h2:first-child, .section .container > h2:first-child { margin-top: 0; }
.section-lead { color: var(--muted); max-width: 760px; }
.steps-grid { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 0; }
.steps-grid li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.steps-grid li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps-grid p { margin: 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.feature-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card-badge { align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); background: var(--primary-50); padding: 2px 8px; border-radius: 6px; }
.card-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.card-text { color: var(--muted); font-size: .92rem; flex: 1; }
.card-link { color: var(--primary); font-weight: 600; font-size: .9rem; }
.pill-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
.pill-links a { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; }
.toc-inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.toc-inline a { padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); text-decoration: none; font-weight: 600; font-size: .9rem; }

/* Prose */
.prose-wrap { max-width: 820px; }
.prose { font-size: 1.05rem; }
.prose h2 { scroll-margin-top: 80px; }
.prose h3 { scroll-margin-top: 80px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose code, .prose kbd { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.prose blockquote, .tip { border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 1.2em 0; }
.prose .tip p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1em 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--bg-alt); }
.compare .ours { background: var(--primary-50); font-weight: 600; }

/* FAQ */
.faq { margin-top: 2.4em; }
.faq details { border: 1px solid var(--border); border-radius: 10px; margin: 8px 0; background: var(--surface); }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 16px 6px; color: var(--muted); }

/* Guide */
.guide-header { max-width: 820px; padding: 20px 0 8px; }
.guide-intro { font-size: 1.12rem; color: var(--muted); }
.guide-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; padding-bottom: 40px; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; } .guide-aside { order: -1; } .guide-aside .aside-cta { display: none; } }
.guide-body { max-width: 780px; }
.guide-aside { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.toc { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--surface); }
.toc-title { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .9rem; }
.toc li { margin: 4px 0; }
.aside-cta { border-radius: var(--radius); padding: 16px; background: var(--primary-50); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); }
.quick-answer { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 16px 0 20px; }
.qa-label { font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; color: var(--primary); margin-bottom: 4px; }
.quick-answer p:last-child { margin: 0; }
.howto-steps { list-style: none; counter-reset: step; padding: 0 !important; }
.howto-steps > li { counter-increment: step; position: relative; padding: 0 0 8px 52px; margin: 0 0 16px; scroll-margin-top: 80px; }
.howto-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.howto-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: -8px; width: 2px; background: var(--border); }
.howto-steps h3 { margin: 4px 0 6px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(135deg, var(--primary-50), color-mix(in srgb, var(--accent) 12%, var(--surface))); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.cta-box .btn { flex: none; }
.cta-title { font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; }
.cta-text { margin: 0; color: var(--muted); font-size: .95rem; }
.cta-compact { padding: 14px 18px; }
@media (max-width: 640px) { .cta-box { flex-direction: column; align-items: stretch; text-align: center; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 40px 0 20px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--primary); }
.footer-title { font-weight: 700; margin-bottom: 8px; }
.brand-footer { margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--border); margin-top: 24px; padding-top: 16px; }
.lang-switch { display: flex; gap: 12px; font-size: .9rem; }
.lang-switch [aria-current] { font-weight: 700; text-decoration: none; }

/* Watermark maker */
.maker-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
.maker-mode .maker-box { background: var(--primary-50); border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); border-radius: 10px; padding: 12px; }
.maker-mode #wm-export-png { background: var(--primary); color: #fff; border-color: transparent; }

/* Privacy / trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.trust-item { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.trust-item strong { display: block; }
.trust-item span.muted { font-size: .88rem; }
.trust-icon { font-size: 1.4rem; line-height: 1; }
.trust-more { font-size: .9rem; margin: 4px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split h2 { margin-top: 0; }
.privacy-box { background: var(--primary-50); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); border-radius: var(--radius); padding: 20px 22px; }
.privacy-box ul { padding-left: 1.2em; margin-bottom: 0; }
.privacy-box li { margin: .4em 0; }
.tpl-chips { margin: 10px 0 2px; } .tpl-chips .chip { font-weight: 600; }

/* Before / after examples */
.examples h2 { margin-top: 0; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ex-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ex-media { position: relative; background: var(--bg-alt); aspect-ratio: 3 / 2; }
.ex-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.ex-before { opacity: 0; }
.ex-card.show-before .ex-before { opacity: 1; }
.ex-card.show-before .ex-after { opacity: 0; }
.ex-toggle { position: absolute; right: 8px; bottom: 8px; background: rgba(15,23,42,.8); color: #fff; border: 0; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.ex-card figcaption { padding: 10px 14px; font-size: .92rem; }
.value-prop { font-weight: 700; color: var(--text); margin: -4px auto 14px; font-size: 1.05rem; }

.footer-extra { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 16px; }
.footer-extra p { margin: 4px 0; }
.footer-extra a { color: var(--text); }
.brand-on { color: var(--primary); }

/* Ad units: clearly labelled, space reserved to avoid layout shift, never inside the tool */
.ad { margin: 28px 0; padding: 8px 0 4px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); min-height: 280px; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; margin-bottom: 4px; }
.ad-guide_sidebar { min-height: 600px; border: 0; margin: 0; }
@media (max-width: 960px) { .ad-guide_sidebar { display: none; } }
.footer-consent { background: none; border: 0; padding: 0; font: inherit; color: var(--text); cursor: pointer; text-decoration: underline; }
.legal-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.legal-links a { color: var(--muted); }
