/* Hallmark · checked: 2026-10-24 · genre: modern-minimal (inferred)
 * floor: see sweep · structural: printed (3, 8, 9, 44, 58, F7) · copy: range dashes kept, owner to decide
 * built: the project · redesign: polish · v2.0.0 */
/* Hallmark · waive 39b · the proof-card pause and replay controls are 32px media controls with a 44px hit target inside the card · every other control on the site stands 44px */
/* Hallmark · waive 49b · footer and menu links wrap to two lines at 320 to 414px, never more · "Process & automation" and "Dashboards & reporting" are the services' own names and cannot shorten */
/* Hallmark · reworded "Rates" over "On request" to "Rates on request" · 54 named the eyebrow */
/* Hallmark · reworded "Example" over "Month-end pack" and "Pay run check" to "Example month-end pack" and "Example pay run check" · 54 */
/* Hallmark · dropped the labels "Why join Yak", "Apply" and "Send us a message" above their headings · 54, each heading already says it */
/* Hallmark · moved the audience, plan, team and programme labels under their headings, and the chain stages and timeline times into their headings · 54 */
@font-face{font-family:"Host Grotesk";src:url("fonts/host-grotesk-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Host Grotesk";src:url("fonts/host-grotesk-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/inter-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("fonts/inter-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
/* Yak Advisory — site styles
   Built on yak_design_system_v2 (tokens.json v2). Layout: a 1280px frame between two drawn
   hairlines, sections divided by rules with square markers at the crossings, 12-column grid. */

/* ---------- Tokens: light (default) ---------- */
:root {
  --paper: #FDFCFC;
  --paper-2: #F4F2F0;
  --paper-3: #EBE8E4;
  --ink: #111316;
  --ink-2: #51545B;
  --muted: #6E6A64;
  --rule: rgba(17, 19, 22, 0.10);
  --rule-mid: rgba(17, 19, 22, 0.24);
  --rule-strong: #111316;
  --dot: rgba(17, 19, 22, 0.18);
  --accent: #1F3BB8;
  --accent-press: #18309A;
  --accent-deep: #0F1F6B;
  --on-accent: #FFFFFF;
  --on-accent-deep: #FFFFFF;
  --on-accent-deep-2: rgba(255, 255, 255, 0.74);
  --accent-tint: #E7EBFA;
  --ok: #1D6A45;
  --attention: #8A5800;
  --logo-1: #111316;
  --logo-2: #51545B;
  --ok-tint: rgba(29, 106, 69, 0.12);
  --field-line: rgba(17, 19, 22, 0.48);  /* 3.3:1 on paper: form field borders (WCAG 1.4.11) */
  --glass: rgba(253, 252, 252, 0.72);
  --tile-lit: #F4F2F0;        /* hovered logo tile: always light, so dark wordmarks stay readable */
  --tile-lit-ink: #111316;
  --tile-lit-muted: #6E6A64;
  --shadow-card: rgba(16, 20, 40, 0.25);
  --glass-strong: rgba(253, 252, 252, 0.92);

  --font-display: "Host Grotesk", "Inter", Arial, "Helvetica Neue", sans-serif;
  --font-sans: "Inter", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;

  --radius-0: 0px; --radius-1: 4px; --radius-2: 8px; --radius-pill: 999px;

  --content-max: 1280px;
  --gutter: 24px;
  --pad-x: 48px;           /* inside the drawn frame */
  --section-y: var(--space-9);
  --header-h: 64px;
  --dot-pitch: 16px;

  --dur-fast: 150ms;
  --dur-base: 300ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);

  color-scheme: light;
}

/* ---------- Tokens: dark (web only) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1012; --paper-2: #17191C; --paper-3: #202328;
    --ink: #F1F1EE; --ink-2: #A9ADB4; --muted: #8E929A;
    --rule: rgba(241, 241, 238, 0.12); --rule-mid: rgba(241, 241, 238, 0.26); --rule-strong: #F1F1EE;
    --dot: rgba(241, 241, 238, 0.20);
    --accent: #8FA3FF; --accent-press: #A9B8FF; --accent-deep: #101A52;
    --on-accent: #0E1012; --on-accent-deep: #F1F1EE; --on-accent-deep-2: rgba(241, 241, 238, 0.74);
    --accent-tint: #1B2346; --ok: #6FC79A; --attention: #E3B254;
    --logo-1: #FFFFFF; --logo-2: #B9BDC4;
    --glass: rgba(14, 16, 18, 0.68); --glass-strong: rgba(14, 16, 18, 0.9); --ok-tint: rgba(111, 199, 154, 0.16); --field-line: rgba(241, 241, 238, 0.42);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1012; --paper-2: #17191C; --paper-3: #202328;
  --ink: #F1F1EE; --ink-2: #A9ADB4; --muted: #8E929A;
  --rule: rgba(241, 241, 238, 0.12); --rule-mid: rgba(241, 241, 238, 0.26); --rule-strong: #F1F1EE;
  --dot: rgba(241, 241, 238, 0.20);
  --accent: #8FA3FF; --accent-press: #A9B8FF; --accent-deep: #101A52;
  --on-accent: #0E1012; --on-accent-deep: #F1F1EE; --on-accent-deep-2: rgba(241, 241, 238, 0.74);
  --accent-tint: #1B2346; --ok: #6FC79A; --attention: #E3B254;
  --logo-1: #FFFFFF; --logo-2: #B9BDC4;
  --glass: rgba(14, 16, 18, 0.68); --glass-strong: rgba(14, 16, 18, 0.9); --ok-tint: rgba(111, 199, 154, 0.16); --field-line: rgba(241, 241, 238, 0.42);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }  /* a safety net only: never a horizontal page scroll, even if a child escapes */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-1); }
[hidden] { display: none !important; }
.sr-only { position: absolute; 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: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--paper); padding: var(--space-2) var(--space-3); border-radius: var(--radius-1); text-decoration: none; font-size: 14px; }
.skip:focus { top: 8px; }

/* ---------- Type ---------- */
.t-display, .t-h1, .t-h2, .t-h3, .t-h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.t-display { font-size: clamp(44px, 6.2vw, 72px); line-height: 1.0; letter-spacing: -0.025em; }
.t-h1 { font-size: clamp(36px, 4.8vw, 56px); line-height: 1.04; letter-spacing: -0.02em; }
.t-h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.015em; }
.t-h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.t-h4 { font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; }
.two .l2, .l2 { color: var(--ink-2); }
/* Two-tone headings: each phrase wraps as a unit. The grey phrase stays on the same line only if
   all of it fits; otherwise it starts a new line, so no grey runt trails the dark phrase. */
.two, .mission { text-wrap: wrap; }
.two > .l1, .two > .l2, .mission > .l1, .mission > .l2 { display: inline-block; text-wrap: balance; max-width: 100%; }
.t-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.t-body { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
.t-small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.t-muted { color: var(--muted); }
.label {
  font-family: var(--font-sans); font-size: 13px; line-height: 1.35; font-weight: 500;
  letter-spacing: 0; color: var(--muted);
}
.label--ink { color: var(--ink); }
.fig { font-family: var(--font-mono); font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.fig-lg { font-family: var(--font-mono); font-size: 40px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.prose p + p { margin-top: var(--space-4); }
.prose a, .t-body a, .t-small a, .t-lead a { text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-mid); }
.prose a:hover, .t-body a:hover, .t-small a:hover, .t-lead a:hover { text-decoration-color: currentColor; }

/* ---------- Frame & grid ---------- */
.frame {
  width: min(100% - 2 * var(--space-7), var(--content-max));
  margin-inline: auto;
  border-inline: 1px solid var(--rule);
  position: relative;
}
.section {
  position: relative;
  padding-inline: var(--pad-x);
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
}
.section--tight { padding-block: var(--space-8); }
.section--flush-top { border-top: 0; }
.section--alt { background: var(--paper-2); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.grid > * { min-width: 0; }
.c-12 { grid-column: span 12; } .c-8 { grid-column: span 8; } .c-7 { grid-column: span 7; }
.c-6 { grid-column: span 6; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }


/* ---------- Section opener ---------- */
.opener { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4) var(--gutter); align-items: end; margin-bottom: var(--space-7); }
.opener h2 { grid-column: span 8; }
.opener .opener-act { grid-column: span 4; justify-self: end; }
.opener .opener-text { grid-column: 1 / span 7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: var(--radius-1);
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-press); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-mid); }
.btn--ghost:hover { background: var(--paper-3); border-color: var(--ink-2); }
.btn--quiet { background: var(--paper-3); color: var(--ink); }
.btn--quiet:hover { background: var(--rule-mid); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--light { background: var(--on-accent-deep); color: var(--accent-deep); }
.btn--light:hover { background: var(--on-accent-deep-2); }
.btn--outline-light { background: transparent; color: var(--on-accent-deep); border-color: var(--on-accent-deep-2); }
.btn--outline-light:hover { border-color: var(--on-accent-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Announcement bar ---------- */
.announce { border-bottom: 1px solid var(--rule); background: var(--paper); }
.announce .frame { border-inline: 0; display: flex; align-items: center; justify-content: center; gap: var(--space-3); padding: 10px 0; font-size: 14px; color: var(--ink-2); text-align: center; flex-wrap: wrap; }
.announce a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.a-short { display: none; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--radius-pill);
  border: 1px solid var(--rule-mid); font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--rule); transition: border-color var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--paper); } }
.site-header.is-open { background: var(--paper); }
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--rule); }
.site-header .frame { border-inline-color: transparent; }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: var(--space-6); padding-inline: var(--pad-x); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo { display: block; height: 26px; width: auto; }
.logo .l1 { fill: var(--logo-1); }
.logo .l2 { fill: var(--logo-2); }
.nav { display: flex; align-items: center; gap: var(--space-1); margin-left: var(--space-4); }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-1);
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; background: transparent; border: 0; cursor: pointer;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--ink); background: var(--paper-2); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; background: var(--accent); margin-left: 2px; }
.nav-trigger svg { width: 12px; height: 12px; transition: transform var(--dur-base) var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--rule-mid); border-radius: var(--radius-1); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; }

