/* shared/tokens.css */
/* simplenova brand v2 tokens (30 Nov 2026). Source: Projects/simplenova-identity/BRAND-V2-20261130.md.
   Paper, ink green, sage, one lime action. Light is the default; <html data-theme="night"> or any element with
   data-theme="night" (an "ink island": the product window, a band) takes the dark set. Components read the semantic layer. */
:root {
  /* colour: light primitives */
  --paper: #F5F7F3; --sheet: #FCFDFB; --sage: #E9EEE3; --ink: #172623; --ink-2: #46534F; --ink-3: #5B6763; --rule: #D8DED2;
  --field-border: #76837D; --graphite: #46534F; --green: #1F6B4F; --green-hover: #17523C; --ok: #2E6B4E; --warn: #805400; --bad: #B3261E;
  --ink-hover: #263B36; --paper-glass: rgba(245, 247, 243, .88);
  --shadow-window: 0 1px 2px rgba(23, 38, 35, .05), 0 14px 36px rgba(23, 38, 35, .08);
  --surface-light: none; --edge-light: none; --hairline: 1px solid var(--rule);
  --light: radial-gradient(closest-side, rgba(233, 238, 227, .95), rgba(233, 238, 227, .5) 55%, rgba(233, 238, 227, 0) 100%);
  --dot-ink: rgba(23, 38, 35, .14); --bar-ink: rgba(23, 38, 35, .045);
  /* fixed values that do not flip with the theme */
  --lime: #CAF171;             /* the one primary action (ink text on it, 12:1); the mark on dark. Never text or a hairline on light */
  --lime-hover: #D8F593;
  --mint: #A6E3C2;             /* links and signal on dark, 10:1 */
  --likely: #F0C24B;           /* the evidence mark "Likely" (amber) only; also the warning colour on dark */
  --likely-edge: #805400;
  --night: #172623;            /* the ink-green ground */
  --night-2: #1E302C;
  --night-3: #263B36;
  --night-ink: #F5F7F3;
  --night-ink-2: #B7C3BD;
  --night-ink-3: #9EACA5;
  --night-rule: #31463F;
  --night-field: #778C84;
  --ink-fixed: #172623;        /* dark text on lime, amber and paper chips in either theme */
  --pick: var(--lime);         /* the one primary action */
  --pick-hover: var(--lime-hover);
  --data-2: var(--likely);

    /* 4.2 type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --fs-h1: min(clamp(3rem, 1.6rem + 3.1vw, 4.25rem), 12.6vw);   /* 50k: one H1 size on every page, 48 to 68; pages do not override it (the home hero steps down only where it shares a row with the globe) */
  --lh-h1: 1.02;
  --ls-h1: -0.035em;
  --fs-h2: clamp(2rem, 1.6rem + 1.1vw, 2.5rem);    /* 50k: h2 32 to 40 */
  --lh-h2: 1.1;
  --ls-h2: -0.025em;
  --fs-h3: 1.375rem;
  --lh-h3: 1.25;
  --ls-h3: -0.01em;
  --fs-lead: clamp(1.1875rem, 1.1rem + .25vw, 1.25rem);
  --lh-lead: 1.5;
  --fs-body: 1.0625rem;
  --lh-body: 1.55;
  --fs-small: 0.875rem;
  --lh-small: 1.5;
  --fs-label: 0.8125rem;      /* 50k: figure labels, sentence case Geist 13 */
  --lh-label: 1.3;
  --ls-label: 0;
  /* enterprise scale, 30 Nov: every fixed text size on the site is one of these (12 px is the floor) */
  --fs-micro: 0.75rem;         /* 12: badges, table meta */
  --fs-ui: 0.9375rem;          /* 15: controls, navigation, table cells */
  --fs-base: 1rem;             /* 16: form fields */
  --fs-md: 1.125rem;           /* 18 */
  --fs-h4: 1.25rem;            /* 20 */
  --fs-xl: 1.5rem;             /* 24: figures from here up are Geist 600 */
  --fs-2xl: 1.75rem;           /* 28 */
  --fs-3xl: 2rem;              /* 32 */

  /* 4.3 space, grid, shape */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;
  --container: 1200px;
  --gutter: 24px;
  --side: 24px;                 /* page side padding; 16px under 600px (set in base.css) */
  --section-pad: clamp(64px, 8vw, 112px);
  --r-logo: 8px;                /* the logo tile only */
  --r-control: 10px;
  --r-card: 14px;               /* 50k radius scale: 10 controls, 14 cards, 20 windows, pill */
  --r-window: 20px;
  --r-brief: 14px;
  --r-inner: 4px;               /* focus rings round text, marks inside a control */
  --r-pill: 999px;
  --hairline: 1px solid var(--rule);
  --header-h: 64px;

  /* 4.5 motion */
  /* motion language (docs/website/v3/10-motion-direction.md, binding): base unit 0.4s, four durations only */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* entrances and landings */
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);    /* exits only */
  --t-1: 0.2s;                                  /* micro: hover, press, tab out */
  --t-2: 0.4s;                                  /* enter: rise, draw-on */
  --t-3: 0.8s;                                  /* big: fills, count-ups, window rise */
  --t-4: 1.2s;                                  /* sequence beat */
  --stagger: 60ms;                              /* cascade step, reading order, max 8 */
  --rise: 16px;                                 /* rise-and-fade travel */
  /* sketch to real (amendment A3, Kai 22 Nov): the one soft in-out move, as in the brand band; used only by data-sketch */
  --t-sketch: 1.4s;
  --ease-soft: cubic-bezier(0.6, 0, 0.4, 1);
  /* older names, kept so nothing breaks; they point at the scale */
  --t-hover: var(--t-1);
  --t-enter: var(--t-2);
  --t-draw: var(--t-2);

    --ease-exit: cubic-bezier(.4, 0, 1, 1);
  --ease-fade: cubic-bezier(0, 0, .2, 1);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);

  /* semantic layer: components read these, so a theme changes one place */
  --surface-page: var(--paper); --surface-raised: var(--sheet); --surface-tint: var(--sage);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --line: var(--rule); --line-control: var(--field-border);
  --signal: var(--green); --signal-hover: var(--green-hover); --traj: var(--green);
  --positive: var(--ok); --negative: var(--bad); --caution: var(--warn);
  --data-1: var(--green); --data-3: var(--ink-2); --data-4: var(--ok); --ring: 2px solid var(--signal);
    --control-h: 48px;
  --row-h: 48px;               /* data rows; .table--compact sets 40 */
  --measure: 68ch;
  --z-raised: 1;
  --z-sticky: 50;
  --z-sheet: 60;
  --z-skip: 100;
  --t-press: 120ms;
  --t-state: 150ms;
}

