@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #17171c;
  --muted: #6d6d78;
  --line: #e8e8ed;
  --white: #ffffff;
  --soft: #f7f7fa;
  --accent: #6956e8;
  --accent-dark: #5040c7;
  --accent-soft: #f0edff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--accent);
}

.nav-link {
  font-weight: 600;
  color: var(--muted);
}

.hero {
  padding: 110px 0 100px;
  background: radial-gradient(
    circle at 50% 0%,
    #f2efff 0,
    #fff 48%
  );
  text-align: center;
}

.hero-inner {
  max-width: 800px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

h1,
h2,
h3 {
  font-family: Manrope, Arial, sans-serif;
}

h1 {
  margin: 18px 0;
  font-size: clamp(48px, 8vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 19px;
}

.primary-button,
.support-button {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  color: white;
  background: var(--accent);
  font: 700 15px "DM Sans", Arial, sans-serif;
  cursor: pointer;
}

.primary-button:hover,
.support-button:hover {
  background: var(--accent-dark);
}

.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.tools-section {
  padding: 90px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2,
.privacy-box h2,
.support-box h2 {
  margin: 8px 0 0;
  font-size: 34px;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.section-heading > p {
  max-width: 360px;
  color: var(--muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.tool-card.featured {
  border-color: #d8d1ff;
  background: var(--accent-soft);
}

.tool-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #f0f0f4;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.featured .tool-icon {
  background: white;
  color: var(--accent);
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.tool-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.tool-status {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.privacy-section {
  padding: 20px 0 90px;
}

.privacy-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 36px;
  border-radius: 22px;
  background: var(--soft);
}

.privacy-icon {
  font-size: 30px;
}

.privacy-box p,
.support-box p {
  color: var(--muted);
  max-width: 700px;
}

.support-section {
  padding: 0 0 90px;
}

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.support-box h2 {
  max-width: 650px;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer strong {
  color: var(--ink);
  margin-right: 10px;
}

@media (max-width: 800px) {
  .hero {
    padding: 80px 0;
  }

  .section-heading,
  .support-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .privacy-box {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 54px;
  }

  .hero-text {
    font-size: 17px;
  }

  .trust-row {
    flex-direction: column;
    gap: 6px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
/* Highlight the live Merge PDF tool card to match Compress PDF. */
.tool-card:has(a[href="/merge-pdf.php"]),
.tool-card:has(a[href="https://filebae.com/merge-pdf.php"]) {
  border-color: #d8d1ff;
  background: var(--accent-soft);
}

.tool-card:has(a[href="/merge-pdf.php"]) .tool-icon,
.tool-card:has(a[href="https://filebae.com/merge-pdf.php"]) .tool-icon {
  background: var(--white);
  color: var(--accent);
}
