/* /assets/pdf-workspace.css */
.pdf-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 18px;
  margin-top: 18px;
}

.pdf-viewer-wrap,
.pdf-toolbox {
  border: 1px solid var(--line, rgba(46, 35, 24, 0.1));
  border-radius: 20px;
  background: var(--card, rgba(255, 253, 248, 0.9));
  overflow: hidden;
}

.pdf-viewer {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #e9e4dc;
}

.pdf-lazy-container {
  position: relative;
  width: 100%;
  min-height: 620px;
  background: #f0ece3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-lazy-preview {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9e4dc;
}

.pdf-lazy-img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 0.72;
  filter: blur(1.5px);
}

.pdf-lazy-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(31, 26, 20, 0.42);
  backdrop-filter: blur(2px);
}

.pdf-lazy-card {
  max-width: 440px;
  width: 100%;
  background: var(--card, #fffdf8);
  border: 1px solid var(--line, rgba(46, 35, 24, 0.15));
  border-radius: 20px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.pdf-lazy-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(187, 90, 44, 0.12);
  color: var(--brand-dark, #8f431e);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pdf-lazy-text {
  margin: 0 0 18px;
  color: var(--muted, #665b4e);
  font-family: Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pdf-lazy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, var(--brand, #bb5a2c), var(--brand-dark, #8f431e));
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(187, 90, 44, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pdf-lazy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(187, 90, 44, 0.35);
}

.pdf-toolbox {
  padding: 22px;
  overflow: visible;
}

.pdf-kicker,
.pdf-field-label {
  display: block;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #665b4e);
}

.pdf-toolbox h2 {
  margin-top: 8px;
}

.pdf-toolbox > p:not(.pdf-kicker) {
  margin: 12px 0 0;
  color: var(--muted, #665b4e);
}

.pdf-toolbar {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.pdf-action,
.pdf-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line, rgba(46, 35, 24, 0.1));
  background: #fff;
  color: var(--text, #1f1a14);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.pdf-action-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(180deg, var(--brand, #bb5a2c), var(--brand-dark, var(--dark, #8f431e)));
}

.pdf-url-field,
.pdf-select-field {
  margin-top: 18px;
}

.pdf-url-input,
.pdf-select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 13px;
  border: 1px solid var(--line, rgba(46, 35, 24, 0.1));
  border-radius: 12px;
  background: #fff;
  color: var(--text, #1f1a14);
  font: 0.88rem/1.4 "Segoe UI", sans-serif;
}

.pdf-checks {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted, #665b4e);
}

.pdf-checks li + li {
  margin-top: 8px;
}

.pdf-fallback {
  margin: 0;
  padding: 18px;
  color: var(--muted, #665b4e);
  background: #f3eee7;
}

@media (max-width: 860px) {
  .pdf-workspace {
    grid-template-columns: 1fr;
  }
}

.site-trust-footer {
  width: min(1040px, calc(100% - 32px));
  margin: 34px auto 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line, rgba(46, 35, 24, 0.1));
  color: var(--muted, #665b4e);
  font: .9rem/1.5 "Segoe UI", sans-serif;
}

.site-trust-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-trust-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-trust-footer a {
  color: inherit;
  text-decoration: none;
}

.site-trust-footer a:hover,
.site-trust-footer a:focus-visible {
  color: var(--text, #1f1a14);
}

@media (max-width: 720px) {
  .pdf-viewer {
    min-height: 480px;
  }

  .site-trust-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* /assets/footer.css */
/* Enhanced Global SEO Footer for samplepdf.org */
.site-footer {
  margin-top: 56px;
  padding: 48px 0 32px;
  background: rgba(255, 253, 248, 0.96);
  border-top: 1px solid rgba(46, 35, 24, 0.12);
  color: #665b4e;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow: 0 -10px 40px rgba(39, 28, 19, 0.03);
}
.site-footer .wrap {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.footer-col h3 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8f431e;
  margin: 0 0 14px;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin-bottom: 9px;
}
.footer-list a {
  color: #554a3e;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-list a:hover {
  color: #bb5a2c;
  text-decoration: underline;
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(46, 35, 24, 0.08);
  font-size: 0.85rem;
  color: #7c7265;
}
.footer-bottom-bar a {
  color: #7c7265;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom-bar a:hover {
  color: #bb5a2c;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* /assets/trust.css */
:root {
  --bg: #f7f4ee;
  --surface: rgba(255, 253, 249, 0.92);
  --text: #1f1a14;
  --muted: #665b4e;
  --line: rgba(46, 35, 24, 0.12);
  --brand: #bb5a2c;
  --brand-dark: #8f431e;
  --accent: #244c53;
  --content: 980px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(187, 90, 44, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(36, 76, 83, 0.10), transparent 24%),
    linear-gradient(180deg, #fbf8f1, var(--bg));
  line-height: 1.7;
}
a { color: var(--accent); }
.wrap { width: min(var(--content), calc(100% - 32px)); margin: 0 auto; }
.site-header { padding: 18px 0 0; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  font-family: "Segoe UI", sans-serif;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
main { padding: 34px 0 64px; }
.hero,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(39, 28, 19, 0.06);
}
.hero { padding: clamp(28px, 6vw, 54px); }
.eyebrow {
  font-family: "Segoe UI", sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
}
h1 { margin: 12px 0 0; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.05em; }
h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 4vw, 2.35rem); line-height: 1.08; letter-spacing: -.035em; }
h3 { margin: 24px 0 8px; font-size: 1.22rem; }
p, li { color: var(--muted); }
.lead { max-width: 70ch; font-size: 1.12rem; }
.meta { font-family: "Segoe UI", sans-serif; color: var(--muted); font-size: .9rem; }
.card { margin-top: 22px; padding: 28px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.mini { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.55); }
.mini strong { display: block; margin-bottom: 6px; }
code { padding: .1em .35em; border-radius: 6px; background: rgba(36,76,83,.08); color: var(--text); }
pre { overflow-x: auto; margin: 16px 0 0; padding: 18px; border-radius: 16px; background: #201b16; color: #f8f3eb; }
pre code { padding: 0; background: transparent; color: inherit; font: .9rem/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
table { width: 100%; border-collapse: collapse; margin-top: 14px; }
th, td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-family: "Segoe UI", sans-serif; }
.notice { padding: 16px 18px; border-left: 4px solid var(--brand); background: rgba(187,90,44,.07); border-radius: 0 14px 14px 0; }
.site-footer { padding: 0 0 38px; }
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: "Segoe UI", sans-serif;
  color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; }
@media (max-width: 720px) {
  .nav { border-radius: 24px; align-items: flex-start; }
  .nav, .footer-bar { flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .hero, .card { padding: 22px; }
}
