.seo-content-page {
  background: #fffdf8;
  color: var(--ink);
}

.seo-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(30, 36, 40, 0.1);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.seo-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(31, 42, 45, 0.12);
}

.seo-site-header nav,
.seo-site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.seo-site-header nav a:hover,
.seo-site-footer nav a:hover {
  color: var(--accent);
}

.seo-content-page main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 20px 0;
  color: var(--muted);
  font-size: 13px;
}

.seo-breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  padding: 34px 0 90px;
}

.seo-article-hero,
.seo-about > header,
.case-study > header,
.seo-index-hero {
  padding: clamp(30px, 7vw, 78px) 0 clamp(34px, 5vw, 58px);
}

.seo-article-hero h1,
.seo-about h1,
.case-study h1,
.seo-index-hero h1,
.seo-tool-landing h1 {
  max-width: 900px;
  margin: 8px 0 22px;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.18;
  letter-spacing: 0;
}

.seo-article-hero > p:not(.eyebrow),
.seo-about > header > p:not(.eyebrow),
.case-study > header > p:not(.eyebrow),
.seo-index-hero > p:not(.eyebrow),
.seo-tool-landing > div > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.9;
}

.article-meta {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.seo-article-body {
  font-size: 17px;
}

.seo-article-body.standalone {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 60px 0 90px;
}

.seo-article-body section,
.seo-about section,
.case-story section {
  scroll-margin-top: 98px;
  margin-top: 64px;
}

.seo-article-body h2,
.seo-about h2,
.case-story h2,
.seo-related h2,
.seo-faq h2 {
  margin: 5px 0 18px;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.35;
  letter-spacing: 0;
}

.seo-article-body h3,
.seo-about h3,
.case-story h3 {
  font-size: 19px;
  letter-spacing: 0;
}

.seo-article-body p,
.seo-about p,
.case-story p {
  color: #414a50;
  line-height: 2;
}

.seo-toc {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: #f4f8f6;
}

.seo-toc strong {
  margin-bottom: 3px;
}

.seo-toc a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-number {
  margin-bottom: 0 !important;
  color: var(--accent) !important;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 127, 104, 0.24);
  background: #eef8f4;
}

.inline-cta.prominent {
  margin-top: 64px;
  padding: 30px;
  background: #e8f5f1;
}

.inline-cta p {
  flex: 1 1 360px;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.inline-cta a,
.seo-primary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 4px;
  font-weight: 900;
}

.inline-cta .sub-link {
  color: var(--accent-dark);
  background: transparent;
  border: 1px solid rgba(0, 127, 104, 0.3);
}

.seo-check-list,
.good-bad-grid ul {
  display: grid;
  gap: 13px;
  padding-left: 22px;
  color: #414a50;
}

.seo-check-list li::marker,
.good-bad-grid li::marker {
  color: var(--accent);
}

.seo-faq details {
  border-top: 1px solid var(--line);
}

.seo-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.seo-faq summary {
  padding: 20px 40px 20px 0;
  cursor: pointer;
  font-weight: 900;
}

.seo-faq details p {
  margin-top: 0;
  padding: 0 0 20px;
}

.seo-disclaimer {
  margin-top: 54px;
  padding: 22px 24px;
  border: 1px solid #dbc77a;
  background: #fff9dc;
  font-size: 14px;
}

.seo-disclaimer p {
  margin: 6px 0 0;
  line-height: 1.8;
}

.seo-related {
  margin: 0 0 90px;
  padding: clamp(26px, 5vw, 50px);
  background: var(--accent-dark);
  color: #fff;
}

.seo-related .eyebrow,
.seo-related h2 {
  color: #fff;
}

.seo-related > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.seo-related a {
  display: grid;
  gap: 4px;
  padding: 22px;
  background: var(--accent-dark);
}

.seo-related a:hover {
  background: #09665b;
}

.seo-related a span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.seo-feature-grid,
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-feature-grid article,
.methodology-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.seo-feature-grid article > span,
.methodology-grid article > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 1000;
}

.seo-feature-grid article p,
.methodology-grid article p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.8;
}

.seo-step-list {
  display: grid;
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.seo-step-list li {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) 1fr;
  gap: 20px;
  padding: 21px;
  background: #fff;
}

.seo-step-list span {
  color: var(--muted);
}

.good-bad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.good-bad-grid > div {
  padding: 24px;
  border: 1px solid var(--line);
}

.good-bad-grid > div:first-child {
  border-top: 4px solid var(--accent);
}

.good-bad-grid > div:last-child {
  border-top: 4px solid #b85746;
}

.seo-index-hero {
  max-width: 870px;
}

.seo-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 100px;
}

.seo-index-grid > a {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 42, 45, 0.06);
}

.seo-index-grid > a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.seo-index-grid > a > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.seo-index-grid h2 {
  margin: 13px 0;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0;
}

.seo-index-grid p {
  flex: 1;
  color: var(--muted);
  font-size: 14px;
}

.seo-index-grid b {
  color: var(--accent-dark);
  font-size: 14px;
}

.case-study,
.seo-about {
  width: min(920px, 100%);
  margin: 0 auto;
  padding-bottom: 90px;
}

.case-visual {
  margin: 0;
  padding: clamp(12px, 3vw, 24px);
  background: #fff;
  border: 1px solid var(--line);
}

.case-visual img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.case-story {
  width: min(760px, 100%);
  margin: 0 auto;
}

.case-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.case-proof-grid img {
  width: 100%;
  border: 1px solid var(--line);
}

.seo-tool-landing {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  min-height: 650px;
  padding: 56px 0;
}

.seo-tool-landing img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.seo-primary-button {
  margin-top: 28px;
}

.seo-about section {
  width: min(760px, 100%);
}

.methodology-grid {
  width: min(980px, 100%);
}

.seo-site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #f7f5ef;
}

.seo-site-footer p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .seo-site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    white-space: nowrap;
  }

  .seo-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-tool-landing {
    grid-template-columns: 1fr;
  }

  .seo-tool-landing img {
    max-height: 420px;
  }
}

@media (max-width: 620px) {
  .seo-content-page main {
    width: min(100% - 28px, 1180px);
  }

  .seo-article-hero h1,
  .seo-about h1,
  .case-study h1,
  .seo-index-hero h1,
  .seo-tool-landing h1 {
    font-size: 36px;
  }

  .seo-article-body {
    font-size: 16px;
  }

  .seo-feature-grid,
  .methodology-grid,
  .good-bad-grid,
  .seo-related > div,
  .seo-index-grid,
  .case-proof-grid {
    grid-template-columns: 1fr;
  }

  .seo-step-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .seo-index-grid > a {
    min-height: 220px;
  }

  .seo-site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
