/*
Theme Name: Perefraz Modern
Theme URI: https://www.perefraz.ru/
Author: Perefraz
Description: Adaptive WordPress theme for AI text tools migrated from the static Perefraz site.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: perefraz-modern
*/

:root {
  --pf-bg: #f8faf7;
  --pf-bg-rgb: 248, 250, 247;
  --pf-surface: #fffefa;
  --pf-surface-2: #f1f5f2;
  --pf-surface-3: #e9efe9;
  --pf-ink: #17211f;
  --pf-muted: #64706c;
  --pf-soft: #8a9691;
  --pf-line: #dfe7e2;
  --pf-line-strong: #cbd8d1;
  --pf-brand: #ff6b35;
  --pf-brand-2: #c7431d;
  --pf-brand-soft: #ffe4d6;
  --pf-teal: #0f766e;
  --pf-blue: #2f6fed;
  --pf-accent: #d99b16;
  --pf-emerald: #12865f;
  --pf-shadow: 0 22px 60px rgba(23, 33, 31, .10);
  --pf-shadow-soft: 0 10px 30px rgba(23, 33, 31, .07);
  --pf-radius: 16px;
  --pf-radius-lg: 24px;
  --pf-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html.pf-dark body,
body.pf-dark {
  --pf-bg: #121817;
  --pf-bg-rgb: 18, 24, 23;
  --pf-surface: #1d2624;
  --pf-surface-2: #17211f;
  --pf-surface-3: #101514;
  --pf-ink: #f6fbf8;
  --pf-muted: #c3d0ca;
  --pf-soft: #8ea09a;
  --pf-line: #31423d;
  --pf-line-strong: #425852;
  --pf-brand-soft: rgba(255, 107, 53, .16);
  --pf-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --pf-shadow-soft: 0 8px 24px rgba(0, 0, 0, .20);
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--pf-ink);
  background: var(--pf-bg);
  font-family: var(--pf-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: #fed7aa; color: #431407; }
:focus-visible { outline: 2px solid var(--pf-brand); outline-offset: 2px; }

.screen-reader-text {
  position: absolute;
  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 {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--pf-brand);
  color: #fff;
  border-radius: 10px;
}

.pf-site {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}
.pf-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  color: var(--pf-ink);
  opacity: .04;
  background-image:
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 42px 42px;
  background-repeat: repeat;
}
.pf-site::after {
  content: "";
  position: fixed;
  width: 100%;
  height: 220px;
  top: 64px;
  left: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 107, 53, .10), transparent 42%),
    linear-gradient(315deg, rgba(15, 118, 110, .10), transparent 46%);
  clip-path: polygon(0 0, 100% 0, 100% 52%, 0 100%);
}
.pf-main { flex: 1; position: relative; z-index: 1; }
.pf-wrap { width: min(100% - 32px, 1280px); margin-inline: auto; }
.pf-narrow { width: min(100% - 32px, 1040px); margin-inline: auto; }

.pf-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(var(--pf-bg-rgb), .82);
  border-bottom: 1px solid var(--pf-line);
  backdrop-filter: blur(14px);
}
.pf-header__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pf-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--pf-ink);
}
.pf-brand:hover .pf-brand__logo { transform: rotate(-3deg) scale(1.08); }
.pf-brand:hover .pf-brand__name { color: var(--pf-brand-2); }
.pf-brand__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(28, 25, 23, .12));
  transition: transform .25s ease;
}
.pf-brand__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.pf-brand__name { font-size: 17px; font-weight: 800; transition: color .18s ease; }
.pf-brand__sub {
  display: block;
  color: var(--pf-soft);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pf-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  color: var(--pf-muted);
  font-size: 14px;
  font-weight: 800;
}
.pf-nav ul,
.pf-nav li {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-nav a { transition: color .18s ease; }
.pf-nav a:hover,
.pf-nav .current-menu-item > a { color: var(--pf-brand); }
.pf-nav__divider {
  width: 1px;
  height: 16px;
  background: var(--pf-line);
}
.pf-header__actions { display: flex; align-items: center; gap: 8px; }
.pf-icon-button,
.pf-menu-toggle {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--pf-line);
  border-radius: 10px;
  background: transparent;
  color: var(--pf-muted);
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.pf-icon-button:hover,
.pf-menu-toggle:hover {
  color: var(--pf-brand);
  border-color: var(--pf-brand-soft);
  background: rgba(249, 115, 22, .08);
}
.pf-icon { width: 20px; height: 20px; }
.pf-menu-toggle { display: none; }
.pf-mobile-panel {
  position: fixed;
  inset: 64px 0 auto 0;
  z-index: 79;
  display: none;
  background: rgba(var(--pf-bg-rgb), .96);
  border-bottom: 1px solid var(--pf-line);
  box-shadow: var(--pf-shadow-soft);
  backdrop-filter: blur(14px);
}
.pf-mobile-panel.is-open { display: block; }
.pf-mobile-panel a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--pf-line);
  color: var(--pf-muted);
  font-weight: 800;
}
.pf-mobile-panel ul,
.pf-mobile-panel li {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-mobile-panel a:last-child { border-bottom: 0; }

.pf-hero {
  padding: 34px 0 18px;
}
.pf-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 36px;
  align-items: center;
}
.pf-hero__copy {
  max-width: 760px;
}
.pf-hero h1,
.pf-page-title {
  margin: 0;
  color: var(--pf-ink);
  font-size: 62px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}
