/*
 * PDFCraft — landing site stylesheet.
 *
 * One file for three pages: the landing page, the pricing page and the privacy
 * policy. They share a header, a footer and a token set, so splitting them would
 * mean keeping three copies of the same header in step by hand.
 *
 * The palette is taken from the extension's own accent (#0a58ca) and from the
 * product mark — the red of the PDF badge and the orange of the arrow — so the
 * site, the store icon and the app are one palette rather than three.
 *
 * Theme: `data-pdf-theme` on <body> is the resolved theme ("light" or "dark").
 * `data-pdf-theme-choice` records what the user picked, which may be "auto".
 * script.js owns both; nothing here reads prefers-color-scheme directly, so the
 * toggle wins in every direction.
 */

:root {
  --pdf-bg: #fbfcff;
  --pdf-surface: #ffffff;
  --pdf-surface-soft: rgba(255, 255, 255, 0.78);
  --pdf-text: #071229;
  --pdf-heading: #0a1428;
  --pdf-muted: #566179;
  --pdf-soft: #eef4ff;
  --pdf-border: rgba(16, 46, 104, 0.13);

  --pdf-blue: #0a58ca;
  --pdf-blue-deep: #0949a6;
  --pdf-sky: #2f8dff;
  --pdf-navy: #0b1b34;
  --pdf-red: #e8262d;
  --pdf-orange: #ff7a29;
  --pdf-green: #14996a;
  /*
   * A second green, for green *text*. The icon green is 3.62:1 on white — fine
   * for a check mark, which only has to clear 3:1 as a graphic, and a WCAG AA
   * failure the moment the same colour carries a word. Every place the palette
   * says "yes" in words uses this one instead.
   */
  --pdf-green-text: #0e7a54;

  --pdf-link: #0a58ca;
  --pdf-link-hover: #0949a6;

  --pdf-shadow: 0 24px 70px rgba(13, 38, 88, 0.12);
  --pdf-shadow-soft: 0 16px 40px rgba(13, 38, 88, 0.08);

  --pdf-radius: 16px;
  --pdf-radius-sm: 10px;
  --pdf-container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.pdf-page {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 4%, rgba(10, 88, 202, 0.09), transparent 24rem),
    radial-gradient(circle at 78% 6%, rgba(255, 122, 41, 0.09), transparent 24rem),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 34%, #fbfcff 100%);
  color: var(--pdf-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.pdf-page[data-pdf-theme='dark'] {
  --pdf-bg: #070f1d;
  --pdf-surface: #0f1a2c;
  --pdf-surface-soft: rgba(15, 26, 44, 0.78);
  --pdf-text: #e9f1ff;
  --pdf-heading: #f4f8ff;
  --pdf-muted: #9aabc6;
  --pdf-soft: #16233a;
  --pdf-border: rgba(148, 173, 214, 0.18);
  --pdf-blue: #5aa2ff;
  --pdf-blue-deep: #7ab5ff;
  --pdf-green-text: #4fd6a3;
  --pdf-link: #7db2ff;
  --pdf-link-hover: #a6cbff;
  --pdf-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --pdf-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.24);
  background:
    radial-gradient(circle at 16% 4%, rgba(45, 118, 232, 0.18), transparent 24rem),
    radial-gradient(circle at 78% 6%, rgba(255, 122, 41, 0.12), transparent 24rem),
    linear-gradient(180deg, #070f1d 0%, #0a1526 42%, #070f1d 100%);
}

.pdf-page a {
  color: inherit;
  text-decoration: none;
}

.pdf-page img,
.pdf-page svg {
  display: block;
}

.pdf-page :focus-visible {
  outline: 3px solid var(--pdf-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.pdf-svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pdf-container {
  width: min(calc(100% - 48px), var(--pdf-container));
  margin-inline: auto;
}

/* Reachable by keyboard, invisible until it has focus. */
.pdf-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--pdf-blue);
  font-weight: 800;
  transition: top 0.2s ease;
}

.pdf-skip:focus {
  top: 16px;
}

/* Present to a screen reader, absent from the page. Used for a table caption
   that names the table for assistive tech without repeating the heading above it. */
.pdf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ header */

.pdf-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: 78px;
  background: rgba(251, 252, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(16, 46, 104, 0.08);
}

.pdf-page[data-pdf-theme='dark'] .pdf-header {
  background: rgba(7, 15, 29, 0.8);
  box-shadow: 0 1px 0 rgba(148, 173, 214, 0.12);
}

.pdf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 22px;
}

.pdf-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.pdf-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.pdf-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.pdf-brand-name strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pdf-heading);
}

