.seo-page {
  background: var(--bg, #f7fbff);
  color: var(--text, #0a1628);
  color-scheme: light;
}

.seo-page .site-nav {
  position: sticky;
  top: 0;
}

.seo-page .nav-links {
  flex-wrap: wrap;
}

.seo-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(1.4rem, 3vw, 2.5rem) 0 4rem;
}

.seo-hero {
  padding: clamp(1.4rem, 4vw, 3rem) 0 clamp(1.2rem, 3vw, 2rem);
  border-bottom: 2px solid var(--text, #0a1628);
}

.seo-kicker {
  margin: 0 0 0.65rem;
  color: var(--accent, #2563eb);
  font-family: var(--mono), "JetBrains Mono", monospace;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.seo-hero h1 em {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent, #2563eb);
}

.seo-hero p {
  max-width: 880px;
  margin: 1rem 0 0;
  color: var(--muted, #52657c);
  font-size: 1.04rem;
  line-height: 1.65;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.seo-actions a,
.seo-chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border, #c8d8e8);
  border-radius: 8px;
  background: var(--surface, #fff);
  color: var(--text, #0a1628);
  font-weight: 800;
  text-decoration: none;
}

.seo-actions a.primary {
  border-color: var(--accent, #2563eb);
  background: var(--accent, #2563eb);
  color: #fff;
}

.seo-band {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border, #c8d8e8);
}

.seo-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0;
}

.seo-band p {
  max-width: 950px;
  margin: 0.55rem 0;
  color: var(--muted, #52657c);
  line-height: 1.65;
}

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

.seo-card {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid var(--border, #c8d8e8);
  border-radius: 8px;
  background: var(--surface, #fff);
}

.seo-card h2,
.seo-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.seo-card p {
  margin: 0.35rem 0;
  color: var(--muted, #52657c);
  font-size: 0.93rem;
}

.seo-card a,
.seo-band a,
.seo-table a {
  color: var(--accent, #2563eb);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}

.seo-card a:hover,
.seo-band a:hover,
.seo-table a:hover {
  border-bottom-color: currentColor;
}

.seo-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.seo-metric {
  padding: 0.8rem;
  border: 1px solid var(--border, #c8d8e8);
  border-radius: 8px;
  background: var(--surface, #fff);
}

.seo-metric strong {
  display: block;
  font-family: var(--mono), "JetBrains Mono", monospace;
  font-size: 1.35rem;
}

.seo-metric span {
  color: var(--muted, #52657c);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border, #c8d8e8);
  border-radius: 8px;
  background: var(--surface, #fff);
}

.seo-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.seo-table th,
.seo-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border, #c8d8e8);
  text-align: left;
  vertical-align: top;
}

.seo-table th {
  color: var(--muted, #52657c);
  font-family: var(--mono), "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-table tr:last-child td {
  border-bottom: 0;
}

.seo-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--accent, #2563eb) 4%, transparent);
}

.seo-num {
  font-family: var(--mono), "JetBrains Mono", monospace;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.seo-table a.seo-row-cta {
  display: inline-block;
  margin-left: 0.45rem;
  border-bottom: 0;
  color: var(--muted-2, #8497b5);
  font-family: var(--mono), "JetBrains Mono", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.seo-table a.seo-row-cta:hover {
  border-bottom: 0;
  color: var(--accent, #2563eb);
}

.seo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.seo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.2rem 0.45rem;
  border: 1px solid color-mix(in srgb, var(--accent, #2563eb) 35%, var(--border, #c8d8e8));
  border-radius: 8px;
  color: var(--accent, #2563eb);
  font-size: 0.76rem;
  font-weight: 900;
}

.seo-snapshot {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.seo-snapshot-body {
  flex: 1;
  min-width: 0;
}

.seo-snapshot .seo-metrics {
  margin-top: 0;
}

.seo-photo {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border: 1px solid var(--border, #c8d8e8);
  border-radius: 12px;
  background: var(--surface, #fff);
  object-fit: cover;
}

.seo-photo-mono {
  display: grid;
  place-items: center;
  color: var(--muted, #52657c);
  font-family: var(--mono), "JetBrains Mono", monospace;
  font-size: 1.7rem;
  font-weight: 900;
}

.seo-explore {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border, #c8d8e8);
}

.seo-explore h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0;
}

.seo-explore-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seo-explore-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border, #c8d8e8);
  border-radius: 8px;
  background: var(--surface, #fff);
  color: var(--text, #0a1628);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.seo-explore-links a:hover {
  border-color: var(--accent, #2563eb);
  color: var(--accent, #2563eb);
}

.seo-foot {
  padding: 1.5rem 0 0;
  color: var(--muted, #52657c);
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .seo-main {
    width: min(100% - 24px, 1180px);
  }

  .seo-actions a {
    flex: 1 1 100%;
  }

  .seo-snapshot {
    flex-direction: column;
  }
}

