/* frame.css: the resources index, the crisis and safety page and the 404 on Brand's system (system.css), from Fathom
   Design's critique, 16 Oct 2026 (sections 4, 6 and 10). Resources: the headline at the display size, "Guides" in light
   serif, the guide cards as hairline rows (the kicker in grey sentence case, the title in serif, one line, the read time in
   grey), terra down to the dot, the helplines as rows. Crisis: the numbers as the loudest thing on the page (serif 44 at
   300, tabular), the headline under them at 32, the cards as hairline rows with no bar or box, labels in ink; the Chief
   Care Officer reviews it and the words stay as signed. 404: the label as the quiet eyebrow, the terra pill, "Log in" as a
   quiet link. Loaded after zaha.css and system.css on the three pages; the words are untouched. */

.z-light body { background: var(--z-bg); }
/* the closing band's button and headline weight: zaha.css §11b, once for every page */

/* the shared head: the title sits in the panel (zaha.css §7b) */
.subpage-hero { padding: calc(env(safe-area-inset-top, 0px) + 124px) 0 var(--z-gap-3); text-align: center; }
.subpage-hero .container { max-width: 820px; }
.nf { padding-top: calc(env(safe-area-inset-top, 0px) + 124px); }
.subpage-hero .label, .subpage-hero .label-pill, .nf .label-pill { display: block; margin: 0 0 var(--z-gap-3); padding: 0; background: none; border-radius: 0; font: 600 12px/1.4 var(--z-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--z-ink-3); }
.subpage-h1, .nf h1 { font: var(--z-t-h1); letter-spacing: -0.025em; color: var(--z-ink); max-width: none; margin: 0 auto; text-wrap: balance; }
.subpage-sub, .nf .sub { margin: var(--z-gap-3) auto 0; font: 300 clamp(19px, 1rem + .6vw, 24px)/1.4 var(--z-serif); color: var(--z-ink-2); max-width: 30em; }

/* resources: the guides as cards again (the founder, 16 Oct: the rows read as boring), three across on a desktop, one
   under 760px; a white surface, a hairline, the card radius, a lift on hover. The first guide spans the row at the
   larger type. No read time anywhere (the founder, 16 Oct). */
.guides { padding: var(--z-gap-4) 0 0; }
.guides .container, .support .container { width: min(1180px, 100% - 2 * var(--z-margin)); max-width: none; }
.support .grid { display: block; }
.guides .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--z-gap-2); max-width: none; margin: 0; }
.article-card { position: relative; display: flex; flex-direction: column; gap: var(--z-gap-1); max-width: none; margin: 0; padding: var(--z-gap-3); background: var(--z-surface); border: 1px solid var(--z-line); border-radius: var(--z-r-card); box-shadow: none; transition: transform var(--z-dur-2) var(--z-ease), box-shadow var(--z-dur-2) var(--z-ease), border-color var(--z-dur-2) var(--z-ease); }
.article-card.featured { margin: 0 0 var(--z-gap-2); padding: clamp(28px, 3vw, 44px); max-width: none; background: var(--z-surface); border-color: var(--z-line); }
@media (max-width: 760px) { .article-card.featured { padding: var(--z-gap-3); } } /* one column: the first card's words start on the same inset as the cards under it (13 Nov; the page's own rule for this loads first and lost) */
/* the featured guide in two columns from 900px: the title left, the line right, so the card's right half is not empty (Atelier Noor, Red Team, 17 Oct) */
@media (min-width: 900px) {
  .article-card.featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 56px; row-gap: var(--z-gap-2); align-items: start; }
  .article-card.featured .article-kicker { grid-column: 1 / -1; }
  .article-card.featured h3 { grid-column: 1; }
  .article-card.featured p:not([class]) { grid-column: 2; margin-top: 6px; max-width: none; }
} /* a white card spanning the row with the larger type: one filled panel per screen, the hero (Brand, 17 Oct) */
.article-card::before, .article-card.featured::before, .article-card .article-divider, .article-card .article-meta { display: none; }
.article-card .article-kicker, .article-card .eyebrow, .article-card .kicker, .article-card .label { margin: 0; padding: 0; background: none; font: var(--z-t-small); color: var(--z-ink-3); text-transform: none; letter-spacing: 0; }
.article-card h3 { font: 400 clamp(20px, 1rem + .5vw, 22px)/1.25 var(--z-serif); letter-spacing: 0; color: var(--z-ink); margin: 0; max-width: none; }
.article-card.featured h3 { font: 300 clamp(28px, 1.2rem + 1.6vw, 40px)/1.08 var(--z-serif); letter-spacing: -0.015em; max-width: 18em; }
.article-card p:not([class]) { font: var(--z-t-body); color: var(--z-ink-2); margin: 0; max-width: 40em; }
.article-card.featured p:not([class]) { font-size: clamp(17px, 1rem + .2vw, 18px); line-height: 1.55; max-width: 34em; margin-top: var(--z-gap-1); }
.article-card h3 a:focus-visible { outline: none; }
.article-card:has(a:focus-visible) { outline: 2px solid var(--z-terra); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .article-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -22px rgba(60,40,20,.35); border-color: var(--z-line); }
  .article-card:hover h3 a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
}
@media (max-width: 1023px) { .guides .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .guides .article-grid { grid-template-columns: minmax(0, 1fr); } }
/* one column (13 Nov, second pass; reader panel: the first card's title was larger than the rest for no visible reason,
   and the statistics link floated between cards). The first card is the featured guide only where it spans a row of
   several; in a single column it is one card among nine, so it takes their type. The statistics link becomes the last
   row of the same list: the cards' edge, inset, hairline and gap, the whole row the tap target. */
