/* The hub pages, /tools, /tools/more (hubs.mjs; the playbook's B6) and the
 * front page (home-page.mjs; B5). Unlayered, like theme.css, and every
 * rule starts at main.hb or main.hm so nothing here reaches another page.
 * Tokens from the design system (Part A). The grid is B0.2's: 1200 px of
 * content at 1280, 16 px margins on a phone; prose capped at 70ch. */
main.hb, main.hm { display: block; box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: var(--space-6, 24px) var(--space-4, 16px) var(--space-16, 64px); color: var(--color-text); }
@media (min-width: 768px) { main.hb, main.hm { padding-left: var(--space-8, 32px); padding-right: var(--space-8, 32px); } }
@media (min-width: 1280px) { main.hb, main.hm { padding-left: var(--space-10, 40px); padding-right: var(--space-10, 40px); } }
main.hb .os-trail, main.hm .os-trail { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 var(--space-6, 24px); font-size: 0.875rem; min-height: 32px; align-items: center; }
main.hb .os-trail a, main.hb .os-trail span { display: inline-flex; align-items: center; }
main.hb .os-trail a { color: var(--color-text-muted); }
/* A10.14's chevrons, drawn as a rule, the same as on every tool page
   (tool-page.css). */
main.hb .os-trail.breadcrumbs > * + :is(a, span, [aria-current])::before { content: ""; display: inline-block; width: 0.4375rem; height: 0.4375rem; margin: 0 var(--space-3, 12px) 0 var(--space-2, 8px);
  border: solid var(--color-text-muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(-45deg); }
main.hb .os-trail a { text-decoration: none; }
main.hb .os-trail a:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
main.hb .os-trail [aria-current="page"] { color: var(--color-text); }
main.hb h1.page-title, main.hm h1 { margin: 0; font: var(--weight-bold, 700) 1.75rem/1.2 var(--font-sans); letter-spacing: -0.015em; color: var(--color-text); }
@media (min-width: 1024px) { main.hb h1.page-title { font-size: 2.75rem; line-height: 1.15; } }
main.hb .hb-head { max-width: 792px; margin: 0 0 var(--space-12, 48px); }
main.hb .hb-intro { margin: var(--space-4, 16px) 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--color-text-muted); max-width: 70ch; }
@media (min-width: 1024px) { main.hb .hb-intro { font-size: 1.25rem; } }
main.hb .hb-count { display: inline-block; margin: var(--space-3, 12px) 0 0; padding: 2px 8px; font-size: 0.875rem; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sm, 4px); color: var(--color-text-muted); }
main.hb .hb-section { margin: 0 0 var(--space-12, 48px); }
main.hb .hb-section h2, main.hm .hm-block h2 { margin: 0 0 var(--space-4, 16px); font: var(--weight-semibold, 600) 1.375rem/1.25 var(--font-sans); color: var(--color-text); letter-spacing: 0; text-transform: none; }
@media (min-width: 1024px) { main.hb .hb-section h2 { font-size: 1.75rem; } }
main.hb .hb-section p { max-width: 70ch; line-height: 1.5; }

/* Tool cards (B6.1): the task label, one line of what it does, Free, and
   the app that does more; the whole card one link. */
main.hb .hb-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-4, 16px); }
@media (min-width: 768px) { main.hb .hb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { main.hb .hb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6, 24px); } }
main.hb .hb-card { display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; height: 100%; min-height: 72px; padding: var(--space-4, 16px); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg, 12px); background: var(--color-bg); color: var(--color-text); text-decoration: none; }
@media (min-width: 1024px) { main.hb .hb-card { min-height: 120px; padding: var(--space-5, 20px); } }
main.hb .hb-card:hover { border-color: var(--color-accent); background: var(--color-accent-subtle, var(--color-surface)); }
main.hb .hb-card:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
main.hb .hb-card__label { font-weight: var(--weight-semibold, 600); font-size: 1.125rem; line-height: 1.3; }
main.hb .hb-card__desc { color: var(--color-text-muted); font-size: 1rem; line-height: 1.4; }
main.hb .hb-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; font-size: 0.875rem; color: var(--color-text-muted); }
main.hb .badge--local { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }

