/* Theme tokens. Light is the default; dark follows the system or the header toggle.
   Dark mode uses a soft blue-gray (never pure black) and an off-white text color to reduce glare. */
:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #ffffff; --soft: #f6f8fb; --line: #e6ebf2; --line-2: #eef2f7;
  --ink: #0f172a; --text: #334155; --muted: #64748b;
  --accent: #2f6bff; --accent-hover: #2559e0; --accent-ink: #ffffff; --accent-soft: #eef3ff; --accent-text: #1f4fd1;
  --good: #12a150; --good-soft: #e9f8ef; --good-ink: #0b6b36;
  --warn: #c77700; --warn-soft: #fff6e5; --warn-ink: #8a5200; --warn-line: #f3dcae; --warn-dot: #e39a1a;
  --bad: #d92d20; --bad-soft: #feeceb; --bad-ink: #a3211a;
  --header-bg: rgba(255,255,255,.82); --glow: #eaf0ff;
  --seg-bg: #e9eef6; --seg-on: #ffffff; --range: #dfe6f2;
  --drop-a: #fbfcff; --drop-b: #f4f7fd; --drop-line: #cfd9ea; --drop-hover: #f1f5ff;
  --stage-a: #eef1f6; --stage-b: #f8fafd; --btn-hover-line: #cdd7e6;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 30px rgba(15,23,42,.06);
  --shadow-photo: 0 10px 40px rgba(15,23,42,.18);
  --cta-bg: #0f172a; --cta-text: #cbd5e1;
  --r: 18px; --r-sm: 12px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