.pf-gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--pf-brand), var(--pf-brand-2));
  -webkit-background-clip: text;
  background-clip: text;
}
.pf-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--pf-muted);
  font-size: 18px;
  font-weight: 550;
}
.pf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pf-hero-board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pf-line);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .66), transparent 40%),
    var(--pf-surface);
  box-shadow: var(--pf-shadow);
}
.pf-hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, transparent 0 42%, rgba(15, 118, 110, .09) 42% 58%, transparent 58% 100%);
  pointer-events: none;
}
.pf-hero-board__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--pf-line);
  color: var(--pf-soft);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pf-hero-board__top strong {
  color: var(--pf-teal);
}
.pf-hero-board__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--pf-line);
}
.pf-hero-board__flow div {
  min-height: 112px;
  padding: 18px;
  background: rgba(var(--pf-bg-rgb), .52);
}
.pf-hero-board__flow b {
  display: block;
  margin-bottom: 18px;
  color: var(--pf-brand);
  font-size: 24px;
  line-height: 1;
}
.pf-hero-board__flow span {
  color: var(--pf-muted);
  font-size: 13px;
  font-weight: 750;
}
.pf-hero-board__sample {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 20px;
}
.pf-hero-board__sample span {
  width: max-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--pf-surface-3);
  color: var(--pf-soft);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pf-hero-board__sample p {
  margin: 0 0 8px;
  color: var(--pf-ink);
  font-size: 15px;
  font-weight: 650;
}
.pf-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(249, 115, 22, .92);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 16px 35px rgba(249, 115, 22, .18);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.pf-button:hover {
  transform: translateY(-1px);
  background: var(--pf-brand);
  box-shadow: 0 18px 40px rgba(249, 115, 22, .24);
}
.pf-button--ghost {
  color: var(--pf-muted);
  background: var(--pf-surface);
  border-color: var(--pf-line);
  box-shadow: none;
}
.pf-button--ghost:hover {
  color: var(--pf-brand);
  background: var(--pf-surface-2);
  box-shadow: none;
}

.pf-home-tool {
  padding: 0 0 44px;
}
.pf-stats-section {
  padding: 34px 0 44px;
  border-block: 1px solid rgba(231, 229, 228, .72);
  background: rgba(245, 245, 244, .46);
  backdrop-filter: blur(6px);
}
html.pf-dark body .pf-stats-section,
body.pf-dark .pf-stats-section { border-color: rgba(68, 64, 60, .58); background: rgba(28, 25, 23, .22); }
.pf-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}
.pf-stat {
  padding: 4px 20px;
  border-right: 1px solid rgba(214, 211, 209, .68);
}
html.pf-dark body .pf-stat,
body.pf-dark .pf-stat { border-color: rgba(68, 64, 60, .74); }
.pf-stat:last-child { border-right: 0; }
.pf-stat b {
  display: block;
  color: var(--pf-ink);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
}
.pf-stat:last-child b { color: var(--pf-brand); }
.pf-stat span {
  display: block;
  margin-top: 9px;
  color: var(--pf-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pf-section { padding: 54px 0; }
.pf-section__head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.pf-section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: 28px;
  align-items: end;
  text-align: left;
}
.pf-section__head h2 {
  margin: 0;
  color: var(--pf-ink);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
}
.pf-section__head p {
  margin: 12px auto 0;
  color: var(--pf-muted);
  font-size: 17px;
}
.pf-section__head--split p {
  margin: 0;
}

.pf-tools-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.pf-tool-group h3 {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pf-line);
  color: var(--pf-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pf-tool-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-tool-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--pf-muted);
  font-size: 14px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, transform .18s ease, border-color .18s ease;
}
.pf-tool-card:hover {
  color: var(--pf-brand);
  background: var(--pf-surface);
  border-color: var(--pf-line);
  transform: translateY(-2px);
}
.pf-tool-card__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--pf-soft);
  transition: color .18s ease;
}
.pf-tool-card:hover .pf-tool-card__icon { color: var(--pf-brand); }
.pf-tool-card__tag { display: none; }
.pf-tool-card p { display: none; }
.pf-tool-card__link { display: none; }

