/*
  Axari site · visual system v3 (7 Nov 2026)
  Learned from Linear (linear.app, linear.app/ai) and Attio (attio.com, /architecture),
  adapted for Axari. The full rationale is in DESIGN_SYSTEM.md. In one breath:

  - A near-black canvas, neutral greys, one sans (Switzer) for everything a person reads.
  - Display face (TASA Explorer Bold, Google Fonts variable 400-800, Latin subset, 8 Nov)
    only for the H1 and a rare statement line. Never sub-heads or numbers.
    Tried 8 Nov: Gambarino (serif), Roundo, Cabinet Grotesk 600, Syne 700, Familjen Grotesk 700, TASA Orbiter 700; files kept in assets to restore.
  - Section headlines are two-tone: the claim in full ink, the continuation in grey.
  - Product visuals are fragments, not screenshots: hairline panels with a faint top
    highlight, edges that fade into the page, sitting on a softly lit plate.
  - Diagrams are thin lines, small square nodes and tiny status glyphs. Monochrome.
  - Colour is rare: status glyphs carry meaning; the Axari purple marks only the Twin
    (its cursor and avatar), which is a brand moment. Never a button, chart or nav state.
  - Every section has its own visual form, drawn from the same small vocabulary.

  v4 (7 Nov late): every element has one job. Chapter lines + nodes, frames only for product,
  bare captioned figures, dots only as work moving, light tone only for a person vouching.
  See DESIGN_SYSTEM.md. Previous versions: _legacy/site-v3i.css (v3), site-v2.css (round 2).
*/