.pdf-brand-name small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pdf-muted);
}

.pdf-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 800;
  color: var(--pdf-heading);
}

/*
 * Padded to a ~41px touch target rather than left at the 21px the text occupies.
 * The nav survives down to 900px and an iPad Pro in portrait is 1024, so this row
 * is touched about as often as it is clicked. The underline moves with it: at
 * `bottom: 1px` inside the padded box it sits the same 9px under the text that
 * `bottom: -9px` gave when the box was the text.
 */
.pdf-nav a {
  position: relative;
  padding: 10px 0;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.pdf-nav a:hover,
.pdf-nav a.is-active {
  color: var(--pdf-blue);
  transform: translateY(-1px);
}

.pdf-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: var(--pdf-blue);
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  content: '';
}

.pdf-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.pdf-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdf-icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--pdf-blue);
  background: transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.pdf-icon-button:hover {
  transform: translateY(-1px);
  background: var(--pdf-soft);
}

.pdf-icon-button svg {
  width: 22px;
  height: 22px;
}

/*
 * The hamburger only exists below the nav's breakpoint. Hiding it with a media
 * query rather than JS means it is never briefly visible on a wide screen.
 */
.pdf-menu-toggle {
  display: none;
}

.pdf-mobile-nav {
  display: none;
}

/* ------------------------------------------------------------------ buttons */

.pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.pdf-button svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.pdf-page .pdf-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pdf-blue-deep), var(--pdf-sky));
  box-shadow: 0 16px 30px rgba(10, 88, 202, 0.26);
}

.pdf-page .pdf-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(10, 88, 202, 0.32);
}

.pdf-page[data-pdf-theme='dark'] .pdf-button-primary {
  color: #061021;
  background: linear-gradient(135deg, #5aa2ff, #8cc4ff);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.pdf-button-secondary,
.pdf-button-outline {
  color: var(--pdf-blue);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(10, 88, 202, 0.4);
}

.pdf-button-secondary:hover,
.pdf-button-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 88, 202, 0.7);
  box-shadow: var(--pdf-shadow-soft);
}

.pdf-page[data-pdf-theme='dark'] .pdf-button-secondary,
.pdf-page[data-pdf-theme='dark'] .pdf-button-outline {
  color: #e9f1ff;
  background: rgba(17, 30, 51, 0.8);
  border-color: rgba(90, 162, 255, 0.5);
}

.pdf-header-cta {
  min-height: 44px;
  padding-inline: 18px;
}

/* --------------------------------------------------------------------- hero */

.pdf-hero {
  position: relative;
  padding: 68px 0 84px;
}

.pdf-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 22%, rgba(10, 88, 202, 0.1), transparent 20rem),
    radial-gradient(circle at 82% 18%, rgba(232, 38, 45, 0.07), transparent 18rem);
}

.pdf-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
}

.pdf-hero-copy {
  min-width: 0;
}

.pdf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border: 1px solid rgba(10, 88, 202, 0.24);
  border-radius: 999px;
  background: rgba(10, 88, 202, 0.08);
  color: var(--pdf-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdf-eyebrow svg {
  width: 15px;
  height: 15px;
}

.pdf-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--pdf-heading);
}