@media (max-width: 760px) {
  .article-card.featured h3 { font: 400 clamp(20px, 1rem + .5vw, 22px)/1.25 var(--z-serif); letter-spacing: 0; max-width: none; }
  .article-card.featured p:not([class]) { font: var(--z-t-body); max-width: 40em; margin-top: 0; }
  .guides .guides-more { margin: var(--z-gap-2) 0 0; text-align: left; }
  .guides .guides-more a { display: block; margin: 0; padding: var(--z-gap-3); background: var(--z-surface); border: 1px solid var(--z-line); border-radius: var(--z-r-card); }
}
.nf .sub { margin-bottom: var(--z-gap-3); } /* room above the buttons at 390 (Brand, 17 Oct) */
@media (prefers-reduced-motion: reduce) { @media (hover: hover) and (pointer: fine) { .article-card:hover { transform: none; } } }
.support { padding: var(--z-gap-5) 0; }
.support-head { text-align: left; margin-bottom: var(--z-gap-3); }
.support-head .h, .support h2.h { font: 300 clamp(28px, 1.2rem + 1.4vw, 36px)/1.1 var(--z-serif); letter-spacing: -0.015em; color: var(--z-ink); margin: 0; }
.support-head p { font: var(--z-t-body); color: var(--z-ink-2); margin: var(--z-gap-1) 0 0; }
.org-card, .org-card--now { display: grid; gap: 4px; padding: var(--z-gap-3) 0; background: none; border: 0; border-top: 1px solid var(--z-hair); border-radius: 0; box-shadow: none; }
.org-card:last-child { border-bottom: 1px solid var(--z-hair); }
.org-card h3 { font: 400 20px/1.25 var(--z-serif); color: var(--z-ink); margin: 0; }
.org-card p { font: var(--z-t-body); color: var(--z-ink-2); margin: 0; }
.org-card p strong { color: var(--z-ink); }
.org-card a { margin: 4px 0 0; padding: 0; font: var(--z-t-body); color: var(--z-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; }
.org-card a svg { display: none; }

/* crisis and safety: the number leads */
.cs .eyebrow { font: 600 12px/1.4 var(--z-sans) !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--z-ink-3) !important; } /* grey capitals, one eyebrow across the site (Brand, 16 Oct); the words stay the Chief Care Officer's */
/* one scale (22 Nov 2026, the founder: "why do you jump to different font sizes on the crsis and safty page"): the title one
   step above the section heads and never above the numbers, each section head at the site's one section size, every line of reading at the one body
   size (the lead, the card lines, the client paragraphs and the list were 16 and 18 side by side), the labels at the
   one small size; the numbers stay the loudest thing in each row, and 911 still sits in the first phone screen. Words
   and numbers untouched. */
