/* SEO landing pages — shared styles (local copy only) */
:root {
  --seo-bg: #0f0f12;
  --seo-surface: #1a1a22;
  --seo-text: #e8e8ef;
  --seo-muted: #a0a0b0;
  --seo-accent: #a855f7;
  --seo-accent-2: #22c55e;
  --seo-border: #2a2a36;
  --seo-max: 760px;
  --seo-wide: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.seo-page {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--seo-text);
  background: var(--seo-bg);
}

.seo-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.seo-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--seo-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.seo-header {
  border-bottom: 1px solid var(--seo-border);
  background: rgba(15, 15, 18, 0.95);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.seo-header__inner {
  max-width: var(--seo-wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.seo-logo {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}

.seo-logo span {
  color: var(--seo-accent);
}

.seo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.seo-nav a {
  color: var(--seo-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.seo-nav a:hover,
.seo-nav a[aria-current="page"] {
  color: #fff;
}

.seo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--seo-accent), #7c3aed);
  color: #fff !important;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.seo-btn:hover {
  filter: brightness(1.08);
}

.seo-main {
  max-width: var(--seo-wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.seo-article {
  max-width: var(--seo-max);
}

.seo-article h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}

.seo-intro {
  font-size: 1.125rem;
  color: var(--seo-muted);
  margin: 0 0 2rem;
}

.seo-hero {
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--seo-border);
}

.seo-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
}

.seo-breadcrumb {
  font-size: 0.88rem;
  color: var(--seo-muted);
  margin-bottom: 1.25rem;
}

.seo-breadcrumb a {
  color: var(--seo-muted);
  text-decoration: none;
}

.seo-breadcrumb a:hover {
  color: #fff;
}

.seo-breadcrumb [aria-current="page"] {
  color: #ccc;
}

.seo-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.seo-guide-card {
  background: var(--seo-surface);
  border: 1px solid var(--seo-border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.seo-guide-card h2 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.seo-guide-card h2 a {
  color: #fff;
  text-decoration: none;
}

.seo-guide-card h2 a:hover {
  color: var(--seo-accent);
}

.seo-guide-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--seo-muted);
}

.seo-section a {
  color: var(--seo-accent-2);
}

.seo-section {
  margin-bottom: 2rem;
}

.seo-section h2 {
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 0.75rem;
  padding-top: 0.5rem;
}

.seo-section h3 {
  font-size: 1.08rem;
  color: #ddd;
  margin: 1.25rem 0 0.5rem;
}

.seo-section p {
  margin: 0 0 0.85rem;
  color: var(--seo-text);
}

.seo-section ul,
.seo-section ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.seo-section li {
  margin-bottom: 0.4rem;
}

.seo-faq {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--seo-border);
}

.seo-faq h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.seo-faq details {
  background: var(--seo-surface);
  border: 1px solid var(--seo-border);
  border-radius: 10px;
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
}

.seo-faq p {
  margin: 0.75rem 0 0;
  color: var(--seo-muted);
}

.seo-related {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--seo-surface);
  border-radius: 12px;
  border: 1px solid var(--seo-border);
}

.seo-related h2 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.seo-related ul {
  margin: 0;
  padding-left: 1.2rem;
}

.seo-related a {
  color: var(--seo-accent-2);
}

.seo-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(34, 197, 94, 0.1));
  border: 1px solid var(--seo-border);
  text-align: center;
}

.seo-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.seo-cta p {
  margin: 0 0 1rem;
  color: var(--seo-muted);
}

.seo-footer {
  border-top: 1px solid var(--seo-border);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--seo-muted);
  font-size: 0.88rem;
}

.seo-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.seo-footer a {
  color: var(--seo-muted);
  text-decoration: none;
}

.seo-footer a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .seo-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .seo-nav {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