.pdf-hero h1 span {
  background: linear-gradient(120deg, var(--pdf-blue), var(--pdf-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pdf-hero-text {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--pdf-muted);
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.pdf-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--pdf-muted);
}

.pdf-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pdf-trust-list svg {
  width: 18px;
  height: 18px;
  color: var(--pdf-green);
}

.pdf-shot {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--pdf-border);
  border-radius: 20px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow);
  animation: pdf-float 9s ease-in-out infinite;
}

.pdf-shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.pdf-shot figcaption {
  padding: 12px 8px 4px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--pdf-muted);
}

@keyframes pdf-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ----------------------------------------------------------------- sections */

.pdf-section {
  padding: 78px 0;
}

.pdf-section-tight {
  padding: 58px 0;
}

.pdf-section-heading {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.pdf-section-heading h1,
.pdf-section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--pdf-heading);
}

.pdf-section-heading > p:not(.pdf-section-kicker):not(.pdf-eyebrow) {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pdf-muted);
}

/* The pricing page leads with this block, so its heading is the page h1. */
.pdf-heading-display h1,
.pdf-heading-display h2 {
  font-size: clamp(34px, 4.6vw, 48px);
}

.pdf-section-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 88, 202, 0.09);
  color: var(--pdf-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------------- features */

.pdf-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pdf-card {
  padding: 26px 24px;
  border: 1px solid var(--pdf-border);
  border-radius: var(--pdf-radius);
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pdf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 88, 202, 0.3);
  box-shadow: var(--pdf-shadow);
}

.pdf-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--pdf-heading);
}

.pdf-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--pdf-muted);
}

.pdf-card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: rgba(10, 88, 202, 0.1);
  color: var(--pdf-blue);
}

.pdf-card-icon svg {
  width: 24px;
  height: 24px;
}

.pdf-icon-red {
  background: rgba(232, 38, 45, 0.1);
  color: var(--pdf-red);
}

.pdf-icon-orange {
  background: rgba(255, 122, 41, 0.13);
  color: #d0620f;
}

.pdf-icon-green {
  background: rgba(20, 153, 106, 0.12);
  color: var(--pdf-green);
}

.pdf-page[data-pdf-theme='dark'] .pdf-icon-orange {
  color: var(--pdf-orange);
}

/* -------------------------------------------------------------- how it works */

.pdf-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* The connecting rule sits behind the cards and stops short of both ends. */
.pdf-steps::before {
  position: absolute;
  top: 46px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(10, 88, 202, 0.05),
    rgba(10, 88, 202, 0.32),
    rgba(10, 88, 202, 0.05)
  );
  content: '';
}

.pdf-step {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--pdf-border);
  border-radius: var(--pdf-radius);
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
  text-align: center;
}

.pdf-step-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--pdf-blue-deep), var(--pdf-sky));
  color: #ffffff;
}

.pdf-step-icon svg {
  width: 26px;
  height: 26px;
}

.pdf-step-number {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pdf-blue);
}

.pdf-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--pdf-heading);
}

.pdf-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--pdf-muted);
}

/* --------------------------------------------------------------- gallery */

.pdf-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pdf-gallery-item {
  margin: 0;
  padding: 10px 10px 0;
  border: 1px solid var(--pdf-border);
  border-radius: 18px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pdf-gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 88, 202, 0.3);
  box-shadow: var(--pdf-shadow);
}

.pdf-gallery-item img {
  width: 100%;
  height: auto;
  border: 1px solid var(--pdf-border);
  border-radius: 11px;
}

.pdf-gallery-item figcaption {
  padding: 16px 12px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pdf-muted);
}

.pdf-gallery-item figcaption strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 800;
  color: var(--pdf-heading);
}

/* ------------------------------------------------------------------ privacy */

.pdf-proof {
  padding: 40px;
  border: 1px solid var(--pdf-border);
  border-radius: 22px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
}

.pdf-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pdf-proof-item {
  padding: 22px;
  border: 1px dashed rgba(10, 88, 202, 0.3);
  border-radius: var(--pdf-radius-sm);
  background: rgba(10, 88, 202, 0.045);
}

