/* ============================================================
   Track: the site's chrome and world, shared by every page.
   Tokens, type, the two kinds of button, the masthead (header and mobile
   menu), the footer, and the few pieces every page draws with: night and
   paper bands, the drawn illustrations (hero art, spot scenes, the key lines
   that draw themselves in), stacked cards and the reveal. The header and
   footer markup comes from chrome.mjs, written into each page by the build.

   The look: drawn illustrations of one small cast (the boxy agents, the
   calm inspector in a bowler hat, the chevron-shaped lit doorway) on deep
   navy, with off-white paper bands for reading. Headlines are sentences in
   Inter 800, set large and tight. Geist Mono only for real code. Stabilo
   yellow is used rarely and sharply: the one key button, the lit door, a
   highlight drawn behind a phrase. No pills, tags, badges, eyebrow labels,
   captions on pictures, glass, glow or grain.
   ============================================================ */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root,
[data-theme="light"],
[data-theme="dark"] {
  /* The night: deep navy, the illustrations' ground */
  --n0: #050d1a;
  --n1: #0a1a2f;
  --n2: #0d2c6e;
  --blue: #1f54e0;
  --y: #f4ff2e;

  /* Paper: the off-white reading bands */
  --ground: #f4f3ef;
  --card: #fbfaf7;
  --plane: #eae8e1;
  --plane-2: #dcd9cf;
  --line: rgba(5, 13, 26, .12);
  --line-strong: rgba(5, 13, 26, .28);
  --dots: rgba(5, 13, 26, .16);

  /* Ink on paper */
  --ink: #0a1a2f;
  --text-2: #2b3a50;
  --text-3: #56637a;

  /* The one accent */
  --brand: #1f54e0;
  --brand-deep: #0d2c6e;
  --brand-soft: #e6ecfb;
  --brand-line: #8db0ff;

  /* The highlighter */
  --hi: #f4ff2e;
  --hi-deep: #c9d400;
  --hi-ink: #050d1a;

  /* Status */
  --allow: #0a7c5e;
  --allow-bg: #e3f5ef;
  --deny: #c62a33;
  --deny-bg: #fde9ea;
  --hold: #5c4d00;
  --hold-bg: #fbf8c6;
  --hold-mark: #d9b500;
  --restrict: #1f54e0;
  --allow-night: #3ccf9e;
  --deny-night: #ff7a80;

  /* Shape: square-ish, nothing floats on a shadow */
  --r: 0px;
  --r-sm: 3px;
  --r-card: 12px;
  --lift: none;
  --lift-hi: none;
  --hard: none;
  --hard-blue: none;
  --grain: none;

  /* Night surfaces */
  --night: #0a1a2f;
  --night-2: #0f2340;
  --night-3: #16304f;
  --on-night: #f4f3ef;
  --on-night-mute: #b3bdd0;
  --rule-night: rgba(244, 243, 239, .10);
  --rule-night-2: rgba(244, 243, 239, .22);

  /* Names the pages already consume */
  --paper: var(--ground);
  --paper-2: var(--plane);
  --paper-3: var(--card);
  --ink-2: var(--text-2);
  --mute: var(--text-3);
  --rule: rgba(5, 13, 26, .12);
  --rule-2: rgba(5, 13, 26, .28);
  --lime: var(--hi);
  --forest: var(--brand);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1296px;
  --gutter: clamp(16px, 4vw, 72px);
  --sec-y: clamp(64px, 7.5vw, 112px);
  --measure: 60ch;
  --mast-h: 72px;
  color-scheme: light;
}

/* The chrome resets what it needs, so a page with its own base styles renders
   it the same way. The resets sit inside :where() so they weigh nothing. */