/* ---------- dark set: the whole page (<html data-theme="night">) or an ink island inside a paper page ---------- */
[data-theme="night"], .cband {
  color-scheme: dark;
  --paper: #172623; --sheet: #1E302C; --sage: #263B36; --ink: #F5F7F3; --ink-2: #B7C3BD; --ink-3: #9EACA5; --rule: #31463F;
  --field-border: #778C84; --graphite: #9EACA5; --green: #A6E3C2; --green-hover: #C9F0DA; --ok: #7FD6A8; --warn: #F0C24B; --bad: #FF9C93;
  --ink-hover: #FFFFFF; --paper-glass: rgba(23, 38, 35, .82);
  --shadow-window: 0 1px 0 rgba(245, 247, 243, .05) inset, 0 1px 2px rgba(10, 18, 16, .4), 0 18px 44px rgba(10, 18, 16, .34);
  --surface-light: linear-gradient(180deg, rgba(245, 247, 243, .035), rgba(245, 247, 243, 0) 120px); --edge-light: inset 0 1px 0 rgba(245, 247, 243, .05); --hairline: 1px solid var(--rule);
  --light: radial-gradient(closest-side, rgba(202, 241, 113, .14), rgba(166, 227, 194, .07) 50%, rgba(166, 227, 194, 0) 100%);
  --dot-ink: rgba(245, 247, 243, .13); --bar-ink: rgba(245, 247, 243, .04);
  --surface-page: var(--paper); --surface-raised: var(--sheet); --surface-tint: var(--sage);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --line: var(--rule); --line-control: var(--field-border);
  --signal: var(--green); --signal-hover: var(--green-hover); --traj: var(--green);
  --positive: var(--ok); --negative: var(--bad); --caution: var(--warn);
  --data-1: var(--green); --data-3: var(--ink-2); --data-4: var(--ok); --ring: 2px solid var(--signal);
}
/* Bands that are dark by their own rule (.section--night, .on-night, .footer) are written with the fixed --night-* names,
   so inside a night page they get the light set back and render exactly as on a paper page. data-theme="paper" is a light island. */
[data-theme="night"] :is(.section--night, .section--ink, .on-night, .footer, [data-theme="paper"]), [data-theme="paper"] {
  color-scheme: light;
  --paper: #F5F7F3; --sheet: #FCFDFB; --sage: #E9EEE3; --ink: #172623; --ink-2: #46534F; --ink-3: #5B6763; --rule: #D8DED2;
  --field-border: #76837D; --graphite: #46534F; --green: #1F6B4F; --green-hover: #17523C; --ok: #2E6B4E; --warn: #805400; --bad: #B3261E;
  --ink-hover: #263B36; --paper-glass: rgba(245, 247, 243, .88);
  --shadow-window: 0 1px 2px rgba(23, 38, 35, .05), 0 14px 36px rgba(23, 38, 35, .08);
  --surface-light: none; --edge-light: none; --hairline: 1px solid var(--rule);
  --light: radial-gradient(closest-side, rgba(233, 238, 227, .95), rgba(233, 238, 227, .5) 55%, rgba(233, 238, 227, 0) 100%);
  --dot-ink: rgba(23, 38, 35, .14); --bar-ink: rgba(23, 38, 35, .045);
  --surface-page: var(--paper); --surface-raised: var(--sheet); --surface-tint: var(--sage);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3); --line: var(--rule); --line-control: var(--field-border);
  --signal: var(--green); --signal-hover: var(--green-hover); --traj: var(--green);
  --positive: var(--ok); --negative: var(--bad); --caution: var(--warn);
  --data-1: var(--green); --data-3: var(--ink-2); --data-4: var(--ok); --ring: 2px solid var(--signal);
}
:is(.section--night, .section--ink, .on-night, .footer):not([data-theme="paper"]) { --signal: var(--mint); --signal-hover: var(--night-ink); --traj: var(--mint); --ring: 2px solid var(--mint); }

/* contrast and forced colours */
@media (prefers-contrast: more) {
  :root, [data-theme="paper"] { --rule: #76837D; --ink-2: #263B36; --ink-3: #263B36; --field-border: #46534F; }
  [data-theme="night"] { --rule: #9EACA5; --ink-2: #E9EEE3; --ink-3: #E9EEE3; --field-border: #B7C3BD; }
}

/* shared/base.css */
/* base.css: fonts, reset, type scale, container and grid, section padding, focus, reduced motion. */
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-synthesis: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, canvas, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
em, i, cite, address { font-style: normal; }
[hidden] { display: none !important; }

/* type scale (4.2). Sentence case, no italics, no glow. */
h1, .h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); font-weight: 600; text-wrap: balance; }
h2, .h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); font-weight: 600; text-wrap: balance; }
h3, .h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-2); text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: var(--lh-small); }
/* 50k: no uppercase mono micro-labels. A label is sentence case Geist 13/500. Eyebrows above headings are being removed
   page by page (IDENTITY.md); until then they read as a quiet label, never cobalt. */
.label, .eyebrow { font-family: var(--font-sans); font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.eyebrow { display: block; margin-bottom: var(--s-3); }
.section--night .eyebrow, .on-night .eyebrow { color: var(--night-ink-2); }
/* hover states only where a fine pointer can hover (no sticky states after a tap) */
/* text links in running copy are cobalt; components (nav, buttons, chips, footer) set their own colour */
main a:not([class]) { color: var(--signal); text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
@media (hover: hover) and (pointer: fine) { main a:not([class]):hover { color: var(--signal-hover); } }
.section--night a:not([class]) { color: var(--mint); }
@media (hover: hover) and (pointer: fine) { .section--night a:not([class]):hover { color: var(--night-ink); } }
.num { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
/* brand v2: no handwriting. Emphasis is a lime bar under the words (ink text on it), or weight. */
.note, .hl { background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-size: 100% .42em; background-position: 0 88%; color: var(--ink-fixed); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .12em; }
.note { display: inline; font-size: var(--fs-small); font-weight: 600; }
/* on ink green the bar is the whole word: lime behind ink text */
[data-theme="night"] :is(.note, .hl), :is(.section--night, .section--ink, .on-night) :is(.note, .hl) { background-size: 100% 100%; background-position: 0 0; border-radius: var(--r-inner); padding: .04em .3em; color: var(--ink-fixed); }
mark { background: var(--sage); color: var(--ink); padding: 0 .12em; border-radius: 2px; box-shadow: inset 0 -1.5px 0 var(--signal); }

/* container and 12-column grid (4.3) */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--side)); margin-inline: auto; padding-inline: var(--side); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: var(--section-pad); }
.section--sheet { background: var(--sheet); }
.section--night { background: var(--night); color: var(--night-ink); }
.section--rule { border-block: var(--hairline); }
/* ink band: the ink-green ground with paper text; same rules as .section--night */
.section--ink { background: var(--night); color: var(--night-ink); }
.section--ink .lead, .section--ink .label, .section--ink .eyebrow, .section--ink .small { color: var(--night-ink-2); }
.section--ink a:not([class]), .section--ink a:not([class]):hover { color: var(--night-ink); }
.section--ink :is(.num-lg, .stat__num) { color: var(--pick); }
@media (max-width: 599px) { :root { --side: 16px; --gutter: 16px; } }

