/* Generated by pipeline/corpus_identity.py from the identity 'bible' and its look
   'rounded' (pipeline/identity_values.py). Do not edit: change the identity and
   rebuild the pages. */
html:root {
  --font-display: "Cormorant Garamond", serif;
  --font-sans: "Nunito Sans", sans-serif;
  --font-eyebrow: "Nunito Sans", sans-serif;
  --eyebrow-prefix: "";
  --hero-ground: none;
  --weight-display: 600;
  --tracking-display: 0;
  --weight-button: 700;
  --radius-xs: 0.375rem;
  --radius-sm: 0.875rem;
  --radius-control: 999px;
  --radius-md: 1.375rem;
  --radius-lg: 2rem;
  --shadow-popover: 0 16px 40px light-dark(rgb(73 45 25 / 0.14), rgb(0 0 0 / 0.5)), 0 2px 6px light-dark(rgb(73 45 25 / 0.08), rgb(0 0 0 / 0.4));
  --shadow-card: 0 1px 0 light-dark(rgb(73 45 25 / 0.06), rgb(0 0 0 / 0.3)), 0 8px 24px light-dark(rgb(73 45 25 / 0.06), rgb(0 0 0 / 0.25));
  --control-height: 2.75rem;
  --bar-height: 4.5rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3.5rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --type-display: 600 4.5rem/4.5rem var(--font-display);
  --type-title-1: 600 3rem/3.25rem var(--font-display);
  --type-title-2: 600 2rem/2.375rem var(--font-display);
  --type-title-3: 700 1.4375rem/1.75rem var(--font-display);
  --type-reading-lg: 400 1.3125rem/2.1875rem var(--font-serif);
  --type-reading: 400 1.125rem/1.875rem var(--font-serif);
  --type-reading-sm: 400 1rem/1.625rem var(--font-serif);
  --type-ui: 400 0.9375rem/1.375rem var(--font-sans);
  --type-ui-strong: 700 0.9375rem/1.375rem var(--font-sans);
  --type-label: 600 0.8125rem/1.125rem var(--font-sans);
  --type-eyebrow: 800 0.75rem/1rem var(--font-eyebrow);
  --type-ref: 700 0.8125rem/1.125rem var(--font-sans);
  --tracking-hero: 0;
  --tracking-title-1: 0;
  --tracking-title-2: 0;
  --tracking-title-3: 0;
  --tracking-eyebrow: 0.16em;
  --measure: 40rem;
  --surface-page: light-dark(#fbf6ec, #1f1814);
  --surface-raised: light-dark(#fffdf8, #2a211b);
  --surface-sunken: light-dark(#f3eadb, #17110e);
  --rule: light-dark(#e6dac6, #3d3128);
  --rule-strong: light-dark(#8c7b63, #8c7a68);
  --ink: light-dark(#2b2420, #f7efe3);
  --ink-muted: light-dark(#66574b, #c2b3a2);
  --claim-open: light-dark(#66574b, #c2b3a2);
  --link: light-dark(#a3442b, #f2a488);
  --accent: light-dark(#a3442b, #f2a488);
  --accent-text: light-dark(#a3442b, #f2a488);
  --accent-soft: light-dark(#f4e7df, #3a2a22);
  --action: light-dark(#a3442b, #f2a488);
  --on-action: light-dark(#fffdf8, #1f1814);
  --brand-gold: light-dark(#ad7f27, #e2b54e);
  --gold-text: light-dark(#7d5c12, #e8c26a);
  --ink-eyebrow: light-dark(#7d5c12, #e8c26a);
  --corpus-logo-light: url("/corpus-logo.svg?v=112cea5849ef");
  --corpus-logo-dark: url("/corpus-logo-dark.svg?v=112cea5849ef");
  --corpus-logo-ratio: 831 / 248;
  --corpus-mark-light: url("/corpus-mark.svg?v=112cea5849ef");
  --corpus-mark-dark: url("/corpus-mark-dark.svg?v=112cea5849ef");
  --corpus-mark-ratio: 303 / 248;
}

/* The Bible's signature (ROUNDED_LOOK, its design system v2, 2026-11-18): a well-kept Bible
   open under a lamp. Appended to the corpus's generated corpus.css (pipeline/corpus_identity.py
   `token_sheet`). Every selector starts html:root, as the tokens do, to outrank the shared
   stylesheets.

   - The header's current tab as a gold-soft pill in the rubric, over a thin double rule.
   - A chapter as a printed Bible sets it (the design system's ChapterOpening): a centred head —
     the book as an eyebrow, the chapter as the heading, a double rule under them — then the
     verses running in one paragraph, their numbers raised inside the line, the chapter's number
     large in the rubric beside the first verse. The corpus holds no paragraph breaks, so a
     chapter is one paragraph, never the tool's own.
   - The books as round cards, each with its chapter count.
   - The front page in the shared layout (web-shared/landing.css), modern rather than
     devotional (Jack, 2026-11-20: "AI/modern over classic/religious"): its hero lit from
     above by a soft wash of the rubric's own soft ground, nothing more. The title page it
     was until then — an example answer under an arch on vellum, the bands parted by gold
     fleurons — is gone; the palette, faces and mark are the design system's, unchanged. */

/* --- the header: a thin double rule, the current tab a pill -------------------------------- */

html:root :is(.site-bar, .site-header) {
  border-block-end: 3px double var(--rule);
}

/* Wide screens only: on a phone the sections are the menu's list, marked by its own edge. The
   static bar folds below 40rem (web-shared/site-bar.css), the app's below 48rem. */
@media (min-width: 40.0625rem) {
  html:root .site-tabs a {
    align-self: center;
    min-block-size: 2.25rem;
    margin-block-end: 0;
    padding-inline: var(--space-4);
    border-block-end: 0;
    border-radius: var(--radius-pill);
    font: var(--type-ui);
  }

  html:root .site-tabs a[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent);
    font: var(--type-ui-strong);
  }
}

@media (min-width: 48rem) {
  html:root .site-header__section {
    align-self: center;
    min-block-size: 2.25rem;
    margin-block-end: 0;
    padding-inline: var(--space-4);
    border-block-end: 0;
    border-radius: var(--radius-pill);
    font: var(--type-ui);
  }

  html:root .site-header__section[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent);
    font: var(--type-ui-strong);
  }
}

/* --- a chapter, as a printed Bible sets it ------------------------------------------------ */

/* The head, centred over the text: the book, the chapter, the double rule. */
html:root .passage > :is(.chapter-eyebrow, h1, p.book-title) {
  text-align: center;
}

html:root .passage > h1 {
  padding-block-end: var(--space-4);
  border-block-end: 3px double var(--rule);
}

html:root .version .chapter-num {
  display: block;
  float: inline-start;
  margin-block: 0.1rem 0;
  margin-inline-end: 0.6rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1;
}

html:root .version .chapter-num ~ .verse {
  display: inline;
  margin: 0;
}

html:root .version .chapter-num ~ .verse .number {
  vertical-align: 0.5em;
}

/* A selected or linked verse still shows, inline. */
html:root .version .chapter-num ~ .verse + .verse::before { content: " "; }

/* Previous and next under a double rule, as the head is closed by one; the compact pair under
   the heading (`.chapters--top`) has no rule of its own, the heading's is above it. */
html:root .chapters:not(.chapters--top) {
  border-block-start: 3px double var(--rule);
}

/* --- the books, as round cards ------------------------------------------------------------ */

/* Four to a row on the frame (four 18rem cards and their gaps fit in 82.5rem, five do not). */
html:root .books {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-4);
}

html:root .books > li {
  border-block-end: 0;
}

html:root .books a {
  block-size: 100%;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-card);
  font: var(--type-title-3);
  letter-spacing: var(--tracking-title-3);
}

html:root .books a:hover {
  border-color: var(--rule-strong);
  color: var(--ink);
}

html:root .book-group h2 {
  margin-block-end: var(--space-4);
  border-block-end: 0;
  font: var(--type-title-2);
  letter-spacing: var(--tracking-title-2);
}

/* --- the front page: lit from above ------------------------------------------------------- */

/* The hero under a soft wash of the rubric's soft ground, fading into the page — light falling
   on the open question box, not a printed title page. In the look's own token, so both schemes
   follow it. */
html:root .front .hero {
  background-image: radial-gradient(ellipse 70% 100% at 50% 0%, var(--accent-soft), transparent 75%);
  background-size: auto;
}

/* The lede in the reading face, held to the design system's short measure (560 px). */
html:root .front .hero .lede {
  max-inline-size: 35rem;
}

/* --- an answer's sections ------------------------------------------------------------------ */

/* The design system's AnswerHeadings: Cormorant 600 at 26 px — a display face with a small
   x-height, so 22 px is its floor — and the section's number in the rubric, as a printed Bible
   numbers its divisions. The shared rules are the app's (web-corpus/src/styles.css). */
html:root .answer h3 {
  font: 600 1.625rem/2rem var(--font-display);
}

html:root .answer h3 .st-hn {
  color: var(--accent);
}

/* A subsection at Cormorant's floor: below 22 px its small x-height reads smaller than the
   Source Serif body around it. */
html:root .answer h4 {
  font: 600 1.375rem/1.75rem var(--font-display);
}
