/* LintTrust, the site's one stylesheet. One family, Geist, the face of the
   logo and of the application, so the site and the product speak with one
   voice: hierarchy by size and weight, a real jump between the quiet text
   and the loud display (the page's statement, the section titles, the
   three figures). A monospace for what a certificate says. Ink on paper,
   structure by hairline and a shared left rail rather than boxes, and one
   accent, the application's blue, on the primary button, the focus ring,
   and one figure. Light only. */

/* Geist (Vercel, SIL Open Font License 1.1), variable 100 to 900, cut to
   the Latin the pages use (tools/fonts/Geist-Variable.ttf, P259). */
@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Source Sans 3 stays as the fallback for the few characters Geist does
   not draw (the narrow no-break space French sets before : ? !). */
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3VF-Upright.otf.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/SourceSans3VF-Italic.otf.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* The Chinese, Japanese, Korean, and Arabic faces, each cut to the
   characters of its language's strings (tools/subset_fonts.py). */
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/NotoSansSC-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/NotoSansSC-Bold.subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans TC";
  src: url("/fonts/NotoSansTC-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans TC";
  src: url("/fonts/NotoSansTC-Bold.subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("/fonts/NotoSansJP-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("/fonts/NotoSansJP-Bold.subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("/fonts/NotoSansKR-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("/fonts/NotoSansKR-Bold.subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/fonts/NotoSansArabic-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/fonts/NotoSansArabic-Bold.subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --ink-70: rgba(20, 20, 20, 0.7);
  --ink-60: rgba(20, 20, 20, 0.6);
  --paper: #fcfcfa;
  --surface: #f4f3ee;
  --hairline: rgba(20, 20, 20, 0.14);
  --edge: rgba(20, 20, 20, 0.1);
  --field: rgba(20, 20, 20, 0.5);
  /* The one accent: the application's blue (P259's logo.svg). Its deeper
     step is for the primary button under the pointer only. */
  --brand: #4f46e5;
  --brand-deep: #3730a3;
  /* The application's verdict colours (its MUI theme: error #ef4444,
     success #22c55e, warning #f59e0b), for the linter band's three figures.
     The red is the application's own. The green and the amber are the same
     hues one step deeper (the families' 700 steps), because the theme's own
     stand at 2.05 and 1.93 to 1 on the band's surface, under the 3:1 a
     large figure needs: 4.51 and 4.52 to 1 here, the red 3.39 to 1. */
  --verdict-fail: #ef4444;
  --verdict-pass: #15803d;
  --verdict-observe: #b45309;
  --sans: "Geist", "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --display: var(--sans);
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;

  /* The scale: a quiet text register (14, 17, 19, 20) and a loud display
     register a real jump above it (40, 60, 96), each display step half
     again the one below. */
  --small: 0.875rem;
  --text: 1.0625rem;
  --lead: 1.1875rem;
  --title-3: 1.25rem;
  --title-2: 2.5rem;
  --title-1: 3.75rem;
  --figure: 6rem;

  /* The page's grid: 1,216 px of content in three tracks with 64 px
     gutters. The first track is the rail the section titles stand in, the
     other two carry the content. */
  --content: 76rem;
  --gutter: 2rem;
  --gap: 4rem;
  --header: 3.5rem;

  --ease: 200ms ease;
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 12px 32px -12px rgba(20, 20, 20, 0.14),
    0 40px 80px -40px rgba(20, 20, 20, 0.22);
  --shadow-deep: 0 2px 4px rgba(20, 20, 20, 0.06), 0 20px 44px -14px rgba(20, 20, 20, 0.22),
    0 56px 110px -44px rgba(20, 20, 20, 0.32);
}

/* The font stack of each language. The Latin languages (French, Spanish,
   Portuguese, German) share Geist. The others take their Noto face first
   (cut to the site's characters, its own Latin kept, so a Chinese
   quotation mark keeps its width), the Latin sans after it (Arabic's Noto
   face has no Latin), then the system's, for their titles as for their
   text. */
:lang(ar) { --sans: "Noto Sans Arabic", "Geist", "Source Sans 3", Tahoma, sans-serif; }
:lang(zh-Hans) { --sans: "Noto Sans SC", "Geist", "Microsoft YaHei", "PingFang SC", sans-serif; }
:lang(zh-Hant) { --sans: "Noto Sans TC", "Geist", "Microsoft JhengHei", "PingFang TC", sans-serif; }
:lang(ja) { --sans: "Noto Sans JP", "Geist", "Yu Gothic", "Hiragino Sans", sans-serif; }
:lang(ko) { --sans: "Noto Sans KR", "Geist", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
:is(:lang(ar), :lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) { --display: var(--sans); }
:lang(ko) body, body:lang(ko) { word-break: keep-all; }
/* Arabic's Noto face stands smaller than Geist at the same size: its text
   one notch up, with more room between its lines. */
:lang(ar) body, body:lang(ar) { line-height: 1.85; font-size: 1.125rem; }
/* Latin names and numbers inside a right-to-left sentence read left to
   right, as written (the build wraps them in <bdi dir="ltr">). */
bdi { unicode-bidi: isolate; }

*, *::before, *::after { box-sizing: border-box; }
/* Hidden means hidden, whatever display a class gives (the video button
   while the video has no ID, the form's notices). */
[hidden] { display: none !important; }
/* Read, not shown: the name in the page's title (the logo shows it). */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The hero's eyebrow: the name above the statement, in small tracked
   capitals of ink at 60 percent (Tahar, 2026-09-28, option B). It stays in
   the h1, so the page's title reads "LintTrust" then the statement. */
.eyebrow { display: block; margin: 0 0 1.1rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1; color: var(--ink-60); }

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  /* An anchor lands under the sticky header, not behind it. */
  scroll-padding-top: calc(var(--header) + 2rem);
  /* The questions open to their height (::details-content, below). */
  interpolate-size: allow-keywords;
}
body {
  margin: 0;
  background: var(--paper);
  font-family: var(--sans);
  font-size: var(--text);
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* The display register: size and weight, tight tracking, tight leading. */
h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 {
  font-size: var(--title-1);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-size: var(--title-2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 { font-size: var(--title-3); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0 0 1em; max-width: 34em; }
strong { font-weight: 600; }
code { font-family: var(--mono); font-size: 0.86em; }
/* Chinese, Japanese, Korean, and Arabic titles keep their letters' own
   spacing, and more room between their lines. */
:is(:lang(ar), :lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) :is(h1, h2, h3, .figure) { letter-spacing: 0; }
:is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) :is(h1, h2) { line-height: 1.25; }
:lang(ar) :is(h1, h2) { line-height: 1.4; }
/* Japanese titles break between phrases, not inside one. */
:lang(ja) :is(h1, h2, h3, .faq-item summary) { word-break: auto-phrase; }
:lang(ar) h3 { line-height: 1.5; }

/* Links: ink, a 1 px underline 3 px under the text, a heavier one under
   the pointer. */
a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness var(--ease), background-color var(--ease), color var(--ease), box-shadow var(--ease);
}
a:hover { text-decoration-thickness: 2px; }
/* Focus: a 2 px ring in the blue, 2 px off, on everything a keyboard
   reaches. */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* The page's column: 1,216 px of content between two gutters. */
.measure { max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* The rail: a section's title in the first track, its content across the
   other two. On a wide screen the title stays in view while its content
   scrolls past it. */
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.rail > :first-child { grid-column: 1; }
.rail > .rail-body { grid-column: 2 / -1; }
.rail > h2, .rail > .rail-head { position: sticky; top: calc(var(--header) + 2.5rem); }
.rail-head p { margin-top: 1.5rem; color: var(--ink-70); }

/* The skip link, clipped out of sight until it has the focus (an offset
   would reach past the page's edge in a right-to-left page). */
.skip { position: absolute; top: 0.5rem; inset-inline-start: 1rem; z-index: 10; background: var(--paper); padding: 0.5rem 1rem; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The header: 56 px with its hairline, sticky, the paper at 92 percent
   over a blur so the page shows through faintly. The logo at its start,
   the anchor menu centred, the languages at its end. */
.masthead {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(252, 252, 250, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.masthead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 2rem;
  min-height: calc(var(--header) - 1px);
}
.brand { justify-self: start; display: inline-flex; align-items: center; text-decoration: none; }
/* The logo, the application's own header mark (tools/make_marks.py), at
   the height P259 measured against the application's header. */
.logo { display: block; height: 1.8191rem; width: auto; }
/* The anchor menu: Geist has no small capitals, so true capitals at 12 px,
   tracked 0.08em, weight 500. */
.nav {
  display: flex;
  gap: 0.25rem 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.nav a { display: inline-block; padding-block: 0.5rem; text-decoration-color: transparent; text-underline-offset: 5px; }
.nav a:hover { text-decoration-color: currentColor; text-decoration-thickness: 1px; }
:is(:lang(ar), :lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) .nav { font-size: var(--small); letter-spacing: 0; font-weight: 400; }

/* The language switch: a dropdown, small, at the end of the header (the
   right, the left in a right-to-left page, whose header mirrors), a globe
   and the current language's name, and a chevron drawn in CSS. No flag: a
   flag names a country, and the site's languages cross them. Its list
   opens under it from its end side, so it never leaves the page. */
.languages { justify-self: end; font-size: var(--small); font-family: var(--sans); }
.globe { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.1; flex: none; }
.language-menu { position: relative; }
.language-menu summary {
  display: inline-flex; align-items: center; gap: 0.45em; cursor: pointer; list-style: none;
  min-height: 2.25rem; padding: 0 0.65rem; border-radius: 6px; color: var(--ink);
  transition: background-color var(--ease);
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:hover, .language-menu[open] summary { background: var(--surface); }
.chevron { width: 0; height: 0; border-inline-start: 0.28em solid transparent; border-inline-end: 0.28em solid transparent;
  border-top: 0.34em solid currentColor; transition: transform var(--ease); }
.language-menu[open] .chevron { transform: rotate(180deg); }
.language-menu ul {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 20; min-width: 100%;
  margin: 0; padding: 0.4rem 0; list-style: none; background: var(--paper); border: 1px solid var(--edge);
  border-radius: 8px; box-shadow: var(--shadow);
}
.language-menu li a { display: block; padding: 0.35rem 1rem; white-space: nowrap; text-decoration: none; }
.language-menu li a:hover, .language-menu li a:focus-visible { background: var(--surface); }
.language-menu a[aria-current="page"] { font-weight: 600; }

/* The language banner: one line under the header on the second surface,
   in the language it offers, a link and a close control, shown by site.js
   only. */
.language-banner { background: var(--surface); font-family: var(--sans); font-size: 0.9375rem; }
.language-banner-inner { display: flex; align-items: center; gap: 1rem; padding-block: 0.5rem; }
.language-banner p { margin: 0; flex: 1; max-width: none; }
.banner-close { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; padding: 0;
  border: 0; border-radius: 6px; background: none; color: var(--ink); cursor: pointer; transition: background-color var(--ease); }
.banner-close:hover { background: var(--paper); }
.banner-close svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* The air: each movement takes the room it needs. 160 px before a new
   movement, 80 within one, the Working Paper and Who It Is For held close
   as one argument. */
.hero { padding-top: 7.5rem; overflow-x: clip; }
.what { padding: 10rem 0 8rem; }
/* Coverage follows How It Works in the same form: one movement's room
   between them, not two. */
.coverage { padding-top: 2rem; }
.pilot { padding: 0 0 9rem; }
.band { background: var(--surface); padding-block: 8rem; }
.paper { padding: 9rem 0 5rem; }
.who { padding: 5rem 0 9rem; }
.questions { padding: 0 0 9rem; }
.demo-band { padding-block: 7.5rem; }

/* The hero (v2's, P260): the eyebrow, the statement, the lead, and the
   button in the text's track, and the first screenshot in the other, larger
   than its track, cropped by the viewport's edge, turned 2.5 degrees around
   its inline-start edge (the far end rising), an object on a desk, mirrored
   in a right-to-left page. The hero clips it, so the page never scrolls
   sideways. Below 900 px the hero stacks, the screenshot whole and straight. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); align-items: center; }
.hero h1 { max-width: 19em; margin-bottom: 1.75rem; }
.hero-body { font-size: var(--lead); line-height: 1.6; color: var(--ink-70); margin-bottom: 2.5rem; }
.hero-shot { position: relative; min-width: 0; }
.hero-shot .shot { width: clamp(34rem, 60vw, 60rem); rotate: -2.5deg; transform-origin: 0 50%; }
[dir="rtl"] .hero-shot .shot { rotate: 2.5deg; transform-origin: 100% 50%; }
/* The hero's screenshot bleeds off its far edge, so its enlarge pill sits
   at the near corner, which stays in view. */
.hero-shot .shot-caption { inset-inline-end: auto; inset-inline-start: 1rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; max-width: none; }

/* The primary button: the blue, filled, 48 px tall, deeper under the
   pointer. The other buttons quiet: ink on paper, inverted under the
   pointer. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  font: inherit;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.button:hover { background: var(--ink); color: var(--paper); }
.button.primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.button.primary:hover { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }

/* A link that leads on: weight 500, its underline, and a chevron drawn in
   CSS that steps forward under the pointer (backward in a right-to-left
   page). */
.more { font-weight: 500; text-underline-offset: 5px; }
.more::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-inline-start: 0.6em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-0.08em) rotate(45deg);
  transition: transform var(--ease);
}
.more:hover::after { transform: translate(3px, -0.08em) rotate(45deg); }
[dir="rtl"] .more::after { transform: translateY(-0.08em) rotate(-135deg); }
[dir="rtl"] .more:hover::after { transform: translate(-3px, -0.08em) rotate(-135deg); }

/* The screenshots: a link to the image at its natural size, which site.js
   opens in the overlay below. On a soft shadow that deepens under the
   pointer, a 1 px edge of ink at 10 percent, and the invitation to enlarge
   set over the image's corner, a magnifier before it, always in view
   (a click on it reaches the link beneath). */
.shot { margin: 0; position: relative; }
.shot-view {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease);
}
.shot-view img, .shot-view svg { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.shot-zoom { cursor: zoom-in; }
.shot-zoom:hover { box-shadow: var(--shadow-deep); }
.shot-zoom:focus-visible { outline-offset: 4px; }
.shot-caption {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.86);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  pointer-events: none;
  transition: background-color var(--ease);
}
/* The magnifier: a ring and its handle, drawn in the text's colour. */
.shot-caption::before {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  margin-inline-end: 0.2rem;
}
.shot-caption::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(0.8rem + 0.62rem);
  top: calc(50% + 0.24rem);
  width: 0.34rem;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: 0 50%;
}
[dir="rtl"] .shot-caption::after { transform: rotate(135deg); }
.shot:hover .shot-caption, .shot:has(.shot-zoom:focus-visible) .shot-caption { background: var(--ink); }

/* The Working Paper's capture shows its evidence dialog at about the
   application's own size: the image drawn at 158 percent of the frame and
   centred, so the dialog (the middle 62 percent of the capture) fills the
   frame at every width. The whole capture is one click away. */
.paper-shot { margin-top: 4.5rem; }
.paper-shot .shot-view { position: relative; aspect-ratio: 1216 / 1006; }
.paper-shot .shot-view img { position: absolute; top: 0; left: 50%; width: 158%; height: auto; max-width: none; transform: translateX(-50%); }

/* The overlay: the image at its natural size (2,560 by 1,600) over the whole
   viewport, scrolled and dragged when it is larger, pinch zoom left to the
   browser (touch-action is not restricted), the page behind it not
   scrolling. It fades in. */
.zoom { position: fixed; inset: 0; z-index: 50; background: rgba(20, 20, 20, 0.92); animation: fade-in 200ms ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
/* Two states: fitted on open (the whole image inside the viewport, 3rem
   clear of each edge so the close control never covers it, no scrollbar),
   and actual size (2,560 by 1,600) after a click on the image, scrolled to
   the point clicked and dragged with the mouse. A second click fits it
   again. Touch keeps the browser's own scroll and pinch. */
.zoom-pane { position: absolute; inset: 0; display: flex; overflow: auto; overscroll-behavior: contain; }
.zoom-pane:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.zoom-pane img { display: block; flex: none; margin: auto; width: auto; height: auto; max-width: calc(100vw - 6rem); max-height: calc(100vh - 6rem);
  background: #fff; cursor: zoom-in; }
.zoom-actual .zoom-pane img { width: 2560px; height: 1600px; max-width: none; max-height: none; cursor: zoom-out; }
.zoom-actual .zoom-pane.dragging, .zoom-actual .zoom-pane.dragging img { cursor: grabbing; }
.zoom-close { position: fixed; top: 0.75rem; inset-inline-end: 0.75rem; z-index: 51; display: inline-flex; align-items: center;
  justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #fff; border-radius: 50%;
  background: var(--ink); color: #fff; cursor: pointer; transition: background-color var(--ease), color var(--ease); }
.zoom-close:hover { background: #fff; color: var(--ink); }
.zoom-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.zoom-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html.zoom-open, html.zoom-open body { overflow: hidden; }
.shot-label { font-family: var(--sans); font-size: 40px; fill: var(--ink-60); }
.shot-frame { fill: none; stroke: var(--hairline); stroke-width: 4; }

/* The demo video (P280, P281): a poster the site serves itself, a play
   button the stylesheet draws (no YouTube asset), the caption and the
   privacy line under it, no visible heading (the link's own hidden text
   names it). The poster sits where the heading stood, 9rem under the hero. Pressed, the poster gives way in place to the player, in the
   same 16 by 9 box. The play sign is not mirrored in a right-to-left page:
   a player's controls are not. */
.film { padding: 9rem 0 0; }
.film-inner { max-width: calc(64rem + 2 * var(--gutter)); }
.film-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); border: 1px solid var(--edge);
  border-radius: 10px; box-shadow: var(--shadow); }
.film-frame:has(.film-poster:focus-visible) { outline: 2px solid var(--brand); outline-offset: 4px; }
.film-poster { position: absolute; inset: 0; display: block; }
.film-poster:focus-visible { outline: none; }
.film-poster img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.film-play { position: absolute; top: 50%; left: 50%; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; border-radius: 50%;
  background: var(--brand); box-shadow: var(--shadow-deep); transition: transform var(--ease), background-color var(--ease); }
.film-play::after { content: ""; position: absolute; top: 50%; left: 54%; width: 1.75rem; height: 2rem; transform: translate(-50%, -50%);
  background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.film-poster:hover .film-play, .film-poster:focus-visible .film-play { transform: scale(1.06); background-color: var(--brand-deep); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-caption { margin-top: 1.5rem; max-width: 46rem; color: var(--ink-70); }
.film-privacy { margin-top: 0.5rem; font-size: var(--small); color: var(--ink-60); }

/* What It Does: three rows parted by hairlines, each its title and its
   sentence side by side. */
.rows { border-bottom: 1px solid var(--hairline); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 2.5rem;
  padding: 2rem 0 2.25rem;
  border-top: 1px solid var(--hairline);
}
.row p { margin: 0; color: var(--ink-70); }

/* What a Linter Cannot Do: the three figures at 96 px, the pull-figures of
   the page, each under a rule of ink with its sentence beneath it. The
   first alone in the blue: the non-conformities no linter could see. The
   fourth argument, without a number, under them from the rail's edge. */
.linter .intro p { margin: 0; color: var(--ink-70); font-size: var(--lead); }
.linter .intro .intro-lead { margin-bottom: 1rem; color: var(--ink); }
/* The Working Paper's and the Guided Pilot's text: a lead in the h3 size,
   then the paragraphs. */
.paper-text h3, .pilot-body h3 { margin-bottom: 1rem; }
.paper-text p, .pilot-body p { margin: 0; color: var(--ink-70); }
.paper-text p + p { margin-top: 1rem; }
.pilot-body .actions { margin-top: 2rem; }
.arguments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5rem var(--gap);
  list-style: none;
  margin: 5.5rem 0 0;
  padding: 0;
}
.argument { margin: 0; padding-top: 1.75rem; border-top: 1px solid var(--ink); color: var(--ink-70); }
.argument strong { color: var(--ink); }
.figure {
  display: block;
  font-family: var(--display);
  font-size: var(--figure);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
/* The three figures in the verdict colours: 25 in the red (non-conformities
   found), 20 in the green (certificates in fact compliant the linters
   accused), 195 in the amber (recommendations, not requirements). */
.figure-fail { color: var(--verdict-fail); }
.figure-pass { color: var(--verdict-pass); }
.figure-observe { color: var(--verdict-observe); }
.argument-last { grid-column: 2 / -1; max-width: none; border-top-color: var(--hairline); }
.more-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); max-width: none; margin: 2.5rem 0 0; }
.more-line > .more { grid-column: 2 / -1; justify-self: start; }

/* Who It Is For: two columns under a hairline each. */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.pair > div { padding-top: 1.75rem; border-top: 1px solid var(--hairline); }
.pair h3 { margin-bottom: 0.75rem; }
.pair p { margin: 0; color: var(--ink-70); }
.pair p + p { margin-top: 0.75rem; }

/* The questions: one <details> each, closed, the question its summary,
   rows parted by hairlines, a thin plus at the end that turns into a cross
   as it opens. */
.faq { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.35rem 0;
  font-family: var(--display);
  font-size: var(--lead);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--ease);
}
.faq-item summary:hover > span { text-decoration-color: currentColor; }
/* The plus: two strokes of 1.5 px drawn in the text's colour (no
   character a screen reader would read). */
.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform var(--ease);
  forced-color-adjust: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item::details-content {
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transition: block-size var(--ease), opacity var(--ease), content-visibility 200ms ease allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; opacity: 1; }
.faq-item p { margin: 0; padding: 0 3rem 1.6rem 0; color: var(--ink-70); }
[dir="rtl"] .faq-item p { padding: 0 0 1.6rem 3rem; }
:is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko), :lang(ar)) .faq-item summary { font-weight: 700; font-size: var(--text); letter-spacing: 0; }

/* Request a Demo: the title and its sentence in the rail, the form across
   the other two tracks, two fields a row. */
.demo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.demo > .field-wide, .demo > .submit, .demo > .privacy { grid-column: 1 / -1; }
.field { margin: 0 0 1.5rem; max-width: none; }
.field label { display: block; font-weight: 500; font-size: var(--small); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  font: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--field);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field textarea { resize: vertical; }
.submit { margin: 1rem 0 1.5rem; }
/* Out of sight without moving off the page (an offset would scroll a
   right-to-left page sideways). */
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.privacy { font-size: var(--small); color: var(--ink-70); max-width: 44em; }
.notice { padding: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--edge); border-radius: 6px; }

/* The 404 page: its title, one line, and the way home, in the page's air. */
.notfound { padding-top: 7.5rem; padding-bottom: 3rem; }
.notfound h1 { margin-bottom: 1.5rem; }
/* The 404 page's header has no anchor menu: its language menu keeps the last column. */
.page-404 .masthead-inner > .languages { grid-column: -2 / -1; }

/* The footer: the sans at 14 px, ink at 60 percent, 96 px of air above it,
   the name in the rail, the marks beside it. */
.footer { padding: 6rem 0 4.5rem; font-size: var(--small); line-height: 1.6; color: var(--ink-60); }
.footer p { margin: 0 0 0.5rem; max-width: 60em; }
.footer strong { color: var(--ink); font-weight: 600; }
.reference { font-style: normal; }

/* Below 1,100 px the header's menu takes a second row, and the rail's
   titles stop following the scroll. */
@media (max-width: 1100px) {
  :root { --header: 5.75rem; }
  .masthead-inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; }
  .brand { min-height: 3.25rem; }
  .masthead-inner > .anchors { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 0.25rem; }
  .masthead-inner > .anchors::-webkit-scrollbar { display: none; }
  /* The row fades at its end, where it scrolls on. */
  .masthead-inner > .anchors { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 3rem), transparent); }
  [dir="rtl"] .masthead-inner > .anchors { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 3rem), transparent); }
  .masthead-inner > .languages { grid-column: 2; grid-row: 1; }
  .rail > h2, .rail > .rail-head { position: static; }
  :root { --title-1: 3.25rem; --figure: 5rem; }
}

