@charset "UTF-8";
/* ---- css/tokens.css ---- */
/* Tesseract design tokens (v3). Load order: tokens.css, base.css, layout.css,
   components.css, then blog.css (Newsroom) or admin.css (/admin) where needed.

   Colours come from docs/research/tesseract-v3.md. One change from v3: --soft was
   #7682a3 (3.82:1 on white, fails AA for small text); it is now #5b6785 (5.64:1 on white,
   5.30:1 on --wash). The old value survives only as --soft-deco, for non-text marks.

   Fonts are self-hosted variable woff2 files (SIL OFL 1.1, licences beside them in
   /fonts). Each family ships a latin file, which every page uses, and a latin-ext file,
   which the browser fetches only when a page contains those characters. Preload only
   the two latin files a page needs above the fold:
     <link rel="preload" href="/fonts/inter-latin.woff2" as="font" type="font/woff2" crossorigin>
     <link rel="preload" href="/fonts/inter-tight-latin.woff2" as="font" type="font/woff2" crossorigin>
   Jost (wordmark and product names) is small and not preloaded. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Ink and text */
  --ink: #0b1324;          /* headlines, logo, primary text      18.5:1 on white */
  --ink-2: #1c2740;        /* nav text, eyebrow, strip names      14.9:1 */
  --slate: #5d6b86;        /* descriptions, secondary text         5.37:1 */
  --lede: #5d6b8c;         /* hero and page ledes (v3 value)       5.32:1 */
  --soft: #5b6785;         /* small labels, meta lines (was #7682a3) 5.64:1, 5.30:1 on --wash */
  --soft-deco: #7682a3;    /* non-text only: separators, decorative marks */

  /* Surfaces and lines */
  --paper: #ffffff;
  --wash: #f6f8fc;         /* panels, mega aside, footer */
  --wash-2: #eef1f8;       /* hover on wash, table stripes */
  --line: #e6ebf3;         /* rails, dividers, card borders (decorative) */
  --line-strong: #d6dceb;  /* card borders that sit on --wash */
  --control: #858fab;      /* form-control borders: 3.22:1 on white (WCAG 1.4.11) */
  --ghost-line: #dfe3ee;   /* ghost button border (v3) */
  --ghost-line-hover: #c9cfe0;

  /* Accent */
  --accent: #4636f0;       /* links, primary button, focus ring    6.89:1 on white */
  --accent-hover: #3524d6;
  --accent-tint: #efeefe;  /* accent wash for badges and selections */
  --accent-tint-2: #e2dffd;
  --on-accent: #ffffff;

  /* Status (badges, admin). Each fg/bg pair is at least 4.5:1. */
  --ok: #0b6b45;     --ok-bg: #e6f6ee;
  --warn: #8a4b00;   --warn-bg: #fff6e8;
  --bad: #b42318;    --bad-bg: #fef3f2;

  /* Brand gradient (card art, no-WebGL fallback, OG image) */
  --g-cyan-1: #8fe3ff;
  --g-cyan-2: #1fb6ff;
  --g-blue: #1d5cff;
  --g-navy: #0d1f9e;
  --g-indigo: #4a12d6;
  --g-violet: #6d1ff0;
  --g-purple: #a24bff;
  --g-lilac: #e7a6ff;
  --brand-art:
    radial-gradient(120% 140% at 0% 0%, var(--g-cyan-1) 0%, transparent 45%),
    radial-gradient(120% 120% at 100% 100%, var(--g-lilac) 0%, transparent 50%),
    linear-gradient(120deg, var(--g-cyan-2) 0%, var(--g-blue) 30%, var(--g-navy) 55%, var(--g-indigo) 78%, var(--g-purple) 100%);
  --brand-blob: linear-gradient(180deg, var(--g-cyan-1) 0%, var(--g-blue) 35%, var(--g-navy) 55%, var(--g-violet) 78%, var(--g-lilac) 100%);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand-font: "Jost", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;

  --fs-h1: clamp(40px, 5.2vw, 76px);      /* home hero (v3) */
  --fs-page-h1: clamp(36px, 4.4vw, 64px); /* inner page heroes */
  --fs-h2: clamp(30px, 3.4vw, 48px);
  --fs-h3: clamp(20px, 1.6vw, 24px);
  --fs-lede: clamp(18px, 1.55vw, 23px);   /* v3 lede */
  --fs-body: 16px;
  --fs-small: 14.5px;
  --fs-label: 12px;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --indent: clamp(0px, 3.2vw, 44px);       /* copy indent inside the rails (v3) */
  --header-h: 76px;
  --section-y: clamp(44px, 4.6vw, 66px); /* was 72–128px, then 56–88px: the founder found the gaps too big (11-19) */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Elevation */
  --shadow-btn: 0 6px 18px -8px rgba(70, 54, 240, .7);
  --shadow-menu: 0 40px 60px -30px rgba(15, 25, 60, .22);
  --shadow-card: 0 18px 40px -22px rgba(30, 30, 120, .45);
  --shadow-soft: 0 1px 2px rgba(11, 19, 36, .05), 0 8px 24px -16px rgba(11, 19, 36, .18);

  /* Motion */
  --ease-out: cubic-bezier(.22, .8, .2, 1);
  --focus: 2px solid var(--accent);
}

/* ---- css/base.css ---- */
/* Base: reset, document, type defaults, focus, utilities. Needs tokens.css. */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* in-page anchors land below the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
main { flex: 1 0 auto; display: block; }
/* Scroll lock while the mobile menu is open (set by nav.js). On the root only: the root's
   overflow locks the viewport, which the sticky header sticks to. Setting it on body too
   made body a scroll box of its own, so the header stuck to the top of the page instead
   and vanished off-screen when the menu opened part way down (the founder, 11-19). */
html.scroll-lock { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.15; }
h1, h2 { font-family: var(--display); letter-spacing: -.03em; text-wrap: balance; }
h3, h4 { letter-spacing: -.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"], .plain-list { list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

a { color: inherit; text-decoration: none; }
/* Links inside running text are underlined: accent vs ink is under 3:1, so colour alone
   would not mark them (WCAG 1.4.1). */
.text-link, .prose a, .note a, .form-hint a, .legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transition: text-decoration-color .2s ease, color .2s ease;
}
.text-link:hover, .prose a:hover, .note a:hover, .form-hint a:hover, .legal-body a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--accent-tint-2); color: var(--ink); }

/* Focus: one visible ring everywhere (WCAG 2.4.7). Components may move the offset. */
:focus { outline: none; }
:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}
/* The ring follows each element's own border-radius (buttons, pills, cards). */

/* Skip link */
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: #fff; font-weight: 500;
  transition: top .2s var(--ease-out);
}
.skip:focus, .skip:focus-visible { top: 12px; outline-offset: 2px; }

/* Utilities */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.icon { width: 1em; height: 1em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--slate); }

/* Reduced motion: stop every animation and transition. Individual components also
   render their final state (the hero words, the strip, the ribbons). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    /* No fade to wait for: a menu shows and hides at once (a delayed visibility switch
       left a panel reopened straight after closing hidden, so focus couldn't enter it). */
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .sheet, .site-footer, .skip, .strip-toggle, .hero-canvas { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* ---- css/layout.css ---- */
/* Layout: container and rails, sticky header, mega menu, mobile sheet, home hero,
   inner page hero, sections, footer. Needs tokens.css and base.css.
   Breakpoints: 1080px (desktop nav <-> menu button), 760px (phone), plus min-width
   steps for grids at 640/900/1100px. */

/* ---------- Container and rails ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* .frame draws v3's two vertical guide rails at the content edges and indents the copy
   inside them. Stacked sections keep the rails continuous down the page. */
.frame {
  border-inline: 1px solid var(--line);
  padding-inline: var(--indent);
}
.section--wash .frame { border-color: var(--line-strong); }

/* ---------- Header (sticky, frosted) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
}
.site-header::before {
  /* white sheet that fades in behind the bar while a menu is open */
  content: ""; position: absolute; inset: 0 0 auto 0; height: var(--header-h);
  background: var(--paper); opacity: 0; transition: opacity .25s ease;
}
.site-header.menu-open::before, .site-header.sheet-open::before { opacity: 1; }
.site-header::after {
  /* While a mega menu is open the page behind it blurs and dims a little, so the panel
     reads as the one thing in focus. It sits under the bar and the panel (z-index -1 in
     the header's stacking context) and takes no pointer: moving onto the page leaves the
     header, which closes the menu (nav.js). Hidden when closed so nothing composites. */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(232, 234, 240, .32);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.site-header.menu-open::after {
  opacity: 1; visibility: visible;
  transition: opacity .32s ease, visibility 0s;
}
.bar-wrap {
  position: relative;  /* containing block for .mega */
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .6));
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(11, 19, 36, .07);
}
.bar {
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px);
}