@font-face { font-family: "TASA Explorer"; src: url("../fonts/TASAExplorer-Variable.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/Switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/Switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --font-display: "TASA Explorer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace; /* inside product visuals only */

  --ink: #f7f8f8;
  --paper: #08090a;
  /* 10 Nov (v4.2, "too dark and muted"): one brand purple, in five places only: the Twin, the
     chapter nodes, the nav's corner nodes, the hero light and the footer (DESIGN_SYSTEM.md,
     "Brand purple"). White on it is 8.22:1, so white text only; never a text or link colour.
     Replaced #8b85ff (the old accent) and --twin-fill #7564ac (deleted; its uses point here).
     10 Nov (Avi): #6857f0 → #5e35ff, more saturated. Then #5e35ff → #4c2dcc, deeper. Restore: set it back
     to #5e35ff. Purple on paper is now 2.42:1 (under 3:1); white on it 8.22:1. */
  --accent: #4c2dcc;

  /* Status glyph colours (meaning only, always with a text label) */
  --st-progress: #f2c94c;
  --st-review: #f2994a;
  --st-done: #4cb782;

  /* Type scale: 8 sizes. Fluid between 375px and 1440px. */
  --fs-h1: clamp(44px, 34.7px + 2.48vw, 70px); /* 12 Nov (Avi): every hero matches the homepage's 70px; was 72 max */
  --fs-h2: clamp(32px, 26.72px + 1.408vw, 48px);
  --fs-h3: clamp(24px, 21.36px + 0.704vw, 32px);   /* numbers, sub-statements */
  --fs-h4: var(--fs-l);
  --fs-l: clamp(18px, 17.3px + 0.188vw, 20px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-cap: 12px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 40px; --s8: 48px; --s9: 64px; --s10: 80px; --s11: 120px; --s12: 160px;
  /* 12 Nov (Avi: "too tight, needs breathing space"): the gap from a hero's CTAs to the product screen under
     them. Was 64, the same as the space after a text-only hero, so the screen read as crowded into the copy.
     One value for every hero screen (home stage, /product/ board). 80 on phones, 120 from 768. */
  --hero-screen: var(--s10);

  --section-pad: var(--s11);
  --head-gap: var(--s9);
  --side: var(--s9);
  --gutter: var(--s5);
  --max: 1200px;

  --r-pill: 999px;
  /* 8 Nov: marketing frames (nav bar, section panels, figure grids, testimonials, form fields) are
     square; CTAs and nav hovers are pills. Product UI keeps its own radii (--r-ui and the hard-coded ones inside .plate/.ui),
     so the square site frame and the rounded product read as two different things.
     Restore: --r-frame back to 12px (nav was 14px), .btn back to var(--r-ui). */
  --r-frame: 0px;
  --r-cta: var(--r-pill);
  /* Product UI only. Never on a site element: a frame, row, hover, selected or focus fill, or a ::before/::after
     fill layer. _build/guard.py fails site.py when one does (10 Nov, Avi: a rounded hover fill reached the
     compare list through --r-field, an 8px token left over from rounded form fields). */
  --r-ui: 10px;       /* product panels */
  --r-card: 12px;
  --r-media: 20px;    /* lit plates */
  /* --r-field (8px) retired 10 Nov: fields went square on 8 Nov and the token only invited misuse. */

  /* Product UI inside mockups (measured from linear.app, 7 Nov). UI text is never pure white:
     a cool off-white for primary, two greys below it. Cards are solid, not translucent, with a
     6% hairline and a 20% black ring outside it, so they separate from the view on dark. */
  --ui-1: #d0d6e0;
  --ui-2: #8a8f98;
  --ui-3: #62666d;
  --ui-frame: #101112;
  --ui-card: #161718;
  --ui-card-line: rgba(255, 255, 255, 0.06);
  --ui-line: rgba(255, 255, 255, 0.08);
  --ui-fill: rgba(255, 255, 255, 0.04);   /* selected nav, quiet chips */
  --ui-ring: 0 0 0 1px rgba(0, 0, 0, 0.2);
  /* Floating windows (Attio's stacked shadow, darkened for a black page).
     8 Nov: the deep layers softened (0.3 / 0.4 → 0.14 / 0.16). Once the hero gradient put a light
     band under the board, they cast a hard dark smear on it (Avi: "harsh"). The 1px ring and the
     close layers keep the edge; on black the change is barely visible.
     Was: 0 0 0 1px .35, 0 1px 2px .24, 0 3px 6px .24, 0 8px 14px .26, 0 16px 28px .3, 0 32px 64px .4 */
  --sh-window: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.16), 0 8px 14px rgba(0, 0, 0, 0.14), 0 16px 28px rgba(0, 0, 0, 0.14), 0 32px 64px rgba(0, 0, 0, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-hover: 160ms;
  --t-ui: 400ms;
}
@media (min-width: 768px) { :root { --hero-screen: var(--s11); } }

:root, .invert {
  --ink-80: color-mix(in srgb, var(--ink) 78%, var(--paper));
  --ink-60: color-mix(in srgb, var(--ink) 56%, var(--paper));
  --ink-40: color-mix(in srgb, var(--ink) 38%, var(--paper));
  --surface: color-mix(in srgb, var(--ink) 3.5%, var(--paper));
  --surface-2: color-mix(in srgb, var(--ink) 6%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 8%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 14%, transparent);
  --fill-soft: color-mix(in srgb, var(--ink) 5%, transparent);
  --highlight: color-mix(in srgb, var(--ink) 6%, transparent); /* the 1px top light on panels */
  /* The square where a chapter line meets the column edge, and the nav's corner nodes. Brand
     purple since 10 Nov (v4.2). Was ink 30% on paper: color-mix(in srgb, var(--ink) 30%, var(--paper)).
     Figure nodes (.node inside figures) do not use this token and stay monochrome.
     14 Nov (Avi, trial): the logo purple #7564AC, so the squares echo the mark's triangle.
     Revert: back to var(--accent). The footer's own white nodes are unaffected. */
  --node: #7564AC;
  --on-ink: var(--paper);
}

/* 9 Nov: the dark page's text greys are Linear's own ramp (linear.app, --color-text-secondary /
   tertiary / quaternary), so they carry Linear's cool blue cast instead of our neutral mix.
   ink-80 = their secondary, ink-60 = tertiary, ink-40 = quaternary. Same values as --ui-1/2/3.
   Was: ink mixed into paper at 78 / 56 / 38% (#c3c4c4 / #8e8f8f / #636464). Delete this block to restore.
   The light .invert chapter keeps the mix, since Linear's ramp is for dark only. */
:root {
  --ink-80: #d0d6e0;
  --ink-60: #8a8f98;
  --ink-40: #62666d;
  --dim: #8a8f98;      /* the dimmed half of every headline, on dark and light bands alike (12 Nov, Avi: one grey). Light bands keep it: 3.2:1, headline size only. */
}

/* The one light chapter (trust). */
.invert {
  --ink: #0b0c0d;
  --paper: #f4f4f2;
  --st-progress: #a87c00; --st-review: #b45a12; --st-done: #1f7a4f;
  background: var(--paper);
  color: var(--ink);
}

@media (max-width: 1199px) { :root { --section-pad: var(--s11); --head-gap: var(--s8); --side: var(--s7); --gutter: 20px; } }
@media (max-width: 767px) { :root { --section-pad: var(--s10); --head-gap: var(--s7); --side: var(--s4); --gutter: var(--s4); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.5 var(--font-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; font-variant-numeric: tabular-nums; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, li a, dd a, td a, .inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ink-40); }
p a:hover, li a:hover, dd a:hover, td a:hover, .inline-link:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 500; }
[hidden] { display: none !important; }
:focus { outline: none; }
/* The ring follows the element's own shape: square on site frames, round on pills. Was: border-radius 4px,
   which rounded every square link and row while focused (pulled 10 Nov with the compare list's rounded fill). */
:focus-visible { outline: 2px solid var(--ink-80); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s3) var(--s4); background: var(--ink); color: var(--paper); border-radius: var(--r-frame); font-weight: 500; }
.skip:focus { top: var(--s4); }

/* PULLED 6 Nov: the visible page frame. Kept to restore; unmounted in _build/site.py. */
.frame { display: none; }

.wrap { width: min(var(--max), calc(100% - 2 * var(--side))); margin-inline: auto; position: relative; }
.section { padding-block: var(--section-pad); position: relative; }

/* Chapters (v4, 7 Nov late). Every chapter opens on one full-bleed hairline (Linear) with a small
   square node where that line meets each edge of the content column (Attio's register marks).
   The line sits in the padding, so it never crosses text or a visual: that is the difference
   from the page-frame rails pulled on 6 Nov, which ran through content.
   Tone no longer separates chapters. Alternating paper and surface bands (12 of them) read as
   stripes with no meaning, so tone now carries one meaning only: .invert is a person vouching
   (see DESIGN_SYSTEM.md). Restore the bands: give .surface its background back and drop the
   border-top below. Previous: _legacy/site-v3i.css. */
.section { border-top: 1px solid var(--line); }
/* 10 Nov (Avi, from DeepBook's builder hub): the two nodes open outward with scroll. --spread runs
   0 (both nodes stacked at the centre) to 1 (at the column edges), set per chapter by site.js:
   0 when the line enters at the bottom of the viewport, 1 a fifth of the viewport below the nav
   bar, so the line is settled before the nav's corner nodes cross it (a line near the page end
   finishes before the scroll runs out). 1:1 with scroll, no easing. Without JS, or with
   reduced motion, the fallback is 1 (static). Restore static: delete the --spread terms.
   12 Nov (Avi: "not as smooth on mobile as on web"): each node is its own box (::before left,
   ::after right) that slides with transform, so a scroll frame no longer re-lays out the page.
   Was: one ::before whose width grew with --spread (both nodes as backgrounds at its ends); on a
   phone that relayout landed a frame behind the scroll. Same positions at every --spread.
   Each box spans the centre to its column edge; (1 - spread) of that run pulls it to the centre. */
.section::before, .section::after { content: ""; position: absolute; top: -3px; width: calc((min(var(--max), calc(100% - 2 * var(--side))) - 1px) / 2 + 5px); height: 5px; pointer-events: none; }
.section::before { right: calc(50% - 2.5px); transform: translateX(calc((1 - var(--spread, 1)) * (100% - 5px))); background: linear-gradient(var(--node), var(--node)) left / 5px 5px no-repeat; }
.section::after { left: calc(50% - 2.5px); transform: translateX(calc((var(--spread, 1) - 1) * (100% - 5px))); background: linear-gradient(var(--node), var(--node)) right / 5px 5px no-repeat; }
.invert.section, .invert + .section, .section.no-rule { border-top: 0; }
.invert.section::before, .invert + .section::before, .section.no-rule::before,
.invert.section::after, .invert + .section::after, .section.no-rule::after { display: none; }
.surface { background: none; }

/* ---------- Type ---------- */
.h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.0; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; max-width: 14ch; }
/* Section headlines: Switzer 500, tight, two-tone (Linear and Attio pattern). */
.h2 { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; max-width: 22ch; }
.h3 { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.h4 { font-size: var(--fs-l); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
/* A rare serif statement (Attio Architecture): one per section at most, never on a sub-head. */
.statement { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.lede { font-size: var(--fs-l); line-height: 1.5; color: var(--ink-60); max-width: 56ch; text-wrap: pretty; }
.body { color: var(--ink-60); max-width: 60ch; text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--ink-60); }
.cap { font-size: var(--fs-cap); line-height: 1.4; color: var(--ink-60); }
/* 12 Nov (Avi): one grey for every dimmed headline half, H1 included: ink-60 (#8A8F98 on dark).
   Was ink-40 (#62666d) on H1s and ink-60 on H2s. */
.dim { color: var(--dim); }
.eyebrow { display: block; font-size: var(--fs-small); line-height: 1.2; font-weight: 500; color: var(--ink-60); margin-bottom: var(--s4); }

/* ---------- Layout ---------- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (max-width: 1199px) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s5); align-items: end; margin-bottom: var(--head-gap); }
.split > :first-child { grid-column: 1 / span 7; }
.split > :last-child:not(:first-child) { grid-column: 8 / span 5; }
@media (max-width: 1199px) { .split { grid-template-columns: 1fr; } .split > :first-child, .split > :last-child:not(:first-child) { grid-column: auto; } }
.head { margin-bottom: var(--head-gap); }
.head .lede { margin-top: var(--s5); }

/* Open columns of copy. No rule above them (10 Nov, Avi: "we do not use these floating lines above a
   text block. Let's completely remove this style"): a line that joins nothing, sitting over a heading
   and a paragraph, reads as decoration. Whitespace and the heading carry the grouping, as Linear's
   benefit grids do. Lines stay where they have a job: the chapter line, rows in a list or table, a
   figure's own strokes, the nav and the stats strip.
   Was: .cells > * { border-top: 1px solid var(--line-strong); padding-top: var(--s6); } */
/* 10 Nov, later the same day (Avi: without the rule "they look slightly floating. Put them in a
   container, same as we use for visualisations"): each cell is a panel. Square, 1px, the panel's
   padding, siblings touching and sharing one line, exactly as home's team-size paths already did.
   Built with a 1px gap and a 1px frame drawn as a shadow, in the line colour mixed solid against the
   page, so where two frames overlap in the gap they read as one line, and a short last row leaves
   no ghost block. This reverses "copy is never boxed" (7 Nov) for copy columns; DESIGN_SYSTEM.md. */
.cells { --pp: var(--s6); display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; padding: 1px; }
.cells > * { min-width: 0; padding: var(--pp); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, var(--paper)); }
/* 10 Nov mobile audit: a card title always sits a beat above its body (support had none, so the two ran together).
   Page files may still tune it (uc.css uses --s2). */
.cells .h4 + .body { margin-top: var(--s3); }
@media (max-width: 1199px) { .cells { --cols: 2 !important; } }
@media (max-width: 767px) { .cells { --cols: 1 !important; --pp: var(--s5); } }

/* Feature grid (Linear AI): hairline cells, a fading UI fragment on top, title and line below */
.fgrid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-frame); overflow: hidden; }
.fgrid > * { padding: var(--s7); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.fgrid > :nth-child(2n) { border-right: 0; }
@media (max-width: 767px) { .fgrid { grid-template-columns: 1fr; } .fgrid > * { border-right: 0; padding: var(--s5); } }

.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stats > div { padding: var(--s5) var(--s5) var(--s5) var(--s6); border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stat-n { font-weight: 500; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.03em; }
.stat-c { margin-top: var(--s2); font-size: var(--fs-small); color: var(--ink-60); max-width: 30ch; }
@media (max-width: 767px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: var(--s5) var(--s4); border-left: 0; }
  .stats > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .stats > div:nth-child(2n+1) { padding-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* 9 Nov: an odd last stat (MCP on the homepage) takes the whole row, so its top rule runs edge to
     edge instead of stopping halfway under a column that isn't there. */
  .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 18px; border-radius: var(--r-cta); font: 500 15px/1 var(--font-body); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: opacity var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { opacity: 0.88; }
.btn-secondary { background: var(--fill-soft); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: color-mix(in srgb, var(--ink) 9%, transparent); }
/* One button shape sitewide. 7 Nov: 10px corners. 8 Nov: pills again (--r-cta), set against the square frames. .arr kept for restoring the arrow (see _build/site.py SHOW_ARROW). */
.btn .arr { display: inline-block; transition: transform var(--t-hover) var(--ease); }
.btn:hover .arr { transform: translateX(2px); }
.ctas { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
/* Primary sits right of the secondary, matching the nav, on every screen.
   9 Nov (Avi): on phones the pair hugs its labels and stays side by side, as on web. Was: two
   full-width buttons stacked, primary lifted to the top. Under 360px the side padding steps down
   so both still fit one line at 320. */
@media (max-width: 359px) { .ctas .btn { padding: 0 14px; } }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 500; color: var(--ink); padding-block: var(--s3); text-decoration: none; }
.more::after { content: "→"; color: var(--ink-60); transition: transform var(--t-hover) var(--ease); }
.more:hover::after { transform: translateX(2px); }
.more.ext::after { content: "↗"; }
.linkrow { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); align-items: center; }
.linkrow a { font-size: var(--fs-small); font-weight: 500; padding-block: var(--s3); color: var(--ink-80); text-decoration: none; }
.linkrow a:hover { color: var(--ink); }

/* ---------- Navigation: a floating bar, four links ----------
   8 Nov: quieter and wider. The bar spans the content column (the default .wrap width, was 920px)
   with the separator hairline (--line, was --line-strong) and no inset highlight. Links sit in the
   centre, CTAs on the right. The four corner nodes copy the section separators' geometry exactly
   (5px --node squares centred on the corner of the 1px stroke; the separator nodes were moved
   2px out to the same centre on 8 Nov, from flush inside the column edge), so while scrolling
   the bar's nodes pass over each separator's nodes.
   Fill 90% (was 78%): over the light testimonial band the thinner fill mixed into a mid-grey
   slab and the dim links vanished. An adaptive light nav was considered and not chosen (8 Nov). Restore the capsule: width min(920px, 100%),
   --line-strong, the inset shadow, flex with margin-left:auto on .nav-links, drop ::before/::after. */
.nav { position: sticky; top: 12px; z-index: 50; margin-top: 12px; pointer-events: none; }
.nav .wrap { pointer-events: auto; height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s5); padding: 0 8px 0 18px; border-radius: var(--r-frame); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 90%, transparent); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.nav .wrap::before, .nav .wrap::after { --n: var(--node); content: ""; position: absolute; left: -3px; right: -3px; height: 5px; pointer-events: none; background: linear-gradient(var(--n), var(--n)) left / 5px 5px no-repeat, linear-gradient(var(--n), var(--n)) right / 5px 5px no-repeat; }
.nav .wrap::before { top: -3px; }
.nav .wrap::after { bottom: -3px; }
/* 10 Nov (Avi: "the square on the separator crosses the nav bar and is seen slightly"). A chapter
   node is centred on the column edge, and so is the bar's side border, so while a line runs behind
   the bar its nodes poke out past the border as a 2px purple tab (and show faintly through the 90%
   fill). site.js ("Chapter nodes under the bar") hides a chapter's nodes while its line sits between
   the bar's top and bottom borders; the hairline itself keeps running under the bar. The swap happens
   where the line meets a bar corner node, which covers the chapter node exactly, so it can't be seen.
   Considered and not chosen: chapter nodes flush inside the column (undoes the 8 Nov shared centre,
   still shows through the fill); a page-coloured 3px collar on the bar (gaps every hairline, wrong
   colour over the footer); drawing the nodes over the bar (a fifth node on the bar, more noise).
   Restore: delete this rule and the site.js block. */
.section.under-nav::before, .section.under-nav::after { visibility: hidden; }
/* 10 Nov (Avi, phone): purple nodes vanish once a row of them sits over the purple footer, so that
   row turns white, the footer's own node colour. Each row switches on its own (site.js "Nav nodes
   over the footer"): at the hand-off the top pair is still on the dark page while the bottom pair is
   on purple. Alternative Avi offered: the page's dark (var(--paper)), swap the value below.
   Restore: delete these two rules and the site.js block. */
.nav.top-on-footer .wrap::before, .nav.bot-on-footer .wrap::after { --n: #fff; }
.nav-logo { justify-self: start; display: flex; align-items: center; height: 44px; }
.nav-logo img { width: 84px; height: auto; }
/* Links (10 Nov, Avi: "better hover states, it's very very subtle", see linear.app's top nav).
   Linear, measured at 1440: 32px pills, 12px sides, transparent at rest; hover fills white 8% and the
   text goes to full ink; the button whose menu is open keeps the fill. Borrowed as is, in our tones.
   This brings back the pill hover pulled on 8 Nov (no reason was recorded). It also makes the bar
   consistent: Sign in already had a pill hover, so the bar had two hover behaviours.
   Was: no fill, dim to ink only, hit area the full bar height. The current page stays ink, no fill. */
/* Pill pulled again the same day (Avi, 10 Nov: "remove the pill bg on hover of the nav items. Only
   the extended menu items to have hover bg"). The bar's links are back to dim-to-ink with the full
   bar height as the hit area; the fill now lives only on menu rows. Restore the pill: height 32px,
   padding 0 12px, border-radius var(--r-cta), and an ink 8% background on hover and on an open button. */
.nav-links { grid-column: 2; align-self: stretch; display: flex; }
/* 12 Nov (V3): nav at rest is ink-60 (6.13:1 on the page ground). Was ink-40, 3.45:1, under the 4.5:1 floor. */
.nav-links a, .nav-trig { display: flex; align-items: center; padding: 0 14px; font-size: 14px; color: var(--ink-60); white-space: nowrap; transition: color var(--t-hover) var(--ease); }
.nav-links a:hover, .nav-trig:hover, .nav-trig[aria-expanded="true"] { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
/* Menu buttons (10 Nov, IA rev 2): the same link, plus a 1px chevron that turns when the menu is
   open. Full ink while its menu is open or holds the current page. */
.nav-trig { gap: 6px; border: 0; background: none; cursor: pointer; }
.nav-trig.is-current { color: var(--ink); }
.nav-trig svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform var(--t-ui) var(--ease); }
.nav-trig[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: var(--s2); }
/* Sign in matches the Book a demo box (40px, 14px sides) so its pill hover is the same size. */
.nav-end .signin { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 14px; color: var(--ink-60); border-radius: var(--r-cta); white-space: nowrap; transition: color var(--t-hover) var(--ease), background-color var(--t-hover) var(--ease); }
.nav-end .signin:hover { color: var(--ink); background: var(--fill-soft); }
.nav-end .btn { min-height: 40px; font-size: 14px; padding: 0 14px; }
.nav-end .btn .arr { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; } /* the bars-to-cross motion is the tap feedback */
.menu-btn span { position: relative; width: 18px; height: 1.5px; background: var(--ink); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
/* 8 Nov: 1099px (was 899px). Six links need about 1100px before the centred group
   meets the logo or Sign in; below that the bar becomes logo, demo button and menu. */
@media (max-width: 1099px) {
  .nav-links, .nav-end .signin { display: none; }
  .nav-end { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 519px) { .nav-end .btn { display: none; } }

/* Nav menus (10 Nov, IA rev 2, 6.1; third version the same day). Product, Use cases and Company
   open one floating box 8px under the bar, Attio's pattern (attio.com/architecture, measured 10 Nov
   at 1440: one panel for every menu, sized to its content, about 6px under the header).
   Anchor: each menu opens under its own button, kept inside the bar's edges, and switching slides
   the box across as it resizes. Attio and Linear pin one anchor for every menu, which works because
   their menu buttons sit at one end of the bar; ours are centred, so a fixed anchor put Company's
   menu under Product (Avi, 10 Nov: "opening weirdly on left"). Borrowed: the one persistent box that resizes
   when you move between menus while the old content slides out and the new slides in, headed groups
   of label-plus-one-line rows, and opening on hover as well as click. Kept ours: square corners
   (--r-frame), the bar's own fill, blur and hairline, no shadow, no tinted side column, no icons.
   Pulled (Avi, 10 Nov: "let's not expand the same nav box"): the bar growing in place to hold the
   menu. Restore: _legacy/nav-inplace-menus-10nov/ (site.css, site.js, site.py).
   Beats: open, 200ms fade with a 4px rise; switch, the box tweens to the new size over 320ms while
   the old content fades out 8px toward where it came from and the new one fades in from 8px on the
   other side; close, 150ms. Hover opens after 60ms and closes 200ms after the pointer leaves both
   the button and the box, so it can cross the gap. Reduced motion: everything snaps (global rule).
   Inactive menus are visibility: hidden, so their links leave the tab order but can be measured. */
.nav-pop { display: none; }
@media (min-width: 1100px) {
  /* Two layers. .nav-pop positions, fades and owns the 8px gap: it starts flush under the bar
     (top 56px) with 8px of transparent padding, so the gap is part of the menu's hover area and the
     pointer is never outside both button and menu on its way down (10 Nov, Avi). .nav-pop-box is
     the visible frame and the thing that resizes; it clips the sliding content. */
  .nav-pop {
    display: block; position: absolute; top: 56px; left: 0; z-index: 1; padding-top: var(--s2); pointer-events: none;
    visibility: hidden; opacity: 0; transform: translateY(-4px);
    transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 0s 150ms, left 320ms var(--ease);
  }
  .nav-pop.is-open { pointer-events: auto; visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s, left 320ms var(--ease); }
  .nav-pop-box {
    position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-frame);
    background: color-mix(in srgb, var(--surface-2) 90%, transparent); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
    transition: width 320ms var(--ease), height 320ms var(--ease);
  }
  /* First open: appear at size and in place, don't slide or grow from the last menu. */
  .nav-pop.no-size { transition-property: opacity, transform, visibility; }
  .nav-pop.no-size .nav-pop-box { transition: none; }
}
/* 12 Nov: the outgoing menu fades in 90ms (was 150ms) so the two menus' labels barely overlap during a switch. */
.nav-menu { position: absolute; top: 0; left: 0; display: flex; width: max-content; visibility: hidden; opacity: 0; transform: translateX(var(--from, 0px)); transition: opacity 90ms var(--ease), transform 250ms var(--ease), visibility 0s 250ms; }
/* 12 Nov: the new menu fades in at once (was a 50ms delay), so a switch never shows an empty box between the two. */
.nav-menu.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease), transform 320ms var(--ease), visibility 0s; }
/* Spacing (10 Nov, Avi: "top padding feels more than other sides"; rows need "16px all around").
   The box pads 8px on every side, so a hovered row's tile sits 8px inside the edge all round, and
   every row pads 16px, so text sits 24px from each edge of the box, top and bottom included.
   Was: 24px top, 24px sides, 16px bottom on the column plus 8px rows, so the top read heavier.
   A group heading takes the row's 16px inset on top and sides, so it lines up with the text below. */
.nm-col { padding: var(--s2); }
.nm-col + .nm-col { border-left: 1px solid var(--line); }
/* 10 Nov (Avi, on the compare picker: "separators between sections"): groups in one column split by a
   hairline, inset to the row tiles. Was: an 8px gap only. */
.nm-group + .nm-group { margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.nm-h { padding: var(--s4) var(--s4) var(--s1); font-size: var(--fs-cap); color: var(--ink-60); }
.nm-list { display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 1), auto); }
/* Rows (10 Nov): one line each, as Attio's; the box sizes to the longest. Hover and keyboard focus fill
   the row as a tile (Linear: a lighter tile behind the item, about white 5%). Ours is square, since the
   site frame is square. */
