/* The static privacy and terms pages. They load without the app, so the brand tokens are copied from
   src/shared/tokens.css. */
:root {
  --deep-cyan: #0e2529;
  --lime: #e5e7ba;
  --white: #ffffff;
  --font-head: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --border: rgba(255, 255, 255, 0.24);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--deep-cyan);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.legal-home {
  display: inline-block;
}

.legal-home img {
  display: block;
  width: auto;
  height: 32px;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  margin: 48px 0 8px;
  font-size: clamp(32px, 6vw, 44px);
}

h2 {
  margin: 40px 0 12px;
  font-size: 24px;
}

p,
ul {
  margin: 0 0 16px;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--lime);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.legal-table {
  margin-bottom: 16px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

strong,
th {
  font-weight: 600;
}

th,
td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
