:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1419;
  --bg-elevated: #1a222c;
  --bg-muted: #232c38;
  --border: #2e3a48;
  --border-strong: #445366;
  --text: #e8eef5;
  --text-muted: #8b9aab;
  --accent: #60a5fa;
  --accent-hover: #93c5fd;
  --on-accent: #0b1220;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #e8ecf2;
  --bg-elevated: #f7f8fb;
  --bg-muted: #e4e8ef;
  --border: #d0d6e0;
  --border-strong: #b7c0cd;
  --text: #1c2430;
  --text-muted: #5c6b7c;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --on-accent: #f8fafc;
  --shadow: 0 8px 28px rgba(28, 36, 48, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.seo-header, .seo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.seo-header img { height: 36px; width: auto; display: block; }

.seo-header nav, .seo-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.seo-header nav a, .seo-footer nav a {
  text-decoration: none;
  font-weight: 600;
}

.seo-main {
  max-width: 760px;
  margin: 24px auto 48px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 0.5rem; }
p { margin: 0 0 1rem; }
li { margin-bottom: 0.45rem; }

.seo-disclosure {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-muted);
}

.seo-byline { color: var(--text-muted); }

.seo-table-wrap { overflow-x: auto; margin: 0 0 1rem; }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
thead th { background: var(--bg-muted); }

.seo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.25rem 0;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary {
  background: var(--bg-muted);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { color: var(--text); border-color: var(--border-strong); }

.seo-footer {
  padding-bottom: 32px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.seo-article-list {
  list-style: none;
  padding: 0;
}

.seo-article-list li {
  margin: 0 0 1.25rem;
}

.seo-article-list a {
  font-weight: 650;
  font-size: 1.1rem;
}

.seo-article-list p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}