.nm-list a { display: block; padding: var(--s4); font-size: var(--fs-small); text-decoration: none; white-space: nowrap; transition: background-color var(--t-hover) var(--ease); }
.nm-list a:hover, .nm-list a:focus-visible { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nm-list a:focus-visible { outline-offset: 0; border-radius: 0; }
.nm-list b { display: block; font-weight: 500; color: var(--ink-80); transition: color var(--t-hover) var(--ease); }
.nm-list span { display: block; color: var(--ink-60); }
.nm-list a:hover b, .nm-list a[aria-current="page"] b { color: var(--ink); }

/* The menu opens the bar in place (9 Nov, Avi: "expand the floating nav right there, hamburger
   turns into a cross, animate open and closed, no CTAs"). Borrowed from Linear's and Vercel's phone
   menus: the bar is the menu. Kept ours: the bar's own fill, hairline and corner nodes; links in
   the dim-to-ink voice of the desktop links; the current page in full ink.
   Motion: the bar's second row grows from 0fr to 1fr (420ms, the site curve) and the links fade
   down in a 30ms stagger behind it. Closing is quicker and unstaggered. The bars meet, then cross;
   closing reverses. With reduced motion everything snaps (the global rule at the end of this file).
   Collapsed, the drawer is visibility: hidden, so its links leave the tab order without script.
   The full-page .sheet below is the previous menu, kept for restore (site.py sheet_legacy()). */
.nav-drawer { display: none; }
@media (max-width: 1099px) {
  /* The header keeps the closed bar's height, so the open bar grows over the page instead of
     pushing it down (9 Nov, Avi: "the nav expansion is pushing the page below down"). */
  .nav { height: 56px; }
  /* 54px row + the 1px top and bottom borders = the closed bar's 56px, so nothing below it moves. */
  .nav .wrap { height: auto; grid-template-rows: 54px 0fr; row-gap: 0; transition: grid-template-rows 320ms var(--ease); }
  .nav.is-open .wrap { grid-template-rows: 54px 1fr; transition-duration: 420ms; }
  /* 12 Nov (Avi: "when the menu is expanded, the page behind shouldn't scroll"): the page holds
     still while the menu is open; only the drawer's own list scrolls. Reverses 9 Nov's "no scroll
     lock". The gutter stays reserved so a narrow desktop window with a classic scrollbar doesn't
     shift sideways when the lock lands. */
  html.menu-open { overflow: hidden; scrollbar-gutter: stable; }
  /* align-self: stretch, so mid-animation the drawer fills its growing row and clips from the bottom
     (the bar centres its items, which centred the half-grown drawer and pushed its rule up into the logo row). */
  .nav-drawer { display: block; grid-column: 1 / -1; grid-row: 2; align-self: stretch; min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s 320ms; }
  .nav.is-open .nav-drawer { visibility: visible; transition-delay: 0s; }
  /* 10 Nov: the drawer now holds the same groups as the desktop menus (about 20 rows), so it
     scrolls inside the bar once it is taller than the screen. */
  .drawer-links { display: flex; flex-direction: column; padding: var(--s2) 10px var(--s3) 0; border-top: 1px solid var(--line); max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; }
  /* 12 Nov (Avi: Use cases "loads till Business change, then after a lag the rest"): rows never
     shrink. While a group animates open it has overflow: hidden, so the capped flex column squeezed
     it to the space left (255px of 496px on a 390px phone); the rest snapped in when the clip came off. */
  .drawer-links > * { flex: none; }
  /* 10 Nov: a group is an accordion row (Avi: "should not be 1 big open menu"). The summary reads
     as a sibling of the plain link rows (same size, tone, height) with the desktop trigger's chevron,
     which turns when open. Its links sit indented one step, so the nesting reads without a label.
     Was: a quiet 14px group label with every link always shown (.drawer-h). */
  .drawer-acc { --i: 0; opacity: 0; transform: translateY(-6px); transition: opacity 140ms var(--ease), transform 200ms var(--ease); }
  .nav.is-open .drawer-acc { opacity: 1; transform: none; transition: opacity 260ms var(--ease) calc(90ms + var(--i) * 30ms), transform 360ms var(--ease) calc(90ms + var(--i) * 30ms); }
  .drawer-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 17px; letter-spacing: -0.01em; color: var(--ink-60); transition: color var(--t-hover) var(--ease); }
  .drawer-acc summary::-webkit-details-marker { display: none; }
  .drawer-acc summary:focus-visible { outline-offset: -2px; } /* the drawer clips overflow, so an outside ring lost its left edge */
  .drawer-acc summary:hover, .drawer-acc[open]:not(.is-closing) summary { color: var(--ink); }
  .drawer-acc summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; transition: transform var(--t-ui) var(--ease); }
  .drawer-acc[open]:not(.is-closing) summary svg { transform: rotate(180deg); }
  .drawer-acc .a { padding: 0 0 var(--s2) var(--s4); }
  .drawer-links .drawer-acc .a a { min-height: 44px; font-size: 16px; transition-delay: 0s; }
  .drawer-links a { --i: 0; display: flex; align-items: center; min-height: 48px; font-size: 17px; letter-spacing: -0.01em; color: var(--ink-60); opacity: 0; transform: translateY(-6px); transition: opacity 140ms var(--ease), transform 200ms var(--ease), color var(--t-hover) var(--ease); }
  .drawer-links a:hover, .drawer-links a[aria-current="page"] { color: var(--ink); }
  /* Sign in: same size and tone as the page links, set apart by a hairline (9 Nov, Avi). */
  .drawer-links .drawer-signin { margin-top: var(--s2); border-top: 1px solid var(--line); }
  .nav.is-open .drawer-links a { opacity: 1; transform: none; transition: opacity 260ms var(--ease) calc(90ms + var(--i) * 30ms), transform 360ms var(--ease) calc(90ms + var(--i) * 30ms), color var(--t-hover) var(--ease); }
  /* The stagger index (--i) is set on each row by _build/site.py, capped at 12. */
  /* Bars to cross: the outer bars slide to the middle, then rotate; the middle bar goes as they meet. */
  .menu-btn span { transition: background-color 0s 150ms; }
  .menu-btn span::before, .menu-btn span::after { transition: top 150ms var(--ease) 150ms, transform 150ms var(--ease); }
  .nav.is-open .menu-btn span { background-color: transparent; }
  .nav.is-open .menu-btn span::before, .nav.is-open .menu-btn span::after { top: 0; transition: top 150ms var(--ease), transform 150ms var(--ease) 150ms; }
  .nav.is-open .menu-btn span::before { transform: rotate(45deg); }
  .nav.is-open .menu-btn span::after { transform: rotate(-45deg); }
}

