@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&family=Inter:wght@400;700&family=Lato:wght@400;700&family=Merriweather:wght@400;700&family=Montserrat:wght@400;700&family=Noto+Sans:wght@400;700&family=Noto+Serif:wght@400;700&family=Nunito:wght@400;700&family=Open+Sans:wght@400;700&family=PT+Sans:wght@400;700&family=PT+Serif:wght@400;700&family=Roboto:wght@400;700&family=Source+Sans+3:wght@400;700&family=Source+Serif+4:wght@400;700&display=swap");

:root {
  --blue: #3655f5;
  --blue-dark: #07116f;
  --ink: #172033;
  --muted: #536075;
  --line: #e8ebf5;
  --soft: #f6f7ff;
  --white: #ffffff;
  --green: #42c591;
  --shadow: 0 16px 40px rgba(0, 14, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(232, 235, 245, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px;
  border: 1px solid #edf0f7;
  border-radius: 999px;
  background: #f8faff;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  gap: 8px;
  padding: 0 15px;
  border-radius: 999px;
  color: #273149;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.main-nav a:hover {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(54, 85, 245, 0.12);
}

.nav-icon {
  color: var(--blue);
  font-size: 15px;
  line-height: 1;
}

.login-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 48px;
  border: 1px solid #cbd1e5;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.login-button:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 22px rgba(54, 85, 245, 0.14);
  transform: translateY(-1px);
}

.primary-button {
  width: 260px;
  min-height: 64px;
  border: 0;
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(54, 85, 245, 0.24);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(54, 85, 245, 0.08), transparent 26%),
    radial-gradient(circle at 28% 82%, rgba(54, 85, 245, 0.07), transparent 24%),
    var(--soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  min-height: 560px;
  margin: 0 auto;
  padding: 56px 44px 38px;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0 0 24px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy > p {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.legal-note {
  margin-top: 24px;
  font-size: 13px;
}

.legal-note a {
  text-decoration: underline;
}

.hero-art img {
  display: block;
  width: min(100%, 650px);
  margin-left: auto;
}

.proof-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 44px 48px;
  font-size: 17px;
}

.proof-row strong {
  font-size: 22px;
}

.proof-item {
  display: flex;
  gap: 14px;
  line-height: 1.35;
}

.proof-icon {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 28px;
}

.workflow {
  margin-top: 96px;
  padding: 72px 44px 84px;
  color: white;
  background: var(--blue-dark);
  border-radius: 8px;
  text-align: center;
}

.workflow h2,
.tools-section h2,
.benefits-section h2,
.values-section h2,
.faq-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
}

.workflow img {
  display: block;
  width: min(820px, 100%);
  margin: 46px auto 24px;
  border-radius: 4px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.steps div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.steps span {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.steps p {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
}

.tools-section,
.benefits-section,
.values-section,
.faq-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 44px 0;
}

.tool-seo-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 44px 0;
}

.tool-seo-hero > div {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f6f7ff, #ffffff);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 44px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a,
.breadcrumb span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  text-decoration: none;
}

.breadcrumb a {
  color: var(--blue);
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb-separator {
  color: #9aa5bb;
}

.breadcrumb span[aria-current="page"],
.breadcrumb a[aria-current="page"] {
  color: var(--blue);
}

.tool-seo-hero .section-kicker {
  display: block;
  margin-bottom: 14px;
  text-align: left;
}

.tool-seo-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}

.tool-seo-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.coming-soon-tool,
.seo-content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 44px 0;
}

.coming-soon-tool {
  text-align: center;
}

.coming-soon-tool h2,
.seo-content-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.coming-soon-tool p,
.seo-content-section p {
  max-width: 850px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}

.seo-content-section p {
  margin-left: 0;
}

.tool-seo-detail {
  padding-top: 64px;
}

.tool-seo-detail .section-kicker {
  display: block;
  margin-bottom: 12px;
  text-align: left;
}

.seo-step-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.seo-step-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
}

.seo-step-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.seo-step-list p {
  margin: 6px 0 0;
}

.seo-how-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  margin-top: 30px;
}

.seo-answer-block {
  max-width: 980px;
  margin: 20px 0 0;
  padding: 18px 22px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #f6f8ff;
  color: #31405f;
}