.primary-nav { display: flex; align-items: center; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.nav-trigger svg { width: 10px; height: 10px; opacity: .8; transition: transform .3s var(--ease-out); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-header.menu-open .nav-trigger:not([aria-expanded="true"]),
.site-header.menu-open .nav-link { color: var(--soft); }
.nav-trigger:hover, .nav-link:hover, .site-header.menu-open .nav-trigger:hover,
.site-header.menu-open .nav-link:hover { color: var(--ink); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--ink); }
.nav-link[aria-current="page"]::after, .nav-trigger.is-current::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
.nav-trigger, .nav-link { position: relative; }

.actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center; color: var(--ink);
}
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .3s var(--ease-out), background-color .2s;
}
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mega menu (desktop) ---------- */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-menu);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .32s;
}
.mega.is-open { opacity: 1; visibility: visible; transition: opacity .18s ease, visibility 0s; }
.mega-viewport {
  position: relative; overflow: hidden; height: 0;
  transition: height .42s var(--ease-out);
}
.mega-panel {
  position: absolute; top: 0; left: 0; right: 0;
  /* A panel taller than the window scrolls inside itself, so every link stays reachable
     and visible on a short window or at high zoom (WCAG 1.4.10, 2.4.7). */
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .46s var(--ease-out), opacity .3s ease, visibility 0s linear .46s;
}
.mega-panel.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: transform .46s var(--ease-out), opacity .34s ease .04s, visibility 0s;
}
.mega-panel.no-anim { transition: none !important; }

/* A panel's rows are shared by its columns and its card (subgrid): one row for the group
   headings, one per row of links (data-rows: the longest group's, from the server), then
   the foot. Every heading's rule, every row of links and the card's top line up across
   the panel, even when a heading or a description runs to two lines. Without subgrid each
   column stacks on its own, as before. */
.mm-grid {
  --mm-rows: 1;
  display: grid; gap: 0 44px; padding-top: 40px;
  grid-template-rows: auto repeat(var(--mm-rows), auto) 1fr;
}
.mm-grid[data-rows="2"] { --mm-rows: 2; }
.mm-grid[data-rows="3"] { --mm-rows: 3; }
.mm-grid[data-rows="4"] { --mm-rows: 4; }
.mm-grid[data-rows="5"] { --mm-rows: 5; }
.mm-grid[data-rows="6"] { --mm-rows: 6; }
.mm-grid--platforms { grid-template-columns: repeat(4, minmax(0, 1fr)) 300px; }
.mm-grid--markets   { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 300px; }
.mm-grid--expertise { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 300px; }
.mm-grid--company   { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 300px; }
/* 24px under the last row of links, after that link's own 13px bottom padding. */
.mm-grid > .mm-col {
  display: grid; grid-row: 1 / -2; grid-template-rows: subgrid; align-content: start;
  padding-bottom: 24px;
}
.mm-col { min-width: 0; }
/* A heading fills its row (grid items stretch), so its rule sits at the row's foot in
   every column, one line or two. */
.mm-h {
  margin: 0 0 18px; padding-bottom: 14px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mm-list { display: grid; grid-row: 2 / -1; grid-template-rows: subgrid; align-content: start; gap: 0; list-style: none; }
.mm-list.two-up { grid-template-columns: 1fr 1fr; column-gap: 40px; }
/* The 4px between links is in each link's bottom padding (13px = 9px + 4px), so a column
   with fewer links leaves no stray gaps in the shared rows. */
.mm-link { display: block; padding: 7px 0 13px; border-radius: 6px; }
.mm-name {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15.5px; font-weight: 500; color: var(--accent);
  transition: color .2s ease;
}
/* The hover arrow sits just outside the name's box, so it never makes a name wrap. */
.mm-name .arrow {
  position: absolute; left: 100%; top: 50%; margin: -4.5px 0 0 6px;
  width: 9px; height: 9px; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .25s var(--ease-out);
}
.mm-name .ext { width: 10px; height: 10px; opacity: .55; }
.mm-link:hover .mm-name { color: var(--accent-hover); }
.mm-link:hover .arrow, .mm-link:focus-visible .arrow { opacity: 1; transform: translateX(0); }
.mm-desc { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--slate); }
.mm-meta { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--soft); }

.mm-aside {
  position: relative; grid-column: -2; grid-row: 1 / -1;
  display: grid; grid-template-rows: subgrid; align-content: start;
  padding-left: 40px; margin-top: -40px; padding-top: 40px; padding-bottom: 32px;
  background: var(--wash);
  box-shadow: 0 0 0 100vmax var(--wash);
  clip-path: inset(0 -100vmax 0 0);
}
/* The card starts in the first row of links, its top edge level with the first link's
   name: that link's 7px top padding plus the 4px half-leading of a 15.5px name on its
   24px line. It runs down through the foot's row, which grows if the card is taller. */
.mm-aside > .mm-card { grid-row: 2 / -1; align-self: start; margin-top: 11px; }
.mm-foot {
  grid-column: 1 / -2; grid-row: -2; align-self: start;
  border-top: 1px solid var(--line);
  padding: 18px 0 22px;
}
.mm-foot a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--accent); border-radius: 6px; }
.mm-foot a:hover { color: var(--accent-hover); }
.mm-foot a svg { width: 8px; height: 10px; transition: transform .25s var(--ease-out); }
.mm-foot a:hover svg { transform: translateX(3px); }