/* utilities */
.vh { 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(--s-4); top: -100px; z-index: var(--z-skip); background: var(--ink); color: var(--sheet); padding: var(--s-3) var(--s-4); border-radius: var(--r-control); text-decoration: none; }
.skip:focus { top: var(--s-3); }

/* focus: 2px signal ring, 2px offset, on every ground */
:focus-visible { outline: var(--ring); outline-offset: 2px; }
.section--night :focus-visible, .on-night :focus-visible, .footer :focus-visible { outline-color: var(--mint); }
.section--ink :focus-visible { outline-color: var(--night-ink); }

/* enter motion (4.5): opacity and 8px rise, once. Only when JS is present and motion is allowed. */
/* motion.js attributes (see 01-spine-notes "Motion API"). Start states apply only under html.motion, which boot.js sets
   when motion is allowed (not reduced, not save-data); everything else renders final at once. --d is the cascade delay. */
[data-reveal] { transition: opacity var(--t-2) var(--ease-out) var(--d, 0ms), transform var(--t-2) var(--ease-out) var(--d, 0ms); }
[data-reveal="window"] { transition-duration: var(--t-3); }
.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(var(--rise)); }
.motion [data-reveal="lift"]:not(.is-in) { opacity: 1; }          /* LCP-safe: rises, never invisible */
.motion [data-reveal="window"]:not(.is-in) { transform: translateY(var(--rise)) scale(0.98); }
[data-fill] { transform-origin: left center; transition: transform var(--t-3) var(--ease-out) var(--d, 0ms); }
.motion [data-fill]:not(.is-in) { transform: scaleX(0); }
[data-count] { font-variant-numeric: tabular-nums; }
/* data-sketch: before it plays, the element is a graphite pencil drawing of itself: its real content in pencil (grey,
   lighter, no colour, check dots as open circles) on paper with a light hatch behind it. motion.js draws a pencil outline
   round it; then the paper lifts and the colour comes in (filter and opacity on each direct child), the outline lingers
   and fades. Before it is in view nothing plays; reduced motion, save-data and no JS show the real state only. */
[data-sketch] { position: relative; isolation: isolate; }
[data-sketch] > * { transition: filter var(--t-sketch) var(--ease-soft), opacity var(--t-sketch) var(--ease-soft); }
[data-sketch]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: var(--paper) url("/img/hatch.svg"); opacity: 0; transition: opacity var(--t-sketch) var(--ease-soft); }
.motion [data-sketch]:not(.is-real)::before { opacity: 1; }
.motion [data-sketch]:not(.is-real) > :not(.sketch-line) { filter: grayscale(1) contrast(0.85); opacity: 0.62; }
.motion [data-sketch] .t5__strip i { transition: background-color var(--t-sketch) var(--ease-soft), border-color var(--t-sketch) var(--ease-soft), border-radius var(--t-sketch) var(--ease-soft); }
.motion [data-sketch]:not(.is-real) .t5__strip i { border-radius: 50%; background: transparent; border: 1px solid var(--graphite); }
.sketch-line { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: opacity var(--t-sketch) var(--ease-soft) var(--t-2); }
.sketch-line path { transition-duration: var(--t-3) !important; }
.pencil.sketch-line { stroke: var(--graphite); } /* the sketch is graphite, not the cobalt annotation pencil */
.sketch-line .pencil__b { transform: translate(1.2px, 0.8px); }
[data-sketch].is-real .sketch-line { opacity: 0; }
/* a sequence left mid-play (scrolled away) finishes at once */
.is-flushed [data-reveal], .is-flushed [data-fill], .is-flushed .pencil[data-draw], .is-flushed .pencil[data-draw] path { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .motion [data-reveal], .motion [data-fill] { opacity: 1; transform: none; }
}

/* 28 Nov: moving between pages cross-fades (browsers that support it; others cut as before). Off for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 140ms var(--ease-exit) both; }
  ::view-transition-new(root) { animation: vt-in 220ms var(--ease-fade) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* shared/components.css */
