:root {
  --seo-max: 1040px;
}

.seo-main {
  padding-top: var(--nav-h);
}

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

.seo-hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 75% 35%, rgba(10, 132, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs {
  margin-bottom: 42px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--border-med);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

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

.seo-kicker,
.guides-strip-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-hero h1 {
  margin: 0;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.seo-lead {
  max-width: 670px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.seo-device-shot {
  width: 220px;
  margin: 0 auto;
  padding: 8px;
  overflow: hidden;
  background: #0c1120;
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(10, 40, 90, 0.18);
}

.seo-device-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 21px;
}

.seo-article {
  padding-top: 76px;
  padding-bottom: 84px;
}

.seo-article section + section {
  margin-top: 56px;
}

.seo-article h2,
.seo-related h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.seo-article p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-3);
  font-size: 1.03rem;
  line-height: 1.8;
}

.seo-article p + p {
  margin-top: 16px;
}

.seo-article a {
  color: var(--blue-deep);
  font-weight: 600;
  text-decoration-color: rgba(10, 132, 255, 0.45);
  text-underline-offset: 3px;
}

.seo-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.seo-detail-grid > div {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.seo-detail-grid h2 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.seo-detail-grid p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.seo-guide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.seo-guide-list a,
.seo-related-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 26px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.seo-guide-list a:hover,
.seo-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 132, 255, 0.3);
  box-shadow: 0 10px 30px rgba(10, 40, 90, 0.08);
}

.seo-guide-list strong,
.seo-related-card strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}

.seo-guide-list span,
.seo-related-copy {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.seo-related {
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.seo-related-card > span:first-child {
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .seo-hero {
    padding: 42px 0 52px;
  }

  .seo-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .seo-device-shot {
    width: 190px;
    margin: 0;
  }

  .seo-detail-grid,
  .seo-guide-list,
  .seo-related-grid {
    grid-template-columns: 1fr;
  }

  .seo-article {
    padding-top: 54px;
    padding-bottom: 60px;
  }
}

@media (max-width: 520px) {
  .seo-container {
    width: min(var(--seo-max), calc(100% - 36px));
  }

  .seo-hero h1 {
    font-size: 2.35rem;
  }

  .seo-lead {
    font-size: 1rem;
  }
}