:root {
  --accent: #625bf6;
  --accent-dark: #4e46dd;
  --accent-soft: #efefff;
  --ink: #17182f;
  --muted: #666b80;
  --line: #e7e8f0;
  --surface: #ffffff;
  --surface-soft: #f7f8fc;
  --success: #15845a;
  --danger: #c7374f;
  --shadow-sm: 0 10px 30px rgba(24, 26, 48, 0.07);
  --shadow-lg: 0 30px 80px rgba(28, 31, 65, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; top: 12px; left: 12px; z-index: 100000;
  width: auto; height: auto; padding: 12px 16px; margin: 0; clip: auto;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow-sm);
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(231, 232, 240, .85);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--accent), #8c70ff); box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 25%, transparent); }
.brand__mark svg { width: 22px; fill: currentColor; }
.custom-logo { max-height: 52px; width: auto; }
.primary-navigation .menu { display: flex; align-items: center; gap: 30px; padding: 0; margin: 0; list-style: none; }
.primary-navigation a { color: #42465c; font-size: .94rem; font-weight: 650; }
.primary-navigation a:hover { color: var(--accent); text-decoration: none; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 10px; background: var(--surface-soft); }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 10px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 160px; background: linear-gradient(180deg, #fbfbff 0%, #f7f7ff 100%); }
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero__copy { max-width: 850px; margin: 0 auto; }
.hero h1 { max-width: 820px; margin: 17px auto 22px; font-size: clamp(2.65rem, 6vw, 5.35rem); line-height: .99; letter-spacing: -.065em; }
.hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.24rem); }
.eyebrow, .reducer__kicker { display: inline-block; color: var(--accent); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero__trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; color: #565b71; font-size: .9rem; font-weight: 650; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; }
.hero__glow--one { width: 440px; height: 440px; left: -210px; top: 40px; background: radial-gradient(circle, rgba(98, 91, 246, .17), transparent 68%); }
.hero__glow--two { width: 520px; height: 520px; right: -260px; bottom: -200px; background: radial-gradient(circle, rgba(133, 101, 255, .14), transparent 68%); }

.tool-shell { position: relative; z-index: 5; margin-top: -95px; }
.reducer { overflow: hidden; border: 1px solid rgba(224, 225, 237, .95); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.reducer__topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.reducer__topbar h2 { margin: 3px 0 0; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.025em; }
.privacy-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--success); background: #eefaf5; border-radius: 999px; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.privacy-pill span { font-size: .6rem; }
.reducer__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; min-height: 560px; }
.reducer__main { padding: 32px; }
.settings-card { padding: 28px; border-left: 1px solid var(--line); background: #fbfbfd; }
.settings-card__heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 25px; }
.settings-card__heading h3 { margin: 0; font-size: 1.02rem; }