/* ---------- Mobile sheet ---------- */
.sheet {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s ease, transform .3s var(--ease-out), visibility 0s linear .3s;
}
.sheet.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease-out), visibility 0s; }
.sheet details { border-bottom: 1px solid var(--line); }
.sheet summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-size: 18px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; border-radius: 6px;
}
.sheet summary::-webkit-details-marker { display: none; }
.sheet summary svg { width: 12px; height: 12px; transition: transform .3s var(--ease-out); }
.sheet details[open] summary svg { transform: rotate(180deg); }
.sheet-group { padding: 0 0 16px; }
.sheet-h { margin: 14px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.sheet-group ul { list-style: none; }
.sheet-group a { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 16px; color: var(--accent); border-radius: 6px; }
.sheet-group a .ext { width: 10px; height: 10px; opacity: .6; }
.sheet-plain { display: block; padding: 18px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.sheet-actions { display: grid; gap: 10px; margin-top: 24px; }
.sheet-actions .btn { justify-content: center; height: 50px; }

@media (max-width: 1080px) {
  .primary-nav, .actions { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1081px) {
  .sheet { display: none; }
}
/* Tight desktop widths: the ghost action yields room to the nav. */
@media (min-width: 1081px) and (max-width: 1240px) {
  .actions .btn-ghost { display: none; }
}

/* ---------- Home hero (v3) ---------- */
.hero {
  position: relative; isolation: isolate;
  margin-top: calc(-1 * var(--header-h));   /* slides under the sticky, frosted header */
  min-height: max(620px, min(100svh, 1080px));
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block; pointer-events: none;
  opacity: 0; transition: opacity .9s ease;
}
.hero.webgl-ready .hero-canvas { opacity: 1; }
/* Gradient fallback: shown by default (no JS, no WebGL, script failure), faded out once
   ribbons.js has drawn its first frame. */
.hero::before {
  content: ""; position: absolute; z-index: 0; width: 70vw; height: 140vh; right: -18vw; top: -30vh;
  max-height: 1500px;
  transform: rotate(-38deg);
  background: var(--brand-blob);
  filter: blur(40px); opacity: .85; border-radius: 50%;
  transition: opacity .9s ease;
  pointer-events: none;
}
.hero.webgl-ready::before { opacity: 0; }
.hero.webgl-done::before { display: none; }

.rails { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* No guide rails beside the hero (founder, 11-19). */
.hero .rails { display: none; }
.rails .container { height: 100%; }
.rails .container > div { height: 100%; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.hero-inner {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px;
}
.hero-copy { max-width: 980px; padding-left: var(--indent); }

.hero-title {
  margin: 0; font-family: var(--display); font-weight: 500;
  font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -.038em;
  max-width: 11.2em; text-wrap: balance;
  mix-blend-mode: multiply;   /* lets the ribbon tint the type where they overlap */
}
.hero-lede {
  margin: 28px 0 0; max-width: 40ch; text-wrap: pretty;
  font-family: var(--display); font-weight: 400;
  font-size: var(--fs-lede); line-height: 1.45; letter-spacing: -.008em;
  color: var(--lede);
}
/* Word-by-word reveal. The server renders each word as <span class="word">; delays come
   from :nth-child so no inline styles are needed (strict CSP). v3's formula: headline
   0.12s + i * 0.045s; the lede continues 4 steps later at 0.018s per step. */
.hero-title .word, .hero-lede .word {
  display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(6px);
  animation: rise .9s var(--ease-out) forwards;
}
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-title .word:nth-child(1) { animation-delay: .120s; }
.hero-title .word:nth-child(2) { animation-delay: .165s; }
.hero-title .word:nth-child(3) { animation-delay: .210s; }
.hero-title .word:nth-child(4) { animation-delay: .255s; }
.hero-title .word:nth-child(5) { animation-delay: .300s; }
.hero-title .word:nth-child(6) { animation-delay: .345s; }
.hero-title .word:nth-child(7) { animation-delay: .390s; }
.hero-title .word:nth-child(8) { animation-delay: .435s; }
.hero-title .word:nth-child(9) { animation-delay: .480s; }
.hero-title .word:nth-child(10) { animation-delay: .525s; }
.hero-title .word:nth-child(n+11) { animation-delay: .570s; }
.hero-lede .word:nth-child(1) { animation-delay: .336s; }
.hero-lede .word:nth-child(2) { animation-delay: .354s; }
.hero-lede .word:nth-child(3) { animation-delay: .372s; }
.hero-lede .word:nth-child(4) { animation-delay: .390s; }
.hero-lede .word:nth-child(5) { animation-delay: .408s; }
.hero-lede .word:nth-child(6) { animation-delay: .426s; }
.hero-lede .word:nth-child(7) { animation-delay: .444s; }
.hero-lede .word:nth-child(8) { animation-delay: .462s; }
.hero-lede .word:nth-child(9) { animation-delay: .480s; }
.hero-lede .word:nth-child(10) { animation-delay: .498s; }
.hero-lede .word:nth-child(11) { animation-delay: .516s; }
.hero-lede .word:nth-child(12) { animation-delay: .534s; }
.hero-lede .word:nth-child(13) { animation-delay: .552s; }
.hero-lede .word:nth-child(14) { animation-delay: .570s; }
.hero-lede .word:nth-child(15) { animation-delay: .588s; }
.hero-lede .word:nth-child(16) { animation-delay: .606s; }
.hero-lede .word:nth-child(n+17) { animation-delay: .624s; }

.hero .cta-row { opacity: 0; animation: fade .8s ease .9s forwards; }
@keyframes fade { to { opacity: 1; } }

@media (max-aspect-ratio: 11/10), (max-width: 1080px) {
  .hero-title { mix-blend-mode: normal; }
}
/* Portrait tablets: v3 left a tall empty band under the CTAs. */
@media (max-aspect-ratio: 11/10) and (min-width: 761px) {
  .hero { min-height: max(620px, min(82svh, 900px)); }
}
@media (max-width: 760px) {
  .hero-canvas { max-height: 100%; }
  .hero.webgl-ready .hero-canvas { opacity: .9; }
  .hero::before { width: 120vw; height: 70vh; right: -55vw; top: -25vh; opacity: .55; }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .word, .hero-lede .word, .hero .cta-row { animation: none; opacity: 1; transform: none; filter: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip; /* clip keeps sticky children working */
  margin-top: calc(-1 * var(--header-h));
}
.page-hero > .container > .frame {
  padding-top: calc(var(--header-h) + clamp(28px, 3.6vw, 52px));
  padding-bottom: clamp(36px, 3.6vw, 52px);
}
/* v3's ribbons as a still image (public/images/ribbons.webp, rendered from ribbons.js by
   design/tools/render-og.mjs), anchored top-right behind the frosted header and faded
   out towards the copy. The brand gradient underneath shows while the image loads. */
.page-hero-art {
  position: absolute; z-index: -1; pointer-events: none;
  top: 0; right: 0; width: min(64vw, 1000px); height: min(100%, 680px);
  background: url("../images/ribbons.webp") right top / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 60%), linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 60%), linear-gradient(180deg, #000 70%, transparent);
  mask-composite: intersect;
}
.page-hero--quiet .page-hero-art { opacity: .55; width: min(52vw, 820px); }
/* Long documents (article, legal): the art stays in the title area. */
.page-hero--doc .page-hero-art { height: 420px; width: min(46vw, 720px); }
.page-hero-copy { max-width: 820px; position: relative; }
.page-title {
  font-family: var(--display); font-weight: 500;
  font-size: var(--fs-page-h1); line-height: 1.04; letter-spacing: -.035em;
  max-width: 18ch;
}
.page-title--wide { max-width: 24ch; }
.kicker + .page-title, .page-hero .lockup + .page-title, .page-hero .cluster + .page-title { margin-top: 18px; }
.page-lede {
  margin-top: 22px; max-width: 54ch;
  font-family: var(--display); font-size: var(--fs-lede); line-height: 1.45;
  letter-spacing: -.008em; color: var(--lede); text-wrap: pretty;
}
.page-hero .cta-row { margin-top: 32px; }
/* Mid widths: the copy column takes more of the row, so the art narrows to stay beside it. */
@media (min-width: 761px) and (max-width: 1379px) {
  .page-hero-art, .page-hero--quiet .page-hero-art, .page-hero--doc .page-hero-art { width: 40vw; }
}
@media (max-width: 760px) {
  /* On a phone the copy runs the full width under the art: the art shows behind the
     header and fades out before the breadcrumb and kicker, which keep 4.5:1 (WCAG 1.4.3). */
  .page-hero-art, .page-hero--quiet .page-hero-art, .page-hero--doc .page-hero-art {
    width: 100%; height: 260px; opacity: .38;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 60%), linear-gradient(180deg, #000 20%, transparent 48%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 60%), linear-gradient(180deg, #000 20%, transparent 48%);
  }
}

/* ---------- Sections ---------- */
.section > .container > .frame { padding-block: var(--section-y); }
.section--tight > .container > .frame { padding-block: clamp(36px, 3.6vw, 52px); }
.section + .section, .page-hero + .section { border-top: 1px solid var(--line); }
.section--wash { background: var(--wash); }
.section--wash + .section, .section + .section--wash { border-top-color: var(--line-strong); }

.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(24px, 2.6vw, 34px); }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 64px; }
  .section-head--split .section-lede { justify-self: end; max-width: 46ch; }
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--soft);
}
.kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.kicker--plain::before { display: none; }
.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.032em;
  max-width: 20ch;
}
.section-lede {
  font-family: var(--display); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5;
  color: var(--lede); max-width: 56ch; text-wrap: pretty;
}