/* The paid app card (B6.3): full width, after Most used. */
main.hb .hb-app { display: grid; grid-template-columns: 1fr; gap: var(--space-4, 16px); align-items: center; margin: 0 0 var(--space-12, 48px); padding: var(--space-6, 24px); border-radius: var(--radius-lg, 12px); background: var(--color-accent-subtle, var(--color-surface)); }
@media (min-width: 1024px) { main.hb .hb-app { grid-template-columns: 3fr 6fr 3fr; min-height: 160px; } }
main.hb .hb-app p { margin: 0; }
main.hb .hb-app__title { font-weight: var(--weight-semibold, 600); font-size: 1.25rem; }
main.hb .hb-app__desc { color: var(--color-text-muted); font-size: 0.9375rem; }
main.hb .hb-app__copy { line-height: 1.5; }
main.hb .hb-app__btn { justify-self: start; min-height: 48px; }
@media (min-width: 1024px) { main.hb .hb-app__btn { justify-self: end; } }
@media (max-width: 767.98px) { main.hb .hb-app__btn { width: 100%; justify-content: center; } }
main.hb .hb-app__trial { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.4; }
@media (min-width: 1024px) { main.hb .hb-app__trial { grid-column: 3; justify-self: end; text-align: right; margin-top: calc(-1 * var(--space-2, 8px)); } }