.drop-zone { min-height: 255px; display: grid; place-items: center; align-content: center; gap: 6px; padding: 30px; text-align: center; border: 2px dashed #d7d8e6; border-radius: 22px; background: linear-gradient(145deg, #fcfcff, #f8f8fd); transition: .2s ease; outline: none; }
.drop-zone:hover, .drop-zone:focus-visible, .drop-zone.is-dragging { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.drop-zone__icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 9px; color: var(--accent); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.drop-zone__icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone strong { font-size: 1.18rem; }
.drop-zone span { color: var(--accent); font-size: .93rem; font-weight: 680; }
.drop-zone small { margin-top: 5px; color: #85899b; }

.status-message { margin-top: 16px; padding: 11px 14px; border-radius: 10px; background: #f1f3f8; color: #555a70; font-size: .88rem; }
.status-message[data-type="success"] { color: var(--success); background: #eefaf5; }
.status-message[data-type="error"] { color: var(--danger); background: #fff0f3; }
.queue-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 14px; color: var(--muted); font-size: .9rem; }
.text-button { padding: 4px; border: 0; color: var(--danger); background: transparent; font-size: .86rem; font-weight: 700; }
.image-queue { display: grid; gap: 14px; }
.image-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; animation: card-in .32s ease both; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
.image-card__preview { position: relative; min-height: 132px; background: #eff0f5; }
.image-card__preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.image-card__badge { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; color: #4f5468; background: rgba(255,255,255,.9); border-radius: 6px; font-size: .66rem; font-weight: 800; backdrop-filter: blur(8px); }
.image-card__badge[data-state="processing"] { color: var(--accent); }
.image-card__badge[data-state="done"] { color: var(--success); }
.image-card__badge[data-state="error"] { color: var(--danger); }
.image-card__body { min-width: 0; padding: 15px 16px; }
.image-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.image-card h3 { overflow: hidden; margin: 0; font-size: .91rem; text-overflow: ellipsis; white-space: nowrap; }
.image-card p { margin: 3px 0 0; color: var(--muted); font-size: .74rem; }
.icon-button { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: #6f7385; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-weight: 700; }
.icon-button:hover { color: var(--ink); border-color: #cfd1de; }
.progress { height: 5px; overflow: hidden; margin-top: 14px; border-radius: 999px; background: #eeeef5; }
.progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #8e75ff); transition: width .22s ease; }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 12px; }
.result-stats div { padding: 7px 9px; border-radius: 8px; background: var(--surface-soft); }
.result-stats span { display: block; color: #8a8e9e; font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; }
.result-stats strong { display: block; margin-top: 1px; font-size: .77rem; }
.result-stats div:last-child strong { color: var(--success); }
.image-card__actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 11px; color: var(--muted); font-size: .72rem; }
.image-card__error { color: var(--danger) !important; }

.field { display: block; margin-bottom: 22px; }
.field__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: #404458; font-size: .84rem; font-weight: 720; }
.field output { color: var(--accent); }
.field select, .field input[type="number"] { width: 100%; min-height: 42px; padding: 8px 11px; color: var(--ink); border: 1px solid #dfe0e9; border-radius: 10px; background: #fff; outline: none; }
.field select:focus, .field input[type="number"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.range-labels { display: flex; justify-content: space-between; color: #989baa; font-size: .67rem; }
.dimension-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; }
.dimension-grid > span { padding-bottom: 9px; color: #9a9dac; }
.dimension-grid label span { display: block; margin-bottom: 5px; color: #8a8e9d; font-size: .68rem; }
.check-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #666b7d; font-size: .76rem; }
.check-row input { accent-color: var(--accent); }
.check-row--strong { margin-top: 0; color: #404458; font-size: .84rem; font-weight: 720; }
.target-field { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.target-field small { display: block; margin-top: 9px; color: #9194a3; font-size: .67rem; line-height: 1.45; }
.target-input { position: relative; margin-top: 10px; }
.target-input input { padding-right: 44px !important; }
.target-input span { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: #888c9d; font-size: .75rem; }
.metadata-row { margin: -6px 0 20px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 11px; font-weight: 760; transition: .18s ease; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button--primary { color: #fff; background: linear-gradient(135deg, var(--accent), #7f67f7); box-shadow: 0 10px 20px color-mix(in srgb, var(--accent) 22%, transparent); }
.button--primary:hover { color: #fff; filter: brightness(.98); }
.button--secondary { color: #505468; border-color: var(--line); background: #fff; }
.button--full { width: 100%; }
.button--secondary + .button--secondary, .button--primary + .button--secondary { margin-top: 10px; }
.button--small { min-height: 31px; padding: 5px 10px; color: var(--accent); border-color: #dddafc; background: #f6f5ff; border-radius: 8px; font-size: .72rem; }
.button-spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.feature-section { padding: 110px 0 100px; }
.section-heading { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.feature-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); font-size: 1.3rem; }
.feature-card h3 { margin: 20px 0 7px; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.front-page-content { padding-bottom: 90px; }

.content-area { padding-block: 75px 100px; }
.content-area--narrow { max-width: 900px; }
.archive-header { margin-bottom: 32px; }
.archive-header h1, .entry-header h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.07; letter-spacing: -.05em; }
.archive-description { color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.post-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__image img { transform: scale(1.025); }
.post-card__body { padding: 25px; }
.post-card__meta, .entry-meta { color: #8d91a0; font-size: .77rem; text-transform: uppercase; letter-spacing: .08em; }
.post-card h2 { margin: 6px 0 8px; line-height: 1.2; }
.post-card h2 a { color: var(--ink); }
.post-card p { color: var(--muted); }
.text-link { font-weight: 750; }
.single-entry .entry-header { margin-bottom: 30px; }
.entry-hero { overflow: hidden; margin: 30px 0; border-radius: var(--radius-md); }
.entry-content { color: #35384b; font-size: 1.04rem; }
.entry-content > * + * { margin-top: 1.35em; }
.entry-content h2, .entry-content h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.025em; }
.entry-content pre { overflow-x: auto; padding: 18px; border-radius: 12px; background: #17182f; color: #fff; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--line); text-align: left; }
.tool-page { padding-block: 60px 90px; }
.tool-page__header { margin-bottom: 28px; }
.tool-page__content { max-width: 860px; margin: 45px auto 0; }
.empty-state { padding: 60px 24px; text-align: center; border: 1px dashed #d9dae5; border-radius: var(--radius-md); background: var(--surface-soft); }
.empty-state--large { padding-block: 110px; }
.empty-state__code { color: var(--accent); font-size: 5rem; font-weight: 900; line-height: 1; }
.empty-state h1, .empty-state h2 { margin: 10px 0; }
.empty-state p { color: var(--muted); }
.comments-area { margin-top: 60px; padding-top: 35px; border-top: 1px solid var(--line); }
.comment-list { padding-left: 22px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.navigation.pagination { margin-top: 35px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }
.page-numbers.current { color: #fff; border-color: var(--accent); background: var(--accent); }

.site-footer { border-top: 1px solid var(--line); background: #fafafd; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 45px 10px; }
.footer-widget__title { font-size: 1rem; }
.site-footer__inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #777b8e; font-size: .82rem; }
.site-footer__inner p { margin: 0; }
.site-footer .menu { display: flex; gap: 18px; padding: 0; margin: 0; list-style: none; }
.site-footer a { color: #5b5f73; }

@media (max-width: 900px) {
  .hero { padding-top: 75px; }
  .reducer__layout { grid-template-columns: 1fr; }
  .settings-card { border-top: 1px solid var(--line); border-left: 0; }
  .feature-grid, .footer-widgets { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .site-header__inner { min-height: 66px; }
  .menu-toggle { display: block; }
  .primary-navigation { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 2px; }
  .primary-navigation a { display: block; padding: 10px 12px; border-radius: 8px; }
  .primary-navigation a:hover { background: var(--surface-soft); }
  .hero { padding: 62px 0 125px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  .hero__trust { gap: 8px 14px; font-size: .78rem; }
  .tool-shell { margin-top: -75px; }
  .reducer { border-radius: 22px; }
  .reducer__topbar { align-items: flex-start; flex-direction: column; padding: 23px 20px; }
  .reducer__main, .settings-card { padding: 20px; }
  .drop-zone { min-height: 220px; padding: 22px 14px; }
  .image-card { grid-template-columns: 86px minmax(0, 1fr); }
  .image-card__preview { min-height: 145px; }
  .result-stats { gap: 5px; }
  .result-stats div { padding: 6px; }
  .image-card__actions { align-items: flex-start; flex-direction: column; }
  .button--small { width: 100%; }
  .feature-section { padding: 80px 0; }
  .feature-card { padding: 24px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; }
}

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

/* Responsive HTML ads system. */
.pfsr-page-ad {
  width: min(calc(100% - 32px), 1580px);
  margin-inline: auto;
}
.pfsr-page-ad--top { margin-top: 20px; margin-bottom: 20px; }
.pfsr-page-ad--bottom { margin-top: 30px; margin-bottom: 10px; }
.pfsr-ad-slot { width: 100%; min-width: 0; }
.pfsr-ad-slot__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--pfsr-ad-max-width, 100%);
  min-height: var(--pfsr-ad-min-height, 0);
  margin-inline: auto;
  overflow: hidden;
  text-align: center;
}
.pfsr-ad-slot__inner > * { max-width: 100%; }
.pfsr-ad-slot img { max-width: 100%; height: auto; object-fit: contain; }
.pfsr-ad-slot iframe { display: block; max-width: 100%; border: 0; }
.pfsr-ad-slot ins { max-width: 100%; }
.pfsr-ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  padding: 20px;
  color: #61657a;
  border: 2px dashed #d7d9e5;
  border-radius: 14px;
  background: #fafafe;
  font-weight: 700;
}
.pfsr-ad-placeholder:hover { color: var(--accent); text-decoration: none; border-color: var(--accent); }
.pfsr-tool-stage {
  --pfsr-left-ad-width: 180px;
  --pfsr-right-ad-width: 180px;
  display: grid;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  width: min(calc(100% - 24px), 1580px);
  margin-inline: auto;
  position: relative;
  z-index: 5;
}
.pfsr-tool-stage--overlap { margin-top: -95px; }
.pfsr-tool-stage--standard { margin-top: 28px; }
.pfsr-tool-stage:not(.pfsr-tool-stage--has-left):not(.pfsr-tool-stage--has-right) { grid-template-columns: minmax(0, var(--shell)); }
.pfsr-tool-stage--has-left:not(.pfsr-tool-stage--has-right) { grid-template-columns: minmax(120px, var(--pfsr-left-ad-width)) minmax(0, var(--shell)); }
.pfsr-tool-stage--has-right:not(.pfsr-tool-stage--has-left) { grid-template-columns: minmax(0, var(--shell)) minmax(120px, var(--pfsr-right-ad-width)); }
.pfsr-tool-stage--has-left.pfsr-tool-stage--has-right { grid-template-columns: minmax(120px, var(--pfsr-left-ad-width)) minmax(0, var(--shell)) minmax(120px, var(--pfsr-right-ad-width)); }
.pfsr-tool-stage__content { min-width: 0; }
.pfsr-tool-stage__side { min-width: 0; }
.pfsr-tool-stage__side .pfsr-ad-slot__inner { height: 100%; }
.pfsr-tool-stage__side .pfsr-ad-slot { height: 100%; }
.pfsr-tool-stage__side .pfsr-ad-slot__inner > * { margin-inline: auto; }

@media (max-width: 1280px) {
  .pfsr-tool-stage,
  .pfsr-tool-stage--has-left:not(.pfsr-tool-stage--has-right),
  .pfsr-tool-stage--has-right:not(.pfsr-tool-stage--has-left),
  .pfsr-tool-stage--has-left.pfsr-tool-stage--has-right {
    grid-template-columns: minmax(0, var(--shell));
    width: min(calc(100% - 40px), var(--shell));
  }
  .pfsr-tool-stage__side { width: 100%; }
  .pfsr-tool-stage__side .pfsr-ad-slot__inner { height: auto; }
  .pfsr-tool-stage__side--left { grid-row: 1; }
  .pfsr-tool-stage__content { grid-row: 2; }
  .pfsr-tool-stage__side--right { grid-row: 3; }
}

@media (max-width: 900px) {
  .pfsr-ad-slot--hide-mobile { display: none !important; }
  .pfsr-page-ad { width: min(calc(100% - 24px), var(--shell)); }
  .pfsr-tool-stage { width: min(calc(100% - 24px), var(--shell)); }
}

@media (max-width: 720px) {
  .pfsr-tool-stage--overlap { margin-top: -75px; }
  .pfsr-page-ad--top { margin-top: 12px; margin-bottom: 12px; }
  .pfsr-page-ad--bottom { margin-top: 20px; }
  .pfsr-ad-slot__inner { min-height: min(var(--pfsr-ad-min-height, 0px), 180px); }
}

/* Keep the top ad visually attached to the compressor frame. */
.front-page .pfsr-page-ad--tool-top {
  position: relative;
  z-index: 6;
  margin-top: -95px;
  margin-bottom: 16px;
}
.pfsr-page-ad--top + .pfsr-tool-stage--standard { margin-top: 16px; }

@media (max-width: 720px) {
  .front-page .pfsr-page-ad--tool-top { margin-top: -75px; }
}

/* Premium homepage and footer redesign — v1.2.0. */
:root {
  --ink-strong: #101127;
  --violet-900: #312e81;
  --violet-700: #5b52e8;
  --violet-100: #eeedff;
  --footer-ink: #aeb3ca;
}

[id] { scroll-margin-top: 96px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  border-bottom-color: rgba(220,222,237,.75);
  box-shadow: 0 8px 30px rgba(31,33,69,.04);
}
.site-header__inner { min-height: 78px; }
.primary-navigation { margin-left: auto; }
.primary-navigation .menu { gap: 26px; }
.primary-navigation a { position: relative; }
.primary-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: right .2s ease;
}
.primary-navigation a:hover::after { right: 0; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 16px;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #7a65ff);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 24%, transparent);
  font-size: .88rem;
  font-weight: 780;
}
.header-cta:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
.header-cta svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero--premium {
  min-height: 760px;
  padding: 104px 0 205px;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 18%, rgba(115,102,255,.14), transparent 31%),
    radial-gradient(circle at 88% 12%, rgba(98,211,255,.13), transparent 29%),
    linear-gradient(180deg, #fbfbff 0%, #f5f5ff 70%, #f7f8ff 100%);
}
.hero--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image: linear-gradient(rgba(87,82,176,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(87,82,176,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero__mesh {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -160px;
  top: -170px;
  border-radius: 50%;
  border: 1px solid rgba(98,91,246,.08);
  box-shadow: inset 0 0 100px rgba(98,91,246,.05);
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero__orb--one { width: 230px; height: 230px; left: -90px; bottom: 70px; background: radial-gradient(circle at 35% 35%, rgba(117,103,255,.24), rgba(117,103,255,0)); }
.hero__orb--two { width: 150px; height: 150px; right: 16%; bottom: 120px; background: radial-gradient(circle at 35% 35%, rgba(80,205,255,.17), rgba(80,205,255,0)); }
.hero__inner--split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 7vw, 96px);
  text-align: left;
}
.hero__inner--split .hero__copy { max-width: 680px; margin: 0; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  color: #4f48c8;
  border: 1px solid rgba(98,91,246,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 8px 28px rgba(71,67,158,.07);
  backdrop-filter: blur(12px);
  font-size: .77rem;
  font-weight: 780;
}
.hero__badge svg { width: 16px; fill: currentColor; }
.hero--premium h1 {
  max-width: 710px;
  margin: 23px 0 22px;
  color: var(--ink-strong);
  font-size: clamp(3.25rem, 5.8vw, 6.2rem);
  line-height: .94;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.hero--premium p { max-width: 620px; margin: 0; color: #62677e; font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button--hero { min-height: 54px; padding: 13px 21px; border-radius: 14px; font-size: .95rem; }
.button--hero svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.button--ghost { color: #34384f; border-color: rgba(205,207,222,.9); background: rgba(255,255,255,.75); box-shadow: 0 8px 24px rgba(27,30,61,.05); backdrop-filter: blur(10px); }
.button--ghost:hover { color: var(--accent); border-color: rgba(98,91,246,.35); background: #fff; }
.hero__inner--split .hero__trust { justify-content: flex-start; margin-top: 26px; gap: 11px 22px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 17px; fill: none; stroke: #1b9a6c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-demo { position: relative; min-height: 485px; perspective: 1200px; }
.hero-demo__window {
  position: absolute;
  inset: 28px 0 18px 24px;
  overflow: hidden;
  border: 1px solid rgba(218,219,235,.95);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 35px 100px rgba(34,37,87,.17), 0 10px 30px rgba(65,61,153,.09);
  transform: rotateY(-4deg) rotateX(2deg);
  backdrop-filter: blur(16px);
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float { 50% { transform: rotateY(-2deg) rotateX(1deg) translateY(-8px); } }
.hero-demo__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; height: 58px; padding: 0 18px; border-bottom: 1px solid #ececf4; color: #7a7e91; font-size: .72rem; font-weight: 700; }
.hero-demo__dots { display: flex; gap: 6px; }
.hero-demo__dots i { width: 7px; height: 7px; border-radius: 50%; background: #d6d7e2; }
.hero-demo__dots i:first-child { background: #ff887d; }
.hero-demo__dots i:nth-child(2) { background: #ffc964; }
.hero-demo__dots i:nth-child(3) { background: #68d7a8; }
.hero-demo__secure { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: #16845b; }
.hero-demo__secure i { width: 7px; height: 7px; border-radius: 50%; background: #23b47e; box-shadow: 0 0 0 4px rgba(35,180,126,.1); }
.hero-demo__body { padding: 18px; }
.hero-demo__image { position: relative; overflow: hidden; aspect-ratio: 1.52 / 1; border-radius: 20px; background: #ecebff; }
.hero-demo__image svg { width: 100%; height: 100%; }
.hero-demo__format { position: absolute; left: 12px; top: 12px; padding: 5px 8px; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(25,27,64,.5); backdrop-filter: blur(8px); font-size: .66rem; font-weight: 800; }
.hero-demo__result { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 14px; margin-top: 16px; padding: 15px 16px; border-radius: 16px; background: #f7f7fc; }
.hero-demo__result div > span { display: block; color: #9094a6; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-demo__result strong { display: block; margin-top: 2px; font-size: .96rem; }
.hero-demo__arrow { display: grid; place-items: center; width: 34px; height: 34px; color: var(--accent); border-radius: 50%; background: #fff; box-shadow: 0 5px 15px rgba(25,28,61,.07); }
.hero-demo__arrow svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-demo__saving { align-self: stretch; display: grid; place-items: center; min-width: 59px; color: #0b8055; border-radius: 10px; background: #e9f9f2; font-weight: 850; }
.hero-demo__saving span { font-size: .85rem !important; }
.hero-float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid rgba(221,222,235,.9); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 18px 45px rgba(38,40,82,.14); backdrop-filter: blur(13px); font-size: .74rem; font-weight: 760; }
.hero-float--quality { left: -10px; top: 22px; color: #41465c; animation: mini-float 5s ease-in-out infinite; }
.hero-float--quality span { color: #28a976; }
.hero-float--batch { right: -24px; bottom: 6px; flex-direction: column; align-items: flex-start; gap: 0; min-width: 118px; animation: mini-float 5.8s .6s ease-in-out infinite; }
.hero-float--batch strong { color: var(--accent); font-size: 1.3rem; line-height: 1; }
.hero-float--batch span { color: #777b90; font-size: .68rem; font-weight: 650; }
@keyframes mini-float { 50% { transform: translateY(-8px); } }

/* Keep the compressor attached to the redesigned hero. */
.pfsr-tool-stage--overlap { margin-top: -118px; }
.front-page .pfsr-page-ad--tool-top { margin-top: -118px; }
#compressor { scroll-margin-top: 108px; }
.front-page .reducer { border-color: rgba(217,218,234,.95); box-shadow: 0 32px 95px rgba(28,31,72,.16); }
.front-page .reducer__topbar { background: linear-gradient(180deg, #fff, #fdfdff); }
.front-page .drop-zone { background: radial-gradient(circle at 50% 0%, rgba(98,91,246,.055), transparent 55%), linear-gradient(145deg, #fdfdff, #f8f8fe); }

.home-proof { padding: 42px 0 28px; }
.home-proof__grid { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(30,32,67,.055); }
.home-proof__grid > div { position: relative; min-width: 0; padding: 21px 18px; text-align: center; }
.home-proof__grid > div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.home-proof strong { display: block; color: #393d55; font-size: 1.08rem; }
.home-proof span { display: block; margin-top: 2px; color: #8a8ea1; font-size: .72rem; }

.feature-section--premium { padding: 108px 0 122px; background: linear-gradient(180deg, #fff 0%, #fbfbff 100%); }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: 48px; max-width: none; margin-bottom: 48px; text-align: left; }
.section-heading--split h2 { max-width: 760px; }
.section-heading--split > p { margin: 0 0 5px; color: var(--muted); }
.feature-grid--six { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid--six .feature-card { position: relative; overflow: hidden; min-height: 245px; padding: 28px; box-shadow: 0 10px 34px rgba(30,32,67,.055); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature-grid--six .feature-card:hover { transform: translateY(-5px); border-color: rgba(98,91,246,.22); box-shadow: 0 24px 55px rgba(35,37,79,.1); }
.feature-grid--six .feature-card h3 { margin-top: 20px; font-size: 1.12rem; }
.feature-card__icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card__icon--violet { color: #5c53e9; background: #efeeff; }
.feature-card__icon--green { color: #16845a; background: #e9f9f2; }
.feature-card__icon--blue { color: #2473c8; background: #eaf4ff; }
.feature-card__icon--amber { color: #b5700f; background: #fff5dc; }
.feature-card__icon--rose { color: #c04d6d; background: #ffedf2; }
.feature-card__visual--speed { display: flex; align-items: end; gap: 6px; height: 58px; margin-top: 23px; padding: 11px 14px; border-radius: 13px; background: #f7f7fc; }
.feature-card__visual--speed i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #8f83ff, #625bf6); }
.feature-card__visual--speed i:first-child { height: 35%; opacity: .45; }
.feature-card__visual--speed i:nth-child(2) { height: 60%; opacity: .72; }
.feature-card__visual--speed i:nth-child(3) { height: 88%; }
.feature-card__visual--speed span { margin-left: 8px; color: #4d46cf; font-size: .8rem; font-weight: 850; }
.feature-card--accent { color: #fff; border-color: transparent !important; background: linear-gradient(145deg, #5b53e7, #7865ff); }
.feature-card--accent::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -80px; border-radius: 50%; background: rgba(255,255,255,.1); }
.feature-card--accent .feature-card__icon--white { color: #fff; background: rgba(255,255,255,.14); }
.feature-card--accent h3, .feature-card--accent p { color: #fff; }
.feature-card--accent p { opacity: .78; }
.format-pills { display: flex; gap: 7px; margin-top: 24px; }
.format-pills span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.1); font-size: .68rem; font-weight: 800; }

.workflow-section { padding: 120px 0; background: #f7f8fc; }
.workflow-section__inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); align-items: center; gap: clamp(50px, 8vw, 105px); }
.workflow-copy h2 { max-width: 650px; margin: 12px 0 18px; font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.03; letter-spacing: -.052em; }
.workflow-copy > p { max-width: 570px; margin: 0; color: var(--muted); }
.workflow-list { display: grid; gap: 20px; padding: 0; margin: 35px 0 28px; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 47px minmax(0, 1fr); gap: 16px; }
.workflow-list li > span { display: grid; place-items: center; width: 47px; height: 47px; color: var(--accent); border: 1px solid rgba(98,91,246,.18); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(30,32,67,.05); font-size: .72rem; font-weight: 850; }
.workflow-list strong { display: block; margin-top: 1px; font-size: .98rem; }
.workflow-list p { margin: 3px 0 0; color: var(--muted); font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; }
.text-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.workflow-visual { position: relative; min-height: 490px; padding: 70px 44px; border: 1px solid #e6e7ef; border-radius: 32px; background: radial-gradient(circle at 50% 0%, rgba(98,91,246,.15), transparent 46%), #fff; box-shadow: 0 30px 80px rgba(28,30,66,.1); }
.workflow-visual::before { content: ""; position: absolute; inset: 18px; border: 1px dashed rgba(98,91,246,.14); border-radius: 24px; pointer-events: none; }
.workflow-card { position: relative; z-index: 2; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px; border: 1px solid #e6e7ef; border-radius: 17px; background: #fff; box-shadow: 0 13px 35px rgba(31,33,71,.085); }
.workflow-card strong, .workflow-card span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workflow-card strong { font-size: .86rem; }
.workflow-card span { margin-top: 3px; color: #8b8fa2; font-size: .68rem; }
.workflow-card--source { transform: translateX(-16px); }
.workflow-card--result { grid-template-columns: 64px minmax(0, 1fr) auto; transform: translateX(16px); }
.workflow-card--result b { padding: 5px 8px; color: #148259; border-radius: 8px; background: #eaf9f2; font-size: .67rem; }
.workflow-thumb { width: 64px; height: 54px; border-radius: 11px; background: linear-gradient(145deg, #9d93ff, #3d438e); }
.workflow-thumb--one { position: relative; overflow: hidden; }
.workflow-thumb--one::after, .workflow-thumb--two::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -12px; height: 38px; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.24); transform: rotate(-8deg); }
.workflow-thumb--two { position: relative; overflow: hidden; background: linear-gradient(145deg, #8277ee, #343b83); }
.workflow-progress { position: relative; z-index: 2; height: 10px; margin: 55px 30px; border-radius: 999px; background: #eeeff5; }
.workflow-progress span { display: block; width: 83%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8276ff, #5d55e8); box-shadow: 0 6px 15px rgba(98,91,246,.25); }
.workflow-progress i { position: absolute; left: 83%; top: 50%; display: grid; place-items: center; width: 48px; height: 30px; color: #fff; border-radius: 9px; background: #5f57e9; transform: translate(-50%, -50%); box-shadow: 0 9px 20px rgba(98,91,246,.25); font-size: .7rem; font-style: normal; font-weight: 800; }
.workflow-saved { position: absolute; z-index: 3; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid #e5e6ee; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 14px 35px rgba(31,33,71,.11); }
.workflow-saved svg { width: 25px; fill: none; stroke: #17885e; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.workflow-saved span, .workflow-saved strong { display: block; }
.workflow-saved span { color: #8b8fa1; font-size: .65rem; }
.workflow-saved strong { font-size: .9rem; }

.privacy-section { padding: 110px 0; }
.privacy-card { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; overflow: hidden; padding: clamp(42px, 6vw, 78px); color: #fff; border-radius: 34px; background: radial-gradient(circle at 88% 20%, rgba(121,104,255,.43), transparent 33%), linear-gradient(145deg, #181a3a, #242653 66%, #292c62); box-shadow: 0 35px 90px rgba(22,24,59,.2); }
.privacy-card::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 42px 42px; }
.privacy-card__copy, .privacy-card__visual { position: relative; z-index: 2; }
.privacy-card__badge { display: inline-flex; align-items: center; gap: 8px; color: #c8c5ff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.privacy-card__badge i { width: 8px; height: 8px; border-radius: 50%; background: #4be1a3; box-shadow: 0 0 0 5px rgba(75,225,163,.1); }
.privacy-card h2 { max-width: 700px; margin: 14px 0 19px; font-size: clamp(2.25rem, 4.4vw, 4.15rem); line-height: 1.03; letter-spacing: -.052em; }
.privacy-card__copy > p { max-width: 650px; margin: 0; color: #bdc1d7; }
.privacy-card__checks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; }
.privacy-card__checks span { display: inline-flex; align-items: center; gap: 7px; color: #e3e5f1; font-size: .8rem; font-weight: 650; }
.privacy-card__checks svg { width: 17px; fill: none; stroke: #4be1a3; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-card__visual { min-height: 310px; display: grid; place-items: center; }
.privacy-lock { position: relative; z-index: 3; display: grid; place-items: center; width: 128px; height: 128px; color: #fff; border: 1px solid rgba(255,255,255,.17); border-radius: 38px; background: linear-gradient(145deg, rgba(116,102,255,.95), rgba(87,75,224,.78)); box-shadow: 0 25px 55px rgba(5,7,30,.35), inset 0 1px rgba(255,255,255,.22); transform: rotate(-4deg); }
.privacy-lock svg { width: 54px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy-orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.privacy-orbit--one { width: 230px; height: 230px; }
.privacy-orbit--two { width: 310px; height: 310px; border-style: dashed; }
.privacy-device { position: absolute; z-index: 4; display: grid; place-items: center; width: 57px; height: 57px; color: #d8d7ff; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); font-size: .68rem; font-weight: 850; }
.privacy-device--left { left: 4%; top: 28%; }
.privacy-device--right { right: 3%; bottom: 22%; }

.faq-section { padding: 118px 0; background: #fafafe; }
.faq-section__inner { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); gap: clamp(50px, 8vw, 110px); align-items: start; }
.faq-heading { position: sticky; top: 120px; }
.faq-heading h2 { margin: 12px 0 17px; font-size: clamp(2.15rem, 4vw, 3.75rem); line-height: 1.04; letter-spacing: -.05em; }
.faq-heading p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; border: 1px solid #e4e5ed; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px rgba(30,32,67,.04); }
.faq-list summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 21px 22px; cursor: pointer; list-style: none; color: #32364c; font-size: .94rem; font-weight: 760; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: 0 0 auto; position: relative; width: 27px; height: 27px; border-radius: 9px; background: #f1f1fb; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; border-radius: 2px; background: var(--accent); transform: translate(-50%, -50%); }
.faq-list summary span::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-list details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details[open] summary { color: var(--accent); }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: .88rem; }

.home-cta { padding: 0 0 118px; background: #fafafe; }
.home-cta__card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px; overflow: hidden; padding: 50px 55px; color: #fff; border-radius: 30px; background: linear-gradient(135deg, #5a52e8, #7d67ff 75%, #8f7cff); box-shadow: 0 28px 70px rgba(86,76,215,.25); }
.home-cta__glow { position: absolute; width: 360px; height: 360px; right: 10%; top: -200px; border-radius: 50%; background: rgba(255,255,255,.14); }
.home-cta__card > * { position: relative; z-index: 2; }
.home-cta .eyebrow { color: #dcdaff; }
.home-cta h2 { max-width: 740px; margin: 8px 0 8px; font-size: clamp(2rem, 3.7vw, 3.45rem); line-height: 1.03; letter-spacing: -.047em; }
.home-cta p { margin: 0; color: #e4e2ff; }
.button--light { flex: 0 0 auto; color: #4f47cf; background: #fff; box-shadow: 0 16px 38px rgba(31,23,101,.2); }
.button--light:hover { color: #3e37b0; background: #f8f8ff; }

.site-footer--premium { position: relative; overflow: hidden; color: var(--footer-ink); border-top: 0; background: #111329; }
.site-footer--premium::before { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(102,91,246,.22), transparent 68%); }
.footer-widgets--premium { position: relative; z-index: 2; padding-top: 52px; color: var(--footer-ink); }
.footer-main { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(250px, .9fr) minmax(0, 2.1fr); gap: clamp(50px, 7vw, 100px); padding-top: 78px; padding-bottom: 62px; }
.brand--footer { color: #fff; font-size: 1.05rem; }
.brand--footer:hover { color: #fff; }
.footer-brand > p { max-width: 340px; margin: 20px 0 23px; color: #aeb3ca; font-size: .88rem; }
.footer-local-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; color: #bcebd8; border: 1px solid rgba(77,211,158,.16); border-radius: 999px; background: rgba(68,190,142,.08); font-size: .72rem; font-weight: 730; }
.footer-local-pill i { width: 7px; height: 7px; border-radius: 50%; background: #4bd39f; box-shadow: 0 0 0 4px rgba(75,211,159,.1); }
.footer-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer-nav h2 { margin: 0 0 20px; color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer--premium .footer-nav .menu { display: grid; gap: 11px; }
.site-footer--premium .footer-nav a { color: #aeb3ca; font-size: .82rem; transition: color .18s ease, transform .18s ease; }
.site-footer--premium .footer-nav a:hover { display: inline-block; color: #fff; text-decoration: none; transform: translateX(3px); }
.footer-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; border-top: 1px solid rgba(255,255,255,.08); color: #7f849f; font-size: .74rem; }
.footer-bottom p { margin: 0; }
.footer-bottom__note { display: inline-flex; align-items: center; gap: 7px; }
.footer-bottom__note svg { width: 17px; fill: none; stroke: #4bd39f; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .hero__inner--split { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 45px; }
  .hero--premium h1 { font-size: clamp(3.2rem, 6.5vw, 5rem); }
  .hero-demo { min-height: 430px; }
  .feature-grid--six { grid-template-columns: repeat(2, 1fr); }
  .workflow-section__inner { grid-template-columns: 1fr 1fr; gap: 52px; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero--premium { min-height: auto; padding: 80px 0 175px; }
  .hero__inner--split { grid-template-columns: 1fr; text-align: center; }
  .hero__inner--split .hero__copy { max-width: 760px; margin: 0 auto; }
  .hero--premium h1, .hero--premium p { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__inner--split .hero__trust { justify-content: center; }
  .hero-demo { width: min(100%, 660px); margin: 0 auto; }
  .hero-demo__window { inset-inline: 20px; }
  .home-proof__grid { grid-template-columns: repeat(3, 1fr); }
  .home-proof__grid > div:nth-child(4), .home-proof__grid > div:nth-child(5) { border-top: 1px solid var(--line); }
  .section-heading--split { grid-template-columns: 1fr; gap: 18px; }
  .workflow-section__inner, .privacy-card, .faq-section__inner { grid-template-columns: 1fr; }
  .workflow-copy { text-align: center; }
  .workflow-copy > p { margin-inline: auto; }
  .workflow-list { max-width: 650px; margin-inline: auto; text-align: left; }
  .faq-heading { position: static; text-align: center; }
  .privacy-card__copy { text-align: center; }
  .privacy-card__checks { justify-content: center; }
  .privacy-card__visual { min-height: 260px; }
  .home-cta__card { align-items: flex-start; flex-direction: column; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 28px; }
}

@media (max-width: 720px) {
  [id] { scroll-margin-top: 78px; }
  .site-header__inner { gap: 10px; }
  .primary-navigation a::after { display: none; }
  .header-cta { display: none; }
  .hero--premium { padding: 58px 0 145px; }
  .hero--premium h1 { margin-top: 18px; font-size: clamp(2.8rem, 14vw, 4.35rem); letter-spacing: -.065em; }
  .hero__badge { font-size: .68rem; }
  .hero__actions { flex-direction: column; }
  .button--hero { width: 100%; }
  .hero__trust { gap: 8px 13px !important; }
  .hero-demo { min-height: 330px; margin-top: 6px; }
  .hero-demo__window { inset: 12px 2px 0; border-radius: 21px; transform: none; }
  .hero-demo__bar { height: 45px; padding: 0 12px; }
  .hero-demo__body { padding: 11px; }
  .hero-demo__image { border-radius: 14px; }
  .hero-demo__result { grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 11px; }
  .hero-demo__saving { display: none; }
  .hero-float--quality { left: -2px; top: -8px; }
  .hero-float--batch { right: -2px; bottom: -13px; }
  .pfsr-tool-stage--overlap, .front-page .pfsr-page-ad--tool-top { margin-top: -82px; }
  .home-proof { padding-top: 30px; }
  .home-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .home-proof__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .home-proof__grid > div:nth-child(odd)::before { display: none; }
  .home-proof__grid > div:last-child { grid-column: 1 / -1; }
  .feature-section--premium, .workflow-section, .privacy-section, .faq-section { padding: 82px 0; }
  .section-heading--split { margin-bottom: 32px; text-align: center; }
  .section-heading--split > p { font-size: .9rem; }
  .feature-grid--six { grid-template-columns: 1fr; }
  .feature-grid--six .feature-card { min-height: 0; padding: 24px; }
  .workflow-section__inner { gap: 45px; }
  .workflow-visual { min-height: 390px; padding: 55px 17px; border-radius: 24px; }
  .workflow-card { grid-template-columns: 50px minmax(0, 1fr); padding: 11px; }
  .workflow-card--source, .workflow-card--result { transform: none; }
  .workflow-card--result { grid-template-columns: 50px minmax(0, 1fr); }
  .workflow-card--result b { display: none; }
  .workflow-thumb { width: 50px; height: 46px; }
  .workflow-progress { margin: 45px 12px; }
  .workflow-saved { right: 10px; bottom: 12px; }
  .privacy-card { gap: 36px; padding: 34px 22px; border-radius: 25px; }
  .privacy-card__visual { min-height: 235px; }
  .privacy-lock { width: 105px; height: 105px; border-radius: 30px; }
  .privacy-lock svg { width: 45px; }
  .privacy-orbit--one { width: 185px; height: 185px; }
  .privacy-orbit--two { width: 235px; height: 235px; }
  .privacy-device { width: 48px; height: 48px; }
  .faq-list summary { padding: 18px; }
  .faq-list details p { padding: 0 18px 19px; }
  .home-cta { padding-bottom: 82px; }
  .home-cta__card { padding: 35px 24px; border-radius: 24px; text-align: center; }
  .home-cta__card .button { width: 100%; }
  .footer-main { padding-top: 58px; padding-bottom: 46px; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; min-height: 105px; padding-block: 24px; }
}

@media (max-width: 430px) {
  .hero-demo__bar > span { display: none; }
  .hero-demo__bar { grid-template-columns: 1fr 1fr; }
  .hero-demo__result strong { font-size: .82rem; }
  .hero-float { padding: 9px 11px; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
}


/* Responsive timed popup ads — v1.3.0. */
.pfsr-ad-slot ins.adsbygoogle,
.pfsr-ad-slot .adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.pfsr-popup-ad-open { overflow: hidden; }
.pfsr-popup-ad[hidden] { display: none !important; }
.pfsr-popup-ad {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.pfsr-popup-ad.is-visible { opacity: 1; visibility: visible; }
.pfsr-popup-ad__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 30, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pfsr-popup-ad__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, var(--pfsr-popup-max-width, 760px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(8, 10, 32, .36);
  transform: translateY(18px) scale(.975);
  transition: transform .24s ease;
}
.pfsr-popup-ad.is-visible .pfsr-popup-ad__dialog { transform: translateY(0) scale(1); }
.pfsr-popup-ad__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 10px 12px 10px 20px;
  border-bottom: 1px solid #ececf3;
  background: linear-gradient(180deg, #fff, #fbfbfe);
}
.pfsr-popup-ad__header > span {
  color: #74788c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.pfsr-popup-ad__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 82px;
  min-height: 38px;
  padding: 8px 11px;
  color: #2d3148;
  border: 1px solid #dedfea;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .75rem;
  font-weight: 760;
  transition: border-color .18s ease, color .18s ease, background .18s ease, opacity .18s ease;
}
.pfsr-popup-ad__close:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); background: #f8f7ff; }
.pfsr-popup-ad__close:disabled { opacity: .62; cursor: not-allowed; }
.pfsr-popup-ad__close svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pfsr-popup-ad__content {
  display: grid;
  align-items: center;
  min-height: var(--pfsr-popup-min-height, 250px);
  padding: clamp(14px, 3vw, 28px);
  background: #fff;
}
.pfsr-popup-ad .pfsr-ad-slot__inner {
  width: 100%;
  max-width: 100%;
  min-height: var(--pfsr-popup-min-height, 250px);
  overflow: visible;
}
.pfsr-popup-ad__footer {
  padding: 10px 18px 13px;
  color: #9295a8;
  border-top: 1px solid #f0f0f5;
  background: #fbfbfd;
  text-align: center;
  font-size: .66rem;
}
@media (max-width: 600px) {
  .pfsr-popup-ad { padding: 10px; }
  .pfsr-popup-ad__dialog { max-height: calc(100vh - 20px); border-radius: 17px; }
  .pfsr-popup-ad__header { min-height: 52px; padding-left: 14px; }
  .pfsr-popup-ad__close { min-width: 72px; min-height: 36px; }
  .pfsr-popup-ad__content { padding: 10px; }
}

/* SEO-focused homepage content — v1.4.0. */
.section-heading > p,
.seo-guide__header > p {
  color: var(--muted);
}

.use-cases-section {
  padding: 118px 0;
  background: #fff;
}
.use-cases-section .section-heading { max-width: 820px; }
.use-cases-section .section-heading p { max-width: 700px; margin: 16px auto 0; }
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.use-case-card {
  position: relative;
  min-width: 0;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #fbfbff);
  box-shadow: 0 12px 34px rgba(30, 32, 67, .055);
}
.use-case-card > span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--accent);
  border: 1px solid #dedcfd;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: .76rem;
  font-weight: 850;
}
.use-case-card h3 { margin: 20px 0 8px; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.02em; }
.use-case-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.seo-guide-section {
  padding: 118px 0;
  background: linear-gradient(180deg, #f7f8fc 0%, #fff 100%);
}
.seo-guide {
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(30, 32, 67, .08);
}
.seo-guide__header { max-width: 850px; margin-bottom: 38px; }
.seo-guide__header h2 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; }
.seo-guide__header p { max-width: 760px; margin: 0; }
.seo-guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.seo-guide__grid article { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fbfbfd; }
.seo-guide__grid h3 { margin: 0 0 9px; font-size: 1.05rem; line-height: 1.3; }
.seo-guide__grid p { margin: 0; color: var(--muted); font-size: .91rem; }
.seo-guide__action { margin-top: 30px; }

.home-blog-section { padding: 115px 0; background: #fff; }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-blog-card { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.home-blog-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-soft); }
.home-blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-blog-card:hover .home-blog-card__image img { transform: scale(1.025); }
.home-blog-card__body { padding: 25px; }
.home-blog-card time { color: #8a8ea1; font-size: .72rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.home-blog-card h3 { margin: 8px 0 10px; font-size: 1.18rem; line-height: 1.25; }
.home-blog-card h3 a { color: var(--ink); }
.home-blog-card h3 a:hover { color: var(--accent); text-decoration: none; }
.home-blog-card p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }

@media (max-width: 960px) {
  .use-case-grid, .home-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .use-cases-section, .seo-guide-section, .home-blog-section { padding: 82px 0; }
  .use-case-grid, .home-blog-grid, .seo-guide__grid { grid-template-columns: 1fr; }
  .use-case-card { padding: 25px; }
  .seo-guide { padding: 28px 20px; border-radius: 24px; }
  .seo-guide__grid article { padding: 21px; }
  .seo-guide__action .button { width: 100%; }
}
