/* Shared layout for the SEO landing pages. Builds on style.css tokens. */

.sp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.9rem 1.5rem;
  background: rgba(var(--bg-rgb, 5, 5, 8), 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.sp-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.sp-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
}

.sp-nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.sp-nav-links a:hover {
  color: var(--accent-blue);
}

.sp-hero {
  padding: 4.5rem 0 2.5rem;
}

.sp-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sp-crumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.sp-crumbs a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.sp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin-bottom: 1.25rem;
}

.sp-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
}

.sp-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.sp-ctas .btn {
  white-space: normal;
}

.sp-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
}

.sp-section h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin-bottom: 1rem;
}

.sp-section h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--accent-cyan);
}

.sp-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.sp-section p strong,
.sp-section li strong {
  color: var(--text-main);
}

.sp-section ul,
.sp-section ol {
  color: var(--text-muted);
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.sp-section li {
  margin-bottom: 0.5rem;
}

.sp-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: sp-step;
}

.sp-steps li {
  counter-increment: sp-step;
  position: relative;
  padding: 1rem 1.1rem 1rem 3.4rem;
  margin-bottom: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

.sp-steps li::before {
  content: counter(sp-step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
}

.sp-note {
  background: rgba(var(--accent-rgb, 0, 240, 255), 0.06);
  border: 1px solid rgba(var(--accent-rgb, 0, 240, 255), 0.2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  margin: 1.25rem 0;
}

.sp-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}

.sp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.sp-table th,
.sp-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.sp-table thead th {
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-heading);
}

.sp-table tbody th {
  color: var(--text-main);
  font-weight: 600;
  width: 22%;
}

.sp-table td {
  color: var(--text-muted);
}

.sp-table tbody tr:last-child th,
.sp-table tbody tr:last-child td {
  border-bottom: none;
}

.sp-faq details {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
}

.sp-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
}

.sp-faq details p {
  margin: 0.75rem 0 0;
}

.sp-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.sp-related a {
  display: block;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.sp-related a:hover {
  border-color: var(--accent-blue);
}

.sp-footer {
  margin-top: 2rem;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sp-footer a {
  color: var(--accent-cyan);
  text-decoration: none;
}

@media (max-width: 600px) {
  .sp-hero { padding-top: 2.5rem; }
  .sp-ctas .btn { width: 100%; justify-content: center; }
}
