/* Fondue Software: one stylesheet for every page (W3). No inline styles (W6). */

:root {
  color-scheme: light;
  --page: #f2f2f5;
  --card: #ffffff;
  --text: #0b0b0f;
  --text-sub: #55555f;
  --edge: #e2e2e8;
  --focus: #2563eb;
  --mark-tile: #0b0b0f;
  --mark-letter: #f4f4f6;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px;
  --gutter: 16px;
  --measure: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0b0b0f;
    --card: #17171c;
    --text: #f4f4f6;
    --text-sub: #a3a3ad;
    --edge: #2a2a31;
    --focus: #60a5fa;
    --mark-tile: #f4f4f6;
    --mark-letter: #0b0b0f;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b0b0f;
  --card: #17171c;
  --text: #f4f4f6;
  --text-sub: #a3a3ad;
  --edge: #2a2a31;
  --focus: #60a5fa;
  --mark-tile: #f4f4f6;
  --mark-letter: #0b0b0f;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.wrap {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header: the mark and the name */

.site-header {
  padding: 28px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.mark-tile {
  fill: var(--mark-tile);
}

.mark-letter {
  fill: var(--mark-letter);
}

/* Main content */

main {
  padding: 48px 0 32px;
}

h1 {
  margin: 0 0 12px;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.lede {
  margin: 0 0 40px;
  color: var(--text-sub);
  font-size: 1.1875rem;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 16px;
}

.card p {
  margin: 0;
}

.card p + p {
  margin-top: 8px;
}

.card h2 + .field {
  margin-top: 4px;
}

.field + .field {
  margin-top: 14px;
}

.label {
  display: block;
  color: var(--text-sub);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 2px;
}

address {
  font-style: normal;
}

a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

/* Long text: the privacy policy */

.prose h2 {
  margin-top: 36px;
}

.prose p,
.prose ul {
  margin: 0 0 14px;
}

.prose ul {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 6px;
}

.prose .summary {
  margin-top: 0;
}

.updated {
  color: var(--text-sub);
  font-size: 0.9375rem;
  margin: 0 0 28px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--edge);
  padding: 20px 0 40px;
  color: var(--text-sub);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text-sub);
}

@media (max-width: 480px) {
  main {
    padding-top: 36px;
  }

  h1 {
    font-size: 1.875rem;
  }

  .lede {
    font-size: 1.0625rem;
    margin-bottom: 28px;
  }

  .card {
    padding: 18px 18px;
  }
}
