/* CaseModel website: css/p-for-law-firms.css
   The page for law firms: what a litigator needs set against where CaseModel gives it, who in the firm uses it,
   how it fits the systems a firm has, and the economics in one statement. */

/* ---- the head: the page's promise is a sentence, so it is set a little smaller than a capability's name ---- */
.aud h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02; letter-spacing: -.035em; }

/* ---- what you need, and where CaseModel gives it: a ruled two-column table ---- */
.need { border-bottom: 1px solid var(--line); }
.need-h { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; padding: 0 0 12px; font: 700 13px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.need-r { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 10px 40px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.need-r:first-of-type { border-top: 2px solid var(--navy); }
.need-r h3 { font-size: clamp(20px, 1.8vw, 25px); letter-spacing: -.02em; }
.need-r p { margin: 8px 0 0; font-size: 17px; line-height: 1.5; color: var(--text-2); max-width: 36em; }
.need-go { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.need-go .go { min-height: 44px; font-size: 18px; }
@media (max-width: 760px) {
  .need-h { display: none; }
  .need-r { grid-template-columns: 1fr; padding: 22px 0; }
  .need-go { flex-direction: row; flex-wrap: wrap; gap: 0 22px; }
}

/* ---- who uses it: four people, a rule over each ---- */
.who-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.who-l li { padding-top: 22px; border-top: 2px solid var(--navy); }
.who-l h3 { font-size: 21px; margin-bottom: 10px; }
.who-l p { margin: 0; font-size: 17px; color: var(--text-2); }
@media (max-width: 1000px) { .who-l { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who-l { grid-template-columns: 1fr; gap: 26px; } }

/* ---- it works with what you have: plain sentences, two by two ---- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-bottom: 1px solid var(--line); }
.fit > div { padding: 26px 0 28px; border-top: 1px solid var(--line); }
.fit h3 { font-size: 21px; margin-bottom: 10px; }
.fit p { margin: 0; font-size: 17px; color: var(--text-2); max-width: 34em; }
.fit-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin: 28px 0 0; font-size: 17px; color: var(--text-2); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---- the economics: one statement, said once ---- */

.econ h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: 18em; }
.econ h2::after { content: ''; display: block; width: 44px; height: 4px; margin-top: 22px; background: var(--navy); }
.econ > p:last-child { margin-top: 22px; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 36em; }