.pdf-page[data-pdf-theme='dark'] .pdf-proof-item {
  background: rgba(90, 162, 255, 0.07);
}

.pdf-proof-item h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--pdf-heading);
}

.pdf-proof-item h3 svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: var(--pdf-blue);
}

.pdf-proof-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pdf-muted);
}

.pdf-proof-note {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--pdf-border);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--pdf-muted);
}

/* ---------------------------------------------------------------------- pro */

.pdf-pro-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--pdf-border);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(10, 88, 202, 0.06), rgba(255, 122, 41, 0.05));
  box-shadow: var(--pdf-shadow-soft);
}

.pdf-page[data-pdf-theme='dark'] .pdf-pro-showcase {
  background: linear-gradient(135deg, rgba(90, 162, 255, 0.09), rgba(255, 122, 41, 0.06));
}

.pdf-pro-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pdf-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdf-page[data-pdf-theme='dark'] .pdf-pro-kicker {
  color: #061021;
}

.pdf-pro-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--pdf-heading);
}

.pdf-pro-copy > p:not(.pdf-pro-kicker) {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--pdf-muted);
}

.pdf-pro-list {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.pdf-pro-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--pdf-muted);
}

.pdf-pro-list svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--pdf-green);
}

.pdf-pro-list strong {
  display: block;
  color: var(--pdf-heading);
  font-weight: 800;
}

.pdf-pro-panel {
  padding: 20px;
  border: 1px solid var(--pdf-border);
  border-radius: 18px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow);
}

.pdf-pro-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--pdf-border);
}

.pdf-pro-panel-header span {
  font-size: 14px;
  font-weight: 800;
  color: var(--pdf-heading);
}

.pdf-pro-panel-header strong {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pdf-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdf-page[data-pdf-theme='dark'] .pdf-pro-panel-header strong {
  color: #061021;
}

.pdf-pro-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--pdf-border);
}

.pdf-pro-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.pdf-pro-row strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--pdf-heading);
}

.pdf-pro-row small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--pdf-muted);
}

.pdf-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: var(--pdf-soft);
  font-size: 11.5px;
  font-weight: 800;
}

.pdf-seg span {
  padding: 5px 9px;
  border-radius: 6px;
  color: var(--pdf-muted);
  white-space: nowrap;
}

.pdf-seg span.is-on {
  background: var(--pdf-surface);
  color: var(--pdf-blue);
  box-shadow: 0 1px 3px rgba(13, 38, 88, 0.14);
}

.pdf-toggle {
  display: inline-grid;
  place-items: center end;
  width: 42px;
  height: 24px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(20, 153, 106, 0.9);
  font-size: 0;
}

.pdf-toggle::after {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  content: '';
}

.pdf-chip-input {
  padding: 6px 11px;
  border: 1px solid var(--pdf-border);
  border-radius: 8px;
  background: var(--pdf-soft);
  color: var(--pdf-heading);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
}

/* ------------------------------------------------------------------ pricing */

.pdf-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pdf-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border: 1px solid var(--pdf-border);
  border-radius: 20px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pdf-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 88, 202, 0.32);
  box-shadow: var(--pdf-shadow);
}

.pdf-price-free .pdf-plan-label {
  background: rgba(20, 153, 106, 0.13);
  color: #0f7a54;
}

.pdf-page[data-pdf-theme='dark'] .pdf-price-free .pdf-plan-label {
  background: rgba(20, 153, 106, 0.22);
  color: #5fdcac;
}

.pdf-price-free {
  background: linear-gradient(180deg, rgba(10, 88, 202, 0.05), transparent 60%), var(--pdf-surface);
}

.pdf-price-featured {
  border-color: rgba(10, 88, 202, 0.55);
  box-shadow: 0 26px 60px rgba(10, 88, 202, 0.2);
  transform: translateY(-8px);
}

.pdf-price-featured:hover {
  transform: translateY(-12px);
}

.pdf-price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pdf-blue-deep), var(--pdf-sky));
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(10, 88, 202, 0.3);
}

