/* DontScroll — system fonts only, no remote assets */

:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #525252;
  --border: #e5e5e5;
  --accent-bar: #0a0a0a;
  --max: 38rem;
  --space: clamp(1.25rem, 4vw, 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space);
  padding-bottom: clamp(3rem, 10vw, 5rem);
}

.site-header {
  padding-top: clamp(2rem, 8vw, 4rem);
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
  border-left: 4px solid var(--accent-bar);
  padding-left: 1.25rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lede {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 32ch;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

li::marker {
  color: var(--fg);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin: 2rem 0 0;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--fg);
  text-decoration: none;
  border: 2px solid var(--fg);
}

.btn:hover {
  color: var(--fg);
  background: var(--bg);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.link-secondary {
  font-size: 0.9375rem;
  color: var(--muted);
}

.site-footer {
  margin-top: clamp(3rem, 10vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

/* Privacy page */
.prose h1 {
  margin-bottom: 1rem;
}

.prose h2 {
  margin-top: 2.25rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9375rem;
}
