/* Shared styles for legal/info pages — kept separate from index.html
   so we don't bloat the marketing page. */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #10b981;
  --primary-pressed: #059669;
  --text: #0a0a0a;
  --text-muted: #52525b;
  --text-subtle: #a1a1aa;
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --border: #e4e4e7;
  --max-width: 760px;
  --radius: 14px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--primary-pressed);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

.back-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 96px;
}

h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-weight: 800;
}

.updated {
  color: var(--text-subtle);
  font-size: 14px;
  margin-bottom: 40px;
}

h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 12px;
  font-weight: 700;
}

h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 600;
}

p,
li {
  color: var(--text-muted);
  font-size: 16px;
}

p {
  margin-bottom: 14px;
}

ul,
ol {
  margin: 0 0 16px 24px;
}

li {
  margin-bottom: 6px;
}

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

.callout {
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 15px;
}

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

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 13px;
}

footer a {
  color: var(--text-muted);
  margin: 0 8px;
}

@media (max-width: 540px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 19px;
  }
  main {
    padding: 32px 20px 64px;
  }
}