.pdf-plan-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 88, 202, 0.1);
  color: var(--pdf-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pdf-price-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pdf-heading);
}

.pdf-price-card-top p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pdf-muted);
  min-height: 44px;
}

/*
 * The price block, stacked: struck price, amount, discount pill, billing note —
 * each on its own line, the way the reference cards read.
 *
 * `min-height` rather than four cards each finding their own height. Only the
 * yearly cycle carries a real discount, so only it has a struck price and a
 * pill; without a reserved floor the other three cards would start their feature
 * list 50px higher and the row would look broken rather than honest.
 */
.pdf-price-block {
  min-height: 158px;
  margin-bottom: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--pdf-border);
}

.pdf-price-was {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--pdf-muted);
  text-decoration: line-through;
}

.pdf-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
}

.pdf-price strong {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--pdf-blue);
}

/* Free is not a price to sell, so it is not painted in the selling colour. */
.pdf-price-free .pdf-price strong {
  color: var(--pdf-heading);
}

.pdf-price > span {
  font-size: 18px;
  font-weight: 800;
  color: var(--pdf-heading);
}

.pdf-discount-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 13px;
  border-radius: 8px;
  background: rgba(20, 153, 106, 0.13);
  color: #0f7a54;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.pdf-page[data-pdf-theme='dark'] .pdf-discount-badge {
  background: rgba(20, 153, 106, 0.22);
  color: #5fdcac;
}

.pdf-price-sub {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pdf-muted);
}

.pdf-price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

.pdf-price-card li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--pdf-text);
}

.pdf-price-card li svg {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  color: var(--pdf-blue);
}

.pdf-price-card .pdf-button {
  width: 100%;
}

/*
 * The payment footnote under the plan cards.
 *
 * This was a full-width centred flex row, which put the lock icon hard against
 * the left edge of the section and the text centred in the ~1000px of space left
 * over — the two read as unrelated things rather than one note. Constraining the
 * whole note and left-aligning it puts the icon back beside the sentence it
 * belongs to, and the surface makes it a deliberate footnote instead of loose
 * text under a card row.
 */
.pdf-secure-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 700px;
  margin: 34px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--pdf-border);
  border-radius: var(--pdf-radius-sm);
  background: var(--pdf-surface);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--pdf-muted);
  text-align: left;
}

.pdf-secure-note a {
  color: var(--pdf-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdf-secure-note a:hover {
  color: var(--pdf-link-hover);
}

.pdf-secure-note a {
  color: var(--pdf-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdf-secure-note a:hover {
  color: var(--pdf-link-hover);
}

/* `margin-top` nudges the lock onto the optical centre of the first line. */
.pdf-secure-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--pdf-green);
}

/* ---------------------------------------------------------- comparison table */

/*
 * A horizontally scrolling table is invisible as an affordance: the right-hand
 * column is simply absent, and nothing on screen says it is reachable. The hint
 * appears only below the width at which the table actually overflows.
 */
.pdf-table-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pdf-muted);
}

.pdf-table-hint svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--pdf-blue);
}

.pdf-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--pdf-border);
  border-radius: 18px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
}

.pdf-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.pdf-table th,
.pdf-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--pdf-border);
  vertical-align: top;
}