:root[data-theme="dark"] { color-scheme: dark;
  --bg: #0e1318; --surface: #151b22; --soft: #121820; --line: #263040; --line-2: #1f2834;
  --ink: #e6ebf2; --text: #b7c1ce; --muted: #8b98aa;
  --accent: #6f9bff; --accent-hover: #4a78e8; --accent-ink: #ffffff; --accent-soft: rgba(111,155,255,.14); --accent-text: #a9c3ff;
  --good: #4cc38a; --good-soft: rgba(76,195,138,.13); --good-ink: #8fdcb7;
  --warn: #e0a64a; --warn-soft: rgba(224,166,74,.13); --warn-ink: #edc487; --warn-line: rgba(224,166,74,.28); --warn-dot: #d99a35;
  --bad: #f07178; --bad-soft: rgba(240,113,120,.13); --bad-ink: #f4a1a6;
  --header-bg: rgba(14,19,24,.82); --glow: rgba(111,155,255,.10);
  --seg-bg: #0f151b; --seg-on: #232d3a; --range: #2a3544;
  --drop-a: #141a21; --drop-b: #121820; --drop-line: #34425a; --drop-hover: #17202b;
  --stage-a: #11171e; --stage-b: #161d26; --btn-hover-line: #3a4a63;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 30px rgba(0,0,0,.28);
  --shadow-photo: 0 10px 40px rgba(0,0,0,.5);
  --cta-bg: #18212c; --cta-text: #b7c1ce;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark;
    --bg: #0e1318; --surface: #151b22; --soft: #121820; --line: #263040; --line-2: #1f2834;
    --ink: #e6ebf2; --text: #b7c1ce; --muted: #8b98aa;
    --accent: #6f9bff; --accent-hover: #4a78e8; --accent-ink: #ffffff; --accent-soft: rgba(111,155,255,.14); --accent-text: #a9c3ff;
    --good: #4cc38a; --good-soft: rgba(76,195,138,.13); --good-ink: #8fdcb7;
    --warn: #e0a64a; --warn-soft: rgba(224,166,74,.13); --warn-ink: #edc487; --warn-line: rgba(224,166,74,.28); --warn-dot: #d99a35;
    --bad: #f07178; --bad-soft: rgba(240,113,120,.13); --bad-ink: #f4a1a6;
    --header-bg: rgba(14,19,24,.82); --glow: rgba(111,155,255,.10);
    --seg-bg: #0f151b; --seg-on: #232d3a; --range: #2a3544;
    --drop-a: #141a21; --drop-b: #121820; --drop-line: #34425a; --drop-hover: #17202b;
    --stage-a: #11171e; --stage-b: #161d26; --btn-hover-line: #3a4a63;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 30px rgba(0,0,0,.28);
    --shadow-photo: 0 10px 40px rgba(0,0,0,.5);
    --cta-bg: #18212c; --cta-text: #b7c1ce;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; }
body.busy { cursor: progress; }
img, svg, canvas { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 750; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 720; }
h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 99; border-radius: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
@supports (animation-timeline: scroll()) { .site-header { animation: hdr linear both; animation-timeline: scroll(root); animation-range: 0 80px; } @keyframes hdr { to { border-bottom-color: var(--line); } } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 520; transition: background .2s, color .2s; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.cta { background: var(--ink); color: var(--bg); } .nav a.cta:hover { opacity: .88; background: var(--ink); }
.hdr-right { display: flex; align-items: center; gap: 4px; order: 3; }
.site-header .wrap .nav { order: 2; margin-left: auto; margin-right: 8px; }
.theme-btn, .menu-btn { background: none; border: 0; padding: 9px; border-radius: 999px; cursor: pointer; color: var(--text); display: grid; place-items: center; transition: background .2s, color .2s; }
.theme-btn:hover, .menu-btn:hover { background: var(--soft); color: var(--ink); }
.theme-btn svg { width: 20px; height: 20px; display: block; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; } :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; } :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; } }
.menu-btn { display: none; }
@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; margin: 0; }
  .nav.open { display: flex; }
}

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 28px; text-align: center; background: radial-gradient(900px 380px at 50% -80px, var(--glow) 0, transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow svg { width: 18px; height: 18px; flex: none; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #7aa2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 20px auto 0; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--good); flex: none; }

/* tool */
.tool { padding: 8px 0 56px; }
.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(14px, 2.4vw, 26px); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; background: var(--seg-bg); padding: 5px; border-radius: 999px; width: fit-content; max-width: 100%; margin: 0 auto 22px; }
.seg button { appearance: none; border: 0; background: transparent; font: inherit; font-size: 14.5px; font-weight: 560; color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--seg-on); color: var(--accent-text); box-shadow: 0 1px 3px rgba(0,0,0,.18), 0 0 0 1px var(--line); }
.tool-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tool-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.panel { background: var(--soft); border-radius: var(--r); padding: 18px; }
.panel.white { background: var(--surface); border: 1px solid var(--line); }
.drop { display: grid; place-items: center; text-align: center; min-height: 420px; border: 2px dashed var(--drop-line); border-radius: var(--r); background: linear-gradient(var(--drop-a), var(--drop-b)); cursor: pointer; padding: 28px; transition: border-color .25s, background .25s, transform .25s; }
.drop:hover, .drop.over, .drop:focus-visible { border-color: var(--accent); background: var(--drop-hover); outline: none; }
.drop.over { transform: scale(1.01); }
.drop .ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.drop .ico svg { width: 30px; height: 30px; }
.drop strong { display: block; font-size: 20px; color: var(--ink); }
.drop small { display: block; color: var(--muted); margin: 6px 0 18px; }
.drop .tips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.drop .tips span { font-size: 13px; background: var(--surface); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .25s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); border-color: var(--btn-hover-line); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
:root[data-theme="dark"] .btn.primary { background: #4a78e8; border-color: #4a78e8; } :root[data-theme="dark"] .btn.primary:hover { background: #5b87f0; border-color: #5b87f0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.primary { background: #4a78e8; border-color: #4a78e8; } :root:not([data-theme="light"]) .btn.primary:hover { background: #5b87f0; border-color: #5b87f0; } }
.btn.big { padding: 15px 28px; font-size: 16.5px; width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

.working { min-height: 420px; display: grid; place-content: center; text-align: center; gap: 22px; border-radius: var(--r); background: var(--soft); padding: 28px; }
.spinner { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.working ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; text-align: left; font-size: 15px; color: var(--muted); }
.working li { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.working li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; flex: none; }
.working li.active { color: var(--ink); font-weight: 600; } .working li.active::before { background: var(--accent); transform: scale(1.3); }
.working li.done { color: var(--good); } .working li.done::before { background: var(--good); }
#workText { font-weight: 600; color: var(--ink); margin: 0; }

.stage { display: grid; place-items: center; padding: 14px; border-radius: var(--r); background: repeating-conic-gradient(var(--stage-a) 0 25%, var(--stage-b) 0 50%) 0 0/20px 20px; }
#view { touch-action: none; cursor: grab; background: #fff; border-radius: 6px; box-shadow: var(--shadow-photo); display: block; }
#view:active { cursor: grabbing; }
.ctrls { display: grid; gap: 10px; margin-top: 16px; }
.row { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: var(--range); border-radius: 99px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.25); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); cursor: pointer; }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.row.toggle { grid-template-columns: auto 1fr; cursor: pointer; }
.mini { display: flex; flex-wrap: wrap; gap: 4px; background: var(--seg-bg); padding: 3px; border-radius: 999px; width: fit-content; max-width: 100%; }
.mini button { appearance: none; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 560; color: var(--muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.mini button:hover { color: var(--ink); }
.mini button.on { background: var(--seg-on); color: var(--accent-text); box-shadow: 0 1px 3px rgba(0,0,0,.18), 0 0 0 1px var(--line); }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hint { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chips span { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.side h3 { font-size: 17px; }
.side .use { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.digital { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 14px; }
.digital li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; }
.digital b { color: var(--ink); font-weight: 600; }
.more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }
.banner { border-radius: var(--r-sm); padding: 14px 16px; display: grid; gap: 2px; margin-bottom: 14px; }
.banner b { font-size: 16px; } .banner span { font-size: 14px; }
.banner.ok { background: var(--good-soft); color: var(--good-ink); } .banner.warn { background: var(--warn-soft); color: var(--warn-ink); } .banner.bad { background: var(--bad-soft); color: var(--bad-ink); }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 4px; border-bottom: 1px solid var(--line-2); }
.checks li:last-child { border: 0; }
.checks i { flex: none; width: 22px; height: 22px; margin-top: 1px; } .checks i svg { width: 100%; height: 100%; display: block; }
.checks .ok svg circle { fill: var(--good); } .checks .warn svg circle { fill: var(--warn-dot); } .checks .bad svg circle { fill: var(--bad); } .checks .info svg circle { fill: #7d8ba0; }
.checks b { display: block; color: var(--ink); font-size: 15px; font-weight: 620; }
.checks span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.price { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; min-height: 1em; }
.demo { font-size: 13px; background: var(--warn-soft); color: var(--warn-ink); border-radius: 10px; padding: 8px 12px; margin-top: 10px; }
.secondary { margin-top: 10px; display: grid; }
.privacy { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 14px; align-items: flex-start; }
.privacy svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--good); }

/* dialog */
dialog { border: 0; border-radius: 22px; padding: 0; width: min(520px, 100% - 32px); background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.4); color: var(--text); }
dialog::backdrop { background: rgba(8,12,18,.55); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .32s cubic-bezier(.22,1,.36,1); } dialog[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } } @keyframes fade { from { opacity: 0; } }
.dlg { padding: 28px; }
.dlg .badge { width: 52px; height: 52px; border-radius: 16px; background: var(--bad-soft); color: var(--bad); display: grid; place-items: center; margin-bottom: 14px; }
.dlg .badge svg { width: 28px; height: 28px; }
.dlg h2 { font-size: 24px; margin-bottom: 10px; }
.dlg ul.reasons { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.dlg ul.reasons h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.dlg ul.reasons p { margin: 0 0 6px; }
.dlg ul.reasons ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.dlg .acts { display: flex; gap: 10px; flex-wrap: wrap; } .dlg .acts .btn.primary { flex: 1; }

/* sections */
section.block { padding: clamp(48px, 7vw, 92px) 0; }
section.block.soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 12px 0 0; }
.grid3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .n { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 750; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 8px 0 0; }
.req { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.req div { display: grid; grid-template-columns: minmax(150px, 0.8fr) 2fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.req div:last-child { border: 0; }
.req b { color: var(--ink); } .req span { color: var(--muted); }
@media (max-width: 620px) { .req div { grid-template-columns: 1fr; gap: 2px; } }
.split { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; } .ticks svg { width: 22px; height: 22px; flex: none; color: var(--good); margin-top: 2px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba figure { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.ba .ph { aspect-ratio: 1; border-radius: 14px; margin-bottom: 8px; display: grid; place-items: end center; overflow: hidden; border: 1px solid var(--line); }
.ba .dark { background: linear-gradient(160deg, #1e293b, #0f172a); } .ba .light { background: #fff; }
.ba svg { width: 78%; height: auto; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 20px; margin: 10px 0; transition: box-shadow .25s; }
details.faq[open] { box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; font-weight: 620; color: var(--ink); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform .3s; line-height: 1; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > div { padding: 0 0 18px; color: var(--muted); }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } details.faq::details-content { block-size: 0; overflow: clip; transition: block-size .35s cubic-bezier(.22,1,.36,1), content-visibility .35s allow-discrete; } details.faq[open]::details-content { block-size: auto; } }
.links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.links a { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--ink); font-weight: 560; font-size: 15px; transition: border-color .2s, transform .2s; }
.links a:hover { border-color: var(--accent); transform: translateY(-1px); }
.notice { background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: var(--r-sm); padding: 14px 18px; font-size: 15px; margin: 0 0 24px; }
.cta-band { background: var(--cta-bg); color: var(--cta-text); border-radius: 28px; padding: clamp(32px, 5vw, 56px); text-align: center; }
.cta-band h2 { color: #fff; } .cta-band p { max-width: 560px; margin: 12px auto 24px; }
:root[data-theme="dark"] .cta-band h2 { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band h2 { color: var(--ink); } }

/* article / legal */
.doc { padding: clamp(36px, 6vw, 72px) 0 80px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 24px; margin: 38px 0 10px; }
.doc h3 { margin: 24px 0 6px; }
.doc ul, .doc ol { padding-left: 22px; } .doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); background: var(--soft); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; } .crumbs a { color: var(--muted); }

footer.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 48px 0 36px; font-size: 14.5px; color: var(--muted); }
.foot { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 780px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
.foot .fh { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: var(--accent); }
.legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }

[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 820px) { .hdr-right { margin-left: auto; } }

/* v2 additions: progress bar, people list, examples, languages, manual mode */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bar { width: min(320px, 80%); height: 8px; border-radius: 99px; background: var(--line); margin: 0 auto; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #7aa2ff); border-radius: 99px; transition: width .25s; }
.people { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.people li { position: relative; }
.people .pbtn { display: grid; grid-template-columns: 40px auto; gap: 4px 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px 6px 6px; cursor: pointer; color: var(--ink); font: inherit; font-size: 13px; position: relative; }
.people .cur .pbtn { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.people img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; grid-row: span 1; }
.people .dot { position: absolute; top: 4px; left: 36px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--surface); background: #94a3b8; }
.people .dot.ok { background: var(--good); } .people .dot.warn { background: var(--warn-dot); } .people .dot.bad { background: var(--bad); }
.people .prm { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; line-height: 1; cursor: pointer; }
.ex-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ex { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ex.good { border-color: var(--good); }
.ex-img { position: relative; aspect-ratio: 1; background: #fff; }
.ex-img svg { width: 100%; height: 100%; display: block; }
.ex-badge { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; }
.ex figcaption { padding: 12px 14px 14px; }
.ex figcaption b { display: block; color: var(--ink); font-size: 15px; }
.ex figcaption span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 12px !important; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; }
#view:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#mview { display: block; border-radius: 6px; box-shadow: var(--shadow-photo); background: #fff; }
.seg { max-width: 100%; overflow-x: auto; }

/* ---------- PDF editor and signer ---------- */
.pdf-bar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 6px; background: var(--soft); border-radius: 16px; }
.tb { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 560; color: var(--text); padding: 8px 11px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.tb svg { width: 18px; height: 18px; flex: none; }
.tb:hover { background: var(--surface); color: var(--ink); }
.tb.on { background: var(--surface); color: var(--accent-text); box-shadow: 0 1px 3px rgba(0,0,0,.18), 0 0 0 1px var(--line); }
.tb.icon span { display: none; }
.tb:disabled { opacity: .4; cursor: not-allowed; }
.sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.pdf-props { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted); }
.pdf-props input[type=range] { width: 120px; vertical-align: middle; margin-left: 6px; }
#pdfColors button, .sigcol button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); cursor: pointer; margin-right: 6px; padding: 0; }
#pdfColors button.on, .sigcol button.on { box-shadow: 0 0 0 2px var(--accent); }
.btn.small.on { border-color: var(--accent); color: var(--accent-text); }
.pdf-scroll { margin-top: 10px; max-height: min(78vh, 900px); overflow: auto; border-radius: 14px; padding: 14px; background: repeating-conic-gradient(var(--stage-a) 0 25%, var(--stage-b) 0 50%) 0 0/20px 20px; overscroll-behavior: contain; }
.pg { margin: 0 auto 18px; width: fit-content; max-width: 100%; }
.pg-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); margin: 0 2px 6px; gap: 8px; }
.pg-head button { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; width: 28px; height: 26px; cursor: pointer; color: var(--text); margin-left: 4px; font-size: 13px; padding: 0; }
.pg-head button:hover:not(:disabled) { border-color: var(--accent); }
.pg-head button:disabled { opacity: .35; cursor: not-allowed; }
.pg-wrap { position: relative; background: #fff; box-shadow: var(--shadow-photo); margin: 0 auto; max-width: 100%; }
.pg-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ov { position: absolute; inset: 0; touch-action: pan-y; }
#pdfPages[data-tool="text"] .ov { cursor: text; }
#pdfPages[data-tool="sign"] .ov, #pdfPages[data-tool="image"] .ov, #pdfPages[data-tool="date"] .ov, #pdfPages[data-tool="check"] .ov, #pdfPages[data-tool="cross"] .ov, #pdfPages[data-tool="white"] .ov, #pdfPages[data-tool="highlight"] .ov, #pdfPages[data-tool="pen"] .ov { cursor: crosshair; touch-action: none; }
.ann { position: absolute; cursor: move; touch-action: none; outline: 1px dashed transparent; }
.ann:hover { outline-color: rgba(47,107,255,.6); }
.ann.sel { outline: 2px solid var(--accent); }
.ann-text { white-space: pre; line-height: 1.2; min-width: 1ch; min-height: 1.2em; font-family: Helvetica, Arial, sans-serif; user-select: none; -webkit-user-select: none; }
.ann-text:focus { cursor: text; user-select: text; -webkit-user-select: text; outline: 2px solid var(--accent); }
.ann img { width: 100%; height: 100%; display: block; pointer-events: none; }
.ann svg { width: 100%; height: 100%; display: block; overflow: visible; pointer-events: none; }
.ann .h { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; cursor: nwse-resize; display: none; }
.ann.sel .h, .ann.sel .ann-x { display: block; }
.ann-x { display: none; position: absolute; top: -13px; right: -13px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--bad); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; z-index: 2; }
.ann.draft { pointer-events: none; border: 1px dashed var(--accent); }
.pen-draft { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pdf-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 12px; }
.pdf-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sigcv { width: 100%; max-width: 560px; aspect-ratio: 560 / 190; background: #fff; border: 1px solid var(--line); border-radius: 12px; touch-action: none; cursor: crosshair; display: block; }
.sigin { width: 100%; font: inherit; font-size: 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.sigfonts { display: grid; gap: 8px; margin-top: 10px; }
.sigfonts button { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 14px; font-size: 32px; text-align: left; cursor: pointer; overflow: hidden; white-space: nowrap; line-height: 1.3; }
.sigfonts button.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.sigprev { display: block; max-height: 80px; max-width: 100%; margin: 10px 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.sigcol { margin: 10px 0; }
.sigsaved { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; font-size: 13px; color: var(--muted); }
.sigsaved b { width: 100%; font-weight: 600; }
.sigsaved span { position: relative; }
.sigsaved .sv { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 8px; cursor: pointer; }
.sigsaved img { height: 34px; display: block; }
.sigsaved .rm { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 12px; line-height: 1; color: var(--muted); padding: 0; }
.remember { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); align-items: center; }
dialog#sigdlg { width: min(620px, 100% - 24px); max-height: calc(100vh - 24px); overflow: auto; }
@media (max-width: 640px) { .tb span { display: none; } .tb { padding: 9px; } .pdf-scroll { padding: 8px; } }

.ann-text .tx { display: block; outline: none; min-width: 1ch; cursor: move; user-select: none; -webkit-user-select: none; }
.ann-text .tx:focus { cursor: text; user-select: text; -webkit-user-select: text; }
.ann-text:focus-within { outline: 2px solid var(--accent); }

/* ---------- navbar dropdowns ---------- */
.dd { position: relative; }
.dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 520; color: var(--text); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.dd-btn:hover, .dd.open .dd-btn { background: var(--soft); color: var(--ink); }
.dd-btn .caret { width: 12px; height: 12px; transition: transform .2s; }
.dd.open .caret { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 40; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 9px; white-space: nowrap; color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 520; }
.dd-menu a:hover { background: var(--soft); color: var(--ink); }
.dd.open .dd-menu { display: block; animation: pop .18s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (min-width: 821px) { .dd:hover .dd-menu { display: block; } .dd:hover .caret { transform: rotate(180deg); } .dd:hover .dd-btn { background: var(--soft); color: var(--ink); } }
@media (max-width: 820px) {
  .dd-btn { padding: 12px 14px 4px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); cursor: default; pointer-events: none; }
  .dd-btn .caret { display: none; } .dd::after { display: none; }
  .dd-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 6px 6px; min-width: 0; background: transparent; }
  .dd-menu a { white-space: normal; }
}

/* ---------- home: products hub ---------- */
.grp { font-size: 13.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 34px 0 14px; font-weight: 650; }
.prods { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.prods > .prod { flex: 1 1 250px; max-width: calc((100% - 54px) / 4); min-width: 250px; }
@media (max-width: 1060px) { .prods > .prod { max-width: calc((100% - 36px) / 3); } }
@media (max-width: 820px) { .prods > .prod { max-width: calc((100% - 18px) / 2); min-width: 220px; } }
@media (max-width: 560px) { .prods > .prod { max-width: none; min-width: 0; flex-basis: 100%; } }
.prod { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: inherit; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.prod-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.prod-ico svg { width: 24px; height: 24px; }
.prod h3 { margin-top: 6px; }
.prod p { color: var(--muted); margin: 0; flex: 1; }
.prod .chips { margin: 4px 0 0; }
.prod-go { color: var(--accent-text); font-weight: 600; font-size: 14.5px; margin-top: 6px; }

/* ---------- merge + compress PDF tools ---------- */
.mglist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.mglist li { display: grid; grid-template-columns: auto 56px 1fr auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; transition: border-color .2s, box-shadow .2s, opacity .2s; }
.mglist li.drag { opacity: .45; } .mglist li.over { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.mglist .grip { color: var(--muted); cursor: grab; font-size: 18px; user-select: none; }
.mglist img { width: 56px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.mglist .meta { min-width: 0; display: grid; gap: 2px; }
.mglist .meta b { color: var(--ink); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mglist .meta span { color: var(--muted); font-size: 13px; }
.mglist .rng { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 4px; flex-wrap: wrap; }
.mglist .rng input { font: inherit; font-size: 13px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); width: 150px; max-width: 100%; }
.mglist .ctl { display: flex; gap: 4px; }
.mglist .ctl button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; padding: 0; }
.mglist .ctl button:hover:not(:disabled) { border-color: var(--accent); } .mglist .ctl button:disabled { opacity: .35; cursor: not-allowed; }
.cp-file { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.cp-file b { display: block; color: var(--ink); } .cp-file span { color: var(--muted); font-size: 13.5px; }
.cp-h { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 0 10px; }
.lvls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lvls button { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s, opacity .2s; }
.lvls button b { color: var(--ink); font-size: 15px; } .lvls button span { font-size: 12.5px; color: var(--muted); }
.lvls button:hover:not(:disabled) { border-color: var(--accent); }
.lvls button.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); background: var(--accent-soft); }
.lvls button.dim, .lvls button:disabled { opacity: .45; cursor: not-allowed; }
.cp-target { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0; font-size: 14.5px; color: var(--muted); }
.cp-target select { font: inherit; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.cp-res { margin-top: 16px; background: var(--soft); border-radius: 14px; padding: 16px; }
.cp-res p { margin: 0 0 12px; } .cp-res .save { color: var(--good); font-weight: 650; }
@media (max-width: 640px) { .lvls { grid-template-columns: repeat(2, 1fr); } .mglist li { grid-template-columns: 56px 1fr; } .mglist .grip { display: none; } .mglist .ctl { grid-column: 1 / -1; justify-content: flex-end; } }

/* ---------- camera capture + no-edit note ---------- */
.drop-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cam-stage { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 3 / 4; max-height: 70vh; margin: 0 auto; }
.cam-stage video, .cam-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-msg { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(15,23,42,.78); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.cam-acts { justify-content: center; margin-top: 12px; }
.strict-note { margin: 12px 0 0; font-size: 14px; }

/* ---------- language switcher (globe icon) ---------- */
.lang-dd { position: relative; }
.lang-btn { display: inline-flex !important; align-items: center; gap: 4px; }
.lang-code { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 45; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 520; }
.lang-menu a:hover { background: var(--soft); color: var(--ink); }
.lang-menu a[aria-current] { color: var(--accent-text); font-weight: 650; }
.lang-dd.open .lang-menu { display: block; animation: pop .18s cubic-bezier(.22,1,.36,1); }
.app-cta { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); max-width: 340px; }
.app-cta .fh { margin: 0 0 6px !important; } .app-cta p { margin: 0 0 10px; font-size: 13.5px; }

/* ---------- single-file PDF tools ---------- */
.pt-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px; margin: 18px 0; }
.pt-opts.one { grid-template-columns: 1fr; }
.pt-opts label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.pt-opts input[type="text"], .pt-opts input[type="number"], .pt-opts select { font: inherit; font-weight: 400; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.pt-opts input:focus-visible, .pt-opts select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.pt-opts input[type="color"] { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 4px; }
.pt-opts input[type="range"] { accent-color: var(--accent); }
.pt-opts output { font-weight: 400; }
label.chk { display: flex !important; align-items: center; gap: 8px; font-weight: 500; color: var(--text); font-size: 14.5px; grid-column: 1 / -1; }
label.chk input { width: 18px; height: 18px; accent-color: var(--accent); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fm-wrap { max-height: 70vh; overflow: auto; margin: 16px 0 0; padding: 12px; background: var(--soft); border-radius: 16px; display: grid; gap: 14px; justify-items: center; }
.fm-page { position: relative; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); border-radius: 4px; max-width: 100%; }
.fm-page canvas { width: 100%; height: 100%; display: block; border-radius: 4px; }
.fm-in { position: absolute; box-sizing: border-box; margin: 0; padding: 1px 4px; border: 1px solid rgba(47,107,255,.55); background: rgba(47,107,255,.09); color: #111; font: 13px/1.2 system-ui, sans-serif; border-radius: 3px; resize: none; }
.fm-in:focus { outline: 2px solid #2f6bff; background: rgba(255,255,255,.95); }
.fm-in[type="checkbox"], .fm-in[type="radio"] { accent-color: #2f6bff; padding: 0; }
.fm-wrap .notice { justify-self: stretch; }

.print-tip { display: flex; gap: 8px; align-items: flex-start; text-align: left !important; margin: 10px 0 0; font-size: 13.5px; }
.print-tip svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.print-tip[hidden], .guarantee[hidden] { display: none; }
.guarantee { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: 13.5px; }

h2.h3x { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
h2.cp-h { font-weight: 600; }
.side h2.h3x { font-size: 17px; }
.doc table { width: 100%; table-layout: auto; }
.doc th, .doc td { overflow-wrap: anywhere; }
@media (max-width: 560px) { .doc th, .doc td { padding-left: 8px; padding-right: 8px; font-size: 14px; } }