.seo-updated {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.seo-how-visual {
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  margin: 0;
  background: #f6f8ff;
  box-shadow: inset 0 0 0 1px #dfe6ff;
}

.seo-tool-visual-svg {
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.visual-bg {
  fill: var(--visual-bg, #f4f7ff);
}

.visual-doc {
  fill: #ffffff;
  stroke: var(--visual-accent, #3655f5);
  stroke-width: 4;
}

.visual-line,
.visual-arrow,
.visual-scan {
  fill: none;
  stroke: var(--visual-accent, #3655f5);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-arrow {
  stroke-width: 7;
}

.visual-scan {
  stroke: var(--visual-secondary, #21c6a2);
  stroke-dasharray: 8 9;
}

.visual-dot {
  fill: var(--visual-accent, #3655f5);
}

.visual-label,
.visual-name {
  fill: var(--visual-accent, #3655f5);
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-anchor: middle;
}

.visual-name {
  fill: #172033;
  font-size: 20px;
}

.visual-big {
  fill: var(--visual-accent, #3655f5);
  font-family: Inter, Arial, sans-serif;
  font-size: 58px;
  font-weight: 900;
}

.visual-watermark {
  fill: color-mix(in srgb, var(--visual-accent, #3655f5) 18%, transparent);
  font-family: Inter, Arial, sans-serif;
  font-size: 78px;
  font-weight: 900;
  text-anchor: middle;
}

.visual-decor {
  fill: var(--visual-secondary, #21c6a2);
  opacity: 0.2;
}

.visual-decor path {
  fill: none;
  stroke: var(--visual-secondary, #21c6a2);
  stroke-width: 7;
  stroke-linecap: round;
}

.visual-chip {
  fill: var(--visual-accent, #3655f5);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-anchor: middle;
}

.seo-how-grid .seo-step-list {
  margin-top: 0;
}

.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.seo-feature-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 14, 79, 0.06);
}

.seo-card-art {
  display: grid;
  height: 118px;
  place-items: center;
  margin-bottom: 18px;
  color: #ffffff;
  border-radius: 2px;
  font-size: 22px;
  font-weight: 900;
}

.seo-card-art.green {
  background: #21c6a2;
}

.seo-card-art.blue {
  background: var(--blue);
}

.seo-card-art.navy {
  background: #050f4f;
}

.seo-feature-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.seo-feature-grid p {
  margin: 0;
}

.tool-seo-detail details {
  max-width: 920px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.tool-seo-detail summary {
  cursor: pointer;
  font-weight: 900;
}

.tool-blue-banner,
.tool-repeat-cta {
  max-width: 1080px;
  margin: 72px auto 0;
  border-radius: 8px;
}

.tool-blue-banner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
  padding: 48px 58px;
  color: #ffffff;
  background: linear-gradient(135deg, #244bff, #1736d8);
  overflow: hidden;
}

.tool-blue-banner h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.tool-blue-art {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 34px;
  font-weight: 900;
}

.tool-repeat-cta {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 58px 44px;
  text-align: center;
  background: #f6f7ff;
}

.tool-repeat-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.related-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.related-tools a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: white;
  font-weight: 800;
  text-decoration: none;
}

.compact-footer {
  margin-top: 90px;
}

.tool-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 38px;
}

.tool-controls button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.tool-controls button.is-active {
  border-color: var(--blue);
  color: white;
  background: var(--blue);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 28px;
}

.tool-card {
  display: grid;
  min-height: 158px;
  place-items: center;
  gap: 12px;
  padding: 20px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: white;
  box-shadow: 0 4px 18px rgba(0, 14, 79, 0.11);
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(54, 85, 245, 0.5);
  box-shadow: 0 14px 26px rgba(0, 14, 79, 0.13);
}

.tool-card .icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
}

.tool-icon-svg {
  display: block;
  width: 52px;
  height: 52px;
}

.icon-bg {
  fill: #f4f6ff;
}

.icon-doc,
.icon-picture,
.icon-video,
.icon-qr,
.icon-scan {
  fill: #ffffff;
  stroke: var(--blue);
  stroke-width: 2.4;
}

.icon-doc-alt {
  fill: #eef2ff;
}

.icon-fold,
.icon-line,
.icon-arrow,
.icon-plus,
.icon-check,
.icon-trash,
.icon-crop,
.icon-pen,
.icon-lock,
.icon-watermark,
.icon-eraser,
.icon-search,
.icon-qr-line,
.icon-audio,
.icon-mic,
.icon-spark {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-label {
  fill: var(--blue);
  font-size: 7px;
  font-weight: 900;
  text-anchor: middle;
  font-family: Inter, Arial, sans-serif;
}

.icon-label-small {
  font-size: 5.5px;
}

.icon-dot {
  fill: var(--blue);
}

.tool-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.tool-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.tool-card.is-ready {
  border-color: rgba(66, 197, 145, 0.7);
}

.tool-card.is-ready::after {
  content: "Ready";
  align-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  color: #0b7f54;
  background: #e9fbf3;
  font-size: 11px;
  font-weight: 800;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.merge-section,
.compress-section,
.batch-tool-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 44px 0;
}

.pdf-editor-section {
  max-width: none;
  margin: 0;
  padding: 0;
  background: #f3f6ff;
}

.is-editor-active > .site-header,
.is-editor-active .breadcrumb,
.is-editor-active .tool-seo-hero,
.is-editor-active .seo-content-section,
.is-editor-active .site-footer,
.is-editor-active main > section:not(#edit-pdf-editor) {
  display: none;
}

.is-editor-active {
  overflow: hidden;
}

.editor-shell {
  background: transparent;
}

.is-editor-active .pdf-editor-section {
  max-width: none;
  margin: 0;
  padding: 0;
  background: #f5f6fa;
}

.is-editor-active .editor-shell {
  height: 100vh;
  overflow: hidden;
  background: #f5f6fa;
}

.editor-topbar,
.editor-toolbar {
  display: none;
}

.editor-topbar {
  position: relative;
  top: 0;
  z-index: 12;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
  min-height: 96px;
  padding: 14px 22px 12px;
  border-bottom: 1px solid #e5e8f2;
  background: #ffffff;
}

.is-editor-active .editor-topbar {
  display: grid;
}

.editor-brand {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.editor-breadcrumb {
  display: inline-flex;
  grid-column: 1 / 3;
  grid-row: 2;
  gap: 8px;
  align-items: center;
  min-width: 0;
  margin-left: 37px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.editor-upload-button {
  grid-column: 3;
  grid-row: 1 / 3;
}

.editor-top-actions {
  grid-column: 4;
  grid-row: 1 / 3;
}

.editor-breadcrumb a,
.editor-breadcrumb span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  text-decoration: none;
}

.editor-breadcrumb a {
  color: var(--blue);
}

.editor-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editor-breadcrumb span[aria-current="page"] {
  color: var(--blue);
}

.editor-file-wrap {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: min(44vw, 560px);
}

.editor-file-name {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.editor-upload-button,
.editor-image-picker,
.editor-primary-button,
.editor-save-button,
.editor-top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d7dced;
  border-radius: 6px;
  background: #ffffff;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.editor-top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.editor-top-action {
  min-width: 60px;
  padding: 0 12px;
  color: #26324a;
  font-weight: 800;
}

.editor-save-button {
  min-width: 88px;
  color: #70798e;
  background: #e8ebf3;
}

.editor-primary-button {
  min-width: 112px;
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.editor-primary-button:disabled {
  border-color: #d7dced;
  color: #8e98b0;
  background: #eef1f8;
  cursor: not-allowed;
}

.editor-toolbar {
  position: relative;
  top: 0;
  z-index: 11;
  gap: 1px;
  align-items: stretch;
  overflow-x: auto;
  border-bottom: 1px solid #dfe4ef;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08);
}

.is-editor-active .editor-toolbar {
  display: flex;
}

.editor-propertybar {
  display: none;
  position: relative;
  z-index: 10;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 14px;
  border-bottom: 1px solid #dfe4ef;
  background: #f3f6ff;
}

.is-editor-active .editor-propertybar.has-visible-props {
  display: flex;
}

.editor-toolbar button,
.editor-image-picker {
  min-width: 84px;
  min-height: 64px;
  padding: 8px 12px;
  border: 0;
  border-right: 1px solid #edf0f6;
  border-radius: 0;
  background: #ffffff;
  color: #172033;
  font-weight: 800;
  cursor: pointer;
}

.editor-toolbar button.is-active {
  color: #ffffff;
  background: var(--blue);
}

.editor-toolbar button:disabled {
  color: #b4bccd;
  cursor: not-allowed;
  background: #fbfcff;
}

.editor-prop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #26324a;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.editor-prop[hidden],
.editor-text-input[hidden] {
  display: none !important;
}

.editor-text-input,
.editor-select-input,
.editor-number-input {
  min-width: 180px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d7dced;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.editor-select-input {
  min-width: 150px;
}

.editor-number-input {
  min-width: 82px;
  width: 82px;
}

#editColorInput,
#editFillColorInput {
  width: 56px;
  min-width: 56px;
  height: 44px;
  margin: 0;
  border: 1px solid #d7dced;
  border-radius: 6px;
  background: #ffffff;
}

#editOpacityInput {
  width: 120px;
}

.editor-align-controls button {
  min-width: 40px;
  min-height: 34px;
  border: 1px solid #d7dced;
  border-radius: 4px;
  background: #ffffff;
  color: #26324a;
  font-weight: 900;
  cursor: pointer;
}

.editor-empty {
  display: grid;
  position: relative;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 0.95fr);
  gap: 64px;
  align-items: stretch;
  min-height: 0;
  margin: 0 auto;
  padding: 84px 44px 88px;
  max-width: 1280px;
  background: transparent;
  text-align: left;
}

.editor-empty[hidden],
.editor-workbench[hidden] {
  display: none !important;
}

.editor-empty h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.08;
}

.editor-empty p {
  max-width: 760px;
  margin: 0;
  color: #53627d;
  font-size: 20px;
  line-height: 1.55;
}

.editor-empty ul {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  max-width: 760px;
  list-style: none;
}

.editor-empty li {
  position: relative;
  padding-left: 38px;
  color: #1e293b;
  font-size: 17px;
  line-height: 1.45;
}

.editor-empty li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 4px;
  color: #ffffff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.editor-consent {
  margin-top: 38px !important;
  font-size: 13px !important;
}

.editor-consent a {
  color: var(--ink);
  font-weight: 900;
}

.editor-upload-card {
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 356px;
  padding: 28px;
  border: 0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.editor-upload-drop {
  display: grid;
  gap: 10px;
  place-items: center;
  min-height: 294px;
  padding: 28px;
  border: 2px dashed #b9c5ee;
  border-radius: 4px;
  color: var(--blue);
  background: #ffffff;
  cursor: pointer;
}

.editor-upload-drop.is-dragover {
  border-color: var(--blue);
  background: #eef3ff;
}

.editor-upload-drop span:not(.editor-upload-icon) {
  display: inline-flex;
  min-height: 64px;
  min-width: 290px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.editor-upload-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #3655f5, #7187ff);
  font-size: 42px;
  box-shadow: 0 14px 24px rgba(54, 85, 245, 0.22);
}

.editor-upload-drop strong {
  color: #53627d;
  font-size: 17px;
}

.editor-upload-drop em {
  position: relative;
  width: 230px;
  color: #66728a;
  font-style: normal;
  text-align: center;
}

.editor-upload-drop em::before,
.editor-upload-drop em::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 82px;
  height: 1px;
  background: #dbe2f2;
}

.editor-upload-drop em::before {
  left: 0;
}

.editor-upload-drop em::after {
  right: 0;
}

.editor-upload-drop small,
.editor-upload-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.edit-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  gap: 14px;
  color: var(--ink);
  background: rgba(244, 247, 255, 0.86);
  backdrop-filter: blur(2px);
  text-align: center;
}

.edit-loading-overlay[hidden] {
  display: none !important;
}

.edit-loading-overlay strong {
  font-size: 24px;
}

.edit-loading-overlay span {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.edit-how-section,
.edit-why-section,
.edit-blue-banner,
.edit-repeat-cta,
.edit-faq-section,
.edit-related-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 44px 0;
}

.edit-how-section h2,
.edit-why-section h2,
.edit-faq-section h2 {
  margin: 0 0 46px;
  color: var(--ink);
  text-align: center;
  font-size: clamp(32px, 4vw, 46px);
}

.edit-how-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1fr;
  gap: 76px;
  align-items: center;
}

.edit-how-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.edit-how-steps {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.edit-how-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}

.edit-how-steps span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-size: 22px;
  font-weight: 900;
}

.edit-how-steps p {
  margin: 6px 0 0;
  color: #53627d;
  font-size: 18px;
  line-height: 1.45;
}

.edit-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.edit-why-grid article {
  overflow: hidden;
  border: 1px solid #e6ebf5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.edit-why-art {
  display: grid;
  min-height: 152px;
  place-items: center;
  color: #ffffff;
  font-size: 38px;
  font-weight: 900;
}

.edit-why-art.green { background: #20c49a; }
.edit-why-art.blue { background: var(--blue); }
.edit-why-art.navy { background: #07125b; }

.edit-why-grid h3 {
  margin: 22px 22px 10px;
  color: var(--ink);
  text-align: center;
  font-size: 20px;
}

.edit-why-grid p {
  margin: 0 22px 26px;
  color: #53627d;
  font-size: 15px;
  line-height: 1.5;
}

.edit-blue-banner,
.edit-repeat-cta {
  margin-top: 72px;
}

.edit-blue-banner {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(rgba(54, 85, 245, 0.9), rgba(54, 85, 245, 0.9)), url("../assets/edit-pdf-workflow.png") center/cover;
}

.edit-blue-banner h2 {
  max-width: 620px;
  margin: 0;
  text-align: center;
  font-size: 32px;
}

.edit-repeat-cta {
  display: grid;
  gap: 28px;
  place-items: center;
  min-height: 280px;
  border-radius: 8px;
  background: #f3f6ff;
}

.edit-repeat-cta h2 {
  margin: 0;
  color: var(--ink);
  text-align: center;
  font-size: 34px;
}

.edit-repeat-button {
  display: inline-flex;
  min-width: 260px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.edit-faq-section details {
  border-top: 1px solid #e3e8f4;
  border-bottom: 1px solid #e3e8f4;
  padding: 24px 0;
}

.edit-faq-section summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.edit-faq-section p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.editor-empty small {
  color: var(--muted);
  font-weight: 800;
}

.editor-workbench {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: calc(100vh - 185px);
  min-height: 0;
  overflow: hidden;
}

.editor-workbench.is-thumbnails-hidden {
  grid-template-columns: 0 1fr;
}

.editor-workbench.is-thumbnails-hidden .editor-thumbnails {
  width: 0;
  padding: 0;
  overflow: hidden;
  border-right: 0;
}

.editor-thumbnails {
  overflow-y: auto;
  padding: 22px 18px;
  border-right: 1px solid #d3d9e7;
  background: #f0f2f7;
}

.editor-thumb {
  display: grid;
  gap: 10px;
  justify-items: center;
  width: 100%;
  margin-bottom: 22px;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.editor-thumb.is-active {
  border-color: var(--blue);
  background: #ffffff;
}

.editor-thumb canvas {
  max-width: 160px;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.editor-thumb span {
  display: inline-flex;
  min-width: 42px;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 5px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
}

.editor-canvas-wrap {
  position: relative;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 28px 42px 90px;
  background: #f8f9fc;
}

.editor-search-panel {
  position: absolute;
  top: 14px;
  right: 26px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #d5dbea;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.editor-search-panel[hidden] {
  display: none !important;
}

.editor-search-panel input {
  width: 220px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: #eef2f8;
  padding: 0 10px;
  color: #172033;
  font: 700 15px/1 var(--font);
  outline: none;
}

.editor-search-panel span {
  min-width: 54px;
  color: #8a94a8;
  font-weight: 800;
  text-align: center;
}

.editor-search-panel button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #c4ccd9;
  color: #172033;
  font-weight: 800;
  cursor: pointer;
}

.editor-page-stage {
  position: relative;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.editor-page-preview {
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.editor-page-preview canvas {
  display: block;
}

#editPdfCanvas,
#editOverlayCanvas {
  display: block;
}

#editOverlayCanvas {
  position: absolute;
  inset: 0;
  cursor: crosshair;
}

.editor-object-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: auto;
}

.editor-object {
  position: absolute;
  pointer-events: auto;
  isolation: isolate;
}

.editor-paint-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.editor-live-erase-layer {
  position: absolute;
  inset: 0;
  z-index: 24;
  pointer-events: none;
}

.editor-live-erase-rect {
  position: absolute;
  display: block;
  background: #ffffff;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.editor-text-box {
  position: relative;
  z-index: 1;
}

.editor-paint-layer svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.editor-eraser-cursor {
  position: absolute;
  display: none !important;
  z-index: 30;
  pointer-events: none;
  border: 2px solid #3655f5;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.76);
  transform: rotate(-8deg);
}

.editor-eraser-cursor[hidden] {
  display: none;
}

.editor-eraser-cursor::before {
  content: "";
  position: absolute;
  inset: 20% 18%;
  border: 2px solid #3655f5;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(54, 85, 245, 0.12), rgba(255, 255, 255, 0.9));
}

.editor-eraser-cursor::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18%;
  left: 18%;
  border-top: 2px solid rgba(54, 85, 245, 0.65);
  transform: rotate(18deg);
}

.editor-search-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.editor-search-hit {
  position: absolute;
  background: rgba(250, 204, 21, 0.86);
  mix-blend-mode: multiply;
}

.editor-object.is-selected {
  outline: 2px solid #74a8ff;
  outline-offset: 0;
}

.editor-object-xmark,
.editor-object-check,
.editor-object-eraseRect {
  cursor: move;
}

.editor-object-eraseRect {
  background: #ffffff;
  outline: 0;
  box-shadow: none;
}

.editor-object-eraseRect.is-selected {
  outline: 0;
  box-shadow: none;
}

.editor-erase-rect-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: #ffffff;
  pointer-events: none;
}

.editor-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.editor-box-handle {
  position: absolute;
  z-index: 3;
  display: none;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #2f80ed;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.24);
}

.editor-object.is-selected .editor-box-handle {
  display: block;
}

.editor-box-handle-nw {
  top: -7px;
  left: -7px;
  cursor: nwse-resize;
}

.editor-box-handle-n {
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}

.editor-box-handle-ne {
  top: -7px;
  right: -7px;
  cursor: nesw-resize;
}

.editor-box-handle-e {
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  cursor: ew-resize;
}

.editor-box-handle-se {
  right: -7px;
  bottom: -7px;
  cursor: nwse-resize;
}

.editor-box-handle-s {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}

.editor-box-handle-sw {
  bottom: -7px;
  left: -7px;
  cursor: nesw-resize;
}

.editor-box-handle-w {
  top: 50%;
  left: -7px;
  transform: translateY(-50%);
  cursor: ew-resize;
}

.editor-move-handle {
  position: absolute;
  left: 50%;
  top: -36px;
  z-index: 20;
  display: none;
  min-width: 52px;
  height: 28px;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  border: 1px solid rgba(47, 128, 237, 0.9);
  border-radius: 6px;
  background: #2f80ed;
  color: #ffffff;
  font: 700 13px/1 Arial, sans-serif;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.24);
  cursor: move;
  user-select: none;
  pointer-events: auto;
}

.editor-object-text.is-selected .editor-move-handle {
  display: inline-flex;
}

.editor-text-box {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 80px;
  min-height: 0;
  padding: 1px 4px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #3655f5;
  font: 18px Helvetica, Arial, sans-serif;
  line-height: 1.08;
  resize: none;
  overflow: hidden;
  pointer-events: auto;
  outline: none;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

.editor-text-display {
  cursor: move;
  user-select: none;
}

.editor-object-text.is-selected .editor-text-box {
  cursor: move;
}

.editor-object-text.is-selected .editor-text-box:focus {
  cursor: text;
}

.editor-text-box:focus {
  box-shadow: inset 0 0 0 1px rgba(54, 85, 245, 0.22);
}

.editor-source-text-hit {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  padding: 0;
  border: 1px dashed rgba(54, 85, 245, 0.55);
  background: rgba(255, 255, 255, 0.02);
  color: transparent;
  cursor: text;
}

.editor-source-text-hit.is-selected {
  background: rgba(54, 85, 245, 0.08);
}

.editor-object-signature img,
.editor-object-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.editor-signature-text {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  white-space: nowrap;
  pointer-events: none;
}

.editor-object-signature,
.editor-object-note {
  cursor: move;
}

.editor-note-icon {
  width: 30px;
  height: 24px;
  border: 1px solid #eab308;
  border-radius: 5px 5px 5px 1px;
  background: #facc15;
  cursor: move;
}

.editor-note-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 1px;
  width: 8px;
  height: 8px;
  transform: skew(-25deg);
  background: #facc15;
}

.editor-note-panel {
  position: absolute;
  left: 26px;
  top: -6px;
  display: none;
  width: 260px;
  height: 150px;
  padding: 14px;
  border: 0;
  border-radius: 4px;
  background: #fff36d;
  color: #172033;
  font: 15px Arial, sans-serif;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  resize: both;
}

.editor-note-delete {
  position: absolute;
  left: 238px;
  top: -14px;
  z-index: 6;
  display: none;
  min-width: 46px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #fca5a5;
  border-radius: 5px;
  background: #ffffff;
  color: #dc2626;
  font: 700 13px Arial, sans-serif;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
  cursor: pointer;
}

.editor-object-note:hover .editor-note-panel,
.editor-object-note.is-selected .editor-note-panel,
.editor-note-panel:focus {
  display: block;
  z-index: 5;
}

.editor-object-note:hover .editor-note-delete,
.editor-object-note.is-selected .editor-note-delete,
.editor-note-panel:focus + .editor-note-delete {
  display: inline-flex;
}

.signature-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.58);
}

.signature-modal[hidden] {
  display: none !important;
}

.signature-dialog {
  width: min(820px, calc(100vw - 42px));
  overflow: hidden;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.34);
}

.signature-head,
.signature-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid #e6eaf3;
}

.signature-head button {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 24px;
  cursor: pointer;
}

.signature-tabs {
  display: flex;
  gap: 24px;
  padding: 16px 28px 0;
  background: #f3f6ff;
}

.signature-tabs button {
  padding: 0 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #66728a;
  font-weight: 900;
  cursor: pointer;
}

.signature-tabs button.is-active {
  border-color: var(--blue);
  color: var(--blue);
}

.signature-body {
  padding: 28px;
}

.signature-pane {
  display: none;
}

.signature-pane.is-active {
  display: grid;
  gap: 18px;
}

#editSignatureCanvas {
  width: 100%;
  height: 260px;
  border: 1px dashed #c7d2e4;
  background: #ffffff;
  touch-action: none;
}

.signature-upload,
#editSignatureTextInput {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #d7dced;
  border-radius: 6px;
  background: #ffffff;
  color: var(--blue);
  font-weight: 900;
}