.sheet { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: flex; flex-direction: column; padding: 0 var(--side) var(--s7); overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet-top { height: 80px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.sheet-close { width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; font-size: 28px; line-height: 1; color: var(--ink); }
.sheet-links { display: flex; flex-direction: column; margin-top: var(--s4); }
.sheet-links a { font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.sheet .ctas { margin-top: var(--s6); }
.sheet .signin { margin-top: var(--s5); font-size: var(--fs-body); color: var(--ink-80); padding-block: var(--s3); }
body.sheet-open { overflow: hidden; }

/* ---------- Product visuals (Linear kit) ----------
   .plate  the frame: the product window itself. A 1px 8% border, 12px radius and a flat fill,
           with the view inset 8px inside it. Light catches only the top-left corner (the shine).
           7 Nov: replaced the padded "lit plate", which read as a thick double border.
   .ui     a panel. Inside a frame it becomes the inset view: a fainter 5% border, 8px radius and
           a 2px dark ring, so frame and view separate cleanly without a second heavy line.
   .fade-b / .fade-r  long fragments dissolve into the page instead of ending in a hard edge. */
.plate { position: relative; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 4%, var(--paper)); }
.plate::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); pointer-events: none; -webkit-mask-image: radial-gradient(280px 220px at 6% 0%, #000, rgba(0, 0, 0, 0.35) 45%, transparent 78%); mask-image: radial-gradient(280px 220px at 6% 0%, #000, rgba(0, 0, 0, 0.35) 45%, transparent 78%); }
.plate > .ui, .plate .view { border-color: color-mix(in srgb, var(--ink) 5%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--ink) 1.5%, transparent); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2); }
.ui, .shot, .app { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-ui); box-shadow: inset 0 1px 0 var(--highlight); color: var(--ink-80); font-size: var(--fs-cap); line-height: 1.45; overflow: hidden; }
.shot > .app { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.fade-b { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent); }
.fade-r { -webkit-mask-image: linear-gradient(to right, #000 70%, transparent); mask-image: linear-gradient(to right, #000 70%, transparent); }
.shot-cap { margin-top: var(--s3); font-size: var(--fs-cap); color: var(--ink-60); }
/* 7 Nov: "Illustrative" labels pulled sitewide (obvious on a product site). */
.tag-illus { display: none !important; }
.app-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 10px var(--s4); border-bottom: 1px solid var(--line); color: var(--ink-60); }
.app-body { padding: var(--s4); }
.app-title { font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--fill-soft); border: 1px solid var(--line); color: var(--ink-80); white-space: nowrap; font-size: var(--fs-cap); }
.chip.on { background: var(--ink); color: var(--on-ink); border-color: transparent; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--ink-40); }
.dot.ok { background: var(--st-done); } .dot.warn { background: var(--st-review); } .dot.acc { background: var(--st-progress); }
.mini-btn { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; background: var(--ink); color: var(--on-ink); font-weight: 500; white-space: nowrap; font-size: var(--fs-cap); }
.mono { font-family: var(--font-mono); }

/* Fragment pieces shared by the homepage, /customers/ and /pricing/ (moved from home.css 8 Nov).
   .activity: a ticket's trail on one vertical line. .lines: one row lit, neighbours dim (Linear's code highlight). */
/* 14 Nov (Avi: "bad rendering on the avatar, the connecting stroke"): the trail was one line under every
   marker, masked by a 4px halo. Dim rows are translucent, so the line showed through the Twin discs and the
   Qualys tile, the halos chopped it into dashes, and the photo got a double ring. Now each row draws its own
   segment from below its marker to just above the next one, with a small gap (Linear's activity trail), so
   nothing passes behind a marker and no halo is needed. Every marker is one 24px circle so the column
   reads as one edge. Marker sits at the row's top so the segment math holds when a line wraps. */
.activity li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: 8px 0; color: var(--ink-80); max-width: 640px; }
.activity li > :first-child { align-self: start; justify-self: center; }
.activity li:not(:last-child)::after { content: ""; position: absolute; left: 11.5px; top: calc(8px + 24px + 3px); bottom: calc(3px - 8px); width: 1px; background: var(--line-strong); }
.activity .tool { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-strong); box-sizing: border-box; }
.activity .st-done { width: 24px; height: 24px; }
.activity .st-done::after { width: 5px; height: 9.5px; border-width: 0 2px 2px 0; --ck-dy: 1px; }
/* 14 Nov (Avi): one colour per line. The actor was white and the rest grey; the weight alone now marks who acted.
   Was: b in --ink, the sentence in --ink-60. */
.activity b { font-weight: 500; }
.activity time { font-size: var(--fs-cap); color: var(--ink-40); }
.activity li.dim-row { opacity: 0.45; }
.lines { width: 78%; font-size: var(--fs-small); }
.lines li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: 10px var(--s4); color: var(--ink-60); opacity: 0.5; border-radius: 8px; }
.lines .s { color: var(--ink-40); white-space: nowrap; }
.lines li.hi { opacity: 1; color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.lines li.hi .s { color: var(--ink-60); }

/* Slack pieces (real Slack dark-theme conventions): rounded-square avatars, the blue mention, the APP badge.
   Moved from home.css 8 Nov; the homepage hero and the Product page share them. */
.av-sq { width: 22px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; background: #2a6a52; color: #fff; }
.av-sq img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.av-sq-app { background: #121316; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.av-sq-app img { width: 12px; height: auto; border-radius: 0; } /* 12 Nov: the Axari mark keeps its sharp corners. .av-sq img inherits the tile radius for photos, and on the mark that rounded off the parallelogram's points and the triangle (Avi: "looks different"). Never clip the mark. */
.mention { color: #1d9bd1; background: rgba(29, 155, 209, 0.12); border-radius: 3px; padding: 0 2px; }
.app-tag { display: inline-flex; align-items: center; height: 15px; padding: 0 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); color: #ababad; font-size: 10px; font-weight: 600; margin-left: 2px; vertical-align: 1px; }

/* ---------- Panels (v4.1) ----------
   Every figure (chart, flow, diagram, track) and the Use cases grid sit in one container: a 1px
   hairline, 12px corners, no fill. Product screens keep their own window (.plate).
   7 Nov late: bare figures were pulled ("too floating"), and so were Fig captions ("not needed").
   .fig-cap is kept below, unused, so a caption can come back without new CSS. */
.panel { --pp: var(--s7); border: 1px solid var(--line); border-radius: var(--r-frame); padding: var(--pp); min-width: 0; }
@media (max-width: 767px) { .panel { --pp: var(--s5); } }
/* Stacked panels touch and share one hairline, like the Use cases grid (7 Nov: "no space in
   between"). Only the outer corners are rounded. */
.panel:has(+ .panel) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* One line per joint: the next panel drops its top border. Overlapping the two borders by 1px
   stacked two translucent hairlines, so every joint read darker than the outer edge (7 Nov). */
.panel + .panel { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
/* A link row that closes a panel runs edge to edge and sits on the panel's bottom border, each
   link padded inside its own cell (7 Nov reference). The outer cells line up with the panel's
   text. !important only where the generic .linkcols breakpoints use it. */
.panel:has(> .linkcols:last-child) { padding-bottom: 0; }
.panel > .linkcols:last-child { margin: var(--s6) calc(-1 * var(--pp)) 0; }
.panel > .linkcols:last-child a { min-height: 64px; padding-inline: var(--s5); }
.panel > .linkcols:last-child li:first-child a { padding-left: var(--pp); }
@media (max-width: 1199px) { .panel > .linkcols:last-child li:nth-child(3n+1) a { padding-left: var(--pp); } }
@media (max-width: 767px) { .panel > .linkcols:last-child li:nth-child(n) a { padding-left: var(--s5) !important; } .panel > .linkcols:last-child li:nth-child(2n+1) a { padding-left: var(--pp) !important; } }
@media (max-width: 479px) { .panel > .linkcols:last-child li:nth-child(n) a { padding-left: var(--pp) !important; } }
.fig-cap { display: flex; gap: var(--s3); align-items: baseline; margin-bottom: var(--s5); font: 400 var(--fs-cap)/1.4 var(--font-mono); color: var(--ink-60); letter-spacing: 0; }
.fig-cap .fig-n { color: var(--ink-40); }
/* A work signal: the one moving mark in a diagram. A dot is always a unit of work travelling
   (into the Twin, through a gate, up to a person). It is never a texture. */
.sig { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--ink-80); pointer-events: none; }
/* Open link columns (Linear's "Features" row): hairline dividers, no boxes. */
.linkcols { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.linkcols li { border-left: 1px solid var(--line); min-width: 0; }
.linkcols li:first-child { border-left: 0; }
.linkcols a { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 52px; padding: 0 var(--s4); font-size: var(--fs-small); font-weight: 500; color: var(--ink-80); text-decoration: none; transition: color var(--t-hover) var(--ease); }
.linkcols li:first-child a { padding-left: 0; }
.linkcols a::after { content: "→"; color: var(--ink-40); transition: transform var(--t-hover) var(--ease), color var(--t-hover) var(--ease); }
.linkcols a:hover { color: var(--ink); }
.linkcols a:hover::after { transform: translateX(2px); color: var(--ink-60); }
@media (max-width: 1199px) { .linkcols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .linkcols li:nth-child(3n+1) { border-left: 0; } .linkcols li:nth-child(3n+1) a { padding-left: 0; } .linkcols li:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 767px) { .linkcols { grid-template-columns: 1fr 1fr; } .linkcols li { border-left: 0 !important; border-top: 1px solid var(--line); } .linkcols li:nth-child(-n+2) { border-top: 0; } .linkcols a { padding-left: 0 !important; } .linkcols li:nth-child(2n) a { padding-left: var(--s4) !important; } .linkcols li:nth-child(2n) { border-left: 1px solid var(--line) !important; } }
@media (max-width: 479px) { .linkcols { grid-template-columns: 1fr; } .linkcols li:nth-child(n) { border-left: 0 !important; border-top: 1px solid var(--line); } .linkcols li:nth-child(n):first-child { border-top: 0; } .linkcols a, .linkcols li:nth-child(2n) a { padding-left: 0 !important; } }
/* Link columns with a brand mark above each label (homepage compare row, 8 Nov reference).
   Marks are one-colour svgs filled with currentColor, so they rest at the label's dimmed ink and
   brighten with it on hover. No brand colours: a row of competitor colours would outshout ours.
   A cell with no brand keeps an empty logo slot so every label sits on one line.
   9 Nov (Avi): phones keep the web layout, mark above label, in two columns. Was (8 Nov): one
   column with the mark inline, which indented "All comparisons" behind its empty logo slot. */
.linkcols-logos a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; row-gap: var(--s4); padding-block: var(--s5); }
.linkcols-logos .lc-logo { grid-column: 1 / -1; display: block; width: 28px; height: 28px; }
.linkcols-logos .lc-logo svg { display: block; width: 100%; height: 100%; fill: currentColor; }
@media (max-width: 479px) {
  .linkcols-logos { grid-template-columns: 1fr 1fr; }
  .linkcols-logos li:nth-child(2) { border-top: 0; }
  .linkcols-logos li:nth-child(2n) { border-left: 1px solid var(--line) !important; }
  .linkcols-logos li:nth-child(2n) a, .panel > .linkcols-logos:last-child li:nth-child(2n) a { padding-left: var(--s4) !important; }
  .linkcols-logos a { row-gap: var(--s3); padding-block: var(--s4); }
  .linkcols-logos .lc-logo { width: 24px; height: 24px; }
}
/* 7 Nov: the Approve + Review pair lives here so every page spaces it the same way. It used to sit in
   uc.css only, and the homepage brief used an unstyled class, so the two buttons touched. */
.msg-actions { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); }
/* 9 Nov: Review (a .chip, 22px) sat 2px shorter than Approve (.mini-btn, 24px). Inside the pair the chip
   takes the button's height and padding; standalone chips elsewhere keep 22px. */
.msg-actions .chip { height: 24px; padding: 0 10px; }
.tool { width: 16px; height: 16px; border-radius: 4px; object-fit: contain; flex: none; }
.rows { display: flex; flex-direction: column; }
.rows > li, .rows > div { display: flex; align-items: center; gap: var(--s3); padding: 9px 0; border-top: 1px solid var(--line); min-width: 0; }
.rows > :first-child { border-top: 0; }
.rows .grow { flex: 1; min-width: 0; }
.rows .t { color: var(--ink); }
.rows .s { color: var(--ink-60); }
.state { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-60); white-space: nowrap; }

/* Status glyphs (Linear): todo ring, in progress half, needs you three-quarter, done check */
.st { width: 14px; height: 14px; border-radius: 50%; flex: none; position: relative; display: inline-block; }
.st-todo { border: 1.5px dashed var(--ink-40); }
.st-progress { border: 1.5px solid var(--st-progress); background: conic-gradient(var(--st-progress) 0 50%, transparent 50% 100%); background-clip: content-box; padding: 2px; }
.st-review { border: 1.5px solid var(--st-review); background: conic-gradient(var(--st-review) 0 75%, transparent 75% 100%); background-clip: content-box; padding: 2px; }
.st-done { background: var(--st-done); }
/* 8 Nov (D5): blocked, a neutral ring with a bar (Linear's "blocked" reads as a stop, not an alarm).
   Grey on purpose: a blocked item waits on someone else, it is not failing. */
.st-blocked { border: 1.5px solid var(--ink-60); }
.st-blocked::after { content: ""; position: absolute; left: 2.5px; right: 2.5px; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ink-60); }
/* The check is an L rotated 45deg. Centred from the middle so it holds at any glyph size (was hand-placed
   for 14px and sat ~0.75px left and ~0.5px high). Rotated, the L's ink sits lower than its box, so --ck-dy
   lifts it back. 9 Nov: re-measured at 10x in headless Chrome, 0.75px puts the tick's ink box dead centre
   at both 14px and 12px. The earlier 1.41px / 1.06px (from a cos 45deg formula) left it ~0.6px high. */
.st-done::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3.5px; height: 6.5px; border: solid var(--paper); border-width: 0 1.5px 1.5px 0; transform: translate(-50%, calc(-50% - var(--ck-dy, 0.75px))) rotate(45deg); }

