/* Static legal pages. Deliberately dependency-free: no bundler, no webfont —
   these have to render even if the panel build is broken. The palette matches
   `web/src/index.css`. */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #1b1a16;
  --muted: #6c6a61;
  --border: #e6e3da;
  --accent: #1f7a4d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0 20px 96px;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

main {
  max-width: 720px;
  margin: 0 auto;
}

header {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
}

.brand svg {
  display: block;
}

h1 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 20px 0 6px;
}

h2 {
  font-size: 19px;
  letter-spacing: -0.3px;
  margin: 36px 0 8px;
}

h3 {
  font-size: 16px;
  margin: 24px 0 6px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: 12.5px;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: #faf9f6;
}

tr:last-child td {
  border-bottom: 0;
}

a {
  color: var(--accent);
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
}

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

footer a {
  margin-right: 16px;
}

/* Wide tables scroll inside their own box instead of the page. */
.scroll {
  overflow-x: auto;
}
