/* SEO position pages — standalone stylesheet */

:root {
  --bg:          #0a0a0c;
  --surface:     #131316;
  --surface-2:   #1a1a1e;
  --border:      #25252a;
  --text:        #f4f4f5;
  --text-dim:    #a1a1aa;
  --text-muted:  #52525b;
  --accent:      #8b5cf6; /* overridden per-page via inline style */
  --link:        #818cf8;
  --link-hover:  #a5b4fc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Nav ───────────────────────────────────────────────────────────────────── */

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.nav-home {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}
.nav-home:hover { color: var(--link-hover); }

.nav-sep     { color: var(--text-muted); }
.nav-current { color: var(--text-dim); }

/* ── Header ─────────────────────────────────────────────────────────────────── */

.page-header {
  border-top: 3px solid var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  padding: 2rem 1.25rem 1.75rem;
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ── Main content ───────────────────────────────────────────────────────────── */

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
section:last-child { border-bottom: none; }

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ── Option lists ───────────────────────────────────────────────────────────── */

.options-list,
.entry-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.options-list li,
.entry-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.action-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.ctx {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}
a:hover { color: var(--link-hover); text-decoration: underline; }

/* ── CTA ────────────────────────────────────────────────────────────────────── */

.explore-cta { text-align: center; }

.explore-cta p {
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cta-button:hover { opacity: 0.88; color: #fff; text-decoration: none; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--link-hover); }

/* ── Mobile ─────────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .page-header { padding: 1.5rem 1rem 1.25rem; }
  main { padding-left: 1rem; padding-right: 1rem; }
  .cta-button { font-size: 0.875rem; padding: 0.65rem 1.1rem; }
}