#editSignatureTextInput {
  justify-content: flex-start;
  color: var(--ink);
  font-size: 20px;
}

#editSignaturePreview {
  margin: 0;
  color: #111827;
  font: italic 52px Georgia, serif;
}

.signature-actions {
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #e6eaf3;
  border-bottom: 0;
  background: #f7f9ff;
}

.signature-actions button,
#editClearSignature {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d7dced;
  border-radius: 4px;
  background: #ffffff;
  color: #26324a;
  font-weight: 900;
  cursor: pointer;
}

#editSignatureDone {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.editor-floating-controls {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 14;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(23, 32, 51, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
  transform: translateX(-50%);
}

.editor-floating-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.editor-status {
  margin: 0;
  padding: 12px 22px;
  border-top: 1px solid #e5e8f2;
  color: var(--muted);
  background: #ffffff;
  font-weight: 700;
}

.tool-workspace {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  box-shadow: 0 8px 28px rgba(0, 14, 79, 0.08);
}

.tool-workspace-copy .section-kicker {
  display: block;
  margin-bottom: 14px;
  text-align: left;
}

.tool-workspace-copy h1,
.tool-workspace-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
}

.tool-workspace-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.tool-capability-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #172033;
  font-size: 15px;
  line-height: 1.45;
}

.tool-capability-list li {
  position: relative;
  padding-left: 28px;
}

