/* The two legal pages. Deliberately plain: these are read once, often on a
   telephone, sometimes by a reviewer at Apple, and nothing about them
   should be clever. The palette is the app's so they do not feel like a
   different site, but there is no glass, no gradient and no animation. */

:root {
  color-scheme: light dark;
  --ink: #46536b;
  --head: #2d3b52;
  --muted: #8594a8;
  --line: #d4dde9;
  --paper: #fbfcfe;
  --back: #e9edf3;
  --mark: #50aacd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #d7ddea;
    --head: #f1f1fa;
    --muted: #97a3b8;
    --line: #2d3a52;
    --paper: #101a28;
    --back: #080f19;
    --mark: #6cc3e2;
  }
}

* { box-sizing: border-box }

body {
  margin: 0;
  background: var(--back);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  background: var(--paper);
  min-height: 100vh;
}

@media (min-width: 720px) {
  .page {
    margin: 32px auto;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 40px 48px 56px;
  }
}

h1 {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 680;
  color: var(--head);
  margin: 10px 0 4px;
}

h2 {
  font-size: 17px;
  font-weight: 650;
  color: var(--head);
  margin: 30px 0 8px;
}

p { margin: 0 0 12px }
ul { margin: 0 0 12px; padding-left: 22px }
li { margin-bottom: 5px }
strong { font-weight: 650; color: var(--head) }

.date {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .03em;
  margin-bottom: 22px;
}

/* The one paragraph that matters most, and the only one most people
   will read. */
.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--head);
  border-left: 3px solid var(--mark);
  padding: 2px 0 2px 15px;
  margin: 0 0 8px;
}

a { color: var(--mark) }

/* The way back, since inside the app there is no browser button for it.
   Sits above the language row, where a back control is looked for. */
.back {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.langs {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.langs button {
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 5px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.langs button[aria-current="true"] {
  background: var(--mark);
  border-color: var(--mark);
  color: #fff;
  font-weight: 650;
}

.langs button:focus-visible,
a:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px }

.foot {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