/* Every tool by group (B6.2): H2 sections on one page; a two-column list. */
main.hb .hb-all__summary { display: none; }
main.hb .hb-all__fold > h2 { margin-top: var(--space-8, 32px); }
main.hb .hb-list { list-style: none; margin: 0 0 var(--space-6, 24px); padding: 0; display: grid; grid-template-columns: 1fr; column-gap: var(--space-6, 24px); }
@media (min-width: 1024px) { main.hb .hb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
main.hb .hb-list a { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 8px 0; border-bottom: 1px solid var(--color-border-subtle); color: var(--color-text); text-decoration: none; }
main.hb .hb-list a:hover .hb-list__label { color: var(--color-accent); text-decoration: underline; }
main.hb .hb-list__label { font-weight: var(--weight-medium, 500); }
main.hb .hb-list__desc { color: var(--color-text-muted); font-size: 0.9375rem; }
main.hb .hb-index__intro { color: var(--color-text-muted); margin: -8px 0 var(--space-4, 16px); }
main.hb .hb-index h2 a { color: var(--color-text); text-decoration: none; }
main.hb .hb-index h2 a:hover { color: var(--color-accent); text-decoration: underline; }
main.hb .hb-also { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
main.hb .hb-also li { min-height: 32px; }
main.hb .hb-also__hub { color: var(--color-text-muted); font-size: 0.9375rem; }

/* ------------------------------------------------------------- the front
   page (B5): hero, the six doors, the redaction band, the Pro apps strip
   and bundle row, who can see your files, the facts you can check, the
   Workspace band and the popular tools index. */
main.hm { padding-top: 0; }
main.hm .hm-block { padding: var(--space-12, 48px) 0; }
/* Words are not broken at a line's end on the front page: "ordi-nary",
   "com-press" and "pass-word" read as a mistake in a short line. */
main.hm { hyphens: manual; -webkit-hyphens: manual; }
/* B5.4: a block's H2 is 28 px at 360 and 35 px at 1280, left aligned,
   32 px over what it heads. */
main.hm .hm-block h2 { margin-bottom: var(--space-8, 32px); font-size: 1.75rem; font-weight: var(--weight-bold, 700); line-height: 1.2; letter-spacing: -0.01em; max-width: 30em; }
@media (min-width: 1280px) { main.hm .hm-block h2 { font-size: 2.1875rem; } }
main.hm .hm-block h2 + p { margin-top: calc(-1 * var(--space-4, 16px)); }
main.hm .hm-band { margin: 0 calc(-1 * var(--space-4, 16px)); padding: var(--space-12, 48px) var(--space-4, 16px); background: var(--color-surface); }
@media (min-width: 768px) { main.hm .hm-band { margin: 0 calc(-1 * var(--space-8, 32px)); padding-left: var(--space-8, 32px); padding-right: var(--space-8, 32px); } }
@media (min-width: 1280px) { main.hm .hm-band { margin: 0 calc(-1 * var(--space-10, 40px)); padding: var(--space-16, 64px) var(--space-10, 40px); } }
/* B5.9: the Workspace band's padding is 48 px at every width. */
main.hm .hm-band.hm-ws { padding-top: var(--space-12, 48px); padding-bottom: var(--space-12, 48px); }
main.hm .hm-ws p { max-width: 70ch; font-size: 1.125rem; line-height: 1.5; }
main.hm .hm-ws .hm-ws__go { margin: var(--space-6, 24px) 0 0; }
main.hm h2 { margin: 0 0 var(--space-8, 32px); font: var(--weight-semibold, 600) 1.75rem/1.2 var(--font-sans); letter-spacing: -0.01em; }
@media (min-width: 1280px) { main.hm h2 { font-size: 2.1875rem; } }

main.hm .hm-hero { display: grid; grid-template-columns: 1fr; gap: var(--space-8, 32px); padding: var(--space-8, 32px) 0 var(--space-12, 48px); align-items: center; }
@media (min-width: 1024px) { main.hm .hm-hero { grid-template-columns: 1fr 1fr; gap: var(--space-6, 24px); padding: var(--space-24, 96px) 0 var(--space-16, 64px); } }
main.hm .hm-hero h1 { font-size: 1.75rem; line-height: 1.2; max-width: 18em; }
@media (min-width: 768px) { main.hm .hm-hero h1 { font-size: 2.1875rem; } }
@media (min-width: 1280px) { main.hm .hm-hero h1 { font-size: 2.75rem; line-height: 1.15; } }
main.hm .hm-sub { margin: var(--space-6, 24px) 0 0; font-size: 1.0625rem; line-height: 1.5; color: var(--color-text-muted); max-width: 34em; }
@media (min-width: 1024px) { main.hm .hm-sub { font-size: 1.25rem; } }
/* B5.2's proof line. Its three items are 606 px in a row, wider than the
   588 px column, so the third went to a line of its own under a gap; they
   are one a line at every width instead (B5.2 at 360), 28 px rows, 44 px
   where a finger points. */
main.hm .hm-proof { list-style: none; display: flex; flex-direction: column; gap: 0; margin: var(--space-4, 16px) 0 0; padding: 0; font-weight: var(--weight-medium, 500); }
main.hm .hm-proof li { display: flex; align-items: center; gap: var(--space-2, 8px); min-height: 28px; }
@media (pointer: coarse) { main.hm .hm-proof li { min-height: 44px; } }
main.hm .hm-proof svg { width: 16px; height: 16px; flex: none; color: var(--color-text); }
main.hm .hm-actions { display: flex; flex-direction: column; gap: var(--space-3, 12px); margin: var(--space-8, 32px) 0 0; }
@media (min-width: 768px) { main.hm .hm-actions { flex-direction: row; gap: var(--space-4, 16px); } }
main.hm .hm-actions .btn { min-height: 52px; justify-content: center; }
@media (min-width: 768px) { main.hm .hm-actions .btn { min-height: 48px; } }
main.hm .hm-reassure { margin: var(--space-3, 12px) 0 0; font-size: 0.875rem; color: var(--color-text-muted); }
main.hm .hm-shot { margin: 0; }
main.hm .hm-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg, 12px); background: var(--color-surface); }
/* The picture recorded in the page's own theme (home-shots.mjs). */
main.hm .hm-shot__dark { display: none; }
:root[data-theme="dark"] main.hm .hm-shot__dark { display: block; }
/* The saliency check (research vol1a 11.1; saliency.mjs): in the dark the
   hero's picture is a white PDF page on a dark ground, and it drew the eye
   before Browse free tools. Dimmed a step, as a picture on a dark page
   usually is; the page's own colours do not change. */