.tool-capability-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 4px;
  color: #ffffff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.tool-consent {
  margin-top: 28px !important;
  color: #59657a !important;
  font-size: 12px !important;
}

.merge-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.drop-zone {
  display: grid;
  min-height: 190px;
  place-items: center;
  gap: 8px;
  padding: 30px 18px;
  border: 2px dashed #cdd4ef;
  border-radius: 8px;
  background: #f8f9ff;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.drop-zone.is-dragging {
  border-color: var(--blue);
  background: #eef2ff;
}

.drop-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--blue);
}

.drop-icon .tool-icon-svg {
  width: 68px;
  height: 68px;
}

.drop-zone strong {
  font-size: 20px;
}

.drop-zone small,
.merge-status {
  color: var(--muted);
}

.merge-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.target-size-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 180px) auto;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  font-weight: 800;
}

.target-size-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cdd4ef;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.compress-result {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  color: #0b7f54;
  background: #e9fbf3;
  font-weight: 800;
}

.batch-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.option-row {
  display: grid;
  grid-template-columns: minmax(130px, auto) 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  font-weight: 800;
}

.option-row input,
.option-row select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cdd4ef;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 700;
}

.option-help {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.compress-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 127, 84, 0.16);
}

.compress-complete-label {
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
}

.compress-meter span {
  display: block;
  width: var(--meter-width, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.compress-meter.is-complete span {
  width: 100%;
}

.merge-list-header button,
.file-actions button {
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.merge-list-header button:disabled,
.file-actions button:disabled,
.primary-action:disabled {
  color: #9aa4bd;
  cursor: not-allowed;
}

.merge-file-list {
  display: grid;
  gap: 12px;
  min-height: 52px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.merge-file-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.file-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.file-info {
  min-width: 0;
}

.file-info strong,
.file-info span {
  display: block;
}

.file-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-info span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.file-actions {
  display: flex;
  gap: 6px;
}

.file-actions button {
  min-width: 32px;
  min-height: 32px;
  border-radius: 6px;
  background: #f4f6ff;
}

.file-actions .remove-file {
  color: #d03b54;
  background: #fff1f4;
}

.merge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.primary-action,
.download-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  color: white;
  background: var(--blue);
  cursor: pointer;
}

.primary-action:disabled {
  color: #7f8aa5;
  background: #e8ebf5;
}

.download-action {
  color: #0b7f54;
  background: #e9fbf3;
  cursor: pointer;
}

.download-action[hidden] {
  display: none;
}

.merge-status {
  margin: 16px 0 0;
  line-height: 1.45;
}

.benefit-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.benefit-grid article,
.value-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.benefit-grid span {
  color: var(--blue);
  font-size: 32px;
  font-weight: 800;
}

.benefit-grid p,
.value-grid p,
.faq-section p {
  color: var(--muted);
  line-height: 1.55;
}

.value-icon {
  color: var(--blue);
  font-size: 28px;
}

.value-grid h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.faq-section {
  padding-bottom: 96px;
}

details {
  max-width: 900px;
  margin: 16px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

summary {
  padding: 22px 26px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 26px 24px;
}

.site-footer {
  padding: 64px 44px 28px;
  color: white;
  background: #07103f;
}

.footer-cta {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
}

.footer-cta h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.footer-cta p {
  margin: 0;
  color: #cbd5ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid h3 {
  text-transform: uppercase;
  font-size: 14px;
}

.footer-grid a {
  display: block;
  margin-top: 10px;
  color: #dce3ff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  margin: 54px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #b9c4f8;
  font-size: 13px;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.language-switcher button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #dce3ff;
  font: inherit;
  cursor: pointer;
}

.language-switcher button:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #7784c2;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upload-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 16px 18px;
  border-radius: 8px;
  color: white;
  background: #172033;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.upload-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.watermark-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: auto;
  padding: 34px;
  background: rgba(9, 18, 38, 0.34);
}

.watermark-preview-modal.is-page-state {
  padding: 0;
  background: #ffffff;
}

.watermark-preview-modal.is-overlay-state {
  padding: 34px;
  background: rgba(9, 18, 38, 0.34);
}

.watermark-preview-modal[hidden] {
  display: none;
}

.watermark-preview-dialog {
  position: relative;
  width: min(1440px, calc(100vw - 68px));
  min-height: min(840px, calc(100vh - 68px));
  margin: 0 auto;
  padding: 36px 42px 42px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(8, 20, 48, 0.22);
}

.watermark-preview-modal.is-page-state .watermark-preview-dialog {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 28px 32px 40px;
  border-radius: 0;
  box-shadow: none;
}

.watermark-preview-modal.is-overlay-state .watermark-preview-dialog {
  width: min(1440px, calc(100vw - 68px));
  min-height: min(840px, calc(100vh - 68px));
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(8, 20, 48, 0.22);
}

.watermark-preview-dialog h2 {
  margin: 0 0 30px;
  text-align: center;
  color: #172033;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
}

.watermark-back {
  position: absolute;
  left: 34px;
  top: 34px;
  width: 54px;
  height: 54px;
  border: 1px solid #d9dfef;
  border-radius: 8px;
  color: #5b667c;
  background: #ffffff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.watermark-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.watermark-preview-modal.is-page-state .watermark-preview-grid {
  max-width: 1440px;
  margin: 0 auto;
}

.watermark-preview-canvas-wrap {
  display: grid;
  min-height: 620px;
  place-items: center;
  padding: 48px;
  border-radius: 8px;
  background: #f0f2f7;
}

.watermark-preview-canvas-wrap canvas {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  background: #ffffff;
}

.watermark-preview-side {
  display: grid;
  gap: 22px;
  color: #171b2a;
  font-size: 18px;
  line-height: 1.45;
}

.watermark-file-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 14px;
  background: #f5f2ff;
}

.watermark-file-card strong,
.watermark-file-card small {
  display: block;
}

.watermark-file-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #3655f5;
  background: #ffffff;
  font-weight: 900;
}

.watermark-preview-side .primary-action,
.watermark-preview-side .secondary-action {
  width: 100%;
  min-height: 72px;
  justify-content: center;
  font-size: 20px;
}

.watermark-preview-side button[hidden] {
  display: none !important;
}

.watermark-preview-side .watermark-continue {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.watermark-preview-modal.is-processing .watermark-continue {
  color: #667085;
  background: #e4e7ee;
  cursor: wait;
}

.watermark-button-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(54, 85, 245, 0.22);
  border-top-color: #3655f5;
  border-radius: 999px;
  animation: watermark-spin 750ms linear infinite;
}

.watermark-button-spinner[hidden] {
  display: none;
}

@keyframes watermark-spin {
  to {
    transform: rotate(360deg);
  }
}

.watermark-preview-side .secondary-action {
  border: 2px solid #10131c;
  color: #10131c;
  background: #ffffff;
}

.watermark-preview-side .watermark-manual {
  border-color: #d7ccff;
  color: #7147e8;
  background: #e7ddff;
}

.watermark-manual-panel {
  display: grid;
  gap: 10px;
}

.watermark-manual-panel[hidden] {
  display: none;
}

.watermark-manual-panel input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid #d9dfef;
  border-radius: 8px;
  font: inherit;
}

