/* Base styles shared by every page: the typeface, the page shell, and links.
 *
 * Loaded before assets/footer.css so the footer can build on it. Page-specific
 * rules stay in each page's own <style> block.
 */

/* Self-hosted Inter — the same typeface the wordmark outlines come from, so the
   logo and the page text are one family. No third-party request. The fallback
   is metric-matched (Inter's ascent/descent), so text barely shifts if the font
   is late. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-subset-400-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'),
       local('Liberation Sans'), local('Arimo');
  ascent-override: 96.88%;
  descent-override: 24.12%;
  line-gap-override: 0%;
}

:root {
  /* One family for the whole site. */
  --font-sans: 'Inter', 'Inter Fallback', system-ui, -apple-system,
    'Segoe UI', sans-serif;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  background-color: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
}

/* Links: no underline at rest, underlined with a gap on hover only.
   Exceptions: links inside running text (see `.prose a`) are always
   underlined, because an invisible link inside a paragraph is hard to spot. */
a {
  color: inherit;
  font-size: 13px;
  text-decoration: none;
  text-decoration-color: currentColor;
  text-underline-offset: 0.38em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration: underline;
}

/* A link inside running text is always underlined. */
.prose a {
  text-decoration: underline;
}

/* Prose: the long-form pages (privacy). Their type, leading and
   rhythm are defined here once, so every page reads identically and a page
   cannot drift by having its own copy of these rules.
 *
 * Leading: the site's 1 is right for the footer's single-line items, but
 * running text needs more air, so body text takes 1.55. Paragraphs AND list
 * items both get it — a bullet list is running text too, and giving it only
 * to paragraphs is what made the privacy page's bullets look cramped. Short
 * standalone lines (the breadcrumb) keep the site's 1. */
.prose p,
.prose li {
  line-height: 1.55;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.prose li {
  margin-bottom: 6px;
}