/* mega-menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule);
}
html:not(.js) .mega { display: none; }  /* without scripts the trigger does nothing; the footer carries every link */
.js .mega:not(.is-open) {
  opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility 0s linear var(--dur-base);
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility 0s; }
.mega .frame { border-inline-color: var(--rule); background: var(--paper); }
.mega-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding: var(--space-6) var(--pad-x) var(--space-7); }
.mega-group { grid-column: span 4; }
.mega-group .label { display: block; margin-bottom: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--rule); }
.mega-item { display: grid; grid-template-columns: 36px 1fr; gap: var(--space-3); align-items: start; padding: 10px; margin-inline: -10px; border-radius: var(--radius-1); text-decoration: none; transition: background-color var(--dur-fast) var(--ease); }
.mega-item:hover { background: var(--paper-2); }
.mega-item:hover .icon-tile { background: var(--paper-3); }
.mega-item .t-h4 { font-size: 16px; display: block; }
.mega-item .t-small { display: block; margin-top: 2px; }
.mega-feature { grid-column: span 4; background: var(--paper-2); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.mega-feature .doc-mini { background: var(--paper); border-radius: var(--radius-2); padding: var(--space-4); }

.icon-tile { width: 36px; height: 36px; display: grid; place-items: center; background: var(--paper-2); border-radius: var(--radius-1); flex: none; transition: background-color var(--dur-fast) var(--ease); }
.icon-tile svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.section--alt .icon-tile, .panel .icon-tile { background: var(--paper); }

/* mobile menu */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: var(--space-10); padding-bottom: var(--space-8); border-top: 0; }
.hero .hero-copy { position: relative; grid-column: 1 / span 9; }
.hero .t-display, .hero .t-h1 { margin-top: 0; }
.hero .t-lead { margin-top: var(--space-5); }
.hero .btn-row { margin-top: var(--space-6); }
.page-hero { padding-top: var(--space-9); padding-bottom: var(--space-8); }
.page-hero .hero-copy { grid-column: 1 / span 9; }
.crumbs { display: flex; gap: var(--space-2); align-items: center; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* dot ridge */
.ridge { position: relative; height: 240px; border-top: 1px solid var(--rule); overflow: hidden; }
.ridge canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ridge--footer { height: 150px; }
.ridge-tag { position: absolute; font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--ink); background: var(--paper); padding: 3px 6px; border: 1px solid var(--rule-mid); white-space: nowrap; opacity: 0; transition: opacity var(--dur-base) var(--ease); }
.ridge-tag.is-placed { opacity: 1; }

/* ---------- Panels, bento ---------- */
.panel { background: var(--paper-2); padding: var(--space-6); position: relative; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.panel--plain { background: transparent; border: 1px solid var(--rule); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.bento > * { min-width: 0; }
.panel-foot { margin-top: auto; padding-top: var(--space-5); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.door { text-decoration: none; color: inherit; transition: background-color var(--dur-base) var(--ease); }
.door:hover { background: var(--paper-3); }
.price-from { display: flex; flex-direction: column; gap: 2px; }
.price-from .fig { font-size: 15px; color: var(--ink); }
.inner-card { background: var(--paper); border-radius: var(--radius-2); padding: var(--space-5); min-width: 0; }
.example-tag { display: inline-flex; align-items: center; gap: var(--space-2); }
.example-tag::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--ink-2); }

/* checklist with squares */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--ink); }
.ticks--x li::before { background: transparent; border: 1px solid var(--ink-2); width: 7px; height: 7px; top: 0.5em; }
.ticks strong { color: var(--ink); font-weight: 500; }

/* status */
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; flex: none; }
.status--ok { color: var(--ok); }
.status--ok::before { background: var(--ok); }
.status--attn { color: var(--attention); }
.status--attn::before { border: 1px solid var(--attention); width: 7px; height: 7px; }
.status--src { color: var(--muted); }
.status--src::before { background: var(--muted); border-radius: 50%; width: 5px; height: 5px; }

/* ---------- Proof frame (statement) ---------- */
.proof { background: var(--paper-2); padding: var(--space-6); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.proof-side { grid-column: span 4; display: flex; flex-direction: column; gap: var(--space-4); }
.proof-doc { grid-column: span 8; }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; padding-bottom: var(--space-4); border-bottom: 2px solid var(--rule-strong); }
.doc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 112px; gap: var(--space-4); align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.doc-row .t-small { display: block; color: var(--muted); }
.doc-row .fig { text-align: right; color: var(--ink); }
.doc-row .delta { display: block; font-size: 13px; color: var(--ink-2); text-align: right; }
.doc-row--hi { background: var(--accent-tint); margin-inline: calc(-1 * var(--space-3)); padding-inline: var(--space-3); }
.doc-row--hi .fig { color: var(--accent); }
.doc-foot { display: flex; flex-wrap: wrap; gap: var(--space-2) 20px; padding-top: var(--space-4); align-items: center; }
.dot-grid { background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: var(--dot-pitch) var(--dot-pitch); background-position: 8px 8px; }

/* ---------- Chain / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); counter-reset: step; }
.step { border-top: 2px solid var(--rule-strong); padding-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.step .label { color: var(--ink); }
.step .t-h4 { margin-top: var(--space-2); }
.step .t-small { color: var(--ink-2); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ol.steps { list-style: none; margin: 0; padding: 0; }
.step { counter-increment: step; }
.step::before { content: "Step " counter(step); font-family: var(--font-sans); font-size: 13px; line-height: 1.35; font-weight: 500; color: var(--ink); }  /* a real <ol>, numbered by its counter */
.steps--stack { display: grid; gap: var(--space-5); align-content: start; }
.h-pre { display: block; margin-bottom: var(--space-2); font-family: var(--font-sans); font-size: 13px; line-height: 1.35; font-weight: 500; color: inherit; letter-spacing: 0; }  /* a stage or time: a second line at a second size, never a second colour */
.card-meta { display: block; margin-top: calc(-1 * var(--space-2)); }  /* audience, plan or team, set under its heading */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--rule); }
.chain-cell { padding: var(--space-5); border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: var(--space-3); position: relative; min-width: 0; background: var(--paper); }
.chain-cell:first-child { border-left: 0; }
.chain-cell:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 34px; width: 11px; height: 11px; background: var(--paper); border-top: 1px solid var(--ink-2); border-right: 1px solid var(--ink-2); transform: rotate(45deg); z-index: 1; }

/* ---------- Home: service list and controls ---------- */
.svc-list { margin-top: var(--space-4); }
.svc-list a { display: block; padding: 14px 0; border-top: 1px solid var(--rule); text-decoration: none; color: inherit; }
.svc-list .t-h4 { display: block; font-size: 16px; }
.svc-list .t-small { display: block; margin-top: 2px; }
.svc-list a:hover .t-h4, .svc-list a:focus-visible .t-h4 { text-decoration: underline; text-underline-offset: 3px; }
.controls { align-items: start; }
.control-list { list-style: none; margin: 0; padding: 0; }
.control-list li { padding: var(--space-5) 0; border-top: 1px solid var(--rule); }
.control-list li:first-child { border-top: 0; padding-top: 0; }
.control-list p { margin-top: 6px; max-width: 52ch; }
/* ---------- Controls trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.trio-item { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.trio-art { aspect-ratio: 16 / 10; background: var(--paper-2); display: grid; place-items: center; max-width: 100%; }
.trio-art svg { width: 76%; height: auto; overflow: visible; }
.art { fill: none; stroke: var(--ink); stroke-width: 1; }
.art-dash { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 2 3; }
.art-accent { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.art-fill { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.art-solid { fill: var(--ink); stroke: none; }
.art-text { font-family: var(--font-sans); font-size: 7.5px; font-weight: 500; letter-spacing: 0; fill: var(--muted); }

/* ---------- Boundary block ---------- */
.boundary { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.boundary > div { min-width: 0; }
.boundary .b-no { grid-column: span 6; }
.boundary .b-yes { grid-column: span 6; }
.boundary h3 { margin-bottom: var(--space-4); }

/* ---------- Insight / offer cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.card { border-top: 2px solid var(--rule-strong); padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); text-decoration: none; color: inherit; min-width: 0; }
.card .t-h3 { margin-top: var(--space-2); }
.card .meta { margin-top: auto; padding-top: var(--space-4); display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); border-top: 1px solid var(--rule); }
.card:hover .t-h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- Price tables ---------- */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }  /* relative: keeps absolutely positioned cell text (sr-only) inside the scroll box */
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.ptable caption { text-align: left; padding-bottom: var(--space-3); }
.ptable th, .ptable td { padding: var(--space-3) 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.ptable thead th { border-bottom: 2px solid var(--rule-strong); vertical-align: bottom; padding-top: 0; }
.ptable thead th .t-h3 { display: block; font-size: 22px; }
.ptable thead th .fig { display: block; margin-top: var(--space-2); color: var(--ink); font-size: 15px; }
.ptable thead th .t-small { display: block; margin-top: 2px; font-weight: 400; }
.ptable tbody th { font-weight: 400; color: var(--ink-2); width: 26%; }
.ptable td { color: var(--ink); }
.ptable td.num, .ptable th.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable .yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); vertical-align: middle; }
.ptable .yes svg { width: 12px; height: 12px; display: block; }
.ptable .yes path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ptable .no { color: var(--muted); }
.ptable tfoot td { border-bottom: 0; padding-top: var(--space-4); }
.ptable--list { min-width: 0; }
.ptable--list td:first-child { color: var(--ink); }
.ptable--list td .t-small { display: block; color: var(--muted); }
.ptable .row-group th { padding-top: var(--space-5); border-bottom: 1px solid var(--rule-mid); }
.note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.note + .note { margin-top: 6px; }
.unit { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; color: var(--muted); }

/* tier cards (offer ladder) */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.tiers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier { background: var(--paper-2); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.tier .price { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; }
.tier .price .fig-lg { color: var(--ink); }
.tier .ticks { margin-top: var(--space-2); }
.tier .tier-foot { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--rule); }

/* ---------- Segmented control / tabs ---------- */
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--paper-3); border-radius: var(--radius-1); }
.seg button { height: 44px; padding: 0 var(--space-4); white-space: nowrap; border: 0; border-radius: 3px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-2); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--rule); }
.seg button[aria-selected="true"]::before, .seg button[aria-pressed="true"]::before { content: ""; width: 5px; height: 5px; background: var(--accent); }
.seg--sm button { height: 28px; padding: 0 10px; font-size: 13px; }
.region-bar { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }

