/* Opssy public compliance pages — the one shared stylesheet.
   Static and self-contained: system fonts only, no external resource, no
   script. Light and dark follow prefers-color-scheme. Every text/background
   pair below meets WCAG 2.1 AA contrast (4.5:1) in both schemes. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1a1d21;
  --muted: #4a5058;
  --border: #d5d9de;
  --panel: #f4f6f8;
  --accent: #0b5cad;
  --note-bg: #fff4e5;
  --note-text: #5c3400;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --text: #eceff2;
    --muted: #b3bac2;
    --border: #343a41;
    --panel: #1c2024;
    --accent: #7db8f2;
    --note-bg: #3a2a12;
    --note-text: #ffd9a3;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-wrap: break-word;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--panel);
  color: var(--accent);
  padding: 0.5rem 1rem;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header,
main,
.site-footer {
  max-width: 46rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.site-header {
  padding-top: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.375rem 0;
  min-height: 44px;
  line-height: 32px;
}

.site-nav a[aria-current="page"] {
  font-weight: 600;
  text-decoration: none;
}

main {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

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

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.muted {
  color: var(--muted);
}

.status {
  background: var(--note-bg);
  color: var(--note-text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.meta {
  margin: 0;
  padding: 0;
}

.meta div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
}

.meta dt {
  font-weight: 600;
}

.meta dd {
  margin: 0;
}

blockquote {
  margin: 0.75rem 0;
  padding: 0.5rem 1rem;
  border-left: 4px solid var(--accent);
  background: var(--panel);
}

blockquote p {
  margin: 0.25rem 0;
}

figure {
  margin: 1rem 0 1.5rem;
}

figure img {
  display: block;
  width: 100%;
  max-width: 390px;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

ol li,
ul li {
  margin: 0.25rem 0;
}

.site-footer {
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

/* The account-deletion page's retention table only (class "retention"); no
   other page is affected. Cells wrap at phone width, so the page never
   scrolls sideways. */
.retention {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem;
  font-size: 0.9375rem;
}

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

.retention thead th {
  border-top: 0;
  border-bottom: 2px solid var(--border);
}

.retention tbody th {
  font-weight: 600;
}
