html {
  scroll-behavior: smooth;
}

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

:root {
  --seo-bg: #f8f7f4;
  --seo-surface: rgba(255, 254, 250, 0.92);
  --seo-surface-strong: #f2efe8;
  --seo-ink: #1b2536;
  --seo-muted: #536072;
  --seo-border: rgba(27, 37, 54, 0.14);
  --seo-accent: #1f3659;
  --seo-accent-soft: #e7edf6;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--seo-ink);
  background:
    linear-gradient(180deg, rgba(31, 54, 89, 0.04) 0, rgba(31, 54, 89, 0) 160px),
    linear-gradient(180deg, #f8f7f4 0%, #fcfbf8 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--seo-accent);
  text-underline-offset: 0.16em;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0 10px;
  font-size: 0.95rem;
}

.brand {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--seo-ink);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topnav a {
  text-decoration: none;
  color: var(--seo-ink);
  opacity: 0.86;
}

.topnav a:hover {
  opacity: 1;
}

.hero {
  padding: 44px 0 26px;
  border-bottom: 1px solid rgba(27, 37, 54, 0.08);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seo-muted);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.97;
  text-wrap: balance;
}

.lead {
  max-width: 690px;
  margin: 20px 0 0;
  font-size: 1.08rem;
  color: var(--seo-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--seo-accent);
  background: var(--seo-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.secondary {
  background: transparent;
  color: var(--seo-accent);
}

.button:hover {
  background: #2a4670;
  border-color: #2a4670;
}

.button.secondary:hover {
  background: var(--seo-accent-soft);
  color: var(--seo-accent);
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 28px 0 6px;
}

.card,
.section,
.faq-item,
.cta {
  border: 1px solid var(--seo-border);
  background: transparent;
  box-shadow: none;
}

.card {
  padding: 0 0 18px;
  border-width: 0;
  border-top-width: 2px;
}

.card h2,
.section h2,
.cta h2,
.faq h2 {
  margin-top: 0;
}

.card h2,
.section h2,
.cta h2,
.faq h2,
.faq-item h3,
.section h3 {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
  color: var(--seo-ink);
}

.section {
  padding: 26px 0;
  margin-top: 0;
  border-width: 0 0 1px;
}

.section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.section h3 {
  margin: 22px 0 6px;
  font-size: 1.15rem;
}

.list {
  padding-left: 18px;
}

.faq {
  margin-top: 28px;
}

.faq-item {
  padding: 18px 0;
  margin-top: 0;
  border-width: 0 0 1px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.cta {
  padding: 30px 0 0;
  margin-top: 32px;
  border-width: 2px 0 0;
}

.cta p {
  max-width: 720px;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}

.meta {
  margin-top: 14px;
  color: var(--seo-muted);
  font-size: 0.92rem;
}

.footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 37, 54, 0.12);
  color: var(--seo-muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 26px;
  }

  .page {
    padding: 0 18px 56px;
  }

  h1 {
    max-width: none;
    line-height: 1.02;
  }

  .lead {
    font-size: 1rem;
  }
}
