/* firms.html (draft): the financial and professional firms door. Shares styles.css and examples.css; only the new rules live here. */

/* Built-example label, sentence case, quiet */
.fm-label { margin-top: 12px; font-size: var(--fs-label); line-height: 1.5; color: var(--text); }
.fm-label + .standfirst { margin-top: 12px; }

/* Second example sits under the first, set off by a hairline */
.fm-second { margin-top: 64px; padding-top: var(--band); border-top: 1px solid var(--line); }
.fm-h { font-family: var(--serif); font-weight: 500; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.025em; max-width: 14em; text-wrap: balance; }

/* ── 2026-10-23 redesign: fewer words, clearer blocks ── */
.page-head .lede { max-width: 34em; }
.page-head .actions { margin-top: 28px; }
.rows .fig { font-family: var(--mono); font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--text); }
.rows h3 { text-wrap: balance; }
.fm-build .ex-note, .band .ex-note { margin-top: 16px; }

/* Prices: name, one line of detail, figure on the right */
.fm-pl li { grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1fr); align-items: baseline; }
.fm-pl .fig { max-width: none; font-size: 20px; line-height: 1.2; text-align: right; white-space: nowrap; }
.fm-h3 { margin: var(--gap-block) 0 0; font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3-row); line-height: 1.25; letter-spacing: -0.015em; }
.fm-terms, .fm-no { list-style: none; margin: 14px 0 0; padding: 0; max-width: 46em; border-top: 1px solid var(--line); }
.fm-terms li, .fm-no li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.fm-terms li::before, .fm-no li::before { content: ""; position: absolute; left: 0; top: calc(14px + 0.72em); width: 10px; border-top: 1px solid var(--text-3); }
.fm-no { margin-top: var(--gap-block); }
.fm-no li { padding-top: 16px; padding-bottom: 16px; }
.fm-no li::before { top: calc(16px + 0.72em); }
.fm-pl + .fm-h3 { margin-top: 56px; }

/* The sample: three short findings under the table */
.fm-shows { margin-top: var(--gap-block); }

/* Why it matters: one line and a link, the rest behind a click */
.fm-more { margin-top: 18px; max-width: 46em; }
.fm-more summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--text-2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--text-3); text-underline-offset: 5px; list-style: none; }
.fm-more summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .fm-more summary:hover { color: var(--text); text-decoration-color: currentColor; } }
.fm-more p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* Steps */
.fm-steps p { color: var(--text-2); }
@media (max-width: 1100px) { .fm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--cols-gap); } }
@media (max-width: 640px) { .fm-steps { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 760px) {
  .fm-pl li { grid-template-columns: minmax(0, 1fr); }
  .fm-pl .fig { text-align: left; white-space: normal; }
}
