/* Shared styling for the legal pages, matching the app: ink on paper. */
:root {
  --ink: #121212;
  --dim: #646462;
  --line: #e2e2df;
  --paper: #f7f7f6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--ink);
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 24px 0 8px;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 44px 0 12px;
}

h3 { font-size: 16px; font-weight: 600; margin: 28px 0 6px; }

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

p, li { color: #2a2a28; }
li { margin-bottom: 8px; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

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

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

th { font-weight: 600; }

.card {
  background: #fff;
  border-radius: 24px;
  padding: 24px 28px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.steps { counter-reset: step; list-style: none; padding: 0; }

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

footer a { color: var(--dim); margin-right: 20px; }

@media (max-width: 520px) {
  h1 { font-size: 32px; }
  header { padding-top: 36px; }
}
