/* StoneSmart legal pages — brand tokens from design/01-design-system.md.
   Static, no scripts, no forms, no third-party requests of any kind: these
   pages must not themselves collect anything they promise not to collect. */
:root {
  --background: #f7f4ee;
  --surface: #ffffff;
  --border: #e8e3d9;
  --text-primary: #1c1b1a;
  --text-secondary: #6b6862;
  --text-muted: #9b978f;
  --accent: #17a2a2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 64px;
  background: var(--background);
  color: var(--text-secondary);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

header {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
}

.brand span { color: var(--accent); }

h1 { color: var(--text-primary); font-size: 30px; line-height: 1.25; margin: 24px 0 8px; }
h2 { color: var(--text-primary); font-size: 20px; line-height: 1.3; margin: 36px 0 8px; }
h3 { color: var(--text-primary); font-size: 17px; margin: 24px 0 4px; }

.updated {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 8px;
}

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

ul { padding-left: 20px; }
li { margin-bottom: 6px; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 15px; }
th { color: var(--text-primary); font-weight: 600; }
tr:last-child td { border-bottom: none; }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout strong { color: var(--text-primary); }

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

footer a { margin-right: 16px; }

@media (max-width: 520px) {
  h1 { font-size: 26px; }
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 4px 12px; }
  tr { border-bottom: 1px solid var(--border); padding: 8px 0; }
  td::before { content: attr(data-label) ": "; color: var(--text-primary); font-weight: 600; }
}
