/* THE FUNCTION PAGES (f-<slug>-<lang>.html, e-base.js data-fn; owner, 2026-11-26) and the chapters' way to them.
   Built from the kit's own parts: the section and its head (.vs, .vs-head, the pill of .p-pills), the clips in their
   .e-stack with the chapter's switch, the line on the sample account (.e-found, with its tone contour), the way into
   the demo (.e-where), the chips of p-kit.css and the request's .k-access. This file only lays them out. The points are
   the kit's plain dark cards: no coloured block here, so no stripe and no contour either. */

/* page 12 and the homes: one quiet line under a chapter's way into the app, to the function's own page. It stands in
   the column of links from the start, so nothing moves when a switch is pressed. */
.e-more { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 0; margin: -6px 0; color: var(--text-secondary); font: 500 13.5px/1.4 var(--font-sans); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .16); text-underline-offset: 4px; }
.e-more:hover { color: var(--text-primary); text-decoration-color: var(--accent-line); }
.e-more .ic { flex: none; width: 13px; height: 13px; color: var(--accent); transition: translate .2s; }
.e-more:hover .ic { translate: 3px 0; }

/* the header's list of functions: on a function page the page being read is marked, on page 12 and the homes the
   chapter being read (e-kit.js FX.chapters, aria-current="location"); never in gold. Every link keeps the dot's place,
   so the open list keeps its width when the mark moves on with the reading. */
/* a row as wide as the list (v-kit.css's «.vh nav a» made it an inline box as wide as its words), so the mark is the
   whole row and its dot stands at the row's end */
.vh .vh-fn-p a { display: flex; }
.vh-fn-p a[aria-current] { color: var(--text-primary); background: rgba(255, 255, 255, .05); }
.vh-fn-p a::after { content: ""; flex: none; align-self: center; width: 6px; height: 6px; margin-left: auto; border-radius: 50%; }
.vh-fn-p a[aria-current]::after { background: var(--text-primary); }

/* ── a function page ── */
.f-page > .f-top { padding-top: calc(68px + clamp(36px, 4vw, 72px)); }
.f-top .vs-head { margin-bottom: clamp(24px, 2.6vw, 40px); }
.f-node { gap: clamp(18px, 2vw, 28px); }
/* the clips as wide as the page, but never taller than the screen leaves room for under the header and the switch */
.f-media { display: grid; gap: 16px; justify-items: start; width: 100%; max-width: max(320px, calc((100svh - 250px) * 16 / 9 + 20px)); margin-inline: auto; }
.f-media > .e-stack { width: 100%; }
.f-h { margin: 10px 0 0; font: 600 11px/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-tertiary); }
/* «What it answers»: three to five cards, every row full (as «Also in the app» on page 12) */
.f-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 12px; }
.f-points > li { display: grid; align-content: start; gap: 8px; padding: 16px 18px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .06); background: linear-gradient(180deg, #0f1316, #0b0e11); }
.f-at { font: 600 10.5px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-tertiary); }
.f-points b { font: 600 15.5px/1.25 var(--font-sans); color: var(--text-primary); overflow-wrap: break-word; }
.f-points p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
@media (900px <= width < 1280px) {
  .f-points { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .f-points > li { grid-column: span 2; }
  /* four: two over two; five: three over two */
  .f-points > li:first-child:nth-last-child(4), .f-points > li:first-child:nth-last-child(4) ~ li,
  .f-points > li:nth-child(4):nth-last-child(2), .f-points > li:nth-child(5):nth-last-child(1) { grid-column: span 3; }
}
@media (600px < width < 900px) { .f-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-points > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (width <= 600px) { .f-points { grid-template-columns: minmax(0, 1fr); } }
.f-proof .e-found { max-width: 860px; }
/* the other eight functions, the chips of p-kit.css in one wrapping row */
.f-others .wrap { display: grid; gap: 16px; }
/* the short request: its button leads to the form on the home page of the same language */
.f-access .vs-head { margin-bottom: 0; align-items: center; }
.f-acc { display: grid; gap: 18px; justify-items: start; }
