/* The legal pages (/privacy, /cookies, /terms). The same tokens and type as
   the landing page, which keeps its own styles inline. */
:root {
  --paper: #fafafa;
  --sunken: #f4f4f5;
  --hairline: #e4e4e7;
  --border-field: #d1d1d6;
  --ink: #111113;
  --ink-80: #3c3c43;
  --ink-60: #6e6e73;
  --lake: #c53c69;
  --font-display: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 6vw, 96px);
  --fg: var(--ink);
  --muted: var(--ink-60);
  --btn-bg: var(--lake);
  --btn-fg: #fff;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a:focus-visible {
  outline: 2px solid var(--lake);
  outline-offset: 3px;
}

.mono {
  font-family: var(--font-mono);
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--btn-bg);
  border-radius: 6px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 14px / 1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
@media (hover: hover) {
  .btn:hover {
    background: color-mix(in oklab, var(--btn-bg), #000 7%);
    border-color: color-mix(in oklab, var(--btn-bg), #000 7%);
  }
}
.btn:focus-visible {
  outline: 2px solid var(--btn-bg);
  outline-offset: 2px;
}
.cta-short {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: #fff;
  box-shadow: 0 1px 0 var(--hairline);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 28px; /* the main page's line, so both top bars are the same height */
  letter-spacing: -0.045em;
  text-decoration: none;
}

.legal {
  max-width: 46rem;
  padding: 64px 20px 40px;
  margin: 0 auto;
}
.legal .display {
  margin-bottom: 20px;
}
.prose {
  color: var(--ink-80);
}
.prose h2 {
  font: 600 1.4rem / 1.3 var(--font-display);
  color: var(--fg);
  margin: 40px 0 12px;
}
.prose p,
.prose ul,
.prose table {
  margin-bottom: 14px;
}
.prose ul {
  list-style: disc;
  padding-left: 22px;
}
.prose li {
  margin-bottom: 4px;
}
.prose a {
  color: var(--lake);
}
.prose code {
  font: 500 0.9em var(--font-mono);
  background: var(--sunken);
  padding: 1px 5px;
  border-radius: 4px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.prose th {
  font: 500 12px var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding: 40px var(--gutter) 56px;
  background: var(--ink);
  color: rgb(255 255 255 / 70%);
  font-size: 14px;
  line-height: 28px; /* as on the main page */
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}
.footer .wordmark {
  color: #fff;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}
.footer-legal {
  width: 100%;
  font-size: 12px;
}

@media (max-width: 900px) {
  .topbar {
    padding: 12px 20px;
  }
  .cta-long {
    display: none;
  }
  .cta-short {
    display: inline;
  }
  .footer {
    padding: 32px 20px 48px;
  }
}