.pdf-table thead th {
  position: sticky;
  top: 0;
  background: var(--pdf-soft);
  color: var(--pdf-heading);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pdf-table tbody th {
  font-weight: 800;
  color: var(--pdf-heading);
  width: 34%;
}

.pdf-table td {
  color: var(--pdf-muted);
}

.pdf-table tbody tr:last-child th,
.pdf-table tbody tr:last-child td {
  border-bottom: 0;
}

.pdf-table tbody tr:hover th,
.pdf-table tbody tr:hover td {
  background: rgba(10, 88, 202, 0.04);
}

.pdf-page[data-pdf-theme='dark'] .pdf-table tbody tr:hover th,
.pdf-page[data-pdf-theme='dark'] .pdf-table tbody tr:hover td {
  background: rgba(90, 162, 255, 0.06);
}

.pdf-yes,
.pdf-no {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.pdf-yes {
  color: var(--pdf-green-text);
}

.pdf-no {
  color: var(--pdf-muted);
}

.pdf-yes svg,
.pdf-no svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

/* -------------------------------------------------------------- callout card */

.pdf-callout {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid var(--pdf-border);
  border-radius: 20px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
}

/* A callout that follows a grid of cards rather than opening a section. */
.pdf-callout-after {
  margin-top: 28px;
}

.pdf-callout-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: rgba(10, 88, 202, 0.1);
  color: var(--pdf-blue);
}

.pdf-callout-icon svg {
  width: 30px;
  height: 30px;
}

.pdf-callout h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pdf-heading);
}

.pdf-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--pdf-muted);
}

.pdf-callout a:not(.pdf-button) {
  color: var(--pdf-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdf-callout a:not(.pdf-button):hover {
  color: var(--pdf-link-hover);
}

/* --------------------------------------------------------------- limits list */

.pdf-limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdf-limits li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 19px 22px;
  border: 1px solid var(--pdf-border);
  border-radius: var(--pdf-radius-sm);
  background: var(--pdf-surface);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--pdf-muted);
}

.pdf-limits svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--pdf-orange);
}

.pdf-limits strong {
  display: block;
  margin-bottom: 3px;
  color: var(--pdf-heading);
  font-weight: 800;
}

/* ----------------------------------------------------------------------- faq */

.pdf-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.pdf-faq-item {
  padding: 4px 22px;
  border: 1px solid var(--pdf-border);
  border-radius: var(--pdf-radius);
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
}

.pdf-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--pdf-heading);
  cursor: pointer;
  list-style: none;
}

.pdf-faq-item summary::-webkit-details-marker {
  display: none;
}

.pdf-faq-item summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--pdf-blue);
  transition: transform 0.25s ease;
}

.pdf-faq-item[open] summary svg {
  transform: rotate(180deg);
}

.pdf-faq-item p {
  margin: 0 0 19px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--pdf-muted);
}

.pdf-faq-item p a,
.pdf-prose a {
  color: var(--pdf-link);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdf-faq-item p a:hover,
.pdf-prose a:hover {
  color: var(--pdf-link-hover);
}

.pdf-faq-item code,
.pdf-prose code {
  padding: 2px 7px;
  border: 1px solid var(--pdf-border);
  border-radius: 6px;
  background: var(--pdf-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  word-break: break-all;
}

/* -------------------------------------------------------- policy / long-form */

.pdf-doc-main {
  padding: 46px 0 78px;
}

.pdf-doc-hero {
  position: relative;
  padding: 40px;
  margin-bottom: 34px;
  border: 1px solid var(--pdf-border);
  border-radius: 24px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
  overflow: hidden;
}

.pdf-doc-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(10, 88, 202, 0.1), transparent 16rem),
    radial-gradient(circle at 6% 88%, rgba(255, 122, 41, 0.09), transparent 14rem);
  pointer-events: none;
  content: '';
}

.pdf-doc-hero > * {
  position: relative;
}

.pdf-doc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.pdf-doc-eyebrow img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.pdf-doc-eyebrow span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pdf-blue);
}

.pdf-doc-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--pdf-heading);
}

.pdf-doc-hero > p:not(.pdf-doc-eyebrow) {
  max-width: 640px;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--pdf-muted);
}

.pdf-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdf-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--pdf-border);
  border-radius: 999px;
  background: var(--pdf-soft);
  color: var(--pdf-heading);
  font-size: 12.5px;
  font-weight: 700;
}

.pdf-pill svg {
  width: 15px;
  height: 15px;
  color: var(--pdf-green);
}

.pdf-doc-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.pdf-doc-aside {
  position: sticky;
  top: 100px;
  padding: 26px 24px;
  border: 1px solid var(--pdf-border);
  border-radius: 18px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
}