/* Grids */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .split--center { align-items: center; }
}
/* Hairline grid: cells separated by 1px lines (v6's expertise grid, in v3 colours). */
.ruled {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.ruled > * { background: var(--paper); }
@media (min-width: 640px) { .ruled--2, .ruled--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ruled--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ruled--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1099px) { .ruled--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stack { display: grid; gap: 16px; }
.stack--lg { gap: 28px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wash);
  border-top: 1px solid var(--line-strong);
  color: var(--slate); font-size: 14.5px;
}
.site-footer .frame { border-color: var(--line-strong); }
.footer-top { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 34ch; }
.footer-brand .logo { justify-self: start; }
.footer-tagline { line-height: 1.55; }
.footer-flag { display: inline-block; width: 19px; height: 10px; margin-right: 7px; vertical-align: -1px; border-radius: 1.5px; box-shadow: 0 0 0 1px var(--line); background: url("../flags/usa.svg") center / cover no-repeat; }
.footer-cols { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Each column takes two of the grid's rows, heading and links, shared with the columns
   beside it (subgrid): a heading that runs to two lines moves every column's links down
   with its own, so the lists start level. */
.footer-cols > * { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.footer-h {
  margin-bottom: 14px; font-family: var(--font); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.footer-list { list-style: none; display: grid; gap: 2px; align-self: start; }
.footer-list a {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 0;
  color: var(--slate); border-radius: 4px; transition: color .2s ease;
}
.footer-list a:hover { color: var(--accent); }
.footer-list .ext { width: 9px; height: 9px; opacity: .6; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-block: 22px 28px; border-top: 1px solid var(--line-strong); font-size: 13.5px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; }
/* 2px above and below make each link a 25px tap target (WCAG 2.5.8). */
.footer-legal a { display: inline-block; padding-block: 2px; color: var(--slate); border-radius: 4px; }
.footer-legal a:hover { color: var(--accent); }
@media (min-width: 760px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 56px; }
  .footer-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---- css/components.css ---- */
/* Components: buttons, hero pill, product strip, maturity badges, cards, card art,
   live-proof browser frame, facts and status lists, steps, CTA card, breadcrumbs, forms,
   FAQ, notes, feature rows, people, pagination. Needs tokens.css, base.css, layout.css.
   Class inventory with markup: design/README.md. */

/* ---------- Logo (header, footer, admin) ---------- */
.logo { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); flex-shrink: 0; border-radius: 6px; }
.logo svg { width: 27px; height: 27px; }
.logo-word {
  font-family: var(--brand-font); font-weight: 400; font-size: 17px;
  letter-spacing: .34em; margin-right: -.34em; line-height: 1; white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .chev { width: 8px; height: 10px; transition: transform .25s var(--ease-out); }
.btn .ext { width: 10px; height: 10px; }
.btn:hover .chev { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: rgba(255, 255, 255, .85); border-color: var(--ghost-line); color: var(--accent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--ghost-line-hover); color: var(--accent-hover); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16.5px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 480px) {
  .cta-row .btn-lg { width: 100%; }
}

/* Text link with a chevron: "Read the launch ›" */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 500; color: var(--accent); border-radius: 4px;
}
.link-arrow svg { width: 8px; height: 10px; transition: transform .25s var(--ease-out); }
.link-arrow:hover { color: var(--accent-hover); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow .ext { width: 10px; height: 10px; }

/* ---------- Hero announcement pill (v3 eyebrow) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: 10px; row-gap: 2px;
  margin: 0 0 30px -12px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(11, 19, 36, .08);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
  font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink-2);
  transition: border-color .2s ease, background-color .2s ease;
}
a.eyebrow:hover { border-color: rgba(70, 54, 240, .35); background: rgba(255, 255, 255, .9); }
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  /* Two pulses (4.8s), then still: blinking that starts by itself stops within five
     seconds (WCAG 2.2.2). */
  box-shadow: 0 0 0 0 rgba(70, 54, 240, .5); animation: ping 2.4s ease-out 2;
}
.eyebrow-tag { font-weight: 600; color: var(--ink); }
.eyebrow-desc { color: var(--slate); font-weight: 400; }
.eyebrow-cta { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.eyebrow-cta .arrow { width: 10px; height: 10px; }
.eyebrow-cta .ext { width: 10px; height: 10px; }
a.eyebrow:hover .eyebrow-cta { color: var(--accent-hover); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(70, 54, 240, .45); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(70, 54, 240, 0); }
}
@media (max-width: 760px) {
  .eyebrow { font-size: 13.5px; column-gap: 7px; padding: 6px 12px 6px 10px; margin-left: -10px; border-radius: 18px; }
  .eyebrow-desc { display: none; }
}

/* ---------- Product strip (v3 suite marquee) ----------
   Static without JS; strip.js adds .is-running (animation) and reveals the pause
   button. The second .marquee-group is a visual copy: aria-hidden="true" and inert. */
.strip {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
}
.strip-inner { display: flex; align-items: center; height: 104px; gap: 28px; }
.strip-label {
  flex-shrink: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--soft); padding-right: 28px; border-right: 1px solid var(--line); line-height: 1.5;
}
.marquee {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  /* A product reached with Tab scrolls clear of the faded edges, and its whole focus
     ring fits inside the clipped row. */
  scroll-padding-inline: 8%;
  padding-block: 8px;
}
/* While a product in the strip has keyboard focus, no edge fade dims it or its ring
   (WCAG 2.4.7). */
.marquee:has(:focus-visible) { -webkit-mask-image: none; mask-image: none; }
.marquee-track { display: flex; width: max-content; }
.strip.is-running .marquee-track { animation: marquee 56s linear infinite; }
.strip.is-paused .marquee-track,
.strip.is-offscreen .marquee-track,
.strip.is-running .marquee:hover .marquee-track,
.strip.is-running .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 52px; padding: 0 52px 0 0; list-style: none; }
.marquee-group > li { display: flex; }
.mk {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 6px 2px; border-radius: 8px;
  font-family: var(--brand-font); font-size: 19px; color: var(--ink-2);
  transition: color .2s;
}
.mk:hover { color: var(--accent); }
.mk svg { width: 20px; height: 20px; opacity: .85; }
.mk .fam { letter-spacing: .2em; font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--slate); }
.mk .prod { font-weight: 500; letter-spacing: .01em; }
.mk-tag {
  margin-left: 2px; padding: 3px 8px; border-radius: 999px;
  font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--soft); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .7);
}
.mk-tag--live { color: var(--accent-hover); border-color: transparent; background: var(--accent-tint); }
@keyframes marquee { to { transform: translateX(-50%); } }

