/* ---------------------------------------------------------------------------
   pages.css — only what /guides/, /changelog/ and /press/ need.

   styles.css is deliberately NOT edited: it is shared by the five original
   pages and is owned elsewhere. Everything here is additive, uses the tokens
   styles.css already declares on :root, and is linked only from the pages that
   need it. Nothing in this file targets an element the older pages render.
   --------------------------------------------------------------------------- */

/* Breadcrumb strip above a guide's H1. Mono and quiet, so it reads as
   navigation furniture rather than as the first line of the page. */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}
.crumbs a { color: var(--mut2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span:last-child { color: var(--faint2); }

/* The guides hub. auto-fit so two or three sit per row on a wide viewport and
   one per row on a phone, with no breakpoint of its own. */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 34px;
}
.guide-card { display: block; text-decoration: none; color: inherit; }
.guide-card:hover { border-color: var(--line-strong); }
.guide-card h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.guide-card p { margin-top: 9px; font-size: 0.9375rem; color: var(--mut); }

/* Ordered steps. styles.css styles .prose ul but never ol, so this is the
   matching rule rather than an override. The marker stays a number because the
   order is the instruction. */
.prose ol.steps {
  padding-left: 22px;
  margin: 16px 0 0;
  display: grid;
  gap: 11px;
}
.prose ol.steps li {
  font-size: 0.9375rem;
  color: var(--mut);
  padding-left: 4px;
}
.prose ol.steps li::marker {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--faint);
}

/* The can / cannot block: two columns that stack under 760px, the same width
   the permission explainer on the home page uses. It is a .card with its own
   padding zeroed, because the padding belongs to the two halves. */
.prose .card.cando {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 22px 0;
}
.cando > div { padding: 20px; }
.cando > div:first-child { border-right: 1px solid var(--line-soft); }
@media (max-width: 760px) {
  .prose .card.cando { grid-template-columns: 1fr; }
  .cando > div:first-child { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}
.cando h3 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.prose .cando ul { margin: 0; }

/* The store link at the foot of a guide. */
.guide-cta { margin-top: 34px; }

/* Changelog entries. Each release is an <article> with its own id, so a link to
   one version lands on that version. */
.rel { margin-top: clamp(34px, 5vw, 52px); }
.rel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.rel-head h2 { font-size: 1.5rem; }
.rel-head h2 a { color: inherit; text-decoration: none; }
.rel-head h2 a:hover { color: var(--ink); text-decoration: underline; }
.rel-head .lbl { flex: none; }
.rel .prose { margin-top: 6px; }

/* Press kit lists. The facts list is a definition-style run of rows so a writer
   can copy one line without picking prose apart. */
.prose ul.pk-facts, .prose ul.pk-assets { padding-left: 0; list-style: none; gap: 1px; }
.prose ul.pk-facts li, .prose ul.pk-assets li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.prose ul.pk-facts li:last-child, .prose ul.pk-assets li:last-child { border-bottom: 0; }
.prose ul.pk-facts strong { display: inline-block; min-width: 9.5rem; }
@media (max-width: 520px) {
  .prose ul.pk-facts strong { display: block; min-width: 0; margin-bottom: 2px; }
}
.pk-short { border-left: 2px solid var(--line-strong); padding-left: 14px; }
