/* Lockrr legal pages — dark, monochrome, white accent, Rubik. Shared by
   terms.html and privacy.html. */
:root {
  --bg: #0a0e12;
  --surface: #151c24;
  --surface-alt: #1b232d;
  --border: #26303b;
  --text: #eef3f7;
  --text-secondary: #8b97a5;
  --text-muted: #5c6675;
  --accent: #ffffff;
  --danger: #ff5a5f;
  --radius: 16px;
  --maxw: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  font-weight: 400;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 8px;
}
.wordmark {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  color: var(--accent);
  text-decoration: none;
}
.page-title {
  font-size: 2.125rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 18px 0 6px;
  line-height: 1.15;
}
.updated {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* Table of contents */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 32px 0;
}
.toc h2 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
}
.toc li {
  margin: 7px 0;
}
.toc a {
  color: var(--text-secondary);
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent);
}

/* Headings & body */
h2 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 48px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 28px 0 10px;
}
p {
  margin: 0 0 16px;
}
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover {
  opacity: 0.8;
}
ul,
ol.body {
  padding-left: 22px;
}
li {
  margin: 8px 0;
}
strong {
  font-weight: 700;
}
.lead {
  color: var(--text-secondary);
  margin-top: 14px;
}
.placeholder {
  color: var(--danger);
  font-weight: 600;
}

/* Health / important callout */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
}
.callout h3 {
  margin-top: 0;
}

/* Inline email / code */
code,
.mono {
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding-top: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 10px;
}
.site-footer a:hover {
  color: var(--accent);
}
.site-footer .copy {
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 32px 20px;
  }
  .page-title {
    font-size: 1.75rem;
  }
}