/* ---------- Tool panel ---------- */
.tool { background: var(--paper-2); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
.tool-in { grid-column: span 7; padding: var(--space-6); display: grid; gap: var(--space-5); align-content: start; }
.tool-out { grid-column: span 5; padding: var(--space-6); border-left: 1px solid var(--rule); display: flex; flex-direction: column; gap: var(--space-4); background: var(--paper); margin: var(--space-3); border-radius: var(--radius-2); }
.field { display: grid; gap: var(--space-2); }
.field label, .field .label { color: var(--ink); }
.field-row { display: flex; align-items: center; gap: var(--space-3); }
.input {
  height: 44px; width: 140px; padding: 0 var(--space-3); border-radius: var(--radius-1); border: 1px solid var(--field-line);
  background: var(--accent-tint); color: var(--ink); font-family: var(--font-mono); font-size: 16px; font-variant-numeric: tabular-nums;
}
.input:focus-visible { outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.range { width: 100%; accent-color: var(--accent); }
.out-lines { display: grid; gap: 0; }
.out-line { display: flex; justify-content: space-between; gap: var(--space-4); padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.out-line .fig { color: var(--ink); white-space: nowrap; }
.out-line--total { border-bottom: 2px solid var(--rule-strong); color: var(--ink); font-weight: 500; }
.out-result .fig-lg { color: var(--accent); }

/* ---------- People ---------- */
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.monogram { width: 96px; height: 96px; background: var(--paper-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 32px; color: var(--ink); letter-spacing: -0.02em; position: relative; }
.monogram::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 5px; height: 5px; background: var(--ink-2); }

/* key/value list */
.kv { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); border-top: 1px solid var(--rule); }
.kv > * { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kv dt { color: var(--muted); font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; padding-top: var(--space-4); }
.kv dd { margin: 0; color: var(--ink); font-size: 15px; }

/* email copy */
.email-box { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.email-text { font-family: var(--font-mono); font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -0.01em; color: var(--ink); user-select: all; word-break: break-all; }
.copy-state { font-family: var(--font-mono); font-size: 12px; color: var(--ok); }

/* ---------- Closing CTA band (full bleed) ---------- */
.cta-band { background: var(--accent-deep); color: var(--on-accent-deep); position: relative; overflow: hidden; }
.cta-band .cta-inner { position: relative; z-index: 1; }
.cta-inner { padding: var(--space-9) var(--pad-x); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.cta-inner .cta-copy { grid-column: span 8; }
.cta-inner .cta-act { grid-column: span 4; justify-self: end; display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-end; }
.cta-band .t-h1 { color: var(--on-accent-deep); }
.cta-band .t-h1 .l2 { color: var(--on-accent-deep-2); }
.cta-band .label { color: var(--on-accent-deep-2); }
.cta-band .t-lead { color: var(--on-accent-deep-2); margin-top: var(--space-5); }
.cta-band :focus-visible { outline-color: var(--on-accent-deep); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding: var(--space-8) var(--pad-x) var(--space-7); }
.footer-brand { grid-column: span 4; display: flex; flex-direction: column; gap: var(--space-4); }
.footer-col { grid-column: span 2; }
.footer-col .label { display: block; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-contact { grid-column: span 4; }
.footer-legal { border-top: 1px solid var(--rule); padding: var(--space-5) var(--pad-x) var(--space-6); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-3) var(--gutter); align-items: start; }
.footer-legal .legal-text { grid-column: span 9; display: grid; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.footer-legal .legal-text strong { color: var(--ink-2); font-weight: 500; }
.footer-legal .theme-ctl { grid-column: span 3; justify-self: end; display: flex; align-items: center; gap: 10px; }

/* ---------- Misc ---------- */
.divider-label { display: flex; align-items: center; gap: var(--space-4); margin-block: var(--space-7) var(--space-5); }
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.callout { border-left: 2px solid var(--rule-strong); padding: var(--space-1) 0 var(--space-1) var(--space-5); }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.split > * { min-width: 0; }
.mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); } .mt-8 { margin-top: var(--space-8); }
.region-panel[hidden] { display: none !important; }
.dash { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3); }
.kpi { background: var(--paper); border-radius: var(--radius-2); padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kpi .fig { font-size: 22px; color: var(--ink); }
.chart-box { background: var(--paper); border-radius: var(--radius-2); padding: var(--space-4); min-width: 0; }
.chart-box svg { width: 100%; height: auto; display: block; }
.c-axis { stroke: var(--rule-mid); stroke-width: 1; }
.c-grid { stroke: var(--rule); stroke-width: 1; }
.c-bar { fill: var(--ink-2); }
.c-bar--hi { fill: var(--accent); }
.c-bar--soft { fill: var(--paper-3); }
.c-line { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.c-area { fill: var(--dot); }
.c-lbl { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); }
.c-val { font-family: var(--font-mono); font-size: 10px; fill: var(--ink); }
.sop { display: grid; gap: 0; }
.sop-step { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.sop-step .fig { color: var(--muted); font-size: 13px; }

/* ---------- Motion ---------- */
.reveal { transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.js .reveal.is-pending { opacity: 0.001; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero .hero-copy, .page-hero .hero-copy { grid-column: 1 / -1; }
  .nav { display: none; }
  .header-actions .btn-header { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--paper); z-index: 49;
    overflow-y: auto; padding: var(--space-5) var(--space-5) calc(var(--space-7) + env(safe-area-inset-bottom, 0px));
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu .label { display: block; margin: var(--space-5) 0 var(--space-2); }
  .mobile-menu a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-family: var(--font-display); font-size: 22px; color: var(--ink); }
  .mobile-menu a.m-link .arr { width: 12px; height: 12px; color: var(--ink-2); }
  .mobile-menu .btn { width: 100%; margin-top: var(--space-6); }
  .mega { display: none; }
}
@media (max-width: 1023px) {
  :root { --pad-x: 32px; --section-y: var(--space-8); }
  .frame { width: min(100% - 2 * var(--space-5), var(--content-max)); }
  .hero .hero-copy, .page-hero .hero-copy { grid-column: 1 / -1; }
  .opener h2 { grid-column: 1 / -1; }
  .opener .opener-act { grid-column: 1 / -1; justify-self: start; }
  .opener .opener-text { grid-column: 1 / -1; }
  .c-7, .c-5, .c-8, .c-4, .c-6 { grid-column: span 12; }
  .proof-side, .proof-doc { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain-cell:nth-child(3) { border-left: 0; }
  .chain-cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .chain-cell:nth-child(2)::after { display: none; }
  .trio, .cards { grid-template-columns: minmax(0, 1fr); }
  .trio-art { aspect-ratio: 16 / 7; }
  .tiers, .tiers--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boundary .b-no, .boundary .b-yes { grid-column: 1 / -1; }
  .tool-in, .tool-out { grid-column: 1 / -1; }
  .tool-out { border-left: 0; }
  .cta-inner .cta-copy, .cta-inner .cta-act { grid-column: 1 / -1; justify-self: start; align-items: flex-start; }
  .footer-brand, .footer-contact { grid-column: span 12; }
  .footer-col { grid-column: span 4; }
  .footer-legal .legal-text, .footer-legal .theme-ctl { grid-column: 1 / -1; justify-self: start; }
  .mega-group, .mega-feature { grid-column: span 6; }
  .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  :root { --pad-x: 16px; --section-y: var(--space-7); --gutter: 16px; }
  .frame { width: 100%; border-inline: 0; }
  .a-long { display: none; }
  .a-short { display: inline; }
  .announce .frame { flex-wrap: nowrap; gap: var(--space-2); font-size: 13px; padding-inline: var(--space-4); }
  .announce .tag { display: none; }
  .header-row { gap: var(--space-3); }
  .hero { padding-top: var(--space-8); }
  .page-hero { padding-top: var(--space-7); }
  .ridge { height: 160px; }
  .ridge--footer { height: 110px; }
  .panel, .tier, .proof { padding: var(--space-5); }
  .steps, .steps--3, .chain, .tiers, .tiers--4 { grid-template-columns: minmax(0, 1fr); }
  .chain-cell { border-left: 0; border-top: 1px solid var(--rule); }
  .chain-cell:first-child { border-top: 0; }
  .chain-cell::after { display: none; }
  .doc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .doc-row .status { grid-column: 1 / -1; }
  .person { grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-4); }
  .monogram { width: 64px; height: 64px; font-size: 24px; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv dt { border-bottom: 0; padding-bottom: 0; }
  .footer-col { grid-column: span 6; }
  .btn-row .btn { flex: 1 1 auto; }
  .tool-out { margin: 0 var(--space-3) var(--space-3); padding: var(--space-5); }
  .tool-in { padding: var(--space-5); }
  .cta-inner { padding-block: var(--space-8); }
  .logo { height: 22px; }
  .sop-step { grid-template-columns: 28px minmax(0, 1fr); }
  .sop-step .status { grid-column: 2; }
}
details > summary { list-style: none; cursor: pointer; display: inline-flex; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { background: var(--paper-3); }
.inner-card > .ticks { margin-top: var(--space-4); }
.nav-trigger[data-active] { color: var(--ink); }
.tier .price .label { align-self: center; }

/* ---------- v2.1 additions ---------- */
.placeholder { font-family: var(--font-mono); color: var(--attention); background: var(--accent-tint); padding: 1px 6px; border-radius: var(--radius-1); }
.cred { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 10px; border: 1px solid var(--rule-mid); border-radius: var(--radius-1); font-size: 13px; font-weight: 500; color: var(--ink); background: var(--paper); }
.cred::before { content: ""; width: 5px; height: 5px; background: var(--ink); }

/* tools strip */
.tools-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); margin-bottom: var(--space-5); }
.tools { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.tile { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); min-height: 88px; padding: 14px var(--space-4); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; position: relative; transition: background-color var(--dur-base) var(--ease); min-width: 0; }
.tile:hover { background: var(--paper-2); }
.tile-cat { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0; color: var(--muted); }
.tile-name { font-family: var(--font-display); font-size: 19px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink-2); transition: color var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease); overflow-wrap: anywhere; }
.tile:hover .tile-name { color: var(--ink); transform: translateX(2px); }
.tile::after { content: ""; position: absolute; right: 12px; top: 14px; width: 5px; height: 5px; background: var(--ink); opacity: 0; transform: scale(0.4); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease); }
.tile:hover::after { opacity: 1; transform: none; }
/* logo tiles: muted until hovered; in dark mode the hovered tile turns light so every brand colour reads */
.tile--logo { justify-content: space-between; }
.tile--logo::after { display: none; }
.tile-logo { display: flex; align-items: center; gap: 10px; min-height: 36px; min-width: 0; }
.tile-logo img { height: var(--h, 28px); width: auto; max-width: 100%; object-fit: contain; flex: none; filter: grayscale(1); opacity: 0.6; transition: filter var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.tile--logo .tile-name { font-size: 16px; color: var(--ink-2); }
.tile--logo:hover img, .tile--logo:focus-within img { filter: none; opacity: 1; transform: translateY(-1px); }
.tile--logo:hover .tile-name { color: var(--ink); transform: none; }
:root[data-theme="dark"] .tile--logo img { filter: grayscale(1) invert(1); opacity: 0.68; }
:root[data-theme="dark"] .tile--logo:hover { background: var(--tile-lit); }
:root[data-theme="dark"] .tile--logo:hover img { filter: none; opacity: 1; }
:root[data-theme="dark"] .tile--logo:hover .tile-name { color: var(--tile-lit-ink); }
:root[data-theme="dark"] .tile--logo:hover .tile-cat { color: var(--tile-lit-muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tile--logo img { filter: grayscale(1) invert(1); opacity: 0.68; }
  :root:not([data-theme="light"]) .tile--logo:hover { background: var(--tile-lit); }
  :root:not([data-theme="light"]) .tile--logo:hover img { filter: none; opacity: 1; }
  :root:not([data-theme="light"]) .tile--logo:hover .tile-name { color: var(--tile-lit-ink); }
  :root:not([data-theme="light"]) .tile--logo:hover .tile-cat { color: var(--tile-lit-muted); }
}

/* forms */
.form { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-4); }
.form .field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.form .field--full { grid-column: 1 / -1; }
.form .field label { font-size: 14px; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: var(--space-2); transition: color var(--dur-fast) var(--ease); }
.form .field:focus-within label { color: var(--accent); }
.opt { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.text-input {
  width: 100%; min-height: 44px; padding: 10px var(--space-3); border-radius: var(--radius-1); border: 1px solid var(--field-line);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
textarea.text-input { resize: vertical; min-height: 120px; }
.text-input::placeholder { color: var(--muted); opacity: 1; }
.text-input:hover { border-color: var(--ink-2); }
.text-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.text-input[aria-invalid="true"] { border-color: var(--attention); }
.field-error { min-height: 0; font-size: 13px; color: var(--attention); }
.field-error:empty { display: none; }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: transform var(--dur-base) var(--ease); }
.select:focus-within::after { transform: translateY(-30%) rotate(225deg); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.form-foot .note { flex: 1 1 220px; }
.form-status:empty { display: none; }
.form-status { padding: var(--space-3) 14px; border-radius: var(--radius-1); font-size: 14px; border: 1px solid var(--rule-mid); background: var(--paper); color: var(--ink); animation: fadeUp var(--dur-base) var(--ease); }
.form-status.is-error { border-color: var(--attention); }
.form-done { display: grid; gap: var(--space-3); padding: var(--space-6) 0 var(--space-2); animation: fadeUp var(--dur-base) var(--ease); }
.form-done .done-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ok); color: var(--paper); border-radius: var(--radius-1); }
.form-done .done-mark svg { width: 18px; height: 18px; }
.form-done .done-mark path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 420ms var(--ease) 120ms forwards; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading svg { display: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
.contact-side { display: flex; flex-direction: column; }
.copy-btn .btn-label { min-width: 44px; text-align: center; }

/* careers */
.careers-top { padding-top: var(--space-8); }
.careers-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.careers-left { grid-column: span 6; display: flex; flex-direction: column; gap: var(--space-5); position: sticky; top: calc(var(--header-h) + 32px); }
.careers-right { grid-column: span 6; min-width: 0; }
.depts { display: grid; gap: 2px; margin-top: var(--space-2); }
.dept { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 2.1em minmax(0, 1fr); column-gap: 0.4em; align-items: baseline; font-family: var(--font-display); font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.025em; color: var(--muted); transition: color var(--dur-base) var(--ease); }
.dept-n { font-variant-numeric: tabular-nums; }
.dept:hover { color: var(--ink-2); }
.dept.is-active { color: var(--ink); }
.dept:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-1); }
.dept .dept-name { transition: transform var(--dur-base) var(--ease); display: inline-block; }
.dept:hover .dept-name { transform: translateX(4px); }
.clocks { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7); margin-top: var(--space-6); }
.clock-item { display: flex; align-items: center; gap: 14px; }
.clock-item > span { display: grid; gap: 2px; }
.clock { width: 52px; height: 52px; flex: none; }
.clock circle { fill: var(--ink); }
.clock line { stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; transform-origin: 20px 20px; transition: transform 600ms var(--ease); }
.clock line.m { stroke-width: 1.6; }
.clock-city { font-size: 15px; color: var(--ink); font-weight: 500; display: flex; gap: var(--space-2); align-items: baseline; }
.clock-time { font-size: 13px; color: var(--muted); }
.positions { background: var(--paper); border-radius: var(--radius-2); padding: var(--space-6); min-height: 520px; }
.pos-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.search { position: relative; flex: 1 1 200px; max-width: 280px; }
.search input { width: 100%; height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--field-line); border-radius: var(--radius-1); background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.search svg { position: absolute; right: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pos-filters { display: flex; gap: var(--space-3); margin-top: var(--space-5); flex-wrap: wrap; }
.select--pill select { height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--field-line); border-radius: var(--radius-1); background: var(--paper); color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 500; transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.select--pill select:hover { border-color: var(--ink-2); color: var(--ink); }
.pos-groups { margin-top: var(--space-6); display: grid; gap: var(--space-6); }
.pos-team { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink); padding-bottom: var(--space-3); border-bottom: 1px dotted var(--rule-mid); }
.pos-list { list-style: none; }
.pos-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-2); margin-inline: calc(-1 * var(--space-2)); border-bottom: 1px dotted var(--rule-mid); text-decoration: none; color: var(--ink-2); border-radius: var(--radius-1); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.pos-row:hover { background: var(--paper-2); color: var(--ink); }
.pos-title { font-size: 17px; transition: transform var(--dur-base) var(--ease); }
.pos-row:hover .pos-title { transform: translateX(4px); }
.pos-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ptag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--paper-2); color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.pos-row:hover .ptag { background: var(--paper-3); }
.pos-go { width: 14px; height: 14px; color: var(--muted); transition: color var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease); }
.pos-go svg { width: 14px; height: 14px; display: block; }
.pos-row:hover .pos-go, .pos-row:focus-visible .pos-go, .pos-general:hover .pos-go { color: var(--ink); transform: translateX(3px); }
.pos-empty { margin-top: var(--space-5); color: var(--ink-2); font-size: 15px; }
.link-btn { all: unset; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pos-general { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-7); padding: var(--space-4) var(--space-5); background: var(--paper-2); border-radius: var(--radius-1); text-decoration: none; color: inherit; transition: background-color var(--dur-fast) var(--ease); }
.pos-general > span:first-child { display: grid; gap: 2px; }
.pos-general:hover { background: var(--paper-3); }
.role-back { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 6px 10px 6px var(--space-2); margin-left: calc(-1 * var(--space-2)); border-radius: var(--radius-1); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.role-back svg { width: 14px; height: 14px; transition: transform var(--dur-base) var(--ease); }
.role-back:hover { background: var(--paper-2); color: var(--ink); }
.role-back:hover svg { transform: translateX(-3px); }
.role { padding-top: var(--space-2); }
.role + .role, .pos-index + .role { border-top: 1px solid var(--rule); margin-top: var(--space-7); padding-top: var(--space-6); }
.apply { border-top: 2px solid var(--rule-strong); padding-top: var(--space-5); }
.js .positions .role { display: none; }
.js .positions.is-detail .pos-index { display: none; }
.js .positions.is-detail .role.is-open { display: block; border-top: 0; margin-top: 0; padding-top: 0; animation: fadeUp var(--dur-base) var(--ease); }
.js .pos-row[hidden], .js .pos-group[hidden] { display: none; }

/* micro-interactions */
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.text-input:disabled, .input:disabled, .search input:disabled, .select--pill select:disabled { background: var(--paper-2); color: var(--muted); cursor: not-allowed; }
.seg button:disabled, .hp-tabs button:disabled, .hp-ctrl:disabled { opacity: 0.5; cursor: not-allowed; }
.btn { transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.door .icon-tile, .mega-item .icon-tile { transition: background-color var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease); }
.door:hover .icon-tile, .mega-item:hover .icon-tile { transform: translateY(-2px); }
.tier { transition: box-shadow var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease); }
.tier:hover { box-shadow: inset 0 0 0 1px var(--rule-mid); }
.ptable tbody tr { transition: background-color var(--dur-fast) var(--ease); }
.ptable tbody tr:hover { background: var(--paper-2); }
.section--alt .ptable tbody tr:hover, .panel .ptable tbody tr:hover { background: var(--paper-3); }
.step { transition: border-color var(--dur-base) var(--ease); }
.step:hover { border-top-color: var(--accent); }
.card { transition: border-color var(--dur-base) var(--ease); }
.card:hover { border-top-color: var(--accent); }
.nav-link, .nav-trigger { position: relative; }
.mega-item { position: relative; }
.mega-item::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: translate(-6px, -50%) rotate(45deg); opacity: 0; transition: opacity var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease); }
.mega-item:hover::after { opacity: 1; transform: translate(0, -50%) rotate(45deg); }
.seg { position: relative; }
.seg .seg-thumb { position: absolute; top: 3px; bottom: 3px; left: 0; width: 100px; transform-origin: left center; transform: scaleX(0); background: var(--paper); border-radius: 3px; box-shadow: 0 0 0 1px var(--rule); transition: transform var(--dur-base) var(--ease); pointer-events: none; z-index: 0; }
.seg button { position: relative; z-index: 1; }
.seg.has-thumb button[aria-selected="true"], .seg.has-thumb button[aria-pressed="true"] { background: transparent; box-shadow: none; }
.doc-row { transition: background-color var(--dur-fast) var(--ease); }
.proof-doc .doc-row:not(.doc-row--hi):hover { background: var(--paper-2); }
.js .in-view-anim { animation: fadeUp 520ms var(--ease) both; animation-delay: var(--d, 0ms); }
.status.is-pop::before { animation: pop 380ms var(--ease) both; animation-delay: var(--d, 0ms); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0.2); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .js .in-view-anim { animation: none; }
  .clock line { transition: none; }
}
@media (max-width: 1023px) {
  .tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .careers-left, .careers-right { grid-column: 1 / -1; position: static; }
  .dept { font-size: clamp(34px, 7vw, 56px); }
}
@media (max-width: 639px) {
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 72px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .positions { padding: var(--space-5) var(--space-4); }
  .pos-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .pos-go { display: none; }
  .search { max-width: none; }
  .dept { font-size: 34px; }
  .clock { width: 44px; height: 44px; }
}