:root[data-theme="dark"] main.hm .hm-hero .hm-shot img { filter: brightness(0.72); }
:root[data-theme="dark"] main.hm .hm-shot__light { display: none; }
/* The hero's wide pair beside the words from 1024 px, its narrow pair
   (lazy, a phone's copy) below the buttons under that (home-page.mjs). */
@media (max-width: 1023px) { :root main.hm .hm-shot .hm-shot__wide { display: none; } }
@media (min-width: 1024px) { :root main.hm .hm-shot .hm-shot__narrow { display: none; } }

main.hm .hm-doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-3, 12px); }
@media (min-width: 768px) { main.hm .hm-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6, 24px); } }
@media (min-width: 1024px) { main.hm .hm-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main.hm .hm-door { position: relative; display: grid; grid-template-columns: 24px 1fr auto; column-gap: var(--space-3, 12px); align-items: center; box-sizing: border-box; min-height: 72px; padding: var(--space-3, 12px) var(--space-4, 16px);
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg, 12px); background: var(--color-bg); color: var(--color-text); text-decoration: none; }
@media (min-width: 768px) { main.hm .hm-door { grid-template-columns: 1fr; align-content: start; row-gap: 8px; min-height: 152px; padding: var(--space-5, 20px); } }
main.hm .hm-door:hover { border-color: var(--color-accent); background: var(--color-accent-subtle, var(--color-surface)); }
main.hm .hm-door:active { background: var(--color-surface-sunken, var(--color-surface)); }
main.hm .hm-door:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
main.hm .hm-door svg { width: 24px; height: 24px; }
/* B5.4: the doors of a row are one height, the count at the foot of each. */
main.hm .hm-doors > li { display: flex; }
main.hm .hm-doors > li > .hm-door { flex: 1; }
@media (min-width: 768px) { main.hm .hm-door { grid-template-rows: auto auto 1fr auto; align-items: start; } main.hm .hm-door__n { align-self: end; } }
/* B5.4 at 360: a row with a chevron at the right; on a card from 768 the
   whole card is the link and there is none. */
main.hm .hm-door { grid-template-columns: 24px 1fr auto 16px; }
main.hm .hm-door > svg:last-child { width: 16px; height: 16px; color: var(--color-text-muted); }
@media (min-width: 768px) { main.hm .hm-door { grid-template-columns: 1fr; } main.hm .hm-door > svg:last-child { display: none; } }
main.hm .hm-door__label { font-weight: var(--weight-semibold, 600); font-size: 1.125rem; line-height: 1.3; }
@media (min-width: 768px) { main.hm .hm-door__label { font-size: 1.25rem; } }
main.hm .hm-door__eg { display: none; color: var(--color-text-muted); }
main.hm .hm-door__n { color: var(--color-text-muted); font-size: 0.875rem; }
@media (min-width: 768px) { main.hm .hm-door__eg { display: block; } main.hm .hm-door__n { justify-self: end; } }

main.hm .hm-split { display: grid; grid-template-columns: 1fr; gap: var(--space-8, 32px); align-items: center; }
@media (min-width: 1024px) { main.hm .hm-split { grid-template-columns: 7fr 1fr 4fr; } main.hm .hm-split > :nth-child(2) { grid-column: 3; } }
main.hm .hm-split p { font-size: 1.125rem; line-height: 1.5; max-width: 70ch; }