/* Avatars and the Twin mark */
.av { width: 24px; height: 24px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; background: var(--surface-2); color: var(--ink-80); border: 1px solid var(--line-strong); overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
/* People always show a photo (.av > img); only the Twin is a letter. 7 Nov: the Twin was a tinted
   disc with a purple ring, and people were grey initials, so the two read as the same kind of thing.
   A face for a person and a solid logo-purple T for the Twin tells them apart at a glance. */
.av-twin { background: var(--accent); border-color: transparent; color: #fff; }

/* ---------- Voice: a person's own words (7 Nov, v7) ----------
   One system for every customer, investor and expert quote on the site. Two registers, one
   attribution, left-aligned on the content edge everywhere.
   - .voice-anchor + .quote-anchor (serif): the quote IS the chapter. At most one per page.
   - .voice + .quote (sans, 20px): a quote that supports or closes a chapter. Stands open, no box.
   - A set of voices (.voices): each voice in its own .panel, equal height, names on one line.
     Up to three sit in a row; more go on a rail (.voices-rail) that bleeds to the viewport edge.
   - .person: the one attribution. A 40px photo when we have one (none means none, never a
     monogram), the name in ink, role and company in grey on the next line.
   Pulled: hairline rules over quote columns (Avi, 7 Nov: "cluttered"), centred quote bands,
   the one-line "Name · Role" caption, and the 44px avatar variant. */
.quote { font-size: var(--fs-l); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.quote-anchor { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 21.2px + 2.347vw, 48px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.person { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s4); font-size: var(--fs-small); line-height: 1.4; }
.person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; filter: grayscale(0.2); flex: none; }
.person b { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
.person span { display: block; font-size: var(--fs-small); color: var(--ink-60); }
.voice { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.voice > .person { margin-top: auto; }
.voice:not(.panel) > .quote { max-width: 44ch; }
.voice-anchor { max-width: 880px; gap: var(--s7); }
.voice.panel { --pp: var(--s6); height: 100%; }
/* Customer logo at the top of a quote card. A fixed-height slot, so a card without a logo still
   starts its quote on the same line. Uses .logo-mono for colour; each img sets its own optical height. */
.voice-mark { display: flex; align-items: center; height: 24px; }
.voice-mark img { display: block; width: auto; max-width: 140px; }
/* Voices sit side by side with a gap, so they keep every edge (the stacked-panel join is for figures). */
.voices > .voice.panel { border: 1px solid var(--line); border-radius: var(--r-frame); }
.voices { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--s4); list-style: none; padding: 0; }
@media (max-width: 1199px) { .voices { --cols: 2 !important; } }
@media (max-width: 767px) { .voices { --cols: 1 !important; gap: var(--s3); } .voice.panel { --pp: var(--s5); } }
/* The rail: about three voices at 1440, the next peeks past the column. Scroll-snap does the work,
   so it swipes and trackpad-scrolls with no script; site.js adds the arrows (.voices-nav). */
.voices-rail { --bleed: max(var(--side), calc((100vw - var(--max)) / 2)); display: flex; margin-inline: calc(-1 * var(--bleed)); padding-inline: var(--bleed); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed); scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.voices-rail::-webkit-scrollbar { display: none; }
.voices-rail:focus-visible { outline-offset: 4px; }
.voices-rail > li { flex: 0 0 min(376px, 84vw); scroll-snap-align: start; display: flex; }
.voices-nav { display: flex; gap: var(--s2); flex: none; }
.voices-nav[hidden] { display: none; }
.voices-nav button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: background-color var(--t-hover) var(--ease), opacity var(--t-hover) var(--ease); }
.voices-nav svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.voices-nav button:hover { background: var(--fill-soft); }
.voices-nav button:disabled { opacity: 0.35; cursor: default; background: transparent; }
/* 9 Nov (Avi): the arrows show on phones too, as on web; swiping still works. Was: hidden under 768px. */
@media (prefers-reduced-motion: reduce) { .voices-rail { scroll-behavior: auto; } }
.sec-voice { margin-top: var(--s9); } /* /security: closes the Control chapter */
.logo-mono { filter: grayscale(1) brightness(0) invert(1); opacity: 0.55; }
/* A customer whose only mark is an icon (Yext, Gambit) is set as its name, one treatment on every page,
   at the ink and dimming of .logo-mono so it sits with the image marks (12 Nov: one version of every asset). */
.logo-text { font-weight: 500; font-size: var(--fs-l); letter-spacing: -0.01em; color: var(--ink); opacity: 0.55; white-space: nowrap; line-height: 1; }
.invert .logo-text { opacity: 0.6; }
.voice-mark .logo-text { font-size: 17px; }
.invert .logo-mono { filter: grayscale(1) brightness(0); opacity: 0.6; }
/* 14 Nov (Avi): brand colour on the logo rows, the home strip and the /customers/ wall (moved here from home.css so both
   use one rule). Logos are recognised faster in colour, and these rows exist to build trust. Colour comes from the
   on-dark files; Boyd's file is navy, so it is whitened. Text marks lift to match. ?logos=mono (site.js) restores
   the earlier mono rows. Quote cards and story cards stay mono. */
.logos-brand:not([data-logos="mono"]) .logo-mono { filter: none; opacity: 0.9; }
.logos-brand:not([data-logos="mono"]) .logo-mono[data-tint="white"] { filter: brightness(0) invert(1); }
.logos-brand:not([data-logos="mono"]) .logo-text { opacity: 0.9; }
/* Yext: its circular mark and its name as one unit (no wordmark file exists). The unit itself has no opacity, so the mark
   and the name each take the same dimming and never compound. */
.logo-unit { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s5); padding: var(--s5) 0; font-size: var(--fs-l); line-height: 1.3; font-weight: 500; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-60); flex: none; transition: transform var(--t-ui) var(--ease); }
.faq details[open]:not(.is-closing) summary::after { transform: rotate(45deg); } /* is-closing: site.js turns the icon back at click time */
.faq .a { padding: 0 0 var(--s5); max-width: 68ch; color: var(--ink-60); }
.faq .a p + p { margin-top: var(--s3); }
/* FAQ layout: heading left, rows right (moved from home.css 8 Nov; homepage and /pricing/). */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); }
.faq-grid > :first-child { grid-column: 1 / span 4; }
.faq-grid > .faq { grid-column: 6 / span 7; }
@media (max-width: 1199px) { .faq-grid > :first-child, .faq-grid > .faq { grid-column: 1 / -1; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field label, .field legend { font-size: var(--fs-small); color: var(--ink-80); }
.input { height: 48px; padding: 0 var(--s4); border-radius: var(--r-frame); background: transparent; border: 1px solid var(--line-strong); color: var(--ink); font: inherit; width: 100%; }
.input:focus-visible { outline: none; border-color: var(--ink-60); }
/* 10 Nov (Avi: "wrong icon"): the nav's chevron (same path, same 1.2 stroke) instead of a filled triangle drawn
   with gradients. A data URI can't read a CSS variable, so the stroke is a mid grey that reads on both themes. */
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.75 5 6.75l3-3' fill='none' stroke='%238b8d93' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: calc(100% - 16px) 50%; background-size: 12px 12px; background-repeat: no-repeat; padding-right: var(--s8); }
/* Select (10 Nov, Avi: "build native dropdowns wherever we're taking system default"). site.js turns each
   select.input into this field plus one shared floating list; the rule above stays as the no-script look.
   The field is the same .input box with the same 12px chevron 16px from the right, so the closed state
   doesn't move. The chevron turns while open, as the nav's menu buttons do.
   The list borrows the nav menu box (square, the bar's 90% fill, blur and hairline, no shadow) and its
   row tile (ink 5%). The chosen row carries one mark, a check at the right in the chevron's stroke, and
   full ink; there is no bold. Rows are 44px for touch. It sits under the sticky nav (z 40 vs 50), so a
   list scrolled up behind the bar is covered rather than floating over it.
   Motion as the nav menu: 200ms fade with a 4px travel from the field's side, 150ms close. */
.sel-btn { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); text-align: left; cursor: pointer; }
.sel-btn[aria-expanded="true"] { border-color: var(--ink-60); }
.sel-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* A prompt like "Choose one" is placeholder text, not a row: it is a hidden <option> and reads in the
   compare picker's placeholder grey (10 Nov, Avi). */
.sel-btn.is-placeholder .sel-val { color: var(--ink-60); }
.sel-btn svg { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--ink-60); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-ui) var(--ease); }
.sel-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sel-pop {
  position: fixed; z-index: 40; top: 0; left: 0; margin: 0; padding: var(--s2); list-style: none;
  max-width: calc(100vw - 16px); overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: var(--r-frame);
  background: color-mix(in srgb, var(--surface-2) 90%, transparent); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  visibility: hidden; opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 0s 150ms;
}
.sel-pop.is-up { transform: translateY(4px); }
.sel-pop.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s; }
.sel-pop li { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 44px; padding: 0 var(--s4); color: var(--ink-80); white-space: nowrap; cursor: pointer; transition: background-color var(--t-hover) var(--ease), color var(--t-hover) var(--ease); }
.sel-pop li.is-active { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); }
.sel-pop li[aria-selected="true"] { color: var(--ink); }
.sel-pop li svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.sel-pop li[aria-selected="true"] svg { visibility: visible; }

