/* VoxCloud — the glass wall.
   Steel glazing bars divide clear-glass panes; colour is a rare note. Direction contract:
   .impeccable/surfaces/src-index-njk.md. Brand tokens: /assets/branding/tokens/.
   Colour: Vox Blue for trust, one rare Vox Purple note for innovation (owner, 17-10).
   Windows guard (PRODUCT.md): no green, never two colour panes side by side, colour panes
   elongated and rare, app panes are clear glass. */
@import url('/assets/branding/tokens/index.css');

:root {
  --bar: #1a1a17;
  --bar-w: 6px;
  --pane: #f7f8f8;
  --pane-frost: #eef1f3;
  --ink: #1a1a17;
  --ink-soft: #3e3d39;
  --blue: #085c99;
  --blue-deep: #064a7a;
  --on-blue: #ffffff;
  --accent: #8e44ad; /* Vox Purple, the brand's secondary colour */
  --focus: #085c99;
  --rule: color-mix(in srgb, var(--ink) 16%, transparent);
  --pad: clamp(1.25rem, 2.2vw, 2rem);
  /* Width of the blue action pane on inner pages: wide enough for a 13-letter word unbroken. */
  --act-w: clamp(11rem, 16vw, 15rem);
  --display: 'Hanken Grotesk', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bar: #000000;
  --pane: #2a2e33;
  --pane-frost: #22262a;
  --ink: #f2f2f0;
  --ink-soft: #c9c8c3;
  --focus: #6fb4dd;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bar: #000000;
    --pane: #2a2e33;
    --pane-frost: #22262a;
    --ink: #f2f2f0;
    --ink-soft: #c9c8c3;
    --focus: #6fb4dd;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--bar) var(--pane); }
body {
  margin: 0;
  background: var(--bar);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-variant-numeric: tabular-nums;
  caret-color: var(--blue);
}
::selection { background: var(--blue); color: var(--on-blue); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: -6px; }
.pane-act:focus-visible, .pane-app:focus-within :focus-visible, .nav-link:focus-visible { --focus: var(--on-blue); }

/* Hover system (owner, 17-10), one rule for the whole site:
   1. A surface that is clickable as a whole (app pane, nav row, procurement row) fills with
      Vox Blue on hover and focus; text turns white, the arrow steps forward. A surface that
      is already blue deepens instead.
   2. A link inside running text (evidence, footer, utility) only underlines.
   At rest everything is clear glass: the colour is a state, never a tile. */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link (WCAG 2.4.1): out of sight until it gets keyboard focus. */
.skip-link { position: absolute; left: var(--bar-w); top: var(--bar-w); z-index: 10; padding: .75rem 1rem; background: var(--blue); color: var(--on-blue); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; --focus: var(--on-blue); }

/* The wall: a grid whose gaps are the glazing bars. */
.wall {
  display: grid;
  gap: var(--bar-w);
  padding: 0 var(--bar-w) var(--bar-w);
  background: var(--bar);
}

.pane {
  background: var(--pane);
  padding: var(--pad);
  min-width: 0;
}

.arr {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square;
  vertical-align: -.18em;
  transition: transform .24s var(--ease);
}
a:hover .arr, a:focus-visible .arr { transform: translateX(3px); }

/* ---- Hero wall ------------------------------------------------------------ */
.wall-hero {
  grid-template-columns: minmax(0, 1fr) clamp(10rem, 14vw, 13rem) minmax(20rem, 36%);
  grid-template-rows: 1fr auto auto;
  grid-template-areas:
    "head act shot"
    "lead act shot"
    "apps apps apps";
  /* No fixed height: the hero is as tall as its headline and lead, so no empty glass
     above the headline (owner 18-11). */
}

.pane-logo {
  grid-area: logo;
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  color: var(--blue);
}
[data-theme="dark"] .pane-logo { color: #6fb4dd; }
.logo-mark { width: 2.25rem; height: 2.25rem; }
.logo-word { font: 500 1.5rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.logo-word b { font-weight: 700; }
/* The logo pane is a link as a whole, so it lights like the nav rows; mark and word turn white. */
.pane-logo { transition: background-color .22s var(--ease), color .22s var(--ease); }
.pane-logo:hover, .pane-logo:focus-visible, [data-theme="dark"] .pane-logo:hover, [data-theme="dark"] .pane-logo:focus-visible { background: var(--blue); color: var(--on-blue); --focus: var(--on-blue); }
.pane-logo:hover .logo-word, .pane-logo:focus-visible .logo-word { color: var(--on-blue); transition: color .22s var(--ease); }

.pane-menu { display: none; }

.wall-nav {
  grid-area: nav;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.nav-list li + li { border-top: 1px solid var(--rule); }
.nav-link {
  display: block;
  margin-inline: calc(var(--pad) * -1);
  padding: .7rem var(--pad);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { background: var(--blue); color: var(--on-blue); }
.nav-utility {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center;
  padding-top: .9rem; border-top: 1px solid var(--rule);
}
.util {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 0; background: none; padding: .25rem 0; color: var(--ink-soft);
  font: 500 .95rem/1.2 var(--body); cursor: pointer; text-decoration: none;
}
.util:hover { color: var(--ink); text-decoration: underline; }

.pane-head {
  grid-area: head;
  display: flex; align-items: flex-end;
  padding-top: clamp(3rem, 8vh, 6rem);
  container-type: inline-size;
}
/* Sized from the pane itself, so the display never runs across a bar. */
.pane-head h1 {
  font: 700 clamp(2.75rem, 19cqi, 6rem)/.96 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
  max-width: 11ch;
}

.pane-lead {
  grid-area: lead;
  font-size: clamp(1.125rem, 1.3vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.pane-lead p { max-width: 46ch; }

/* The one lit blue pane: the buyer's route. Elongated by construction. */
.pane-act {
  grid-area: act;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem;
  background: var(--blue);
  color: var(--on-blue);
  text-decoration: none;
  transition: background-color .22s var(--ease);
}
.pane-act:hover { background: var(--blue-deep); }
.act-title { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.02em; }
.act-line { font-size: .95rem; line-height: 1.45; overflow-wrap: break-word; }
.pane-act .arr { width: 1.6rem; height: 1.6rem; }

.pane-shot {
  grid-area: shot;
  display: flex;
  background: var(--pane-frost);
}
.shots { flex: 1; display: grid; min-height: 0; }
/* Every screen sits in the same cell, only the current one visible: the pane is as tall as
   its tallest caption whichever screen shows, so lighting an app pane never moves the page. */
.shot { grid-area: 1 / 1; display: flex; min-height: 0; visibility: hidden; }
.shot.is-current { visibility: visible; }
.shot figure { flex: 1; display: flex; flex-direction: column; gap: .75rem; min-height: 0; }
.shot-frame {
  position: relative;
  flex: 1; min-height: 18rem;
  border: 2px solid var(--bar);
  background: #fff;
  overflow: hidden;
}
/* A legible detail of the screen, focused per app (apps.json shot.focus), not a thumbnail.
   Out of the flow, so a screen's own proportions never set the height of the hero. */
.shot-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { font-size: .95rem; color: var(--ink-soft); }
.shot figcaption b { color: var(--ink); font-weight: 600; }

/* App panes: clear glass, never coloured tiles. One lights blue at a time. */
.wall-apps {
  grid-area: apps;
  display: flex;
  flex-wrap: wrap;
  gap: var(--bar-w);
  background: var(--bar);
}
.pane-app {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; gap: .3rem;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.pane-app h3 { font: 600 1.5rem/1.15 var(--display); letter-spacing: -.02em; }
.pane-app h3 a { text-decoration: none; }
/* One pane, one link: the heading link covers the whole pane. */
.pane-app h3 a::after { content: ""; position: absolute; inset: 0; }
.pane-app h3 a:focus-visible { outline: 0; }
.pane-app:has(h3 a:focus-visible) { outline: 3px solid var(--on-blue); outline-offset: -6px; }
.pane-app p { color: var(--ink-soft); font-size: .98rem; line-height: 1.4; flex: 1; }
.app-cue { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 600; font-size: .94rem; }
/* Mondrian proportions, not a tile grid: each pane starts at its own content width. */
.pane-app { flex: 1 1 auto; min-width: 11rem; padding-inline: clamp(1.1rem, 1.6vw, 1.5rem); }

/* Keyboard focus fills the pane too (not only through wall.js), so the white focus ring
   never sits on clear glass: app pages have no screen pane and no lighting script. */
.pane-app:hover, .pane-app.is-lit, .pane-app:has(h3 a:focus-visible) { background: var(--blue); color: var(--on-blue); }
.pane-app:hover p, .pane-app.is-lit p, .pane-app:has(h3 a:focus-visible) p { color: var(--on-blue); }
.pane-app:hover .arr, .pane-app.is-lit .arr, .pane-app:has(h3 a:focus-visible) .arr { transform: translateX(3px); }
/* On app pages the app panes are the body of a section row ("Andere apps"), not a hero area. */
.wall-page .wall-apps { grid-area: auto; }

/* ---- Check wall: claim | evidence strips --------------------------------- */
/* Heading | the page's one purple note | the strips. */
.wall-check { grid-template-columns: minmax(15rem, 28%) clamp(3rem, 5vw, 5rem) minmax(0, 1fr); align-items: stretch; }
.pane-check-head { padding-block: clamp(2.5rem, 6vw, 5rem) var(--pad); display: flex; align-items: flex-start; }
.wall-check .claims { grid-column: 3; }
.pane-check-head h2 {
  font: 700 clamp(2.25rem, 4vw, 3.75rem)/1.02 var(--display);
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: 18ch;
}
/* One pane of ruled rows, like the navigation: hairlines between the claims, no bars. */
.claims { display: flex; flex-direction: column; justify-content: center; padding-block: .5rem; }
.claim + .claim { border-top: 1px solid var(--rule); }
.claim, .claim-row {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr) minmax(9rem, 14rem);
  gap: .25rem 1.5rem; align-items: baseline;
}
.claim > .claim-name, .claim > .claim-text, .claim > .claim-proof, .claim-row { padding-block: 1.1rem; }
.claim-row {
  grid-column: 1 / -1;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  text-decoration: none;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.claim-row:hover, .claim-row:focus-visible { background: var(--blue); color: var(--on-blue); --focus: var(--on-blue); }
.claim-row:hover .claim-text, .claim-row:focus-visible .claim-text { color: var(--on-blue); }
.claim-name { font: 600 1.25rem/1.25 var(--display); letter-spacing: -.015em; }
.claim-text { color: var(--ink-soft); }
.claim-proof { font-weight: 600; }
.claim-row .claim-proof { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
/* The open-source row: the source links run under its text, across text and evidence columns. */
.claim > .claim-proof { grid-column: 2 / -1; font-weight: 500; color: var(--ink-soft); }
.claim > .claim-text { padding-bottom: .15rem; }
.claim > .claim-proof { padding-top: 0; }
.claim > .claim-proof a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.claim > .claim-proof a:hover { text-decoration-thickness: 2px; }
.note { padding: 0; }
.note-accent { background: var(--accent); }

/* ---- Footer --------------------------------------------------------------- */
.wall-footer {
  grid-template-columns: minmax(0, 1fr);
  font-size: .95rem;
}
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--pad); }
.foot-cols a { overflow-wrap: break-word; hyphens: auto; }
.foot-title { font: 600 1rem/1.3 var(--display); margin-bottom: .75rem; }
.wall-footer li + li { margin-top: .35rem; }
.wall-footer a { color: var(--ink-soft); text-decoration: none; }
.wall-footer a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { background: var(--pane-frost); color: var(--ink-soft); }

/* Below 1280px the claims pane is too narrow for three columns: evidence goes under the text. */
@media (max-width: 1279px) {
  .claim, .claim-row { grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); }
  .claim-proof, .claim > .claim-proof { grid-column: 2; }
}

/* ---- Two-column wall ------------------------------------------------------ */
@media (max-width: 1099px) {
  .wall-hero {
    grid-template-columns: minmax(0, 1fr) clamp(11rem, 26vw, 15rem);
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "head act"
      "lead act"
      "shot shot"
      "apps apps";
    min-height: 0;
  }
  .pane-menu {
    grid-area: menu;
    display: block;
    border: 0; font: 600 1rem/1 var(--body); color: var(--ink); cursor: pointer;
  }
  .wall-nav { display: none; }
  body[data-nav-open] .wall-nav { display: flex; }
  .nav-list { columns: 2; column-gap: var(--pad); }
  .nav-list li { break-inside: avoid; }
  .nav-list li + li { border-top: 0; }
  .nav-list li { border-bottom: 1px solid var(--rule); }
  /* The heading with the purple note beside it, the strips full width below. */
  .wall-check { grid-template-columns: minmax(0, 1fr) clamp(2.5rem, 8vw, 4rem); }
  .wall-check .claims { grid-column: 1 / -1; }
  /* Touch widths: every app's screen in a swipe row. */
  .pane-shot { padding-inline: 0; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--pad); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: thin; }
  .shot, .shot.is-current { display: flex; visibility: visible; flex: 0 0 min(85%, 34rem); scroll-snap-align: start; }
  .shot-frame { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- One column ----------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --bar-w: 4px; }
  .wall-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "lead"
      "act"
      "shot"
      "apps";
  }
  .pane-act { min-height: 7rem; }
  /* On phones each claim stacks: name, text, evidence. */
  .claim, .claim-row { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .claim > .claim-name, .claim > .claim-text, .claim > .claim-proof { padding-block: 0; }
  .claim:first-child { padding-block: 1.1rem; }
  .claim-proof, .claim > .claim-proof { grid-column: 1; margin-top: .35rem; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .wall-check { grid-template-columns: minmax(0, 1fr); }
  .wall-check .note-accent { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ==== Inner pages (layouts/wall-page.njk) =====================================
   The existing building blocks of the content pages, set in the wall: every
   section is a row of panes, the section heading a tall pane on the left, the
   section body on the right. One blue pane at rest per page: the hero action. */

/* Header: logo pane | navigation pane with a horizontal list. */
.wall-header {
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  grid-template-areas: "logo nav";
  padding-top: var(--bar-w);
}
.wall-header .pane-logo { padding-block: 1.1rem; }
.wall-header .wall-nav { flex-direction: row; align-items: center; gap: 1rem 2rem; padding-block: .75rem; flex-wrap: wrap; }
.wall-header .nav-list { display: flex; flex-wrap: wrap; gap: .25rem; }
.wall-header .nav-list li + li { border-top: 0; }
.wall-header .nav-link { margin-inline: 0; padding: .55rem .8rem; }
.wall-header .nav-utility { border-top: 0; padding-top: 0; }
/* From 1100 to 1279 px the seven menu items and the two utility links only fit on
   one row with tighter spacing; below 1100 the menu button takes over. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .wall-header { grid-template-columns: 13rem minmax(0, 1fr); }
  .wall-header .wall-nav { column-gap: 1rem; }
  .wall-header .nav-link { padding-inline: .5rem; }
}

/* Authored arrow for links in page content (same stroke as the arrow SVG). */
.wall-page .btn::after, .wall-page .link-list a::after {
  content: "";
  width: 1.1em; height: 1.1em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .24s var(--ease);
}
/* Leaving the site (new tab or another host): the outward arrow. */
.wall-page .btn[target="_blank"]::after, .wall-page .btn[href^="http"]:not([href*="voxcloud.nl"])::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
}
.wall-page .btn:hover::after, .wall-page .btn:focus-visible::after,
.wall-page .link-list a:hover::after, .wall-page .link-list a:focus-visible::after { transform: translateX(3px); }

/* Every section is a wall row. */
.wall-page main > section { background: var(--bar); padding: 0 var(--bar-w) var(--bar-w); }
.wall-page main > section > .container {
  display: grid;
  grid-template-columns: minmax(13rem, 26%) minmax(0, 1fr);
  gap: var(--bar-w);
  background: var(--bar);
}
.wall-page main > section > .container > h2 {
  background: var(--pane);
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad) var(--pad);
  font: 700 clamp(1.9rem, 3vw, 3rem)/1.04 var(--display);
  letter-spacing: -.03em;
  text-wrap: balance;
  min-width: 0;
}
.sec-body { display: flex; flex-direction: column; gap: var(--bar-w); background: var(--bar); min-width: 0; }
.sec-body > * { background: var(--pane); padding: var(--pad); margin: 0; min-width: 0; }
.sec-body > p { max-width: none; }
/* The last pane fills the height of its row, so a tall heading pane never leaves a black void. */
.sec-body > :last-child:not(:has(> .btn:only-child)) { flex-grow: 1; }
.sec-body > p, .sec-body .feature-content > p { color: var(--ink-soft); }
.sec-body .section-intro { font-size: 1.1rem; }
.sec-body a:not(.btn), .meta-link { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sec-body a:not(.btn):hover, .meta-link:hover { text-decoration-thickness: 2px; }

/* Feature panes: clear glass, unequal widths from wrapping, never coloured. */
.sec-body > .features-grid { display: flex; flex-wrap: wrap; gap: var(--bar-w); background: var(--bar); padding: 0; }
.features-grid .feature { flex: 1 1 15rem; background: var(--pane); padding: var(--pad); min-width: 0; }
/* Mondrian, not a tile grid: every third pane wider, so rows never line up into columns. */
.features-grid .feature:nth-of-type(3n+1) { flex: 2 1 22rem; }
.features-grid .feature h3 { font: 600 1.2rem/1.25 var(--display); letter-spacing: -.015em; margin: 0 0 .4rem; }
.features-grid .feature p { margin: 0; color: var(--ink-soft); }

/* Text beside a screen: two panes; .reverse swaps them. */
.sec-body > .feature-highlight {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--bar-w); background: var(--bar); padding: 0;
}
.feature-highlight > * { background: var(--pane); padding: var(--pad); min-width: 0; }
.feature-highlight.reverse > .feature-content { order: 2; }
.feature-highlight .feature-image { background: var(--pane-frost); display: flex; padding: 0; min-height: 18rem; }
/* A legible detail, not a thumbnail: the screen fills its pane, focused top-left by default;
   set style="--shot-focus: x y" on an image to aim the crop. */
.feature-image > img:not(.portrait) { flex: 1; width: 100%; height: 100%; object-fit: cover; object-position: var(--shot-focus, 0% 0%); border: 0; }
.feature-image > video { align-self: center; margin: var(--pad); width: calc(100% - 2 * var(--pad)); min-width: 0; max-width: calc(100% - 2 * var(--pad)); height: auto; }
.feature-image > img.portrait { align-self: center; margin: var(--pad) auto; }
.feature-content > p { margin: 0 0 1rem; }

/* Ruled link list: each row opens one page (on app pages: the matching page of the
   documentation). Name over one line, the arrow at the end; the whole row fills Vox Blue
   edge to edge of its pane on hover and focus, like the navigation rows. */
.link-list { margin: 0; padding: 0; list-style: none; }
.sec-body > .link-list { padding: 0 var(--pad); }
.link-list li + li { border-top: 1px solid var(--rule); }
.wall-page .link-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; align-items: center;
  margin-inline: calc(var(--pad) * -1); padding: .95rem var(--pad);
  color: var(--ink); text-decoration: none;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.link-list strong { font: 600 1.2rem/1.25 var(--display); letter-spacing: -.015em; }
.link-list span { grid-column: 1; margin-top: .2rem; color: var(--ink-soft); }
.wall-page .link-list a::after { grid-column: 2; grid-row: 1 / span 2; }
.wall-page .link-list a:hover, .wall-page .link-list a:focus-visible { background: var(--blue); color: var(--on-blue); --focus: var(--on-blue); }
.link-list a:hover span, .link-list a:focus-visible span { color: var(--on-blue); }
/* A pane that holds only the list: the rows run to its top and bottom edge. */
.feature-content:has(> .link-list:only-child) { display: flex; flex-direction: column; justify-content: center; padding-block: 0; }
.feature-list { margin: 0; }
.feature-list li { padding: .6rem 0; border-top: 1px solid var(--rule); }
.feature-list li:last-child { border-bottom: 1px solid var(--rule); }

/* Screens: a frosted pane, the screenshot framed by a bar. */
.wall-page img.screenshot-main, .sec-body .screenshot-inline img, .feature-image img {
  border: 2px solid var(--bar); background: #fff; width: 100%; height: auto;
}
.wall-page .screenshot-section .container { grid-template-columns: minmax(0, 1fr); }
.wall-page .screenshot-section .container > * { background: var(--pane-frost); padding: var(--pad); }
.sec-body > .screenshot-inline { background: var(--pane-frost); }

/* Requirements: a ruled name | value list. */
.requirements ul { margin: 0; }
.requirements li { display: grid; grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--rule); }
.requirements li:last-child { border-bottom: 1px solid var(--rule); }
.requirements li > span:first-child { font-weight: 600; }
.requirements .check, .requirements .warn { color: var(--ink-soft); }
.sec-body > .trust-callout { background: var(--pane-frost); }

/* Buttons in content are link rows that fill blue on hover (hover system). */
.wall-page .btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--pad); font-weight: 600; text-decoration: none;
  background: var(--pane-frost); color: var(--ink);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.wall-page .btn:hover, .wall-page .btn:focus-visible { background: var(--blue); color: var(--on-blue); --focus: var(--on-blue); }
.sec-body > p:has(> .btn:only-child) { padding: 0; background: var(--bar); }

/* Hero: name, tagline, lead and facts on the left; the actions as one tall pane. */
.wall-page .hero { padding-top: 0; }
.wall-page .hero .container {
  grid-template-columns: minmax(0, 1fr) var(--act-w);
  container-type: inline-size;
}
.wall-page .hero .container > * { grid-column: 1; background: var(--pane); padding: var(--pad); margin: 0; min-width: 0; }
.wall-page .hero h1 {
  container-type: inline-size;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  font: 700 clamp(2.75rem, 9cqi, 6rem)/.96 var(--display); letter-spacing: -.035em; overflow-wrap: break-word;
}
.wall-page .hero .tagline { font: 600 clamp(1.25rem, 1.8vw, 1.6rem)/1.3 var(--display); letter-spacing: -.015em; }
.wall-page .hero .container > p:not(.tagline) { color: var(--ink-soft); font-size: clamp(1.05rem, 1.2vw, 1.2rem); }
.wall-page .hero .meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-soft); background: var(--pane-frost); }
.wall-page .hero .buttons {
  grid-column: 2; grid-row: 1 / span 4;
  display: flex; flex-direction: column; gap: var(--bar-w); padding: 0; background: var(--bar);
}
.wall-page .hero .buttons .btn { padding: var(--pad); }
.wall-page .hero .buttons .btn-primary { flex: 1; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .6rem; background: var(--blue); color: var(--on-blue); font: 700 clamp(1.1rem, 1.45vw, 1.35rem)/1.15 var(--display); letter-spacing: -.02em; }
.wall-page .hero .buttons .btn-primary:hover, .wall-page .hero .buttons .btn-primary:focus-visible { background: var(--blue-deep); }

@media (max-width: 1099px) {
  .wall-header { grid-template-columns: minmax(0, 1fr) clamp(6rem, 18vw, 9rem); grid-template-areas: "logo menu" "nav nav"; }
  .wall-header .wall-nav { flex-direction: column; align-items: stretch; }
  .wall-header .nav-list { display: block; columns: 2; }
  .wall-header .nav-link { margin-inline: calc(var(--pad) * -1); padding: .7rem var(--pad); }
  .wall-page main > section > .container, .wall-page .hero .container { grid-template-columns: minmax(0, 1fr); }
  .wall-page .hero .buttons { grid-column: 1; grid-row: auto; }
  .wall-page .hero .buttons .btn-primary { min-height: 6rem; flex-direction: row; align-items: center; justify-content: space-between; font-size: 1.35rem; }
  .sec-body > .feature-highlight { grid-template-columns: minmax(0, 1fr); }
  .feature-highlight.reverse > .feature-content { order: 0; }
}
@media (max-width: 640px) {
  .wall-header .nav-list { columns: 1; }
  .requirements li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
}

/* More building blocks of the app pages. */
.sec-body > .subsection-title { font: 600 clamp(1.3rem, 1.8vw, 1.6rem)/1.2 var(--display); letter-spacing: -.02em; padding-block: calc(var(--pad) * 1.2) calc(var(--pad) * .6); }
.sec-body > .screenshot-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--bar-w); background: var(--bar); padding: 0;
}
.screenshot-gallery > img { background: var(--pane-frost); padding: var(--pad); width: 100%; height: 100%; align-self: stretch; object-fit: contain; }
.wall-page .screenshot-gallery > img.portrait { width: 100%; max-height: none; }
.wall-page video { display: block; width: 100%; height: auto; border: 2px solid var(--bar); background: #fff; }
.install-steps ol { margin: 0; padding-left: 1.6rem; }
.install-steps li { padding: .6rem 0 .6rem .25rem; border-top: 1px solid var(--rule); }
.install-steps li:last-child { border-bottom: 1px solid var(--rule); }
.wall-page code { font: .92em/1.4 'IBM Plex Mono', ui-monospace, monospace; background: var(--pane-frost); padding: .1em .35em; }
.sec-body > .comparison-table { overflow-x: auto; }
.comparison-table table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .97rem; }
.comparison-table th, .comparison-table td { text-align: left; vertical-align: top; padding: .65rem .9rem .65rem 0; border-bottom: 1px solid var(--rule); }
.comparison-table thead th { font-weight: 600; border-bottom: 2px solid var(--bar); }
.comparison-table td:first-child { font-weight: 600; }
.wall-page img.portrait { display: block; width: auto; max-width: 100%; max-height: 36rem; margin-inline: auto; }
.sec-body > .screenshot-inline:has(img.portrait) { display: flex; justify-content: center; }
/* Only long compounds ("Goedkeuringsworkflow") may break, and only far from either end;
   short words and names ("Calendar") never do. */