.watermark-manual-panel small {
  color: #65728a;
  font-weight: 700;
}

.watermark-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watermark-chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #d7ccff;
  border-radius: 999px;
  color: #7147e8;
  background: #f3efff;
  font-weight: 800;
}

.watermark-chip button {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #667085;
  background: #ffffff;
  cursor: pointer;
}

@media (max-width: 980px) {
  .watermark-preview-modal {
    padding: 14px;
  }

  .watermark-preview-dialog {
    width: calc(100vw - 28px);
    padding: 28px 18px;
  }

  .watermark-back {
    left: 16px;
    top: 16px;
  }

  .watermark-preview-grid {
    grid-template-columns: 1fr;
  }

  .watermark-preview-canvas-wrap {
    min-height: auto;
    padding: 18px;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .menu-button {
    display: block;
  }

  .main-nav,
  .login-button {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .login-button {
    position: absolute;
    left: 16px;
    right: 16px;
    display: flex;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav {
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
  }

  .site-header.is-open .main-nav a {
    justify-content: flex-start;
    border-radius: 6px;
    padding: 0 14px;
  }

  .site-header.is-open .login-button {
    top: 188px;
    justify-content: center;
    border-radius: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 22px 28px;
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .proof-row,
  .steps,
  .benefit-grid,
  .value-grid,
  .editor-empty,
  .edit-how-grid,
  .edit-why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    padding: 26px 22px 38px;
  }

  .workflow,
  .tools-section,
  .tool-seo-hero,
  .breadcrumb,
  .merge-section,
  .compress-section,
  .batch-tool-section,
  .pdf-editor-section,
  .edit-how-section,
  .edit-why-section,
  .edit-blue-banner,
  .edit-repeat-cta,
  .edit-faq-section,
  .coming-soon-tool,
  .seo-content-section,
  .benefits-section,
  .values-section,
  .faq-section,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .workflow {
    margin-top: 56px;
  }

  .tool-workspace {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .seo-feature-grid {
    grid-template-columns: 1fr;
  }

  .seo-how-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seo-how-visual {
    min-height: 190px;
  }

  .tool-blue-banner {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }

  .tool-blue-art {
    width: 118px;
    height: 118px;
  }

  .tool-seo-hero > div {
    padding: 26px;
  }

  .editor-empty {
    padding: 48px 22px 56px;
    gap: 28px;
  }

  .editor-empty h1 {
    font-size: 38px;
  }

  .editor-upload-card {
    padding: 20px;
  }

  .editor-upload-drop span:not(.editor-upload-icon),
  .edit-repeat-button {
    min-width: 0;
    width: 100%;
  }

  .edit-how-section,
  .edit-why-section,
  .edit-blue-banner,
  .edit-repeat-cta,
  .edit-faq-section {
    padding-top: 48px;
  }

  .edit-how-steps li {
    grid-template-columns: 42px 1fr;
  }

  .edit-how-steps span {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .primary-button {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-copy > p {
    font-size: 17px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .tool-card {
    min-height: 142px;
  }

  .merge-file-list li {
    grid-template-columns: auto 1fr;
  }

  .file-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .merge-actions > * {
    width: 100%;
  }
}

/* PDFFRAME redesign */
.home-v2 {
  background: #fbfcff;
}

.home-v2 .site-header,
.tool-page-v2 .site-header {
  height: 78px;
  background: rgba(255, 255, 255, 0.92);
}

.home-v2 .login-button,
.home-v2 .primary-button,
.tool-page-v2 .login-button,
.tool-page-v2 .primary-button {
  border-radius: 8px;
}

.home-v2 .hero {
  background:
    linear-gradient(135deg, rgba(54, 85, 245, 0.08), rgba(33, 198, 162, 0.07)),
    #f7f9ff;
}

.policy-page {
  min-height: 100vh;
}

.policy-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.policy-card {
  border: 1px solid #dde4f7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(22, 34, 66, 0.08);
  padding: clamp(32px, 5vw, 72px);
}

.policy-card h1 {
  margin: 10px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
}

.policy-card h2 {
  margin-top: 32px;
}

.policy-card p {
  max-width: 820px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.policy-actions,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.pricing-grid article {
  border: 1px solid #dde4f7;
  border-radius: 12px;
  padding: 24px;
  background: #f8faff;
}

.home-v2 .hero-inner {
  display: block;
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 0;
  text-align: center;
}

.version-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(54, 85, 245, 0.18);
  border-radius: 999px;
  color: var(--blue);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.home-v2 .hero-copy h1 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(46px, 6vw, 78px);
}

.home-v2 .hero-copy > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 19px;
}

.home-v2 .proof-row {
  grid-template-columns: 0.75fr repeat(3, 1fr);
  padding-bottom: 56px;
}

.home-v2 .proof-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.home-v2 .workflow {
  max-width: 1180px;
  margin: 84px auto 0;
  padding: 56px 42px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.home-v2 .workflow .section-kicker {
  display: block;
  text-align: center;
}

.home-v2 .steps {
  margin-top: 34px;
  color: var(--ink);
}

.home-v2 .steps span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: var(--blue);
  font-size: 24px;
}

.home-v2 .steps p {
  color: var(--muted);
  font-size: 18px;
}

.section-intro {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
}

.home-v2 .tool-grid {
  grid-template-columns: 1fr;
  gap: 34px;
}

.home-v2 .hero .tools-section {
  max-width: 1280px;
  padding-top: 10px;
  padding-bottom: 56px;
}

.home-v2 .hero .tool-controls {
  margin-top: 0;
}

.tool-category-group {
  display: grid;
  gap: 18px;
}

.tool-category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7edf9;
}

.tool-category-heading span {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.tool-category-group.is-active-category .tool-category-heading {
  border-bottom-color: rgba(54, 85, 245, 0.42);
}

.tool-category-group.is-active-category .tool-category-heading span {
  color: var(--blue);
}

.tool-category-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
}

.tool-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.home-v2 .tool-card {
  min-height: 210px;
  justify-items: start;
  place-items: start;
  padding: 24px;
  text-align: left;
  border-color: #e3e8f7;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.home-v2 .tool-card .icon {
  width: 48px;
  height: 48px;
}

.home-v2 .tool-card strong {
  font-size: 20px;
}

.home-v2 .tool-card.is-ready::after {
  align-self: end;
}

.home-v2 .tool-card.is-search-match {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(54, 85, 245, 0.12), 0 18px 48px rgba(54, 85, 245, 0.22);
  animation: searchMatchPulse 1.2s ease-in-out 3;
}

.home-v2 .tool-card.is-search-match .icon {
  animation: searchIconBounce 0.7s ease-in-out 4;
}

@keyframes searchMatchPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes searchIconBounce {
  0%, 100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.16) rotate(-4deg);
  }
}

.tool-empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed #cfd7f2;
  border-radius: 12px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
}

.home-v2 .merge-section,
.home-v2 .compress-section,
.home-v2 .batch-tool-section {
  display: none;
}

.home-seo-guide,
.home-internal-links {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 44px 0;
}

.home-seo-guide h2,
.home-internal-links h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  text-align: center;
}

.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.home-guide-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.home-guide-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.home-guide-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.home-guide-grid a {
  color: var(--blue);
  font-weight: 900;
}

.home-internal-links {
  padding-bottom: 60px;
  text-align: center;
}

.home-internal-links .related-tools {
  justify-content: center;
}

.site-version {
  margin-top: 28px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.tool-page-v2 {
  background: #fbfcff;
}

.tool-page-v2 .merge-section,
.tool-page-v2 .compress-section,
.tool-page-v2 .batch-tool-section {
  max-width: 1240px;
  padding-top: 58px;
}

.tool-page-v2 .tool-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.08fr);
  gap: 42px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid #dfe5f8;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 16%, rgba(54, 85, 245, 0.08), transparent 26%),
    #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.tool-page-v2 .tool-workspace-copy {
  padding: 18px 10px 18px 18px;
}