/* ---------- Category chart (homepage and compare) ----------
   Same mark for every row on one five-step track; Axari is the one bar that runs the
   whole way. The chart title carries the hedge ("typically"), per the founder. */
.chain-title { font-size: var(--fs-small); font-weight: 500; color: var(--ink-80); margin-bottom: var(--s4); }
.lanes-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lanes { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.lanes col.c-name { width: 28%; }
.lanes th, .lanes td { text-align: left; vertical-align: middle; }
.steps-row th { font-size: var(--fs-cap); font-weight: 500; color: var(--ink-60); padding: 0 var(--s3) var(--s3); border-bottom: 1px solid var(--line); }
.lanes tbody th { font-weight: 400; padding: var(--s3) var(--s5) var(--s3) 0; border-bottom: 1px solid var(--line); }
.lanes tbody th a, .lanes tbody th b { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--ink-80); text-decoration: none; }
.lanes tbody th a:hover { color: var(--ink); }
.lanes tbody th span { display: block; font-size: var(--fs-cap); color: var(--ink-60); margin-top: 1px; }
.lanes tbody td { position: relative; height: 52px; border-bottom: 1px solid var(--line); }
/* 7 Nov: the thin track line behind every bar was pulled; the bars alone read as the chart. */
/* One bar height for every row (10px); Axari differs only by colour and its ticked Find segment. */
.lanes tbody td.y::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 10px; margin-top: -5px; background: var(--ink-40); }
/* 9 Nov (Avi): sharp corners, bar ends and Axari's dots both square. Restore: 5px end radii here
   (5px 0 0 5px on .s, 0 5px 5px 0 on .e, 5px on .s.e), the same on the Axari segment below, and
   <circle cx='5' cy='5' r='5'/> in place of the rect in the dot mask. */
.lanes tbody td.y.s::after { left: var(--s3); }
.lanes tbody td.y.e::after { right: var(--s3); }
.lanes tr.ax th, .lanes tr.ax td { border-bottom: 0; height: 64px; }
.lanes tr.ax th b { color: var(--ink); font-size: var(--fs-body); }
.lanes tr.ax td.y::after { background: var(--ink); }
/* Axari's Find segment is dotted, not solid: it takes your tools' findings rather than
   scanning itself, so the bar starts at Find without claiming to be a scanner.
   7 Nov: dots replaced the earlier paper-coloured pill ticks cut into a solid bar (read as a
   texture, not a different state). Each dot is the bar's full height; the tile is dot + gap,
   and `space` keeps a whole number of dots with the last gap landing right before Decide.
   9 Nov (Avi: "spacing consistent between elements"): `space` widened the gaps between dots
   but left the gap before the bar at 5px. `round` scales the whole tile (dot and gap together,
   the SVG stretches with preserveAspectRatio none) to fit a whole number into the cell, so
   every gap, including the one before the bar, is the same. Dots flex by under 0.5px of width. */
/* 9 Nov (Avi: "max 3 dots at the start, then the bar; gap = dot width"): the dots no longer fill
   the Find cell. Three 10px dots with 10px gaps (::after, 50px wide, tile = dot + equal gap), then
   the solid bar picks up one gap after the third dot (::before) and runs on into Decide.
   Was: a whole number of dots (`round`) across the full cell, ~10 on desktop.
   Restore: drop the ::before, set ::after back to right: 0 with the 15px tile and `round`. */
.lanes tr.ax td.y.s + td.y::after { left: 0; }
.lanes tr.ax td.y.s { --ax-in: var(--s3); }
.lanes tr.ax td.y.s::after { right: auto; width: 50px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") 0 0 / 20px 10px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Crect width='10' height='10'/%3E%3C/svg%3E") 0 0 / 20px 10px repeat-x; }
.lanes tr.ax td.y.s::before { content: ""; position: absolute; left: calc(var(--ax-in) + 60px); right: 0; top: 50%; height: 10px; margin-top: -5px; background: var(--ink); }
/* Narrow cells (phone Find cells are 35 to 55px, three dots need 66px): as many whole dots as fit,
   up to three, so a dot never runs into the Decide bar. Each dot claims 20px (itself + its gap). */
@supports (width: round(down, 10px, 5px)) {
  .lanes tr.ax td.y.s::after { width: min(50px, round(down, 100% - var(--ax-in), 20px) - 10px); }
  .lanes tr.ax td.y.s::before { left: calc(var(--ax-in) + 10px + min(50px, round(down, 100% - var(--ax-in), 20px) - 10px)); }
}
/* Phone (9 Nov, Avi: "no horizontal scroll here; Find to Verify doesn't work in vertical").
   Each category becomes two lines: its name and job, then its bar on the five-step track, full
   width, under the Find…Verify header. Same table, same bars, same cells; only the layout reflows,
   so /compare.html gets it too. Each cell keeps its sr-only "Does this / Left to your team".
   Was: a 640px table that scrolled sideways inside the panel. */
@media (max-width: 767px) {
  .lanes-scroll { overflow: visible; }
  .lanes, .lanes thead, .lanes tbody { display: block; min-width: 0; }
  .lanes tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps-row th:first-child { display: none; }
  .steps-row th { padding: 0 2px var(--s3); text-align: center; line-height: 1.3; }
  .lanes tbody tr { border-bottom: 1px solid var(--line); padding-bottom: var(--s3); }
  /* Name, then its job under it, as on web (9 Nov, Avi; was name and job on one wrapping line). */
  /* Gap from the job line to its bar: s2 → s4 (9 Nov, Avi: text and bar sat too tight). */
  .lanes tbody th { grid-column: 1 / -1; padding: var(--s4) 0 var(--s4); border-bottom: 0; }
  .lanes tbody td { height: 16px; border-bottom: 0; }
  .lanes tbody td.y.s::after { left: 6px; }
  .lanes tr.ax td.y.s { --ax-in: 6px; }
  .lanes tbody td.y.e::after { right: 6px; }
  .lanes tr.ax { border-bottom: 0; }
  .lanes tr.ax th, .lanes tr.ax td { height: auto; }
  .lanes tr.ax td { height: 16px; }
}

/* ---------- Pair: text beside a product fragment (moved from product.css, 10 Nov) ----------
   Five columns of text, six of fragment. .pair-r mirrors it (fragment left) for when two pairs sit
   close on one page and must not read as the same form. Stacks below 1200px, text first. */
.pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s8); align-items: center; }
.pair > :first-child { grid-column: 1 / span 5; }
.pair > :last-child { grid-column: 7 / span 6; min-width: 0; }
.pair .lede { margin-top: var(--s5); }
.pair .ticks { margin-top: var(--s5); font-size: var(--fs-body); color: var(--ink-80); }
.pair .more { margin-top: var(--s4); }
.pair-r > :first-child { grid-column: 8 / span 5; grid-row: 1; }
.pair-r > :last-child { grid-column: 1 / span 6; grid-row: 1; }
@media (max-width: 1199px) { .pair > :first-child, .pair > :last-child, .pair-r > :first-child, .pair-r > :last-child { grid-column: 1 / -1; grid-row: auto; } }
.pv-sep { color: var(--ui-3); }

/* ---------- Product fragment kit (moved from product.css, 10 Nov) ----------
   The small product-UI parts that subpage fragments are built from, inside a .plate > .ui:
   a window title, a state, a key label, a chip, a footer row, properties rows and stacked avatars.
   Follows DESIGN_SYSTEM "Product UI (Linear, measured)". Used by /product/ and /integrations/. */
.part-vis .ui { font-size: 13px; color: var(--ui-2); }
.part-vis .app-bar { padding: 11px var(--s4); font-size: var(--fs-cap); color: var(--ui-3); }
.pv-title { display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; font-size: 13px; color: var(--ui-1); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pv-title .mono { color: var(--ui-2); }
.pv-state { display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; }
.pv-k { margin-bottom: var(--s2); font-size: var(--fs-cap); color: var(--ui-3); }
.pv-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--ui-line); color: var(--ui-2); font-size: var(--fs-cap); white-space: nowrap; flex: none; }
.pv-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 10px var(--s4); border-top: 1px solid var(--ui-line); font-size: var(--fs-cap); color: var(--ui-3); }
.part-vis .av { width: 20px; height: 20px; font-size: var(--fs-cap); }
.part-vis .tool { width: 16px; height: 16px; }

/* Properties (Linear's issue sidebar): label, value; one row lit, the rest a step back */
.props > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: var(--s3); padding: 11px var(--s4); border-top: 1px solid var(--ui-line); }
.props > div:first-child { border-top: 0; }
.props dt { font-size: var(--fs-cap); color: var(--ui-3); }
.props dd { display: flex; align-items: center; gap: var(--s2); min-width: 0; color: var(--ui-1); }
.props:has(.hi) > div:not(.hi) { opacity: 0.6; }
.props > .hi { margin: 4px 6px; padding-inline: 10px; border-radius: 8px; border-top: 0; background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.props > .hi + div { border-top: 0; }
.avs { display: inline-flex; padding-left: 6px; }
.avs .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--ui-frame); }

