.seoPage {
  display: grid;
  gap: 72px;
}

.seoPage a {
  text-decoration: none;
}

.seoBreadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.seoBreadcrumb a {
  color: var(--muted);
}

.seoBreadcrumb a:hover {
  color: var(--ink);
}

.seoHero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
  padding-top: 34px;
}

.seoHeroCopy {
  display: grid;
  gap: 18px;
}

.seoHeroCopy h1 {
  font-size: clamp(2.8rem, 7vw, 5.1rem);
  line-height: 0.94;
  max-width: 10.5ch;
}

.seoHeroLead {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.seoHeroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seoHeroAside,
.seoCardGrid,
.seoCodeGrid,
.seoRelatedGrid,
.seoHubGrid,
.seoStatGrid,
.seoStepGrid {
  display: grid;
  gap: 16px;
}

.seoHeroAside,
.seoStatGrid,
.seoCodeGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seoCard,
.seoFaq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
}

.seoCard {
  padding: 24px;
}

.seoCardKicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 13px;
}

.seoCard h2,
.seoCard h3 {
  margin: 0 0 12px;
}

.seoCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seoMetricValue {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
}

.seoMetricNote {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.seoSection {
  display: grid;
  gap: 22px;
}

.seoSection .sectionHeader h2 {
  max-width: 16ch;
}

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

.seoList,
.seoTagList {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seoList li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.seoList li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
}

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

.seoTagList li {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  line-height: 1.5;
}

.seoCodeCard {
  padding: 0;
  overflow: hidden;
}

.seoCodeCardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
}

.seoCodeCardHeader strong {
  font-size: 18px;
  font-weight: 600;
}

.seoCodeCardHeader span {
  color: var(--muted);
  font-size: 13px;
}

.seoCode {
  margin: 16px 0 0;
  padding: 20px;
  overflow-x: auto;
  background: #111726;
  color: #f3f6fd;
  font-family: var(--font-code);
  font-size: 14px;
  line-height: 1.65;
}

.seoCode code {
  font-family: inherit;
  white-space: pre;
}

.seoSupportGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.seoStepGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seoSupportCard {
  padding: 20px;
}

.seoSupportCard strong {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
}

.seoSupportCard span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.blogIndexHeader,
.blogArticleHeader {
  display: grid;
  gap: 12px;
  padding-top: 34px;
}

.blogIndexHeader h1,
.blogArticleHeader h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.1rem);
  line-height: 0.94;
}

.blogPostCard {
  display: grid;
  gap: 18px;
}

.blogPostMeta,
.blogPostFooter,
.blogPagination,
.blogPaginationPages {
  display: flex;
  align-items: center;
}

.blogPostMeta,
.blogPostFooter {
  justify-content: space-between;
  gap: 12px;
}

.blogPostBody {
  display: grid;
  gap: 10px;
}

.blogPostBody strong {
  font-size: 1.25rem;
  line-height: 1.2;
}