.pf-feature-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
}
.pf-mission,
.pf-mini-card,
.pf-reason-card,
.pf-example,
.pf-faq details,
.pf-page__content,
.pf-contact {
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
  box-shadow: var(--pf-shadow-soft);
}
.pf-mission {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--pf-radius-lg);
  padding: clamp(28px, 5vw, 48px);
}
.pf-mission::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 24px;
  top: 24px;
  border: 1px solid var(--pf-line);
  background:
    linear-gradient(90deg, var(--pf-line) 1px, transparent 1px),
    linear-gradient(var(--pf-line) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.pf-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 12px;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: var(--pf-surface-3);
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pf-mission h2 {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 24px 0 18px;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 950;
}
.pf-mission p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  color: var(--pf-muted);
  font-size: 19px;
  font-weight: 600;
}
.pf-free-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  color: var(--pf-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pf-bubbles { display: flex; margin-left: 2px; }
.pf-bubbles span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-left: -2px;
  border: 2px solid var(--pf-surface);
  border-radius: 999px;
  background: var(--pf-surface-3);
  color: var(--pf-soft);
  font-weight: 800;
}
.pf-mini-stack { display: grid; gap: 24px; }
.pf-mini-card,
.pf-reason-card {
  border-radius: var(--pf-radius-lg);
  padding: 28px;
}
.pf-mini-card h3,
.pf-reason-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}
.pf-mini-card p,
.pf-reason-card p {
  margin: 0;
  color: var(--pf-muted);
  font-size: 14px;
}
.pf-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--pf-surface-3);
  color: var(--pf-muted);
}
.pf-card-icon--brand { background: var(--pf-brand-soft); color: var(--pf-brand); }
.pf-card-icon--accent { background: rgba(234, 179, 8, .12); color: var(--pf-accent); }
.pf-card-icon--emerald { background: rgba(5, 150, 105, .12); color: var(--pf-emerald); }
.pf-card-icon--teal { background: rgba(15, 118, 110, .12); color: var(--pf-teal); }
.pf-card-icon--blue { background: rgba(47, 111, 237, .12); color: var(--pf-blue); }

.pf-scenario-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pf-scenario {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  border: 1px solid var(--pf-line);
  border-radius: 22px;
  background: var(--pf-surface);
  padding: 24px;
  box-shadow: var(--pf-shadow-soft);
}
.pf-scenario--wide {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(255, 107, 53, .12), transparent 42%),
    linear-gradient(315deg, rgba(47, 111, 237, .10), transparent 45%),
    var(--pf-surface);
}
.pf-scenario--wide::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 88px;
  height: 88px;
  border: 1px solid var(--pf-line);
  background:
    linear-gradient(90deg, var(--pf-line) 1px, transparent 1px),
    linear-gradient(var(--pf-line) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .55;
}
.pf-scenario h2,
.pf-scenario h3 {
  position: relative;
  margin: 0 0 12px;
  color: var(--pf-ink);
}
.pf-scenario h2 {
  max-width: 620px;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 950;
}
.pf-scenario h3 {
  font-size: 21px;
  line-height: 1.18;
}
.pf-scenario p {
  position: relative;
  margin: 0;
  color: var(--pf-muted);
  font-size: 14px;
}
.pf-scenario--wide p {
  max-width: 650px;
  font-size: 17px;
  font-weight: 560;
}

