.seo-layout {
  padding-top: 30px;
}

.back-home {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.25;
  transition:
    color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.back-home:hover {
  color: var(--ink);
  transform: translateX(-2px);
}

.back-home:focus-visible,
.seo-inline-link a:focus-visible,
.faq-list summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.seo-article {
  max-width: 960px;
}

.seo-hero {
  min-height: 0;
  margin-bottom: 52px;
  padding: 18px 0 36px;
}

.seo-page .hero-watermark {
  display: none;
}

.seo-hero h1 {
  max-width: 880px;
  font-size: 4rem;
  line-height: 0.98;
}

.seo-hero .hero-subline {
  max-width: 690px;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 680;
}

.seo-hero .hero-actions {
  margin-top: 24px;
}

.seo-section {
  max-width: 820px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.seo-section h2,
.seo-cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.seo-section p,
.seo-section li,
.seo-cta p {
  color: var(--muted-strong);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.7;
}

.seo-section p {
  max-width: 760px;
  margin-bottom: 14px;
}

.seo-checklist {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.seo-checklist li {
  position: relative;
  padding-left: 24px;
}

.seo-checklist li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--positive);
  content: "";
}

.seo-inline-link {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.seo-inline-link a {
  color: var(--ink);
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: var(--positive);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.seo-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 900px;
  margin: 28px 0 12px;
  padding: 30px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(135%);
}

.seo-cta p {
  max-width: 650px;
  margin-bottom: 0;
}

.seo-cta-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.faq-section {
  max-width: 900px;
  padding-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-top: 20px;
}

.faq-list details {
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: var(--surface);
}

.faq-list summary {
  min-height: 52px;
  padding: 16px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 780;
  line-height: 1.35;
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-list details p {
  margin: 0;
  padding: 16px 18px 18px;
}

@media (max-width: 920px) {
  .seo-article {
    max-width: none;
  }

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

  .seo-cta {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .seo-cta-actions {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .seo-layout {
    padding-top: 24px;
  }

  .back-home {
    margin-bottom: 24px;
  }

  .seo-hero {
    margin-bottom: 30px;
    padding-bottom: 24px;
  }

  .seo-hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .seo-hero .hero-subline {
    font-size: 0.96rem;
  }

  .seo-section {
    padding: 34px 0;
  }

  .seo-section h2,
  .seo-cta h2 {
    font-size: 1.7rem;
  }

  .seo-cta {
    padding: 24px;
  }

  .seo-page--grafica .seo-cta {
    row-gap: 22px;
    padding: 28px 22px 24px;
  }

  .seo-page--grafica .seo-cta-actions {
    gap: 18px;
    margin-top: 6px;
  }

  .seo-page--grafica .seo-cta-actions .hero-cta {
    width: 100%;
    min-height: 54px;
    padding: 15px 20px;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .seo-layout {
    padding-bottom: 54px;
  }

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

  .seo-hero .hero-actions,
  .seo-hero .hero-cta {
    width: 100%;
  }

  .seo-section h2,
  .seo-cta h2 {
    font-size: 1.45rem;
  }

  .seo-section p,
  .seo-section li,
  .seo-cta p {
    font-size: 0.95rem;
  }

  .seo-cta {
    padding: 20px;
  }

}
