/* Legal pages (imprint, privacy): the landing page's tokens, one reading column. */
:root {
  --page: #000;
  --ink: #fff;
  --ink-dim: rgba(255, 255, 255, 0.55);
  --ink-faint: rgba(255, 255, 255, 0.3);
  --link: rgba(255, 255, 255, 0.7);
  --pill-bg: rgba(255, 255, 255, 0.055);
  --action: #3b9bff;
}
@media (prefers-color-scheme: light) {
  :root {
    --page: #fff6ee;
    --ink: #1a1a1a;
    --ink-dim: rgba(26, 26, 26, 0.6);
    --ink-faint: rgba(26, 26, 26, 0.35);
    --link: rgba(26, 26, 26, 0.75);
    --pill-bg: #fff;
    --action: #0070e0;
  }
}
/* Seen's Lift: a faint cool wash raises the floor of the dark page. */
@media (prefers-color-scheme: dark) {
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: #c4d8e1;
    opacity: 0.06;
    pointer-events: none;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--ink); }
body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
/* Centered in the view when it fits; longer text simply runs down the page. */
main {
  width: 100%;
  max-width: 36em;
  margin: 0 auto;
  padding: 2.5em 1.5em 3em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1 { margin: 0 0 0.2em; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.meta { margin: 0 0 2em; font-size: 13px; font-weight: 600; color: var(--ink-faint); }
h2 { margin: 1.6em 0 0.15em; font-size: 15px; font-weight: 800; }
p, li { margin: 0 0 0.8em; font-size: 15px; color: var(--ink-dim); }
ul { padding-left: 1.2em; }
a { color: var(--link); text-underline-offset: 2px; transition: color 0.12s ease; }
@media (hover: hover) {
  a:hover { color: var(--ink); }
}
/* The footer line and page column come from shared.css, as on the landing page. */

/* Back to the landing page: a round pill in the top-left corner, the same size and
   style as the landing page's sound toggle. */
.back {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 10;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pill-bg) 70%, transparent);
  color: var(--ink-dim);
  transition: color 0.12s ease;
}
.back svg { display: block; width: 100%; height: 100%; }
@media (hover: hover) {
  .back:hover { color: var(--ink); }
}
.back:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

/* Platforms for the playable ball carry its light inside them (the corner buttons are
   fixed, so they already hold it). */
.back, .languages { overflow: hidden; border-radius: 999px; }

/* Each heading with its paragraphs sits in a card, like the landing page's controls (a
   quiet pill-colored fill with one top-edge highlight). The cards are also platforms. */
.card {
  position: relative;
  overflow: hidden;
  margin: 0 0 10px;
  padding: 14px 18px 4px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--pill-bg) 70%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card h2 { margin-top: 0; }
