/* Reading pages: About, the three guides, privacy, photo credits and the missing-page page.
   Added by the SEO and GEO chat on November 13, 2026. site.css loads first; this file only adds.
   November 17, 2026 (chat + · 11-17-26 · Website copy and design cohesion): the recording guide's own rules
   (recording-guide.css) moved here, so every reading page shares one column, one headline size and one kind of step. */

.article-page { background: var(--sage); min-height: 100vh; display: flex; flex-direction: column; }
.article-page main { flex: 1; display: flex; flex-direction: column; }
/* A short page (the missing-page page) stretches its opening, so the footer meets the window's bottom edge. */
.article-page main > .notfound { flex: 1; }
.article-page .page-hero { padding-bottom: 64px; background:
    radial-gradient(120% 90% at 12% 0%, var(--daylight) 0%, rgba(244, 238, 230, 0) 62%),
    linear-gradient(180deg, #F1E9DE 0%, #ECE1D4 100%); }
.article-page .page-hero h1 { max-width: 15em; }

.article { padding-block: 72px var(--section); }
/* One column for every reading page: 680 pixels of 18-pixel text keeps a line near 75 characters. */
.article-body > * { max-width: 680px; }
.article-body > * + * { margin-top: 20px; }
.article-body h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.035em; margin-top: 72px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; margin-top: 36px; }
.article-body h2 + p, .article-body h3 + p { margin-top: 16px; }
.article-body p, .article-body li { line-height: 1.6; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.3em; display: grid; gap: 10px; }
.article-body ul:not(.fact-table) > li { list-style-type: disc; }
.article-body ol:not(.steps) > li { list-style-type: decimal; }
.article-body li::marker { color: var(--muted); }
.article-body .note { font-size: 16px; color: var(--muted); }
.article-body h2[id], .article-body h3[id] { scroll-margin-top: 96px; }

/* Numbered steps: the number in ink on paper inside a ring of the step's color. White numbers on the colored
   circles fell under 4.5:1 for five of the six colors. */
.article-body .steps { list-style: none; padding-left: 0; counter-reset: step; gap: 22px; }
.article-body .steps li { counter-increment: step; position: relative; padding-left: 52px; }
.article-body .steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: var(--ink);
  background: var(--paper); border: 3px solid var(--step, var(--accent)); box-sizing: border-box;
}
.article-body .steps li:nth-child(6n+1) { --step: var(--cat-1); }
.article-body .steps li:nth-child(6n+2) { --step: var(--cat-2); }
.article-body .steps li:nth-child(6n+3) { --step: #B88700; }
.article-body .steps li:nth-child(6n+4) { --step: var(--cat-4); }
.article-body .steps li:nth-child(6n+5) { --step: #03829B; }
.article-body .steps li:nth-child(6n+6) { --step: var(--cat-6); }
.article-body .steps strong { font-weight: 650; }

.article-figure { margin-block: 36px 8px; }
.article-figure figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }

.table-wrap { overflow-x: auto; margin-top: 20px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.article-body th, .article-body td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { font-weight: 650; background: var(--score); }
.article-body tr:last-child td { border-bottom: 0; }
.article-body code { font-family: inherit; font-weight: 650; }

/* A table of facts (About, privacy). Its own name, so the home page's row of facts no longer sets its weight. */
.fact-table { list-style: none; padding-left: 0 !important; gap: 0 !important; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fact-table li { display: grid; grid-template-columns: 11em 1fr; gap: 16px; align-items: start; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.fact-table li:last-child { border-bottom: 0; }
.fact-table b { font-weight: 650; }

/* The story Nik signs, set the way the home page sets it. */
.article-body .signature { margin-top: 24px; }

/* Jump links to each section, so a student can come back to a step mid-practice. */
.article-body .toc ul { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.article-body .toc ul > li { list-style: none; font-size: 16px; }
.article-body .toc a { color: var(--muted); }

/* A rule a student comes back to, set between two hairlines. */
.article-body .tip { border-block: 1px solid var(--line); padding-block: 18px; }
.article-body .tip p { font-size: 19px; line-height: 1.5; }
.article-body .tip p + p { margin-top: 6px; color: var(--muted); font-size: 17px; }

/* A song's sections on a timeline. On a phone the map keeps a readable size and scrolls sideways in its own box. */
.time-map { margin-block: 28px 8px; }
.time-map svg { display: block; width: 100%; height: auto; }
.time-map text { font-family: inherit; }

/* The TabbyGato part of a guide sits in its own full-width band, so its steps don't read as a second copy of the method. */
.app-band { background: var(--paper); border-top: 1px solid var(--line); }

/* A list a teacher pastes, shown the way the student pastes it. */
.article-body .paste-sample { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; line-height: 1.6; background: var(--score); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; white-space: pre; overflow-x: auto; max-width: 18em; }

.notfound { min-height: 0; }
/* The missing-page page's two buttons stack on a phone, so they need more room between them than Home's button and link. */
.notfound .hero-actions { row-gap: 12px; }

@media (max-width: 700px) {
  /* Reading pages have long titles, so their headline is 40 on a phone: every title fits in three lines at 360 and 390 wide. */
  .article-page .page-hero h1 { font-size: 40px; }
  .article { padding-block: 48px 96px; }
  .article-body h2 { margin-top: 56px; }
  .fact-table li { grid-template-columns: 1fr; gap: 4px; }
  .time-map-scroll { overflow-x: auto; }
  .time-map svg { min-width: 520px; }
}