.strip-toggle {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--ghost-line); background: rgba(255, 255, 255, .85); color: var(--ink-2);
  transition: border-color .2s ease, color .2s ease;
}
.strip-toggle:hover { border-color: var(--ghost-line-hover); color: var(--accent); }
.strip-toggle svg { width: 12px; height: 12px; }
.strip-toggle .i-play { display: none; }
.strip-toggle[aria-pressed="true"] .i-play { display: block; }
.strip-toggle[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 760px) {
  .strip-inner { height: 88px; gap: 14px; }
  .strip-label { display: none; }
  .mk { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  /* No motion: the strip becomes a scrollable row and the copy is not needed. */
  .strip.is-running .marquee-track { animation: none; }
  .marquee { overflow-x: auto; scrollbar-width: thin; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .strip-toggle { display: none !important; }
}

/* ---------- Maturity badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap;
  color: var(--ink-2); background: var(--paper); border: 1px solid var(--line-strong);
}
/* At 320px (400% zoom) a long label wraps inside its badge rather than past the card
   (WCAG 1.4.10). */
@media (max-width: 400px) {
  .badge { height: auto; min-height: 26px; max-width: 100%; padding-block: 6px; line-height: 1.25; white-space: normal; flex-shrink: 1; border-radius: 13px; }
  .badge::before { flex-shrink: 0; }
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.badge--live { color: var(--accent-hover); background: var(--accent-tint); border-color: transparent; }
.badge--live::before { background: var(--accent); opacity: 1; animation: ping 2.4s ease-out 2; }
.badge--pilot { color: var(--ink-2); }
.badge--request { color: var(--slate); border-style: dashed; border-color: var(--control); }
.badge--dev { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.badge--plain::before { display: none; }

.legend { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--slate); list-style: none; }
.legend-item { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Product lockup (Jost) ---------- */
.lockup {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--brand-font); color: var(--ink); line-height: 1.1;
}
.lockup svg { width: 22px; height: 22px; }
.lockup .fam { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.lockup .prod { font-size: 22px; font-weight: 500; letter-spacing: .01em; }
.lockup--lg svg { width: 30px; height: 30px; }
.lockup--lg .fam { font-size: 15px; }
.lockup--lg .prod { font-size: 30px; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: clamp(22px, 2.2vw, 28px); border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.card-title { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.card-desc { font-size: 15px; line-height: 1.55; color: var(--slate); }
.card-foot { margin-top: auto; padding-top: 6px; }
/* Stretched link: the card's one link covers the whole card. */
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card :focus-visible.stretched { outline: none; }
.card:has(.stretched:focus-visible) { outline: var(--focus); outline-offset: 3px; }

/* Product card (Argus suite grid) */
.product-card { gap: 14px; }
.product-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.product-card-desc { font-size: 15px; line-height: 1.55; color: var(--slate); }
.product-card-desc strong { color: var(--ink-2); font-weight: 600; }
.product-card-for { font-size: 13.5px; color: var(--soft); }
.product-card .link-arrow { margin-top: auto; padding-top: 4px; }
.product-card--featured { padding: 0; overflow: hidden; border-color: var(--line-strong); }
.product-card--featured .product-card-body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 32px); flex: 1; }
.product-card--featured .art { height: 140px; border-radius: 0; }
@media (min-width: 1100px) {
  .product-card--featured { grid-column: span 2; flex-direction: row; }
  .product-card--solo { grid-column: auto; }
  .product-card--featured .art { width: 42%; height: auto; min-height: 100%; order: 2; }
  .product-card--featured .product-card-desc { font-size: 16px; max-width: 46ch; }
}

/* Card art: v3's gradient strip with diagonal hairlines and the mark. Variants shift
   the gradient so neighbouring cards differ. */
.art {
  position: relative; display: block; overflow: hidden; border-radius: 12px;
  background: var(--brand-art);
}
.art::after {
  content: ""; position: absolute; inset: -40%;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 6px, rgba(255, 255, 255, .18) 6px 7px);
  -webkit-mask-image: radial-gradient(60% 50% at 55% 55%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60% 50% at 55% 55%, #000 30%, transparent 75%);
}
.art svg { position: absolute; right: 16px; bottom: 14px; width: 30px; height: 30px; color: #fff; opacity: .92; z-index: 1; }
.art--2 { background:
  radial-gradient(110% 130% at 100% 0%, var(--g-lilac) 0%, transparent 45%),
  radial-gradient(120% 120% at 0% 100%, var(--g-cyan-1) 0%, transparent 50%),
  linear-gradient(240deg, var(--g-purple) 0%, var(--g-indigo) 30%, var(--g-navy) 60%, var(--g-blue) 85%, var(--g-cyan-2) 100%); }
.art--3 { background:
  radial-gradient(100% 120% at 50% 120%, var(--g-lilac) 0%, transparent 50%),
  linear-gradient(160deg, var(--g-cyan-1) 0%, var(--g-cyan-2) 22%, var(--g-blue) 45%, var(--g-navy) 70%, var(--g-violet) 100%); }
.art--4 { background:
  radial-gradient(90% 120% at 0% 0%, var(--g-lilac) 0%, transparent 50%),
  linear-gradient(100deg, var(--g-violet) 0%, var(--g-navy) 40%, var(--g-blue) 70%, var(--g-cyan-1) 100%); }

/* Feature card (mega menu aside, also usable in pages) */
.mm-card {
  display: block; margin-top: 22px; border-radius: 12px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.mm-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.mm-card .art { height: 112px; border-radius: 0; }
.mm-card-body { display: block; padding: 16px 18px 18px; }
.mm-card-title { display: block; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mm-card-desc { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--slate); }
.mm-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--accent); }
.mm-card-cta svg { width: 8px; height: 10px; transition: transform .25s var(--ease-out); }
.mm-card:hover .mm-card-cta svg { transform: translateX(3px); }
.tag-live {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-hover); background: var(--accent-tint);
}

/* Post card (Newsroom lists on the home page and in menus) */
.post-card { padding: 0; overflow: hidden; gap: 0; }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wash); border-bottom: 1px solid var(--line); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-media .art { height: 100%; border-radius: 0; }
.post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--soft); }
.post-card-meta .type { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.post-card-title { font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.22; letter-spacing: -.015em; text-wrap: balance; }
.post-card-desc {
  font-size: 15px; line-height: 1.55; color: var(--slate);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }

/* ---------- Live proof: browser frame ---------- */
.browser {
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(15, 25, 60, .35), 0 2px 6px rgba(15, 25, 60, .05);
}
.browser-bar {
  display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px;
  background: var(--wash); border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-url {
  flex: 1; display: flex; align-items: center; gap: 8px; max-width: 360px; height: 28px; padding: 0 12px;
  border-radius: 8px; background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.browser-url svg { width: 11px; height: 11px; color: var(--ok); }
.browser-view { position: relative; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
@media (max-width: 640px) { .browser-view { aspect-ratio: 4 / 3.4; } }
.browser-view > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Wireframe stand-in until a real screenshot is supplied. Decorative (aria-hidden). */
.wire { position: absolute; inset: 0; padding: 7% 7% 0; display: grid; align-content: start; gap: 14px; }
.wire-band { position: absolute; inset: 0 0 auto 0; height: 46%; background: linear-gradient(180deg, var(--accent-tint), transparent); }
.wire > * { position: relative; }
.wire-line { height: 12px; border-radius: 6px; background: var(--line-strong); }
.wire-line--title { height: 20px; width: 58%; background: var(--ink-2); opacity: .85; }
.wire-line--sub { width: 40%; }
.wire-search {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px; margin-top: 6px;
  border-radius: 12px; background: var(--paper); border: 1px solid var(--control);
  box-shadow: 0 10px 24px -16px rgba(15, 25, 60, .35);
}
.wire-search i { flex: 1; height: 10px; border-radius: 5px; background: var(--line); max-width: 60%; }
.wire-search b { margin-left: auto; width: 84px; height: 32px; border-radius: 8px; background: var(--accent); }
.wire-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wire-chips i { height: 24px; width: 72px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); }
.wire-chips i:nth-child(2) { width: 96px; } .wire-chips i:nth-child(3) { width: 60px; } .wire-chips i:nth-child(4) { width: 110px; }
.wire-results { display: grid; gap: 10px; margin-top: 4px; }
.wire-result {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
}
.wire-result > i { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-tint); }
.wire-result > span { display: grid; gap: 7px; }
.wire-result > span i { height: 9px; border-radius: 5px; background: var(--line-strong); }
.wire-result > span i:first-child { width: 60%; background: var(--ink-2); opacity: .7; }
.wire-result > span i:last-child { width: 85%; }
.wire-result > b { width: 64px; height: 22px; border-radius: 999px; background: var(--ok-bg); }
.browser-caption { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--slate); background: var(--paper); }

/* ---------- Lists of facts ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%233524d6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Procurement facts: <dl class="facts"><div class="facts-row"><dt/><dd/></div>... */
.facts { display: grid; border-top: 1px solid var(--line); }
.facts-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4px 20px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.facts dt { color: var(--slate); }
.facts dd { color: var(--ink); font-weight: 500; }
.facts dd.is-pending { color: var(--slate); font-weight: 400; font-style: italic; }
@media (max-width: 420px) { .facts-row { grid-template-columns: 1fr; } }

/* Status list: honest security / accessibility status */
.status-list { display: grid; border-top: 1px solid var(--line); }
.status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.status-row dt { color: var(--ink); font-weight: 500; }
.status-row dd { display: flex; align-items: center; gap: 10px; color: var(--slate); }
.status {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--wash-2); color: var(--ink-2);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--yes { background: var(--ok-bg); color: var(--ok); }
.status--planned { background: var(--warn-bg); color: var(--warn); }
.status--no { background: var(--wash-2); color: var(--ink-2); }
.status--request { background: var(--accent-tint); color: var(--accent-hover); }

/* Key facts strip (product pages) */
.keyfacts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.keyfacts > div { background: var(--paper); padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.keyfacts dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.keyfacts dd { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.4; }
@media (min-width: 640px) { .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .keyfacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Panels ---------- */
.panel {
  border-radius: var(--radius-xl); background: var(--paper); border: 1px solid var(--line-strong);
  padding: clamp(24px, 3vw, 40px);
}
.panel--wash { background: var(--wash); border-color: var(--line); }
.panel-title { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.panel-sub { margin-top: 8px; color: var(--slate); line-height: 1.55; }
.panel-block { margin-top: 28px; }
.panel-block + .panel-block { padding-top: 28px; border-top: 1px solid var(--line); }
.panel-h { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }

.doc-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-list li {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
  border-radius: 8px; background: var(--wash); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2);
}
.doc-list svg { width: 13px; height: 13px; color: var(--slate); }

/* ---------- Icon tiles, promises, numbered items ---------- */
.icon-tile {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-tint); color: var(--accent);
}
.icon-tile svg { width: 22px; height: 22px; }
.promise { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.4vw, 32px); }
.promise-title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.promise-desc { color: var(--slate); line-height: 1.6; font-size: 15.5px; }
.num { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* Expertise tiles (home) */
.xp { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.4vw, 32px); min-height: 240px; transition: background-color .25s ease; }
.xp:hover { background: var(--wash); }
.xp-title { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.xp-desc { color: var(--slate); font-size: 15px; line-height: 1.55; }
.xp .link-arrow { margin-top: auto; }
.xp:has(.stretched:focus-visible) { outline: var(--focus); outline-offset: -3px; }
.xp .stretched:focus-visible { outline: none; }

/* ---------- Approach steps ---------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; gap: 8px; align-content: start; padding: 0 0 28px 44px; }
.step::before {
  content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 1px; background: var(--line-strong);
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 1px solid var(--accent);
  font-size: 12px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums;
}
.step-title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.5; }
.step-desc { color: var(--slate); font-size: 15px; line-height: 1.55; }
@media (min-width: 1100px) {
  .steps--row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .steps--row.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--row > .step { padding: 48px 0 0; }
  .steps--row > .step::before { left: 34px; right: -24px; top: 13px; bottom: auto; width: auto; height: 1px; }
}

/* ---------- Rows that line up across a row of cards (subgrid) ----------
   A card, tile or step in a grid takes as many of the grid's rows as it has parts, and
   shares them with the items beside it: titles, texts, "for" lines and links start at the
   same height across a row even when one title runs to two lines, and a card's foot link
   always takes its last row. Browsers without subgrid lay each item out on its own. */
@supports (grid-template-rows: subgrid) {
  .ruled > .promise, .ruled > .xp, .grid > .card {
    display: grid; grid-template-rows: subgrid; align-content: start;
  }
  .ruled > .promise { grid-row: span 2; }
  .ruled > .promise:has(> .num) { grid-row: span 3; }
  /* Four rows (number, title, text, link); the row decides the height, not a minimum. */
  .ruled > .xp { grid-row: span 4; min-height: 0; }
  /* As many rows as the grid's fullest card has parts. */
  .grid > .card { grid-row: span 3; }
  .grid:has(> .card > :nth-child(4)) > .card { grid-row: span 4; }
  .grid:has(> .card > :nth-child(5)) > .card { grid-row: span 5; }
  .grid > .card > :is(.card-foot, .card-links, .product-card-links, .link-arrow):last-child { grid-row: -2 / -1; }
  .grid > .card > .badge { justify-self: start; }
  /* A grid where some cards end on a link and others don't keeps each card on its own (as
     before): a row that no card in a row of the grid uses would leave the grid's gap in
     them. */
  .grid:has(> .card > :is(.card-foot, .card-links, .product-card-links, .link-arrow):last-child):has(> .card > :is(.card-desc, .product-card-desc, .product-card-for):last-child) > .card {
    display: flex; grid-row: auto;
  }
  /* Post cards: the picture, then the body's type and date, title and summary. */
  .grid > .card.post-card { grid-row: span 4; row-gap: 0; }
  .post-card > .post-card-body { grid-row: 2 / -1; display: grid; grid-template-rows: subgrid; align-content: start; }
  @media (min-width: 1100px) {
    .steps--row > .step { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
    .steps--row > .step:has(> .step-when) { grid-row: span 3; }
  }
}

/* ---------- Closing call to action ---------- */
.cta-card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--line-strong);
  background: var(--wash);
  padding: clamp(32px, 5vw, 72px);
}
.cta-card-art {
  position: absolute; z-index: -1; pointer-events: none;
  width: 560px; height: 900px; right: -180px; top: -320px; transform: rotate(-38deg);
  background: var(--brand-blob); filter: blur(48px); opacity: .55; border-radius: 50%;
}
.cta-card-copy { max-width: 620px; }
.cta-title { font-family: var(--display); font-size: var(--fs-h2); font-weight: 500; line-height: 1.06; letter-spacing: -.032em; }
.cta-lede { margin-top: 18px; font-family: var(--display); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--lede); max-width: 48ch; }
@media (max-width: 760px) {
  .cta-card-art { width: 360px; height: 560px; right: -220px; top: -260px; opacity: .4; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 26px; font-size: 14px; color: var(--soft); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--soft-deco); }
