/* The static pages' styles (privacy.html, terms.html, press-kit.html) — a
   file rather than an inline <style>, so the site's Content-Security-Policy
   can hold style-src to 'self'. */
@font-face {
  font-family: "IM Fell English";
  src: url("/fonts/IMFellEnglish-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/fonts/Syne-Variable.ttf") format("truetype-variations");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-Variable.ttf")
    format("truetype-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/LibreCaslonText-Variable.ttf")
    format("truetype-variations");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  /* The page, the app's appBackground, and paper, its appSurface (the base
     of the home chip). The theme-color metas carry the page's values. */
  --page: #f9f5eb;
  --paper: #fffdf7;
  --teal: #005f69;
  --ink: #1f2a2c;
  --muted: #6e7574;
  --line: #e6e1d2;
  /* A picture's rule and its hard shadow, the app's appOutline and
     appHardShadow (src/index.css --color-outline, --color-hard-shadow). */
  --outline: #1f2a2c;
  --hard-shadow: #1f2a2c;
  /* The action button's fill and type, the same in both themes. */
  --teal-fill: #005f69;
  --cream: #f9f5eb;
}
/* Dark, as the landing page draws it (src/index.css says why it's written
   twice): the device's dark unless the landing page's toggle chose light, and
   the toggle's dark, which theme.js applies. test/theme-pages.test.ts checks
   the two lists match. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #1f2a2c;
    --paper: #2b3536;
    --teal: #85dce8;
    --ink: #f3f2ee;
    --muted: #a9acaa;
    --line: #374040;
    --outline: #0c1112;
    --hard-shadow: #0c1112;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #1f2a2c;
  --paper: #2b3536;
  --teal: #85dce8;
  --ink: #f3f2ee;
  --muted: #a9acaa;
  --line: #374040;
  --outline: #0c1112;
  --hard-shadow: #0c1112;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Libre Caslon Text", Georgia, serif;
  line-height: 1.7;
}
.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.wordmark {
  font-family: "IM Fell English", Georgia, serif;
  font-size: 1.75rem;
  color: var(--ink);
  text-decoration: none;
}
/* The way home is the app's link chip, as on the landing page's footer
   (src/index.css .chip): paper mixed 16% with teal, a teal ring at 40%. */
.home {
  border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
  border-radius: 9999px;
  padding: 5px 12px;
  background: color-mix(in srgb, var(--teal) 16%, var(--paper));
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.25;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.12s ease;
}
.home:hover {
  background: color-mix(in srgb, var(--teal) 24%, var(--paper));
}
h1 {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
}
.updated {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
}
h2 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 2.25rem 0 0.5rem;
}
p {
  margin: 0 0 1rem;
}
ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
li {
  margin: 0 0 0.6rem;
}
a {
  color: var(--teal);
}
.term {
  font-style: italic;
}
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
footer a {
  text-decoration: none;
}

/* The press kit (press-kit.html). */
.pk-lead {
  font-size: 1.125rem;
}
/* The site's action button (src/index.css .action-button): a 12px rounded
   rect glowing in its own fill's hue, the same in both themes. */
.pk-download {
  display: inline-block;
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  background: var(--teal-fill);
  color: var(--cream);
  box-shadow: 0 4px 16px rgb(0 95 105 / 0.45);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.pk-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgb(0 95 105 / 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .pk-download,
  .pk-download:hover {
    transform: none;
    transition: none;
  }
}
.pk-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0 0 1rem;
}
.pk-facts dt {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  color: var(--muted);
}
.pk-facts dd {
  margin: 0;
}
@media (max-width: 30rem) {
  .pk-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pk-facts dd {
    margin-bottom: 0.6rem;
  }
}
/* Screenshots in the cover-art frame (src/index.css .art-frame): a rule right
   on the picture's edge and a hard shadow, square corners, no mat. A set of
   five sits three across on a phone and in one row on a laptop (auto-fit lets
   the five stretch over a wide row's empty tracks). */
.pk-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
  gap: 1.25rem 0.9rem;
  margin: 0 0 1.75rem;
}
.pk-shots img,
.pk-card {
  display: block;
  border: 3px solid var(--outline);
  box-shadow: 6px 6px 0 var(--hard-shadow);
}
.pk-shots img {
  width: 100%;
  height: auto;
}
.pk-assets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin: 0 0 1rem;
}
.pk-card {
  max-width: 100%;
  height: auto;
}
/* The icon's lift: the landing page's surface-tile shadow (.icon-lift), not a
   frame; its corners are transparent. */
.pk-icon {
  display: block;
  filter: drop-shadow(0 3px 12px rgb(31 42 44 / 0.12));
}
