/* Bible Steps reference network: the warm design, for sites whose site.json sets theme.design = "warm".
   Warm paper neutrals, a coral accent and a dusty mauve, with Newsreader for reading, Hanken Grotesk for the interface and
   DM Mono for labels. Values follow the design handoff (README sections 1 to 4, phone layout in section 12), with three
   contrast fixes: the primary button rests on the deeper coral, small labels on mauve use a lighter rose, and the review
   box on mauve is darker than the panel rather than lighter. The build points each font url at its hashed file. */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-normal-300-500-52b7d321a2.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-normal-400-700-e7ce1e652c.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-normal-400-26d0c235f3.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-normal-500-ca1ea8f7b7.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --page: #f2efe9; --paper: #fbf9f5; --band: #ebe5dd; --band-hi: #e5ddd3;
  --ink: #241e1c; --ink-2: #5a5451; --ink-3: #4d4644; --line: #d5d0ca;
  --coral: #bc3f55; --coral-deep: #a8344a; --btn: #b83c52; --btn-hi: #a8344a; --ul: #d45568; --dot: #cd4f63;
  --mauve: #765858; --mauve-hi: #8b6b6c; --mauve-deep: #684c4d; --mauve-line: #8e7272; --on-mauve: #f0e5e3; --on-mauve-2: #f2e9e7;
  --rose: #f7cbcd; --rose-text: #fbdcdd;
  --foot: #231e1d; --foot-text: #d5d0cc; --foot-dim: #a49c9a;
  --ok-bg: #cae7ca; --ok-bg-panel: #c1dec0; --ok: #1e4821; --device: #2b2523;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Fluid sizes: the phone value at 390px wide, the desktop value from 760px, a straight line between (handoff 12.1). */
  --gut: clamp(20px, calc(5.405vw - 1.08px), 40px);
  --fs-74: clamp(41px, calc(6.22px + 8.919vw), 74px);
  --fs-66: clamp(38px, calc(8.49px + 7.568vw), 66px);
  --fs-60: clamp(36px, calc(10.70px + 6.486vw), 60px);
  --fs-56: clamp(35px, calc(12.86px + 5.676vw), 56px);
  --fs-44: clamp(30px, calc(15.24px + 3.784vw), 44px);
  --fs-40: clamp(29px, calc(17.41px + 2.973vw), 40px);
  --fs-36: clamp(27px, calc(17.51px + 2.432vw), 36px);
  --fs-34: clamp(27px, calc(19.62px + 1.892vw), 34px);
  --fs-30: clamp(25px, calc(19.73px + 1.351vw), 30px);
  --fs-29: clamp(25px, calc(20.78px + 1.081vw), 29px);
  --fs-28: clamp(24px, calc(19.78px + 1.081vw), 28px);
  --fs-27: clamp(24px, calc(20.84px + 0.811vw), 27px);
  --fs-26: clamp(24px, calc(21.89px + 0.541vw), 26px);
  --pad-64: clamp(38px, calc(10.59px + 7.027vw), 64px);
  --pad-72: clamp(43px, calc(12.43px + 7.838vw), 72px);
  --pad-96: clamp(58px, calc(17.95px + 10.270vw), 96px);
  --pad-104: clamp(62px, calc(17.73px + 11.351vw), 104px);
  --pad-112: clamp(67px, calc(19.57px + 12.162vw), 112px);
  --card-32: clamp(22px, calc(11.46px + 2.703vw), 32px);
  --card-36: clamp(25px, calc(13.41px + 2.973vw), 36px);
  --card-40: clamp(28px, calc(15.35px + 3.243vw), 40px);
  --card-44: clamp(31px, calc(17.30px + 3.514vw), 44px);
  --gap-56: clamp(39px, calc(21.08px + 4.595vw), 56px);
  --gap-64: clamp(45px, calc(24.97px + 5.135vw), 64px);
  --gap-72: clamp(50px, calc(26.81px + 5.946vw), 72px);
  --gap-96: clamp(67px, calc(36.43px + 7.838vw), 96px);
  --mt-40: clamp(26px, calc(11.24px + 3.784vw), 40px);
  --mt-48: clamp(31px, calc(13.08px + 4.595vw), 48px);
  --mt-56: clamp(36px, calc(14.92px + 5.405vw), 56px);
  --mt-72: clamp(47px, calc(20.65px + 6.757vw), 72px);
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--page); color: var(--ink); font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 600; }
a { color: var(--ink); text-decoration-color: var(--ul); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
main:focus { outline: none; }
.wrap { box-sizing: content-box; max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); }  /* 1240px of content, plus the gutters */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; text-decoration: none; }
.skip:focus { left: 16px; color: var(--paper); }
.muted { color: var(--ink-2); }
sup.fn { font-size: .6em; line-height: 0; font-weight: 600; }
sup.fn a { padding: 0 1px; color: var(--coral); text-decoration: none; }
sup.fn a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: .88em; }
.he { font-size: 1.15em; unicode-bidi: isolate; }

/* App bar: switched on before first paint by the head script (desktop and every iPhone and iPad browser; not Android). */
.app-bar { display: none; background: var(--mauve); color: var(--paper); }
.app-bar-on .app-bar { display: block; position: sticky; top: 0; z-index: 20;  /* pinned: always in view while the page scrolls */
  box-shadow: 0 1px 0 var(--mauve-deep), 0 8px 18px -12px rgba(30, 19, 17, .6); }  /* an edge, so it stands apart from the mauve panel */