.tool-page-v2 .tool-workspace-copy h1,
.tool-page-v2 .tool-workspace-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.05;
}

.tool-page-v2 .tool-workspace-copy > p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.tool-page-v2 .tool-capability-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.tool-page-v2 .tool-capability-list li {
  position: relative;
  padding-left: 38px;
  color: #26324a;
  line-height: 1.48;
}

.tool-page-v2 .tool-capability-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.tool-page-v2 .tool-consent {
  max-width: 520px;
  color: #657089;
  font-size: 13px;
}

.tool-page-v2 .merge-panel {
  min-height: 460px;
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #dfe5f8;
}

.tool-page-v2 .drop-zone {
  min-height: 210px;
  border-radius: 16px;
  background: #f8faff;
}

.tool-page-v2 .drop-icon {
  font-size: 36px;
}

.tool-page-v2 .tool-seo-detail {
  max-width: 1180px;
  padding-top: 86px;
}

.tool-page-v2 .tool-answer-section h2,
.tool-page-v2 .tool-use-section h2,
.tool-page-v2 .tool-link-section h2 {
  max-width: 900px;
}

.tool-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.tool-detail-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}

.tool-detail-grid h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.tool-detail-grid ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.tool-page-v2 .seo-how-visual {
  min-height: 300px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06), inset 0 0 0 1px #dfe6ff;
}

