:root {
  --pp-ground: #fcfbf8;
  --pp-surface: #f6f4ef;
  --pp-ink: #2a2521;
  --pp-ink-2: #6e675c;
  --pp-accent: #d43d2a;
  --pp-on-accent: #ffffff;
  --pp-ok: #187c46;
  --pp-danger: #b3261e;
  --pp-warn: #8a5700;
  --pp-hairline: #e6e2da;
  --pp-canvas-mat: #eaeaea;
  --pp-accent-hover: color-mix(in srgb, var(--pp-accent) 88%, var(--pp-ink));
  --pp-font-display: "PatchPDF Charter", Georgia, serif;
  --pp-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pp-font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --pp-overlay-target: rgb(212 61 42 / 14%);
  --pp-overlay-target-border: #d43d2a;
  --pp-overlay-proposal: transparent;
  --pp-overlay-proposal-border: #d43d2a;
  --pp-overlay-find: rgb(250 204 21 / 34%);
  --pp-overlay-history: rgb(242 193 78 / 24%);
}

:root[data-theme="dark"] {
  --pp-ground: #1c1713;
  --pp-surface: #28211d;
  --pp-ink: #f2eada;
  --pp-ink-2: #b5a992;
  --pp-accent: #e5503c;
  --pp-on-accent: #1c1713;
  --pp-ok: #2fb56b;
  --pp-danger: #f2555f;
  --pp-warn: #f2c14e;
  --pp-hairline: #3b322a;
  --pp-canvas-mat: #1e1e1e;
}

@font-face {
  font-family: "PatchPDF Charter";
  src: url("/assets/charter-bold.98b7501ae2b0.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: var(--pp-font-ui);
  font-synthesis: none;
  color: var(--pp-ink);
  background: var(--pp-ground);
  --ink: var(--pp-ink);
  --body: color-mix(in srgb, var(--pp-ink) 28%, var(--pp-ink-2));
  --muted: var(--pp-ink-2);
  --paper: var(--pp-ground);
  --soft: var(--pp-surface);
  --line: var(--pp-hairline);
  --line-strong: color-mix(in srgb, var(--pp-hairline) 82%, var(--pp-ink));
  --green: var(--pp-ok);
  --amber: var(--pp-warn);
  --max: 1120px;
  --prose: 720px;
  --nav-height: 64px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0px;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--pp-ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--pp-ground);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 8px;
  padding: 9px 13px;
  background: var(--ink);
  color: var(--pp-ground);
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--pp-ground) 96%, transparent);
  backdrop-filter: blur(12px);
}

.nav-shell,
.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--pp-font-display);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav > a:not(.button) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav > a:not(.button):hover {
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.menu-button svg {
  width: 21px;
  height: 21px;
}

.menu-icon-close {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: var(--pp-accent);
  color: var(--pp-on-accent);
}

.button-primary:hover {
  background: var(--pp-accent-hover);
}

.button-nav {
  background: var(--ink);
  color: var(--paper);
}

.button-nav:hover {
  background: color-mix(in srgb, var(--ink) 88%, var(--paper));
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--soft);
}

.button svg {
  width: 17px;
  height: 17px;
  flex: none;
}

main {
  overflow: clip;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--pp-font-display);
  font-weight: 700;
  line-height: 1.08;
}

h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 72px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 46px);
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

p {
  margin-bottom: 16px;
}

.lede {
  max-width: 720px;
  color: var(--body);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero {
  padding: 96px 0 82px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-intro h1 {
  max-width: 880px;
}

.hero-intro .lede {
  max-width: 680px;
  margin-bottom: 27px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.offer-line {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-intro-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.proof-section {
  padding-top: 76px;
}

.proof-stage {
  max-width: 980px;
  margin: 0 auto;
}

.document-compare {
  position: relative;
  aspect-ratio: 1064 / 545;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 45px color-mix(in srgb, var(--pp-ink) 12%, transparent);
}

.document-compare picture,
.document-compare img,
.proof-before,
.proof-after {
  width: 100%;
  height: 100%;
}

.document-compare img {
  object-fit: cover;
}

.proof-after {
  position: absolute;
  inset: 0;
}

.proof-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.compare-divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--pp-accent);
  transform: translateX(-1px);
}

.compare-label {
  position: absolute;
  z-index: 4;
  top: 14px;
  padding: 6px 9px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--pp-ink) 92%, transparent);
  color: var(--pp-ground);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.compare-label-before {
  left: 14px;
}

.compare-label-after {
  right: 14px;
}

.proof-stage figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px 4px 0;
  color: var(--body);
}

.proof-stage figcaption > span,
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 14px;
  font-weight: 740;
}

.proof-stage figcaption svg,
.status-line svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.proof-stage figcaption p {
  max-width: 650px;
  margin: 0;
}