.pf-compare {
  overflow: hidden;
  border: 1px solid var(--pf-line);
  border-radius: 26px;
  background: var(--pf-surface);
  box-shadow: var(--pf-shadow);
}
.pf-compare__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-bottom: 1px solid var(--pf-line);
  background: var(--pf-surface-2);
}
.pf-compare__head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}
.pf-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pf-compare__grid > div {
  min-height: 250px;
  padding: 30px;
}
.pf-compare__grid > div:first-child {
  border-right: 1px solid var(--pf-line);
}
.pf-compare__grid > div:last-child {
  background:
    linear-gradient(135deg, rgba(255, 107, 53, .10), transparent 48%),
    var(--pf-surface);
}
.pf-compare p {
  margin: 0;
  color: var(--pf-ink);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 680;
}
.pf-compare__grid > div:first-child p {
  color: var(--pf-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.pf-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pf-reason-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pf-reason-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, .32);
  box-shadow: var(--pf-shadow);
}

.pf-article {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}
.pf-article h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.14;
}
.pf-article p {
  margin: 0;
  color: var(--pf-muted);
  font-size: 18px;
}
.pf-article strong { color: var(--pf-ink); }
.pf-underlined {
  color: var(--pf-brand-2);
  text-decoration: underline;
  text-decoration-color: #fed7aa;
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}
.pf-example {
  overflow: hidden;
  border-radius: var(--pf-radius-lg);
}
.pf-example__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border-bottom: 1px solid var(--pf-line);
  background: var(--pf-surface-2);
}
.pf-window-dots { display: flex; gap: 6px; }
.pf-window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--pf-line-strong);
}
.pf-example__label {
  color: var(--pf-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pf-example__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pf-example__cell {
  padding: clamp(22px, 4vw, 34px);
  border-right: 1px solid var(--pf-line);
}
.pf-example__cell:last-child {
  border-right: 0;
  background: rgba(255, 237, 213, .40);
}
html.pf-dark body .pf-example__cell:last-child,
body.pf-dark .pf-example__cell:last-child { background: rgba(124, 45, 18, .08); }
.pf-pill {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  margin-bottom: 16px;
  border-radius: 5px;
  background: var(--pf-surface-3);
  color: var(--pf-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pf-pill--brand {
  background: var(--pf-brand-soft);
  color: var(--pf-brand-2);
}
.pf-example p {
  margin: 0;
  color: var(--pf-muted);
  font-size: 18px;
  line-height: 1.65;
}
.pf-example__cell:first-child p {
  padding-left: 18px;
  border-left: 2px solid var(--pf-line);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}
.pf-example__cell:last-child p {
  color: var(--pf-ink);
  font-weight: 650;
}

.pf-faq {
  max-width: 780px;
  margin-inline: auto;
  padding-top: 44px;
  border-top: 1px solid var(--pf-line);
}
.pf-faq h2 {
  margin: 0 0 28px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}
.pf-faq__list { display: grid; gap: 14px; }
.pf-faq details {
  border-radius: 14px;
  overflow: hidden;
}
.pf-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: var(--pf-ink);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.pf-faq summary::-webkit-details-marker { display: none; }
.pf-faq details[open] summary { color: var(--pf-brand-2); }
.pf-faq summary::after {
  content: "v";
  color: var(--pf-soft);
  transition: transform .18s ease;
}
.pf-faq details[open] summary::after { transform: rotate(180deg); }
.pf-faq p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--pf-muted);
  font-size: 14px;
}
.pf-faq a,
.pf-page__content a,
.pf-seo a {
  color: var(--pf-brand-2);
  text-decoration: underline;
  text-decoration-color: #fed7aa;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.pf-page { padding: 40px 0 72px; }
.pf-page__content {
  width: min(900px, 100%);
  margin-inline: auto;
  border-radius: var(--pf-radius-lg);
  padding: clamp(24px, 5vw, 48px);
}
.pf-page__content h1,
.pf-page__content h2,
.pf-page__content h3 {
  line-height: 1.18;
  letter-spacing: 0;
}
.pf-page__content h1 { margin-top: 0; font-size: 52px; }
.pf-page__content h2 { margin-top: 34px; font-size: 28px; }
.pf-page__content p,
.pf-page__content li { color: var(--pf-muted); }
.pf-page__content ul,
.pf-page__content ol { padding-left: 22px; }
.pf-seo {
  max-width: 960px;
  margin: 42px auto 0;
  display: grid;
  gap: 28px;
}
.pf-seo section,
.pf-seo-card {
  border: 1px solid var(--pf-line);
  border-radius: var(--pf-radius);
  background: var(--pf-surface);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--pf-shadow-soft);
}
.pf-seo h2 { margin: 0 0 12px; font-size: 34px; line-height: 1.15; }
.pf-seo h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.pf-seo p { margin: 0 0 12px; color: var(--pf-muted); }
.pf-seo ul,
.pf-seo ol { margin: 0; padding-left: 20px; color: var(--pf-muted); }
.pf-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pf-footer {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  padding: 48px 0 30px;
  border-top: 1px solid var(--pf-line);
  background: rgba(245, 245, 244, .72);
  backdrop-filter: blur(10px);
}
html.pf-dark body .pf-footer,
body.pf-dark .pf-footer { background: rgba(21, 20, 18, .82); }
.pf-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 38px;
}
.pf-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 850;
}
.pf-footer__brand img { width: 26px; height: 26px; }
.pf-footer p {
  max-width: 300px;
  margin: 0;
  color: var(--pf-muted);
  font-size: 14px;
}
.pf-footer h3 {
  margin: 0 0 14px;
  color: var(--pf-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pf-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--pf-muted);
  font-size: 14px;
}
.pf-footer a { transition: color .18s ease; }
.pf-footer a:hover { color: var(--pf-brand); }
.pf-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--pf-line);
  color: var(--pf-soft);
  font-size: 12px;
}