/* components.css: the spine's shared components (blueprint 4.4 and 4.6). Squads reuse these classes; they do not restyle them.
   header · menu sheet · logo · buttons · arrow link · brief box · product window · top 5 rows · check cells · chips ·
   pencil marks · margin note · footer · slim footer */

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 500; font-size: var(--fs-h4); letter-spacing: -0.035em; min-height: 44px; border-radius: var(--r-control); color: var(--ink); }
.logo__mark { flex: none; width: 26px; height: 26px; fill: currentColor; transition: transform var(--t-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .logo:hover .logo__mark { transform: translateX(2px); } }
.footer .logo, .on-night .logo, .section--night .logo { color: var(--night-ink); }
.footer .logo__mark, .on-night .logo__mark, .section--night .logo__mark, [data-theme="night"] .logo__mark { fill: var(--lime); }

/* ---------- header (4.6) ---------- */
.header { position: sticky; top: 0; z-index: var(--z-sticky); height: var(--header-h); background: var(--paper-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--t-hover) linear; }
.header.is-scrolled { border-bottom-color: var(--rule); }
.header__in { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.header__nav { display: flex; gap: var(--s-1); margin-inline: auto; }
.header__nav a, .header__login { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--s-3); font-size: var(--fs-ui); color: var(--ink-2); text-decoration: none; border-radius: var(--r-control); transition: color var(--t-hover); }
@media (hover: hover) and (pointer: fine) { .header__nav a:hover, .header__login:hover { color: var(--ink); text-decoration: underline; } }
.header__nav a[aria-current="page"] { color: var(--ink); }
.header__end { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.header__nav + .header__end { margin-left: 0; }
.header__menu { display: none; min-height: 44px; padding-inline: var(--s-3); background: none; border: 1px solid transparent; border-radius: var(--r-control); font-size: var(--fs-ui); cursor: pointer; text-decoration: none; align-items: center; }
@media (hover: hover) and (pointer: fine) { .header__menu:hover { border-color: var(--ink); } }
@media (max-width: 899px) {
  .header__nav, .header__login { display: none; }
  .header__menu { display: inline-flex; }
}
/* 320 px (WCAG reflow): logo, button and Menu must fit in 288 px */
@media (max-width: 380px) { .header__in { gap: var(--s-2); } .header__end { gap: var(--s-1); } .header .btn--sm { padding-inline: var(--s-3); } .header__menu { padding-inline: var(--s-2); } .logo { gap: 8px; } .logo span { font-size: var(--fs-base); } }
.js .no-js-only, html:not(.js) .js-only { display: none !important; }

/* menu sheet (under 900px): full height, focus trapped, Esc closes */
.menu-sheet { position: fixed; inset: 0; z-index: var(--z-sheet); background: var(--paper); display: flex; flex-direction: column; padding: 0 var(--side) var(--s-6); overflow-y: auto; overscroll-behavior: contain; }
.menu-sheet__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-sheet__close { min-height: 44px; padding-inline: var(--s-3); background: none; border: 1px solid var(--rule); border-radius: var(--r-control); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .menu-sheet__close:hover { border-color: var(--ink); } }
.menu-sheet ul { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); border-top: var(--hairline); }
.menu-sheet li { border-bottom: var(--hairline); }
.menu-sheet li a { display: flex; align-items: center; min-height: 56px; font-size: var(--fs-h3); letter-spacing: -0.01em; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .menu-sheet li a:hover { text-decoration: underline; } }
.menu-sheet .btn { width: 100%; }
body.has-sheet { overflow: hidden; }

/* ---------- buttons (4.6) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-control); border: 1px solid transparent; font-family: var(--font-sans); font-size: var(--fs-base); font-weight: 500; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--t-hover), color var(--t-hover), border-color var(--t-hover), transform var(--t-hover); }
.btn--sm { min-height: 44px; padding-inline: var(--s-4); font-size: var(--fs-ui); }
/* large landing-page CTA (Kai, 25 Nov): page-level primary calls only, never the header or inline buttons */
.btn--lg { min-height: 56px; padding-inline: 32px; font-size: var(--fs-md); font-weight: 600; } /* 32px: off the space scale on purpose, sized for the large CTA */
@media (max-width: 599px) { .btn--lg { min-height: 52px; padding-inline: 28px; font-size: var(--fs-body); } }
/* brand v2: the primary action is lime with ink text on every ground (12:1); one per view */
.btn--primary { background: var(--pick); color: var(--ink-fixed); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink-fixed) 14%, transparent); }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { background: var(--pick-hover); } }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--outline:hover { background: var(--sage); } }
.btn:active { transform: scale(.97); transition-duration: var(--t-press); }
/* the header button swaps outline <-> primary as brief boxes scroll by: swap instantly, so its text never fades through its own background */
[data-header-cta] { transition: none; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--sage); color: var(--ink-2); border-color: transparent; cursor: not-allowed; transform: none; }
.btn.is-loading { cursor: progress; }
.on-night .btn--primary, .section--night .btn--primary { background: var(--pick); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .on-night .btn--primary:hover, .section--night .btn--primary:hover { background: var(--pick-hover); } }
.on-night .btn--outline, .section--night .btn--outline { color: var(--night-ink); border-color: var(--night-ink); }

/* secondary: text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--signal); font-weight: 500; text-decoration: none; border-radius: var(--r-inner); }
.link-arrow::after { content: ""; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: url("/img/arrow.svg") center / contain no-repeat; mask: url("/img/arrow.svg") center / contain no-repeat; transition: transform var(--t-hover); } /* 50k: drawn arrow, no unicode glyph */
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { color: var(--signal-hover); text-decoration: underline; } }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { transform: translateX(3px); } }
.on-night .link-arrow, .section--night .link-arrow { color: var(--mint); }
.section--ink .link-arrow { color: var(--mint); }
.section--ink .btn--outline { color: var(--night-ink); border-color: var(--night-ink); }

/* ---------- brief box (4.6, 5, 9.1) ---------- */
.brief { max-width: 600px; }
.brief__label { display: block; margin-bottom: var(--s-2); color: var(--ink-3); }
.brief__box { position: relative; display: flex; align-items: center; gap: var(--s-2); min-height: 74px; padding: 9px 9px 9px var(--s-5); background: var(--sheet); border: 1px solid var(--field-border); border-radius: var(--r-brief); transition: border-color var(--t-hover); }
@media (hover: hover) and (pointer: fine) { .brief__box:hover { border-color: var(--ink-2); } }
.brief__box:focus-within { border-color: var(--signal); outline: var(--ring); outline-offset: 2px; }
.brief__input { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; font-size: var(--fs-md); color: var(--ink); }
.brief__input::placeholder { color: var(--ink-3); opacity: 1; }
.brief__input:focus-visible { outline: none; box-shadow: inset 0 -2px 0 var(--signal); } /* the box carries the ring; a gold marker line under the text marks the field itself */
.brief__btn { flex: none; min-height: 56px; padding-inline: 32px; font-size: var(--fs-md); font-weight: 600; } /* large CTA; box padding below leaves >6px + border clear for the hover lean */
@media (max-width: 599px) { .brief__btn { min-height: 52px; padding-inline: 28px; font-size: var(--fs-body); } }
.brief__btn:focus-visible { outline-offset: 3px; }
.brief__err { min-height: 0; margin-top: var(--s-2); font-size: var(--fs-small); color: var(--bad); }
.brief__err:empty { margin: 0; }
.brief.is-error .brief__box { border-color: var(--bad); }
.brief.is-shake .brief__box { animation: brief-shake 320ms ease-in-out 1; }
@keyframes brief-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.brief__under { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-5); margin-top: var(--s-3); color: var(--ink-2); font-size: var(--fs-small); }
.brief__under .link-arrow { font-size: var(--fs-small); }
/* night variant: night-2 field, gold button */
.brief--night .brief__label { color: var(--night-ink-2); }
.brief--night .brief__box { background: var(--night-2); border-color: var(--night-ink-2); }
.brief--night .brief__box:focus-within { border-color: var(--mint); outline-color: var(--mint); }
.brief--night .brief__input { color: var(--night-ink); }
.brief--night .brief__input::placeholder { color: var(--night-ink-2); }
.brief--night .brief__btn { background: var(--pick); color: var(--ink); }
.brief--night .brief__under { color: var(--night-ink-2); }
@media (max-width: 599px) {
  .brief__box { flex-direction: column; align-items: stretch; padding: 0; border: 0; background: none; min-height: 0; gap: var(--s-3); }
  .brief__box:hover { border-color: transparent; }
  .brief__box:focus-within { outline: none; }
  .brief__input { flex: none; height: 56px; padding-inline: var(--s-4); background: var(--sheet); border: 1px solid var(--field-border); border-radius: var(--r-brief); }
  .brief__input:focus-visible { outline: var(--ring); outline-offset: 2px; border-color: var(--ink); }
  .brief.is-error .brief__input { border-color: var(--bad); }
  .brief__btn { width: 100%; }
  .brief--night .brief__input { background: var(--night-2); border-color: var(--night-ink-2); }
}