.crumbs a { color: var(--accent); font-weight: 500; border-radius: 4px; }
.crumbs a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: .2em; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 28px; }
.form-section { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.form-section + .form-section { padding-top: 28px; border-top: 1px solid var(--line); }
.form-legend { padding: 0; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); float: left; width: 100%; }
.form-legend + * { clear: both; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field-label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.field-label .req { color: var(--bad); margin-left: 2px; }
.field-label .opt { color: var(--soft); font-weight: 400; margin-left: 4px; }
.form-hint, .field-hint { font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border-radius: var(--radius); border: 1px solid var(--control); background: var(--paper);
  font-size: 16px; line-height: 1.4; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--soft); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--slate); }
/* Text fields show the ring on any focus (click or keyboard), as users expect: a solid
   2px accent edge (6.9:1 on white; not only a 1px border changing colour, 2.1:1 from its
   resting grey) inside the soft halo (WCAG 1.4.11, 2.4.7). */
.input:focus, .select:focus, .textarea:focus, .input:focus-within {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 3px rgba(70, 54, 240, .28);
}
.select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.5 5 7l3.5-3.5' fill='none' stroke='%231c2740' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 15px center / 11px no-repeat;
}
.textarea { min-height: 140px; resize: vertical; }
.field-count { justify-self: end; font-size: 12.5px; color: var(--soft); font-variant-numeric: tabular-nums; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea,
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); }
.field-error { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--bad); }
.field-error::before { content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; }

.checks { display: grid; gap: 10px; }
@media (min-width: 640px) { .checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; font-size: 15px; line-height: 1.4;
  transition: border-color .2s ease, background-color .2s ease;
}
.check:hover { border-color: var(--control); }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.check:has(input:focus-visible) { outline: var(--focus); outline-offset: 2px; }
.check input:focus-visible { outline: none; }

.form-error-summary {
  padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--bad); background: var(--bad-bg); color: var(--bad);
}
.form-error-summary h2 { font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.form-error-summary ul { padding-left: 18px; font-size: 14.5px; }
.form-error-summary a { display: inline-block; padding-block: 3px; color: var(--bad); text-decoration: underline; }
.form-success {
  display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong); background: var(--paper);
}
.success-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.success-mark svg { width: 24px; height: 24px; }
.turnstile-slot { min-height: 65px; display: flex; align-items: center; }
.form-foot { display: grid; gap: 14px; }
.form-consent { font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.conditional-note { padding: 12px 14px; border-radius: var(--radius); background: var(--wash); border-left: 3px solid var(--accent); font-size: 14px; color: var(--ink-2); }

/* ---------- FAQ (no FAQPage schema) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-size: 17.5px; font-weight: 500; line-height: 1.4; border-radius: 6px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q svg { width: 12px; height: 12px; flex: none; transition: transform .3s var(--ease-out); color: var(--slate); }
.faq-item[open] .faq-q svg { transform: rotate(180deg); }
.faq-a { padding: 0 0 22px; max-width: 70ch; color: var(--slate); line-height: 1.65; }
.faq-a p + p { margin-top: 10px; }

/* ---------- Notes ---------- */
.note {
  padding: 16px 18px; border-radius: var(--radius); background: var(--wash); border: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2);
}
.note--accent { border-left: 3px solid var(--accent); }
.note--warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); }
.note strong { color: var(--ink); font-weight: 600; }

