:root {
  --paper: #f7f7f2;
  --paper-deep: #eeeee7;
  --surface: #ffffff;
  --ink: #171a1f;
  --ink-soft: #31363e;
  --muted: #6d746f;
  --faint: #9aa09b;
  --line: #e2e3dc;
  --line-dark: #ced0c8;
  --accent: #ff5a36;
  --accent-dark: #e44220;
  --accent-soft: #ffe7df;
  --blue: #3566f4;
  --blue-soft: #e8edff;
  --green: #158362;
  --green-soft: #e3f2eb;
  --gold: #d89b19;
  --gold-soft: #fff3d4;
  --violet: #7a5be7;
  --violet-soft: #efeaff;
  --dark: #151814;
  --dark-soft: #20241f;
  --white: #fff;
  --max: 1220px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 4px 18px rgba(21, 24, 20, .06);
  --shadow: 0 24px 60px rgba(21, 24, 20, .1);
  --shadow-strong: 0 38px 90px rgba(21, 24, 20, .18);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-display: "Avenir Next", "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.tool-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
[hidden] { display: none !important; }

::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(53, 102, 244, .28); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 242, .88);
  border-bottom: 1px solid rgba(226, 227, 220, .8);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.nav-shell {
  width: min(var(--max), calc(100% - 48px));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-wordmark { display: block; width: 144px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 31px; margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 520; transition: color .18s ease; }
.desktop-nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #d7ded7;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: #5d6861;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .025em;
  white-space: nowrap;
}
.status-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 3px rgba(34,160,107,.12); }
.button {
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.3;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.button svg { width: 17px; height: 17px; stroke-width: 2; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 8px 20px rgba(23,26,31,.12); }
.button-primary:hover:not(:disabled) { background: #080a0d; box-shadow: 0 11px 25px rgba(23,26,31,.19); }
.button-ghost { background: var(--surface); border-color: var(--line-dark); color: var(--ink); }
.button-ghost:hover:not(:disabled) { border-color: #aeb1a8; background: #fbfbf8; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover:not(:disabled) { background: #f4f4ef; }
.nav-login { padding: 9px 15px; font-size: 13px; border-radius: 10px; }
.mobile-menu-button { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 38px; height: 38px; place-items: center; color: var(--ink); }
.mobile-menu-button svg { width: 20px; height: 20px; }
.mobile-nav { display: none; }

.hero {
  min-height: 690px;
  padding-block: 86px 94px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 54px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 14px -10vw 0 -10vw;
  z-index: -1;
  background-image: radial-gradient(rgba(23,26,31,.075) .7px, transparent .7px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 76%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 76%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; min-width: 0; animation: heroIn .65s .08s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #d9ddd5;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #4f5b53;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .045em;
}
.eyebrow svg { width: 15px; height: 15px; color: var(--green); stroke-width: 2; }
.hero h1 {
  margin: 24px 0 21px;
  font-family: var(--font-display);
  font-size: clamp(57px, 7.2vw, 92px);
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.072em;
}
.accent-word { color: var(--accent); position: relative; display: inline-block; }
.accent-word::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 1%;
  bottom: .035em;
  height: .09em;
  border-radius: 999px;
  background: var(--accent);
  opacity: .22;
  z-index: -1;
}
.hero-lede { max-width: 540px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.78; }
.hero-drop {
  position: relative;
  margin-top: 33px;
  padding: 19px 19px 19px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 550px;
  border: 1.5px dashed #c7cbc2;
  border-radius: 17px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 9px 32px rgba(21,24,20,.045);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hero-drop:hover, .hero-drop.is-dragging { border-color: var(--accent); background: var(--surface); box-shadow: 0 14px 38px rgba(21,24,20,.08); transform: translateY(-1px); }
.hero-drop-icon { width: 49px; height: 49px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent-dark); }
.hero-drop-icon svg { width: 23px; height: 23px; stroke-width: 2; }
.hero-drop-copy { display: grid; min-width: 0; }
.hero-drop-copy strong { font-size: 16px; letter-spacing: -.01em; }
.hero-drop-copy span { color: var(--muted); font-size: 13px; margin-top: 2px; }
.hero-drop-copy u { color: var(--accent-dark); text-underline-offset: 2px; font-weight: 650; }
.hero-drop-arrow { margin-left: auto; width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); transition: transform .2s ease; }
.hero-drop:hover .hero-drop-arrow { transform: translateX(2px); }
.hero-drop-arrow svg { width: 17px; height: 17px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 17px; margin-top: 16px; color: var(--faint); font-size: 12.5px; font-weight: 520; }
.hero-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hero-meta svg { width: 13px; height: 13px; color: var(--green); stroke-width: 2.4; }

.hero-visual {
  position: relative;
  height: 525px;
  display: grid;
  place-items: center;
  perspective: 1000px;
  animation: visualFade .8s .15s ease both;
}
@keyframes visualFade { from { opacity: 0; } to { opacity: 1; } }
.stage-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,54,.15), rgba(247,247,242,0) 70%);
  filter: blur(2px);
}
.paper {
  position: absolute;
  border: 1px solid #dfe1da;
  background: #fdfdfb;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.paper-back-two { width: 316px; height: 398px; transform: translate(88px, -28px) rotate(7deg); background: #ecece5; opacity: .82; }
.paper-back-one { width: 328px; height: 420px; transform: translate(37px, -9px) rotate(3.3deg); background: #f4f4ee; opacity: .94; }
.paper-back-two span, .paper-back-one span { position: absolute; left: 20px; bottom: 18px; color: var(--faint); font-size: 10px; font-weight: 650; letter-spacing: .03em; }
.paper-main {
  width: 352px;
  min-height: 452px;
  padding: 20px;
  transform: translate(-40px, 10px) rotate(-1.8deg);
  box-shadow: 0 36px 80px rgba(21,24,20,.18), 0 8px 24px rgba(21,24,20,.08);
  z-index: 3;
}
.paper-topbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #eef0eb; }
.mini-brand { display: flex; gap: 4px; }
.mini-brand span { width: 6px; height: 6px; border-radius: 50%; background: #d8dbd3; }
.mini-brand span:first-child { background: var(--accent); }
.mini-pill { padding: 4px 8px; border-radius: 6px; background: #f1f2ed; color: #6d736d; font-size: 8px; font-weight: 700; letter-spacing: .04em; }
.paper-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.paper-title-row > div { display: grid; min-width: 0; }
.paper-title-row small { color: var(--faint); font-size: 8px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.paper-title-row strong { margin-top: 4px; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
.paper-count { flex: 0 0 auto; padding: 4px 7px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 700; }
.page-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 17px; }
.page-thumb { position: relative; aspect-ratio: .72; padding: 10px 8px; border: 1px solid #e9eae4; border-radius: 7px; background: #fafaf7; overflow: hidden; box-shadow: 0 2px 4px rgba(23,26,31,.025); }
.thumb-kicker { display: block; width: 28%; height: 3px; margin-bottom: 9px; border-radius: 10px; background: #e4e5df; }
.thumb-title { display: block; width: 85%; height: 5px; margin-bottom: 7px; border-radius: 10px; background: #cfd1ca; }
.thumb-line { display: block; width: 100%; height: 2.5px; margin-bottom: 4px; border-radius: 10px; background: #e8e9e4; }
.thumb-line.short { width: 62%; }
.thumb-chart { position: absolute; left: 9px; right: 9px; bottom: 10px; height: 34%; display: flex; align-items: flex-end; gap: 4px; padding: 4px 5px; border-radius: 4px; background: #f1f2ed; }
.thumb-chart i { flex: 1; border-radius: 2px 2px 0 0; background: #ff886f; }
.thumb-chart i:nth-child(1) { height: 40%; }.thumb-chart i:nth-child(2) { height: 72%; }.thumb-chart i:nth-child(3) { height: 55%; }.thumb-chart i:nth-child(4) { height: 88%; background: var(--accent); }
.thumb-photo { position: absolute; left: 9px; right: 9px; bottom: 10px; height: 28%; border-radius: 4px; background: linear-gradient(135deg, #dbe2d9, #b7c3b7); }
.thumb-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; margin-top: 6px; }
.thumb-table i { height: 10px; border-radius: 2px; background: #eef0eb; }
.thumb-table i:nth-child(odd) { background: #e5e7e0; }
.paper-progress { height: 4px; margin-top: 20px; border-radius: 999px; background: #eff0eb; overflow: hidden; }
.paper-progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ff8e70); animation: progressSweep 3.6s ease-in-out infinite; }
@keyframes progressSweep { 0%, 12% { width: 19%; } 55%, 75% { width: 72%; } 100% { width: 100%; } }
.paper-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; color: var(--faint); font-size: 8px; font-weight: 600; }
.paper-footer strong { color: var(--accent); }
.float-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(221,223,215,.9);
  border-radius: 13px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 15px 38px rgba(21,24,20,.12);
  backdrop-filter: blur(12px);
}
.float-chip-top { top: 39px; right: -2px; animation: chipFloat 5.5s ease-in-out infinite; }
.float-chip-bottom { bottom: 23px; left: -5px; animation: chipFloat 5.5s .9s ease-in-out infinite; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.chip-icon, .chip-check { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; }
.chip-icon { background: var(--green-soft); color: var(--green); }
.chip-check { background: var(--ink); color: var(--white); }
.chip-icon svg, .chip-check svg { width: 16px; height: 16px; stroke-width: 2.2; }
.float-chip > span:last-child { display: grid; line-height: 1.25; }
.float-chip strong { font-size: 10px; }
.float-chip small { margin-top: 2px; color: var(--faint); font-size: 8px; }

.tools-section { padding-block: 94px 106px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 34px; }
.section-heading h2, .privacy-copy h2, .faq-intro h2, .cta-card h2 {
  margin: 9px 0 9px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -.055em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.section-kicker { color: var(--accent-dark); font-size: 10px; font-weight: 760; letter-spacing: .16em; }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.tool-filters { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 4px; }
.filter-chip { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 13px; font-size: 11px; font-weight: 620; transition: .18s ease; }
.filter-chip:hover { border-color: var(--line-dark); color: var(--ink); }
.filter-chip.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-card {
  --tool-color: var(--accent);
  --tool-soft: var(--accent-soft);
  position: relative;
  min-height: 215px;
  padding: 20px 20px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.68);
  color: var(--ink);
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.tool-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: -52px;
  right: -50px;
  border-radius: 50%;
  background: var(--tool-soft);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .22s ease, transform .35s ease;
}
.tool-card:hover { transform: translateY(-3px); border-color: #cdd0c6; background: var(--surface); box-shadow: 0 18px 40px rgba(21,24,20,.075); }
.tool-card:hover::after { opacity: .7; transform: scale(1); }
.tool-card:disabled, .tool-card[aria-disabled="true"] { cursor: default; }
.tool-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: var(--tool-soft); color: var(--tool-color); }
.tool-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.tool-icon.large { width: 58px; height: 58px; border-radius: 16px; }
.tool-icon.large svg { width: 29px; height: 29px; }
.tool-card h3 { margin: 19px 0 5px; font-size: 16px; line-height: 1.25; letter-spacing: -.025em; font-weight: 690; }
.tool-card p { margin: 0; max-width: 230px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.tool-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.tool-status { display: inline-flex; align-items: center; gap: 5px; color: var(--faint); font-size: 9px; font-weight: 650; letter-spacing: .03em; }
.tool-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tool-color); }
.tool-arrow { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: .2s ease; }
.tool-arrow svg { width: 14px; height: 14px; }
.tool-card:hover .tool-arrow { border-color: var(--ink); background: var(--ink); color: var(--white); transform: rotate(-40deg); }
.tool-card.is-coming .tool-arrow { transform: none; color: var(--faint); }
.tool-card.is-coming:hover .tool-arrow { transform: none; border-color: var(--line); background: transparent; color: var(--faint); }
.tool-card.is-coming .tool-status::before { background: var(--line-dark); }
.server-tools { margin-top: 44px; padding: 32px; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 42px; align-items: stretch; border: 1px solid var(--line); border-radius: 24px; background: #f1f1eb; }
.server-tools-copy { min-width: 0; align-self: center; }
.availability { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 720; letter-spacing: .06em; white-space: nowrap; }
.availability::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,155,25,.1); }
.server-tools h3 { margin: 12px 0 10px; font-family: var(--font-display); font-size: clamp(31px, 3vw, 40px); line-height: 1.08; letter-spacing: -.045em; }
.server-tools-copy p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.office-route { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--ink); }
.route-node { display: inline-grid; min-width: 64px; height: 38px; padding-inline: 12px; place-items: center; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 780; letter-spacing: .08em; }
.route-arrow { display: inline-flex; align-items: center; color: var(--accent-dark); }
.route-arrow svg { width: 19px; height: 19px; stroke-width: 2; }
.route-arrow svg:first-child { transform: rotate(180deg); }
.route-arrow svg + svg { margin-left: -9px; }
.route-group { display: flex; flex-wrap: wrap; gap: 6px; }
.route-group i { padding: 8px 11px; border: 1px solid #d8dad2; border-radius: 9px; background: rgba(255,255,255,.7); color: var(--ink-soft); font-size: 12px; font-style: normal; font-weight: 680; }
.server-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.server-tool { --server-color: #6d746f; --server-soft: #e9e9e2; min-width: 0; min-height: 108px; padding: 16px 14px 14px; display: flex; flex-direction: column; border: 1px solid #dedfd7; border-radius: 14px; background: rgba(255,255,255,.72); text-align: left; box-shadow: 0 7px 20px rgba(21,24,20,.025); transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.server-tool:nth-child(1) { --server-color: #3566f4; --server-soft: #e8edff; }
.server-tool:nth-child(2) { --server-color: #2867b2; --server-soft: #e7f0fb; }
.server-tool:nth-child(3) { --server-color: #158362; --server-soft: #e3f2eb; }
.server-tool:nth-child(4) { --server-color: #c65b20; --server-soft: #fff0e6; }
.server-tool:nth-child(5) { --server-color: #158362; --server-soft: #e3f2eb; }
.server-tool:nth-child(6) { --server-color: #c65b20; --server-soft: #fff0e6; }
.server-tool:nth-child(7) { --server-color: #7a5be7; --server-soft: #efeaff; }
.server-tool:nth-child(8) { --server-color: #0f7f8c; --server-soft: #e2f5f4; }
.server-tool:hover { transform: translateY(-2px); background: var(--white); border-color: #ced0c8; box-shadow: 0 12px 28px rgba(21,24,20,.07); }
.server-tool span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 14px; background: var(--server-soft); color: var(--server-color); }
.server-tool svg { width: 27px; height: 27px; stroke-width: 1.8; }
.server-tool strong { display: block; margin-top: auto; padding-top: 14px; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; font-weight: 680; }

.privacy-band { padding-block: 92px; background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.privacy-band::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  top: -270px;
  left: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,54,.18), transparent 68%);
}
.light { color: #ff9a82; }
.light-link { color: #f3f4ef !important; }
.privacy-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 68px; align-items: center; }
.privacy-copy h2 { color: var(--white); font-size: clamp(39px, 4.5vw, 57px); margin: 12px 0 17px; }
.privacy-copy p { max-width: 380px; margin: 0 0 27px; color: #aeb4ad; font-size: 13px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--ink); font-size: 12px; font-weight: 670; }
.text-link svg { width: 14px; height: 14px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }
.privacy-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.privacy-card { position: relative; min-height: 268px; padding: 21px 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(255,255,255,.035); }
.privacy-number { position: absolute; top: 20px; right: 18px; color: #666c65; font-family: var(--font-display); font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.privacy-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.07); color: #ff8b70; }
.privacy-icon svg { width: 20px; height: 20px; }
.privacy-card h3 { margin: 48px 0 7px; font-size: 15px; letter-spacing: -.02em; }
.privacy-card p { margin: 0; color: #9ca39b; font-size: 10.5px; line-height: 1.7; }

.how-section { padding-block: 96px 104px; }
.centered { text-align: center; }
.centered h2 { margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.step { padding: 14px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.55); }
.step-visual { height: 209px; padding: 23px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: 12px; background: #efefe8; }
.step-pick { background: #f1ede6; }
.step-tune { display: grid; align-content: center; background: #edf0eb; }
.step-save { background: #edf0eb; flex-direction: column; gap: 14px; }
.mini-file { width: 100%; max-width: 270px; padding: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #e4e0d8; border-radius: 12px; background: var(--white); box-shadow: 0 9px 24px rgba(21,24,20,.06); }
.mini-file-icon { width: 40px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; background: #fff0eb; color: var(--accent-dark); font-size: 8px; font-weight: 800; letter-spacing: .02em; }
.mini-file > span:last-child { display: grid; min-width: 0; }
.mini-file b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.mini-file small { margin-top: 2px; color: var(--faint); font-size: 8px; }
.step-cursor { position: absolute; right: 44px; bottom: 47px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--accent); box-shadow: 0 8px 22px rgba(21,24,20,.1); }
.step-cursor svg { width: 17px; height: 17px; }
.tune-label { margin-bottom: 10px; color: var(--muted); font-size: 9px; font-weight: 680; letter-spacing: .04em; }
.tune-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 8px; background: #dfe3dc; }
.tune-options span { padding: 8px 4px; border-radius: 6px; color: #6f766e; text-align: center; font-size: 10px; font-weight: 650; }
.tune-options .selected { background: var(--white); color: var(--ink); box-shadow: 0 2px 6px rgba(21,24,20,.08); }
.tune-slider { height: 5px; margin-top: 17px; border-radius: 999px; background: #d5dad2; }
.tune-slider span { display: block; width: 64%; height: 100%; border-radius: inherit; background: var(--accent); }
.save-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); box-shadow: 0 9px 22px rgba(21,24,20,.15); }
.save-icon svg { width: 23px; height: 23px; stroke-width: 2.4; }
.step-save > div { display: grid; text-align: center; }
.step-save b { font-size: 12px; }
.step-save small { margin-top: 2px; color: var(--faint); font-size: 8px; }
.save-button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 7px; background: var(--white); color: var(--ink); font-size: 9px; font-weight: 700; box-shadow: 0 4px 12px rgba(21,24,20,.07); }
.save-button svg { width: 12px; height: 12px; }
.step-number { display: block; margin-top: 20px; color: var(--accent-dark); font-size: 9px; font-weight: 760; letter-spacing: .12em; }
.step h3 { margin: 6px 0 5px; padding-inline: 5px; font-size: 16px; letter-spacing: -.025em; }
.step p { margin: 0 0 7px; padding-inline: 5px; color: var(--muted); font-size: 11px; line-height: 1.65; }

.faq-section { padding-block: 35px 105px; }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; padding-top: 62px; border-top: 1px solid var(--line); }
.faq-intro { position: sticky; top: 108px; align-self: start; }
.faq-intro h2 { margin: 11px 0 14px; font-size: clamp(35px, 4vw, 47px); }
.faq-intro p { max-width: 310px; margin: 0 0 23px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 2px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 640; letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--faint); transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); color: var(--ink); }
.faq-item p { margin: -4px 45px 23px 2px; color: var(--muted); font-size: 12px; line-height: 1.8; }

.cta-section { padding-bottom: 102px; }
.cta-card { position: relative; min-height: 305px; padding: 47px 54px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; overflow: hidden; border-radius: 27px; background: var(--accent); color: var(--white); }
.cta-card::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) .8px, transparent .8px); background-size: 18px 18px; mask-image: linear-gradient(110deg, transparent 30%, rgba(0,0,0,.45)); -webkit-mask-image: linear-gradient(110deg, transparent 30%, rgba(0,0,0,.45)); pointer-events: none; }
.cta-card > div:not(.cta-orbit) { position: relative; z-index: 2; }
.cta-card .section-kicker { color: #5b1a0c; opacity: .7; }
.cta-card h2 { margin: 11px 0 0; font-size: clamp(43px, 5vw, 65px); line-height: 1.01; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; }
.cta-actions .button { padding: 15px 22px; font-size: 14px; }
.cta-actions > span { color: rgba(255,255,255,.72); font-size: 9px; font-weight: 600; letter-spacing: .05em; }
.cta-orbit { position: absolute; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; }
.orbit-one { width: 340px; height: 340px; right: 10%; top: -240px; }
.orbit-two { width: 510px; height: 510px; right: 2%; top: -320px; }

.site-footer { background: var(--dark); color: var(--white); padding-block: 56px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 47px; }
.brand-light .brand-wordmark { width: 136px; }
.footer-brand p { max-width: 250px; margin: 19px 0 0; color: #858b84; font-size: 11px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; min-width: 51%; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links strong { margin-bottom: 5px; color: #f4f5f1; font-size: 10px; font-weight: 680; letter-spacing: .04em; }
.footer-links a { color: #858b84; font-size: 10px; transition: color .18s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #666c65; font-size: 9px; }
.footer-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom > div { display: flex; gap: 17px; }
.footer-bottom a:hover { color: var(--white); }

/* Tool workspace */
.icon-button { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); transition: .18s ease; }
.icon-button:hover { border-color: #b9bdb3; background: #fbfbf8; }
.icon-button svg { width: 18px; height: 18px; }
.icon-button.small { width: 31px; height: 31px; border-radius: 8px; }
.icon-button.small svg { width: 14px; height: 14px; }
.tool-view {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: auto;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.tool-view.open { opacity: 1; visibility: visible; transform: none; }
.tool-view[data-stage="result"] .tool-workspace,
.tool-view[data-stage="processing"] .tool-workspace { grid-template-columns: minmax(0, 840px); justify-content: center; }
.tool-view[data-stage="result"] .tool-heading,
.tool-view[data-stage="processing"] .tool-heading { display: none; }
.tool-header { position: sticky; top: 0; z-index: 20; min-height: 70px; padding: 0 max(24px, calc((100vw - 1320px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(247,247,242,.92); backdrop-filter: blur(16px); }
.tool-header-left { min-width: 0; display: flex; align-items: center; gap: 14px; }
.tool-back { min-height: 38px; padding: 0 13px 0 10px; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; border: 1px solid var(--line-dark); border-radius: 10px; background: rgba(255,255,255,.72); color: var(--ink); font: inherit; font-size: 13px; font-weight: 680; white-space: nowrap; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.tool-back:hover { border-color: #a9b0a7; background: #fff; transform: translateX(-1px); }
.tool-back:focus-visible { outline: 3px solid rgba(53,102,244,.18); outline-offset: 2px; }
.tool-back svg { width: 16px; height: 16px; flex: 0 0 auto; }
.brand-compact .brand-wordmark { width: 116px; }
.tool-breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--faint); font-size: 11px; }
.tool-breadcrumb svg { width: 12px; height: 12px; }
.tool-breadcrumb strong { color: var(--ink); font-weight: 640; }
.tool-header-actions { display: flex; align-items: center; gap: 12px; }
.tool-workspace { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 80px; display: grid; grid-template-columns: minmax(0, 1fr) 378px; gap: 26px; align-items: start; }
.tool-body { min-width: 0; }
.tool-heading { display: flex; align-items: center; gap: 16px; margin: 2px 0 29px; }
.tool-heading .tool-icon { flex: 0 0 auto; }
.tool-heading h2 { margin: 0 0 3px; font-family: var(--font-display); font-size: 34px; font-weight: 730; line-height: 1.1; letter-spacing: -.045em; }
.tool-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.upload-zone { min-height: 428px; padding: 45px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px dashed #c9ccc3; border-radius: 22px; background: rgba(255,255,255,.55); text-align: center; transition: border-color .2s ease, background .2s ease, transform .2s ease; cursor: pointer; }
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--accent); background: var(--surface); }
.upload-zone.is-dragging { transform: scale(.996); }
.upload-illustration { width: 77px; height: 77px; margin-bottom: 22px; display: grid; place-items: center; position: relative; border-radius: 20px; background: var(--accent-soft); color: var(--accent-dark); }
.upload-page { width: 33px; height: 38px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 5px; background: var(--surface); }
.upload-page svg { width: 18px; height: 18px; }
.upload-plus { position: absolute; right: -7px; bottom: -7px; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: var(--ink); color: var(--white); font-size: 16px; font-weight: 500; line-height: 1; }
.upload-zone h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.025em; }
.upload-zone p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.upload-zone .button { padding: 10px 19px; }
.upload-zone > small { margin-top: 13px; color: var(--faint); font-size: 9px; }
.local-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 13px 15px; border: 1px solid #dfe4dc; border-radius: 12px; background: #eff4ef; }
.local-note-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--white); color: var(--green); }
.local-note-icon svg { width: 15px; height: 15px; }
.local-note > span:last-child { display: grid; }
.local-note strong { color: #446052; font-size: 10px; font-weight: 680; }
.local-note small { color: #789083; font-size: 9px; }
.file-list-wrap { padding: 20px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.55); }
.file-list-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; color: var(--ink); font-size: 11px; font-weight: 680; }
.file-list-head button { border: 0; background: transparent; color: var(--accent-dark); font-size: 10px; font-weight: 680; padding: 4px 0; }
.file-list { display: grid; gap: 7px; }
.file-item { display: flex; align-items: center; gap: 11px; min-height: 67px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: border-color .18s ease, box-shadow .18s ease; }
.file-item:hover { border-color: #c9ccc3; box-shadow: var(--shadow-sm); }
.drag-handle { width: 18px; flex: 0 0 auto; display: grid; place-items: center; color: #b5b9b1; cursor: grab; }
.drag-handle svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.file-item[draggable="true"] { cursor: grab; }
.file-item.is-dragging { opacity: .45; }
.file-thumb { width: 41px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid #e3e4de; border-radius: 5px; background: #f7f7f3; color: var(--accent-dark); }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb svg { width: 19px; height: 19px; }
.file-thumb .pdf-tag { font-size: 7px; font-weight: 800; letter-spacing: .03em; }
.file-info { display: grid; min-width: 0; flex: 1; }
.file-info strong { overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.file-info small { margin-top: 2px; color: var(--faint); font-size: 8.5px; }
.file-actions { display: flex; align-items: center; gap: 3px; }
.file-actions button { width: 27px; height: 27px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--faint); }
.file-actions button:hover { background: #f1f2ed; color: var(--ink); }
.file-actions button.remove:hover { background: #ffefeb; color: var(--accent-dark); }
.file-actions button:disabled { opacity: .25; }
.file-actions svg { width: 14px; height: 14px; }
.file-order { flex: 0 0 auto; color: #b1b5ad; font-size: 8px; font-weight: 700; letter-spacing: .03em; }
.file-empty { padding: 30px; border: 1px dashed var(--line); border-radius: 12px; color: var(--faint); text-align: center; font-size: 11px; }

.tool-sidebar { position: sticky; top: 91px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.7); overflow: hidden; }
.sidebar-head { min-height: 70px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.sidebar-head h3 { margin: 2px 0 0; font-size: 15px; font-weight: 680; letter-spacing: -.025em; }
.sidebar-head .section-kicker { font-size: 8px; }
.sidebar-options { padding: 18px; display: grid; gap: 19px; }
.option-group { display: grid; gap: 7px; }
.option-group > label, .option-label { color: var(--ink); font-size: 10px; font-weight: 680; }
.option-help { margin-top: -3px; color: var(--faint); font-size: 8.5px; line-height: 1.55; }
.input, .select { width: 100%; height: 37px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: var(--surface); color: var(--ink); font-size: 11px; transition: border-color .18s ease, box-shadow .18s ease; }
.input:focus, .select:focus { border-color: #aeb5aa; box-shadow: 0 0 0 3px rgba(23,26,31,.05); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d746f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 13px; padding-right: 30px; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 9px; background: #eff0eb; }
.segmented.two { grid-template-columns: repeat(2, 1fr); }
.segmented button { min-height: 31px; padding: 4px 5px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 9.5px; font-weight: 620; transition: .17s ease; }
.segmented button.active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 7px rgba(21,24,20,.08); }
.page-scope-group { gap: 9px; }
.page-scope-group .input { margin-top: 1px; }
.page-range-help { margin-top: 0; }
.range-row { display: flex; align-items: center; gap: 8px; }
.range-row .input { flex: 1; }
input[type="range"] { width: 100%; height: 4px; margin: 7px 0; appearance: none; border-radius: 999px; background: #e1e3dc; outline: 0; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border: 2px solid var(--surface); border-radius: 50%; background: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid var(--surface); border-radius: 50%; background: var(--ink); cursor: pointer; }
.range-value { display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.5; cursor: pointer; }
.checkbox-row input { width: 13px; height: 13px; margin: 1px 0 0; accent-color: var(--ink); }
.option-callout { padding: 11px; border: 1px solid #eadfc7; border-radius: 9px; background: #fff8e8; color: #846a35; font-size: 8.5px; line-height: 1.6; }
.option-callout strong { color: #6f541f; }
.sidebar-footer { padding: 15px 18px 17px; border-top: 1px solid var(--line); background: rgba(247,247,242,.65); }
.button-block { width: 100%; }
.sidebar-footer small { display: block; margin-top: 8px; color: var(--faint); font-size: 8.5px; text-align: center; }

.processing-view { min-height: 440px; padding: 50px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.55); text-align: center; }
.processing-animation { position: relative; width: 92px; height: 80px; margin-bottom: 21px; }
.processing-page { position: absolute; left: 28px; top: 12px; width: 44px; height: 55px; border: 1px solid #d7d9d1; border-radius: 6px; background: #fff; box-shadow: 0 8px 16px rgba(21,24,20,.05); }
.processing-page::before, .processing-page::after { content: ""; position: absolute; left: 9px; height: 2px; border-radius: 9px; background: #e3e5df; }
.processing-page::before { top: 15px; width: 24px; }.processing-page::after { top: 22px; width: 15px; }
.processing-page:nth-child(1) { transform: translate(-24px, 11px) rotate(-13deg); animation: pageFloat 1.8s ease-in-out infinite; }
.processing-page:nth-child(2) { transform: translate(24px, 11px) rotate(13deg); animation: pageFloat 1.8s .18s ease-in-out infinite; }
.processing-page:nth-child(3) { z-index: 2; border-color: #d1d3ca; }
@keyframes pageFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.processing-view h3 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.03em; }
.processing-view p { margin: 0; color: var(--muted); font-size: 11px; }
.progress-track { width: min(310px, 78%); height: 5px; margin-top: 28px; overflow: hidden; border-radius: 999px; background: #e6e7e1; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .28s ease; }
.progress-label { margin-top: 10px; color: var(--faint); font-size: 9px; }
.processing-back { margin-top: 22px; }

.result-view { min-height: 480px; padding: 52px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.6); text-align: center; }
.result-mark { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.result-mark svg { width: 30px; height: 30px; stroke-width: 2.3; }
.result-kicker { margin-top: 17px; color: var(--green); font-size: 8px; font-weight: 760; letter-spacing: .16em; }
.result-view h2 { margin: 6px 0 5px; font-family: var(--font-display); font-size: 30px; letter-spacing: -.04em; }
.result-view > p { margin: 0; color: var(--muted); font-size: 11px; }
.result-file { width: min(390px, 100%); margin-top: 25px; padding: 11px 13px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); text-align: left; box-shadow: var(--shadow-sm); }
.result-file-icon { width: 39px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 5px; background: #ffefeb; color: var(--accent-dark); font-size: 8px; font-weight: 800; }
.result-file[data-type="TXT"] .result-file-icon { background: #e2f5f4; color: #0f7f8c; }
.result-file-info { display: grid; min-width: 0; flex: 1; }
.result-file-info strong { overflow: hidden; font-size: 10.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.result-file-info small { margin-top: 2px; color: var(--faint); font-size: 8.5px; }
.result-ready { flex: 0 0 auto; padding: 4px 7px; border-radius: 5px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 680; }
.ocr-result { width: min(680px, 100%); margin-top: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); overflow: hidden; text-align: left; box-shadow: var(--shadow-sm); }
.ocr-result-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; border-bottom: 1px solid var(--line); background: #f7f8f4; }
.ocr-result-head strong { font-size: 13px; font-weight: 720; }
.ocr-copy { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #cfd8d3; border-radius: 7px; background: #fff; color: var(--green); font: inherit; font-size: 12px; font-weight: 680; cursor: pointer; }
.ocr-copy:hover { border-color: var(--green); background: var(--green-soft); }
.ocr-copy svg { width: 14px; height: 14px; stroke-width: 1.9; }
.ocr-result pre { max-height: 300px; margin: 0; padding: 16px 18px; overflow: auto; color: var(--ink); background: #fff; font: 15px/1.8 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.result-actions { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.button-large { padding: 13px 22px; font-size: 12px; }
.result-privacy { display: inline-flex; align-items: center; gap: 5px; margin-top: 23px; color: var(--faint); font-size: 8.5px; }
.result-privacy svg { width: 12px; height: 12px; color: var(--green); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; max-width: min(420px, calc(100vw - 40px)); padding: 11px 15px; border-radius: 10px; background: var(--ink); color: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: .2s ease; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.modal-backdrop { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(15,17,14,.58); backdrop-filter: blur(5px); }
.notice-modal { position: relative; width: min(390px, 100%); padding: 31px 30px 25px; border-radius: 20px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.23); text-align: center; }
.notice-close { position: absolute; top: 12px; right: 12px; }
.notice-icon { width: 48px; height: 48px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 13px; background: var(--gold-soft); color: var(--gold); }
.notice-icon svg { width: 24px; height: 24px; }
.notice-modal h3 { margin: 0 0 7px; font-size: 19px; letter-spacing: -.03em; }
.notice-modal p { margin: 0 0 21px; color: var(--muted); font-size: 11px; line-height: 1.75; }

/* Readability, language controls and tool pickers */
.language-switcher {
  position: relative;
  height: 37px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
}
.language-switcher > svg:first-child { width: 15px; height: 15px; flex: 0 0 auto; color: var(--muted); }
.language-switcher select {
  max-width: 110px;
  height: 100%;
  padding: 0 17px 0 0;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  text-overflow: ellipsis;
}
.language-switcher .language-chevron { position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; color: var(--faint); pointer-events: none; transform: translateY(-50%); }
.tool-language-switcher { height: 35px; }

.hero-drop {
  padding: 13px 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  cursor: default;
}
.hero-drop-main {
  min-width: 0;
  padding: 5px 2px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 12px;
  cursor: pointer;
}
.hero-drop-main:focus-visible { outline-offset: 5px; }
.hero-tool-picker { min-width: 174px; padding-left: 16px; display: grid; gap: 5px; border-left: 1px solid var(--line); }
.hero-tool-picker label, .cta-picker label { color: var(--muted); font-size: 12px; font-weight: 680; line-height: 1.25; }
.select-wrap { position: relative; display: block; }
.select-wrap select {
  width: 100%;
  height: 40px;
  padding: 0 32px 0 11px;
  appearance: none;
  border: 1px solid var(--line-dark);
  border-radius: 9px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 620;
  cursor: pointer;
}
.select-wrap select:focus { border-color: #aeb5aa; box-shadow: 0 0 0 3px rgba(23,26,31,.05); }
.select-wrap > svg { position: absolute; right: 10px; top: 50%; width: 13px; height: 13px; color: var(--muted); pointer-events: none; transform: translateY(-50%); }
.cta-picker { width: min(280px, 100%); display: grid; gap: 6px; text-align: left; }
.cta-picker label { color: rgba(255,255,255,.82); font-size: 12.5px; }
.cta-picker .select-wrap select { height: 45px; border-color: rgba(255,255,255,.2); font-size: 14px; box-shadow: 0 8px 24px rgba(91,26,12,.13); }
.cta-picker .select-wrap > svg { color: var(--ink); }

.local-badge { font-size: 12px; }
.nav-login { font-size: 14px; }
.eyebrow { font-size: 12.5px; }
.hero-lede { font-size: 18px; }
.hero-meta { font-size: 13px; }
.section-heading p { font-size: 15.5px; }
.section-kicker { font-size: 11px; }
.filter-chip { padding: 8px 14px; font-size: 13px; }
.tool-card { min-height: 258px; padding: 23px 22px 19px; }
.tool-icon { width: 64px; height: 64px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.62); }
.tool-icon svg { width: 36px; height: 36px; stroke-width: 1.65; }
.tool-icon.large { width: 72px; height: 72px; border-radius: 19px; }
.tool-icon.large svg { width: 39px; height: 39px; }
.tool-card h3 { margin-top: 21px; font-size: 19px; }
.tool-card p { font-size: 14.5px; line-height: 1.58; }
.tool-status { font-size: 11.5px; }
.tool-arrow { width: 32px; height: 32px; }
.tool-arrow svg { width: 15px; height: 15px; }
.server-tools-copy p { font-size: 15.5px; }
.availability { font-size: 12.5px; }
.server-tool { min-height: 122px; padding: 16px 14px; }
.server-tool span { width: 56px; height: 56px; border-radius: 14px; }
.server-tool svg { width: 30px; height: 30px; }
.server-tool strong { margin-top: 12px; font-size: 15px; }
.privacy-copy p { font-size: 15px; }
.text-link { font-size: 14px; }
.privacy-card h3 { font-size: 17px; }
.privacy-card p { font-size: 13.5px; }
.step p { font-size: 14px; }
.step h3 { font-size: 18px; }
.step-number { font-size: 10.5px; }
.mini-file b { font-size: 13px; }
.mini-file small { font-size: 10px; }
.tune-label { font-size: 11px; }
.tune-options span { font-size: 12px; }
.step-save b { font-size: 14px; }
.step-save small { font-size: 10px; }
.save-button { font-size: 11px; }
.faq-intro p { font-size: 15px; }
.faq-item summary { font-size: 16px; }
.faq-item p { font-size: 15px; }
.cta-actions .button { font-size: 15px; }
.cta-actions > span { font-size: 12.5px; }
.footer-brand p { font-size: 13.5px; }
.footer-links strong { font-size: 12.5px; }
.footer-links a { font-size: 13px; }
.footer-bottom { font-size: 12.5px; }
.tool-breadcrumb { font-size: 13px; }
.tool-heading p { font-size: 14.5px; }
.upload-zone h3 { font-size: 20px; }
.upload-zone p { font-size: 14.5px; }
.upload-zone > small { font-size: 12px; }
.local-note strong { font-size: 13px; }
.local-note small { font-size: 12px; }
.file-list-head { font-size: 14px; }
.file-list-head button { font-size: 13px; }
.file-item { min-height: 74px; padding: 10px 12px; }
.file-thumb { width: 44px; height: 52px; }
.file-thumb .pdf-tag { font-size: 8px; }
.file-info strong { font-size: 13.5px; }
.file-info small { font-size: 11.5px; }
.file-order { font-size: 10px; }
.file-empty { font-size: 13px; }
.sidebar-head h3 { font-size: 18px; }
.sidebar-head .section-kicker { font-size: 9.5px; }
.option-group > label, .option-label { font-size: 14px; }
.option-help { font-size: 12.5px; line-height: 1.65; }
.input, .select { height: 44px; padding-inline: 13px; font-size: 14.5px; }
.segmented button { min-height: 42px; padding: 7px; font-size: 13.5px; }
.range-value { font-size: 12px; }
.checkbox-row { font-size: 13.5px; }
.option-callout { font-size: 13.5px; line-height: 1.7; }
.sidebar-footer small { font-size: 12.5px; }
.processing-view p { font-size: 14px; }
.progress-label { font-size: 11.5px; }
.result-kicker { font-size: 11.5px; }
.result-view > p { font-size: 14.5px; }
.result-file-info strong { font-size: 13.5px; }
.result-file-info small { font-size: 11.5px; }
.result-ready { font-size: 11.5px; }
.button-large { font-size: 14px; }
.result-privacy { font-size: 12.5px; }
.toast { font-size: 13.5px; }
.notice-modal p { font-size: 13.5px; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 22px; }
  .nav-actions .nav-login { display: none; }
  .hero { grid-template-columns: 1fr .9fr; gap: 30px; }
  .hero-visual { transform: scale(.92); }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .server-tools { grid-template-columns: 1fr; gap: 22px; }
  .privacy-layout { grid-template-columns: .8fr 1.2fr; gap: 36px; }
  .privacy-card { min-height: 255px; }
  .tool-workspace { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 850px) {
  .section-shell, .nav-shell { width: min(var(--max), calc(100% - 34px)); }
  .desktop-nav { display: none; }
  .local-badge { display: none; }
  .mobile-menu-button { display: grid; }
  .mobile-nav { position: absolute; left: 17px; right: 17px; top: 66px; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
  .mobile-nav a { padding: 10px 8px; color: var(--muted); font-size: 13px; border-radius: 7px; }
  .mobile-nav a:hover { background: var(--paper); color: var(--ink); }
  .mobile-nav .button { margin-top: 5px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 59px 72px; gap: 42px; }
  .hero-copy { text-align: center; }
  .eyebrow { margin-inline: auto; }
  .hero h1 { margin-top: 19px; font-size: clamp(54px, 13vw, 76px); }
  .hero-lede { margin-inline: auto; max-width: 490px; font-size: 15px; }
  .hero-drop { margin-inline: auto; text-align: left; }
  .hero-meta { justify-content: center; }
  .hero-visual { height: 460px; width: min(100%, 480px); margin: -25px auto 0; transform: scale(.9); }
  .split-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-layout { grid-template-columns: 1fr; gap: 38px; }
  .privacy-copy p { max-width: 440px; }
  .privacy-cards { max-width: 550px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { display: grid; grid-template-columns: 160px 1fr; grid-template-rows: auto auto auto; column-gap: 20px; }
  .step-visual { grid-row: 1 / span 3; height: 156px; }
  .step-number { align-self: end; margin-top: 14px; }
  .step h3 { margin-top: 2px; }
  .step p { margin-bottom: 12px; }
  .faq-layout { grid-template-columns: 1fr; gap: 29px; padding-top: 40px; }
  .faq-intro { position: static; }
  .faq-intro p { max-width: 450px; }
  .cta-card { padding: 35px 30px; min-height: 280px; align-items: flex-start; flex-direction: column; justify-content: flex-end; }
  .cta-actions { align-items: flex-start; }
  .footer-top { flex-direction: column; gap: 31px; }
  .footer-links { min-width: 100%; gap: 28px; }
  .tool-workspace { width: min(100% - 34px, 680px); grid-template-columns: 1fr; padding-top: 31px; }
  .tool-heading { margin-bottom: 21px; }
  .tool-heading h2 { font-size: 28px; }
  .tool-sidebar { position: static; }
  .tool-body { display: contents; }
  .tool-heading { grid-column: 1; }
  #workArea, .result-view, .processing-view { grid-column: 1; }
  .tool-sidebar { grid-column: 1; }
  .tool-header { padding-inline: 17px; }
  .tool-breadcrumb { display: none; }
}

@media (max-width: 590px) {
  .section-shell, .nav-shell { width: calc(100% - 28px); }
  .nav-shell { min-height: 65px; gap: 12px; }
  .brand-wordmark { width: 124px; }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: clamp(43px, 12.4vw, 58px); overflow-wrap: anywhere; }
  .hero-lede { font-size: 14px; line-height: 1.7; }
  .hero-drop { padding: 14px; gap: 11px; border-radius: 14px; }
  .hero-drop-icon { width: 42px; height: 42px; border-radius: 11px; }
  .hero-drop-icon svg { width: 19px; height: 19px; }
  .hero-drop-copy strong { font-size: 13px; }
  .hero-drop-copy span { font-size: 10px; }
  .hero-drop-arrow { width: 29px; height: 29px; }
  .hero-drop-arrow svg { width: 14px; height: 14px; }
  .hero-meta { gap: 7px 12px; font-size: 9px; }
  .hero-visual { height: 380px; margin-top: -26px; transform: scale(.73); transform-origin: top center; margin-bottom: -88px; }
  .tools-section { padding-block: 65px 73px; }
  .section-heading h2 { font-size: 37px; }
  .tool-grid { gap: 8px; }
  .tool-card { min-height: 186px; padding: 14px 13px 12px; border-radius: 14px; }
  .tool-icon { width: 36px; height: 36px; border-radius: 10px; }
  .tool-icon svg { width: 19px; height: 19px; }
  .tool-card h3 { margin-top: 14px; font-size: 13px; }
  .tool-card p { font-size: 9.5px; line-height: 1.5; }
  .tool-card-bottom { padding-top: 11px; }
  .tool-status { font-size: 8px; }
  .tool-arrow { width: 23px; height: 23px; }
  .tool-arrow svg { width: 12px; height: 12px; }
  .server-tools { padding: 20px 16px; margin-top: 27px; }
  .server-tool-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .server-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .server-tool { min-height: 104px; padding: 14px 12px; }
  .server-tool span { width: 44px; height: 44px; }
  .server-tool strong { font-size: 14px; }
  .privacy-band { padding-block: 62px; }
  .privacy-copy h2 { font-size: 39px; }
  .privacy-cards { grid-template-columns: 1fr; }
  .privacy-card { min-height: auto; padding: 18px; }
  .privacy-card h3 { margin-top: 22px; }
  .how-section { padding-block: 67px 74px; }
  .step { grid-template-columns: 104px 1fr; column-gap: 14px; padding: 11px; }
  .step-visual { height: 132px; padding: 10px; }
  .step-number { margin-top: 9px; }
  .step h3 { font-size: 14px; }
  .step p { font-size: 9.5px; }
  .step-cursor { right: 18px; bottom: 24px; width: 28px; height: 28px; }
  .step-cursor svg { width: 13px; height: 13px; }
  .mini-file { padding: 9px; gap: 7px; }
  .mini-file-icon { width: 28px; height: 33px; font-size: 6px; }
  .mini-file b { font-size: 8px; }
  .mini-file small { font-size: 6px; }
  .tune-options span { font-size: 8px; padding: 6px 1px; }
  .save-icon { width: 35px; height: 35px; }
  .save-icon svg { width: 17px; height: 17px; }
  .step-save b { font-size: 9px; }
  .step-save small { font-size: 6px; }
  .save-button { font-size: 7px; padding: 5px 7px; }
  .faq-section { padding-bottom: 70px; }
  .faq-intro h2 { font-size: 36px; }
  .faq-item summary { padding: 17px 0; font-size: 12px; }
  .faq-item p { margin-right: 17px; font-size: 10.5px; }
  .cta-section { padding-bottom: 70px; }
  .cta-card { min-height: 260px; padding: 27px 23px; border-radius: 20px; }
  .cta-card h2 { font-size: 42px; }
  .footer-top { padding-bottom: 30px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .footer-links a, .footer-links strong { font-size: 9px; }
  .footer-bottom { flex-wrap: wrap; gap: 10px 18px; }
  .footer-bottom > div { margin-left: auto; }
  .tool-header { min-height: 62px; }
  .tool-header-left { gap: 9px; }
  .tool-back { width: 38px; flex: 0 0 38px; padding: 0; justify-content: center; }
  .tool-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tool-header-actions .local-badge { display: none; }
  .tool-workspace { width: calc(100% - 28px); padding: 25px 0 45px; }
  .tool-heading { gap: 11px; }
  .tool-icon.large { width: 46px; height: 46px; border-radius: 13px; }
  .tool-icon.large svg { width: 23px; height: 23px; }
  .tool-heading h2 { font-size: 24px; }
  .tool-heading p { font-size: 10.5px; }
  .upload-zone { min-height: 320px; padding: 30px 20px; }
  .upload-illustration { width: 64px; height: 64px; margin-bottom: 17px; }
  .upload-zone h3 { font-size: 15px; }
  .upload-zone p { font-size: 10.5px; }
  .file-list-wrap { padding: 13px; }
  .file-item { gap: 8px; padding: 8px; }
  .file-thumb { width: 34px; height: 41px; }
  .file-info strong { font-size: 10px; }
  .file-info small { font-size: 7.5px; }
  .drag-handle { width: 12px; }
  .file-actions button { width: 23px; height: 23px; }
  .file-actions svg { width: 12px; height: 12px; }
  .file-actions .move { display: none; }
  .sidebar-head { padding-inline: 14px; }
  .sidebar-options { padding: 14px; }
  .result-view { min-height: 390px; padding: 35px 18px; }
  .result-view h2 { font-size: 25px; }
  .result-actions { flex-direction: column-reverse; width: 100%; }
  .result-actions .button { width: 100%; }
  .processing-back { width: 100%; }
  .processing-view { min-height: 350px; }
}

@media (max-width: 850px) {
  .language-switcher { height: 34px; }
  .language-switcher select { max-width: 100px; font-size: 12px; }
  .tool-card { min-height: 232px; }
  .tool-icon { width: 54px; height: 54px; }
  .tool-icon svg { width: 30px; height: 30px; }
  .tool-icon.large { width: 66px; height: 66px; }
  .tool-icon.large svg { width: 36px; height: 36px; }
  .cta-picker { width: min(310px, 100%); }
}

@media (max-width: 590px) {
  .nav-actions { gap: 8px; }
  .language-switcher { height: 34px; padding-inline: 7px; gap: 4px; }
  .language-switcher select { max-width: 110px; font-size: 12.5px; }
  .language-switcher > svg:first-child { width: 14px; height: 14px; }
  .hero-lede { font-size: 15.5px; line-height: 1.72; }
  .hero-drop { padding: 12px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-drop-main { width: 100%; padding: 4px 1px; gap: 11px; }
  .hero-tool-picker { width: 100%; min-width: 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-tool-picker label { font-size: 13px; }
  .hero-tool-picker .select-wrap select { height: 42px; font-size: 14px; }
  .hero-drop-copy strong { font-size: 15px; }
  .hero-drop-copy span { font-size: 12px; }
  .hero-meta { gap: 8px 13px; font-size: 12px; }
  .tool-grid { gap: 9px; }
  .tool-card { min-height: 218px; padding: 16px 14px 14px; }
  .tool-icon { width: 48px; height: 48px; border-radius: 14px; }
  .tool-icon svg { width: 27px; height: 27px; }
  .tool-card h3 { margin-top: 15px; font-size: 15.5px; }
  .tool-card p { font-size: 12.5px; line-height: 1.52; }
  .tool-status { font-size: 11.5px; }
  .server-tool strong { font-size: 14px; }
  .step p { font-size: 14px; }
  .faq-item summary { font-size: 15px; }
  .faq-item p { font-size: 14px; }
  .footer-links a, .footer-links strong { font-size: 12.5px; }
  .cta-actions { width: 100%; }
  .cta-picker { width: 100%; }
  .cta-actions > span { font-size: 12.5px; }
  .tool-icon.large { width: 60px; height: 60px; border-radius: 16px; }
  .tool-icon.large svg { width: 34px; height: 34px; }
  .tool-heading p { font-size: 13.5px; }
  .upload-zone p { font-size: 14px; }
  .file-info strong { font-size: 13px; }
  .file-info small { font-size: 11px; }
  .result-view > p { font-size: 14px; }
}

/* Small-screen readability pass: keep supporting copy comfortable to read. */
@media (max-width: 590px) {
  .hero-lede { font-size: 17px; line-height: 1.72; }
  .hero-drop-copy strong { font-size: 16px; }
  .hero-drop-copy span { font-size: 13.5px; line-height: 1.5; }
  .hero-meta { font-size: 13px; }
  .filter-chip { padding: 9px 15px; font-size: 14px; }

  .tool-card { min-height: 242px; padding: 17px 15px 15px; }
  .tool-icon { width: 56px; height: 56px; border-radius: 16px; }
  .tool-icon svg { width: 32px; height: 32px; }
  .tool-card h3 { margin-top: 17px; font-size: 17px; }
  .tool-card p { font-size: 14px; line-height: 1.55; }
  .tool-status { font-size: 12px; }
  .tool-card-bottom { padding-top: 13px; }
  .tool-arrow { width: 29px; height: 29px; }
  .tool-arrow svg { width: 14px; height: 14px; }

  .server-tools { padding: 25px 18px; }
  .server-tools h3 { font-size: 36px; }
  .server-tools-copy p { font-size: 16px; line-height: 1.7; }
  .availability { font-size: 12.5px; white-space: normal; }
  .server-tool { min-height: 128px; padding: 15px 13px; }
  .server-tool span { width: 56px; height: 56px; border-radius: 14px; }
  .server-tool svg { width: 31px; height: 31px; }
  .server-tool strong { font-size: 16px; }

  .privacy-copy p { font-size: 16px; }
  .privacy-card h3 { font-size: 19px; }
  .privacy-card p { font-size: 14.5px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; line-height: 1.65; }
  .faq-item summary { font-size: 16px; }
  .faq-item p { font-size: 14.5px; line-height: 1.75; }
  .footer-brand p { font-size: 14px; }
  .footer-links a, .footer-links strong { font-size: 13.5px; }
  .footer-bottom { font-size: 12.5px; }

  .tool-heading h2 { font-size: 27px; }
  .tool-heading p { font-size: 14.5px; line-height: 1.6; }
  .upload-zone h3 { font-size: 20px; }
  .upload-zone p { font-size: 14.5px; line-height: 1.65; }
  .upload-zone > small { font-size: 13px; }
  .file-info strong { font-size: 14px; }
  .file-info small { font-size: 12px; }
  .option-group > label, .option-label { font-size: 14.5px; }
  .option-help { font-size: 13px; }
  .input, .select { height: 46px; font-size: 15px; }
  .segmented button { min-height: 44px; font-size: 13.5px; }
  .checkbox-row, .option-callout { font-size: 14px; }
  .sidebar-footer small { font-size: 13px; }
  .result-view > p { font-size: 15px; }
  .result-file-info strong { font-size: 14.5px; }
  .result-file-info small { font-size: 12.5px; }
  .result-privacy { font-size: 13px; }
}

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

/* Signature and contents editor */
.signature-pad { position: relative; width: 100%; aspect-ratio: 720 / 260; overflow: hidden; border: 1.5px dashed #c9cdc7; border-radius: 12px; background: linear-gradient(#fff, #fbfcf9); }
.signature-pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.signature-pad:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(53,102,244,.1); }
.signature-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; color: #9ba29c; font-size: 12.5px; text-align: center; pointer-events: none; }
.signature-empty[hidden] { display: none; }
.signature-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.mini-button { min-height: 38px; padding: 0 13px; border: 1px solid #d8dcd5; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.mini-button:hover { border-color: #aeb5ad; background: #fafbf8; }
.mini-button:focus-visible { outline: 3px solid rgba(53,102,244,.18); outline-offset: 2px; }
.mini-button:disabled { cursor: not-allowed; opacity: .42; }
.signature-download { display: inline-flex; align-items: center; gap: 6px; border-color: rgba(31,111,120,.28); background: #eef8f6; color: #155d65; }
.signature-download svg { width: 14px; height: 14px; }
.signature-download:hover:not(:disabled) { border-color: rgba(31,111,120,.5); background: #e7f5f2; }
.toc-preview-card { display: grid; gap: 8px; padding: 11px; border: 1px solid #e0e3dc; border-radius: 13px; background: #f4f5f1; }
.toc-preview-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.toc-preview-head strong { color: var(--ink); font-size: 12.5px; }
.toc-preview-head span { color: var(--faint); font-size: 10.5px; text-align: right; }
.toc-preview-card canvas { display: block; width: 100%; height: auto; border: 1px solid #dfe2dc; border-radius: 7px; background: #fff; box-shadow: 0 4px 14px rgba(31,38,33,.06); }
.toc-preview-note { color: #7d877f; font-size: 10.5px; line-height: 1.55; }
.toc-indent-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.toc-indent-row .option-group { min-width: 0; }
.toc-indent-row .select { padding-inline: 8px; padding-right: 24px; font-size: 12px; }
.toc-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.toc-status { display: none; padding: 8px 10px; border-radius: 8px; background: #eef4ef; color: #587060; font-size: 11.5px; line-height: 1.5; }
.toc-status.is-error { display: block; background: #fff1ed; color: #9a4b35; }
.toc-entries { display: grid; gap: 7px; max-height: 340px; overflow-y: auto; padding-right: 3px; scrollbar-width: thin; }
.toc-entry { display: grid; grid-template-columns: 58px minmax(0, 1fr) 58px 31px; align-items: center; gap: 6px; min-width: 0; }
.toc-entry .input, .toc-entry .select { width: 100%; min-width: 0; height: 38px; padding: 0 7px; font-size: 12.5px; }
.toc-entry .toc-level { padding-right: 3px; font-size: 11.5px; }
.toc-entry .toc-entry-page { text-align: right; padding-right: 5px; }
.toc-entry .toc-remove { width: 31px; height: 31px; color: #9b5a4b; }
.toc-empty { padding: 15px 10px; border: 1px dashed #d7dbd4; border-radius: 9px; color: var(--faint); font-size: 12px; text-align: center; }
.toc-workspace-preview { margin-top: 18px; padding: 20px; border: 1px solid #dfe2db; border-radius: 18px; background: rgba(255,255,255,.58); box-shadow: 0 10px 32px rgba(28,35,30,.05); }
.toc-workspace-preview[hidden] { display: none; }
.toc-workspace-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.toc-workspace-head h3 { margin: 4px 0 0; color: var(--ink); font-family: var(--font-display); font-size: 22px; line-height: 1.15; letter-spacing: -.03em; }
.toc-workspace-head > span { color: var(--faint); font-size: 12px; text-align: right; }
.toc-large-canvas-wrap { overflow-x: auto; padding: 16px; border-radius: 12px; background: #eceee9; scrollbar-width: thin; }
.toc-large-canvas-wrap canvas { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 4px; background: #fff; box-shadow: 0 12px 34px rgba(26,32,29,.12); }
.toc-workspace-preview > p { margin: 11px 0 0; color: var(--faint); font-size: 12.5px; line-height: 1.6; }

@media (max-width: 590px) {
  .signature-empty { font-size: 13px; }
  .mini-button { min-height: 42px; font-size: 13.5px; }
  .toc-preview-head strong { font-size: 13.5px; }
  .toc-preview-head span, .toc-preview-note { font-size: 11.5px; }
  .toc-entry { grid-template-columns: 54px minmax(0, 1fr) 52px 34px; gap: 5px; }
  .toc-entry .input, .toc-entry .select { height: 42px; font-size: 13.5px; padding-inline: 6px; }
  .toc-entry .toc-level { font-size: 12.5px; }
  .toc-entry .toc-remove { width: 34px; height: 34px; }
  .toc-indent-row { gap: 6px; }
  .toc-indent-row .select { height: 42px; font-size: 12.5px; }
  .toc-entries { max-height: 390px; }
  .toc-workspace-preview { padding: 14px; border-radius: 14px; }
  .tool-workspace { grid-template-columns: minmax(0, 1fr); }
  .toc-workspace-preview, .toc-large-canvas-wrap { min-width: 0; max-width: 100%; }
  .toc-workspace-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .toc-workspace-head h3 { font-size: 19px; }
  .toc-workspace-head > span { text-align: left; }
  .toc-large-canvas-wrap { width: 100%; padding: 10px; }
  .toc-large-canvas-wrap canvas { min-width: 560px; }
  .toc-workspace-preview > p { font-size: 13px; }
}

/* Readability and icon pass: comfortable sizes without changing the information architecture. */
@media (min-width: 851px) {
  .desktop-nav a { font-size: 15px; }
  .local-badge { font-size: 13px; padding: 7px 12px; }
  .section-heading p { font-size: 17px; }
  .section-kicker { font-size: 12px; }
  .filter-chip { padding: 9px 16px; font-size: 14px; }
  .tool-card { min-height: 278px; padding: 24px 23px 20px; }
  .tool-icon { width: 72px; height: 72px; border-radius: 20px; }
  .tool-icon svg { width: 40px; height: 40px; stroke-width: 1.7; }
  .tool-card h3 { margin-top: 23px; font-size: 20px; }
  .tool-card p { max-width: 245px; font-size: 15.5px; line-height: 1.62; }
  .tool-status { font-size: 12.5px; }
  .tool-arrow { width: 34px; height: 34px; }
  .tool-arrow svg { width: 16px; height: 16px; }
  .server-tools { grid-template-columns: minmax(330px, .9fr) minmax(0, 1.1fr); gap: 48px; padding: 38px; }
  .server-tools h3 { font-size: clamp(36px, 3.2vw, 45px); }
  .server-tools-copy p { max-width: 460px; font-size: 17px; line-height: 1.72; }
  .availability { font-size: 14px; }
  .server-tool-grid { gap: 13px; }
  .server-tool { min-height: 150px; padding: 19px 17px 17px; border-radius: 16px; }
  .server-tool span { width: 66px; height: 66px; border-radius: 17px; }
  .server-tool svg { width: 37px; height: 37px; stroke-width: 1.7; }
  .server-tool strong { padding-top: 16px; font-size: 17px; line-height: 1.4; }
  .privacy-copy p { font-size: 16.5px; }
  .privacy-card h3 { font-size: 19px; }
  .privacy-card p { font-size: 15px; }
  .step p { font-size: 15.5px; }
  .faq-item summary { font-size: 17px; }
  .faq-item p { font-size: 16px; }
  .footer-brand p { font-size: 15px; }
  .footer-links strong { font-size: 13.5px; }
  .footer-links a { font-size: 14px; }
  .footer-bottom { font-size: 13px; }
}

@media (max-width: 850px) {
  .tool-card { min-height: 250px; }
  .tool-icon { width: 62px; height: 62px; border-radius: 17px; }
  .tool-icon svg { width: 36px; height: 36px; }
  .tool-card h3 { font-size: 18px; }
  .tool-card p { font-size: 15px; line-height: 1.6; }
  .tool-status { font-size: 12px; }
  .server-tool-grid { gap: 10px; }
  .server-tool { min-height: 138px; padding: 16px 14px; }
  .server-tool span { width: 60px; height: 60px; }
  .server-tool svg { width: 33px; height: 33px; }
  .server-tool strong { font-size: 16px; }
  .availability { font-size: 13.5px; white-space: normal; }
}

@media (max-width: 590px) {
  .tool-grid { gap: 10px; }
  .tool-card { min-height: 258px; padding: 17px 15px 15px; }
  .tool-icon { width: 60px; height: 60px; border-radius: 17px; }
  .tool-icon svg { width: 35px; height: 35px; }
  .tool-card h3 { margin-top: 18px; font-size: 18px; }
  .tool-card p { font-size: 14.5px; line-height: 1.58; }
  .server-tools { padding: 26px 17px; }
  .server-tools h3 { font-size: 34px; }
  .server-tools-copy p { font-size: 16px; line-height: 1.7; }
  .availability { gap: 8px; font-size: 13px; }
  .office-route { margin-top: 20px; gap: 9px; }
  .route-node { min-width: 58px; height: 36px; font-size: 12.5px; }
  .route-group i { padding: 7px 9px; font-size: 11.5px; }
  .server-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .server-tool { min-height: 136px; padding: 15px 13px 14px; }
  .server-tool span { width: 58px; height: 58px; border-radius: 15px; }
  .server-tool svg { width: 32px; height: 32px; }
  .server-tool strong { font-size: 16px; }
  .footer-brand p { font-size: 14.5px; }
  .footer-links a, .footer-links strong { font-size: 13.5px; }
}

/* 2026-11-05: lighter landing page, stable mobile layout and in-page language picker. */
#tools { scroll-margin-top: 92px; }
.language-switcher {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 29px 0 9px;
  cursor: pointer;
  font: inherit;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.language-switcher:hover { border-color: #aeb1a8; background: var(--white); }
.language-switcher:focus-visible { outline-offset: 2px; }
.language-current {
  display: block;
  max-width: 112px;
  overflow: hidden;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 680;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.language-switcher .language-chevron { right: 9px; }
.language-dialog-open { overflow: hidden; }
.language-backdrop { z-index: 160; }
.language-dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: min(720px, calc(100dvh - 32px));
  padding: 27px 27px max(23px, env(safe-area-inset-bottom));
  overflow: auto;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 32px 90px rgba(0,0,0,.28);
  text-align: left;
  animation: languageDialogIn .16s ease-out both;
}
@keyframes languageDialogIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.language-dialog-close { position: absolute; top: 13px; right: 13px; }
.language-dialog-head { display: flex; align-items: center; gap: 14px; padding-right: 34px; }
.language-dialog-icon { width: 47px; height: 47px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.language-dialog-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.language-dialog-head h3 { margin: 3px 0 0; font-family: var(--font-display); font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.language-dialog-hint { margin: 15px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.language-options { display: grid; gap: 9px; }
.language-option {
  width: 100%;
  min-height: 61px;
  padding: 11px 13px 11px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  text-align: left;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.language-option:hover { border-color: var(--line-dark); background: var(--white); }
.language-option[aria-checked="true"] { border-color: rgba(255,90,54,.52); background: #fff8f5; box-shadow: inset 0 0 0 1px rgba(255,90,54,.1); }
.language-option-copy { display: grid; min-width: 0; gap: 1px; }
.language-option-copy strong { font-size: 16px; font-weight: 700; line-height: 1.35; }
.language-option-copy small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.language-radio { width: 23px; height: 23px; flex: 0 0 auto; display: grid; place-items: center; border: 1.5px solid #c8ccc4; border-radius: 50%; background: var(--white); color: transparent; }
.language-radio svg { width: 14px; height: 14px; stroke-width: 2.5; }
.language-option[aria-checked="true"] .language-radio { border-color: var(--accent); background: var(--accent); color: var(--white); }
.language-dialog-actions { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 10px; margin-top: 21px; }
.language-dialog-actions .button { min-height: 46px; font-size: 14.5px; }

.office-route { flex-wrap: wrap; }

@media (max-width: 850px) {
  html { scroll-behavior: auto; }
  #tools { scroll-margin-top: 76px; }
  .site-header { background: rgba(247,247,242,.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-copy, .hero-visual, .paper-progress span, .float-chip, .processing-page { animation: none !important; }
  .float-chip, .tool-header, .language-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .filter-chip { min-height: 42px; }
  .language-switcher { height: 40px; min-height: 40px; }
  .language-switcher select { display: none; }
  .tool-card { min-height: 0; }
  .server-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-tool { min-height: 112px; }
}

@media (max-width: 590px) {
  .section-shell, .nav-shell { width: calc(100% - 28px); }
  .nav-shell { gap: 8px; }
  .brand-wordmark { width: 118px; }
  .nav-actions { gap: 7px; }
  .language-switcher { height: 40px; padding: 0 26px 0 8px; gap: 5px; }
  .language-current { max-width: 82px; font-size: 12px; }
  .language-switcher .language-chevron { right: 7px; }
  .hero { min-height: 0; padding-top: 38px; padding-bottom: 52px; grid-template-columns: minmax(0,1fr); }
  .hero-visual { display: none; }
  #tools { scroll-margin-top: 72px; }
  .split-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2 { font-size: clamp(34px, 10vw, 41px); }
  .section-heading p { font-size: 16px; line-height: 1.7; }
  .tool-filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .tool-filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; min-height: 44px; padding-inline: 16px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tool-card { min-height: 0; padding: 16px 14px 14px; border-radius: 15px; }
  .tool-card::after { display: none; }
  .tool-icon { width: 56px; height: 56px; border-radius: 16px; }
  .tool-icon svg { width: 32px; height: 32px; }
  .tool-card h3 { margin: 15px 0 5px; font-size: 17px; line-height: 1.3; }
  .tool-card p { font-size: 14px; line-height: 1.55; }
  .tool-card-bottom { padding-top: 14px; }
  .tool-status { font-size: 12px; }
  .server-tools { padding: 24px 17px; border-radius: 19px; }
  .server-tools h3 { font-size: 34px; }
  .server-tool-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .server-tool { min-height: 70px; padding: 10px 13px; display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: 13px; border-radius: 13px; }
  .server-tool span { width: 52px; height: 52px; border-radius: 13px; }
  .server-tool svg { width: 29px; height: 29px; }
  .server-tool strong { margin: 0; padding: 0; font-size: 16px; line-height: 1.35; }
  .office-route { gap: 8px; }
  .route-node { min-width: 55px; height: 35px; padding-inline: 10px; font-size: 12px; }
  .route-group { gap: 5px; }
  .route-group i { padding: 7px 8px; font-size: 11.5px; }
  .language-backdrop { padding: 12px; place-items: end center; }
  .language-dialog { width: 100%; max-height: calc(100dvh - 24px); padding: 22px 18px max(18px, env(safe-area-inset-bottom)); border-radius: 20px; }
  .language-dialog-head h3 { font-size: 24px; }
  .language-dialog-hint { margin: 12px 0 15px; font-size: 13.5px; }
  .language-option { min-height: 58px; padding: 10px 12px 10px 14px; }
  .language-option-copy strong { font-size: 16px; }
  .language-dialog-actions .button { min-height: 48px; font-size: 15px; }
}