main.hm .hm-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-6, 24px); }
@media (min-width: 1024px) { main.hm .hm-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main.hm .hm-app { display: flex; flex-direction: column; box-sizing: border-box; height: 100%; padding: var(--space-4, 16px); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg, 12px); background: var(--color-bg); }
@media (min-width: 768px) { main.hm .hm-app { padding: var(--space-6, 24px); } }
main.hm .hm-app h3 { margin: 0; font: var(--weight-semibold, 600) 1.375rem/1.25 var(--font-sans); }
main.hm .hm-app__desc { margin: 4px 0 0; color: var(--color-text-muted); }
main.hm .hm-app__job { margin: var(--space-4, 16px) 0 0; font-size: 1.125rem; line-height: 1.45; }
main.hm .hm-app ul { margin: var(--space-4, 16px) 0 0; padding-left: 1.2em; }
main.hm .hm-app li { line-height: 1.75; }
main.hm .hm-app__price { margin: var(--space-4, 16px) 0 0; font-weight: var(--weight-semibold, 600); }
main.hm .hm-app__acts { display: flex; flex-wrap: wrap; gap: var(--space-4, 16px); align-items: center; margin-top: auto; padding-top: var(--space-4, 16px); }
main.hm .hm-app__acts .btn { min-height: 44px; }
main.hm .hm-bundle { display: grid; grid-template-columns: 1fr; gap: var(--space-4, 16px); align-items: center; margin: var(--space-6, 24px) 0 0; padding: var(--space-6, 24px); border-radius: var(--radius-lg, 12px); background: var(--color-accent-subtle, var(--color-surface)); }
@media (min-width: 1024px) { main.hm .hm-bundle { grid-template-columns: 8fr 4fr; } main.hm .hm-bundle .btn { justify-self: end; } }
main.hm .hm-bundle p { margin: 0; font-size: 1.125rem; line-height: 1.5; }

main.hm .hm-who { display: grid; grid-template-columns: 1fr; gap: var(--space-8, 32px); }
@media (min-width: 1024px) { main.hm .hm-who { grid-template-columns: 5fr 1fr 6fr; } main.hm .hm-who > :last-child { grid-column: 3; } }
main.hm .hm-who table { width: 100%; border-collapse: collapse; font-size: 1rem; }
main.hm .hm-who caption { text-align: left; color: var(--color-text-muted); font-size: 0.875rem; padding-bottom: 8px; }
main.hm .hm-who th, main.hm .hm-who td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--color-border-subtle); }
main.hm .hm-who th { font-weight: var(--weight-semibold, 600); width: 45%; }

/* B5.8: each fact 22 px / 600 over its source line, 14 px muted; the
   whole item one link, ruled off above. Stacked at 360, two by two at
   768, in a row from 1024 (three: the visits are left out until the
   build can read them). */
main.hm .hm-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 var(--space-6, 24px); }
@media (min-width: 768px) { main.hm .hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6, 24px); } }
@media (min-width: 1024px) { main.hm .hm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main.hm .hm-facts li { display: flex; }
main.hm .hm-facts a { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-3, 12px); width: 100%; box-sizing: border-box; min-height: 7.5rem; padding: var(--space-5, 20px) 0 var(--space-6, 24px); border-top: 1px solid var(--color-border-strong); }
@media (max-width: 767.98px) { main.hm .hm-facts a { min-height: 0; } }
main.hm .hm-fact__big { display: block; font-weight: var(--weight-semibold, 600); font-size: 1.375rem; line-height: 1.3; letter-spacing: -0.005em; max-width: 20em; }
main.hm .hm-fact__src { display: inline-flex; align-items: center; gap: var(--space-1, 4px); font-size: 0.875rem; color: var(--color-text-muted); text-decoration: underline; text-decoration-color: var(--color-border); text-underline-offset: 0.2em; }

