/* Shared styling for the policy pages. Plain on purpose: these are read, not browsed. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1b1d21;
  --muted: #5d646e;
  --border: #dfe3e8;
  --accent: #2d6ae0;
  --surface: #f6f7f9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --text: #e8eaed;
    --muted: #a3abb5;
    --border: #2e3238;
    --accent: #7aa5f5;
    --surface: #1c1f24;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Hiragino Sans',
    'Noto Sans JP',
    sans-serif;
  line-height: 1.9;
  font-size: 16px;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

h1 {
  font-size: 1.6rem;
  line-height: 1.4;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

.back {
  font-size: 0.9rem;
}

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

ul,
ol {
  padding-left: 1.4rem;
}

li {
  margin: 0.35rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface);
  font-weight: 600;
  white-space: nowrap;
}

strong {
  font-weight: 700;
}