.masthead, .footer { font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-feature-settings: "cv05", "cv08"; letter-spacing: 0; }
:where(.masthead, .footer) *, :where(.masthead, .footer) *::before, :where(.masthead, .footer) *::after { box-sizing: border-box; }
:where(.masthead, .footer) a { color: inherit; text-decoration: none; }
:where(.masthead) button { font: inherit; color: inherit; cursor: pointer; }
:where(.masthead, .footer) svg { display: block; }
:where(.footer) p { margin: 0; }
:where(.masthead, .footer) .shell { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mobile-nav[hidden] { display: none; }
body.menu-open { overflow: hidden; }

/* ---------- Buttons: two kinds only ----------
   A solid yellow rectangle with ink text, or a plain underlined text link with
   an arrow. Every older button name maps onto one of the two. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: var(--r-sm);
  background: var(--hi); color: var(--hi-ink);
  font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn span { display: inline-block; transition: transform .18s ease; }
.btn:hover { background: #fff; color: var(--hi-ink); }
.btn:hover span { transform: translateX(3px); }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn--ink, .btn--lime { background: var(--hi); color: var(--hi-ink); }
.btn--ink:hover, .btn--lime:hover { background: #fff; color: var(--hi-ink); }
.band--paper .btn:hover, .btn--ink:hover:where(.band--paper *) { background: var(--ink); color: #fff; }
/* The secondary button: the same rectangle with no fill, an outline in the colour
   of the words around it (light on night, ink on paper). */
.btn--line, .btn--ghost, .btn--clear {
  background: transparent; color: inherit;
  border: 2px solid currentColor;
}
.btn--line:hover, .btn--ghost:hover, .btn--clear:hover { background: transparent; color: inherit; }
.btn--line.btn--lg, .btn--ghost.btn--lg, .btn--clear.btn--lg { min-height: 58px; }
/* The tertiary one: an underlined text link with an arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 0; padding: 4px 0 3px;
  background: none; color: inherit; border-radius: 0;
  font-family: var(--font); font-weight: 650; font-size: 17px; letter-spacing: -.01em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.link-arrow:hover { background: none; color: inherit; text-decoration-color: var(--brand-line); }
.btn--line:not(:has(span))::after, .btn--ghost:not(:has(span))::after, .btn--clear:not(:has(span))::after, .link-arrow:not(:has(span))::after { content: "→"; display: inline-block; }

/* ---------- Brand mark: white trailing chevron, blue leading chevron ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-weight: 750; font-size: 21px; letter-spacing: -.03em; }
.brand-mark .mk-trail { fill: currentColor; }
.brand-mark .mk-lead { fill: #3f74ff; }

/* ---------- Masthead: solid night, sticky ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--n0); color: var(--on-night);
  border-bottom: 1px solid rgba(244, 243, 239, .08);
}
.masthead__inner { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: var(--mast-h); display: flex; align-items: center; gap: 40px; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { white-space: nowrap; padding: 6px 0; font-size: 15px; font-weight: 500; color: rgba(244, 243, 239, .84); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 9px; transition: color .15s ease, text-decoration-color .15s ease; }
.nav a:hover { color: #fff; text-decoration-color: rgba(244, 243, 239, .5); }
.nav a[aria-current="page"], .nav a[aria-current="true"] { color: #fff; text-decoration-color: var(--hi); }
.masthead__actions { display: flex; align-items: center; gap: 22px; }
.link-quiet { font-size: 15px; font-weight: 500; color: rgba(244, 243, 239, .84); }
.link-quiet:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.masthead .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; position: relative; color: inherit; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .2s ease; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { padding: 12px var(--gutter) 32px; background: var(--n0); color: var(--on-night); height: calc(100dvh - var(--mast-h)); overflow: auto; }
.mobile-nav a { display: block; padding: 10px 0; font-size: clamp(28px, 8vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.mobile-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--hi); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.mobile-nav .btn { display: flex; margin-top: 24px; width: 100%; font-size: 18px; letter-spacing: -.01em; }

/* ---------- Masthead over the home page's illustrated hero ----------
   Without JS it sits over the hero and scrolls away with it. chrome.js pins it
   (.is-floating) and makes it solid night once the hero has scrolled past. */
.has-hero .masthead { position: absolute; left: 0; right: 0; top: 0; transition: background-color .3s ease, border-color .3s ease; }
.has-hero .masthead.is-floating { position: fixed; }
.has-hero .masthead:not(.is-solid) { background: transparent; border-bottom-color: transparent; }
.has-hero.menu-open .masthead { background: var(--n0); }

/* ---------- Scroll progress ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--hi); transform-origin: left; transform: scaleX(0); }
.has-hero .masthead:not(.is-solid) .progress { display: none; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; background: var(--n0); color: var(--on-night); }
.footer__inner { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; padding: 88px 0 64px; }
.footer__brand p { margin-top: 18px; max-width: 340px; color: var(--on-night-mute); font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 520px; margin-left: auto; width: 100%; }
.footer__cols div { display: grid; align-content: start; gap: 12px; }
.footer__cols strong { font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 4px; }
.footer__cols a { font-size: 15px; color: var(--on-night-mute); }
.footer__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer__bottom { display: flex; justify-content: space-between; padding: 22px 0 30px; border-top: 1px solid var(--rule-night); font-size: 14px; color: var(--on-night-mute); }

@media (max-width: 1240px) {
  .link-quiet { display: none; }
  .nav { gap: 20px; }
}
/* French labels run longer: the menu collapses sooner. */
@media (max-width: 1200px) {
  html[lang="fr"] .nav, html[lang="fr"] .link-quiet { display: none; }
  html[lang="fr"] .masthead__inner { justify-content: space-between; }
  html[lang="fr"] .menu-toggle { display: block; }
}
@media (max-width: 1040px) {
  .nav, .link-quiet { display: none; }
  .masthead__inner { justify-content: space-between; }
  .menu-toggle { display: block; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --mast-h: 64px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { padding-top: 64px; }
}

/* ---------- Language switch: the code of the language it leads to ---------- */
.lang-switch {
  display: inline-flex; align-items: center; flex: none;
  padding: 4px 0;
  font-family: var(--font); font-size: 14px; font-weight: 650; letter-spacing: .02em; line-height: 1;
  color: inherit; opacity: .84;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.lang-switch:hover { opacity: 1; text-decoration-color: currentColor; }
@media (max-width: 1040px) {
  .masthead__actions { gap: 14px; }
}
@media (max-width: 560px) {
  .masthead__inner { gap: 12px; }
  .masthead__join { display: none; }
}
.masthead :focus-visible, .footer :focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; }

/* ============================================================
   The world: pieces every page draws with
   ============================================================ */

/* Night and paper bands */
.band { position: relative; padding-block: var(--sec-y); }
.band--night { background: var(--n0); color: var(--on-night); }
.band--navy { background: var(--n1); color: var(--on-night); }
.band--deep { background: var(--n2); color: var(--on-night); }
.band--blue { background: var(--blue); color: #fff; }
.band--paper { background: var(--ground); color: var(--ink); }

/* Display headings: sentences, Inter 800, tight */
.display { font-family: var(--font); font-weight: 800; letter-spacing: -.048em; line-height: .94; text-wrap: balance; margin: 0; }
.display--xl { font-size: clamp(52px, 8.4vw, 128px); }
.display--l { font-size: clamp(42px, 6.4vw, 96px); }
.display--m { font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -.042em; line-height: .98; }

/* The drawn highlight behind a phrase: a yellow marker swash, never a box */
.swash { position: relative; z-index: 0; }
.swash::before {
  content: ""; position: absolute; z-index: -1; left: -.12em; right: -.1em; top: .18em; bottom: .02em;
  background: var(--hi);
  clip-path: polygon(0 12%, 34% 4%, 70% 9%, 100% 2%, 98.6% 86%, 66% 97%, 30% 90%, .6% 100%);
  transform-origin: left center;
}

/* Inner pages: the night hero band with its drawing at the right */
.ph {
  position: relative; overflow: hidden;
  background: var(--n1); color: var(--on-night);
  padding: clamp(56px, 8vw, 120px) 0 0;
  isolation: isolate;
}
.ph--blue { background: var(--blue); }
.ph__in { position: relative; width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.ph__copy { padding-bottom: clamp(56px, 8vw, 112px); display: grid; gap: 26px; align-content: start; min-width: 0; }
.ph__art { align-self: end; min-width: 0; margin-right: calc(-1 * var(--gutter)); }
.ph__art img { display: block; width: 100%; height: auto; }

/* Stacked cards: a sequence where each card slides over the one before.
   Static without JS; the page's script adds the cover darkening. */
.stack { display: grid; gap: 28px; }
.stack > * { position: relative; border-radius: var(--r-card); overflow: hidden; }

/* Key lines that draw themselves in: inline SVG over a drawing, revealed through
   a mask of centre-line strokes. Visible and still without JS or with reduced
   motion; .motion sets them back and .is-in draws them. */
.keys { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.motion .keys mask path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.55, 0, .25, 1) .15s; }
.motion .is-in .keys mask path { stroke-dashoffset: 0; }

/* Reveal: a gentle rise; only once the page has said motion is welcome */
.motion .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.motion .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .ph__in { grid-template-columns: 1fr; }
  .ph__copy { padding-bottom: 8px; }
  .ph__art { margin: -60px calc(-1 * var(--gutter)) 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .motion .rv { opacity: 1; transform: none; transition: none; }
  .motion .keys mask path { stroke-dashoffset: 0; transition: none; }
}

/* ---------- Hand-inked buttons and underlines (drawn by chrome.js) ----------
   Without JS, or with reduced motion asked for, none of this applies: the solid
   buttons stay plain 3px rectangles and the links keep a straight rule. */
:root { --focus: var(--blue); }
.masthead, .mobile-nav, .city, .ph, .close, .band--night, .band--navy, .band--deep, .band--blue, .dsec--night, .chapter--enforcement, .cta, .hero,
.footer, body.page .pg-header, body.page .pg-cta, .tier--pick, .card--1, .card--2, .tile, .poc-band { --focus: #fff; }
.inkd .is-inked { position: relative; isolation: isolate; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible; }
.inkd .is-inked:not(.is-drawn):hover, .inkd .is-inked:not(.is-drawn):active { background: transparent !important; color: var(--hi-ink); }
.inkd .is-inked.is-ghost { border-color: transparent !important; }
.inkd .is-inked.is-ghost, .inkd .is-inked.is-ghost:hover, .inkd .is-inked.is-ghost:active { color: inherit; }
.inkd .is-inked.is-drawn { border-color: transparent !important; }
.is-ghost .ink-box .ink-line { fill: currentColor; }
.ink-box { position: absolute; left: -4px; top: -4px; z-index: -1; overflow: visible; pointer-events: none; transition: transform .12s ease; }
.ink-box .ink-fill { fill: var(--ink-fill, var(--hi)); transition: transform .12s ease; }
.ink-box .ink-line { fill: var(--ink-line, var(--n0)); }
.ink-box .v2, .ink-under .v2, .ink-arrow .v2 { display: none; }
.is-inked:not(.is-frame):hover .ink-box .v1, .is-underlined:hover .ink-under .v1, :hover > .has-ink .ink-arrow .v1 { display: none; }
.is-inked:not(.is-frame):hover .ink-box .v2, .is-underlined:hover .ink-under .v2, :hover > .has-ink .ink-arrow .v2 { display: inline; }
.is-inked:not(.is-drawn):active .ink-box { transform: translate(1px, 1.5px); }
.is-inked:not(.is-drawn):active .ink-fill { transform: translate(-1.4px, -1.1px); }
.is-inked:not(.is-drawn):active { transform: translateY(1px); }
.inkd .is-inked:focus-visible, .inkd .is-underlined:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.has-ink { display: inline-flex; transform: none !important; }
.ink-arrow { display: block; width: 19px; height: 18px; fill: currentColor; overflow: visible; }
.is-inked:hover .has-ink, .is-underlined:hover .has-ink { transform: translateX(3px) !important; transition: transform .18s ease; }
/* Brushed underline instead of a straight rule */
.inkd .is-underlined { position: relative; text-decoration: none !important; padding-bottom: 8px; }
.ink-under { position: absolute; left: -1px; bottom: -2px; width: calc(100% + 5px); height: 8px; overflow: visible; fill: currentColor; pointer-events: none; }
.close__mail .ink-under, .poc-band .ink-under { fill: var(--hi); }
/* French labels run longer: "Nous contacter" leaves the bar first. */
@media (max-width: 1500px) { html[lang="fr"] .link-quiet { display: none; } }
.link-quiet { white-space: nowrap; }
/* Once the page moves, the header over the hero takes the hero's own navy, so the
   words never scroll under a see-through bar. */
.has-hero .masthead.is-scrolled:not(.is-solid) { background: var(--n2); }

/* ---------- More, behind a disclosure: nothing true is lost, the page stays short ---------- */
.disclose, .compare-more, .faq__more { margin-top: 20px; }
.disclose > summary, .compare-more > summary, .faq__more > summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  padding: 6px 0; font-family: var(--font); font-size: 17px; font-weight: 650; letter-spacing: -.01em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.disclose > summary::-webkit-details-marker, .compare-more > summary::-webkit-details-marker, .faq__more > summary::-webkit-details-marker { display: none; }
.disclose > summary::after, .compare-more > summary::after, .faq__more > summary::after { content: "+"; text-decoration: none; display: inline-block; font-weight: 500; }
.disclose[open] > summary::after, .compare-more[open] > summary::after, .faq__more[open] > summary::after { content: "-"; }
.disclose > summary:focus-visible, .compare-more > summary:focus-visible, .faq__more > summary:focus-visible { outline: 3px solid var(--focus, var(--blue)); outline-offset: 4px; }
.compare-more .compare-wrap, .faq__more .faq { margin-top: 16px; }
/* Inner-page heads: a little shorter, the drawing held to a sensible height */
.ph { padding-top: clamp(44px, 5.5vw, 84px); }
.ph__copy { padding-bottom: clamp(44px, 5.5vw, 84px); gap: 22px; }
@media (min-width: 861px) { .ph__art img { max-height: 340px; width: auto; max-width: 100%; margin-left: auto; } }

/* ---------- The two pop-up forms (beta sign-up, contact): native modal dialogs ----------
   A closed <dialog> shows nothing; without JS their buttons are mailto links. The card is
   a hand-inked frame like the terminal (chrome.js), a plain 2px rule without it. */
.modal { width: min(472px, calc(100% - 20px)); max-width: none; max-height: calc(100% - 20px); margin: auto; padding: 6px; border: 0; background: transparent; color: var(--ink); overflow: auto; }
#contact.modal { width: min(552px, calc(100% - 20px)); }
.modal::backdrop { background: rgba(5, 13, 26, .62); }
.modal__card { --ink-fill: var(--paper); --ink-line: var(--ink); --focus: var(--blue); position: relative; display: grid; gap: 14px; padding: 30px 28px 28px; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper); }
.modal h2 { margin: 0; padding-right: 36px; font-size: clamp(26px, 6vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.modal__lede { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.modal__form { display: grid; gap: 8px; margin-top: 4px; }
.modal__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.modal__pair > div { display: grid; gap: 8px; }
.modal__form label + input, .modal__form label + textarea { margin-bottom: 6px; }
.modal label { font-size: 14px; font-weight: 650; color: var(--text-2); }
.modal input:not([type="hidden"]), .modal textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.modal textarea { min-height: 104px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--hi); }
.modal__form .btn { --ink-fill: var(--hi); --ink-line: var(--n0); margin-top: 6px; width: 100%; justify-content: center; background: var(--hi); color: var(--hi-ink, var(--n0)); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.modal__close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.modal__thanks, .modal__error { margin: 0; font-size: 16px; line-height: 1.5; }
.modal__thanks { font-weight: 650; }
.modal__thanks:focus { outline: none; }
.modal__error a { color: inherit; text-decoration: underline; }
@media (max-width: 480px) {
  .modal__card { padding: 26px 20px 22px; }
  .modal__pair { grid-template-columns: 1fr; }
}
/* the film: a 16:9 player that fits the viewport, in the same drawn frame */
.modal--film { width: min(1112px, calc(100% - 20px), calc((100vh - 96px) * 16 / 9 + 32px)); }
.modal__card--film { gap: 0; padding: 50px 10px 10px; }
.modal__vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }
.film__frame { aspect-ratio: 16 / 9; background: var(--n0); }
.film__video { display: block; width: 100%; height: 100%; background: var(--n0); }
.film__video:focus { outline: none; }
.modal--film .modal__close { top: 6px; right: 8px; }
