/* ota-publisher */
/* Shared by both public sites. Kept small: no JavaScript, no web fonts, one file per site. */
/* Everything is scoped under .site (the <body> class), so the editor can load this file
   for its preview without restyling itself. Variables use a --p- prefix for the same reason. */
.site {
  --p-bg: #fffefb;
  --p-fg: #1d1c1a;
  --p-muted: #615f59;
  --p-rule: #e2dfd8;
  --p-soft: #f5f3ee;
  --p-ui: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  background: var(--p-bg);
  color: var(--p-fg);
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  .site {
    --p-bg: #151514;
    --p-fg: #eceae4;
    --p-muted: #a7a59d;
    --p-rule: #393835;
    --p-soft: #1e1e1c;
  }
}
.site *,
.site *::before,
.site *::after {
  box-sizing: border-box;
}
.site a {
  color: var(--p-accent);
  text-underline-offset: 0.15em;
}
.site a:focus-visible {
  outline: 2px solid var(--p-accent);
  outline-offset: 2px;
}
.site img {
  max-width: 100%;
  height: auto;
}
.site .site-head,
.site .site-foot {
  max-width: var(--p-measure);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  font: 0.95rem/1.4 var(--p-ui);
}
.site .site-head a {
  color: var(--p-fg);
  font-weight: 700;
  text-decoration: none;
}
.site .site-foot {
  color: var(--p-muted);
  border-top: 1px solid var(--p-rule);
  margin-top: 4rem;
}
.site .page {
  max-width: var(--p-measure);
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}
.site .page-head h1 {
  margin: 0.5rem 0 0.75rem;
  line-height: 1.15;
}
.site .page-summary {
  margin: 0 0 0.75rem;
  color: var(--p-muted);
  font-size: 1.15em;
}
.site .page-meta {
  margin: 0 0 2rem;
  color: var(--p-muted);
  font: 0.9rem/1.4 var(--p-ui);
}
.site .page-cover {
  margin: 0 0 2rem;
}
.site .page-body figure {
  margin: 2rem 0;
}
.site .page-body blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 3px solid var(--p-rule);
  color: var(--p-muted);
}
.site .page-body hr {
  border: 0;
  border-top: 1px solid var(--p-rule);
  margin: 2.5em auto;
}
.site .page-body code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--p-soft);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
.site .list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site .list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--p-rule);
}
.site .list a {
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: none;
}
.site .list p {
  margin: 0.3rem 0 0;
  color: var(--p-muted);
}
.site .list time {
  color: var(--p-muted);
  font: 0.85rem var(--p-ui);
}

/* ota.pe: calm, typographic. */
.site-pe {
  --p-measure: 68ch;
  --p-accent: #8a3b12;
}
@media (prefers-color-scheme: dark) {
  .site-pe {
    --p-accent: #e8a67c;
  }
}
.site-pe {
  font:
    1.2rem/1.7 'Iowan Old Style',
    Charter,
    'Bitstream Charter',
    'Sitka Text',
    Cambria,
    Georgia,
    serif;
  font-kerning: normal;
  hyphens: auto;
}
.site-pe .page-head h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 700;
}
.site-pe .page-body h2 {
  font-size: 1.45em;
  margin: 2em 0 0.6em;
  line-height: 1.25;
}
.site-pe .page-body h3 {
  font-size: 1.2em;
  margin: 1.6em 0 0.5em;
}
.site-pe .page-body p {
  margin: 0 0 1.2em;
}
.site-pe .page-body blockquote {
  font-style: italic;
}