/* ---------- product window (4.6) ---------- */
.pw { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-window); box-shadow: var(--shadow-window); overflow: hidden; transition: transform var(--t-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pw:hover { transform: translateY(-2px); } } /* product windows lift 2px (10-motion 4) */
.pw__bar { display: flex; align-items: center; gap: var(--s-3); height: 40px; padding-inline: var(--s-4); border-bottom: var(--hairline); }
.pw__dots { display: flex; gap: 6px; }
.pw__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--graphite); opacity: .55; }
.pw__title { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw__body { padding: var(--s-3) var(--s-4) var(--s-4); }
.pw-label { margin-top: var(--s-3); }

/* top 5 rows (inside a product window) */
.t5__head { display: flex; justify-content: space-between; padding: 2px 0 var(--s-2); color: var(--ink-3); }
.t5 { margin: 0; }
.t5__row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "rank who score" "rank strip strip"; column-gap: var(--s-3); row-gap: 5px; align-items: center; padding: 9px var(--s-2); margin-inline: calc(-1 * var(--s-2)); position: relative; border-radius: var(--r-control); transition: background-color var(--t-hover); }
/* straight hairline dividers: drawn inset, so the hover fill keeps its radius without curling the rule */
.t5__row + .t5__row::before { content: ""; position: absolute; left: var(--s-2); right: var(--s-2); top: 0; height: 1px; background: var(--rule); }
.t5__row.is-active { background: var(--paper); }
.t5__rank { grid-area: rank; align-self: start; padding-top: 1px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; color: var(--ink-3); }
.t5__who { grid-area: who; min-width: 0; font-size: var(--fs-small); line-height: 1.3; }
.t5__who b { font-weight: 600; }
.t5__who span { display: block; color: var(--ink-2); font-size: var(--fs-label); white-space: normal; overflow-wrap: anywhere; }
.t5__score { grid-area: score; align-self: start; font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: var(--fs-ui); }
.t5__strip { grid-area: strip; display: flex; align-items: center; gap: 3px; }
.t5__strip i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--graphite); }
.t5__strip i.m { background: var(--ink); border-color: var(--ink); }
.t5__strip i.l { background: var(--likely); border-color: var(--likely-edge); }
.t5__strip i.n { border-style: dashed; }
.t5__strip small { margin-left: 6px; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--ink-3); }
/* compact rows (hero card, request page): name, checks and score on one line; the role under it, never truncated */
.t5--compact .t5__row { grid-template-columns: 18px minmax(0, 1fr) auto auto; grid-template-areas: "rank name strip score" "rank role role role"; column-gap: var(--s-3); row-gap: 2px; padding-block: 8px; }
.t5--compact .t5__who { display: contents; }
.t5--compact .t5__who b { grid-area: name; font-size: var(--fs-small); font-weight: 600; }
.t5--compact .t5__who > span { grid-area: role; white-space: normal; overflow: visible; color: var(--ink-2); font-size: var(--fs-label); }
.t5--compact .t5__strip { gap: 2px; }
.t5--compact .t5__strip i { width: 6px; height: 6px; }
.t5--compact .t5__score { min-width: 2ch; text-align: right; }
.t5__more { padding-top: var(--s-2); border-top: var(--hairline); font-size: var(--fs-label); color: var(--ink-3); }

/* ---------- check cells (4.6) ---------- */
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.cell { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-2); min-height: 76px; padding: 10px var(--s-3); border-radius: var(--r-control); font-size: var(--fs-label); line-height: 1.3; border: 1.5px solid transparent; }
.cell__state { font-family: var(--font-sans); font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0; text-transform: none; }
.cell--matched { background: var(--ink); color: var(--sheet); }
.cell--likely { background: var(--likely); color: var(--ink); }
.cell--none { background: var(--sheet); color: var(--ink); border: 1.5px dashed var(--graphite); }
.cell--notmet { background: var(--sheet); color: var(--ink-2); border-color: var(--rule); }
.cell--notmet .cell__text { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cells-key { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-3); font-size: var(--fs-small); color: var(--ink-2); }
.cells-key i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 50%; }
.cells-key .k-m { background: var(--ink); } .cells-key .k-l { background: var(--likely); } .cells-key .k-n { border: 1.5px dashed var(--graphite); }

/* ---------- chip (4.6) ---------- */
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--sage); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { a.chip:hover { background: var(--rule); text-decoration: underline; } }

/* ---------- the Field (blueprint 8): <div class="field" data-field="hero|mini|funnel|night"> ----------
   field.js mounts it near the viewport; until then (and for reduced motion, save-data, low memory, no JS) the
   fallback image shows. Size the .field box in your section; the globe fits the smaller side. */
.field { position: relative; }
.field__img, .field__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.field__img { object-fit: contain; transition: opacity var(--t-3) var(--ease-out); }
.field__canvas { opacity: 0; pointer-events: none; transition: opacity var(--t-3) var(--ease-out); }
.field.is-live .field__canvas { opacity: 1; }
.field.is-live .field__img { opacity: 0; }
/* scan ring: a cobalt circle that sweeps out over the globe once per scan (transform and opacity only) */
.field__scan { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border: 1.25px solid var(--signal); border-radius: 50%; opacity: 0; transform: scale(0.05); pointer-events: none; }
.field[data-field="night"] .field__scan { border-color: var(--mint); }
.field__scan.is-on { animation: field-scan var(--t-3) var(--ease-out) 1; }
@keyframes field-scan { from { opacity: 0.6; transform: scale(0.05); } to { opacity: 0; transform: scale(1); } }
.field__pause { position: absolute; right: var(--s-2); bottom: var(--s-2); z-index: 3; min-height: 32px; padding: 0 var(--s-1); background: none; border: 0; border-radius: var(--r-inner); font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .field__pause:hover { color: var(--ink); text-decoration: underline; } }
.section--night .field__pause, .field[data-field="night"] .field__pause { color: var(--night-ink-2); }
@media (hover: hover) and (pointer: fine) { .section--night .field__pause:hover, .field[data-field="night"] .field__pause:hover { color: var(--night-ink); } }

