/* Pixel Arcadia public site — privacy policy. No web fonts, no scripts, no trackers. */
:root {
  --launch-blue: #3b63e8;
  --blue-deep: #2450cc;
  --ink: #17306e;
  --ink-soft: #3e5189;
  --paper: #ffffff;
  --paper-low: #eef3ff;
  --rule: #d5e0fb;
  --link: #1f47c2;
  --link-visited: #5231a8;
  --focus: #ffc53d;
}

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

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

body {
  margin: 0;
  background: var(--launch-blue);
  /* Launch blue → deep blue: white text stays ≥ 5:1 everywhere on the field. */
  background-image: linear-gradient(180deg, var(--launch-blue) 0, var(--blue-deep) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 700;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: #ffffff;
}

.site-header svg {
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
}

.brand {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.brand-sub {
  margin: 0.125rem 0 0;
  font-size: 0.9375rem;
  color: #ffffff;
}

main {
  max-width: 46rem;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

article {
  background: var(--paper);
  border-radius: 20px;
  padding: 2rem 1.5rem 2.25rem;
  box-shadow: 0 12px 32px rgba(15, 35, 85, 0.25);
}

@media (min-width: 40rem) {
  article {
    padding: 2.75rem 3rem 3rem;
  }
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 1.375rem;
  line-height: 1.3;
}

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

p,
ul {
  margin: 0.5rem 0 0.75rem;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.3rem;
}

.meta {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.summary {
  background: var(--paper-low);
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.summary ul {
  margin: 0.25rem 0 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

a:visited {
  color: var(--link-visited);
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

nav[aria-label="Contents"] ol {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
  columns: 2 14rem;
  column-gap: 2rem;
}

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

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

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

th {
  background: var(--paper-low);
}

caption {
  text-align: left;
  padding-bottom: 0.375rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.site-footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  color: #ffffff;
  font-size: 0.875rem;
}

.site-footer a,
.site-footer a:visited {
  color: #ffffff;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
