/*
 * The two policy pages, and nothing else.
 *
 * Hand-written CSS rather than the menu app's Tailwind build, because these are
 * static files in `public/` that Vite copies through untouched — they never see
 * a build step, which is the point: a privacy policy must not be able to break
 * because a bundler changed. Play checks the URL, and a page that 500s or
 * renders unstyled during a deploy is a rejection.
 *
 * Fonts are the system stack, not Inter. The app and the panels bundle their
 * faces (`theme/type.ts`); a legal page that blocks on a webfont to say what an
 * app collects has its priorities the wrong way round, and Google's crawler and
 * a reviewer on hotel wifi both get the text immediately this way.
 */

:root {
  --ink: #14181a;
  --ink2: #3f4a4d;
  --ink3: #6b7778;
  --line: #dfe4e3;
  --canvas: #fdf6ec;
  --brand: #ce0063;
  --surface: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink2);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.mark { height: 44px; width: auto; display: block; margin-bottom: 1.25rem; }

h1 { color: var(--ink); font-size: 1.9rem; line-height: 1.2; margin: 0 0 .5rem; }
h2 {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 2.25rem 0 .5rem;
}
h3 { color: var(--ink); font-size: 1rem; margin: 1.5rem 0 .25rem; }

.updated { color: var(--ink3); font-size: .875rem; margin: 0; }
.lede { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

a { color: var(--brand); }

strong { color: var(--ink); }

/* The one thing on either page somebody might need to act on. */
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: .95rem;
}
/* Tables are the densest thing here and the first to break on a phone. */
.scroll { overflow-x: auto; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: .6rem .75rem;
  border-bottom: 1px solid var(--line);
}
th { color: var(--ink); font-weight: 600; white-space: nowrap; }

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink3);
  font-size: .9rem;
}