/* Below 900 px one column: the rail's titles over their content. */
@media (max-width: 900px) {
  :root { --gap: 2.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 3.5rem; }
  .hero-shot .shot { width: auto; }
  .hero-shot .shot, [dir="rtl"] .hero-shot .shot { rotate: none; }
  .rail, .more-line { grid-template-columns: minmax(0, 1fr); }
  .rail > :first-child, .rail > .rail-body, .more-line > .more { grid-column: 1; }
  .rail > .rail-body { margin-top: 2.25rem; }
  .arguments { grid-template-columns: minmax(0, 1fr); gap: 3rem; margin-top: 3.5rem; }
  .argument-last { grid-column: 1; }
  .footer .rail > .rail-body { margin-top: 0.5rem; }
}

@media (max-width: 760px) {
  :root { --gutter: 1.25rem; --title-1: 2.375rem; --title-2: 1.875rem; --title-3: 1.125rem; --figure: 4rem; --lead: 1.0625rem; }
  body { font-size: 1rem; }
  body:lang(ar) { font-size: 1.0625rem; }
  .hero { padding-top: 3.5rem; }
  .hero h1 { margin-bottom: 1.5rem; }
  .hero-grid { row-gap: 3rem; }
  .film { padding-top: 4.5rem; }
  .film-play { width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; }
  .film-play::after { width: 1.3rem; height: 1.5rem; }
  .what { padding: 5rem 0 4rem; }
  .coverage { padding-top: 1rem; }
  .pilot { padding-bottom: 5rem; }
  .band { padding-block: 4.5rem; }
  .paper { padding: 5rem 0 2.5rem; }
  .who { padding: 2.5rem 0 5rem; }
  .questions { padding-bottom: 5rem; }
  .demo-band { padding-block: 4.5rem; }
  .row { grid-template-columns: minmax(0, 1fr); row-gap: 0.5rem; padding: 1.5rem 0; }
  .pair, .demo { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .demo { row-gap: 0; }
  .paper-shot { margin-top: 2.5rem; }
  .shot-caption { top: 0.6rem; inset-inline-end: 0.6rem; padding: 0.35rem 0.7rem; font-size: 0.75rem; }
  .hero-shot .shot-caption { inset-inline-end: auto; inset-inline-start: 0.6rem; }
  .shot-view { border-radius: 8px; }
  .faq-item summary { gap: 1.25rem; padding: 1.1rem 0; }
  .faq-item p, [dir="rtl"] .faq-item p { padding-inline: 0; }
  .footer { padding: 4.5rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
