/* PDF Tools — product page theme

   Provenance: pdf-tools/docs/ios/04-DESIGN-SYSTEM.md §3.
   Document red has separate foreground and fill roles in the native app;
   this page uses the foreground value for text and the fill value for the
   dark hero's solid mark.
*/
:root {
  --paper: #F8F8F8;
  --ink: #17181B;
  --ink-2: #555861;
  --ink-3: #6D727B;
  --line: #DADCE0;
  --line-strong: #C5C8CE;
  --accent: #D0211B;
  --accent-dark: #A81810;
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Noto Sans SC', monospace;
  --pdftools-hero: #17181B;
  --pdftools-surface: #FFFFFF;
}

.pdftools-page {
  background: var(--paper);
}

.pdftools-page .navbar.scrolled {
  background: rgba(248, 248, 248, 0.92);
}

.pdftools-page ::selection {
  background: var(--accent);
  color: #fff;
}

.pdftools-page .app-hero {
  padding: 148px 24px 104px;
  color: #FFFFFF;
  background: var(--pdftools-hero);
}


.pdftools-page .app-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.pdftools-page .hero-content {
  max-width: 1000px;
}

.pdftools-page .hero-eyebrow {
  color: #FF8D82;
}

.pdftools-page .hero-eyebrow::before {
  background: #FF5F52;
}

.pdftools-page .app-hero-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  border: 0;
  border-radius: 24%;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.pdftools-page .app-hero-title {
  max-width: 1000px;
  margin: 28px 0 36px;
  font-size: clamp(3.25rem, 6.4vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.pdftools-page .app-hero-subtitle {
  max-width: 570px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.82;
}

.pdftools-page .app-hero-cta {
  gap: 24px;
}

.pdftools-page .app-hero-cta .text-link {
  color: #FF8D82;
}


.pdftools-page .app-badge img {
  height: 42px;
}



.pdftools-page .app-features {
  background: var(--paper);
}

.pdftools-page .app-features .section-container {
  padding-top: 104px;
  padding-bottom: 104px;
}

.pdftools-page .app-features .section-head {
  margin-bottom: 34px;
}

.pdftools-page .app-features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pdftools-page .app-feature-item {
  min-height: 230px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--pdftools-surface);
}


.pdftools-page .app-feature-item .mono-label {
  color: var(--accent-dark);
}

.pdftools-page .app-feature-item h2,
.pdftools-page .app-feature-item h3 {
  font-size: 1.22rem;
  font-weight: 600;
}

.pdftools-page .app-feature-item p {
  color: var(--ink-2);
}

.pdftools-page .app-links {
  background: var(--paper);
}

.pdftools-page .app-links .section-rule {
  background: var(--line);
}

.pdftools-page .app-links .section-rule::after {
  background: var(--accent);
}

.pdftools-page .app-links .app-link-row-arrow {
  color: var(--accent);
}

.pdftools-page .app-links .app-link-row {
  padding: 24px 20px;
  border-color: var(--line);
  border-radius: 14px;
}

.pdftools-page .app-links .app-link-row:hover {
  padding-left: 28px;
  background: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1024px) {
  .pdftools-page .app-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .pdftools-page .app-hero-title {
    font-size: clamp(3rem, 6.8vw, 5rem);
  }
}

@media (max-width: 900px) {
  .pdftools-page .app-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  .pdftools-page .app-hero {
    padding: 120px 20px 76px;
  }

  .pdftools-page .app-hero-title {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }


  .pdftools-page .app-features .section-container {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .pdftools-page .app-features-grid {
    grid-template-columns: 1fr;
  }


  .pdftools-page .app-feature-item {
    min-height: 0;
  }
}
