:root {
  --bg-page: #f3f4f6;
  --bg-surface: #ffffff;
  --bg-subtle: #f9fafb;
  --border-subtle: #e5e7eb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #16a34a;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;

  /* Typography */
  --font-sans: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

h1 {
  font-family: var(--font-sans);
  font-weight: 700;
}

h2 {
  font-family: var(--font-sans);
  font-weight: 600;
}

h3 {
  font-family: var(--font-sans);
  font-weight: 500;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

/* Page header card */
header {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

header h1 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  font-weight: 700;
}

header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Top navigation */
nav {
  background: var(--bg-surface);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid var(--border-subtle);
}

nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: #374151;
}

nav a:hover {
  background: var(--bg-subtle);
}

/* Main content card */
.content {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  line-height: 1.7;
  font-size: 0.95rem;
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
}

.content h3 {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 500;
}

.content p {
  color: var(--text-muted);
}

/* Shared series buttons (products & catalogs) */
.series-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.series-buttons a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #047857;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.86rem;
  font-weight: 600;
}

.series-buttons a:hover {
  background: #047857;
  color: #ecfdf5;
}

/* Catalogs-only section card (safe on other pages) */
.category-section {
  margin-bottom: 22px;
  padding: 16px 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
}

.category-section h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #111827;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}

/* CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #22c55e;
  color: #022c22;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.btn:hover {
  background: #16a34a;
}

/* Footer */
footer {
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

footer a {
  color: inherit;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .page-shell {
    padding-inline: 14px;
  }

  nav {
    border-radius: var(--radius-md);
    justify-content: flex-start;
  }
}