/*
 * The about page (docs/ROOT_APP_PLAN.md): plain sections, each a short
 * statement, a screenshot or a drawing, then facts in pairs. Paper only,
 * like the app; colour only as the chart inks inside the drawings. The
 * app's welcome page frames this page, and then the page's own masthead
 * and outer padding step aside (`html.framed`).
 */
:root {
  color-scheme: only light;
  --paper: #e8e6e2;
  --ink: #1b1916;
  --muted: #5b5955;
  --faint: #878581;
  --hair: #a4a29e;
  --wash: #d9d7d3;
  --stage: rgb(217 215 211 / .6);
  --c1: #c66051; --c2: #dbb289; --c3: #dab647; --c4: #6a9d63; --c5: #628299; --c6: #916d8c;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
html.framed, html.framed body { overflow: hidden; }
body { font-family: var(--serif); font-size: 17px; line-height: 1.6; padding-inline: clamp(16px, 5vw, 72px); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
img, video { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 6px 10px; }

/* The masthead, for a visitor who came here directly. */
.about-mast { max-width: 1080px; margin-inline: auto; display: flex; align-items: center; gap: 10px; padding-block: 22px; border-bottom: 1px solid var(--hair); }
.about-mast img { width: 20px; height: 23px; }
.about-word { font-size: 19px; font-weight: 500; letter-spacing: -.025em; text-decoration: none; }
.about-beta { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--hair); border-radius: 2px; padding: 3px 5px 2px; line-height: 1; }
.about-mast nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-family: var(--sans); font-size: 13px; }
.about-mast nav a { text-decoration: none; color: var(--muted); }
.about-mast nav a:hover { text-decoration: underline; }
.about-mast nav a.open { color: var(--paper); background: var(--ink); padding: 7px 12px; border-radius: 6px; }
.about-mast nav a.open:hover { text-decoration: none; }
html.framed .about-mast, html.framed .skip { display: none; }

.wrap { max-width: 1080px; margin-inline: auto; padding-block: 72px 48px; display: grid; gap: 104px; }
section { display: grid; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
h1, h2 { font-weight: 400; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -.015em; margin: 0; text-wrap: balance; max-width: 24ch; }
h3 { font-weight: 500; font-size: 20px; line-height: 1.3; margin: 0 0 6px; }
p { margin: 0; max-width: 62ch; }
.lede { color: var(--muted); margin-top: 16px; }

/* screenshots */
.shot { margin: 36px 0 0; border: 1px solid var(--hair); border-radius: 8px; overflow: hidden; background: var(--wash); box-shadow: 0 18px 40px -24px rgb(27 25 22 / .45); }
.pair-media .shot { margin: 0 0 16px; border-radius: 6px; box-shadow: none; }
.duo { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 20px; align-items: start; }
.duo .shot { margin: 0; }

/* facts in pairs */
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; margin-top: 48px; align-items: start; }
.pairs > div { border-top: 1px solid var(--hair); padding-top: 18px; min-width: 0; }
.pairs p { color: var(--muted); font-size: 16px; }

/* drawings, in the New library gallery's manner */
.draw { display: block; margin: 0 0 16px; padding: 18px; background: var(--stage); border: 1px solid var(--hair); border-radius: 6px; }
.sheet { display: flex; flex-direction: column; padding: 8px 10px; background: var(--paper); border: 1px solid var(--hair); border-radius: 3px; min-width: 0; }
.row { display: flex; align-items: center; gap: 9px; padding-block: 6px; min-width: 0; }
.row + .row { border-top: 1px solid var(--wash); }
.in1 { padding-left: 18px; } .in2 { padding-left: 36px; }
.l { display: block; height: 5px; border-radius: 9px; background: rgb(27 25 22 / .15); flex: none; }
.grow .l { flex: initial; }
.l.s { background: rgb(27 25 22 / .35); }
.grow { flex: 1; min-width: 0; }
.pill { display: inline-block; height: 8px; width: 34px; border-radius: 9px; opacity: .85; flex: none; }
.glyph { width: 14px; height: 12px; flex: none; color: var(--muted); }
.thumb { width: 18px; height: 14px; flex: none; border-radius: 2px; opacity: .85; }
.kind { width: 22px; flex: none; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.val { font-family: var(--mono); font-size: 10.5px; color: var(--muted); flex: none; }
.who { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--faint); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 9.5px; color: var(--muted); background: var(--paper); }
.chip { flex: none; font-family: var(--sans); font-size: 10.5px; line-height: 1; padding: 4px 7px; border: 1px solid var(--hair); border-radius: 9px; color: var(--muted); }
.chip.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.files { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: var(--muted); white-space: pre; overflow-x: auto; }
.files b { font-weight: 500; color: var(--ink); }
.link2 { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); align-items: center; }
.link2 svg { width: 36px; height: 20px; color: var(--faint); }

/* questions */
.faq dl { margin: 28px 0 0; }
.faq dt { font-weight: 500; padding-top: 18px; border-top: 1px solid var(--hair); }
.faq dd { margin: 4px 0 18px; color: var(--muted); max-width: 62ch; }

footer { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 18px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; }

@media (max-width: 700px) {
  .wrap { gap: 72px; padding-block: 48px 32px; }
  .pairs { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo .phone { max-width: 260px; }
  .about-mast nav { gap: 12px; }
}
