/* Every page people read at length (press releases, papers, guides, support and privacy pages) sets `reading: true`,
   and this sheet, linked after the page's own, sets its text: Charter, 18px on 1.45, a 640px column, dark ink on paper,
   or light on near-black when the reader's system is in dark mode. It sets the --color-* palette every product sheet
   draws from, so a product's own parts (lists, cards, footers) follow it. The top nav keeps its own type. */
@font-face { font-family: "Charter"; src: url("/fonts/charter-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Charter"; src: url("/fonts/charter-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Charter"; src: url("/fonts/charter-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Charter"; src: url("/fonts/charter-bold-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

.reading {
  color-scheme: light dark;
  --read-font: Charter, "Bitstream Charter", Georgia, serif;
  --color-ground: #fbfaf7; --color-surface: #f2f0eb; --color-border: rgba(43,42,40,.14);
  --color-text-primary: #2b2a28; --color-text-secondary: #2b2a28; --color-text-tertiary: rgba(43,42,40,.62);
  --read-link: rgba(43,42,40,.32);
  --fs-body: 1rem; --fs-lede: 1.236rem; --fs-title: 2rem;
  background: var(--color-ground); color: var(--color-text-primary);
  font-size: 18px; line-height: 1.45; -webkit-font-smoothing: auto;
}
@media (prefers-color-scheme: dark) {
  .reading {
    --color-ground: #151516; --color-surface: #1d1d1f; --color-border: rgba(230,225,216,.16);
    --color-text-primary: #e6e1d8; --color-text-secondary: #e6e1d8; --color-text-tertiary: rgba(230,225,216,.6);
    --read-link: rgba(230,225,216,.35);
    -webkit-font-smoothing: antialiased;
  }
}

.reading body { background: var(--color-ground); color: var(--color-text-primary); font-size: 1rem; line-height: 1.45; }
.reading :is(main, .article) { font-family: var(--read-font); font-weight: 400; font-size: 1rem; line-height: 1.45; }
.reading .article, .reading .release, .reading .paper { width: 100%; max-width: calc(640px + 48px); margin: 0 auto;
                                                         padding: 3rem 24px 6rem; box-sizing: border-box; }

.reading :is(main, .article) :is(p, li, dd, dt, td, th, blockquote, figcaption) { color: var(--color-text-primary); font-size: 1rem; line-height: 1.45; }
.reading :is(main, .article) :is(p, ul, ol, blockquote) { margin: 0 0 .8em; }
.reading :is(main, .article) :is(ul, ol) { padding-left: 1.4em; }
.reading :is(main, .article) li { margin: 0 0 .3em; }
.reading :is(main, .article) h1 { font-family: var(--read-font); font-size: 2rem; line-height: 1.2; font-weight: 700; letter-spacing: 0;
                   color: var(--color-text-primary); margin: 0 0 .5em; }
.reading :is(main, .article) h2 { font-family: var(--read-font); font-size: 1.333rem; line-height: 1.3; font-weight: 700; letter-spacing: 0;
                   text-transform: none; color: var(--color-text-primary); margin: 2rem 0 .5em; }
.reading :is(main, .article) h3 { font-family: var(--read-font); font-size: 1rem; line-height: 1.45; font-weight: 700; letter-spacing: 0;
                   text-transform: none; color: var(--color-text-primary); margin: 1.5rem 0 .3em; }
.reading :is(main, .article) :is(.lede, .subhead) { font-size: 1.236rem; line-height: 1.4; color: var(--color-text-primary); }
.reading :is(main, .article) :is(.eyebrow, .disclaimer, .note, .byline) { color: var(--color-text-tertiary); }
.reading :is(main, .article) blockquote { font-size: 1.236rem; font-style: italic; line-height: 1.4; margin: 1.5rem 0; }
.reading :is(main, .article) a { color: inherit; text-decoration: underline; text-decoration-color: var(--read-link);
                  text-decoration-thickness: 1px; text-underline-offset: .2em; }
.reading :is(main, .article) a:hover { text-decoration-color: currentColor; }
.reading :is(main, .article) img { max-width: 100%; height: auto; }

/* A press release (press-release.njk). */
.reading .release .eyebrow { font-style: italic; margin-bottom: .5em; }
.reading .release .subhead { margin-bottom: 2rem; }
.reading .release .dateline { font-weight: 700; }
.reading .release .end { text-align: center; margin-top: 2rem; letter-spacing: .3em; }