/* Six columns on a wide screen; six closed <details> on a phone (B5.10). */
main.hm .hm-popular--wide { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8, 32px) var(--space-6, 24px); }
@media (min-width: 768px) { main.hm .hm-popular--wide { display: grid; } main.hm .hm-popular--narrow { display: none; } }
@media (min-width: 1280px) { main.hm .hm-popular--wide { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
main.hm .hm-popular__hub { margin: 0 0 8px; font: var(--weight-semibold, 600) 1rem/1.3 var(--font-sans); }
main.hm .hm-popular__hub a { color: var(--color-text); }
main.hm .hm-popular--narrow details { border-bottom: 1px solid var(--color-border-subtle); }
main.hm .hm-popular--narrow summary { display: flex; align-items: center; min-height: 48px; font-weight: var(--weight-semibold, 600); cursor: pointer; }
main.hm .hm-popular ul { list-style: none; margin: 0 0 12px; padding: 0; }
main.hm .hm-popular li a { display: block; padding: 5px 0; color: var(--color-text); font-size: 0.9375rem; line-height: 1.4; text-decoration: none; }
main.hm .hm-popular li a:hover { color: var(--color-accent); text-decoration: underline; }
main.hm .hm-popular__hub a { text-decoration: none; }
main.hm .hm-popular__hub a:hover { text-decoration: underline; }
/* A finger's 44 px (A9) on a phone or a touch screen: the index's rows,
   the application cards' See links and the proof strip's check link. */
@media (max-width: 767.98px), (pointer: coarse) {
  main.hm .hm-popular li a, main.hm .hm-app__acts a:not(.btn), main.hm .hm-proof a { display: flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; }
}
main.hm .hm-popular .hm-all { color: var(--color-accent); font-weight: var(--weight-medium, 500); }
main.hm .hm-facts a { color: var(--color-text); text-decoration: none; }
main.hm .hm-facts a:hover .hm-fact__src { color: var(--color-text); text-decoration-color: currentColor; }
main.hm .hm-facts a:hover { border-top-color: var(--color-accent); }
main.hm .hm-facts a:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
main.hm .hm-hero .hm-actions { display: flex; }

/* The legal notice (legal-pages.mjs, B12.2): a definition list, 18 px. */
main.hb .legal-dl { display: grid; grid-template-columns: 1fr; gap: 4px 24px; max-width: 792px; margin: 0; font-size: 1.125rem; line-height: 1.5; }
@media (min-width: 768px) { main.hb .legal-dl { grid-template-columns: 14rem 1fr; } }
main.hb .legal-dl dt { font-weight: var(--weight-semibold, 600); padding-top: 12px; }
main.hb .legal-dl dd { margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--color-border-subtle); }
@media (min-width: 768px) { main.hb .legal-dl dd { padding-top: 12px; } }
main.hb .legal-dl .placeholder { color: var(--color-text-muted); }
main.hb .legal-updated { margin-top: 24px; color: var(--color-text-muted); font-size: 1rem; }

/* The outline button (B5.6 "Try the example", "Compare plans", B5.9): the
   site's older sheet colours every .btn in a page's main area as a filled
   one, so the outline is said here, unlayered, over it. */
main.hm .btn--secondary, main.hb .btn--secondary { background: var(--color-bg); color: var(--color-accent); border: 1px solid var(--color-border-strong, var(--color-border)); }
main.hm .btn--secondary:hover, main.hb .btn--secondary:hover { background: var(--color-accent-subtle, var(--color-surface)); color: var(--color-accent); }
main.hm .hm-split > :only-child { grid-column: 1 / 2; }

/* /about-the-name (F6.1): the pinhole drawing, neutral greys and the one
   purple ray; the story at reading width. */
.atn { max-width: 70ch; }
.atn-story p { font-size: 1.125rem; line-height: 1.6; }
.atn-fig { display: block; width: 100%; max-width: 480px; height: auto; margin: 8px 0 24px; }
.atn-room { fill: var(--color-surface); stroke: var(--color-border); }
.atn-wall { fill: none; stroke: var(--color-text); stroke-width: 1.5; }
.atn-line { fill: none; stroke: var(--color-text-muted); stroke-width: 1.5; }
.atn-dash { stroke-dasharray: 4 4; }
.atn-ray { fill: none; stroke: var(--color-accent); stroke-width: 1.5; }

.lic-quote { margin: 0; padding: 0; border: 0; }
/* B5.2: the hero's picture and the band's (B5.5), radius 12 px. The band's
   is the checker's whole warning, at its own 390 px width at most. */
main.hm .hm-shot--row { max-width: 390px; }
/* B2.7, B5.4, B6.1, A9.2: a card, a door or a tile changes colour and edge
   in 120 ms (--dur-fast, which is 0 under reduced motion), where there is
   a pointer to hover with. */
@media (hover: hover) {
  main.hb .hb-card, main.hm .hm-door, main.hm .btn--secondary, main.hb .btn--secondary { transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
}