.pdf-doc-aside h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pdf-heading);
}

.pdf-doc-aside p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pdf-muted);
}

.pdf-doc-toc {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdf-doc-toc a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pdf-muted);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.pdf-doc-toc a:hover,
.pdf-doc-toc a.is-active {
  background: rgba(10, 88, 202, 0.09);
  color: var(--pdf-blue);
}

.pdf-doc-stack {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.pdf-prose {
  padding: 30px 32px;
  border: 1px solid var(--pdf-border);
  border-radius: 18px;
  background: var(--pdf-surface);
  box-shadow: var(--pdf-shadow-soft);
  scroll-margin-top: 100px;
}

.pdf-prose h2 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pdf-heading);
}

.pdf-prose h3 {
  margin: 24px 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--pdf-heading);
}

.pdf-prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--pdf-muted);
}

.pdf-prose p:last-child,
.pdf-prose ul:last-child {
  margin-bottom: 0;
}

.pdf-prose ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.pdf-prose li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pdf-muted);
}

.pdf-prose strong {
  color: var(--pdf-heading);
}

.pdf-prose-accent {
  border-left: 4px solid var(--pdf-blue);
}

/* ------------------------------------------------------------------- footer */

.pdf-footer {
  position: relative;
  margin-top: 40px;
  padding: 56px 0 26px;
  border-top: 1px solid var(--pdf-border);
  background: rgba(255, 255, 255, 0.6);
}

.pdf-page[data-pdf-theme='dark'] .pdf-footer {
  background: rgba(9, 18, 34, 0.6);
}

.pdf-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.pdf-footer-brand p {
  max-width: 300px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--pdf-muted);
}

.pdf-footer h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pdf-heading);
}

/*
 * `gap: 0` with padding on the links rather than a gap between them. At 14px a
 * footer link is 21px tall, and a 21px target with a 10px gap is a miss waiting
 * to happen on any touch screen — which above 900px includes every iPad. The
 * padding makes each row ~39px and clickable across its whole width; the
 * on-screen rhythm barely changes.
 */
.pdf-footer-links {
  display: grid;
  gap: 0;
  align-content: start;
}

.pdf-footer-links a {
  padding: 9px 0;
}

.pdf-footer a {
  font-size: 14px;
  font-weight: 600;
  color: var(--pdf-muted);
  transition: color 0.2s ease;
}

.pdf-footer a:hover {
  color: var(--pdf-blue);
}

.pdf-footer-install a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--pdf-border);
  border-radius: 12px;
  background: var(--pdf-surface);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pdf-heading);
}

.pdf-footer-install a:hover {
  border-color: rgba(10, 88, 202, 0.4);
  color: var(--pdf-heading);
}

.pdf-footer-install svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

/*
 * Two flex children rather than one sentence with a `·` in it. Written inline,
 * the separator strands at the end of whichever line the wrap lands on; as a gap
 * it simply becomes a line break when there is no room beside it.
 */
.pdf-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 14px;
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--pdf-border);
  font-size: 13px;
  text-align: center;
  color: var(--pdf-muted);
}

