.seo-page {
  min-height: 100vh;
  color: var(--ink);
  background: #f7f9fc;
}

.seo-page .site-header { position: sticky; }
.seo-page .nav-wrap { justify-content: space-between; }
.seo-page .guide-top-links { display: flex; align-items: center; gap: 8px; }
.seo-page .guide-top-links > a:not(.button) { display: none; color: #d7deed; font-size: 13px; font-weight: 750; }
.seo-page .guide-top-links .button { min-height: 42px; padding-inline: 13px; font-size: 12px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 20px;
  padding: 0;
  color: #768198;
  font-size: 12px;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 7px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: #afb7c5; }
.breadcrumb a { text-decoration: underline; text-decoration-color: #c6ccda; text-underline-offset: 3px; }

.guide-hero {
  overflow: hidden;
  padding: 36px 0 44px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 5%, rgba(85,230,255,.16), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(108,124,255,.22), transparent 40%),
    var(--night);
}
.guide-hero .breadcrumb { color: #9eabc0; }
.guide-hero .breadcrumb a { color: #dfe6f3; text-decoration-color: #637089; }
.guide-kicker { margin: 0 0 12px; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.guide-hero h1 { max-width: 900px; margin: 0; font-size: clamp(38px, 10vw, 64px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.guide-deck { max-width: 780px; margin: 20px 0 0; color: #b6c2d6; font-size: 17px; line-height: 1.65; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 22px; color: #8e9cb4; font-size: 12px; }
.guide-meta span { display: inline-flex; align-items: center; gap: 6px; }
.guide-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.guide-hero-actions { display: grid; gap: 11px; margin-top: 25px; }
.guide-hero-actions .button { width: 100%; }
.guide-hero-actions .text-link { min-height: 42px; justify-content: center; color: #d9e1ef; }

.quick-answer { margin-top: -1px; padding: 23px 0; border-bottom: 1px solid #dde3ee; background: #fff; }
.quick-answer-inner { display: grid; gap: 12px; }
.quick-answer strong { color: #17223a; font-size: 15px; }
.quick-answer p { margin: 0; color: var(--muted); font-size: 14px; }
.answer-tag { width: fit-content; padding: 5px 9px; border-radius: 999px; color: #194c42; background: #dff7ee; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.guide-main { padding: 34px 0 72px; }
.guide-layout { display: grid; gap: 28px; }
.guide-article { min-width: 0; }
.guide-article section { scroll-margin-top: 92px; padding: 30px 0; border-bottom: 1px solid #dfe4ed; }
.guide-article section:first-child { padding-top: 0; }
.guide-article h2 { margin: 0; color: #17223a; font-size: clamp(28px, 8vw, 40px); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.guide-article h3 { margin: 26px 0 0; color: #202c43; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.guide-article p { margin: 15px 0 0; color: #4e5a70; font-size: 16px; line-height: 1.72; }
.guide-article a:not(.button) { color: #3b51c4; font-weight: 700; text-decoration: underline; text-decoration-color: #b9c4f4; text-underline-offset: 3px; }
.guide-article ul, .guide-article ol { margin: 17px 0 0; padding-left: 22px; color: #4e5a70; }
.guide-article li { margin-top: 9px; padding-left: 3px; line-height: 1.65; }
.guide-article li::marker { color: #5669dd; font-weight: 850; }

.guide-aside { align-self: start; }
.guide-toc, .diagnostic-card, .related-card, .author-card {
  padding: 20px;
  border: 1px solid #dfe5ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(31,48,79,.06);
}
.guide-toc strong, .diagnostic-card > strong, .related-card > strong { color: #17223a; font-size: 13px; letter-spacing: .02em; }
.guide-toc ol { margin: 13px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.guide-toc li { counter-increment: toc; }
.guide-toc a { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 8px; padding: 8px 0; color: #5c687d; font-size: 13px; line-height: 1.35; }
.guide-toc a::before { content: counter(toc, decimal-leading-zero); color: #6070dd; font-size: 10px; font-weight: 900; }
.guide-toc + .diagnostic-card, .diagnostic-card + .related-card { margin-top: 14px; }
.diagnostic-card { color: #fff; border-color: transparent; background: linear-gradient(145deg,#111a2e,#182743); }
.diagnostic-card > strong { color: var(--cyan); }
.diagnostic-card p { margin: 9px 0 14px; color: #abb8cc; font-size: 13px; }
.diagnostic-card .button { width: 100%; }
.related-card a { display: block; padding: 10px 0; border-bottom: 1px solid #edf0f5; color: #44516a; font-size: 13px; font-weight: 700; }
.related-card a:last-child { padding-bottom: 0; border-bottom: 0; }

.signal-grid, .check-grid, .guide-cards { display: grid; gap: 12px; margin-top: 20px; }
.signal-card, .check-card {
  padding: 18px;
  border: 1px solid #dfe5ef;
  border-radius: 17px;
  background: #fff;
}
.signal-card span, .check-card span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; color: #4155c9; background: #edf0ff; font-size: 11px; font-weight: 900; }
.signal-card strong, .check-card strong { display: block; margin-top: 11px; color: #1d2940; font-size: 15px; }
.signal-card p, .check-card p { margin-top: 7px; font-size: 13px; line-height: 1.55; }

.warning-box, .truth-box, .action-box {
  margin-top: 20px;
  padding: 19px;
  border-radius: 17px;
}
.warning-box { border: 1px solid #f0d8a4; background: #fff9eb; }
.truth-box { border: 1px solid #c8d2f7; background: #f0f3ff; }
.warning-box strong, .truth-box strong { display: block; color: #27324a; }
.warning-box p, .truth-box p { margin-top: 7px; font-size: 14px; }
.action-box { color: #fff; background: linear-gradient(135deg,#111a2d,#1b2946); }
.action-box h2 { color: #fff; }
.action-box p { color: #b5c0d2; }
.action-box .button { width: 100%; margin-top: 18px; }
.action-box small { display: block; margin-top: 10px; color: #8f9db3; text-align: center; }

.real-example { margin-top: 21px; overflow: hidden; border: 1px solid #d8deea; border-radius: 20px; background: #fff; }
.real-example-grid { display: grid; grid-template-columns: 1fr 1fr; }
.real-example figure { min-width: 0; margin: 0; }
.real-example figure + figure { border-left: 1px solid #fff; }
.real-example img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.real-example figcaption { padding: 9px; color: #566177; font-size: 11px; font-weight: 750; text-align: center; }
.real-example > p { margin: 0; padding: 13px 16px 16px; border-top: 1px solid #e5e9f1; font-size: 13px; }
.case-verdict { display: grid; gap: 10px; margin-top: 18px; }
.case-verdict div { padding: 16px; border: 1px solid #dfe5ef; border-radius: 16px; background: #fff; }
.case-verdict strong { display: block; color: #1d2940; font-size: 14px; }
.case-verdict span { display: block; margin-top: 5px; color: #637086; font-size: 13px; line-height: 1.5; }
.format-table { width: 100%; margin-top: 20px; border-collapse: collapse; overflow: hidden; border: 1px solid #dfe5ef; border-radius: 16px; background: #fff; }
.format-table th, .format-table td { padding: 13px 12px; border-bottom: 1px solid #e7ebf2; text-align: left; vertical-align: top; font-size: 13px; }
.format-table th { color: #27344c; background: #f0f3f9; }
.format-table td { color: #566177; }
.format-table tr:last-child td { border-bottom: 0; }

.guide-faq details { border-bottom: 1px solid #dfe4ed; }
.guide-faq summary { padding: 17px 28px 17px 0; color: #1c2940; cursor: pointer; font-weight: 770; line-height: 1.35; }
.guide-faq details p { margin: -5px 0 17px; font-size: 14px; }

.author-card { display: grid; gap: 10px; margin-top: 28px; }
.author-card span { width: fit-content; padding: 4px 8px; border-radius: 999px; color: #344bc3; background: #eef1ff; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.author-card strong { color: #1b2740; }
.author-card p { margin: 0; font-size: 13px; line-height: 1.55; }

.guides-landing { padding-bottom: 80px; }
.guides-intro { padding: 44px 0 30px; color: #fff; background: var(--night); }
.guides-intro h1 { max-width: 860px; margin: 0; font-size: clamp(40px, 10vw, 66px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.guides-intro .guide-deck { max-width: 730px; }
.guide-categories { padding-top: 36px; }
.guide-category + .guide-category { margin-top: 46px; }
.indexing-explainer { display: grid; gap: 22px; margin-bottom: 48px; padding: 24px; border: 1px solid #d8e0ef; border-radius: 24px; color: #fff; background: linear-gradient(145deg,#111a2e,#1b2d4d); box-shadow: 0 18px 50px rgba(25,40,69,.12); }
.indexing-explainer h2 { max-width: 560px; margin: 0; color: #fff; font-size: clamp(30px,8vw,44px); line-height: 1.02; letter-spacing: -.045em; }
.indexing-explainer ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: seo-flow; }
.indexing-explainer li { position: relative; min-height: 78px; padding: 16px 15px 15px 55px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.055); counter-increment: seo-flow; }
.indexing-explainer li::before { content: counter(seo-flow, decimal-leading-zero); position: absolute; left: 15px; top: 15px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.indexing-explainer li strong { display: block; font-size: 14px; }
.indexing-explainer li span { display: block; margin-top: 5px; color: #aebad0; font-size: 12px; line-height: 1.5; }
.guide-category-head { max-width: 720px; }
.guide-category-head h2 { margin: 0; color: #17223a; font-size: clamp(30px, 8vw, 43px); line-height: 1.05; letter-spacing: -.045em; }
.guide-category-head p { margin: 12px 0 0; color: var(--muted); }
.guide-card { display: flex; flex-direction: column; min-height: 100%; padding: 20px; border: 1px solid #dfe5ef; border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(31,48,79,.055); }
.guide-card-index { color: #5869da; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.guide-card h3 { margin: 12px 0 0; color: #1b273e; font-size: 21px; line-height: 1.12; letter-spacing: -.028em; }
.guide-card p { margin: 10px 0 0; color: #637086; font-size: 14px; line-height: 1.58; }
.guide-card a { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; color: #3c51c4; font-size: 13px; font-weight: 800; }
.guide-card a::after { content: "→"; }
.guide-card.featured { color: #fff; border-color: transparent; background: linear-gradient(145deg,#111a2e,#1a2b4a); }
.guide-card.featured .guide-card-index { color: var(--cyan); }
.guide-card.featured h3 { color: #fff; }
.guide-card.featured p { color: #aebacd; }
.guide-card.featured a { color: var(--cyan); }

.seo-hub-preview { padding: 72px 0; background: #f7f9fc; }
.seo-hub-preview .guide-cards { margin-top: 30px; }
.seo-hub-preview .section-heading .button { margin-top: 23px; }

.seo-page .site-footer { margin-top: 0; }
.seo-page .footer-brand { color: #fff; }

@media (min-width: 600px) {
  .guide-hero-actions { display: flex; align-items: center; }
  .guide-hero-actions .button { width: auto; }
  .quick-answer-inner { grid-template-columns: auto minmax(0,1fr); align-items: center; }
  .signal-grid, .check-grid, .guide-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .action-box .button { width: auto; }
}

@media (min-width: 860px) {
  .seo-page .guide-top-links > a:not(.button) { display: inline-flex; padding: 10px; }
  .guide-hero { padding: 64px 0 72px; }
  .guide-hero h1 { font-size: 64px; }
  .guide-main { padding-top: 54px; }
  .guide-layout { grid-template-columns: minmax(0,760px) 280px; justify-content: space-between; gap: 56px; }
  .guide-aside { position: sticky; top: 92px; }
  .signal-grid, .check-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .guide-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .indexing-explainer { grid-template-columns: .8fr 1.2fr; align-items: center; padding: 34px; }
  .indexing-explainer ol { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .case-verdict { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (min-width: 1100px) {
  .seo-hub-preview .guide-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
