/* Shared style for the secondary pages: privacy, terms, changelog.
   One file rather than three copies, on the same tracked tokens as the landing
   page so a legal page never looks like a different product. */

:root {
  --chalk: #f7f6f0;
  --paper: #ffffff;
  --ink: #18262e;
  --steel: #dde1dc;
  --lime: #b9e83f;
  --ink-62: rgba(24, 38, 46, 0.62);
  --ink-12: rgba(24, 38, 46, 0.12);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--sans);
  background: var(--chalk);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  padding: 0 20px 72px;
}

.wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
}

header {
  padding: 28px 0 20px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 36px;
}

.wordmark {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 14px;
}

.lede {
  color: var(--ink-62);
  margin-top: 12px;
}

.updated {
  font-size: 0.85rem;
  color: var(--ink-62);
  margin-top: 10px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}

h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 22px 0 8px;
}

p {
  margin-bottom: 14px;
}

ul {
  margin: 0 0 14px 1.1rem;
}

li {
  margin-bottom: 8px;
}

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

a:hover {
  text-decoration-color: var(--ink);
}

strong {
  font-weight: 800;
}

/* A stated fact worth not skimming past — used sparingly. */
.callout {
  background: var(--paper);
  border: 1px solid var(--ink-12);
  border-left: 4px solid var(--lime);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 20px 0;
}

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

code {
  font-size: 0.92em;
  background: var(--paper);
  border: 1px solid var(--ink-12);
  border-radius: 5px;
  padding: 1px 5px;
}

.entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--steel);
}

.entry:last-of-type {
  border-bottom: 0;
}

.entry h2 {
  margin: 0 0 4px;
}

.date {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-62);
}

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--steel);
  font-size: 0.9rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

footer nav a.gh {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.fine {
  color: var(--ink-62);
  font-size: 0.85rem;
  margin-top: 14px;
}