@media (max-width: 1020px) {
  .pf-nav { display: none; }
  .pf-menu-toggle { display: inline-grid; }
  .pf-hero__layout,
  .pf-section__head--split,
  .pf-scenario-grid { grid-template-columns: 1fr; }
  .pf-feature-mosaic { grid-template-columns: 1fr; }
  .pf-mini-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-hero-board { max-width: 680px; }
}

@media (max-width: 820px) {
  .pf-hero h1,
  .pf-page-title,
  .pf-page__content h1 { font-size: 52px; }
  .pf-section__head h2,
  .pf-mission h2,
  .pf-article h2,
  .pf-seo h2,
  .pf-scenario h2,
  .pf-compare__head h2 { font-size: 34px; }
  .pf-tools-columns,
  .pf-reason-grid,
  .pf-seo-grid { grid-template-columns: 1fr; }
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .pf-stat:nth-child(2) { border-right: 0; }
  .pf-example__grid { grid-template-columns: 1fr; }
  .pf-example__cell { border-right: 0; border-bottom: 1px solid var(--pf-line); }
  .pf-example__cell:last-child { border-bottom: 0; }
  .pf-hero-board__flow,
  .pf-compare__grid { grid-template-columns: 1fr; }
  .pf-compare__grid > div:first-child { border-right: 0; border-bottom: 1px solid var(--pf-line); }
}

@media (max-width: 620px) {
  .pf-wrap,
  .pf-narrow { width: min(100% - 24px, 1280px); }
  .pf-header__inner { height: 60px; gap: 12px; }
  .pf-mobile-panel { top: 60px; }
  .pf-brand__sub { display: none; }
  .pf-hero { padding-top: 24px; }
  .pf-hero h1,
  .pf-page-title,
  .pf-page__content h1 { font-size: 42px; }
  .pf-section__head h2,
  .pf-mission h2,
  .pf-article h2,
  .pf-seo h2,
  .pf-scenario h2,
  .pf-compare__head h2 { font-size: 30px; }
  .pf-hero p { display: none; }
  .pf-hero-board { display: none; }
  .pf-home-tool { padding-bottom: 26px; }
  .pf-stats { grid-template-columns: 1fr; row-gap: 0; }
  .pf-stat {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--pf-line);
  }
  .pf-stat:last-child { border-bottom: 0; }
  .pf-mini-stack { grid-template-columns: 1fr; }
  .pf-mission,
  .pf-mini-card,
  .pf-reason-card,
  .pf-page__content { border-radius: 18px; }
  .pf-mission { min-height: auto; }
  .pf-free-line { align-items: flex-start; flex-direction: column; }
  .pf-section { padding: 42px 0; }
  .pf-section__head--split { gap: 14px; }
  .pf-scenario,
  .pf-compare__grid > div,
  .pf-compare__head { padding: 20px; }
  .pf-scenario { min-height: auto; }
  .pf-compare p { font-size: 17px; }
  .pf-footer__grid,
  .pf-footer__bottom { display: block; }
  .pf-footer__grid > div { margin-bottom: 28px; }
  .pf-footer__bottom p + p { margin-top: 10px; }
}