/* ---------- footer (4.6) ---------- */
.footer { position: relative; overflow: hidden; background: var(--night); color: var(--night-ink); padding-top: var(--s-8); }
.footer a { color: var(--night-ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { text-decoration: underline; } }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s-6) var(--gutter); }
.footer__brand p { margin-top: var(--s-4); color: var(--night-ink-2); max-width: 26ch; }
.footer__brand p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--night-ink-2); }
.footer__h { margin-bottom: var(--s-3); color: var(--night-ink-2); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--night-ink); font-size: var(--fs-ui); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--night-rule); color: var(--night-ink-2); }
.footer__line { color: var(--night-ink); font-weight: 500; }
.footer__brand .footer__slogan { margin-top: var(--s-4); font-size: var(--fs-xl); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; color: var(--night-ink); max-width: none; }
.footer__mark { margin-top: var(--s-6); padding-bottom: var(--s-7); } /* 30 Nov: the name in Geist 600, whole, 48 px clear below (tools/build_wordmark_geist.py) */
.footer__mark svg { width: 100%; height: auto; fill: var(--night-2); }
@media (max-width: 899px) { .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- night theme fixes (28 Nov). Only under <html data-theme="night">; the paper theme is untouched. ---------- */
/* primary is gold on night, as in the closing band; dark text stays dark on every light fill */
[data-theme="night"] .btn--primary { background: var(--pick); color: var(--ink-fixed); }
@media (hover: hover) and (pointer: fine) {
  [data-theme="night"] .btn--primary:hover { background: var(--pick-hover); }
  [data-theme="night"] .section--ink .btn--primary:hover { background: var(--pick-hover); }
}
[data-theme="night"] :is(.section--night, .on-night) .btn--primary { background: var(--pick); color: var(--ink-fixed); }
[data-theme="night"] .btn:is(:disabled, [aria-disabled="true"]):not(.is-loading), [data-theme="night"] :is(.section--night, .on-night, .section--ink) .btn:is(:disabled, [aria-disabled="true"]):not(.is-loading) { background: var(--sage); color: var(--ink-2); border-color: transparent; }
[data-theme="night"] :is(.cell--likely, .plan__badge, .calc__src li:target) { color: var(--ink-fixed); } /* 50k: mark is a cobalt-tint selection now, so it keeps the theme ink */
/* raised surfaces: a soft top-light, thin borders */
[data-theme="night"] .pw { background-image: var(--surface-light); }
[data-theme="night"] .pw__dots i { opacity: .7; }
[data-theme="night"] .t5__row.is-active { background: var(--sage); }
[data-theme="night"] .cell--matched { background: var(--ink); color: var(--ink-fixed); }
/* header: night glass, a hairline once scrolled */
[data-theme="night"] .header.is-scrolled { border-bottom-color: var(--rule); }
/* footer and night bands sit on the night ground: a hairline keeps the edge */
[data-theme="night"] .footer { border-top: 1px solid var(--night-rule); }
[data-theme="night"] main > .section--night:not(:first-child) { border-top: 1px solid var(--night-rule); }
/* the Field's still image is drawn on paper: turn it to night (dots light, gold kept gold) */
/* paper islands (brand band): their own ground and text, a clean edge against the night */
[data-theme="night"] [data-theme="paper"] { background-color: var(--paper); color: var(--ink); }

/* slim legal footer (request page) */
.footer--slim { padding: var(--s-6) 0; }
.footer--slim .footer__base { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); align-items: center; }
.footer--slim .footer__base a { min-height: 36px; display: inline-flex; align-items: center; color: var(--night-ink-2); }

/* ==================================================================================================================
   50k identity layer (29 Nov 2026). One system for simplenova.io and the app: simplenova-identity/IDENTITY.md
   ("dots and trajectories"). Website detail: docs/DESIGN-SYSTEM-50k.md. Tokens only, so night and paper both work.
   ================================================================================================================== */

/* ---------- icons: one custom set in static/img/icons.svg (24 grid, 1.6 stroke, round caps and joins, no fills).
   <svg class="ic" aria-hidden="true"><use href="/img/icons.svg#i-check"/></svg>. Colour is currentColor. ---------- */
.ic { display: inline-block; flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; vertical-align: -0.2em; }
.ic--16 { width: 16px; height: 16px; }
.ic--24 { width: 24px; height: 24px; }
.ic--28 { width: 28px; height: 28px; }
/* the one container an icon may sit in: feature rows, proof items, steps */
.ic-tile { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-control); background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--edge-light); color: var(--ink); }
.ic-tile .ic { width: 20px; height: 20px; }
.ic-tile--signal { color: var(--signal); }
.ic-tile--lg { width: 48px; height: 48px; border-radius: var(--r-card); }
.ic-tile--lg .ic { width: 24px; height: 24px; }

/* ---------- small labels: sentence case Geist 13/500 (the same look as .label) ---------- */
.figlabel { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; color: var(--ink-2); }