/* v2.2: comparison tables centre every column except the first */
.ptable:not(.ptable--list) thead th:not(:first-child),
.ptable:not(.ptable--list) tbody td,
.ptable:not(.ptable--list) tbody td.num,
.ptable:not(.ptable--list) thead th.num { text-align: center; }
.ptable:not(.ptable--list) tbody td:first-child { text-align: left; }
.launch-note { display: inline-flex; align-items: center; gap: var(--space-2); }
.launch-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* quote */
.quote { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.quote blockquote { grid-column: 1 / span 10; margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.quote blockquote p::before { content: "\201C"; color: var(--muted); margin-right: 0.04em; }
.quote blockquote p::after { content: "\201D"; color: var(--muted); margin-left: 0.02em; }
.quote figcaption { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-3); }
.quote figcaption::before { content: ""; width: 32px; height: 1px; background: var(--ink-2); }

/* principles */
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.principle { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; min-width: 0; transition: background-color var(--dur-base) var(--ease); }
.principle:hover { background: var(--paper-2); }
.principle .t-h3 { font-size: 22px; }
.principle .mark { width: 8px; height: 8px; background: var(--ink); transition: transform var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease); }
.principle:hover .mark { transform: rotate(45deg); background: var(--accent); }
@media (max-width: 1023px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quote blockquote { grid-column: 1 / -1; } }
@media (max-width: 639px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v2.3 ---------- */
.copyright { margin-top: 6px; color: var(--ink-2); }

/* footer yak */
.yak-band { position: relative; height: 170px; border-top: 1px solid var(--rule); overflow: hidden; touch-action: manipulation; }
.yak-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yak-band.is-over { cursor: pointer; }
@media (max-width: 639px) { .yak-band { height: 130px; } }

/* example: reconciliation statement */
.doc-row { transition: background-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.doc-row.is-linked { background: var(--accent-tint); box-shadow: inset 2px 0 0 var(--accent); }
.doc-row .status::before { transition: transform var(--dur-base) var(--ease); }
.doc-row:hover .status::before { transform: scale(1.35); }
.doc-row:hover .fig { color: var(--ink); }
.chip { cursor: default; padding: 2px 6px; margin: -2px -6px; border-radius: var(--radius-1); transition: background-color var(--dur-fast) var(--ease); }
.chip:hover, .chip:focus-visible, .chip.is-on { background: var(--accent-tint); }
.doc-hint { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* example: line art */
.trio-art svg * { transition: transform 420ms var(--ease), opacity 300ms var(--ease), stroke-dashoffset 520ms var(--ease); }
.trio-art .shackle { transform-box: fill-box; transform-origin: center bottom; transform: translateY(-3px); }
.trio-item:hover .shackle { transform: translateY(0); }
.trio-art .pay-arrow { transform-box: fill-box; }
.trio-item:hover .pay-arrow { transform: translateX(4px); }
.trio-art .tick-draw { stroke-dasharray: 40; stroke-dashoffset: 0; }
.trio-item:hover .tick-draw { animation: redraw 620ms var(--ease); }
.trio-art .door-leaf { transform-box: fill-box; transform-origin: left center; }
.trio-item:hover .door-leaf { transform: scaleX(0.42) skewY(-8deg); }
.art-gap { fill: var(--paper-3); }
.trio-art .leave-arrow { transform-box: fill-box; }
.trio-item:hover .leave-arrow { transform: translateX(6px); }
.trio-art { transition: background-color var(--dur-base) var(--ease); }
.trio-item:hover .trio-art { background: var(--paper-3); }
@keyframes redraw { 0% { stroke-dashoffset: 40; } 100% { stroke-dashoffset: 0; } }

/* example: roster to ledger chain. site.js adds .is-lit one cell at a time and sets --p;
   CSS only transitions, so leaving mid-sequence eases back instead of snapping. */
.chain { position: relative; }
.chain::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform 420ms var(--ease); pointer-events: none; z-index: 2; }
.chain-cell { transition: background-color 420ms var(--ease); }
.chain-cell > .label { transition: color 420ms var(--ease); }
.chain-cell.is-lit { background: var(--accent-tint); }
.chain-cell.is-lit > .label { color: var(--accent); }
.chain-cell.is-lit .status::before { animation: pop 380ms var(--ease) both; }
.chain-cell:not(:last-child)::after { transition: transform 420ms var(--ease), border-color 420ms var(--ease), background-color 420ms var(--ease); }
.chain-cell.is-lit:not(:last-child)::after { transform: translateX(3px) rotate(45deg); border-color: var(--accent); background: var(--accent-tint); }
@media (max-width: 639px) {
  .chain::before { left: -1px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(var(--p, 0)); transform-origin: center top; }
}

/* example: dashboard */
.kpi { transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease); }
.kpi:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--rule-mid); }
.bars .bar-g { cursor: default; outline: none; }
.bars .bar-g rect, .bars .bar-g text { transition: fill var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.bars:hover .bar-g, .bars:focus-within .bar-g { opacity: 0.4; transition: opacity var(--dur-fast) var(--ease); }
.bars .bar-g:hover, .bars .bar-g:focus { opacity: 1; }
.bars .bar-g:hover rect, .bars .bar-g:focus rect { fill: var(--accent); }
.bars .bar-g:hover text, .bars .bar-g:focus text { fill: var(--accent); font-weight: 500; }
.bars.grow .bar-g rect { transform-box: fill-box; transform-origin: center bottom; animation: growY 640ms var(--ease) both; }
.bars.grow .bar-g:nth-of-type(2) rect { animation-delay: 60ms; } .bars.grow .bar-g:nth-of-type(3) rect { animation-delay: 120ms; }
.bars.grow .bar-g:nth-of-type(4) rect { animation-delay: 180ms; } .bars.grow .bar-g:nth-of-type(5) rect { animation-delay: 240ms; }
.bars.grow .bar-g:nth-of-type(6) rect { animation-delay: 300ms; }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.debt-line { position: relative; }
.debt-line::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--w); background: var(--paper-3); transition: background-color var(--dur-base) var(--ease); }
.debt-line:hover::before { background: var(--accent); }
.debt-line:hover { color: var(--ink); }

