:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select { font: inherit; }
button, label[for] { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, canvas { max-width: 100%; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dynamic-motricialy-shell { min-height: 100vh; background: #fff; }
.dynamic-tool-main { min-height: 60vh; }
.dynamic-header-mount,
.local-site-header { min-height: 74px; }
.dynamic-header-mount #site-header,
.dynamic-footer-mount #footer { position: relative; z-index: 20; }

/* Stable local chrome while the live WordPress header/footer is loading. */
.local-site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.local-header-inner {
  width: 1200px;
  max-width: 90%;
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.local-brand { display: inline-flex; flex: none; color: inherit; text-decoration: none; }
.local-logo-mark {
  position: relative;
  display: block;
  width: 120px;
  height: 58px;
  overflow: hidden;
  background: #6f4be8;
  border-radius: 8px;
}
.local-logo-letter {
  position: absolute;
  top: 50%;
  right: 16px;
  color: #fff;
  font-family: Arial Black, Arial, sans-serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -6px;
  transform: translateY(-51%) skewX(-7deg);
}
.local-logo-bubble {
  position: absolute;
  top: 21px;
  left: 20px;
  width: 17px;
  height: 14px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(-5deg);
}
.local-logo-bubble::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -5px;
  width: 0;
  height: 0;
  border-top: 6px solid #fff;
  border-right: 5px solid transparent;
}
.local-desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-width: 0; }
.local-desktop-nav a { color: #222; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.local-desktop-nav a:hover { color: #6f4be8; }
.local-search-link { font-size: 20px !important; line-height: 1; }
.local-mobile-menu { display: none; position: relative; }
.local-mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #252525;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.local-mobile-menu summary::-webkit-details-marker { display: none; }
.local-menu-icon { font-size: 16px; line-height: 1; }
.local-mobile-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 28px));
  padding: 10px;
  background: #fff;
  border: 1px solid #ece7f0;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(35, 22, 54, .12);
}
.local-mobile-menu nav a { display: block; padding: 10px 12px; color: #222; text-decoration: none; border-radius: 8px; font-size: 14px; }
.local-mobile-menu nav a:hover { background: #faf6ff; color: #6f4be8; }

.fallback-site-footer { background: #202020; color: #fff; }
.fallback-footer-main { background: #202020; }
.fallback-footer-grid {
  width: 1200px;
  max-width: 90%;
  min-height: 350px;
  margin: 0 auto;
  padding: 28px 0 26px;
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr 1.1fr;
  gap: 30px;
  align-items: start;
}
.fallback-footer-brand { display: inline-flex; color: inherit; text-decoration: none; }
.fallback-footer-brand .local-logo-mark-large { width: 268px; height: 170px; border-radius: 20px; }
.fallback-footer-brand .local-logo-mark-large .local-logo-letter { right: 40px; color: #1f1f1f; font-size: 124px; letter-spacing: -14px; }
.fallback-footer-brand .local-logo-mark-large .local-logo-bubble { top: 68px; left: 43px; width: 38px; height: 30px; background: #1f1f1f; border-radius: 3px; }
.fallback-footer-brand .local-logo-mark-large .local-logo-bubble::after { left: 9px; bottom: -11px; border-top: 13px solid #1f1f1f; border-right-width: 10px; }
.fallback-footer-about p { margin: 22px 0 18px; color: #fff; font-size: 15px; line-height: 1.8; }
.fallback-social-links { display: flex; align-items: center; gap: 18px; color: #fff; }
.fallback-social-links span { font-size: 20px; line-height: 1; font-weight: 800; }
.fallback-footer-column h2 { margin: 5px 0 25px; color: #d7d7d7; font-size: 21px; line-height: 1.2; font-weight: 700; }
.fallback-footer-column > a,
.fallback-section-links a { display: block; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.4; }
.fallback-footer-column > a { margin-bottom: 27px; }
.fallback-section-links { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.fallback-newsletter h3 { margin: 4px 0 20px; padding-left: 15px; color: #fff; border-left: 3px solid #815ff0; font-size: 13px; line-height: 1; font-weight: 700; }
.fallback-newsletter > p { margin: 0 0 13px; color: #fff; font-size: 15px; line-height: 1.7; }
.fallback-newsletter-form { height: 50px; display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 0 15px; color: #838383; border: 1px solid #505050; border-radius: 2px; font-size: 13px; }
.fallback-newsletter-form b { display: grid; place-items: center; min-width: 53px; height: 30px; color: #fff; background: #6f4be8; border: 1px solid #fff; border-radius: 2px; font-size: 13px; letter-spacing: 1px; }
.fallback-gdpr { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: #fff; font-size: 14px; }
.fallback-checkbox { width: 16px; height: 16px; background: #fff; border: 1px solid #999; }
.fallback-footer-bottom { min-height: 44px; display: grid; place-items: center; padding: 10px 20px; color: #9f9f9f; background: #181818; border-top: 1px solid #252525; font-size: 12px; text-align: center; }

.trim-whitespace-tool {
  --purple-950: #2e155f;
  --purple-900: #3c1d7d;
  --purple-800: #4d28a6;
  --purple-700: #5d35cc;
  --purple-600: #6f4be8;
  --purple-500: #815ff0;
  --purple-400: #9b7cf4;
  --purple-300: #bca9f8;
  --purple-200: #d9cffb;
  --purple-100: #eee9ff;
  --purple-50: #f8f6ff;
  --ink: #18141e;
  --muted: #706978;
  --line: #e8e3ec;
  --shadow: 0 16px 46px rgba(55, 37, 78, .08);
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}

.trim-whitespace-tool a,
.trim-whitespace-tool button,
.trim-whitespace-tool input,
.trim-whitespace-tool summary { outline: none; }
.trim-whitespace-tool button:focus-visible,
.trim-whitespace-tool a:focus-visible,
.trim-whitespace-tool summary:focus-visible,
.trim-whitespace-tool input:focus-visible,
.upload-zone:focus-within {
  box-shadow: 0 0 0 4px rgba(129,95,240,.24);
}

.hero-section {
  padding: 58px 20px 20px;
  background: linear-gradient(180deg, #fff 0%, #fdfcff 70%, #fff 100%);
}
.hero-copy { width: min(900px, 100%); margin: 0 auto 28px; text-align: center; }
.hero-eyebrow { display: inline-block; margin-bottom: 10px; color: var(--purple-700); font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .11em; }
.hero-copy h1 { margin: 0; color: #18141e; font-size: clamp(42px, 5vw, 52px); line-height: 1.06; font-weight: 820; letter-spacing: -1.8px; }
.hero-copy p { width: min(760px, 100%); margin: 14px auto 0; color: #6e6875; font-size: 17px; line-height: 1.65; }

.tool-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #e9e5ed;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.upload-zone {
  min-height: 255px;
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: inherit;
  background: #fdfcff;
  border: 1.5px dashed #c9bfda;
  border-radius: 17px;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.upload-zone:hover,
.upload-zone.is-dragging { border-color: var(--purple-500); background: var(--purple-50); }
.upload-zone.is-dragging { transform: translateY(-1px); }
.upload-zone.is-processing { cursor: progress; opacity: .82; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-icon { width: 54px; height: 54px; margin-bottom: 4px; display: grid; place-items: center; color: var(--purple-700); background: var(--purple-100); border-radius: 16px; }
.upload-zone strong { color: #2b2630; font-size: 18px; line-height: 1.35; }
.upload-zone > span:not(.upload-icon):not(.choose-image-button) { color: #817a88; font-size: 14px; line-height: 1.5; }
.choose-image-button { min-height: 43px; margin-top: 8px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--purple-600); border-radius: 10px; font-size: 14px; font-weight: 800; box-shadow: 0 7px 16px rgba(111,75,232,.18); }

.inline-message { margin-top: 14px; padding: 11px 13px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.inline-message.error { color: #8f272d; background: #fff4f4; border: 1px solid #f0c9cb; }
.inline-message.neutral { display: flex; align-items: flex-start; gap: 8px; color: #5f5866; background: #faf9fc; border: 1px solid #e7e1ed; }

.editor-workspace {
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: 26px;
  background: #fbfaff;
  border: 1px solid #e7e0f1;
  border-radius: 22px;
  box-shadow: 0 13px 34px rgba(60, 29, 125, .07);
}
.editor-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.workspace-kicker { color: var(--purple-700); font-size: 11px; line-height: 1; font-weight: 850; letter-spacing: .1em; }
.editor-toolbar h2 { max-width: 760px; margin: 7px 0 0; color: var(--purple-950); font-size: 25px; line-height: 1.25; letter-spacing: -.4px; overflow-wrap: anywhere; }
.editor-toolbar p { margin: 5px 0 0; color: #89818f; font-size: 12.5px; }
.toolbar-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.secondary-button,
.ghost-button {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 760;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.secondary-button { color: var(--purple-800); background: #fff; border: 1px solid #cfc3eb; }
.secondary-button:hover { background: var(--purple-50); border-color: var(--purple-400); }
.ghost-button { color: #6d6674; background: transparent; border: 1px solid #ded8e3; }
.ghost-button:hover { color: #3d3743; background: #fff; }

.editor-grid { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 18px; align-items: start; }
.settings-panel { min-width: 0; padding: 18px; background: #fff; border: 1px solid #e7e1eb; border-radius: 15px; }
.settings-section + .settings-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid #eee9f1; }
.settings-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.settings-heading strong { display: block; color: #3d3743; font-size: 14px; font-weight: 800; }
.settings-heading span:not(.confidence-badge) { display: block; margin-top: 3px; color: #938b9a; font-size: 11.5px; line-height: 1.4; }
.confidence-badge { flex: none; padding: 5px 7px; color: var(--purple-800); background: var(--purple-50); border: 1px solid var(--purple-200); border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.confidence-badge.medium { color: #895c13; background: #fffaf0; border-color: #ead7b2; }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.mode-grid button { min-height: 42px; padding: 0 10px; color: #5b5462; background: #fff; border: 1px solid #ddd7e3; border-radius: 9px; font-size: 12.5px; font-weight: 720; transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease; }
.mode-grid button:last-child { grid-column: 1 / -1; }
.mode-grid button:hover { border-color: #baa9e9; background: #fcfbff; }
.mode-grid button.selected { color: var(--purple-800); background: var(--purple-50); border-color: var(--purple-500); box-shadow: inset 0 0 0 1px rgba(111,75,232,.08); }
.color-setting { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #5f5866; font-size: 12px; }
.color-control { display: inline-flex; align-items: center; gap: 7px; }
.color-control input { width: 34px; height: 34px; padding: 2px; background: #fff; border: 1px solid #ddd7e3; border-radius: 8px; }
.color-control code { color: var(--purple-900); font-size: 11.5px; font-weight: 800; }
.range-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.range-heading label { color: #3d3743; font-size: 14px; font-weight: 800; }
.range-heading strong { color: var(--purple-800); font-size: 13px; }
.range-input { width: 100%; accent-color: var(--purple-600); }
.setting-help { margin: 7px 0 0; color: #8a8290; font-size: 11.5px; line-height: 1.5; }
.side-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.side-grid button { min-height: 41px; padding: 0 10px; display: flex; align-items: center; gap: 8px; color: #6b6471; background: #fff; border: 1px solid #ddd7e3; border-radius: 9px; font-size: 12.5px; font-weight: 720; }
.side-grid button.active { color: var(--purple-800); background: var(--purple-50); border-color: #cfc1ef; }
.side-check { width: 17px; height: 17px; display: grid; place-items: center; flex: none; color: #fff; background: #e7e1ee; border-radius: 5px; font-size: 11px; }
.side-grid button.active .side-check { background: var(--purple-600); }
.crop-summary { margin-top: 17px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #faf9fc; border: 1px solid #eae5ee; border-radius: 10px; overflow: hidden; }
.crop-summary div { min-width: 0; padding: 11px 8px; text-align: center; border-right: 1px solid #eae5ee; }
.crop-summary div:last-child { border-right: 0; }
.crop-summary strong { display: block; color: var(--purple-900); font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.crop-summary span { display: block; margin-top: 4px; color: #948c9a; font-size: 9.5px; line-height: 1.25; }
.primary-action { width: 100%; min-height: 50px; margin-top: 17px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--purple-600); border: 1px solid var(--purple-600); border-radius: 10px; font-size: 14px; font-weight: 800; box-shadow: 0 8px 18px rgba(111,75,232,.18); transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }
.primary-action:hover:not(:disabled) { background: var(--purple-700); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(111,75,232,.22); }
.primary-action:disabled { opacity: .48; box-shadow: none; }
.privacy-note { margin: 9px 0 0; color: #908892; font-size: 10.5px; line-height: 1.5; text-align: center; }
.status-message { min-height: 18px; margin-top: 8px; color: #766e7d; font-size: 11px; line-height: 1.4; text-align: center; }

.preview-area { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.preview-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e6e0ea; border-radius: 14px; }
.output-preview-card { border-color: #d8cdf1; }
.preview-header { min-height: 62px; padding: 11px 13px 10px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eeeaf1; }
.preview-header > div { min-width: 0; }
.preview-header div > span { display: block; color: #443d4a; font-size: 13px; font-weight: 800; }
.preview-header small { display: block; margin-top: 3px; color: #938b9a; font-size: 10.5px; line-height: 1.35; }
.preview-header > span { flex: none; color: var(--purple-800); font-size: 11px; font-weight: 800; }
.image-stage { min-height: 470px; padding: 18px; display: grid; place-items: center; overflow: auto; }
.checkerboard { background-color: #f8f7fa; background-image: linear-gradient(45deg, #ece9ef 25%, transparent 25%), linear-gradient(-45deg, #ece9ef 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ece9ef 75%), linear-gradient(-45deg, transparent 75%, #ece9ef 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.source-image-wrap { position: relative; display: inline-block; max-width: 100%; max-height: 620px; line-height: 0; box-shadow: 0 8px 22px rgba(32, 24, 43, .08); }
.source-image-wrap img { display: block; max-width: 100%; max-height: 620px; width: auto; height: auto; object-fit: contain; }
.crop-box { position: absolute; display: block; border: 2px solid var(--purple-500); box-shadow: 0 0 0 9999px rgba(35, 26, 47, .34), inset 0 0 0 1px rgba(255,255,255,.7); pointer-events: none; }
.trimmed-stage canvas { display: block; max-width: 100%; max-height: 620px; width: auto; height: auto; box-shadow: 0 8px 22px rgba(32, 24, 43, .08); }
.empty-preview { width: min(320px, 100%); padding: 22px; color: #887f8f; background: rgba(255,255,255,.82); border: 1px solid #e5dfeb; border-radius: 12px; font-size: 13px; line-height: 1.55; text-align: center; }

.trust-row { width: min(900px, 100%); margin: 16px auto 0; padding: 0 10px 22px; display: flex; align-items: center; justify-content: center; gap: 25px; color: #716a78; font-size: 12.5px; line-height: 1.4; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--purple-600); }

.landing-content { padding: 42px 20px 78px; background: #fff; }
.seo-section { width: min(980px, 100%); margin: 0 auto; padding: 54px 0 0; }
.seo-section:first-child { padding-top: 20px; }
.section-heading { margin-bottom: 24px; text-align: left; }
.section-label { display: inline-flex; min-height: 27px; padding: 0 10px; align-items: center; color: var(--purple-700); background: var(--purple-100); border-radius: 999px; font-size: 10.5px; font-weight: 850; letter-spacing: .095em; }
.section-heading h2 { margin: 10px 0 0; color: var(--purple-950); font-size: 29px; line-height: 1.22; letter-spacing: -.55px; }
.section-underline { width: 42px; height: 3px; margin-top: 10px; display: block; background: var(--purple-500); border-radius: 999px; }
.section-intro { max-width: 720px; margin: 11px 0 0; color: #77707e; font-size: 15px; line-height: 1.65; }

.steps-grid,
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.steps-grid article,
.features-grid article { position: relative; overflow: hidden; min-height: 170px; padding: 22px; background: #fff; border: 1px solid #e4ddec; border-radius: 15px; box-shadow: 0 8px 22px rgba(63, 40, 93, .035); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.steps-grid article:hover,
.features-grid article:hover { transform: translateY(-3px); border-color: #d5c8ef; box-shadow: 0 13px 32px rgba(65,36,126,.09); }
.steps-grid article::before { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--purple-500); transition: height .18s ease; }
.steps-grid article:hover::before { height: 100%; }
.step-number { width: 35px; height: 35px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--purple-600), var(--purple-500)); border-radius: 50%; font-size: 13px; font-weight: 850; box-shadow: 0 6px 14px rgba(111,75,232,.18); }
.steps-grid h3,
.features-grid h3 { margin: 15px 0 7px; color: var(--purple-900); font-size: 16px; line-height: 1.3; }
.steps-grid p,
.features-grid p { margin: 0; color: #756e7b; font-size: 15px; line-height: 1.62; }
.features-grid article { min-height: 155px; background: linear-gradient(145deg, #fff 0%, #f8f6ff 100%); }
.features-grid article::before { content: ""; position: absolute; top: -28px; right: -30px; width: 82px; height: 82px; background: #eee9ff; border-radius: 50%; transition: transform .18s ease, background .18s ease; }
.features-grid article:hover::before { transform: scale(1.14); background: #e5ddfb; }
.features-grid h3,
.features-grid p { position: relative; z-index: 1; }
.features-grid h3 { margin-top: 0; }

.guidance-card { padding: 25px; background: #f8f6ff; border: 1px solid #ded4f4; border-radius: 17px; }
.guidance-card > p { margin: 0; color: #6e6675; font-size: 15px; line-height: 1.72; }
.guidance-card > p + p { margin-top: 13px; }
.guidance-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guidance-grid div { padding: 15px; background: #fff; border: 1px solid #e5ddf2; border-radius: 11px; }
.guidance-grid strong { display: block; color: var(--purple-900); font-size: 13px; line-height: 1.3; }
.guidance-grid span { display: block; margin-top: 5px; color: #817988; font-size: 12.5px; line-height: 1.55; }

.faq-list { overflow: hidden; background: #fff; border: 1px solid #e5deeb; border-radius: 14px; }
.faq-list details { position: relative; border-bottom: 1px solid #eee9f1; transition: background .18s ease, box-shadow .18s ease; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list details:hover { background: #faf8ff; }
.faq-list details[open] { background: #f8f5ff; box-shadow: inset 4px 0 0 var(--purple-500); }
.faq-list summary { min-height: 59px; padding: 17px 52px 17px 18px; display: flex; align-items: center; color: #443c4b; list-style: none; cursor: pointer; font-size: 14.5px; line-height: 1.45; font-weight: 780; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 16px; color: var(--purple-600); font-size: 22px; line-height: 1; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -3px 0 0; padding: 0 52px 19px 18px; color: #756d7c; font-size: 15px; line-height: 1.67; }

.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.related-card { position: relative; min-height: 78px; padding: 14px 14px 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden; color: inherit; background: #fff; border: 1px solid #e5ddfb; border-radius: 12px; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.related-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--purple-500); transition: width .18s ease; }
.related-card:hover { transform: translateY(-2px); border-color: #cfc0f2; box-shadow: 0 10px 24px rgba(65,36,126,.075); background: #fdfcff; }
.related-card:hover::before { width: 5px; }
.related-card > span:first-child { min-width: 0; }
.related-card strong { display: block; color: var(--purple-900); font-size: 14px; line-height: 1.35; }
.related-card small { display: block; margin-top: 4px; color: #91889a; font-size: 11.5px; }
.related-arrow { width: 34px; height: 34px; display: grid; place-items: center; flex: none; color: var(--purple-700); background: var(--purple-100); border-radius: 50%; transition: transform .18s ease, background .18s ease; }
.related-card:hover .related-arrow { transform: translateX(2px); background: #e5ddfb; }

@media (max-width: 1120px) {
  .editor-grid { grid-template-columns: 330px minmax(0, 1fr); }
  .preview-area { grid-template-columns: 1fr; }
  .image-stage { min-height: 390px; }
}

@media (max-width: 900px) {
  .local-desktop-nav { display: none; }
  .local-mobile-menu { display: block; }
  .editor-grid { grid-template-columns: 1fr; }
  .settings-panel { order: 2; }
  .preview-area { order: 1; }
  .editor-toolbar { align-items: center; }
  .fallback-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
  .steps-grid,
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guidance-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero-section { padding: 31px 14px 16px; }
  .hero-copy { margin-bottom: 22px; }
  .hero-eyebrow { margin-bottom: 9px; }
  .hero-copy h1 { max-width: 340px; margin-inline: auto; font-size: clamp(32px, 9.5vw, 44px); line-height: 1.07; letter-spacing: -1.25px; }
  .hero-copy p { margin-top: 12px; font-size: 15px; line-height: 1.6; }
  .tool-shell { padding: 18px; border-radius: 17px; }
  .upload-zone { min-height: 220px; padding: 28px 17px; border-radius: 14px; }
  .editor-workspace { padding: 15px; border-radius: 16px; }
  .editor-toolbar { display: block; }
  .editor-toolbar h2 { font-size: 20px; }
  .toolbar-actions { margin-top: 13px; }
  .secondary-button,
  .ghost-button { min-height: 44px; flex: 1; }
  .settings-panel { padding: 15px; }
  .mode-grid { grid-template-columns: 1fr 1fr; }
  .image-stage { min-height: 300px; padding: 12px; }
  .preview-header { display: block; }
  .preview-header > span { display: block; margin-top: 6px; }
  .trust-row { margin-top: 14px; padding-bottom: 10px; flex-direction: column; gap: 8px; }
  .landing-content { padding: 26px 14px 56px; }
  .seo-section { padding-top: 46px; }
  .seo-section:first-child { padding-top: 20px; }
  .section-heading h2 { font-size: 26px; }
  .steps-grid,
  .features-grid,
  .related-grid { grid-template-columns: 1fr; }
  .steps-grid article,
  .features-grid article { min-height: 0; padding: 19px; transform:none !important; }
  .related-card { transform:none !important; }
  .guidance-card { padding: 19px; }
  .faq-list summary { padding-left: 15px; }
  .faq-list details p { padding-left: 15px; padding-right: 40px; }
  .fallback-footer-grid { max-width: calc(100% - 28px); padding: 34px 0; grid-template-columns: 1fr; }
  .fallback-footer-brand .local-logo-mark-large { width: 220px; height: 140px; }
  .fallback-footer-brand .local-logo-mark-large .local-logo-letter { right: 33px; font-size: 102px; }
  .fallback-footer-brand .local-logo-mark-large .local-logo-bubble { top: 56px; left: 35px; width: 31px; height: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .trim-whitespace-tool *,
  .trim-whitespace-tool *::before,
  .trim-whitespace-tool *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