html.app-bar-on { scroll-padding-top: 64px; }  /* jumps to a section land below the bar */
.app-bar-on .w-side__in { top: 88px; }
.app-bar__in { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.app-bar__icon { flex: none; width: 34px; height: 34px; border-radius: 9px; }
.app-bar__name { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 15px; line-height: 1.3; }
.app-bar__name strong { color: var(--paper); }
.app-bar__name span { font-size: 13px; color: var(--on-mauve); }
.app-bar__qr { flex: none; width: 40px; height: 40px; padding: 3px; border-radius: 6px; background: #fff; }
.app-bar__scan { max-width: 200px; font-size: 13px; line-height: 1.3; color: var(--on-mauve); }
.app-bar .app-bar__btn { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 600 14px/1.3 var(--sans); letter-spacing: 0; text-decoration: none; }
.app-bar .app-bar__btn:hover { background: var(--rose); color: var(--ink); }
.ios .app-bar__qr, .ios .app-bar__scan { display: none; }  /* the QR code is for scanning from a computer */

/* Header */
.site-head__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 22px; }
.brand { display: flex; flex-direction: column; gap: 3px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__name { font: 500 27px/1 var(--serif); letter-spacing: -.01em; }
.brand__by { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.menu-btn { display: none; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s, background-color .2s; }
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background-color: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
.primary { display: flex; align-items: center; gap: 32px; }
.primary ul { list-style: none; }
.primary__main { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.primary__main a { color: var(--ink); text-decoration: none; }
.primary__main a:hover, .primary__main a[aria-current] { color: var(--coral); }
.primary__more { display: none; }
.nav-cta { display: inline-block; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font: 600 14px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.nav-cta:hover { border-color: var(--ink); color: var(--ink); }

/* Topic bar: one row; on narrow screens it scrolls sideways. Each link keeps a 44px tap target. */
.topic-nav__in { display: flex; justify-content: space-between; gap: 8px 24px; margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.topic-nav__in::-webkit-scrollbar { display: none; }
.topic-nav ul { display: flex; flex: none; gap: 22px; list-style: none; }
.topic-nav .util-nav { gap: 20px; }
.topic-nav a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--ink); text-decoration: none; }
.topic-nav .util-nav a { color: var(--ink-2); }
.topic-nav a:hover, .topic-nav a[aria-current] { color: var(--coral); }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; font: 13px/1.5 var(--mono); color: var(--ink-2); }
.crumbs li { display: flex; gap: 10px; }
.crumbs li + li::before { content: "/"; content: "/" / ""; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.crumbs [aria-current] { color: var(--ink); }

/* Entry hero: title, byline and answer beside the featured panel */
.w-hero .wrap { padding-top: 32px; padding-bottom: var(--pad-72); }
.w-hero__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px var(--gap-64); margin-top: var(--mt-40); }
.w-hero__main { flex: 1.2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.w-hero__row--solo .w-hero__main { max-width: 900px; }
.w-hero .panel { flex: 1 1 380px; min-width: 0; }
.entry-head { display: flex; flex-direction: column; gap: 22px; }
.kicker { font: 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.entry-head h1 { font: 300 var(--fs-66)/1.06 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.entry-head--long h1 { font-size: var(--fs-56); }
.byline { font: 13px/1.6 var(--mono); color: var(--ink-2); }
.answer { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.answer__h { font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.answer p { font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.answer .answer__h + p { font: 300 21px/1.5 var(--serif); color: var(--ink); }

/* Featured app panel */
.panel { display: flex; flex-direction: column; gap: 16px; padding: var(--card-32); border-radius: 28px; background: var(--mauve); color: var(--paper); }
.panel a { color: var(--paper); text-decoration-color: var(--rose); }
.panel a:hover { color: var(--rose); }
.panel sup.fn a { color: var(--rose-text); }
.panel__kicker { font: 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--rose-text); }
.panel__id { display: flex; align-items: center; gap: 14px; }
.panel__id img { flex: none; width: 56px; height: 56px; border-radius: 14px; }
.panel__name { font: 500 var(--fs-34)/1 var(--serif); }
.panel__meta { margin-top: 5px; font-size: 14px; line-height: 1.4; color: var(--on-mauve); }
.panel__rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; line-height: 1.4; color: var(--on-mauve); }
.panel__rating .stars { --star: var(--rose); --star-off: var(--mauve-line); font-size: 18px; }
.panel__rating strong { font-size: 22px; font-weight: 600; color: var(--paper); }
.panel__task { font: 300 21px/1.4 var(--serif); text-wrap: pretty; }
.panel__facts { display: grid; grid-template-columns: 132px minmax(0, 1fr); font-size: 14px; line-height: 1.5; }
.panel__facts dt, .panel__facts dd { padding: 10px 0; border-top: 1px solid var(--mauve-line); }
.panel__facts dt { padding-right: 14px; font: 12px/1.8 var(--mono); color: var(--rose-text); }
.panel__facts dd { overflow-wrap: anywhere; }
.panel__facts dd:last-of-type { font-size: 13px; color: var(--on-mauve); }
.panel .badge--live { margin-left: 4px; padding: 1px 9px; background: var(--ok-bg-panel); font-size: 12px; }
.panel__quote { padding: 18px 20px; border-radius: 18px; background: var(--mauve-deep); }
.panel__quote p { font: 300 22px/1.35 var(--serif); color: var(--paper); }
.panel__quote figcaption { margin-top: 6px; font-size: 13px; font-style: italic; color: var(--on-mauve); }
.panel__quote--full { padding: 22px 24px; }
.panel__quote--full .panel__quote-title + p { margin-top: 10px; font: 15px/1.65 var(--sans); color: var(--on-mauve); }  /* the review's text */
.panel__quote--full figcaption { margin-top: 12px; }
.panel .btn { align-self: flex-start; padding: 14px 22px; background: var(--paper); color: var(--ink); font-size: 15px; letter-spacing: 0; }
.panel .btn:hover { background: var(--rose); color: var(--ink); }
.panel__links { font-size: 14px; line-height: 1.6; color: var(--on-mauve); }

/* The homepage's two-part panel: identity on mauve beside the facts on the page color */
.panel--wide { flex-direction: row; flex-wrap: wrap; gap: 0; margin-top: var(--mt-72); padding: 0; overflow: hidden; border-radius: 36px;
  background: var(--page); color: var(--ink); }
.panel--wide .panel__main { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: var(--card-44); background: var(--mauve); color: var(--paper); }
.panel--wide .panel__side { flex: 1 1 400px; min-width: 0; align-self: center; padding: var(--card-44); }
.panel--wide .panel__facts { grid-template-columns: 190px minmax(0, 1fr); font-size: 16px; line-height: 1.55; }
.panel--wide .panel__facts dt, .panel--wide .panel__facts dd { padding: 22px 0; border-color: var(--line); }
.panel--wide .panel__facts dt:first-of-type, .panel--wide .panel__facts dt:first-of-type + dd { padding-top: 0; border-top: 0; }
.panel--wide .panel__facts dd:last-of-type { padding-bottom: 0; }
.panel--wide .panel__facts dt { font-size: 13px; line-height: 1.9; color: var(--ink-2); }
.panel--wide .panel__facts dd:last-of-type { font-size: 14px; color: var(--ink-2); }
.panel--wide .panel__side a { color: var(--ink); text-decoration-color: var(--ul); }
.panel--wide .panel__side a:hover { color: var(--coral); }
.panel--wide .panel__side sup.fn a { color: var(--coral); }
.panel--wide .panel__side .badge--live { background: var(--ok-bg); }

/* Body band: contents beside the article */
.w-body { background: var(--paper); border-top: 1px solid var(--line); }
.w-body__row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px var(--gap-72); padding-top: var(--pad-64); padding-bottom: var(--pad-112); }
.w-side { flex: 0 0 260px; min-width: 0; }
.w-side__in { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 28px; }
.w-article { flex: 1 1 600px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: var(--gap-72); }
@media (max-width: 1011.98px) { .w-side { flex-basis: 100%; } .w-side__in { position: static; } }  /* 260 + 72 + 600 no longer fit */

/* In this entry */
.toc__h { display: block; margin-bottom: 12px; font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  list-style: none; cursor: default; }
.toc__h::-webkit-details-marker { display: none; }
.toc__n, .toc__icon { display: none; }
.toc ol { list-style: none; border-top: 1px solid var(--line); counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc li a { display: flex; gap: 12px; padding: 10px 0; color: var(--ink); font: 500 15px/1.35 var(--sans); text-decoration: none; }
.toc li a::before { content: counter(toc); flex: none; min-width: 18px; font: 12px/1.7 var(--mono); color: var(--coral); }
.toc li a:hover { color: var(--coral); }

/* Reference path: pills */
.entity-path .path__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.entity-path .path__node a { display: block; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink);
  font: 12px/1.4 var(--mono); text-decoration: none; }
.entity-path .path__node a:hover { background: var(--paper); color: var(--ink); }

/* Article text */
.w-article > section, .h-band section, .h-ref section { scroll-margin-top: 24px; }
.opening { display: flex; flex-direction: column; gap: 18px; }
.opening p { font: 300 24px/1.5 var(--serif); text-wrap: pretty; }
.opening .lead { font: 400 var(--fs-29)/1.35 var(--serif); }
.sec { display: flex; flex-direction: column; gap: 22px; }
.sec > h2, .sources > h2, .next > h2 { font: 300 var(--fs-40)/1.1 var(--serif); letter-spacing: -.015em; }
.sec > p, .sec > ul > li, .sec > ol > li, .sec .res-group > p { font: 400 19px/1.7 var(--serif); text-wrap: pretty; }
.sec > h3 { margin-top: 10px; font: 600 19px/1.35 var(--sans); }
.sec > h4 { margin: 18px 0 -6px; font: 600 16px/1.4 var(--sans); }   /* a numbered entry: sits close to its verse */
.sec ul:not([class]) { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.sec ul:not([class]) > li { position: relative; padding-left: 21px; }
.sec ul:not([class]) > li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }

/* Numbered steps and criteria */
.steps, .criteria, .sec ol:not([class]) { display: flex; flex-direction: column; gap: 16px; list-style: none; counter-reset: step; }
.steps > li, .criteria > li, .sec ol:not([class]) > li { position: relative; min-height: 34px; padding: 2px 0 0 54px; counter-increment: step; }
.steps > li::before, .criteria > li::before, .sec ol:not([class]) > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--coral); font: 13px/1 var(--mono); }

/* Scripture */
.verse { margin: 6px 0; padding: var(--card-36) var(--card-40); border-radius: 28px; background: var(--rose); }
.verse p { font: 300 var(--fs-27)/1.4 var(--serif); }
.verse cite { display: block; margin-top: 18px; font: 13px/1.6 var(--mono); font-style: normal; color: var(--ink); }
.verse a:hover { color: var(--coral-deep); }
/* An original prayer beside a quotation: labeled, on paper rather than the verse's rose, so it never reads as Scripture. */
.prayer { margin: 6px 0; padding: var(--card-32) var(--card-36); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.prayer__label { font: 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.prayer p + p { margin-top: 10px; font: 400 var(--fs-26)/1.45 var(--serif); color: var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--sans); }
table:has(thead th:nth-child(3)) { min-width: 420px; }
table:has(thead th:nth-child(4)) { min-width: 560px; }
table:has(thead th:nth-child(5)) { min-width: 700px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { vertical-align: bottom; color: var(--ink-2); font: 500 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
.facts { line-height: 1.55; }
.facts tbody th { width: 150px; color: var(--ink-2); font: 500 12px/1.9 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.facts td { overflow-wrap: anywhere; }
.status td:nth-child(2) { white-space: nowrap; }

/* Badges and buttons */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 600 13px/1.5 var(--sans); white-space: nowrap; vertical-align: 1px; }
.badge--live { background: var(--ok-bg); color: var(--ok); }
.badge--beta, .badge--planned { background: #f6e3c4; color: #5c3a00; }
.badge--ours { padding: 3px 11px; background: var(--ink); color: var(--paper); font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.btn { display: inline-block; padding: 15px 26px; border: 0; border-radius: 999px; background: var(--btn); color: #fff; font: 600 15px/1.2 var(--sans);
  letter-spacing: .06em; text-align: center; text-decoration: none; }
.btn:hover { background: var(--btn-hi); color: #fff; }
.btn--ghost { padding: 13.5px 24px; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* Entry and hub cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; list-style: none; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.card > p { font: 15px/1.6 var(--sans); color: var(--ink-2); }
.card > p:not([class]) { flex: 1; }
.card .card__k { flex: none; font: 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.card .card__k a { color: var(--coral); text-decoration: none; }
.card__t { color: var(--ink); font: 400 25px/1.2 var(--serif); text-decoration: none; }
.card__t:hover { color: var(--coral); }
.card .card__by { flex: none; font-size: 13px; }
.card .card__more { flex: none; margin-top: 6px; }
.card__more a { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font: 13px/1.4 var(--mono); text-decoration: none; }
.card__more a:hover { background: var(--ink); color: var(--paper); }
.card .badge--ours { align-self: flex-start; }
.hub-more { font: 400 19px/1.7 var(--serif); }

/* Continue this reading path, where a term comes up, related websites: block links on the band color */
.next { display: flex; flex-direction: column; gap: 22px; }
.next ul, .term__see, .sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; list-style: none; }
.next li, .term__see li, .sites li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; background: var(--band); }
.next li:hover, .term__see li:hover, .sites li:hover { background: var(--band-hi); }
.next li > a, .term__see li > a, .sites li > a, .next li > strong { color: var(--ink); font: 400 23px/1.2 var(--serif); text-decoration: none; }
.next li > a::after, .term__see li > a::after, .sites li > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.next li span, .term__see li span, .sites li span { font: 15px/1.55 var(--sans); color: var(--ink-2); }
.next li span a, .term__see li span a, .sites li span a { position: relative; z-index: 1; }
.next li[aria-current] { padding: 22px; border: 1.5px solid var(--ink); background: none; }
.sec > .sites + h3 { margin-top: 26px; }

/* Questions & answers: an accordion, the first one open */
.faq { gap: 0; }
.faq > h2 { margin-bottom: 22px; }
.qa-list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; }
.qa > summary::-webkit-details-marker { display: none; }
.qa h3 { font: 400 23px/1.3 var(--serif); }
.qa > summary:hover h3 { color: var(--coral); }
.qa__icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%;
  background: var(--paper); font: 300 22px/1 var(--sans); transition: transform .25s; }
.qa[open] .qa__icon { transform: rotate(45deg); }
.qa__a { display: flex; flex-direction: column; gap: 14px; padding: 0 min(56px, 8vw) 24px 0; }
.qa__a p, .qa__a li { font: 17px/1.7 var(--sans); color: var(--ink-2); }

/* Sources for this entry */
.sources { display: flex; flex-direction: column; gap: 22px; }
.sources ol { display: flex; flex-direction: column; gap: 18px; list-style: none; }
.sources__d > summary { cursor: pointer; width: fit-content; font: 600 15px/1.5 var(--sans); color: var(--coral); }
.sources__d[open] > summary { margin-bottom: 18px; }
.sources li { position: relative; padding-left: 42px; font: 15px/1.6 var(--sans); scroll-margin-top: 24px; }
.sources li::before { content: attr(value); position: absolute; left: 0; top: 0; color: var(--coral); font: 400 22px/1.1 var(--serif); }
.supports { display: block; margin-top: 4px; font: 12px/1.6 var(--mono); color: var(--ink-2); }
.sources > .muted { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); font: 15px/1.6 var(--sans); }

/* Working brief */
.brief__box { padding: var(--card-32) var(--card-36); border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.brief__title { margin-bottom: 10px; font: 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.brief__fields { list-style: none; counter-reset: field; }
.brief__fields li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 14px 0 28px; border-bottom: 1px solid var(--line);
  counter-increment: field; font: 16px/1.5 var(--sans); }
.brief__fields li::before { content: counter(field, decimal-leading-zero); font: 13px/1.85 var(--mono); color: var(--ink-2); }
.brief__dl { margin-top: 24px; }
.brief__dl .btn { padding: 15px 26px; border: 0; background: var(--btn); color: #fff; }
.brief__dl .btn:hover { background: var(--btn-hi); color: #fff; }

/* How the related websites connect, and Cite this entry: two end cards */
.w-end { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.network-note, .cite { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.network-note h2, .cite h2 { margin-bottom: 14px; font: 400 var(--fs-26)/1.15 var(--serif); }
.network-note p { font: 16px/1.65 var(--sans); }
.network-note p + p { margin-top: 14px; font-size: 15px; font-weight: 600; }
.cite code { display: block; padding: 20px 22px; border-radius: 18px; background: var(--page); font: 14px/1.65 var(--mono); white-space: normal; word-break: break-word; }

/* App Store rating and the featured review */
.stars { --star: var(--coral); --star-off: var(--line); color: var(--star); letter-spacing: .1em; line-height: 1; white-space: nowrap; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stars { background: linear-gradient(90deg, var(--star) var(--fill, 100%), var(--star-off) var(--fill, 100%)); -webkit-background-clip: text;
    background-clip: text; color: transparent; }
}
.readers__rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font: 17px/1.5 var(--sans); color: var(--ink-2); }
.readers__rating .stars { font-size: 22px; }
.readers__rating strong { color: var(--ink); }
figure.review { padding: var(--card-32) var(--card-36); border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.review__title { margin-bottom: 12px; font: 300 var(--fs-28)/1.35 var(--serif); }
figure.review blockquote p:not(.review__title) { font: 400 19px/1.7 var(--serif); text-wrap: pretty; }
figure.review figcaption { margin-top: 18px; font: 13px/1.6 var(--mono); color: var(--ink-2); }

/* Why it fits (profile and guides) */
.recommendation { gap: 0; }
.recommendation > h2 { margin-bottom: 22px; }
.rec { display: grid; grid-template-columns: 160px minmax(0, 1fr); padding: 8px var(--card-32) 0; border-radius: 28px 28px 0 0; background: var(--band); }
.rec dt, .rec dd { padding: 22px 0; border-top: 1px solid var(--line); }
.rec dt { padding-right: 28px; font: 500 13px/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral-deep); }
.rec dt:first-of-type, .rec dt:first-of-type + dd { border-top: 0; }
.rec dd { font: 17px/1.7 var(--sans); }
.rec dd:first-of-type { font: 300 22px/1.45 var(--serif); }
.rec dd ul { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.rec dd li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.6; }
.rec dd li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.rec__cta { position: relative; display: flex; flex-wrap: wrap; gap: 12px; padding: 24px var(--card-32) var(--card-32); border-radius: 0 0 28px 28px; background: var(--band); }
.rec__cta::before { content: ""; position: absolute; top: 0; left: var(--card-32); right: var(--card-32); border-top: 1px solid var(--line); }
.rec__cta .btn--ghost:hover { background: var(--paper); }

/* A verse study from the app, shown as the app lays it out; our review follows as an ordinary section */
.study { display: flex; flex-direction: column; gap: 28px; padding: var(--card-32) var(--card-36); border: 1px solid var(--line); border-radius: 28px; background: var(--page); }
.study__head { display: flex; flex-direction: column; gap: 18px; }
.study__head h2 { font: 300 var(--fs-40)/1.1 var(--serif); letter-spacing: -.015em; }
.study__by { font: 13px/1.6 var(--mono); color: var(--ink-2); }
.study__sec { display: flex; flex-direction: column; gap: 16px; }
.study__sec h3 { margin-top: 14px; font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.study__sec > p, .study__sec > ul > li { font: 400 19px/1.7 var(--serif); text-wrap: pretty; }
.study__sec > ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.study__sec > ul > li { position: relative; padding-left: 21px; }
.study__sec > ul > li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
/* Directory */
.res-list { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.res { display: flex; flex-direction: column; gap: 12px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--page); }
.res--ours { border-color: var(--rose); background: var(--rose); }
.res--ours sup.fn a { color: var(--ink); }
.res__name { font: 400 var(--fs-30)/1.15 var(--serif); }
.res__name a { text-decoration: none; }
.res__name .badge--ours { margin-left: 6px; vertical-align: 6px; }
.res__meta { font: 13px/1.6 var(--mono); color: var(--ink-2); }
.res > p:not([class]) { font: 17px/1.65 var(--sans); }
.res__links { font: 14px/1.6 var(--mono); }
.res__links a { display: inline-flex; gap: 10px; text-decoration: none; }
.res__links a::before { content: "→"; color: var(--coral); }
.res--ours .res__links a::before { color: var(--ink); }
.res__links a:hover { text-decoration: underline; }
.dir-note { font: 400 19px/1.7 var(--serif); }

/* Entity map: one path per section */
.sec.path .path__list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px; border-radius: 22px; background: var(--band); list-style: none; }
.sec.path .path__node { position: relative; display: flex; align-items: center; }
.sec.path .path__node + .path__node { margin-left: 26px; }
.sec.path .path__node + .path__node::before { content: "→"; position: absolute; left: -22px; color: var(--coral-deep); font: 14px/1 var(--mono); }
.sec.path .path__node a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font: 500 14px/1.4 var(--sans); text-decoration: none; }
.sec.path .path__node a:hover { border-color: var(--ink); }
.sec.path .path__node--feature { gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 14px/1.4 var(--sans); }
.sec.path .path__node--feature .badge { padding: 2px 9px; font-size: 12px; }

/* Library */
.lib__filter { display: flex; flex-direction: column; gap: 10px; }
.lib__filter label { font: 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.lib__filter input { width: 100%; padding: 16px 22px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font: 17px/1.3 var(--sans); }
.lib__filter input:focus { outline: none; box-shadow: 0 0 0 4px var(--rose); }
.lib { border-top: 1px solid var(--ink); list-style: none; }
.lib__item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lib__item > a { font: 400 23px/1.25 var(--serif); text-decoration: none; }
.lib__topic { font: 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--coral); }
.lib__item p { flex-basis: 100%; font: 15px/1.6 var(--sans); color: var(--ink-2); }

/* Glossary */
.w-article > .term + .term { margin-top: calc(36px - var(--gap-72)); }
.term { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.term h2 { font: 400 var(--fs-30)/1.15 var(--serif); }
.term h2 a { text-decoration: none; }
.term__def { font: 400 19px/1.7 var(--serif); text-wrap: pretty; }
.term__more a, .res-arrow { display: inline-flex; gap: 10px; font: 14px/1.5 var(--mono); text-decoration: none; }
.term__more a::before { content: "→"; color: var(--coral); }
.term__more a:hover { color: var(--coral); }
[id="meaning"] > p:has(> strong:first-child) { position: relative; padding: 22px 0 22px 198px; border-top: 1px solid var(--line); }
[id="meaning"] > p:has(> strong:first-child):last-child { border-bottom: 1px solid var(--line); }
[id="meaning"] > p > strong:first-child { position: absolute; left: 0; top: 22px; width: 170px; color: var(--coral); font: 400 13px/2.2 var(--mono);
  letter-spacing: .06em; text-transform: uppercase; }
[id="meaning"] { gap: 0; }
[id="meaning"] > h2 { margin-bottom: 22px; }
.note, .sec > p.note { padding: 20px 24px; border-radius: 20px; background: var(--band); font: 16px/1.65 var(--sans); color: var(--ink); }
[id="check"] > p.note { padding: 30px 34px; border-radius: 24px; background: var(--rose); font: 300 var(--fs-28)/1.35 var(--serif); }  /* a glossary term's question */

/* Sources page */
.register { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sec > p.register { font: 15px/1.6 var(--sans); }

/* An app screen in an iPhone frame */
.phone { width: 330px; max-width: 100%; padding: 12px; border-radius: 56px; background: var(--device);
  box-shadow: 0 0 0 2px var(--ink-3), 0 40px 70px -40px rgba(30, 19, 17, .5); }
.phone img { display: block; width: 100%; aspect-ratio: 306 / 656; object-fit: cover; border-radius: 44px; background: var(--device); }
.phone--intro { width: 280px; padding: 9px; border-radius: 49px; }
.phone--intro img { aspect-ratio: 262 / 562; border-radius: 40px; }
.phone--section { width: 236px; padding: 8px; border-radius: 42px; }
.phone--section img { aspect-ratio: 220 / 478; border-radius: 34px; }
/* The app's verse study drawn in HTML (shared/components/study_phone.py), in the same frame as a screenshot. Sizes are the
   app's points (an iPhone screen is 393 wide), scaled to the frame with container units. */
.vs { position: relative; display: block; width: 100%; aspect-ratio: 306 / 656; border-radius: 44px; overflow: hidden; background: #121214;
  container-type: size; }
.phone--intro .vs { aspect-ratio: 262 / 562; border-radius: 40px; }
.phone--section .vs { aspect-ratio: 220 / 478; border-radius: 34px; }
.vs__app { --u: calc(100cqw / 393); position: absolute; inset: 0; color: #fff; letter-spacing: -.01em; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
.vs__app p, .vs__app blockquote { margin: 0; }
.vs__app svg { fill: currentColor; }
.vs__sb { position: absolute; left: 0; right: 0; top: 0; height: calc(54 * var(--u)); padding: calc(6 * var(--u)) calc(30 * var(--u)) 0 calc(52 * var(--u));
  display: flex; align-items: center; justify-content: space-between; font-size: calc(17 * var(--u)); font-weight: 600; letter-spacing: -.02em; }
.vs__sb svg { width: calc(70 * var(--u)); height: calc(13 * var(--u)); }
.vs__head { position: absolute; z-index: 2; left: 0; right: 0; top: calc(54 * var(--u)); height: calc(70 * var(--u));
  padding: calc(14 * var(--u)) calc(18 * var(--u)) 0; display: flex; align-items: center; justify-content: space-between; background: #121214; }
.vs__head b { font-family: "New York", ui-serif, Georgia, "Times New Roman", serif; font-size: calc(21 * var(--u)); font-weight: 600; }
.vs__grab { position: absolute; left: 50%; top: calc(4 * var(--u)); width: calc(38 * var(--u)); height: calc(5 * var(--u)); margin-left: calc(-19 * var(--u));
  border-radius: calc(3 * var(--u)); background: #48484A; }
.vs__circle { display: inline-flex; align-items: center; justify-content: center; width: calc(38 * var(--u)); height: calc(38 * var(--u));
  border-radius: 50%; background: #2A2A2D; font-size: calc(18 * var(--u)); font-weight: 600; line-height: 1; }
.vs__circle svg { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
.vs__view { position: absolute; left: 0; right: 0; top: calc(124 * var(--u)); bottom: 0; overflow: hidden; }
.vs__col { position: relative; display: flex; flex-direction: column; gap: calc(12 * var(--u)); padding: calc(6 * var(--u)) 0 calc(220 * var(--u));
  transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.vs__verse { margin: 0 calc(22 * var(--u)) calc(8 * var(--u)); }
.vs__serif, .vs__term { font-family: "New York", ui-serif, Georgia, "Times New Roman", serif; color: #ECEAE5; }
.vs__serif { font-size: calc(16.5 * var(--u)); line-height: 1.55; }
.vs__serif--verse { font-size: calc(21 * var(--u)); line-height: 1.5; color: #fff; }
.vs__by { margin-top: calc(10 * var(--u)) !important; font-size: calc(12 * var(--u)); color: #8E8E93; }
.vs__card { margin: 0 calc(16 * var(--u)); padding: calc(18 * var(--u)); border-radius: calc(22 * var(--u)); background: #1C1C1F; }
.vs__cap { margin-bottom: calc(8 * var(--u)) !important; font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8E8E93; }
.vs__cap--icon { display: flex; align-items: center; gap: calc(8 * var(--u)); margin-bottom: calc(10 * var(--u)) !important; }
.vs__cap--icon svg { width: calc(15 * var(--u)); height: calc(15 * var(--u)); }
.vs__cap--reflect svg { color: #F2A7C1; }
.vs__cap--reflect .vs__circle { margin-left: auto; width: calc(28 * var(--u)); height: calc(28 * var(--u)); font-size: calc(13 * var(--u)); color: #8E8E93; letter-spacing: 0; }
.vs__serif + .vs__serif, .vs__quote + .vs__serif { margin-top: calc(10 * var(--u)) !important; }
.vs__term { font-size: calc(15.5 * var(--u)); line-height: 1.5; }
.vs__term + .vs__term { margin-top: calc(10 * var(--u)) !important; }
.vs__term i { color: #A1A1A6; }
.vs__quote { margin: calc(12 * var(--u)) 0 !important; padding-left: calc(12 * var(--u)); border-left: calc(2 * var(--u)) solid #3A3A3C; }
.vs__quote p { font-size: calc(13.5 * var(--u)); line-height: 1.45; color: #A1A1A6; }
.vs__quote cite { display: block; margin-top: calc(4 * var(--u)); font-size: calc(11.5 * var(--u)); font-style: normal; color: #6E6E73; }
.vs__rel { display: flex; flex-direction: column; gap: calc(2 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.4; color: #A1A1A6; }
.vs__rel + .vs__rel { margin-top: calc(12 * var(--u)) !important; }
.vs__rel b { color: #E0B860; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .vs__col { transition: none; } }
.sec--screen { display: block; }
.sec--screen > * + * { margin-top: 22px; }
.sec--screen > .phone { float: right; margin: 22px 0 22px 40px; }
.sec--screen::after { content: ""; display: block; clear: both; }

/* Homepage */
.h-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--mt-48) var(--gap-64); padding-top: var(--mt-48); padding-bottom: var(--pad-96); }
.h-hero__text { flex: 1.15 1 520px; min-width: 0; }
.h-hero .entry-head { gap: 26px; }
.h-hero h1 { font: 300 var(--fs-74)/1.04 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.h-hero .lead { font: 400 24px/1.4 var(--sans); color: var(--ink-2); }
.h-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.btn--hero { min-width: min(380px, 100%); padding: 19px 32px; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.h-hero__shot, .h-intro__shot { flex: 1 1 380px; display: flex; justify-content: center; }
.h-intro__shot { flex-basis: 300px; }
/* A short homepage (homeLayout: short): a note under the lead, a text link to the guide, the screen's caption, the panel lower down */
.h-hero .note { padding: 0; background: none; font: 15px/1.6 var(--sans); color: var(--ink-2); }
.h-hero__more { margin-top: 4px; font: 17px/1.5 var(--sans); }
.h-hero__more a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.h-hero__fig { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; }
.h-hero__fig figcaption { max-width: 300px; font: 13px/1.5 var(--mono); color: var(--ink-2); text-align: center; }
.h-panel { background: var(--paper); }
.h-panel .wrap { padding-top: var(--pad-96); padding-bottom: var(--pad-96); }
.h-answer { background: var(--paper); }
.h-answer .wrap { padding-top: var(--pad-104); padding-bottom: var(--pad-104); }
.h-answer .answer { align-items: center; gap: 0; margin: 0; padding: 0; border: 0; text-align: center; }
.h-answer .answer__h { margin-bottom: 24px; }
.h-answer .answer .answer__h + p { max-width: 980px; font: 300 var(--fs-40)/1.3 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.h-answer .answer p + p { max-width: 620px; margin-top: 26px; font-size: 16px; line-height: 1.6; }
.h-toc__row { display: flex; flex-wrap: wrap; gap: 28px 48px; padding-top: var(--pad-96); }
.h-toc__side { flex: 0 0 260px; display: flex; flex-direction: column; gap: 22px; }
.h-toc__h { font: 400 var(--fs-36)/1.1 var(--serif); }
.h-toc .entity-path .path__node a { font-size: 13px; padding: 7px 16px; }
.toc--home { flex: 1 1 560px; min-width: 0; }
.toc--home ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); column-gap: 32px; border-top: 0; }
.toc--home li { border-top: 1px solid var(--line); border-bottom: 0; }
.toc--home li a { gap: 14px; padding: 20px 0 26px; font-size: 16px; }
.toc--home li a::before { min-width: 14px; font: 400 22px/1 var(--serif); }
.h-intro__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-56) 80px; padding-top: var(--pad-112); padding-bottom: var(--pad-112); }
.h-intro .opening { flex: 1 1 480px; min-width: 0; gap: 24px; }
.h-intro .opening p { font: 400 17px/1.7 var(--sans); color: var(--ink-2); }
.h-intro .opening p:first-child { font: 400 var(--fs-29)/1.4 var(--serif); color: var(--ink); }
.h-band > .wrap { padding-top: var(--pad-112); padding-bottom: var(--pad-112); }
.h-intro + .h-band:not(.h-band--criteria):not(.h-band--recommendation) > .wrap,
.h-band:not(.h-band--criteria):not(.h-band--recommendation) + .h-band:not(.h-band--criteria):not(.h-band--recommendation) > .wrap { padding-top: 0; }
.h-band .sec > h2 { font-size: var(--fs-60); line-height: 1.04; letter-spacing: -.02em; }
.h-band .sec > p { font: 17px/1.6 var(--sans); color: var(--ink-3); }
/* Six decisions */
.h-band--criteria { background: var(--band); }
.h-band--criteria > .wrap { padding-top: var(--pad-104); }
.h-band--criteria .sec { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 22px var(--gap-64); }
.h-band--criteria .sec > :not(h2):not(p) { grid-column: 1 / -1; }
.h-band--criteria .criteria { display: flex; flex-flow: row wrap; justify-content: center; gap: 24px; margin-top: var(--mt-56); }
.h-band--criteria .criteria > li { flex: 0 1 calc((100% - 48px) / 3); min-width: min(320px, 100%); }
.h-band--criteria .criteria > li { min-height: 0; padding: var(--card-44) 32px 36px; border-radius: 50% 50% 28px 28px / 200px 200px 28px 28px; background: var(--paper);
  color: var(--ink-2); font: 15px/1.7 var(--sans); text-align: center; }
.h-band--criteria .criteria > li::before { position: static; display: block; width: auto; height: auto; margin-bottom: 14px; border: 0; background: none;
  font: 300 72px/1 var(--serif); }
.h-band--criteria .criteria > li > strong:first-child { display: block; margin-bottom: 14px; color: var(--ink); font: 400 var(--fs-26)/1.2 var(--serif); }
/* Where to start */
.h-band--cards .sec { gap: 40px; }
.h-band--cards .cards { grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr)); gap: 0 var(--gap-56); }
.h-band--cards .card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 24px; padding: 28px 0 32px; border: 0;
  border-top: 1px solid var(--line); border-radius: 0; background: none; }
.h-band--cards .card .card__k { grid-column: 1 / -1; }
.h-band--cards .card__t { grid-column: 1; font-size: var(--fs-30); line-height: 1.15; }
.h-band--cards .card .card__more { grid-column: 2; grid-row: 2; margin: 0; }
.h-band--cards .card > p:not([class]) { grid-column: 1; }
/* Featured resource directory */
.h-band--resources .sec { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 24px; }
.h-band--resources .sec > h2 { grid-column: 1 / 5; }
.h-band--resources .sec > p { grid-column: 5 / 7; }
.h-band--resources .res-group { grid-column: span 2; align-self: stretch; display: flex; flex-direction: column; gap: 12px; margin-top: calc(var(--mt-56) - 24px);
  padding: var(--card-36); border-radius: 28px; background: var(--paper); }
.h-band--resources .res-group h3 { font: 400 20px/1.3 var(--serif); color: var(--coral); }
.h-band--resources .res-group .cards { display: block; }
.h-band--resources .res-group .card { gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; }
.h-band--resources .res-group .card__t { font-size: var(--fs-30); line-height: 1.15; }
.h-band--resources .res-group:has(.card--featured) { background: var(--mauve); color: var(--paper); }
.h-band--resources .res-group:has(.card--featured) h3 { color: var(--rose-text); }
.h-band--resources .card--featured .card__t { color: var(--paper); font-size: var(--fs-34); }
.h-band--resources .card--featured > p { color: var(--on-mauve); }
.h-band--resources .card--featured a { color: var(--paper); }
.h-band--resources .card--featured sup.fn a { color: var(--rose-text); }
.h-band--resources .card--featured .badge--ours { background: var(--rose); color: var(--ink); }
/* Where Bible Steps fits */
.h-band--recommendation { background: var(--mauve); color: var(--paper); }
.h-band--recommendation a { color: var(--paper); text-decoration-color: var(--rose); }
.h-band--recommendation a:hover { color: var(--rose); }
.h-band--recommendation sup.fn a { color: var(--rose-text); }
.h-band--recommendation .sec > h2 { text-align: center; font-size: var(--fs-56); line-height: 1.05; margin-bottom: 36px; }
.h-band--recommendation .rec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-64); padding: 0; background: none; }
.h-band--recommendation .rec dt, .h-band--recommendation .rec dd { padding: 0; border: 0; }
.h-band--recommendation .rec dt:nth-of-type(1), .h-band--recommendation .rec dd:nth-of-type(1) { grid-column: 1 / -1; text-align: center; }
.h-band--recommendation .rec dt:nth-of-type(1) { margin-bottom: 14px; color: var(--on-mauve-2); font: 600 13px/1.4 var(--sans); letter-spacing: .02em; text-transform: none; }
.h-band--recommendation .rec dd:nth-of-type(1) { max-width: 820px; margin: 0 auto var(--mt-72); font: 300 var(--fs-36)/1.35 var(--serif); text-wrap: balance; }
.h-band--recommendation .rec dt:nth-of-type(2) { grid-column: 1; grid-row: 3; }
.h-band--recommendation .rec dd:nth-of-type(2) { grid-column: 1; grid-row: 4; }
.h-band--recommendation .rec dt:nth-of-type(3) { grid-column: 2; grid-row: 3; }
.h-band--recommendation .rec dd:nth-of-type(3) { grid-column: 2; grid-row: 4; }
.h-band--recommendation .rec dt:nth-of-type(n+2) { padding-top: 48px; padding-bottom: 14px; border-top: 1px solid var(--mauve-line); color: var(--rose);
  font: 400 var(--fs-26)/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.h-band--recommendation .rec dd:nth-of-type(n+2) { color: var(--on-mauve-2); font: 17px/1.7 var(--sans); }
.h-band--recommendation .rec dd li { font-size: 16px; }
.h-band--recommendation .rec dd li::before { background: var(--rose); }
.h-band--recommendation .rec__cta { justify-content: center; margin-top: var(--mt-56); padding: 0; background: none; }
.h-band--recommendation .rec__cta::before { content: none; }
.h-band--recommendation .btn { background: var(--paper); color: var(--ink); letter-spacing: 0; }
.h-band--recommendation .btn:hover { background: var(--rose); color: var(--ink); }
.h-band--recommendation .btn--ghost { background: transparent; border-color: var(--rose); color: var(--paper); }
.h-band--recommendation .btn--ghost:hover { background: var(--mauve-hi); color: var(--paper); }
/* A prose section on a homepage */
.h-band--section .sec { max-width: 860px; }
.h-band--section .sec > p, .h-band--section .sec > ul > li, .h-band--section .sec > ol > li { color: var(--ink); font: 400 19px/1.7 var(--serif); }
/* What readers say */
.h-band--readers .sec { align-items: center; text-align: center; }
.h-band--readers .readers__rating { justify-content: center; }
.h-band--readers figure.review { max-width: 860px; text-align: left; }
/* Questions people ask */
.h-band--faq .faq { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 40px var(--gap-64); }
.h-band--faq .faq > h2 { flex: 1 1 300px; margin: 0; }
.h-band--faq .qa-list { flex: 1.8 1 560px; min-width: 0; }
.h-band--faq .qa > summary { padding: 24px 0; }
/* Sources, reading path and the end cards */
.h-ref { background: var(--paper); }
.h-ref > .wrap { display: flex; flex-direction: column; gap: var(--gap-96); padding-top: var(--pad-104); padding-bottom: var(--pad-104); }
.h-ref .sources { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 22px var(--gap-64); align-items: start; }
.h-ref .sources > h2 { grid-row: 1 / span 2; }
.h-ref .sources > :not(h2) { grid-column: 2; }
.h-ref .next ul { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.h-ref .w-end { gap: 24px var(--gap-64); }
.h-ref .network-note, .h-ref .cite { padding: 0; border: 0; background: none; }

/* Footer */
.site-foot { background: var(--foot); color: var(--foot-text); }
.site-foot .wrap { padding-top: var(--pad-72); padding-bottom: var(--mt-48); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.foot-name { color: var(--rose); font: 400 var(--fs-44)/1.05 var(--serif); }
.foot-name strong { color: var(--paper); font-weight: 500; }
.foot-links { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; font: 14px/1.4 var(--mono); }
.foot-links a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--paper); text-decoration: none; }
.foot-links a:hover { color: var(--rose); }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px; margin-top: var(--mt-48); padding-top: 24px;
  border-top: 1px solid var(--mauve-line); font-size: 14px; line-height: 1.65; }
.foot-end p:first-child { max-width: 760px; }
.foot-copy { color: var(--foot-dim); }

/* Phones (handoff section 12.2) */
@media (max-width: 759.98px) {
  .app-bar__in { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding-top: 10px; padding-bottom: 10px; }
  .app-bar__name { flex-direction: column; gap: 0; font-size: 15px; }
  .app-bar__name span { line-height: 1.35; }
  .app-bar__qr, .app-bar__scan { display: none; }
  .app-bar .app-bar__btn { padding: 9px 18px; }
  .app-bar__more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  html.app-bar-on { scroll-padding-top: 80px; }
  .app-bar-on .nav-cta { display: none; }  /* the pinned bar's button is the App Store button on phones */
  .brand { flex: 1 1 0; min-width: 0; }  /* takes the room GET and the menu icon leave; wraps on the narrowest phones */
  .brand__name { font-size: 24px; }
  .site-head__in { column-gap: 6px; }
  .nav-cta { order: 1; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 0; background: var(--btn); color: #fff;
    font-size: 14px; letter-spacing: .1em; }
  .nav-cta:hover { background: var(--btn-hi); color: #fff; }
  .nav-cta__more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .js .menu-btn { order: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 50%;
    background: none; color: var(--ink); cursor: pointer; }
  .js .menu-btn:hover { color: var(--coral); }
  .primary { order: 3; }
  .js .primary { display: none; }
  .js.menu-open .primary { display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--ink); }
  .js .primary__main { flex-direction: column; gap: 0; }
  .js .primary__main a { display: flex; justify-content: space-between; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line);
    font: 300 var(--fs-28)/1.2 var(--serif); }
  .js .primary__main a::after { content: "→"; color: var(--coral); font: 16px/1 var(--mono); }
  .js .primary__more { display: flex; flex-direction: column; padding: 10px 0 12px; }
  .js .primary__more a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 16px; text-decoration: none; }
  .js .primary__more a:hover { color: var(--coral); }
  .toc__d { border: 1px solid var(--line); border-radius: 22px; background: var(--page); }
  .toc__h { display: flex; align-items: center; gap: 12px; min-height: 60px; margin: 0; padding: 0 12px 0 20px; cursor: pointer; }
  .toc__h > span:first-child { margin-right: auto; }
  .toc__n { display: inline; color: var(--coral); font: 400 13px/1 var(--mono); letter-spacing: 0; text-transform: none; }
  .toc__icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper);
    color: var(--ink); font: 300 20px/1 var(--sans); transition: transform .25s; }
  .toc__d[open] .toc__icon { transform: rotate(45deg); }
  .toc__d ol { margin: 0 20px 8px; }
  .toc__d li:last-child { border-bottom: 0; }
  .toc__d li a { padding: 12px 0; }
  .panel--wide .panel__facts, .rec { display: flex; flex-direction: column; }
  .panel--wide .panel__facts dt { padding-bottom: 0; }
  .panel--wide .panel__facts dd { padding-top: 6px; border-top: 0; }
  .panel--wide .panel__facts dt:first-of-type + dd { padding-top: 6px; }
  .rec dt { padding-bottom: 0; }
  .rec dd { padding-top: 8px; border-top: 0; }
  [id="meaning"] > p:has(> strong:first-child) { padding-left: 0; }
  [id="meaning"] > p > strong:first-child { position: static; display: block; width: auto; margin-bottom: 8px; line-height: 1.6; }
  .h-hero__shot { order: 2; }
  .btn--hero { width: 100%; min-width: 0; }
  .h-band--criteria .sec, .h-band--resources .sec { display: flex; flex-direction: column; align-items: stretch; }
  .h-band--criteria .criteria > li { flex-basis: 100%; }
  .h-band--resources .res-group { margin-top: 0; }
  .h-band--cards .card { grid-template-columns: minmax(0, 1fr); }
  .h-band--cards .card .card__more { grid-column: 1; grid-row: auto; }
  .h-band--recommendation .rec { display: flex; flex-direction: column; }
  .h-band--recommendation .rec dt:nth-of-type(n+2) { padding-top: 36px; }
  .h-band--recommendation .rec dd:nth-of-type(2) { margin-bottom: 8px; }
  .h-ref .sources { display: flex; flex-direction: column; }
  .sec--screen > .phone { float: none; margin: 22px auto; }
  .w-article .network-note, .w-article .cite { padding: 24px; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 21px; }
  .nav-cta { padding: 0 16px; }
}
@media (max-width: 420px) {
  .panel__facts { grid-template-columns: 112px minmax(0, 1fr); }
  .rec dt { padding-right: 0; }
}

@media print {
  .app-bar, .site-head nav, .menu-btn, .topic-nav, .panel, .w-side, .site-foot nav { display: none !important; }
  body, .w-body, .h-ref, .h-answer, .h-band { background: #fff; }
  .qa:not([open]) > .qa__a { display: block; }
}

/* The app in its own words (profiles): the onboarding's welcome, its line and the five selling points, word for word. */
.panel__tag { margin-top: -4px; font: 500 17px/1.35 var(--sans); }
.pitch__kicker { margin-bottom: -14px; font: 600 13px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sec > p.pitch__line { margin-top: -8px; font: 300 21px/1.45 var(--serif); }
.pitch__pts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; list-style: none; }
.pitch__pt { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.pitch__pt > p { font: 400 17px/1.5 var(--serif); }
.pitch__pt > .pitch__t { font: 600 17px/1.3 var(--sans); }

/* Recommendation: details to check, folded under one summary line (rec.fold) */
.rec__more > summary { cursor: pointer; width: fit-content; font: 600 15px/1.5 var(--sans); color: var(--coral); }
.rec__more[open] > summary { margin-bottom: 10px; }
.h-band--recommendation .rec__more > summary { color: var(--paper); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 4px; }
.h-band--recommendation .rec__more > summary:hover { color: var(--rose); }