/* example: SOP checklist */
.sop-step { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--space-3); padding: var(--space-3) var(--space-2); margin-inline: calc(-1 * var(--space-2)); border-bottom: 1px solid var(--rule); align-items: baseline; cursor: pointer; border-radius: var(--radius-1); transition: background-color var(--dur-fast) var(--ease); }
.sop-step:hover { background: var(--paper-2); }
.sop-step:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sop-num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: var(--muted); font-size: 13px; transition: color var(--dur-fast) var(--ease), background-color var(--dur-base) var(--ease); }
.sop-step { align-items: center; }
.sop-step[aria-pressed="true"] .sop-num { color: transparent; background: var(--ok-tint); animation: pop 320ms var(--ease) both; }
.sop-step[aria-pressed="true"] .sop-num::before { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 8px; border-right: 1.7px solid var(--ok); border-bottom: 1.7px solid var(--ok); transform: translate(-50%, -62%) rotate(45deg); }
.sop-step[aria-pressed="true"] .t-small { color: var(--muted) !important; text-decoration: line-through; text-decoration-color: var(--rule-mid); }
@media (max-width: 639px) { .sop-step { grid-template-columns: 28px minmax(0, 1fr); } .sop-step .status, .sop-step .label { grid-column: 2; } }

/* example: mini statement in the menu, tier finder */
.doc-mini .out-line { transition: background-color var(--dur-fast) var(--ease); padding-inline: 6px; margin-inline: -6px; border-radius: var(--radius-1); }
.doc-mini .out-line:hover { background: var(--paper-2); }
.mega-feature:hover .doc-mini .status::before { animation: pop 380ms var(--ease) both; }
.mega-feature:hover .doc-mini .out-line:nth-child(2) .status::before { animation-delay: 60ms; }
.mega-feature:hover .doc-mini .out-line:nth-child(3) .status::before { animation-delay: 120ms; }
.mega-feature:hover .doc-mini .out-line:nth-child(4) .status::before { animation-delay: 180ms; }
#f-tier.is-swap { animation: fadeUp 300ms var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .bars.grow .bar-g rect, .chain-cell.is-lit .status::before { animation: none; }
}

/* ---------- v2.4 ---------- */
/* calls to action inside cards and tables */
.tier-act { margin-top: var(--space-4); display: flex; }
.tier-act .btn { width: 100%; justify-content: center; }
.tier-foot--act { display: flex; }
.tier-foot--act .btn { width: 100%; justify-content: center; }
.tier--lead { box-shadow: inset 0 2px 0 var(--accent); }
.tier--lead:hover { box-shadow: inset 0 2px 0 var(--accent), inset 0 0 0 1px var(--rule-mid); }
.ptable .row-cta th, .ptable .row-cta td { border-bottom: 0; padding-top: var(--space-4); }
.row-cta .btn { white-space: nowrap; }
.next-act { display: flex; align-items: center; gap: var(--space-3) var(--space-5); flex-wrap: wrap; }
.next-act .note { flex: 1 1 260px; }

/* what happens after a request */
.next-steps { border: 1px solid var(--rule); background: var(--paper); padding: var(--space-6); display: grid; gap: var(--space-6); }
.next-head { display: grid; gap: var(--space-3); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.timeline li { position: relative; padding-top: var(--space-5); display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; right: calc(-1 * var(--gutter)); top: 5px; height: 1px; background: var(--rule-mid); }
.timeline li:last-child::before { right: 0; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink-2); box-sizing: border-box; transition: background-color 360ms var(--ease) var(--d, 0ms), border-color 360ms var(--ease) var(--d, 0ms), transform 360ms var(--ease) var(--d, 0ms); }
.timeline li.is-on::after { background: var(--accent); border-color: var(--accent); }
.timeline li:hover::after { transform: scale(1.3); transition-delay: 0ms; }
.timeline .tl-when { color: inherit; }
.timeline .t-small { color: var(--ink-2); }
@media (max-width: 1023px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); }
  .timeline li:nth-child(2n)::before { right: 0; }
}
@media (max-width: 639px) {
  .next-steps { padding: var(--space-5); }
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .timeline li { padding: 0 0 var(--space-5) var(--space-6); }
  .timeline li::before, .timeline li:nth-child(2n)::before { left: 5px; right: auto; top: 14px; bottom: 0; width: 1px; height: auto; }
  .timeline li:last-child::before { display: none; }
  .timeline li::after { top: 2px; }
}

/* dedicated staff inside each audience page */
.role-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.role-list li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--gutter); padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.role-list .t-h4 { transition: color var(--dur-fast) var(--ease); }
.role-list li:hover .t-h4 { color: var(--accent); }
.role-list .t-h4 { font-size: 16px; }
.role-list .t-small { color: var(--ink-2); }
.kv--compact { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); column-gap: var(--space-4); }
.kv--compact > * { padding: 10px 0; }
.kv--compact dt { padding-top: var(--space-3); font-size: 11px; }
.kv--compact dd { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 639px) {
  .role-list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-1); }
  .kv--compact { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); }
  .kv--compact dt { border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
}

