body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

address {
  font-style: normal;
}

a {
  color: #0b4f8a;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #eeeeee;
    background: #121212;
  }

  a {
    color: #8cc4ff;
  }
}

/* Store-listing pages (/privacy, /support, /delete-account): header, footer,
   contents list, tables, FAQ disclosures and the deletion timeline. Additive
   only: the home page and the app-link fallbacks do not use these classes. */

:root {
  --muted: #555555;
  --rule: #d9d9d9;
  --surface: #f5f7fa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --muted: #b3b3b3;
    --rule: #3a3a3a;
    --surface: #1e1e1e;
  }
}

.site-header,
.site-footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.site-header + main {
  padding-top: 1.5rem;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-size: 0.95rem;
}

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

.site-footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.lede {
  font-size: 1.125rem;
}

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

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

.toc {
  background: var(--surface);
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
}

.toc h2 {
  font-size: 1rem;
  margin: 0;
}

.toc ol,
.toc ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

section {
  scroll-margin-top: 1rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

tbody th {
  font-weight: 600;
}

details {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  margin: 0.75rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details[open] summary {
  margin-bottom: 0.5rem;
}

.steps li {
  margin-bottom: 0.25rem;
}

.timeline {
  border-left: 3px solid var(--rule);
  margin: 1rem 0;
  padding-left: 1rem;
}

.timeline .step {
  margin-bottom: 1rem;
}

.timeline .step p {
  margin: 0;
}

.doc a:focus-visible,
.doc summary:focus-visible,
.doc .table-wrap:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Small phones: tables read as stacked rows instead of scrolling sideways. */
@media (max-width: 30rem) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  tr {
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem 0;
  }

  th,
  td {
    border: 0;
    padding: 0.125rem 0;
  }
}

@media (max-width: 30rem) {
  td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--muted);
  }
}
