/*
 * Shared by the public pages App Store Connect links to — /support and
 * /privacy. Static and outside the admin SPA, so they render with no session.
 */
/* The accent is the brand black, the mark's own brand-500. Links keep their
   underline, since that is all that sets them apart from the text around
   them — and on a dark page, where black would sink into the canvas, the
   accent is the ramp's lightest gray instead. */
:root {
  --accent: #101012;
  --ink: #16161a;
  --muted: #5f6470;
  --canvas: #f7f7f8;
  --card: #ffffff;
  --edge: rgba(22, 22, 26, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #f4f4f5;
    --ink: #f4f5f7;
    --muted: #a2a8b3;
    --canvas: #101216;
    --card: #181b20;
    --edge: rgba(255, 255, 255, 0.12);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: max(1.5rem, env(safe-area-inset-top)) 1.25rem 3rem;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.wordmark {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--accent); }
.langs { display: flex; gap: 0.25rem; }
.langs button {
  font: inherit;
  font-size: 0.875rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.langs button[aria-pressed="true"] { color: var(--ink); background: var(--card); font-weight: 600; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.lede { color: var(--muted); margin: 0 0 2rem; font-size: 1.0625rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.contact {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.375rem;
}
.contact h2 { margin-top: 0; }
.contact p { margin: 0 0 0.75rem; }
.mail {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 600;
  word-break: break-all;
}
.contact ul { margin: 0.75rem 0 0; padding-left: 1.25rem; color: var(--muted); }
details {
  border-bottom: 1px solid var(--edge);
  padding: 0.875rem 0;
}
details:first-of-type { border-top: 1px solid var(--edge); }
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p, details ol, details ul { margin: 0.625rem 0 0; color: var(--muted); }
details ol, details ul { padding-left: 1.25rem; }
footer {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Policy prose */
.meta { color: var(--muted); font-size: 0.9375rem; margin: -1.25rem 0 2rem; }
.prose h2 { padding-top: 0.5rem; }
.prose h3 { font-size: 1rem; margin: 1.5rem 0 0.25rem; }
.prose p, .prose ul { margin: 0.5rem 0 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-top: 0.375rem; }
.prose li strong { color: var(--ink); }
.toc {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2 14rem; column-gap: 2rem; }
.toc li { margin: 0.125rem 0; break-inside: avoid; }
footer a + a::before { content: "·"; color: var(--muted); margin: 0 0.5rem; display: inline-block; }