/* contact: what the visitor asked about */
.enquiry { scroll-margin-top: 96px; }
.intent-slot { display: grid; gap: var(--space-3); }
.intent-slot:empty { display: none; }
.intent-box { border: 1px solid var(--rule); border-left: 2px solid var(--accent); background: var(--paper); padding: var(--space-4) var(--space-5); display: grid; gap: 6px; animation: fadeUp var(--dur-base) var(--ease); }
.ib-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2) var(--space-4); flex-wrap: wrap; }
.ib-head .link-arrow { font-size: 14px; }
.intent-box .t-small { color: var(--ink-2); }
.ib-steps { list-style: none; margin: var(--space-2) 0 0; padding: 0; counter-reset: ib; display: grid; gap: 6px; }
.ib-steps li { counter-increment: ib; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.ib-steps li::before { content: counter(ib, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--accent); padding-top: 3px; }
.intent-pick { display: flex; align-items: baseline; gap: 6px var(--space-3); flex-wrap: wrap; font-size: 14px; color: var(--ink); }
.intent-pick .ip-val { font-weight: 500; }
.intent-pick .link-btn { font-size: 13px; color: var(--muted); }
.enquiry.is-flash { animation: ring 1600ms var(--ease); }
@keyframes ring { 0% { box-shadow: inset 0 0 0 1px transparent; } 25% { box-shadow: inset 0 0 0 1px var(--accent); } 100% { box-shadow: inset 0 0 0 1px transparent; } }

/* web design: responsive preview */
.mock-wrap { display: grid; gap: var(--space-4); }
.mock-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3) var(--space-4); flex-wrap: wrap; }
.mock-stage { background: var(--paper-2); border: 1px solid var(--rule); padding: var(--space-6) var(--space-5); display: flex; justify-content: center; overflow: hidden; }
.site-mock { width: 100%; max-width: 100%; container-type: inline-size; background: var(--paper); border: 1px solid var(--rule-mid); border-radius: 10px; overflow: hidden; }
.site-mock[data-w="tablet"] { width: 560px; }
.site-mock[data-w="phone"] { width: 300px; }
.sm-body { padding: var(--space-4) 20px var(--space-5); display: grid; gap: 22px; }
.sm-nav { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sm-nav b { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--ink); margin-right: auto; white-space: nowrap; }
.sm-links { display: flex; gap: 10px; }
.sm-links i { width: 34px; height: 6px; border-radius: 3px; background: var(--paper-3); }
.sm-btn { display: block; width: 96px; height: 26px; border-radius: 6px; background: var(--accent); }
.sm-btn--sm { width: 64px; height: 20px; }
.sm-burger { display: none; position: relative; width: 18px; height: 12px; border-top: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); box-sizing: border-box; }
.sm-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--ink-2); }
.sm-hero { display: grid; gap: 10px; max-width: 68%; }
.sm-h1 { height: 18px; width: 92%; border-radius: 4px; background: var(--ink); }
.sm-h1--2 { width: 62%; background: var(--muted); }
.sm-p { height: 7px; width: 100%; border-radius: 4px; background: var(--paper-3); margin-top: 6px; }
.sm-p--2 { width: 78%; margin-top: 0; }
.sm-hero .sm-btn { margin-top: var(--space-2); }
.sm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.sm-cards div { height: 90px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--rule); }
@container (max-width: 600px) {
  .sm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-cards div:last-child { grid-column: 1 / -1; height: 56px; }
  .sm-hero { max-width: 86%; }
}
@container (max-width: 380px) {
  .sm-links, .sm-btn--sm { display: none; }
  .sm-burger { display: block; }
  .sm-body { padding: 14px 14px 20px; gap: 18px; }
  .sm-cards { grid-template-columns: minmax(0, 1fr); }
  .sm-cards div, .sm-cards div:last-child { grid-column: auto; height: 64px; }
  .sm-hero { max-width: 100%; }
  .sm-h1 { height: 15px; }
  .sm-hero .sm-btn { width: 100%; height: 30px; }
}
@media (max-width: 639px) { .mock-stage { padding: var(--space-4) var(--space-3); } }

/* privacy and other legal pages */
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.legal-toc { grid-column: 1 / span 3; position: sticky; top: 96px; }
.legal-toc ol { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); counter-reset: toc; }
.legal-toc li { counter-increment: toc; font-size: 14px; display: grid; grid-template-columns: 28px minmax(0, 1fr); }
.legal-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.legal-toc a { color: var(--ink-2); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.legal-toc a:hover, .legal-toc a.is-current { color: var(--ink); }
.legal-body { grid-column: 5 / span 8; display: grid; gap: var(--space-7); min-width: 0; }
.legal-sec { scroll-margin-top: 96px; display: grid; gap: var(--space-4); border-top: 1px solid var(--rule); padding-top: var(--space-5); }
.legal-sec h2 { display: flex; gap: 14px; align-items: baseline; }
.legal-n { font-size: 14px; color: var(--muted); }
.legal-sec .prose ul { margin: 0; padding-left: 1.2em; max-width: 64ch; display: grid; gap: 6px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.legal-sec .prose ul + p, .legal-sec .prose p + ul { margin-top: var(--space-4); }
.legal-sec .prose strong { color: var(--ink); font-weight: 500; }
@media (max-width: 1023px) { .legal-toc { display: none; } .legal-body { grid-column: 1 / -1; } }
@media (min-width: 640px) { .mock-stage { min-height: 500px; align-items: flex-start; } }

/* ---------- v2.5: About ---------- */
.mission { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); max-width: 30ch; text-wrap: balance; }
.mission .l2 { color: var(--ink-2); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.value { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--space-3); row-gap: 6px; align-content: start; padding: var(--space-5) var(--space-5) var(--space-6) 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.value .value-n { grid-row: span 2; font-size: 13px; color: var(--muted); padding-top: var(--space-1); transition: color var(--dur-base) var(--ease); }
.value .t-small { color: var(--ink-2); }
.value:hover .value-n { color: var(--accent); }
@media (max-width: 1023px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .values { grid-template-columns: minmax(0, 1fr); } .value { padding-right: 0; } }

/* diagrams */
.dg-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; padding-block: var(--space-7); border-top: 1px solid var(--rule); }
.opener + .dg-row { border-top: 0; padding-top: 0; }
.dg-fig { grid-column: 1 / span 6; margin: 0; display: grid; gap: var(--space-3); justify-items: center; }
.dg-copy { grid-column: 8 / span 5; display: grid; gap: var(--space-4); align-content: center; }
.dg-row--flip .dg-fig { grid-column: 7 / span 6; grid-row: 1; }
.dg-row--flip .dg-copy { grid-column: 1 / span 5; grid-row: 1; }
.dg-fig figcaption { text-align: center; max-width: 46ch; }
.dg { width: 100%; max-width: 460px; height: auto; display: block; overflow: visible; }
.dg text { font-family: var(--font-sans); fill: var(--ink); }
.dg .dg-label { font-size: 15px; font-weight: 500; transition: fill 400ms var(--ease); }
.dg .dg-sub { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; fill: var(--muted); }
.dg .dg-sub--ink { fill: var(--ink); }
.dg .dg-note { font-size: 12.5px; fill: var(--ink-2); }
.dg .dg-num { font-family: var(--font-mono); font-size: 12.5px; fill: var(--ink-2); transition: fill 400ms var(--ease); }
.dg .dg-kicker { font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; fill: var(--muted); }
.dg .dg-big { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.01em; fill: var(--ink); }
.dg-line { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.dg-dash { stroke-dasharray: 4 4; }
.dg-head { fill: var(--ink-2); }
.dg-path { fill: none; stroke: none; }
.dg-box { fill: var(--paper); stroke: var(--rule-mid); stroke-width: 1.2; transition: fill 400ms var(--ease), stroke 400ms var(--ease); }
.dg-zone { fill: var(--paper-2); stroke: var(--rule-mid); stroke-width: 1.2; stroke-dasharray: 6 5; }
.is-on > .dg-box { fill: var(--accent-tint); stroke: var(--accent); }
.dg-dot { fill: var(--accent); }
.dg-pin { fill: var(--paper); stroke: var(--ink-2); stroke-width: 1.4; }
/* cycle */
.dg-ring { fill: none; stroke: var(--rule-mid); stroke-width: 1.4; }
.dg-ring-prog { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.dg-node-c { fill: var(--paper); stroke: var(--ink-2); stroke-width: 1.4; transition: fill 400ms var(--ease), stroke 400ms var(--ease); }
.dg-node.is-on .dg-node-c { fill: var(--accent); stroke: var(--accent); }
.dg-node.is-on .dg-num { fill: var(--on-accent); }
.dg-node.is-done .dg-node-c { stroke: var(--accent); }
.dg-label.is-on { fill: var(--accent); }
.dg-gate circle, .dg-tick circle { fill: var(--ok-tint); stroke: var(--ok); stroke-width: 1.2; }
.dg-gate path, .dg-tick path { fill: none; stroke: var(--ok); stroke-width: 1.6; }
/* review */
.dg-tick { opacity: 0; transition: opacity 300ms var(--ease); }
.is-pass .dg-tick { opacity: 1; }
.dg-step--you.is-on > .dg-box { fill: var(--accent); stroke: var(--accent); }
.dg-step--you.is-on .dg-label { fill: var(--on-accent); }
.dg-step--you.is-on .dg-sub { fill: var(--on-accent); opacity: 0.8; }
.dg-step.is-query > .dg-box { stroke: var(--attention); fill: color-mix(in srgb, var(--attention) 10%, var(--paper)); }
.dg-doc rect { fill: var(--paper); stroke: var(--accent); stroke-width: 1.5; transition: stroke 300ms var(--ease), fill 300ms var(--ease); }
.dg-doc path { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.dg-doc.is-flag rect { stroke: var(--attention); fill: color-mix(in srgb, var(--attention) 14%, var(--paper)); }
.dg-doc.is-flag path { stroke: var(--attention); }
.dg-back { stroke: var(--attention); }
/* keys */
.dg-lock rect { fill: var(--paper-2); stroke: var(--ink-2); stroke-width: 1.4; }
.dg-lock path { fill: none; stroke: var(--ink-2); stroke-width: 1.4; }
.dg-x circle { fill: var(--paper); stroke: var(--attention); stroke-width: 1.4; }
.dg-x path { stroke: var(--attention); stroke-width: 1.6; }
.dg-blocked { stroke: var(--muted); }
.dg-party--you .dg-tick { opacity: 0; }
.dg-party--you.is-pass .dg-tick { opacity: 1; }
.dg-doc, .dg-pulse { opacity: 0; transition: opacity 250ms var(--ease); }
.dg.is-playing .dg-doc, .dg.is-playing .dg-pulse, .dg-cycle .dg-dot { opacity: 1; }
/* step list beside the cycle */
.cycle-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.cycle-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); cursor: default; }
.cycle-list li > span:last-child { display: grid; gap: 2px; }
.cycle-list .cl-n { font-size: 13px; color: var(--muted); padding-top: 3px; transition: color 300ms var(--ease); }
.cycle-list .t-h4 { font-size: 16px; transition: color 300ms var(--ease); }
.cycle-list .t-small { color: var(--ink-2); }
.cycle-list li.is-on .cl-n, .cycle-list li.is-on .t-h4 { color: var(--accent); }
@media (max-width: 1023px) {
  .dg-fig, .dg-copy, .dg-row--flip .dg-fig, .dg-row--flip .dg-copy { grid-column: 1 / -1; grid-row: auto; }
  .dg-row--flip .dg-fig { order: 0; }
}
@media (max-width: 639px) { .dg-row { padding-block: var(--space-6); } }

/* ---------- v2.6: lighter copy patterns ---------- */
.flow-line { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) 0; font-size: 15px; color: var(--ink-2); }
.flow-line li { display: inline-flex; align-items: center; }
.flow-line li + li:not(:nth-child(2))::before { content: ""; width: 22px; height: 1px; background: var(--rule-strong); margin: 0 var(--space-3); opacity: 0.5; }
.flow-line li:first-child { margin-right: 14px; }
.flow-line li:last-child { color: var(--ink); }
.disclose { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px var(--space-5); padding: var(--space-4) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.disclose strong { color: var(--ink); font-weight: 500; }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.feature-row > div { border-top: 1px solid var(--rule-strong); padding-top: var(--space-4); display: grid; gap: 6px; align-content: start; }
.feature-row .t-small { color: var(--ink-2); }
details.more > summary { margin-bottom: 0; }
details.more[open] > summary { margin-bottom: var(--space-2); }
@media (max-width: 1023px) { .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); } }
@media (max-width: 639px) { .feature-row { grid-template-columns: minmax(0, 1fr); } .flow-line li + li:not(:nth-child(2))::before { width: 14px; margin: 0 var(--space-2); } }