/* ---------- dot grid: 1 px dots, 18 px pitch, only inside a window or behind a diagram; fades at the edges ---------- */
.dotgrid { background-image: radial-gradient(var(--dot-ink) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent); mask-image: radial-gradient(closest-side, #000 52%, transparent); }

/* ---------- the one light per view: .has-light on the section; place it behind the main object with
   --light-x, --light-y (from the section's top left) and --light-w. Still: no breathing, no pointer follow. ---------- */
.has-light { position: relative; isolation: isolate; }
.has-light::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: var(--light-x, 50%); top: var(--light-y, 50%); width: var(--light-w, min(820px, 110vw)); aspect-ratio: 1.15; transform: translate(-50%, -50%); background: var(--light); }

/* ---------- trajectory: the thin line that carries the work (SVG path or line) ---------- */
.traj { fill: none; stroke: var(--traj); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.traj--faint { stroke-opacity: .45; }
.traj--light { stroke: var(--mint); }
.traj-dot { fill: var(--paper); stroke: var(--traj); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.traj-dot--on { fill: var(--traj); }

/* ---------- surfaces: night raised surfaces carry the top light, never an outer glow ---------- */
.surface { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--edge-light); }
.pw { box-shadow: var(--shadow-window); }

/* 50k round 5: with the nav hidden (under 900) the header's end pair goes to the right edge */
@media (max-width: 899px) { .header__nav + .header__end { margin-left: auto; } }

/* ---------- 30 Nov 2026, after the independent critique ---------- */
/* Figures: at 24 px and above a figure is Geist 600 with tabular numerals; Geist Mono is for 16 px and below only
   (scores, indices, IDs). .num on a large figure therefore reads as Geist. */
.figure, .num-lg { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* One closing band for every page: H2, lead, then button and link, all left; the signature mark at right from 1024.
   <section class="section cband"><div class="wrap cband__in">[svg.cband__mark] h2, p.lead, div.cband__actions</div></section> */
/* brand v2: the close is an ink-green band on every page (the dark token set comes from tokens.css), and the footer follows it */
.cband { position: relative; overflow: hidden; background: var(--paper); color: var(--ink); }
.cband .logo__mark { fill: var(--lime); }
main:has(> :is(.cband, .brand):last-child) + .footer { border-top: 1px solid var(--night-rule); }
.cband__in { position: relative; }
.cband__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }
.cband__mark { display: none; }
@media (min-width: 1024px) {
  .cband__mark { display: block; position: absolute; right: var(--side); top: 50%; width: min(560px, 44%); height: auto; transform: translateY(-50%); pointer-events: none; color: var(--signal); }
  .cband__in > :not(.cband__mark) { position: relative; z-index: 1; max-width: 56%; }
}

/* brand v2: where a page ends on the brand band the footer's large wordmark would repeat the lockup, so it steps aside */
main:has(> .brand:last-child) + .footer { padding-top: var(--s-7); }
main:has(> .brand:last-child) + .footer .footer__mark { display: none; }
main:has(> .brand:last-child) + .footer .footer__base { padding-bottom: var(--s-6); }
/* short pages: the footer sits at the bottom of the window */
body { min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.brand + .cband { border-top: 1px solid var(--rule); }
.footer--slim .footer__base { justify-content: flex-start; }

/* shared/system.css */
/* system.css (30 Nov 2026): the enterprise component layer. Reads only the semantic tokens, so night, paper and
   high-contrast all follow. Reference: docs/ENTERPRISE-SYSTEM.md and docs/system-reference.html.
   form fields · data table · status · alert · figure · definition rows · disclosure · forced colours · print */

/* ---------- form fields ---------- */
.field-row { position: relative; display: grid; gap: 6px; align-content: start; }
.field-row__label { font-size: var(--fs-ui); font-weight: 500; }
.field-row__hint { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--text-3); }
.field-row__hint:empty { display: none; }
.field-row__err { font-size: var(--fs-small); font-weight: 500; color: var(--negative); }
.input { width: 100%; min-height: var(--control-h); padding: 10px 14px; background: var(--surface-raised); border: 1px solid var(--line-control); border-radius: var(--r-control); font-size: var(--fs-base); color: var(--text); transition: border-color var(--t-state) var(--ease-out); }
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: none; padding-right: 36px; }
@media (hover: hover) and (pointer: fine) { .input:hover { border-color: var(--text-2); } }
.input:focus-visible { outline: var(--ring); outline-offset: 2px; border-color: var(--signal); }
.input[aria-invalid="true"] { border-color: var(--negative); }
.input:disabled { background: var(--surface-tint); color: var(--text-2); cursor: not-allowed; }
.field-row:has(> select)::after { content: ""; position: absolute; right: 17px; bottom: 21px; width: 7px; height: 7px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); pointer-events: none; }

/* ---------- data table: <div class="table-wrap" tabindex="0" role="region" aria-label="…"><table class="table"> ---------- */
.table-wrap { overflow-x: auto; position: relative; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface-raised); box-shadow: var(--edge-light); }
.table-wrap:focus-visible { outline: var(--ring); outline-offset: 2px; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-ui); line-height: 1.4; }
.table :is(th, td) { height: var(--row-h); padding: var(--s-2) var(--s-4); text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.table thead th { font-size: var(--fs-label); font-weight: 500; color: var(--text-2); white-space: nowrap; }
.table tbody th { font-weight: 600; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.table--compact { --row-h: 40px; }
@media (hover: hover) and (pointer: fine) { .table tbody tr:hover { background: var(--surface-tint); } }

/* ---------- status: always a word, the dot only repeats it ---------- */
.status { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 500; color: var(--text); white-space: nowrap; }
.status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--text-3); }
.status--live::before { background: var(--signal); border-color: var(--signal); }
.status--done::before { background: var(--positive); border-color: var(--positive); }
.status--review::before { background: var(--likely); border-color: var(--caution); }
.status--failed::before { background: var(--negative); border-color: var(--negative); }

/* ---------- alert: a full border, never a side bar ---------- */
.alert { padding: var(--s-4); border: 1px solid var(--line-control); border-radius: var(--r-control); background: var(--surface-raised); font-size: var(--fs-small); line-height: var(--lh-small); }
.alert > :first-child:is(h2, h3, b) { display: block; margin-bottom: var(--s-2); font-size: var(--fs-base); line-height: 1.3; font-weight: 600; }
.alert--error { border-color: var(--negative); }
.alert--error > :first-child:is(h2, h3, b) { color: var(--negative); }
.alert:focus, .alert:focus-visible { outline: none; box-shadow: 0 0 0 1px currentColor; }
.alert--error:focus, .alert--error:focus-visible { box-shadow: 0 0 0 1px var(--negative); }