.cs h1 { font: 300 clamp(32px, 1.4rem + 1.6vw, 44px)/1.1 var(--z-serif); letter-spacing: -0.02em; color: var(--z-ink); text-wrap: balance; }
.cs .lead { font: 400 clamp(17px, 1rem + .2vw, 18px)/1.6 var(--z-sans); font-style: normal; color: var(--z-ink-2); margin-top: var(--z-gap-3); }
.cs h2 { font: 300 clamp(28px, 1.2rem + 1.4vw, 36px)/1.1 var(--z-serif); letter-spacing: -0.015em; color: var(--z-ink); border-top: 1px solid var(--z-hair); }
.cs h2.cs-first { border-top: 0; }
.crisis-card, .crisis-card--urgent { background: none; border: 0; border-top: 1px solid var(--z-hair); border-radius: 0; box-shadow: none; padding: var(--z-gap-3) 0; margin: 0; }
.crisis-card .lbl, .crisis-card--urgent .lbl { font: var(--z-t-small); color: var(--z-ink); }
.crisis-card .lbl svg { color: var(--z-ink); }
.crisis-card .nm { font: 300 clamp(44px, 2rem + 2vw, 56px)/1.05 var(--z-serif); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--z-ink); margin: var(--z-gap-1) 0; }
.crisis-card .nm a { text-decoration-color: var(--z-ink); text-decoration-thickness: 1px; }
.crisis-card .meta { font: var(--z-t-small); color: var(--z-ink-3); }
.crisis-card .meta a { color: var(--z-ink); }
.crisis-card .desc { font: 400 clamp(17px, 1rem + .2vw, 18px)/1.6 var(--z-sans); color: var(--z-ink-2); max-width: 34em; } /* a readable measure (22 Nov) */
.note-card { background: none; border-top: 1px solid var(--z-hair); border-radius: 0; padding: var(--z-gap-3) 0 0; }
.note-card .h { font: 600 clamp(17px, 1rem + .2vw, 18px)/1.6 var(--z-sans); color: var(--z-ink); }
.cs p, .cs li { font: 400 clamp(17px, 1rem + .2vw, 18px)/1.6 var(--z-sans); color: var(--z-ink-2); }
.cs p strong { color: var(--z-ink); }
.cs a:not(.nm a) { color: var(--z-ink); }

/* 404 */
.nf { text-align: center; }
.nf-btns { gap: var(--z-gap-2); align-items: center; }
.nf .btn-dark { display: inline-flex; align-items: center; justify-content: center; min-height: var(--z-action-h); padding: 0 24px; border-radius: var(--z-r-action); background: var(--z-action); color: var(--z-on-action); font: var(--z-t-strong); border: 1px solid var(--z-action); }
@media (hover: hover) and (pointer: fine) { .nf .btn-dark:hover { background: var(--z-action-hover); border-color: var(--z-action-hover); color: var(--z-on-action); transform: none; box-shadow: none; } }
/* the second action as the site's outline terra pill, the same as "See how it works" (visitor review, 17 Oct) */
.nf .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: var(--z-action-h); padding: 0 24px; border-radius: var(--z-r-action); background: var(--z-bg); color: var(--z-action); font: var(--z-t-strong); border: 1px solid var(--z-action); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .nf .btn-ghost:hover { background: var(--z-bg-warm); color: var(--z-action-hover); border-color: var(--z-action-hover); transform: none; box-shadow: none; } }
.nf .sub { text-wrap: balance; }
.nf-mail { font: var(--z-t-body); color: var(--z-ink-2); }
.nf-mail a { color: var(--z-ink); font-weight: 400; }
