:root {
  color-scheme: light dark;
}

.seo-page {
  background: #0f141b;
  color: #e9eef5;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

.seo-page .nav {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
  font-size: 0.95rem;
}

.seo-page .nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
}

.seo-page .nav a:hover,
.seo-page .nav a:focus {
  opacity: 1;
  text-decoration: underline;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

.page-header {
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #9fb3c8;
}

.lead {
  font-size: 1.05rem;
  max-width: 720px;
}

.section {
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.section-subtitle,
.section-intro {
  color: #c3d1e3;
  margin: 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: #141b24;
  border: 1px solid #223043;
  border-radius: 12px;
  padding: 1.25rem;
}

.card h3 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #223043;
  background: #121821;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.status-table th,
.status-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #223043;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.status-pill--not-started {
  background: rgba(237, 189, 77, 0.15);
  color: #f6d68a;
}

.status-pill--in-progress {
  background: rgba(82, 171, 252, 0.15);
  color: #98c8ff;
}

.status-pill--done {
  background: rgba(87, 212, 139, 0.15);
  color: #98f0c0;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.timeline-step {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #223043;
  background: #121821;
}

.progress-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.progress-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ghost {
  background: transparent;
  color: inherit;
  border: 1px solid #3a4b63;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.ghost:focus,
.ghost:hover {
  border-color: #6f86a6;
}

.file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-label {
  cursor: pointer;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  background: #141b24;
  border: 1px solid #223043;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checklist input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
}

.meta {
  color: #9fb3c8;
  font-size: 0.85rem;
}

.footer {
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  color: #9fb3c8;
}

@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .progress-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