.pdf-copyright a {
  color: var(--pdf-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*
 * The contact address is a direct child of the flex row, not a link inside a
 * sentence, so WCAG 2.5.5's inline exception does not cover it and its 21px
 * text height is the whole target. Padded to ~37px.
 */
.pdf-copyright > a {
  padding: 8px 0;
}

.pdf-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pdf-blue-deep), var(--pdf-sky));
  box-shadow: 0 14px 30px rgba(10, 88, 202, 0.32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.pdf-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pdf-scroll-top svg {
  width: 21px;
  height: 21px;
}

/* ------------------------------------------------------------- reveal on scroll */

[data-pdf-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-pdf-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .pdf-nav {
    gap: 24px;
  }

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

  .pdf-price-featured,
  .pdf-price-featured:hover {
    transform: none;
  }

  .pdf-pro-showcase {
    grid-template-columns: 1fr;
  }

  .pdf-doc-grid {
    grid-template-columns: 1fr;
  }

  .pdf-doc-aside {
    position: static;
  }
}

@media (max-width: 900px) {
  .pdf-nav {
    display: none;
  }

  .pdf-menu-toggle {
    display: inline-grid;
  }

  /*
   * Opened by script.js flipping [hidden]. It is a plain block in the flow under
   * the header rather than an overlay, so the page behind it never has to be
   * scroll-locked and nothing can end up trapped underneath it.
   */
  .pdf-mobile-nav {
    display: block;
    border-top: 1px solid var(--pdf-border);
    background: var(--pdf-surface);
    box-shadow: var(--pdf-shadow-soft);
  }

  .pdf-mobile-nav[hidden] {
    display: none;
  }

  .pdf-mobile-nav ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 14px 0 20px;
    list-style: none;
  }

  .pdf-mobile-nav a {
    display: block;
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--pdf-heading);
  }

  .pdf-mobile-nav a:hover {
    background: var(--pdf-soft);
    color: var(--pdf-blue);
  }

  .pdf-mobile-nav .pdf-button {
    width: 100%;
    margin-top: 8px;
  }

  .pdf-header-cta {
    display: none;
  }

  .pdf-hero {
    padding-top: 34px;
  }

  .pdf-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .pdf-hero-copy {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .pdf-hero-text {
    margin-inline: auto;
  }

  .pdf-actions,
  .pdf-trust-list {
    justify-content: center;
  }

  /*
   * Six cards drop to two columns here. The three-card rows do NOT: two columns
   * of three leaves one card alone in half a row, and spanning it full-width
   * makes the last step look like the important one. They stay three-across
   * until there is genuinely no room, at 720px, and then go straight to one.
   */
  .pdf-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pdf-callout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .pdf-callout .pdf-button {
    width: 100%;
    max-width: 340px;
  }

  .pdf-proof,
  .pdf-pro-showcase,
  .pdf-doc-hero {
    padding: 28px 24px;
  }

  .pdf-shot {
    animation: none;
  }
}

/*
 * The point at which three cards across genuinely stop fitting. Everything that
 * was still multi-column above this goes to one, in one place, so the ladder is
 * readable rather than scattered through three blocks.
 */
@media (max-width: 720px) {
  .pdf-steps,
  .pdf-proof-grid,
  .pdf-faq-grid {
    grid-template-columns: 1fr;
  }

  .pdf-steps::before {
    display: none;
  }
}

@media (max-width: 620px) {
  /* Uppercase labels at 11px read fine on a monitor and small in the hand. */
  .pdf-plan-label,
  .pdf-price-badge,
  .pdf-pro-kicker,
  .pdf-pro-panel-header strong {
    font-size: 12px;
  }

  .pdf-eyebrow,
  .pdf-section-kicker {
    font-size: 12.5px;
  }

  .pdf-table-hint {
    display: flex;
  }

  .pdf-container {
    width: min(calc(100% - 32px), var(--pdf-container));
  }

  .pdf-section {
    padding: 56px 0;
  }

  .pdf-brand-name small {
    display: none;
  }

  .pdf-feature-grid,
  .pdf-price-grid,
  .pdf-gallery,
  .pdf-limits,
  .pdf-footer-grid {
    grid-template-columns: 1fr;
  }

  .pdf-price-card-top p {
    min-height: 0;
  }

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

  .pdf-prose {
    padding: 24px 20px;
  }

  .pdf-secure-note {
    padding: 14px 16px;
  }

  .pdf-doc-main {
    padding-top: 30px;
  }
}

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

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

  [data-pdf-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .pdf-header,
  .pdf-footer,
  .pdf-scroll-top,
  .pdf-doc-aside {
    display: none;
  }

  .pdf-doc-grid {
    grid-template-columns: 1fr;
  }

  .pdf-prose,
  .pdf-doc-hero {
    border: 0;
    box-shadow: none;
    padding-inline: 0;
  }
}
