/* Dedicated-page typography and spacing; homepage styles remain separate. */
.seo-content {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 3rem 0;
  line-height: 1.7;
}
.seo-content h1 {
  max-width: none;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
}
.seo-content h2 {
  max-width: none;
  margin: 2.5rem 0 .875rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
}
.seo-content p { margin: 0 0 1rem; }
.seo-content > p:first-child { margin-bottom: 1.25rem; }
.seo-content .lede { max-width: none; margin-bottom: 2rem; }
.seo-content ul { margin: 1rem 0 1.5rem; padding-left: 1.5rem; }
.seo-content li + li { margin-top: .5rem; }
.seo-content a { text-decoration: underline; }
.seo-content p code { overflow-wrap: anywhere; }
.seo-content pre {
  margin: 1rem 0 1.5rem;
  padding: 1.2rem;
  overflow: auto;
  background: #10221b;
  color: #f2fff5;
  border-radius: 12px;
}
.seo-content table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
}
.seo-content th, .seo-content td {
  padding: .875rem .75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #789383;
}
.seo-content th:first-child, .seo-content td:first-child { padding-left: 0; }
.seo-content th:last-child, .seo-content td:last-child { padding-right: 0; }
/* Align the dedicated-page header and footer with the reading column. */
.site-header:not([data-header-scroll]) nav { flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-header nav a { padding: 9px 12px; min-height: 38px; }
.site-footer nav a { padding: .5rem 0; min-height: 44px; }
.site-footer {
  width: min(1160px, calc(100% - 32px));
  padding: 2rem 0 2.5rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1rem; }
@media (max-width: 640px) {
  .seo-content { padding: 2rem 0; }
  .site-footer { width: calc(100% - 2rem); }
  .seo-content th, .seo-content td { padding: .75rem .5rem; }
}

/* Shared navigation state and footer columns on every dedicated page. */
.site-header nav a[aria-current="page"] {
  color: #115e59;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.site-header nav a.is-parent { color: #115e59; font-weight: 600; }
.site-header nav a:focus-visible { outline: 2px solid #115e59; outline-offset: 4px; }
.subpage-footer-nav a:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
}
.site-footer .subpage-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 2rem;
  margin: 0;
}
.subpage-footer-column { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.subpage-footer-column p { margin: 0; }
.subpage-footer-column .subpage-footer-heading {
  margin-bottom: .75rem;
  color: var(--foreground);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.5;
}
.site-footer .subpage-footer-column a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .site-footer .subpage-footer-nav { gap: 1rem; }
}
@media (max-width: 400px) {
  .site-footer .subpage-footer-nav { gap: 12px; }
  .subpage-footer-column .subpage-footer-heading,
  .site-footer .subpage-footer-column a { font-size: .875rem; }
}

/* Match the homepage hover colors and menu-link shape. */
.site-header nav a:hover { background: #e5f4ef; color: #171717; border-radius: 8px; }

/* Give the shared homepage brand block room in narrower subpage footers. */
@media (max-width: 920px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

:root[data-theme="dark"] .subpage-footer-nav a { color: var(--muted); }

/* Code examples retain their indentation and scroll within the reading column. */
.seo-content pre code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .9rem;
  line-height: 1.6;
  white-space: pre;
}
.pricing-intro { padding-bottom: 0; }
.pricing-intro .lede { margin-bottom: 1rem; }
.pricing-intro + .pricing-section { padding-top: 38px; }
@media (max-width: 640px) {
  .pricing-intro + .pricing-section { padding-top: 26px; }
}