/* ---------- figure with its label: at 24 px and above a figure is Geist 600 ---------- */
.fig { display: grid; gap: var(--s-1); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.fig__n { font-size: var(--fs-2xl); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fig__t { color: var(--text-2); font-size: var(--fs-small); line-height: var(--lh-small); max-width: 32ch; }

/* ---------- definition rows: the quiet alternative to a card grid ---------- */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rows > * { display: grid; gap: var(--s-1) var(--s-6); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.rows :is(dt, b) { font-weight: 600; letter-spacing: -0.01em; }
.rows :is(dd, span) { margin: 0; color: var(--text-2); max-width: var(--measure); }
@media (min-width: 900px) { .rows--split > * { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* ---------- disclosure ---------- */
.disclose { border-block: 1px solid var(--line); }
.disclose > summary { display: flex; align-items: center; gap: var(--s-3); min-height: 52px; font-weight: 500; cursor: pointer; list-style: none; }
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 6px 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--t-state) var(--ease-out); }
.disclose[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.disclose > summary:focus-visible { outline: var(--ring); outline-offset: 2px; border-radius: var(--r-inner); }

/* ---------- forced colours: shapes drawn with background colour need a system colour ---------- */
@media (forced-colors: active) {
  .btn, .chip, .cell, .surface, .pw { border: 1px solid ButtonText; }
  .t5__strip i { forced-color-adjust: none; }
  .status::before { border-color: CanvasText; }
  .t5__strip i.m { background: CanvasText; border-color: CanvasText; }
  .t5__strip i.l { background: Highlight; border-color: CanvasText; }
  .link-arrow::after { background: LinkText; }
}

/* ---------- print: paper, ink, no chrome; links show where they go ---------- */
@media print {
  :root, [data-theme="night"] { color-scheme: light; --paper: #fff; --sheet: #fff; --ink: #172623; --ink-2: #263B36; --ink-3: #46534F; --rule: #B7C3BD; --signal: #17523C; --night: #fff; --night-2: #fff; --night-ink: #172623; --night-ink-2: #263B36; --night-rule: #B7C3BD; }
  .header, .menu-sheet, .skip, .footer__mark, .field, .brief, canvas, [data-mega-panel] { display: none !important; }
  .section { padding-block: 24px; break-inside: auto; }
  .surface, .pw, .pkg, .table-wrap { box-shadow: none; break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  details > :not(summary) { display: block; }
  main a[href^="http"]:not(.btn)::after { content: " (" attr(href) ")"; font-size: 10pt; overflow-wrap: anywhere; }
}

/* section: 01-hero */
/* Buyer pages (enterprise, growth, security, implementation), 1 Dec 2026. Layout only: the bands, steps, ticks,
   breadcrumb and closing band come from hier.css, six.css and the shared layer. Semantic tokens only. */
.bp-hero { padding-block: var(--s-6) var(--s-8); }
.bp-h1 { max-width: 19ch; }
.bp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: var(--s-7); align-items: end; }
.bp-jump, .bp-price { padding: var(--s-5); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--edge-light); }
.bp-jump__t { margin: 0 0 var(--s-2); font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; color: var(--text-2); }
.bp-jump ul { margin: 0; padding: 0; list-style: none; }
.bp-jump a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 44px; border-top: 1px solid var(--line); color: var(--text); font-weight: 500; text-decoration: none; }
.bp-jump li:first-child a { border-top: 0; }
.bp-jump a .hx-ico { color: var(--signal); transform: rotate(90deg); }
.bp-jump a:focus-visible, .bp-rows a:focus-visible, .bp-card a:focus-visible, .bp-table a:focus-visible, .bp-note a:focus-visible { outline: var(--ring); outline-offset: 2px; border-radius: var(--r-inner); }
@media (hover: hover) and (pointer: fine) { .bp-jump a:hover { color: var(--signal); } }
.bp-jump--2 a { font-size: var(--fs-ui); }
.bp-jump--2 ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-5); }
.bp-jump--2 li:nth-child(2) a { border-top: 0; }

.bp-price__who { margin: 0; font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; color: var(--text-2); }
.bp-price__n { margin: var(--s-2) 0 0; font-size: var(--fs-3xl); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.bp-price__per { margin: var(--s-1) 0 0; color: var(--text-2); }
.bp-price .hx-ticks { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--fs-ui); }

.bp-head { max-width: 64ch; margin-bottom: var(--s-6); }
.bp-head h2 { margin: 0; }
.bp-shift { max-width: 30ch; }
.bp-para { max-width: 62ch; margin: 0; color: var(--text); }

.bp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.bp-cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.bp-sum .bp-head + .bp-price { margin-top: var(--s-5); }
@media (min-width: 1024px) { .bp-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bp-card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--edge-light); }
.dv-band .bp-card, .dv-band .bp-price { background: var(--surface-page); }
.bp-card h3 { margin: 0; font-size: var(--fs-md); line-height: 1.3; letter-spacing: -.01em; }
.bp-card p { margin: 0; color: var(--text-2); font-size: var(--fs-base); line-height: 1.55; }
.bp-card .link-arrow { margin-top: auto; padding-top: var(--s-2); }
.bp-card__k { order: -1; font-size: var(--fs-label); line-height: var(--lh-label); font-weight: 500; color: var(--text-2); }

.bp-rows dd a, .bp-table a, .bp-note a, .bp-card p a { color: var(--signal); text-underline-offset: 3px; }
.bp-rows dd { line-height: 1.55; }
.bp-rows dd + dd { margin-top: var(--s-2); }
.bp-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); margin-top: var(--s-5); }
.bp-note { max-width: 68ch; margin: var(--s-5) 0 0; color: var(--text-2); font-size: var(--fs-small); line-height: var(--lh-small); }
.bp-note a { display: inline-block; padding-block: var(--s-3); margin-block: calc(var(--s-3) * -1); }

.bp-tablewrap { margin: 0; }
.bp-table :is(th, td) { height: auto; padding: var(--s-4); vertical-align: top; line-height: 1.5; }
.bp-table tbody th { min-width: 11em; }
.bp-table td { color: var(--text-2); }
.bp-table .status { white-space: nowrap; color: var(--text); }
.dv-band .bp-tablewrap { background: var(--surface-page); }

.bp-steps { margin-top: 0; }
.bp-steps .hx-step__t a { display: inline-block; padding-block: var(--s-3); margin-block: calc(var(--s-3) * -1); }
.bp-steps .hx-step__t { font-size: var(--fs-md); line-height: 1.3; }
.bp-sum { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.bp-sum .bp-head { margin-bottom: 0; }
.bp-calc { display: block; margin: var(--s-4) 0 0; font-size: var(--fs-xl); line-height: 1.3; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--text); }
.bp-calc span { display: block; font-size: var(--fs-base); font-weight: 400; letter-spacing: 0; color: var(--text-2); }

@media (max-width: 1023px) {
  .bp-top, .bp-sum { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .bp-top { align-items: start; }
}
@media (max-width: 599px) {
  .bp-jump--2 ul { grid-template-columns: minmax(0, 1fr); }
  .bp-jump--2 li:nth-child(2) a { border-top: 1px solid var(--line); }
  .bp-table, .bp-table tbody, .bp-table tr, .bp-table :is(th, td) { display: block; }
  .bp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bp-table tr { padding: var(--s-4); border-bottom: 1px solid var(--line); }
  .bp-table tr:last-child { border-bottom: 0; }
  .bp-table tbody :is(th, td) { padding: 0; border-bottom: 0; }
  .bp-table tbody th { min-width: 0; margin-bottom: var(--s-2); }
  .bp-table td + td { margin-top: var(--s-2); }
  .bp-table td::before { content: attr(data-l) ": "; color: var(--text-3); }
}

/* section: 02-who */
/* enterprise 02-who: styles are in this page's 01-hero/section.css */

/* section: 03-shift */
/* enterprise 03-shift: styles are in this page's 01-hero/section.css */

/* section: 04-divisions */
/* enterprise 04-divisions: styles are in this page's 01-hero/section.css */

/* section: 05-governance */
/* enterprise 05-governance: styles are in this page's 01-hero/section.css */

/* section: 06-integrations */
/* enterprise 06-integrations: styles are in this page's 01-hero/section.css */

/* section: 07-implementation */
/* enterprise 07-implementation: styles are in this page's 01-hero/section.css */

/* section: 08-security */
/* enterprise 08-security: styles are in this page's 01-hero/section.css */

/* section: 09-commercial */
/* enterprise 09-commercial: styles are in this page's 01-hero/section.css */

/* section: 10-close */
/* enterprise 10-close: styles are in this page's 01-hero/section.css */