.blogPostBody p,
.blogPostFooter span {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.blogPagination {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.blogPaginationPages {
  gap: 10px;
  flex-wrap: wrap;
}

.blogPagination a,
.blogPaginationCurrent,
.blogPaginationEdge {
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  justify-content: center;
}

.blogPagination a,
.blogPaginationEdge {
  display: inline-flex;
}

.blogPaginationCurrent {
  display: inline-flex;
  background: var(--ink);
  color: white;
}

.blogPaginationDisabled {
  opacity: 0.45;
}

.blogArticleHero .seoHeroCopy h1 {
  max-width: 13ch;
}

.blogArticleMeta {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.blogArticleShell {
  justify-items: center;
}

.blogArticleCard {
  width: min(860px, 100%);
  padding: clamp(24px, 5vw, 40px);
}

.blogArticleContent {
  color: var(--ink);
}

.blogArticleContent > :first-child {
  margin-top: 0;
}

.blogArticleContent h2,
.blogArticleContent h3,
.blogArticleContent h4 {
  margin: 34px 0 14px;
  line-height: 1.08;
}

.blogArticleContent h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.blogArticleContent h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.blogArticleContent h4 {
  font-size: 1.1rem;
}

.blogArticleContent p,
.blogArticleContent li {
  font-size: 18px;
  line-height: 1.8;
}

.blogArticleContent p {
  margin: 0 0 18px;
  color: var(--ink);
}

.blogArticleContent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.blogArticleContent strong {
  font-weight: 700;
}

.blogArticleContent code {
  padding: 0.12em 0.36em;
  border-radius: 8px;
  background: rgba(17, 23, 38, 0.08);
  font-family: var(--font-code);
  font-size: 0.92em;
}

.blogArticleContent .blogArticleList {
  margin: 0 0 22px;
  padding-left: 1.3rem;
}

.blogArticleContent .blogArticleList li {
  margin-bottom: 10px;
  color: var(--ink);
}

.blogCode {
  margin: 8px 0 22px;
  border-radius: 28px;
}

.seoStepCard {
  display: grid;
  gap: 10px;
}

.seoStepIndex {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.seoStepCard h3 {
  margin: 4px 0 0;
}

.seoProviderCard {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.seoRouteCard {
  display: grid;
  gap: 16px;
}

.seoRouteMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seoProviderCardTop {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.seoProviderIcon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  object-fit: contain;
  padding: 8px;
  flex: 0 0 auto;
}

.seoProviderCardTitle {
  display: grid;
  gap: 4px;
}

.seoProviderCardTitle strong {
  font-size: 1.18rem;
  font-weight: 600;
}

.seoProviderCardTitle span {
  color: var(--muted);
  font-size: 14px;
}

.seoProviderCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.seoProviderCardFooter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seoBadge {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.seoHubGrid,
.seoRelatedGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seoFaq {
  display: grid;
  gap: 12px;
}

.seoFaq details {
  padding: 18px 20px;
}

.seoFaq summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
}

.seoFaq summary::-webkit-details-marker {
  display: none;
}

.seoFaq details p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.seoCallout {
  padding: 22px 24px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(40, 105, 254, 0.18);
  background: rgba(40, 105, 254, 0.06);
}

.seoCallout strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.seoCallout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seoTableWrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
}

.seoCompareTable {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.seoCompareTable th,
.seoCompareTable td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  line-height: 1.65;
}

.seoCompareTable thead th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.6);
}

.seoCompareTable tbody th {
  width: 16%;
  min-width: 140px;
  font-size: 15px;
  font-weight: 600;
}

.seoCompareTable tbody td {
  color: var(--muted);
}

.seoCompareTable tbody tr:last-child th,
.seoCompareTable tbody tr:last-child td {
  border-bottom: 0;
}

.seoSourceList {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seoSourceList li {
  display: grid;
  gap: 4px;
}

.seoSourceList a {
  color: var(--ink);
  font-weight: 600;
}

.seoSourceList a:hover {
  color: var(--muted);
}

.seoSourceList span {
  color: var(--muted);
  line-height: 1.6;
}

.seoCtaBand {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
}

.seoCtaBand h2 {
  margin: 14px 0 10px;
  max-width: 16ch;
}

.seoCtaBand p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .seoHero,
  .seoHeroAside,
  .seoSupportGrid,
  .seoCodeGrid,
  .seoHubGrid,
  .seoRelatedGrid,
  .seoStepGrid,
  .seoCtaBand {
    grid-template-columns: 1fr;
  }

  .seoGridTwo,
  .seoTagList,
  .seoStatGrid,
  .blogPostGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .seoPage {
    gap: 56px;
  }

  .seoHero {
    padding-top: 16px;
  }

  .blogIndexHeader,
  .blogArticleHeader {
    padding-top: 16px;
  }

  .seoHeroCopy h1 {
    max-width: none;
  }

  .seoHeroLead {
    font-size: 17px;
  }

  .seoCard,
  .seoProviderCard {
    padding: 20px;
  }

  .seoCode {
    font-size: 13px;
  }

  .blogArticleContent p,
  .blogArticleContent li {
    font-size: 16px;
  }

  .blogPagination {
    align-items: stretch;
  }

  .blogPaginationPages {
    width: 100%;
  }

  .seoCtaBand {
    padding: 24px;
  }
}

/* Editorial refresh for generated SEO pages */
.seoPage {
  gap: 52px;
  padding-bottom: 24px;
}

.seoPage > .seoHero,
.seoPage > .seoSection,
.seoPage > .seoCallout {
  width: min(720px, calc(100vw - 40px));
  margin-inline: auto;
}

.seoHero,
.blogIndexHeader,
.blogArticleHeader {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  padding-top: 24px;
  text-align: center;
}

.seoHeroCopy {
  width: 100%;
  justify-items: center;
  text-align: center;
}

.seoBreadcrumb {
  justify-content: center;
  margin-top: 0;
}

.seoHeroCopy h1,
.blogIndexHeader h1,
.blogArticleHeader h1 {
  max-width: 11ch;
  margin: 0 auto;
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: 0.94;
  text-wrap: balance;
}

.seoHeroLead {
  max-width: 36ch;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.68;
}

.seoHeroActions {
  justify-content: center;
}

.eyebrow {
  justify-self: center;
}

.seoHeroAside,
.seoSupportGrid,
.seoCodeGrid,
.seoRelatedGrid,
.seoHubGrid,
.seoStatGrid,
.seoStepGrid,
.seoGridTwo,
.seoTagList,
.blogPostGrid {
  grid-template-columns: 1fr;
}

.seoHeroAside {
  width: 100%;
  gap: 12px;
}

.seoHeroAside .seoCard {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  text-align: left;
}

.seoHeroAside .seoMetricValue {
  margin-top: 8px;
  font-size: 1.32rem;
  line-height: 1.15;
}

.seoHeroAside .seoMetricNote {
  margin-top: 0;
}

.seoSection {
  gap: 18px;
}

.seoSection .sectionHeader h2 {
  max-width: none;
}

.sectionHeader {
  gap: 8px;
}

.sectionLead {
  max-width: 42ch;
}

.seoCard,
.seoFaq details {
  padding: 20px 22px;
}

.seoCodeCard {
  padding: 0;
}

.seoCodeCardHeader {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}

.seoCode {
  margin-top: 14px;
  font-size: 13px;
}

.seoRouteCard,
.seoProviderCard,
.seoSupportCard,
.seoStepCard,
.blogPostCard {
  gap: 14px;
}

.seoTagList li {
  min-height: 0;
}

.blogIndexHeader,
.blogArticleHeader {
  width: min(720px, calc(100vw - 40px));
  margin-inline: auto;
}

.blogArticleMeta {
  text-align: center;
}

.blogPostThumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.blogPostThumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blogArticleFigure {
  width: 100%;
  margin: 4px 0 0;
}

.blogArticleFigure img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.blogArticleShell {
  width: min(720px, calc(100vw - 40px));
  margin-inline: auto;
}

.blogArticleCard {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.blogArticleContent {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.blogArticleContent h2,
.blogArticleContent h3,
.blogArticleContent h4 {
  text-wrap: balance;
}

.blogArticleContent p,
.blogArticleContent li {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.82;
}

.seoCtaBand {
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 18px;
  padding: 24px;
}

.seoCtaBand .seoHeroActions {
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .seoPage > .seoHero,
  .seoPage > .seoSection,
  .seoPage > .seoCallout,
  .blogIndexHeader,
  .blogArticleHeader,
  .blogArticleShell {
    width: min(720px, calc(100vw - 28px));
  }

  .seoHero,
  .blogIndexHeader,
  .blogArticleHeader {
    padding-top: 18px;
  }

  .seoHeroCopy h1,
  .blogIndexHeader h1,
  .blogArticleHeader h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .seoHeroLead,
  .blogArticleContent p,
  .blogArticleContent li {
    font-size: 16px;
  }

  .seoCard,
  .seoFaq details {
    padding: 18px;
  }

  .blogPostThumb,
  .blogArticleFigure img {
    border-radius: 24px;
  }
}