/* firms: overnight handoff (US view) */
.hand { margin: 0 0 var(--space-7); padding: var(--space-5) var(--space-5) var(--space-4); border: 1px solid var(--rule); background: var(--paper); display: grid; gap: var(--space-4); }
.hand-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2) var(--space-5); flex-wrap: wrap; }
.hand-grid { position: relative; display: grid; gap: 14px; padding-top: 22px; }
.hand-axis { position: absolute; left: 150px; right: 0; top: 0; height: 16px; }
.hand-axis span { position: absolute; left: calc(var(--x) * 1%); transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.hand-axis span:first-child { transform: none; } .hand-axis span:last-child { transform: translateX(-100%); }
.hand-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; min-height: 44px; }
.hand-who { font-size: 14px; color: var(--ink); line-height: 1.25; }
.hand-who em { display: block; font-style: normal; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0; color: var(--muted); }
.hand-bar { position: relative; height: 40px; border-top: 1px dashed var(--rule-mid); border-bottom: 1px dashed var(--rule-mid); }
.hand-night { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: repeating-linear-gradient(135deg, transparent 0 6px, var(--rule) 6px 7px); }
.hand-pin { position: absolute; top: 50%; left: calc(var(--x) * 1%); transform: translate(0, -50%); display: flex; flex-direction: column; gap: 1px; padding-left: var(--space-4); white-space: nowrap; font-size: 12.5px; }
.hand-pin::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: var(--paper); transition: background-color 300ms var(--ease), border-color 300ms var(--ease); }
.hand-pin b { font-weight: 500; color: var(--ink); } .hand-pin i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.hand-pin--end { transform: translate(-100%, -50%); padding-left: 0; padding-right: var(--space-4); text-align: right; align-items: flex-end; }
.hand-pin--end::before { left: auto; right: 0; }
.hand-pin.is-on::before { background: var(--accent); border-color: var(--accent); }
.hand-pin--end.is-on b { color: var(--accent); }
.hand-seg { position: absolute; top: 4px; bottom: 4px; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1% - 3px); border: 1px solid var(--rule-mid); background: var(--paper-2); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background-color 400ms var(--ease), border-color 400ms var(--ease); }
.hand-seg b { font-weight: 500; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; transition: color 400ms var(--ease); }
.hand-seg.is-on { background: var(--accent-tint); border-color: var(--accent); }
.hand-seg.is-on b { color: var(--accent); }
.hand-token { position: absolute; left: 0; top: 0; width: 14px; height: 18px; margin: -9px 0 0 -7px; border: 1.5px solid var(--accent); border-radius: 2px; background: var(--paper); opacity: 0; pointer-events: none; transition: transform 900ms var(--ease), opacity 250ms var(--ease); z-index: 2; }
.hand-token::after { content: ""; position: absolute; left: 3px; right: 3px; top: 4px; height: 6px; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.hand.is-playing .hand-token { opacity: 1; }
.hand-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px var(--space-5); font-size: 13px; color: var(--ink-2); }
.hand-legend li { display: flex; gap: var(--space-2); align-items: baseline; transition: color 300ms var(--ease); }
.hand-legend .fig { font-size: 12px; color: var(--muted); }
.hand-legend li.is-on { color: var(--accent); }
.hand figcaption { color: var(--ink-2); max-width: 70ch; }
@media (max-width: 899px) { .hand-seg b { display: none; } }
@media (max-width: 639px) {
  .hand { padding: var(--space-4); }
  .hand-axis { left: 0; }
  .hand-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hand-pin b { display: none; }
  .hand-legend { flex-direction: column; }
}
.dg-row--lead { border-top: 0; padding-top: 0; }
.hand-overlap { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--accent) 22%, transparent) 6px 7px); border-left: 1px solid var(--accent); border-right: 1px solid var(--accent); display: flex; align-items: flex-end; justify-content: center; }
.hand-overlap em { font-style: normal; font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--accent); background: var(--paper); padding: 0 var(--space-1); transform: translateY(50%); white-space: nowrap; }
#turnaround .region-bar { margin-bottom: var(--space-5); }
#turnaround .hand { margin-bottom: 0; }
@media (max-width: 639px) { .hand-overlap em { display: none; } }
.nw { white-space: nowrap; }
@media (min-width: 768px) { .two .ph { display: inline-block; } }

/* Recommended small-business tier */
.tier--rec, .tier--rec:hover { position: relative; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tier-rec { position: absolute; top: 9px; left: var(--space-6); right: var(--space-6); font-size: 12px; line-height: 1.3; font-weight: 500; color: var(--ink); }
@media (max-width: 639px) { .tier-rec { position: static; margin-bottom: -6px; } }

/* Hover arrow (chevron that grows a tail on hover, after Stripe's pattern) */
.arr { width: 10px; height: 10px; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; position: relative; top: 0.5px; margin-left: 2px; }
.arr-line { opacity: 0; transition: opacity 120ms cubic-bezier(.215,.61,.355,1); }
.arr-tip { transition: transform 120ms cubic-bezier(.215,.61,.355,1); }
:is(a, button):is(:hover, :focus-visible) .arr-line { opacity: 1; }
:is(a, button):is(:hover, :focus-visible) .arr-tip { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .arr-line, .arr-tip { transition: none; } }
/* Footer: link columns sit on the right */
.footer-brand + .footer-col { grid-column: 7 / span 2; }
@media (max-width: 1023px) { .footer-brand + .footer-col { grid-column: span 4; } }
@media (max-width: 639px) { .footer-brand + .footer-col { grid-column: span 6; } }

/* ---------- Home: controls rotor (one stage, three panes, synced with the list) ---------- */
.rotor-stage { position: relative; display: block; }
.rotor-pane { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 380ms var(--ease), transform 380ms var(--ease); }
html:not(.js) .rotor-pane:not(.is-active) { display: none; }
.js .rotor-pane:not(.is-active) { opacity: 0; transform: translateY(6px); }
.rotor-pane svg { width: 76%; height: auto; overflow: visible; }
.rotor-pane svg * { transition: transform 460ms var(--ease) 220ms, stroke-dashoffset 520ms var(--ease) 220ms; }
.rotor-pane .shackle { transform-box: fill-box; transform-origin: center bottom; transform: translateY(-3px); }
.rotor-pane.is-active .shackle { transform: translateY(0); }
.rotor-pane .pay-arrow { transform-box: fill-box; }
.rotor-pane.is-active .pay-arrow { transform: translateX(4px); }
.rotor-pane .tick-draw { stroke-dasharray: 40; stroke-dashoffset: 40; }
.rotor-pane.is-active .tick-draw { stroke-dashoffset: 0; transition-delay: 520ms; }
.rotor-pane .door-leaf { transform-box: fill-box; transform-origin: left center; }
.rotor-pane.is-active .door-leaf { transform: scaleX(0.42) skewY(-8deg); }
.rotor-pane .leave-arrow { transform-box: fill-box; }
.rotor-pane.is-active .leave-arrow { transform: translateX(6px); transition-delay: 520ms; }
.control-list li { position: relative; padding-left: var(--space-5); cursor: default; }
.control-list li::before { content: ""; position: absolute; left: 0; top: var(--space-5); bottom: var(--space-5); width: 2px; background: var(--rule); }
.control-list li:first-child::before { top: 0; }
.control-list li::after { content: ""; position: absolute; left: 0; top: var(--space-5); width: 2px; height: calc(100% - var(--space-5) * 2); background: var(--accent); transform: scaleY(0); transform-origin: top center; transition: transform var(--dur-base) var(--ease); }
.control-list li:first-child::after { top: 0; height: calc(100% - var(--space-5)); }
.control-list li h3, .control-list li p { transition: color var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease); }
.control-list li.is-active::after { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .rotor-pane, .rotor-pane svg * { transition: none; } }

/* ---------- Home: what happens after the check (static three-step line) ---------- */
.route-head { margin-top: var(--space-7); font-size: 14px; color: var(--muted); }
.card-cap { font-size: 14px; color: var(--muted); }
.card-act { margin-top: auto; padding-top: var(--space-3); align-self: flex-start; }
.route-stops { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); text-align: center; position: relative; }
.route-stops::before { content: ""; position: absolute; top: 6px; left: calc((100% - 2 * var(--gutter)) / 6); right: calc((100% - 2 * var(--gutter)) / 6); height: 1px; background: var(--rule-strong); }
.route-stops li { display: grid; gap: var(--space-1); justify-items: center; position: relative; padding-top: 28px; }
.route-stops li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.route-stops strong { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.25; color: var(--ink); }
.route-stops li > span:last-child { font-size: 14px; color: var(--ink-2); }
@media (max-width: 639px) {
  .route-stops { grid-template-columns: minmax(0, 1fr); text-align: left; gap: 0; border-left: 2px solid var(--rule); }
  .route-stops::before { display: none; }
  .route-stops li { justify-items: start; padding: 0 0 var(--space-5) var(--space-5); }
  .route-stops li::before { left: -7px; top: 4px; transform: none; width: 12px; height: 12px; }
  .route-stops li:last-child { padding-bottom: 0; }
}

/* Comparison tables: the unit sits in the empty corner; tier heads read as one band */
.ptable:not(.ptable--list) thead th { background: var(--paper-2); padding: var(--space-5) var(--space-4) var(--space-4); }
.ptable:not(.ptable--list) thead th .t-h3 { font-size: 20px; }
.ptable:not(.ptable--list) thead th .fig { font-size: 26px; margin-top: 10px; line-height: 1.1; }
.pt-corner { vertical-align: bottom; }
.ptable:not(.ptable--list) thead th.pt-corner { text-align: left; }
.pt-unit { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.pt-corner .t-small { display: block; margin-top: var(--space-1); color: var(--muted); }
.ptable:not(.ptable--list) { table-layout: fixed; }
.ptable:not(.ptable--list) .pt-corner { width: 28%; }

/* Dashboard example: spans by class, so phones get a single column */
.dash > .kpi, .dash > .cb-narrow { grid-column: span 2; }
.dash > .cb-wide { grid-column: span 4; }
@media (max-width: 1023px) {
  .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash > .kpi { grid-column: span 1; }
  .dash > .kpi:nth-child(3), .dash > .cb-wide, .dash > .cb-narrow { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash > .kpi, .dash > .kpi:nth-child(3) { grid-column: 1 / -1; }
}

/* Security: the three rules beside the keys diagram */
.rule-list { list-style: none; margin: 0; padding: 0; counter-reset: rl; }
.rule-list li { counter-increment: rl; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--space-3); row-gap: 6px; padding: var(--space-5) 0; border-top: 1px solid var(--rule); }
.rule-list li:last-child { border-bottom: 1px solid var(--rule); }
.rule-list li::before { content: counter(rl, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.rule-list p { max-width: 46ch; }

/* About: what we can show instead of logos */
.statement { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); max-width: 34ch; }
.proof-list { list-style: none; margin: var(--space-6) 0 0; padding: 0; }
.proof-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); padding: var(--space-4) 0; border-top: 1px solid var(--rule); }
.proof-list li:last-child { border-bottom: 1px solid var(--rule); }
.proof-list li .t-small { margin-top: var(--space-1); }
.proof-list .link-arrow { white-space: nowrap; flex: none; }
#founding .split { align-items: start; }
@media (max-width: 639px) { .proof-list li { flex-direction: column; align-items: flex-start; gap: var(--space-2); } }