.steps-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.step-list li > span {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.step-list h3 {
  font-size: 22px;
}

.step-list p {
  margin: 0;
  color: var(--body);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 72px;
}

.fit-grid > div:first-child {
  max-width: 680px;
}

.fit-grid p {
  color: var(--body);
}

.fit-grid a,
.body-copy a,
.legal-section a,
.contact-item a,
.footer-links a,
.footer-bottom a {
  color: var(--ink);
  font-weight: 650;
}

.privacy-summary {
  padding-left: 32px;
  border-left: 3px solid var(--ink);
}

.privacy-summary h3 {
  font-size: 24px;
}

.closing-cta {
  border-top: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.closing-cta .shell {
  max-width: 760px;
}

.closing-cta h2 {
  margin-bottom: 26px;
}

.page-hero {
  padding: 82px 0 68px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.page-hero .shell {
  max-width: 900px;
  margin-left: max(20px, calc((100% - var(--max)) / 2));
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(42px, 5vw, 62px);
}

.page-hero .lede {
  margin-bottom: 0;
}

.page-hero-actions {
  margin-top: 26px;
}

.example-stack {
  display: grid;
  gap: 72px;
}

.evidence-links {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.evidence-links p {
  margin: 0;
  color: var(--body);
}

.evidence-links div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.evidence-links a {
  color: var(--ink);
  font-weight: 650;
}

.example {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 48px;
}

.example-reverse .example-media {
  order: 2;
}

.example-reverse .example-copy {
  order: 1;
}

.example-media {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--pp-ink) 10%, transparent);
}

.example-media img {
  width: 100%;
  height: auto;
}

.example-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.example-copy > p:not(.status-line):not(.instruction) {
  color: var(--body);
}

.status-line {
  margin-bottom: 16px;
}

.status-line-neutral {
  color: var(--ink);
}

.instruction {
  padding-left: 14px;
  border-left: 3px solid var(--pp-accent);
  color: var(--ink);
  font-weight: 680;
}

.quality-boundary {
  max-width: 820px;
  margin: 72px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.contact-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-item,
.trust-item {
  min-width: 0;
  padding: 26px 28px 26px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:not(:nth-child(3n + 1)),
.trust-item:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.contact-item p,
.trust-item p,
.body-copy {
  color: var(--body);
}

.section-mist {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.prose {
  max-width: var(--prose);
}

.prose h2,
.two-column h2 {
  font-size: clamp(30px, 3.5vw, 42px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 72px;
}

.plain-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plain-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.notice {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  background: color-mix(in srgb, var(--pp-warn) 9%, var(--paper));
  color: var(--pp-warn);
}

.legal-shell {
  width: min(calc(100% - 40px), var(--prose));
  margin: 0 auto;
  padding: 76px 0 96px;
  overflow: visible;
}

.legal-header {
  margin-bottom: 48px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 5vw, 58px);
}

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

.legal-section + .legal-section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 27px;
}

.legal-section p,
.legal-section li {
  color: var(--body);
}

.legal-section ul,
.legal-section ol {
  padding-left: 22px;
}

.not-found {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
}

.not-found > div {
  max-width: 760px;
}

.not-found .lede {
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.8fr);
  align-items: start;
  gap: 56px;
  padding: 46px 0 34px;
}

.footer-brand p {
  max-width: 390px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

.footer-links a {
  font-size: 14px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--muted);
}

@media (max-width: 900px) {
  .fit-grid,
  .two-column {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .privacy-summary {
    max-width: 680px;
  }

  .contact-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-item:not(:nth-child(3n + 1)),
  .trust-item:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .contact-item:nth-child(even),
  .trust-item:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .example {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 60px;
  }

  .nav-shell,
  .shell,
  .legal-shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    backdrop-filter: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    z-index: 39;
    top: var(--nav-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    background: var(--paper);
    overflow-y: auto;
  }

  .primary-nav[data-open="true"] {
    display: flex;
    flex-direction: column;
  }

  .primary-nav > a:not(.button) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .primary-nav .button {
    margin-top: 14px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero {
    padding: 70px 0 60px;
  }

  .hero-intro .lede {
    margin-bottom: 24px;
  }

  .section {
    padding: 66px 0;
  }

  .proof-section {
    padding-top: 60px;
  }

  .section-intro {
    margin-bottom: 28px;
  }

  .proof-stage figcaption {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compare-label {
    top: 8px;
    padding: 5px 7px;
    font-size: 10px;
  }

  .compare-label-before {
    left: 8px;
  }

  .compare-label-after {
    right: 8px;
  }

  .step-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .step-list li > span {
    margin: 2px 0 0;
  }

  .privacy-summary {
    padding-left: 22px;
  }

  .page-hero {
    padding: 62px 0 54px;
  }

  .page-hero .shell {
    margin-left: auto;
  }

  .example,
  .example-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .example-reverse .example-media,
  .example-reverse .example-copy {
    order: initial;
  }

  .example-stack {
    gap: 58px;
  }

  .evidence-links {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }

  .evidence-links div {
    justify-content: flex-start;
  }

  .quality-boundary {
    margin-top: 58px;
    text-align: left;
  }

  .contact-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .contact-item,
  .trust-item,
  .contact-item:nth-child(even),
  .trust-item:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
  }

  .legal-shell {
    padding: 56px 0 72px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 28px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 10px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

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

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .closing-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