.wall-page h2, .wall-page h3, .wall-page .btn { overflow-wrap: break-word; hyphens: auto; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; hyphenate-limit-chars: 13 6 6; }

/* The page's one Vox Purple note: beside the licensing wall. */
.wall-page :is(#licensing, .note-row) .container { grid-template-columns: minmax(13rem, 26%) minmax(0, 1fr) clamp(3rem, 5vw, 5rem); }
.wall-page :is(#licensing, .note-row) .container::after { content: ""; background: var(--accent); grid-column: 3; grid-row: 1; }
@media (max-width: 1099px) {
  .wall-page :is(#licensing, .note-row) .container { grid-template-columns: minmax(0, 1fr) clamp(2.5rem, 8vw, 4rem); }
  .wall-page :is(#licensing, .note-row) .container > h2, .wall-page :is(#licensing, .note-row) .sec-body { grid-column: 1; }
  .wall-page :is(#licensing, .note-row) .container::after { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 640px) {
  .wall-page :is(#licensing, .note-row) .container { grid-template-columns: minmax(0, 1fr); }
  .wall-page :is(#licensing, .note-row) .container::after { display: none; }
  /* A list of features is one ruled pane on a phone, not a stack of tiles. */
  .sec-body > .features-grid { display: block; background: var(--pane); padding: 0 var(--pad); }
  .features-grid .feature { background: none; padding: 1rem 0; }
  .features-grid .feature + .feature { border-top: 1px solid var(--rule); }
  /* The comparison table becomes one block per row, each value labelled with its column. */
  .comparison-table table { min-width: 0; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comparison-table tr { display: block; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
  .comparison-table td { display: block; border: 0; padding: .15rem 0; }
  .comparison-table td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 600; }
}

/* ---- App hero with its screen; wide screens ------------------------------- */
/* The app's screen sits in the hero as a frosted pane (like the homepage), so it is in the
   first view and never grows into a full-width poster. */
.wall-page .hero .container {
  grid-template-columns: minmax(0, 1fr) var(--act-w) minmax(20rem, 40%);
}
.wall-page .hero .hero-shot {
  grid-column: 3; grid-row: 1 / span 4;
  display: flex; flex-direction: column;
  background: var(--pane-frost); padding: var(--pad);
}
.hero-shot > img, .hero-shot > video {
  flex: 1 1 0; min-height: 18rem; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--shot-focus, 0% 0%);
  border: 2px solid var(--bar); background: #fff;
}

/* Desktop only (phones stack everything): a hero with an action but no third pane (404)
   has two columns; a page without a screen (licensing) puts its key facts in the third
   pane, a short ruled list on frost read bottom-up towards the action beside it. */
@media (min-width: 1100px) {
  .wall-page .hero .container:has(> .buttons):not(:has(> .hero-shot, > .hero-facts)) {
    grid-template-columns: minmax(0, 1fr) var(--act-w);
  }
  .wall-page .hero .container:has(> .hero-facts) {
    grid-template-columns: minmax(0, 1fr) var(--act-w) minmax(16rem, 28%);
  }
}
.wall-page .hero .hero-facts {
  grid-column: 3; grid-row: 1 / span 4;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--pane-frost);
}
.hero-facts > div { padding: .9rem 0; border-top: 1px solid var(--rule); }
.hero-facts > div:last-child { border-bottom: 1px solid var(--rule); }
.hero-facts dt { font-size: .9rem; color: var(--ink-soft); }
.hero-facts dd { margin: .2rem 0 0; font: 600 clamp(1.1rem, 1.4vw, 1.35rem)/1.25 var(--display); letter-spacing: -.015em; }

/* Customers (/customers/): organisations and quotes as clear panes, a funded feature as a
   clear pane with its funder in a frosted pane beside it. */
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; margin: 0; }
.quote blockquote { margin: 0; font: 500 clamp(1.1rem, 1.4vw, 1.3rem)/1.4 var(--display); letter-spacing: -.01em; }
.quote figcaption { color: var(--ink-soft); font-size: .94rem; }
.quote figcaption strong { color: var(--ink); }
.sec-body > .funded-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem); gap: var(--bar-w); padding: 0; background: var(--bar); }
.funded-row > * { background: var(--pane); padding: var(--pad); min-width: 0; }
.funded-main { display: flex; flex-direction: column; gap: .5rem; }
.funded-main h3 { font: 600 1.25rem/1.25 var(--display); letter-spacing: -.015em; }
.funded-meta, .funded-main p { color: var(--ink-soft); }
.funded-by { display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; background: var(--pane-frost); color: var(--ink-soft); font-size: .94rem; }
.funded-org { font: 600 1.15rem/1.25 var(--display); color: var(--ink); }
/* The width caps a landscape logo; the height leaves a squarish logo room to stay legible. */
.customer-logo { display: block; max-height: 5rem; max-width: 11rem; margin-bottom: .5rem; }
/* A stacked logo with its clear space in the file is square; at 5rem its text is unreadable.
   8rem is about 34 mm, just above the smallest print size in LISA's guidelines. */
.customer-logo-square { width: 8rem; height: 8rem; max-height: none; max-width: none; }
/* Customer logos are made for white paper; in dark mode they sit on a white plate. */
[data-theme="dark"] img.customer-logo { background: #ffffff; padding: .4rem .6rem; box-sizing: content-box; }
.customer-logo-pending { width: 10rem; height: 3.5rem; display: grid; place-items: center; border: 1px dashed var(--rule); color: var(--ink-soft); font-size: .85rem; }
/* Preview builds only: marks an item that has no consent yet. */
.draft-mark { display: inline-block; margin-left: .5rem; padding: .05rem .4rem; border: 1px solid var(--rule); font: 500 .75rem/1.4 var(--body); color: var(--ink-soft); vertical-align: middle; }
/* App page: the line under a feature list that names who funded a feature. */
.funded-note { color: var(--ink-soft); font-size: .94rem; margin-top: .75rem; }

/* Reading pages (layouts/wall-read.njk): contents on frost at the left, one reading pane
   with a measure for long text at the right. */
.wall-read .hero .container { grid-template-columns: minmax(0, 1fr); }
.read .toc { background: var(--pane-frost); padding: var(--pad); min-width: 0; }
.read .toc ol { position: sticky; top: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.toc-title { font-size: .9rem; color: var(--ink-soft); margin-bottom: .5rem; }
.toc li { border-top: 1px solid var(--rule); }
.toc li:last-child { border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: .55rem 0; font-weight: 600; font-size: .95rem; text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.read .prose { background: var(--pane); padding: var(--pad) clamp(var(--pad), 4vw, 4.5rem) calc(var(--pad) * 2); min-width: 0; }
.prose > * { max-width: 68ch; }
.prose h2 { font: 700 clamp(1.35rem, 2vw, 1.7rem)/1.2 var(--display); letter-spacing: -.02em; margin: 2.75rem 0 .75rem; scroll-margin-top: 1rem; }
.prose h2:first-child { margin-top: .5rem; }
.prose h3 { font: 600 1.15rem/1.3 var(--display); margin: 1.75rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; color: var(--ink-soft); line-height: 1.65; }
.prose ul, .prose ol { padding-left: 1.25rem; list-style: revert; }
.prose li + li { margin-top: .35rem; }
.prose strong { color: var(--ink); }
.prose a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .9rem .6rem 0; border-bottom: 1px solid var(--rule); color: var(--ink-soft); }
.prose thead th { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--bar); }
@media (max-width: 640px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose td { display: block; }
  .prose table { position: relative; }
  .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose tr { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
  .prose td { border: 0; padding: .1rem 0; }
  .prose td:first-child { color: var(--ink); font-weight: 600; }
  .prose td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--ink); font-weight: 600; }
}

/* Press and brand kit (partials/press-wall.njk). Logos sit on a white specimen card so
   they read in both themes; colours are ruled strips, never a grid of coloured tiles. */
.logo-panes .feature, .dont-panes .feature { display: flex; flex-direction: column; gap: .5rem; }
.logo-specimen { display: grid; place-items: center; height: 6.5rem; padding: 1rem; margin-bottom: .5rem; background: #fff; border: 1px solid var(--rule); }
.logo-specimen img { width: 100%; height: 4.5rem; object-fit: contain; }
.asset-rows { margin: auto 0 0; padding-top: .5rem; font-size: .94rem; }
.asset-rows > div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .5rem; padding: .4rem 0; border-top: 1px solid var(--rule); }
.asset-rows dt { color: var(--ink-soft); }
.asset-rows dd { margin: 0; font-weight: 600; }
.asset-rows a { text-decoration: none; }
.asset-rows a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.sec-body > .colour-block { display: flex; flex-direction: column; gap: .6rem; }
.colour-block h3 { font: 600 1.15rem/1.3 var(--display); }
.colour-block p { color: var(--ink-soft); }
.swatches { margin: .25rem 0 0; }
.swatch { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--rule); }
.swatch:last-child { border-bottom: 1px solid var(--rule); }
.swatch-colour { height: 2rem; border: 1px solid var(--rule); }
.swatch-name { font-weight: 600; }
.swatch-hex { border: 0; background: none; padding: .2rem 0; font: 500 .95rem/1.2 'IBM Plex Mono', ui-monospace, monospace; color: var(--ink-soft); cursor: pointer; min-width: 6.5rem; text-align: right; }
.swatch-hex:hover { color: var(--ink); text-decoration: underline; }
.gradient-specimen { height: 5rem; max-width: 34rem; border: 1px solid var(--rule); }
.sec-body > .clearspace { display: flex; justify-content: center; background: var(--pane-frost); }
.clearspace img { width: 100%; max-width: 20rem; height: auto; background: #fff; }
.dont-sample { display: grid; place-items: center; height: 7rem; overflow: hidden; background: #fff; border: 1px solid var(--rule); }
.dont-sample img { width: 100%; height: 4rem; object-fit: contain; }
.dont-busy .dont-sample { background: repeating-linear-gradient(45deg, #9aa5ad 0 6px, #cfd6db 6px 12px); }
.dont figcaption { color: var(--ink-soft); font-size: .94rem; }

/* Terms that must not break at their hyphen (AGPL-3.0), wrapped at build time. */
.nw { white-space: nowrap; }

/* Standalone screens in a section never grow past a readable size. */
.sec-body > .screenshot-inline { display: flex; justify-content: center; }
.sec-body > .screenshot-inline > img, .sec-body > .screenshot-inline > video { max-width: 64rem; }

/* On very wide screens the wall keeps its proportions and sits centred on frosted glass. */
body:has(> main > .wall-hero), body.wall-page, body.page-wall { background: var(--pane-frost); }
body.page-wall > header, body.page-wall > main, body.page-wall > footer { max-width: 110rem; margin-inline: auto; }
body.page-wall > main { background: var(--bar); }

@media (max-width: 1099px) {
  .wall-page .hero .container { grid-template-columns: minmax(0, 1fr); }
  .wall-page .hero .hero-shot, .wall-page .hero .hero-facts { grid-column: 1; grid-row: auto; }
  .sec-body > .funded-row { grid-template-columns: minmax(0, 1fr); }
  .wall-page .hero .container:has(> .hero-facts) { grid-template-columns: minmax(0, 1fr); }
  .hero-shot > img, .hero-shot > video { flex: none; height: auto; aspect-ratio: 16 / 10; min-height: 0; }
}