/* ---------- Hero proof cards (v3.3) ---------- */
.hero-split { align-items: center; }
.hero .hero-copy--split, .page-hero .hero-copy--split { grid-column: 1 / span 7; }
.hero-copy--split .t-h1 { font-size: clamp(34px, 4.2vw, 52px); }
.hero-copy--split .t-display { font-size: clamp(40px, 4.8vw, 60px); }
.hero-art { grid-column: 8 / span 5; min-width: 0; }
.hproof { margin: 0; background: var(--paper); border: 1px solid var(--rule-mid); border-radius: var(--radius-2); padding: 20px 22px 18px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -24px var(--shadow-card); }
.hp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.hp-title { font-family: var(--font-display); font-size: 18px; color: var(--ink); margin-right: auto; }
.hp-pill { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; padding: var(--space-1) 10px; border-radius: var(--radius-pill); white-space: nowrap; transition: background-color .3s, color .3s; }
.hp-ctrl { position: relative; flex: none; width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--rule-mid); border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; transition: color var(--dur-fast), border-color var(--dur-fast); }
.hp-ctrl svg { display: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hp-ctrl .i-play { fill: currentColor; stroke: none; width: 12px; height: 12px; }
.hp-ctrl[data-state="ready"] .i-play, .hp-ctrl[data-state="paused"] .i-play, .hp-ctrl[data-state="playing"] .i-pause, .hp-ctrl[data-state="done"] .i-replay { display: block; }
.hp-ctrl:hover { color: var(--ink); border-color: var(--ink-2); }
.hp-ctrl::after { content: ""; position: absolute; inset: -6px; }  /* 44px hit target around the 32px control */
.hp-ctrl:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html:not(.js) .hp-ctrl, .hp-ctrl[hidden] { display: none; }
.hp-chain { list-style: none; margin: 0; padding: 6px 0 0; position: relative; }
.hp-chain::before { content: ""; position: absolute; left: 6px; top: 26px; bottom: 26px; width: 1px; background: var(--rule-mid); }
.hp-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-3); padding: 11px 0; border-bottom: 1px solid var(--rule); transition: opacity .45s var(--ease); position: relative; }
.js .hp-row { opacity: 0.32; }
.hp-row:last-child { border-bottom: 0; }
.js .hp-row.is-on { opacity: 1; }
.hp-node { width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink-2); position: relative; z-index: 1; transition: background-color .3s, border-color .3s; }
.hp-row.is-on .hp-node { border-color: var(--accent); background: var(--accent); }
.hp-name { font-size: 15px; color: var(--ink); line-height: 1.25; min-width: 0; }
.hp-name small { display: block; font-size: 12px; color: var(--muted); }
.hp-val { font-family: var(--font-mono); font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-val b { font-weight: 400; }
.hp-chip { font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; padding: 3px var(--space-2); border-radius: var(--radius-1); white-space: nowrap; min-width: 96px; text-align: center; transition: background-color .3s, color .3s; }
.hproof [data-v="wait"], .hproof [data-v="src"] { background: var(--paper-2); color: var(--muted); }
.hproof [data-v="ok"] { background: var(--ok-tint); color: var(--ok); }
.hproof [data-v="attn"] { background: color-mix(in srgb, var(--attention) 14%, transparent); color: var(--attention); }
.hproof [data-v="info"] { background: var(--accent-tint); color: var(--accent); }
.hp-reveal { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .hp-reveal { opacity: 0; transform: translateY(4px); }
.js .hp-reveal.is-on { opacity: 1; transform: none; }
.hp-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; margin-top: var(--space-1); border-top: 1px solid var(--rule); }
.hp-found { font-size: 13px; color: var(--ink-2); }
.hp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-tags span { font-family: var(--font-sans); font-size: 12px; font-variant-numeric: tabular-nums; padding: 3px 7px; border-radius: var(--radius-1); background: var(--accent-tint); color: var(--ink); }
.hp-note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: right; }
.hp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); padding-top: 14px; margin-top: var(--space-1); border-top: 1px solid var(--rule); }
.hp-tile { background: var(--paper-2); border-radius: 6px; padding: 10px; display: grid; gap: 2px; min-width: 0; }
.hp-tile span { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0; color: var(--muted); }
.hp-tile b { font-family: var(--font-mono); font-weight: 400; font-size: 18px; color: var(--ink); white-space: nowrap; }
.hp-tile em { font-style: normal; font-size: 11px; line-height: 1.3; color: var(--ok); }
/* home: tabbed card */
.hp-tabs { display: flex; gap: var(--space-1); margin-bottom: 10px; flex-wrap: wrap; }
.hp-tabs button { font: inherit; font-size: 13px; min-height: 44px; padding: 6px 14px; white-space: nowrap; border-radius: var(--radius-pill); border: 1px solid var(--rule-mid); background: transparent; color: var(--ink-2); cursor: pointer; transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.hp-tabs button:hover { color: var(--ink); border-color: var(--ink-2); }
.hp-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hp-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp-ts { display: none; }
.hp-panes { display: grid; }
.hp-pane { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; }
.hp-pane[hidden] { display: none; }
.hp-pane .hproof { flex: 1; }
.js .hp-panes[data-ready] .hp-pane { opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.js .hp-panes[data-ready] .hp-pane.is-active { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.hp-more { margin-top: 10px; font-size: 14px; }
.hproof--compact { padding: var(--space-4) 18px 14px; }
.hproof--compact .hp-row { padding: var(--space-2) 0; }
.hproof--compact .hp-tile { padding: var(--space-2); }
.hproof--compact .hp-tile b { font-size: 16px; }
@media (max-width: 1100px) {
  .hero .hero-copy--split, .page-hero .hero-copy--split, .hero-art { grid-column: 1 / -1; }
  .hero-art { width: 100%; max-width: 560px; margin-top: var(--space-7); }
}
@media (max-width: 639px) {
  .hero-art { margin-top: var(--space-6); }
  .hproof { padding: 14px 14px var(--space-3); }
  .hp-title { font-size: 16px; }
  .hp-row { gap: 9px; padding: 9px 0; }
  .hp-name { font-size: 14px; }
  .hp-name small { display: none; }
  .hp-val { font-size: 12.5px; }
  .hp-chip { min-width: 0; font-size: 10.5px; padding: 3px 6px; letter-spacing: 0; }
  .hp-chain::before { top: 20px; bottom: 20px; }
  .hp-tile { padding: var(--space-2); }
  .hp-tile b { font-size: 15px; }
  .hp-tile em { font-size: 10.5px; }
  .hp-note { text-align: left; }
  .hp-tabs button { font-size: 13px; padding: 6px var(--space-3); }
  .hp-tl { display: none; }
  .hp-ts { display: inline; }
}
@media (max-width: 639px) { .btn { white-space: normal; text-align: center; height: auto; min-height: 44px; padding-block: 10px; line-height: 1.25; max-width: 100%; } }

/* ---------- Looping diagrams: pause / play (v3.5, WCAG 2.2.2) ---------- */
.dg-fig, .hand { position: relative; }
.motion-ctl { position: absolute; top: 0; right: 0; z-index: 2; background: var(--paper); }
.hand .motion-ctl { top: calc(var(--space-5) - 6px); right: var(--space-5); }
.js .hand-head { padding-right: 44px; }
@media (prefers-reduced-motion: reduce) { .js .hand-head { padding-right: 0; } }
@media (max-width: 1023px) { .hand .motion-ctl { top: calc(var(--space-4) - 6px); right: var(--space-4); } }
.motion-ctl[data-state="paused"] .i-play, .motion-ctl[data-state="playing"] .i-pause { display: block; }

/* ---------- v3.5 audit fixes ---------- */
/* readable line endings */
p, li, dd, td, th, .t-small, .label { text-wrap: pretty; }
.t-h3, .t-h4 { text-wrap: balance; }
/* focused fields clear the sticky header */
.text-input, .check input, select { scroll-margin-top: calc(var(--header-h) + 40px); }
/* founding banner: the short line up to tablet width; the link never splits */
.announce a { white-space: nowrap; }
@media (max-width: 1023px) { .a-long { display: none; } .a-short { display: inline; } }
/* price-list tables: the caption is the old label; row headers read as plain names */
.ptable--list caption.label { padding-bottom: var(--space-3); }
.ptable--list tbody th { color: var(--ink); width: auto; font-weight: 400; }
.ptable--list th .t-small { display: block; color: var(--muted); }
/* three-column lists stack on phones: name and price on one line, description below */
@media (max-width: 639px) {
  .ptable--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable--stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
  .ptable--stack td, .ptable--stack th { border: 0; padding: 0; }
  .ptable--stack tr > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
  .ptable--stack tr > .num { grid-column: 2; grid-row: 1; }
}
/* compare tables: row labels stay put while the tiers scroll */
.swipe-hint { display: none; margin: 0 0 var(--space-2); font-size: 12px; color: var(--muted); }
@media (max-width: 767px) {
  .swipe-hint { display: block; }
  .ptable--compare tbody th, .ptable--compare thead th.pt-corner { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--rule); }
  .ptable--compare thead th.pt-corner { background: var(--paper-2); }
  .ptable--compare tbody th { min-width: 132px; }
}
/* tier cards: four-up prices stack so every card lines up; the recommendation is a tab on the border */
.tiers--4 .tier .price { flex-direction: column; align-items: flex-start; gap: 2px; }
.tier--rec .tier-rec { position: absolute; top: -11px; left: var(--space-5); right: auto; margin: 0; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
@media (max-width: 639px) { .tier--rec .tier-rec { position: absolute; margin: 0; } .tiers { row-gap: calc(var(--gutter) + var(--space-3)); } }
/* without JavaScript, hide controls that would do nothing */
html:not(.js) .menu-btn, html:not(.js) .theme-ctl, html:not(.js) .region-bar, html:not(.js) .hp-tabs, html:not(.js) .hp-ctrl, html:not(.js) .motion-ctl { display: none; }
