/*
 * Styling for the standalone legal pages.
 *
 * These pages are plain HTML in public/ rather than tabs in the app, because
 * Google's and Discord's consent screens need a real URL that loads without
 * JavaScript. That also means they cannot use the app's bundled stylesheet,
 * whose filename is content-hashed at build time - hence this small copy of
 * the tokens they need.
 *
 * No inline styles anywhere: the site's CSP sets `style-src 'self'` with no
 * 'unsafe-inline', so a <style> block or a style="" attribute written into
 * the HTML would be refused by the browser.
 */

:root {
  --bg: #121110;
  --panel-dark: #221f1a;
  --text: #c6c0af;
  --text-h: #f0ead9;
  --border: #7c8791;
  --accent: #d8b04a;
  --sans: 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: 'Cinzel', serif;
  --label: 'Cormorant SC', serif;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 32px 20px 64px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
}

.home {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.home:hover {
  text-decoration: underline;
}

h1 {
  margin: 0 0 6px;
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-h);
  letter-spacing: 0.02em;
}

.updated {
  margin: 0 0 32px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.75;
}

h2 {
  margin: 34px 0 10px;
  font-family: var(--heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

p,
li {
  margin: 0 0 12px;
}

ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

strong {
  color: var(--text-h);
  font-weight: 600;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 9px 12px;
  border: 1px solid var(--panel-dark);
}

th {
  font-family: var(--label);
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-h);
  background: var(--panel-dark);
}

.note {
  margin: 28px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--panel-dark);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 14px;
}

footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--panel-dark);
  font-size: 13px;
  opacity: 0.8;
}

@media (max-width: 560px) {
  body {
    padding: 24px 16px 48px;
  }

  h1 {
    font-size: 24px;
  }

  table,
  th,
  td {
    font-size: 13px;
  }
}
