/* ============================================================
   PDF Tools Hub — Shared Stylesheet
   Design system: "Paper & Ink" — warm paper background,
   near-black ink text, a confident clay accent, and a serif
   display face (Fraunces) for headings. Crafted, editorial,
   deliberately not the default SaaS-blue template look.
   ============================================================ */

:root {
  --bg: #FAF8F3;
  --bg-soft: #F2EDE4;
  --bg-card: #FFFFFF;
  --text: #1B1A17;
  --text-secondary: #56524A;
  --text-muted: #8C867B;
  --accent: #B4541E;
  --accent-hover: #97400F;
  --accent-soft: #FBEDE3;
  --accent-ink: #7A3410;
  --border: #E7E0D4;
  --border-light: #F1ECE3;
  --green: #2F7D4F;   --green-soft: #EAF4EE;
  --red: #BC3B2C;     --red-soft: #FBEAE7;
  --amber: #B07414;   --amber-soft: #FBF1DD;
  --purple: #7A4BA0;  --purple-soft: #F3ECF8;
  --blue: #2C6E8F;    --blue-soft: #E8F1F5;
  --footer-bg: #1B1A17;
  --footer-text: #B8B2A6;
  --footer-muted: #847E72;
  --shadow-sm: 0 1px 2px rgba(40,30,15,.05);
  --shadow-md: 0 6px 22px rgba(40,30,15,.08);
  --shadow-lg: 0 20px 50px rgba(40,30,15,.12);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

img { max-width: 100%; }

/* ---------------------------------------------------------- */
/* Navigation (covers both .nav and .navbar dialects)        */
/* ---------------------------------------------------------- */
.nav, .navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner, .navbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar { padding: 0 24px; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(180, 84, 30, 0.28);
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------------------------------------------------------- */
/* Homepage: Hero                                            */
/* ---------------------------------------------------------- */
.hero {
  padding: 84px 24px 60px;
  background:
    radial-gradient(1200px 380px at 50% -120px, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.hero-inner { max-width: 740px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  padding: 6px 15px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #F0D9C8;
}
.hero h1 {
  margin-bottom: 18px;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--accent); }
.hero p {
  margin: 0 auto;
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ---------------------------------------------------------- */
/* Homepage: Category grid                                   */
/* ---------------------------------------------------------- */
.categories, .articles {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px 24px 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}
.section-link:hover { text-decoration: underline; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.category-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.category-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 1.1rem;
}
.category-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.category-icon.optimize  { background: var(--amber-soft);  color: var(--amber); }
.category-icon.organize  { background: var(--blue-soft);   color: var(--blue); }
.category-icon.convert   { background: var(--green-soft);  color: var(--green); }
.category-icon.edit      { background: #FBE3EE;            color: #B4326B; }
.category-icon.security  { background: var(--purple-soft); color: var(--purple); }
.category-icon.tools     { background: var(--bg-soft);     color: var(--text-secondary); }
.category-info h3 { margin-bottom: 2px; font-size: 0.95rem; font-weight: 600; font-family: var(--sans); }
.category-info p { color: var(--text-muted); font-size: 0.78rem; line-height: 1.4; }

/* ---------------------------------------------------------- */
/* Homepage: Article cards                                   */
/* ---------------------------------------------------------- */
.articles { padding: 60px 24px 80px; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.article-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.article-cover {
  height: 150px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -60%;
  right: -20%;
  background: radial-gradient(circle, rgba(180,84,30,0.07) 0%, transparent 70%);
}
.article-cover-icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  color: var(--accent-ink);
}
.article-cover-icon svg { width: 50px; height: 50px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.article-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.article-tag {
  width: fit-content;
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 11px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.article-tag.optimize { background: var(--amber-soft);  color: var(--amber); }
.article-tag.tools    { background: var(--bg-soft);     color: var(--text-secondary); }
.article-card h2 {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
}
.article-card h2 a { transition: color 0.2s; }
.article-card h2 a:hover { color: var(--accent); }
.article-card p {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.76rem;
}
.article-readmore {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  transition: gap 0.2s;
}
.article-card:hover .article-readmore { gap: 8px; }

/* ---------------------------------------------------------- */
/* Homepage: Newsletter / CTA                                */
/* ---------------------------------------------------------- */
.newsletter {
  padding: 60px 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter h2 { margin-bottom: 10px; font-size: 1.6rem; font-weight: 600; }
.newsletter p { margin-bottom: 24px; color: var(--text-secondary); font-size: 0.98rem; }
.newsletter-button {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.newsletter-button:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ---------------------------------------------------------- */
/* Content pages: Page header + content                      */
/* ---------------------------------------------------------- */
.page-header {
  background:
    radial-gradient(900px 300px at 80% -140px, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 56px 24px 42px;
  border-bottom: 1px solid var(--border-light);
}
.page-header-inner { max-width: 760px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.page-header h1 { font-size: 2.4rem; font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; margin-bottom: 14px; }
.page-header p { font-size: 1.08rem; color: var(--text-secondary); }

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 42px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.content h3 { font-size: 1.22rem; font-weight: 600; margin: 28px 0 12px; }
.content p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.85; }
.content ul, .content ol { margin: 16px 0 20px 22px; }
.content li { margin-bottom: 10px; color: var(--text-secondary); }
.content strong { color: var(--text); font-weight: 600; }
.content a { color: var(--accent); }
.content a:hover { text-decoration: underline; }
.content code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.86em;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2px 6px;
}
.content img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin: 8px 0 24px;
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 22px 0;
}
.card h3 { font-family: var(--sans); margin-top: 0; }

/* Tag pills (content pages) */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.tag.blue   { background: var(--blue-soft);   color: var(--blue); }
.tag.green  { background: var(--green-soft);  color: var(--green); }
.tag.amber  { background: var(--amber-soft);  color: var(--amber); }
.tag.purple { background: var(--purple-soft); color: var(--purple); }
.tag.gray   { background: var(--bg-soft);     color: var(--text-secondary); }

/* Article list (listing pages) */
.article-list { list-style: none; }
.article-list li { padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.article-list li:last-child { border-bottom: none; }
.article-list h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.article-list h3 a { color: var(--text); }
.article-list h3 a:hover { color: var(--accent); }
.article-list p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.faq-item h3 { font-family: var(--sans); margin-top: 0; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.faq-item p { margin-bottom: 0; color: var(--text-secondary); font-size: 0.95rem; }

.glossary-term { font-weight: 700; color: var(--accent); }

/* ---------------------------------------------------------- */
/* Long-form article dialect (.article-container / content)  */
/* ---------------------------------------------------------- */
.article-container { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.article-header { margin-bottom: 30px; }
.article-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.article-container h1, .article-content h1 {
  font-size: 2.4rem;
  line-height: 1.18;
  margin-bottom: 14px;
  color: var(--text);
}
.article-subtitle { font-size: 1.18rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.article-meta { font-size: 0.88rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 16px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; stroke: var(--text-muted); fill: none; stroke-width: 1.8; }

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 600;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article-content h3 { font-size: 1.25rem; font-weight: 600; margin: 26px 0 10px; }
.article-content p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.85; }
.article-content ul, .article-content ol { margin: 14px 0 18px 22px; }
.article-content li { margin-bottom: 8px; color: var(--text-secondary); }
.article-content a { color: var(--accent); }
.article-content a:hover { text-decoration: underline; }
.article-content img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin: 8px 0 24px;
}

/* Callout */
.callout {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 22px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout h4 { margin-bottom: 8px; color: var(--text); font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.callout p { margin-bottom: 0; color: var(--text-secondary); font-size: 0.96rem; }
.callout.warning { background: var(--amber-soft);  border-left-color: var(--amber); }
.callout.success { background: var(--green-soft);  border-left-color: var(--green); }
.callout.blue    { background: var(--blue-soft);   border-left-color: var(--blue); }
.callout.info    { background: var(--blue-soft);   border-left-color: var(--blue); }
.callout.tip     { background: var(--green-soft);  border-left-color: var(--green); }
.callout.purple  { background: var(--purple-soft); border-left-color: var(--purple); }
.callout.amber   { background: var(--amber-soft);  border-left-color: var(--amber); }
.callout.danger  { background: var(--red-soft);    border-left-color: var(--red); }
.callout.danger h4 { color: var(--red); }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.9rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.comparison-table th {
  background: var(--bg-soft);
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.comparison-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: #FCFAF6; }

/* Tool cards */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 18px 0;
}
.tool-card h3 { font-family: var(--sans); margin-top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1.15rem; }
.tool-rating { color: var(--amber); font-size: 1rem; letter-spacing: 1px; white-space: nowrap; }
.tool-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.tool-pros h4, .tool-cons h4 { font-family: var(--sans); font-size: 0.92rem; margin-bottom: 8px; }
.tool-pros h4 { color: var(--green); }
.tool-cons h4 { color: var(--red); }
.tool-pros, .tool-cons { font-size: 0.92rem; }
.tool-pros ul, .tool-cons ul { margin: 0 0 0 18px; }
.tool-pros li, .tool-cons li { color: var(--text-secondary); margin-bottom: 6px; }

/* Reason / fix (troubleshooting) */
.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 16px 0;
}
.reason-card h3 { font-family: var(--sans); margin-top: 0; color: var(--text); display: flex; align-items: center; }
.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 10px;
  flex-shrink: 0;
}
.fix-section { background: var(--green-soft); border-radius: var(--radius-sm); padding: 14px 18px; margin-top: 12px; }
.fix-section h4 { color: var(--green); margin-bottom: 6px; font-family: var(--sans); font-size: 0.95rem; }
.fix-section p { margin-bottom: 0; color: var(--text-secondary); }

/* Workflow step */
.workflow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 16px 0;
}
.workflow-step h3 { font-family: var(--sans); margin-top: 0; display: flex; align-items: center; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Security card */
.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 16px 0;
}
.security-card h3 { font-family: var(--sans); margin-top: 0; }

/* ---------------------------------------------------------- */
/* Footer                                                    */
/* ---------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 24px 32px;
  margin-top: 40px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; }
.footer-brand p {
  max-width: 280px;
  margin-top: 14px;
  color: var(--footer-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}
.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--sans);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--footer-muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #2C2A25;
  color: var(--footer-muted);
  font-size: 0.82rem;
  gap: 12px;
}

/* ---------------------------------------------------------- */
/* Responsive                                                */
/* ---------------------------------------------------------- */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--text); }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before,
  .nav-toggle span::after { content: ''; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 24px 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 13px 0; border-bottom: 1px solid var(--border-light); }
  .nav-links li:last-child { border-bottom: none; }

  .hero { padding: 56px 20px 40px; }
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1.02rem; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .tool-pros-cons { grid-template-columns: 1fr; }

  .page-header h1 { font-size: 1.8rem; }
  .article-container h1, .article-content h1 { font-size: 1.9rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
}