.tool-page-v2 .seo-tool-visual-svg {
  min-height: 300px;
}

.tool-page-v2 .seo-feature-grid article {
  border-radius: 14px;
}

.tool-page-v2 .seo-card-art {
  border-radius: 10px;
}

.tool-insight-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  max-width: 1180px;
  margin: 86px auto 0;
  padding: 38px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #14217d, #3655f5);
  box-shadow: 0 24px 70px rgba(54, 85, 245, 0.18);
}

.tool-insight-band .section-kicker {
  color: #bfcaff;
  text-align: left;
}

.tool-insight-band h2 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
}

.tool-insight-band p {
  max-width: 820px;
  margin: 0;
  color: #eef2ff;
  line-height: 1.6;
}

.tool-insight-band .primary-action {
  border-color: #ffffff;
  color: var(--blue);
  background: #ffffff;
}

@media (max-width: 960px) {
  .home-v2 .hero-inner,
  .tool-page-v2 .tool-workspace,
  .seo-how-grid,
  .home-guide-grid,
  .tool-detail-grid,
  .tool-insight-band {
    grid-template-columns: 1fr;
  }

  .home-v2 .proof-row {
    grid-template-columns: 1fr;
  }

  .tool-page-v2 .merge-panel {
    min-height: auto;
  }

  .tool-category-heading {
    display: grid;
    align-items: start;
  }

  .tool-category-heading p {
    max-width: none;
    text-align: left;
  }
}
