/* numal.ai /about (17.11), built by _src/build-about.mjs. The homepage's voice on an inner page: serif headings, the
   yellow mark, the letter's serif paragraphs, the tinted closing band with the form. Tokens come from page.css (and
   dark.css), the form, its colors and the founder's ring from blog.css; everything here is scoped to .about */

.about { --ab-gap: 64px; }
.about .mark { display: inline-block; background: var(--mark); border-radius: 8px; padding: 0 8px; margin: 0 -4px; }

/* the opening: what Numal is, three plain facts, and the founder's line beside it */
.ab-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 72px; align-items: end; padding-top: 88px; }
.eyebrow { margin: 0 0 20px; font-size: 13.5px; font-weight: 500; line-height: 20px; color: var(--muted); }
.ab-hero h1 { margin: 0; font: 580 64px/1.02 var(--serif); letter-spacing: -.026em; text-wrap: balance; }
.ab-hero .lede { max-width: 600px; margin-top: 24px; font-size: 18px; line-height: 28.5px; }
.ab-facts { display: flex; flex-wrap: wrap; row-gap: 16px; margin: 36px 0 0; }
.ab-facts div { padding: 0 24px; border-left: 1px solid var(--line-2); }
.ab-facts div:first-child { padding-left: 0; border-left: 0; }
.ab-facts dt { font-size: 12.5px; line-height: 18px; color: var(--muted); }
.ab-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; line-height: 22px; color: var(--fg); }

.founder { margin: 0; padding: 30px 30px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--tint); }
.founder blockquote { margin: 0; }
.founder p { margin: 0; font: 460 25px/1.3 var(--serif); letter-spacing: -.014em; color: var(--fg); text-indent: -.4em; text-wrap: pretty; }
.founder figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.founder img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; }
.founder figcaption div { display: grid; gap: 2px; }
.founder b { font-size: 15px; font-weight: 500; line-height: 1.3; }
.founder span { font-size: 13.5px; color: var(--muted); }
/* 24.11: Igor's LinkedIn and X under his title on the founder card (build-about.mjs) */
.founder .links { display: flex; gap: 14px; margin-top: 2px; }
.founder .links a { padding: 2px 0; color: var(--soft-2); text-decoration-line: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.founder .links a:hover { color: var(--fg); text-decoration-color: currentColor; }

/* sections: a heading on the left that stays in view, the text on the right, as on the homepage */
.ab-sec { padding-top: 128px; }
.ab-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--ab-gap); align-items: start; }
.ab-split .ab-sh { position: sticky; top: calc(var(--bar) + 40px); }
.ab-sh h2 { margin: 0; font: 560 40px/46px var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.ab-sh p { margin: 16px 0 0; max-width: 440px; font-size: 17px; line-height: 27px; color: var(--soft-2); text-wrap: pretty; }
.ab-sh-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--ab-gap); align-items: end; }
.ab-sh-row p { margin: 0; max-width: 560px; }
.ab-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--fg); text-decoration: none; }
.ab-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ab-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ab-letter { max-width: 640px; padding-top: 4px; }
.ab-letter p { margin: 0; font: 400 20px/32px var(--serif); letter-spacing: -.008em; color: var(--soft); text-wrap: pretty; }
.ab-letter p + p { margin-top: 20px; }
.ab-letter .ab-next { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font: 400 16px/26px var(--font); letter-spacing: 0; color: var(--soft-2); }
.ab-next b { font-weight: 600; color: var(--fg); }

/* what we hold to: six short rules, numbered, three to a row */
.tenets { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.tenets li { padding-top: 20px; border-top: 1.5px solid var(--line-2); }
.tenets .n { display: block; font-size: 12.5px; font-weight: 500; line-height: 18px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tenets h3 { margin: 14px 0 0; font: 560 23px/29px var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.tenets p { margin: 10px 0 0; font-size: 15.5px; line-height: 25px; color: var(--soft); text-wrap: pretty; }

/* the company: label and value, one line each */
.co { margin: 0; border-top: 1px solid var(--line-2); }
.co div { display: grid; grid-template-columns: 160px minmax(0, 1fr); column-gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.co dt { font-size: 14px; line-height: 24px; color: var(--muted); }
.co dd { margin: 0; font-size: 16px; line-height: 24px; color: var(--fg); text-wrap: pretty; }
.co a { color: var(--fg); text-decoration-line: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.co a:hover { text-decoration-color: currentColor; }

/* the close: the homepage's tinted band, with the same form */
.ab-close { margin-top: 136px; padding: 96px 0 92px; background: var(--tint); border-top: 1px solid var(--line); scroll-margin-top: var(--bar); }
.ab-close-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ab-close h2 { margin: 0; max-width: 760px; font: 560 48px/54px var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.ab-close .lead { margin: 18px 0 0; max-width: 560px; font-size: 18px; line-height: 28.5px; color: var(--soft); text-wrap: pretty; }
.ab-close .ask { margin-top: 30px; }
.about .formnote { margin: 10px 0 0; font-size: 13.5px; line-height: 20px; color: var(--muted); text-wrap: pretty; }
.about .formnote:empty { margin: 0; }
.about .formnote.err { color: var(--red); }
.about .assure { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; font-size: 13.5px; line-height: 20px; color: var(--soft-2); }
.about .assure li { display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 1099px) {
  .about { --ab-gap: 40px; }
  .ab-hero { column-gap: 48px; }
  .ab-hero h1 { font-size: 56px; }
  .founder p { font-size: 22px; }
}
@media (max-width: 959px) {
  .ab-hero { grid-template-columns: minmax(0, 1fr); row-gap: 48px; padding-top: 56px; }
  .founder { max-width: 560px; }
  .ab-sec { padding-top: 104px; }
  .ab-split, .ab-sh-row { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .ab-split .ab-sh { position: static; }
  .ab-sh h2 { font-size: 36px; line-height: 42px; }
  .tenets { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .ab-close { margin-top: 112px; padding: 80px 0 76px; }
  .ab-close h2 { font-size: 40px; line-height: 46px; }
}
@media (max-width: 719px) {
  .ab-hero { padding-top: 32px; row-gap: 40px; }
  .ab-hero h1 { font-size: clamp(38px, 10.6vw, 56px); line-height: 1.06; }
  .about .mark { margin: 0 -2px 0 -4px; padding: 0 6px; border-radius: 7px; }
  .ab-hero .lede { font-size: 16.5px; line-height: 26px; }
  .ab-facts { display: grid; gap: 14px; margin-top: 28px; }
  .ab-facts div, .ab-facts div:first-child { padding: 0 0 0 14px; border-left: 1px solid var(--line-2); }
  .founder { padding: 22px 20px 18px; }
  .founder p { font-size: 21px; }
  .ab-sec { padding-top: 88px; }
  .ab-sh h2 { font-size: 32px; line-height: 38px; }
  .ab-sh p { font-size: 16.5px; line-height: 26px; }
  .ab-letter p { font-size: 18px; line-height: 29px; }
  .tenets { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tenets h3 { font-size: 21px; line-height: 27px; }
  .co div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 14px 0; }
  .co dt { font-size: 13px; line-height: 20px; }
  .ab-close { margin-top: 96px; padding: 64px 0 60px; }
  .ab-close-in { align-items: stretch; text-align: left; }
  .ab-close h2 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.14; }
  .ab-close .lead { font-size: 16.5px; line-height: 26px; }
  .ab-close .ask { margin-top: 24px; }
  .about .assure { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; }
}