/* Connections list (an Integrations screen): tool, its category, and its scope as a chip. */
.pv-tabs { display: inline-flex; gap: 2px; flex: none; }
.pv-tabs > * { padding: 2px 8px; border-radius: 6px; font-weight: 400; white-space: nowrap; }
.pv-tabs b { color: var(--ui-1); background: var(--ui-fill); }
.conn { padding: 6px; }
.conn li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; color: var(--ui-1); }
.conn .t { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.conn i { font-style: normal; color: var(--ui-3); margin-left: 8px; font-size: var(--fs-cap); }
.conn li.hi { margin-top: 4px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Footer ---------- */
/* 10 Nov (v4.2): the footer is solid brand purple, edge to edge, on every page, one of the two
   soft colour fields that open and close the page (Attio's pattern; the hero light is the other).
   Contrast rules it: grey fails on purple (--ink-60 2.53:1 on #4c2dcc), so every text token
   is re-pointed to white here (8.22:1) and hierarchy comes from size and weight. Hairlines are white
   at low opacity, links underline on hover (the colour change has nowhere to go), focus is white,
   and the chapter line's nodes are white, since purple nodes would vanish on purple.
   Restore the dark footer: delete the custom properties, background and color on .footer and the
   three .footer rules after it. */
.footer {
  --ink: #fff; --ink-80: #fff; --ink-60: #fff; --ink-40: #fff;
  --line: color-mix(in srgb, #fff 24%, transparent);
  --fill-soft: color-mix(in srgb, #fff 12%, transparent);
  --node: #fff;
  background: var(--accent); color: #fff;
  padding: var(--s11) 0 var(--s7); position: relative;
}
/* PULLED 10 Nov (Avi, "not needed since it's a drastic colour change"): the footer's chapter line
   and its white nodes. The jump to solid purple already says a new chapter starts; a line on top
   of it repeats that. Same reason the .invert band has none. Restore: add border-top: 1px solid
   var(--line) to .footer, add .footer::before and ::after back to the .section::before and ::after selectors, and add
   .footer back to the chapter-node selector in site.js. */
.footer-cols a:hover, .footer-legal a:hover, .soc a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: currentColor; }
.footer :focus-visible { outline-color: #fff; }
.footer .btn-secondary { color: #fff; border-color: #fff; background: transparent; } /* only if FOOTER_CTAS returns */
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s7); padding-bottom: var(--s9); }
.footer-claim { grid-column: 1 / span 4; }
.footer-claim p { font-size: var(--fs-l); line-height: 1.45; color: var(--ink-60); max-width: 40ch; }
.footer-claim .ctas { margin-top: var(--s6); }
.footer-cols { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); } /* 10 Nov: four columns (IA rev 2, 7.11); claim span 6 → 4 */
.footer-cols .fh { font-size: var(--fs-small); font-weight: 500; color: var(--ink); margin-bottom: var(--s2); }
.footer-cols a { display: block; font-size: var(--fs-small); color: var(--ink-60); padding-block: 6px; }
.footer-cols a:hover { color: var(--ink); }
.footer-mid { display: flex; flex-wrap: wrap; gap: var(--s5) var(--s7); align-items: center; justify-content: space-between; padding-block: var(--s6); border-top: 1px solid var(--line); }
.soc { display: flex; gap: var(--s4); align-items: center; max-width: 60ch; }
.soc img { width: 40px; height: 40px; flex: none; }
.soc p { font-size: var(--fs-small); color: var(--ink-60); }
.social { display: flex; gap: var(--s2); }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); }
.social a:hover { background: var(--fill-soft); }
.social img { width: 16px; height: 16px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: var(--fs-cap); color: var(--ink-60); }
.footer-legal a { color: var(--ink-60); padding-block: var(--s2); }
.footer-legal a:hover { color: var(--ink); }
.footer-legal .copy { margin-left: auto; padding-block: var(--s2); }
.ext-mark { white-space: nowrap; }
@media (max-width: 1199px) { .footer-claim, .footer-cols { grid-column: 1 / -1; } }
@media (max-width: 767px) { .footer { padding-top: var(--s10); } .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-legal .copy { margin-left: 0; } }
/* 10 Nov mobile audit: prose wraps "pretty" on phones, so paragraphs never end on one orphaned word
   (it fired on "went from", "include:", "Request the report"). Browsers without it wrap as before. */
@media (max-width: 767px) { p, li, dd, figcaption, blockquote, td, th { text-wrap: pretty; } }
/* Phone footer: four columns in a 2-up grid left ~300px of empty purple under Product (3 links) beside
   Use cases (9). Use cases now spans two rows, so Product + Company (8) sit beside it and Security follows. */
@media (max-width: 767px) { .footer-cols { grid-auto-flow: dense; } .footer-cols > :nth-child(2) { grid-column: 2; grid-row: span 2; } }
/* Touch targets (10 Nov mobile audit): footer links were 33-34px tall to the finger, under the 44px
   minimum. Phones: column links 42px rows (was 33), legal links 44px. Desktop unchanged. */
@media (max-width: 767px) {
  .footer-cols a { padding-block: 10px; }
  .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
}

/* ---------- People: ticks, founders, faces, investor wall ----------
   Moved from home.css on 8 Nov so the homepage and /company/ share one implementation. */
/* The data table (10 Nov, from uc.css): siblings under a rule, the one table on every page (IA rev 2,
   8.3): hairline rows, no fill, no zebra, no outer box. Wrap it in .tbl-scroll on narrow screens. */
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* 17 Nov: blog tables come from Ghost as bare <table> with no class, so .post-table table joins the same
   rules instead of a second table style (pages.css "Blog" adds only the post-specific parts). */
.tbl, .post-table table { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td, .post-table th, .post-table td { text-align: left; vertical-align: top; padding: var(--s4) var(--s5) var(--s4) 0; border-bottom: 1px solid var(--line); }
.tbl thead th, .post-table thead th { font-size: var(--fs-small); font-weight: 500; color: var(--ink-60); padding-block: 0 var(--s3); }
.tbl tbody th { font-weight: 400; width: 38%; }
.tbl tbody th b { font-weight: 500; color: var(--ink); }
.tbl td { color: var(--ink-80); }
.tbl .s { display: block; font-size: var(--fs-small); color: var(--ink-60); margin-top: 2px; }

.ticks { display: flex; flex-direction: column; gap: var(--s2); color: var(--ink-60); font-size: var(--fs-small); }
.ticks li { padding-left: var(--s5); position: relative; }
/* Bullets are one small square (10 Nov, Avi), the site's node shape, in grey (purple squares are the
   chapter nodes only). Was a ✓ here and a 10px dash in uc.css. Slack windows keep Slack's own discs. */
.ticks li::before { content: ""; position: absolute; left: 2px; top: calc(0.75em - 2px); width: 4px; height: 4px; background: var(--ink-40); }

/* ---------- HP-8 Team ---------- */
.team-h { max-width: 26ch; }
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: var(--s9); }
.founders li { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--s4); align-content: start; }
.founders li > * { grid-column: 2; }
.founders img { grid-column: 1; grid-row: 1 / span 3; width: 56px; height: 56px; object-fit: cover; object-position: center 25%; border-radius: 50%; filter: grayscale(0.2); }
.founders .muted { margin: 2px 0 var(--s3); }
@media (max-width: 1199px) { .founders { grid-template-columns: 1fr; row-gap: var(--s6); } }

/* Investors: a highlight band with the one serif statement after the hero */
.backers-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.faces { display: flex; justify-content: center; padding-left: 12px; }
.faces li { margin-left: -12px; }
.faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); filter: grayscale(0.25); }
.backers-st { margin-top: var(--s7); max-width: 20ch; }
.backers-lede { margin-top: var(--s5); }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: var(--s10); width: 100%; text-align: left; }
/* No hairlines between names: 20 ruled rows read as a table, not a roster. Whitespace alone groups each name with its title.
   To restore: border-top: 1px solid var(--line) on .wall li (pulled 7 Nov, "too much clutter"). */
.wall li { padding: var(--s3) 0; min-width: 0; }
.wall b { display: block; font-size: var(--fs-small); font-weight: 500; }
.wall span { display: block; font-size: var(--fs-small); color: var(--ink-60); }
@media (max-width: 1199px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .wall { grid-template-columns: 1fr 1fr; } .faces img { width: 40px; height: 40px; } .faces li:nth-child(n+9) { display: none; } }
/* 9 Nov (Avi: "reduce the upfront list on mobile, it's a long scroll"). Phones show the first 8
   names, then "Show all". site.js adds .is-clipped only where a [data-wall-more] button exists,
   so without JS, and on pages without the button, every name shows. Desktop is unchanged. */
/* 9 Nov, round 2 (Avi: "doesn't look good"): left-aligned on the names' edge, with the accordions'
   + glyph; once open it reads "Show less" with a minus. Was: centred "Show all ↓" that disappeared. */
.wall-more { display: none; align-self: flex-start; gap: var(--s3); margin-top: var(--s3); padding-left: 0; background: none; border: 0; cursor: pointer; font-family: inherit; }
.wall-more::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--ink-60); }
.wall-more[aria-expanded="true"]::after { content: "−"; }
.wall-more:hover::after { transform: none; }
@media (max-width: 767px) {
  .wall.is-clipped li:nth-child(n+9) { display: none; }
  .wall + .wall-more:not([hidden]) { display: inline-flex; }
  .backers .wall { margin-top: var(--s8); }
}

/* ---------- Sub-pages ---------- */
.page-hero { padding-block: var(--s11) var(--s9); }

.page-hero .lede { margin-top: var(--s5); }
.page-hero .ctas { margin-top: var(--s6); }
.crumb { font-size: var(--fs-small); color: var(--ink-60); margin-bottom: var(--s5); display: inline-block; }
.crumb:hover { color: var(--ink); }
/* Breadcrumb (10 Nov, IA rev 2): one trail on every subpage, rendered by _build/site.py from the URL
   (Home / Use cases / Vulnerability remediation). Replaces three back links ("Home", "← Axari home",
   "← Use cases"). Ancestors in grey, the current page in ink-80; the slash is decoration.
   a.crumb above stays only for the in-page "← Compare" links in the compare views (step 4 removes them). */
nav.crumb { display: block; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; row-gap: var(--s1); }
.crumb li { display: inline-flex; align-items: center; }
.crumb li + li::before { content: "/"; color: var(--ink-40); padding-inline: var(--s2); }
.crumb a { color: var(--ink-60); text-decoration: none; transition: color var(--t-hover) var(--ease); }
.crumb a:hover { color: var(--ink); }
.crumb [aria-current] { color: var(--ink-80); }
.prose { max-width: 68ch; color: var(--ink-60); }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { font-weight: 500; font-size: var(--fs-h4); line-height: 1.25; color: var(--ink); margin-top: var(--s8); }
/* Square bullets, as .ticks (10 Nov: square bullets everywhere). Was list-style: disc. */
.prose ul { padding-left: 0; }
.prose ul > li { position: relative; padding-left: 18px; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: calc(0.75em - 2px); width: 4px; height: 4px; background: var(--ink-40); }
.prose li + li { margin-top: var(--s2); }
.updated { font-size: var(--fs-cap); color: var(--ink-60); }
.end-cta .ctas { margin-top: var(--s6); }
.end-cta .h2 { max-width: 28ch; } /* 8 Nov: at 22ch "Start with one small job." left "job." alone on every closing chapter */
.end-cta .h2 + .lede { margin-top: var(--s5); } /* 8 Nov: was repeated in demo.css and uc.css; one shared rule now */

