:root {
  --slate: #333333;
  --off-white: #f8f9fa;
  --accent-blue: #0070ba;
  --text-muted: #5a5a5a;
  --border: #e2e4e8;
  --max-width: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.site-header {
  background: var(--slate);
  color: var(--off-white);
  padding: 1rem 1.5rem;
}

.site-header .wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header a {
  color: var(--off-white);
  text-decoration: none;
}

.site-header a:hover { opacity: 0.85; }

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

nav a { font-size: 0.9rem; }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

h1, h2, h3 {
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2rem; margin-top: 0; }

h2 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pillar-nav {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.pillar-nav ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.pillar-nav li { margin-bottom: 0.35rem; }

.ad-slot {
  min-height: 90px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.ad-slot--leaderboard { min-height: 90px; }

.ad-slot--responsive { min-height: 250px; }

.author-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.author-box strong { display: block; margin-bottom: 0.25rem; }

.site-footer {
  background: var(--slate);
  color: #ccc;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
}

.site-footer .wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer a { color: #fff; }

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.transparency-module {
  border-top: 1px solid #555;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  color: #aaa;
  line-height: 1.6;
}

.revenue-module {
  background: var(--accent-blue);
  color: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
}

.revenue-module .kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.revenue-module a,
.revenue-module button {
  min-height: 44px;
  min-width: 44px;
}

#paypal-container-83T2VYEH7ZFPJ {
  min-height: 44px;
  margin-bottom: 0.75rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.error-page {
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page h1 { font-size: 4rem; margin-bottom: 0.5rem; }

img {
  max-width: 100%;
  height: auto;
}

.hero-img {
  border-radius: 6px;
  margin: 1.5rem 0;
}