/* ---------- Feature rows with a screenshot ---------- */
.feature { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .feature--flip > :first-child { order: 2; }
}
.feature-copy { display: grid; gap: 16px; align-content: start; }
.feature-title { font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
.feature-desc { color: var(--slate); font-size: 16.5px; line-height: 1.6; max-width: 52ch; }
.shot {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--wash);
  box-shadow: 0 30px 60px -36px rgba(15, 25, 60, .35);
}
.shot img { width: 100%; height: auto; }
.shot--placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.shot--placeholder::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(var(--paper), var(--paper)) 0 0 / 22% 100% no-repeat,
    linear-gradient(var(--line), var(--line)) 22% 0 / 1px 100% no-repeat,
    linear-gradient(var(--paper), var(--paper)) 26% 8% / 40% 8% no-repeat,
    linear-gradient(var(--paper), var(--paper)) 26% 22% / 70% 30% no-repeat,
    linear-gradient(var(--paper), var(--paper)) 26% 62% / 33% 28% no-repeat,
    linear-gradient(var(--paper), var(--paper)) 63% 62% / 33% 28% no-repeat;
  opacity: .9;
}
.shot-caption { margin-top: 12px; font-size: 13.5px; color: var(--slate); }
.gallery { display: grid; gap: 20px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Spec table (definition rows) ---------- */
.spec { display: grid; border-top: 1px solid var(--line); }
.spec > div { display: grid; gap: 4px 32px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; color: var(--ink); }
.spec dd { color: var(--slate); line-height: 1.6; }
@media (min-width: 760px) { .spec > div { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); } }

/* ---------- People (leadership) ---------- */
.person { display: grid; gap: 16px; align-content: start; }
.person-photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--wash); border: 1px solid var(--line); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.person-role { font-size: 14px; color: var(--soft); font-weight: 500; }
.person-bio { color: var(--slate); line-height: 1.6; }

/* ---------- Tags and pagination ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper); font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.chip:hover { border-color: var(--control); color: var(--ink); }
.chip[aria-current="page"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.pager-status { color: var(--soft); }

/* ---------- Related links list ---------- */
.link-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px;
  border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); border-radius: 4px;
  transition: color .2s ease, padding .3s var(--ease-out);
}
.link-list a:hover { color: var(--accent); padding-left: 10px; }
.link-list svg { width: 8px; height: 10px; color: var(--accent); }
.link-list .ext { width: 10px; height: 10px; }
.link-list small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--slate); }

/* ---------- Status page (404, 410) ---------- */
.status-page { min-height: 62vh; display: grid; align-content: center; }
.status-code { font-family: var(--brand-font); font-size: 15px; letter-spacing: .3em; color: var(--soft); text-transform: uppercase; }

/* ---------- Small layout helpers ---------- */
.section-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.stack > .section-foot, .stack--lg > .section-foot { margin-top: 4px; }
.panel-link { margin-top: 16px; }
.also-title { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }

/* "Also from Tesseract" card that fills the suite grid's last cell */
.also-card { border-style: dashed; border-color: var(--control); background: transparent; }
.also-card .link-list { border-top: 0; }
.also-card .link-list a { padding: 12px 0; }
.also-card .link-list li:last-child a { border-bottom: 0; }
.icon-14 { width: 14px; height: 14px; }
.product-card-links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.area { display: grid; gap: 24px; }
.area + .area { margin-top: clamp(48px, 6vw, 72px); }
.area-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.area-title { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.area-sub { color: var(--slate); font-size: 15px; }
.stack--xl { gap: clamp(56px, 7vw, 96px); }
.spec dd.is-pending { font-style: italic; }
.page-hero .keyfacts { margin-top: clamp(40px, 5vw, 64px); }

/* Numbered list (market pain points) */
.numbered { list-style: none; display: grid; border-top: 1px solid var(--line); }
.numbered > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.numbered .num { padding-top: 3px; }
.numbered-title { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.numbered-desc { margin-top: 6px; color: var(--slate); line-height: 1.6; }

/* Product callout with card art */
.callout {
  display: grid; gap: 32px; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--line-strong); background: var(--paper);
  padding: clamp(28px, 4vw, 56px);
}
.callout-art { min-height: 220px; border-radius: var(--radius-lg); }
@media (min-width: 900px) {
  .callout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; }
}

/* Running text blocks outside the blog prose */
.lead-prose { display: grid; gap: 16px; max-width: 64ch; font-size: 17px; line-height: 1.7; color: var(--ink-2); }

/* ---------- Data table (public pages) ---------- */
.table-scroll { position: relative; /* keeps .sr-only children inside the scroller */ overflow-x: auto; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--paper); }
.data-table { width: 100%; min-width: 640px; font-size: 15px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); background: var(--wash); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody th { font-weight: 600; white-space: nowrap; }
.data-table tbody th a { color: var(--ink); border-radius: 4px; }
.data-table tbody th a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.data-table td { color: var(--slate); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; } .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-form-panel .form { margin-top: 28px; }
.req-inline { color: var(--bad); }
.steps--compact .step-title { font-size: 16px; }
.mono { font-family: var(--mono); font-size: .95em; }
.page-hero-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legal-body-wrap { margin-top: clamp(40px, 5vw, 64px); }
.person-photo .art { height: 100%; border-radius: 0; }

/* ---- css/pages.css ---- */
/* The page renderer's own rules (crates/web/src/pages): what the content files need beyond
   the design's components. Bundled last into css/site.css (build.rs), after tokens, base,
   layout and components; same tokens, no inline styles (the CSP refuses them). */

/* ---------- Mega menu: column patterns from nav.toml ----------
   Each group is 1 wide, or 2 when its links run two-up (more than four); the aside is
   300px (layout.css's .mm-grid--* modifiers, named by pattern). */
.mm-grid--1     { grid-template-columns: minmax(0, 1fr) 300px; }
.mm-grid--1-1   { grid-template-columns: repeat(2, minmax(0, 1fr)) 300px; }
.mm-grid--2-1   { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 300px; }
.mm-grid--1-2   { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 300px; }
.mm-grid--1-1-1 { grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; }
.mm-grid--1-2-1 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) 300px; }
.mm-grid--2-1-1 { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) 300px; }
.mm-grid--no-aside { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.mm-link .mm-meta { margin-bottom: 2px; }
/* The Company panel's card when it shows the newest post: its type and date above the
   title, and its summary held to four lines (the whole summary stays in the markup). */
.mm-card-meta { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--soft); }
.mm-card--post .mm-card-desc {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}

/* A simple dropdown (a menu item with `links` and no groups): one row of names, in the
   same sliding viewport as the mega panels. nav.toml uses none today (every item is a mega
   panel); the format still allows one. */
.mm-plain { display: flex; flex-wrap: wrap; gap: 4px 36px; padding: 24px 0 28px; list-style: none; }
.mm-plain-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 0;
  font-size: 15.5px; font-weight: 500; color: var(--accent); transition: color .2s ease;
}
.mm-plain-link:hover { color: var(--accent-hover); }
.mm-plain-link .ext { width: 10px; height: 10px; opacity: .55; }

/* A split section head whose lede carries links under it (the home "How to buy"): the
   lede and its links sit together where the lede alone would. */
@media (min-width: 900px) {
  .section-head--split > .stack:last-child { justify-self: end; max-width: 46ch; }
  .section-head--split > .stack:last-child > .section-lede { justify-self: start; }
}

/* The header at tight desktop widths: seven items and the button share the bar, and the
   panels' columns sit closer so a two-up group's names stay on one line. */