/* ---------- Page entrance (9 Nov, Avi: "the loading animation linear.app uses") ----------
   Read from linear.app's hero code, not from video. The first screen arrives in two beats:
   1. The words. Each piece goes from opacity 0, blur 10px and slightly low to sharp and in place,
      1s on CSS "ease" (Linear's [.25,.1,.25,1]), staggered 0.4, 0.5, 0.6, then 0.85s for the rest.
      Linear moves each piece 20% of its own height, one line at a time. Our headlines wrap
      differently per screen, so the whole H1 moves as one, by 0.24em (20% of a 1.2 line).
   2. The product. On the homepage the frame's shell fades in early (0.2s, 0.5s long, like Linear's),
      then the screen inside it and the first-fold gradient rise together at 1.3s over 1.5s on
      easeInOutQuad. The gradient goes 0 to 85% in the first fifth, then settles: that is the glow.
      Other pages have no gradient; a screen or figure inside the hero (.shot, .panel, .plate) takes the same 1.3s beat.
   3. The rest of the page (9 Nov, Avi: "odd that other below elements already load and the header appears
      later"). Every section after the hero, and the footer, takes the same 1.3s fade, so nothing on screen is
      ever ahead of the words above it. It runs once, on load, not as you scroll: fade-up on scroll is still
      out (BUILD_NOTES, TQ-5), and a section further down has finished long before you reach it.
   Every page, every load, CSS only: nothing waits on JS, and fill-mode "backwards" hands control
   back to the page's own styles afterwards (the homepage stage keeps its scroll transitions).
   Not taken from Linear: the shine sweeping along the frame's border, and per-line splitting. */
@keyframes enter-words { from { opacity: 0; filter: blur(10px); translate: 0 0.24em; } }
@keyframes enter-fade { from { opacity: 0; } }
@keyframes enter-glow { 0% { opacity: 0; } 20% { opacity: 0.85; } 100% { opacity: 1; } }
.page-hero > .wrap > *, .uc-hero-grid > :first-child > *, .hero-head > * { animation: enter-words 1s ease 0.85s backwards; }
:is(.page-hero > .wrap, .uc-hero-grid > :first-child, .hero-head) > :nth-child(1) { animation-delay: 0.4s; }
:is(.page-hero > .wrap, .uc-hero-grid > :first-child, .hero-head) > :nth-child(2) { animation-delay: 0.5s; }
:is(.page-hero > .wrap, .uc-hero-grid > :first-child, .hero-head) > :nth-child(3) { animation-delay: 0.6s; }
.page-hero > .uc-hero-grid > :first-child { animation: none; } /* its children move, not the column */
.page-hero > .uc-hero-grid > .shot, .page-hero > .wrap > :is(.panel, .plate, .shot), .stage-main .hero-plate > *, .hero-stage::before { animation: enter-fade 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 1.3s backwards; }
.hero-stage::before { animation-name: enter-glow; }
.stage-main { animation: enter-fade 0.5s ease 0.2s backwards; }
main > :is(.hero, .page-hero) ~ *, .cmp-view > .page-hero ~ *, .footer { animation: enter-fade 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) 1.3s backwards; }
@media (prefers-reduced-motion: reduce) {
  .page-hero > .wrap > *, .uc-hero-grid > :first-child > *, .hero-head > *, .uc-hero-grid > .shot,
  .stage-main, .stage-main .hero-plate > *, .hero-stage::before,
  main > :is(.hero, .page-hero) ~ *, .cmp-view > .page-hero ~ *, .footer { animation: none; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* A row of tool names with their marks (moved from product.css 10 Nov, now also on customer stories). */
.works { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: var(--fs-small); color: var(--ink-60); }
.works li { display: inline-flex; align-items: center; gap: var(--s2); }
/* 10 Nov (Avi): colour brand marks, same files as /integrations/. Was grayscale(1) at 0.8. */
.works img { width: 16px; height: 16px; object-fit: contain; }

/* Isometric line drawings (home Start tiers, /security/). One stroke, paper faces, no accent. Moved from
   home.css 10 Nov when /security/ took the same grammar. Generators: _build/path-art.py, _build/sec-art.py. */
.path-frame { display: flex; justify-content: flex-start; margin-bottom: var(--s6); } /* left, on the text edge (7 Nov) */
.path-art { display: block; max-width: 100%; height: auto; overflow: visible; }
.path-art path { fill: var(--paper); stroke: color-mix(in srgb, var(--ink) 34%, var(--paper)); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Gate track, shared by home (HP-7) and /security/ (10 Nov, Avi: "use same types of visualisations to show
   same things"). Moved from home.css as is. */
/* ---------- The gate track ----------
   Linear's changelog timeline: one rail, a node on each step, text under it. The steps share the
   three-column grid of the columns below, so the nodes sit over Permissions / Approvals /
   Oversight. One job (a dot) runs the rail every 7s: through Reads without stopping, it waits at
   each "asks you first" step until its glyph turns to a check, then ends at Verified.
   Previous ladder cards: _legacy/home-v3i.css. */
.gates { margin-bottom: var(--s9); } /* 12 Nov (Avi): two stacked blocks sit 64px apart everywhere. Was s10 (80px). */
.gates-body { position: relative; --gap: var(--s7); }
/* Fineness pass (8 Nov). The rail is the ol's 1px top border, so its centre line is 0.5px down.
   Every glyph and the dot are centred on that line: nodes sit at -8.5px (were 0.5px low), the
   Verified check at -7.5px in a fixed 16px row (was 1.1px high). The dot passes behind the glyphs
   (z-index 1 on their paper discs), so it disappears into each step and reappears out of it. */
.gate-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--line-strong); }
.gate-row li { display: flex; flex-direction: column; gap: 4px; padding-top: var(--s6); min-width: 0; }
.gate-row b { font-size: var(--fs-body); font-weight: 500; }
.gate-row li > b + span { font-size: var(--fs-small); color: var(--ink-60); }
.g-node { position: absolute; z-index: 1; top: -8.5px; width: 16px; height: 16px; display: grid; place-items: center; background: var(--paper); border-radius: 50%; margin-left: -1px; }
.gate-row li { position: relative; }
.g-node .st { grid-area: 1 / 1; }
.g-ask .g-node .st-done { opacity: 0; }
.g-end { position: absolute; z-index: 1; right: 0; top: -7.5px; height: 16px; display: flex; align-items: center; gap: var(--s2); padding-left: var(--s2); background: var(--paper); font: 400 var(--fs-cap)/16px var(--font-mono); color: var(--ink-60); }
/* The dot's centre is its `left` + 7px (a node's centre: -1px margin + half of 16px). The run ends
   under the Verified check, whose centre is measured from the right edge: the 8-character mono word,
   the gap, and half the check. The dot uses the label's font so 8ch is the word's exact width on any
   OS (it was a 72px guess that overshot the check by 7.8px and left the dot beside it). */
.g-sig { top: 0.5px; margin-left: 4.5px; font: 400 var(--fs-cap)/1 var(--font-mono); --end: calc(8ch + var(--s2) + 7px + 7px); animation: gate-run 7s linear infinite; }
@keyframes gate-run {
  0% { left: 0; opacity: 0; } 3% { opacity: 1; }
  24% { left: calc((100% - 2 * var(--gap)) / 3 + var(--gap)); }
  40% { left: calc((100% - 2 * var(--gap)) / 3 + var(--gap)); }
  62% { left: calc(2 * (100% - 2 * var(--gap)) / 3 + 2 * var(--gap)); }
  78% { left: calc(2 * (100% - 2 * var(--gap)) / 3 + 2 * var(--gap)); }
  92% { left: calc(100% - var(--end)); opacity: 1; }
  97%, 100% { left: calc(100% - var(--end)); opacity: 0; }
}
/* Each "asks you first" glyph turns to a check while the job waits there, then resets. */
.g-ask .g-node .st-review { animation: g-wait 7s step-end infinite; }
.g-ask .g-node .st-done { animation: g-ok 7s step-end infinite; }
.g-ask.g-last .g-node .st-review { animation-name: g-wait-2; }
.g-ask.g-last .g-node .st-done { animation-name: g-ok-2; }
@keyframes g-wait { 0% { opacity: 1; } 34% { opacity: 0; } 98% { opacity: 1; } }
@keyframes g-ok { 0% { opacity: 0; } 34% { opacity: 1; } 98% { opacity: 0; } }
@keyframes g-wait-2 { 0% { opacity: 1; } 72% { opacity: 0; } 98% { opacity: 1; } }
@keyframes g-ok-2 { 0% { opacity: 0; } 72% { opacity: 1; } 98% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .g-sig { display: none; } .g-ask .g-node .st-review, .g-ask .g-node .st-done { animation: none; } }
@media (max-width: 1199px) { .gates-body { --gap: var(--s6); } }
@media (max-width: 767px) {
  .gate-row { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-strong); margin: 0 0 0 7px; row-gap: var(--s6); padding-bottom: var(--s6); }
  .gate-row li { padding: 0 0 0 var(--s6); }
  .g-node { top: 2px; left: -8.5px; margin: 0; }  /* centred on the 1px left rail */
  .g-sig { display: none; }
  .g-end { position: static; padding-left: 0; margin-left: 0; }
  .g-end .st { margin-left: 0; }
  /* 9 Nov (Avi: "optimise for vertical and also have animation"). The same 7s run as web, down the
     rail: one dot per leg, each leg a pseudo-element on its step, so the distance is always that
     step's real height plus the gap (no measuring). Leg 1 passes Reads and drafts; the dot waits
     under the first "asks first" node until its glyph turns to a check (34%), leg 2 runs to the
     second (72%), leg 3 ends at Verified. The dot rides the rail's centre (rail is the ol's 1px
     left border, so its centre is -0.5px from the step's edge) and slips under each node disc. */
  .gate-row li::after { content: ""; position: absolute; left: -3px; top: 10px; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--ink-80); opacity: 0; --to: calc(100% + var(--s6) + 10px); animation: 7s linear infinite; }
  .gate-row li:nth-child(1)::after { animation-name: gv-1; }
  .gate-row li:nth-child(2)::after { animation-name: gv-2; }
  .gate-row li:nth-child(3)::after { animation-name: gv-3; --to: calc(100% + var(--s6) + 8px); }
}
@keyframes gv-1 { 0% { top: 10px; opacity: 0; } 2% { opacity: 1; } 20% { top: var(--to); opacity: 1; } 22%, 100% { top: var(--to); opacity: 0; } }
@keyframes gv-2 { 0%, 36% { top: 10px; opacity: 0; } 38% { opacity: 1; } 56% { top: var(--to); opacity: 1; } 58%, 100% { top: var(--to); opacity: 0; } }
@keyframes gv-3 { 0%, 74% { top: 10px; opacity: 0; } 76% { opacity: 1; } 92% { top: var(--to); opacity: 1; } 95%, 100% { top: var(--to); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gate-row li::after { display: none; } }
/* /security/ adds an example under each step: the next level of detail on the same track. */
.gate-row .g-ex { margin-top: var(--s2); font-size: var(--fs-small); color: var(--ink-40); }
