/* Shared styles for the plain pages: /accessibility, /privacy, /terms.
   Same tokens and type as the home page (public/index.html). */
@font-face {
  font-family: 'APK Galeria Roman';
  src: url('/fonts/APKGaleria.woff2') format('woff2');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/SpaceMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --background: #ffffff;
  --bg-subtle: #fafafa;
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-tertiary: #6b6b6b;
  --border: rgba(0,0,0,0.08);
  --font-sans: 'APK Galeria Roman', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Space Mono', 'Courier New', monospace;
  --link: #0066CC;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 24px; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #00529F; }
a:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus { outline: none; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--text-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text-primary); text-decoration: none;
}
.logo:hover { color: var(--text-primary); }
.logo .labs { color: var(--text-tertiary); font-weight: 400; }
.back { font-size: 14px; color: var(--text-secondary); display: inline-block; padding: 10px 0; }
.back:hover { color: var(--text-primary); }

.doc { padding: 72px 0 96px; }
.eyebrow {
  font-family: var(--font-secondary);
  font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 16px;
}
h1 {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
}
.updated {
  font-family: var(--font-secondary);
  font-size: 13px; color: var(--text-tertiary); margin-top: 16px;
}
.lede { font-size: 18px; color: var(--text-secondary); margin-top: 24px; }
h2 {
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
}
h3 { font-size: 17px; font-weight: 600; margin-top: 24px; }
p, li { font-size: 16px; color: var(--text-secondary); }
p { margin-top: 14px; }
ul { margin-top: 14px; padding-left: 22px; }
li + li { margin-top: 8px; }
strong { color: var(--text-primary); font-weight: 600; }
.note {
  margin-top: 24px; padding: 18px 20px;
  background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 6px;
}
.note p:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
th, td {
  text-align: left; vertical-align: top;
  padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
th { color: var(--text-primary); font-weight: 600; }
.table-wrap { overflow-x: auto; }

.site-footer { background: #111111; color: rgba(255,255,255,0.72); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px 24px; padding-top: 28px; padding-bottom: 28px;
}
.site-footer .meta { font-family: var(--font-secondary); font-size: 12px; color: rgba(255,255,255,0.66); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0; }
.site-footer a {
  display: inline-block; padding: 6px 0;
  font-size: 14px; color: rgba(255,255,255,0.72); text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #fff; }
.site-footer a[aria-current="page"] { color: #fff; text-decoration: underline; }

@media (max-width: 600px) {
  .doc { padding: 48px 0 72px; }
  th, td { padding-right: 8px; }
}
