.seo-page {
  --seo-max: 1120px;
}

.seo-wrap {
  width: min(var(--seo-max), calc(100% - 48px));
  margin: 0 auto;
}

.seo-breadcrumb {
  padding: 22px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.seo-breadcrumb a { color: var(--muted); }
.seo-breadcrumb a:hover { color: var(--brand); }

.seo-hero {
  padding: 28px 0 86px;
  background: radial-gradient(circle at 85% 12%, rgba(17, 71, 200, .15), transparent 34%), linear-gradient(180deg, rgba(255,255,255,.78), transparent);
}

.seo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 64px;
  align-items: center;
}

.seo-eyebrow, .seo-kicker {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--ink);
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.seo-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.seo-button--primary { color: #fff; background: var(--brand); box-shadow: 0 12px 28px rgba(17,71,200,.22); }
.seo-button--primary:hover { background: var(--brand-hover); }
.seo-button--secondary { color: var(--ink); border: 1px solid var(--line-strong); background: var(--panel); }
.seo-button--secondary:hover { color: var(--brand); border-color: var(--brand); }

.seo-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  color: var(--soft);
  font-size: 13px;
}

.seo-note span::before { content: "✓"; margin-right: 6px; color: var(--success); font-weight: 900; }

.seo-shot {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.seo-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.seo-shot figcaption { padding: 12px 6px 2px; color: var(--soft); font-size: 12px; line-height: 1.5; }

.seo-section { padding: 88px 0; border-top: 1px solid var(--line); }
.seo-section--soft { background: var(--bg-2); }
.seo-heading { max-width: 760px; margin-bottom: 42px; }
.seo-heading h2 { margin: 0; color: var(--ink); font-family: Outfit, Inter, sans-serif; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; letter-spacing: -.025em; }
.seo-heading p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

.seo-cards, .seo-features, .seo-audience, .seo-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo-card { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.seo-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; line-height: 1.4; }
.seo-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.seo-card--accent { border-top: 3px solid var(--brand); }
.seo-card--success { border-top: 3px solid var(--success); }
.seo-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 10px; color: var(--brand); background: var(--brand-soft); font-size: 21px; }

.seo-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: seo-steps; }
.seo-step { counter-increment: seo-steps; padding: 24px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.seo-step::before { content: "0" counter(seo-steps); display: block; margin-bottom: 18px; color: var(--brand); font-size: 22px; font-weight: 900; }
.seo-step h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; }
.seo-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.seo-faq { max-width: 860px; }
.seo-faq details { border-top: 1px solid var(--line); }
.seo-faq details:last-child { border-bottom: 1px solid var(--line); }
.seo-faq summary { position: relative; padding: 20px 34px 20px 0; cursor: pointer; color: var(--ink); font-size: 17px; font-weight: 800; list-style: none; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "+"; position: absolute; right: 2px; color: var(--brand); font-size: 24px; font-weight: 400; }
.seo-faq details[open] summary::after { transform: rotate(45deg); }
.seo-faq details p { max-width: 760px; margin: -4px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.seo-related { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.seo-related a { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.seo-related a:hover { border-color: var(--brand); transform: translateY(-2px); }
.seo-related strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 15px; }
.seo-related span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.seo-cta { padding: 78px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--violet)); }
.seo-cta h2 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
.seo-cta p { max-width: 620px; margin: 16px auto 28px; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.7; }
.seo-cta .seo-button--primary { color: var(--brand); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.seo-cta .seo-button--secondary { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.seo-updated { margin: 24px 0 0; color: var(--soft); font-size: 12px; text-align: center; }

@media (max-width: 980px) {
  .seo-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .seo-hero-copy { max-width: 760px; }
  .seo-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .seo-wrap { width: min(100% - 36px, var(--seo-max)); }
  .seo-hero { padding: 20px 0 58px; }
  .seo-lead { font-size: 17px; }
  .seo-cards, .seo-features, .seo-audience, .seo-related, .seo-steps { grid-template-columns: 1fr; }
  .seo-section { padding: 60px 0; }
}