@media (min-width: 1081px) and (max-width: 1360px) {
  .bar { gap: 16px; }
  .mm-grid { column-gap: 32px; }
  .mm-list.two-up { column-gap: 24px; }
  .nav-trigger, .nav-link { padding: 0 9px; font-size: 14.5px; }
  .nav-link[aria-current="page"]::after, .nav-trigger.is-current::after { left: 9px; right: 9px; }
}
@media (min-width: 1081px) and (max-width: 1200px) {
  .logo-word { display: none; }
  .nav-trigger, .nav-link { padding: 0 7px; font-size: 14px; }
}

/* ---------- Links in running text ---------- */
/* An external link's icon sits in the line (buttons, arrows and menus size their own). */
a > svg.ext { display: inline-block; width: .62em; height: .62em; margin-left: .22em; vertical-align: .04em; }
.section-lede a, .page-lede a, .card-desc a, .product-card-desc a, .promise-desc a,
.step-desc a, .faq-a a, .facts dd a, .status-row a, .panel-sub a, .cta-lede a, .block-intro a,
.browser-caption a, .muted a, .checklist a, .area-sub a, .xp-desc a {
  color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
/* Links inside a card whose title link covers it stay clickable. */
.card-desc a, .product-card-desc a, .card-links a, .product-card-links a { position: relative; z-index: 2; }

/* A row of arrow links (a section's foot, a cta's link items). */
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.cta-row + .link-row { margin-top: 4px; }
.stack > .section-foot { margin-top: 0; }

/* ---------- Prose: a section's Markdown ---------- */
.prose { display: grid; gap: 18px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose > p, .prose > ul, .prose > ol, .prose > h3, .prose > h4, .prose > blockquote, .prose > pre { max-width: 72ch; }
.prose h3 { margin-top: 14px; font-family: var(--display); font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; color: var(--ink); line-height: 1.25; }
.prose h4 { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { padding-left: 1.1em; border-left: 3px solid var(--accent); font-family: var(--display); font-size: 19px; color: var(--ink); }
.prose code { padding: .1em .35em; border-radius: 6px; background: var(--wash-2); font-family: var(--mono); font-size: .88em; }
.prose pre { padding: 18px 20px; overflow-x: auto; border-radius: var(--radius-lg); background: var(--ink); color: #e7ebf3; font-size: 14px; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose .inline-img { display: inline-block; max-height: 1.4em; width: auto; vertical-align: middle; }
.prose h3 + *, .prose h4 + * { margin-top: -6px; }

/* Screenshots from the Markdown: figure > .shot > img + caption; several in a gallery. */
.shot-figure { display: grid; gap: 0; }
.prose > .shot-figure, .prose > .gallery { margin-block: 12px; }
.blog-prose .shot-figure { margin: 2em 0; }
.blog-prose .shot img { margin: 0; border: 0; border-radius: 0; }

/* ---------- Block heads (a block's own heading inside a section) ---------- */
.block-head { display: grid; gap: 10px; max-width: 760px; }
.block-title { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.block-intro { color: var(--slate); font-size: 16px; line-height: 1.6; max-width: 64ch; }
.block-head + * { margin-top: -8px; }
.block { display: grid; gap: 24px; }

/* Cards: a "for whom" line and explicit links. */
.card .badge { align-self: flex-start; }
.card .kicker + .badge, .card .badge + .card-title { margin-top: -2px; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 6px; }
.card-foot .link-arrow { margin-top: 0; }
.product-card-title { font-size: inherit; font-weight: inherit; }

/* The home suite's first tier: Beacon spans two columns and two rows, the other
   ready-to-buy products stack beside it. */
@media (min-width: 1100px) {
  .tier-grid--featured > .product-card--featured { grid-row: span 2; }
}

/* ---------- Facts and statuses ---------- */
.facts dd { display: grid; gap: 4px; }
.facts-note, .status-note { font-size: 13.5px; line-height: 1.5; color: var(--slate); font-weight: 400; }
.status-row dt { display: grid; gap: 2px; }
.status-row dd { flex-wrap: wrap; justify-content: flex-end; text-align: right; }
.status-value { font-size: 14px; color: var(--slate); }
.spec--legend dt { display: flex; align-items: center; }

/* ---------- Steps ---------- */
.step-when { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
@media (min-width: 1100px) {
  .steps--row.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps--row.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  /* Rows of four (eight implementation steps): the line stops at each row's end. */
  .steps--row.steps--4 { row-gap: 40px; }
  .steps--row.steps--4 > .step:nth-child(4n)::before,
  .steps--row > .step:last-child::before { display: none; }
}

/* ---------- Panels ---------- */
.panel-block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.panel-block-head .panel-h { margin: 0; }
.panel-block > .muted { font-size: 15px; line-height: 1.6; }
.panel-block .panel-link { margin-top: 12px; }
.panel-links { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
/* A panel's first block starts at its padding, level with a title in the panel beside it. */
.panel > .panel-block:first-child { margin-top: 0; }
/* A facts table ends on its own rule: the block after it draws no second one. */
.panel-block:has(> :is(.facts, .status-list, .spec):last-child) + .panel-block { padding-top: 0; border-top: 0; }
/* Links after a panel's blocks are a block of their own, ruled off like the others, not
   20px under the last block's link. */
.panel-block + .panel-links { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.cta-panel { display: grid; gap: 14px; justify-items: start; }
.cta-panel .panel-sub { margin: 0; max-width: 64ch; }
/* The two panels side by side are one height. */
.gov-panels { align-items: stretch; }
.doc-request { display: grid; gap: 12px; justify-items: start; }
/* /contact, side by side: the aside's heading level with the form panel's, below the
   panel's 1px border and padding (.panel). */
@media (min-width: 1000px) {
  .contact-aside { padding-top: calc(clamp(24px, 3vw, 40px) + 1px); }
}

/* ---------- The page's intro band (Markdown before the first section) ---------- */
.page-intro .prose { font-size: 18px; color: var(--ink-2); }

/* ---------- Quotes ---------- */
.quote { display: grid; gap: 12px; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); max-width: 64ch; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; letter-spacing: -.012em; color: var(--ink); }
.quote figcaption { font-size: 14px; color: var(--slate); }

/* ---------- People (leadership) ---------- */
.person--row { gap: clamp(28px, 4vw, 56px); }
/* Round portraits in one tone (the founder, 11-19): both drawings, cropped to the face. */
.person--row .person-photo { width: min(240px, 60vw); aspect-ratio: 1 / 1; border-radius: 50%; }
.person--row .person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; border-radius: 50%; filter: grayscale(1); }
.person-name.section-title { max-width: none; }
@media (min-width: 900px) {
  .person--row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
}

/* ---------- Long form with blocks (security, accessibility) ---------- */
.legal-body { display: grid; gap: 56px; min-width: 0; }
.doc-section { display: grid; gap: 20px; min-width: 0; }
.doc-title { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.024em; line-height: 1.2; }
.doc-section > .blog-prose > :last-child { margin-bottom: 0; }
.doc-section .ruled--3 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .doc-section .ruled--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Footer: as many columns as nav.toml has groups ---------- */
@media (min-width: 1100px) {
  .footer-cols--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 20px; }
  .footer-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .footer-top:has(.footer-cols--6) { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Bands of text beside their title ---------- */
@media (min-width: 900px) {
  .text-band > :first-child { position: sticky; top: calc(var(--header-h) + 32px); }
}
.text-band .prose { font-size: 16.5px; }

/* ---------- Hairline grids: a short last row fills its line ---------- */
@media (min-width: 640px) {
  .ruled--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .ruled--3 > :last-child:nth-child(odd), .ruled--4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .ruled--3 > :last-child:nth-child(3n+2) { grid-column: span 2; }
  .ruled--3 > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .ruled--4 > :last-child:nth-child(4n+3) { grid-column: span 2; }
  .ruled--4 > :last-child:nth-child(4n+2) { grid-column: span 3; }
  .ruled--4 > :last-child:nth-child(4n+1) { grid-column: 1 / -1; }
}
.person--row .person-name.section-title { font-size: clamp(28px, 3vw, 40px); }

