.seo-page main {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.seo-sidebar {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 6rem);
  overflow: auto;
  padding: 1.25rem 1rem;
  background: var(--landing-bg);
  border-radius: var(--landing-radius);
  border: 1px solid rgba(15, 39, 68, 0.08);
}

.seo-sidebar-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--landing-muted);
  margin: 0 0 1rem;
}

.seo-nav-group + .seo-nav-group {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 39, 68, 0.08);
}

.seo-nav-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--landing-navy);
}

.seo-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-nav-group li {
  margin: 0.35rem 0;
}

.seo-nav-group a {
  font-size: 0.9rem;
  color: var(--landing-text);
  text-decoration: none;
  line-height: 1.35;
}

.seo-nav-group a:hover,
.seo-nav-group a.is-active {
  color: var(--landing-primary);
}

.seo-nav-group a.is-active {
  font-weight: 600;
}

.seo-article h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.seo-lead {
  font-size: 1.1rem;
  color: var(--landing-muted);
  margin: 0 0 1.75rem;
  max-width: 65ch;
}

.seo-breadcrumbs {
  font-size: 0.85rem;
  color: var(--landing-muted);
  margin-bottom: 1rem;
}

.seo-breadcrumbs a {
  color: var(--landing-muted);
}

.seo-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.seo-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.seo-content p {
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 72ch;
}

.seo-content ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  max-width: 72ch;
}

.seo-content li {
  margin: 0.35rem 0;
  line-height: 1.55;
}

.seo-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.seo-table th,
.seo-table td {
  border: 1px solid rgba(15, 39, 68, 0.12);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.seo-table th {
  background: var(--landing-bg-alt);
}

.seo-tool {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-radius: var(--landing-radius);
  background: var(--landing-bg);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.seo-tool-lead {
  color: var(--landing-muted);
  margin-top: 0;
}

.seo-calculator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.seo-calculator-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.seo-calculator-form input {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(15, 39, 68, 0.15);
  border-radius: 8px;
  font: inherit;
}

.seo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  cursor: pointer;
}

.seo-btn--primary {
  background: var(--landing-primary);
  color: #fff;
}

.seo-calculator-results {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 39, 68, 0.1);
}

.seo-download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-download-list li {
  margin: 0.5rem 0;
}

.seo-related,
.seo-cta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 39, 68, 0.08);
}

.seo-cta {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--landing-bg-alt), #fff);
  border-radius: var(--landing-radius);
  border: none;
}

.seo-hub-main {
  padding: 2rem 0 3rem;
}

.seo-hub-main h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.seo-hub-lead {
  font-size: 1.15rem;
  color: var(--landing-muted);
  max-width: 70ch;
}

.seo-hub-note {
  max-width: 70ch;
  margin-bottom: 2rem;
}

.seo-hub-cluster {
  margin-bottom: 2.5rem;
}

.seo-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.seo-hub-list a {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--landing-shadow);
  text-decoration: none;
  color: inherit;
}

.seo-hub-list a strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--landing-navy);
}

.seo-hub-list a span {
  font-size: 0.9rem;
  color: var(--landing-muted);
  line-height: 1.45;
}

.seo-cta--hub {
  text-align: center;
}

.seo-top-nav a {
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-sidebar {
    position: static;
    max-height: none;
  }
}
