/* Shared styling for the static content pages (SEO package 2). */
:root {
  --app-background: #0d1320;
  --surface-panel: #121c2c;
  --border-subtle: #30435f;
  --accent-green: #5ee39a;
  --accent-gold: #ffd95e;
  --accent-blue: #64b5ff;
  --text-primary: #eaf2ff;
  --text-secondary: #aab7ca;
}

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

body {
  background: var(--app-background);
  color: var(--text-primary);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

h1 {
  color: var(--accent-green);
  font-size: 26px;
  line-height: 1.3;
}

h2 {
  font-size: 20px;
  margin-top: 14px;
}

p,
li {
  color: var(--text-secondary);
  font-size: 15px;
}

ul,
ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

a {
  color: var(--accent-green);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}

/* Wide tables scroll inside their own container instead of pushing the page
   sideways: a 4- or 7-column data table cannot shrink below its min-content
   width, which overflowed the viewport on phones (measured 144px at 390px). */
.table-scroll {
  overflow-x: auto;
}

.table-scroll > table {
  min-width: 100%;
}

th,
td {
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  text-align: left;
}

th {
  color: var(--text-primary);
  background: var(--surface-panel);
  font-weight: 600;
}

td {
  color: var(--text-secondary);
}

td:first-child {
  color: var(--text-primary);
}

/* Privacy policy page: metadata line, the at-a-glance grid, and the callout. */
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: -6px;
}

.doc-meta span:not(:last-child)::after {
  content: "\00b7";
  margin-left: 18px;
  color: var(--border-subtle);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.fact {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: var(--surface-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 14px;
}

.fact-mark {
  flex: none;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.callout {
  border-left: 3px solid var(--accent-gold);
  background: var(--surface-panel);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  color: var(--text-primary);
}

/* Comparison page: claim labels and the line-participation heatmap tables. */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1px 7px;
  margin-right: 6px;
  vertical-align: 1px;
  color: var(--text-primary);
}

.tag-exact {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.tag-est {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.tag-obs {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.heat th,
.heat td {
  text-align: center;
  padding: 5px 4px;
  font-size: 13px;
}

.heat caption {
  caption-side: bottom;
  text-align: left;
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 8px;
}

.play-cta {
  display: inline-block;
  line-height: 0;
  margin-top: 10px;
}

.footer {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 18px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
