/* ==========================================================================
   Klaro — global stylesheet
   Single source of truth for design tokens, layout, typography and shared
   components. Page-specific rules belong in that page's <helmet><style>.
   Never use inline styles except for values computed at runtime (GSAP, JS).

   Naming: BEM — block, block__element, block--modifier. Full words only.
   Contents
     1.  Design tokens
     2.  Theme: light
     3.  Element defaults
     4.  Layout: container & section
     5.  Layout: grid
     6.  Typography
     7.  Section heading
     8.  Card
     9.  Button
     10. Badge & status dot
     11. Hero
     12. Call to action band
     13. Utilities
     14. Animation
     15. Theme toggle
     16. Responsive
   ========================================================================== */

/* ================================================== 1. DESIGN TOKENS ==== */
:root {
  /* --- surfaces --- */
  --surface-page: #000;
  --surface-sunken: #050505;
  --surface-panel: #090909;
  --surface-panel-rgb: 9, 9, 9;
  --surface-nav-rgb: 10, 10, 10;

  /* --- ink & text --- */
  --ink-rgb: 255, 255, 255;
  --text-primary: #fff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-quaternary: #52525b;
  --text-faint: #3f3f46;
  --text-strong: #e8e8ea;

  /* --- accents --- */
  --accent-indigo: #c7d2fe;
  --accent-peach: #ffe6d6;
  --accent-emerald: #6ee7b7;
  --accent-sky: #7dd3fc;
  --accent-amber: #fcd34d;
  --accent-signal: #6366f1;

  /* --- buttons --- */
  --button-solid-background: #fff;
  --button-solid-foreground: #0a0a0b;
  /* primary now matches the solid button — no gradient buttons anywhere */
  --button-primary-background: var(--button-solid-background);

  /* --- elevation --- */
  --shadow-small: 0 8px 24px rgba(0, 0, 0, .4);
  --shadow-large: 0 30px 70px rgba(0, 0, 0, .34);
  --shadow-panel: -24px 30px 70px rgba(0, 0, 0, .34);
  --shadow-panel-mobile: 0 24px 50px rgba(0, 0, 0, .34);

  /* --- footer decoration --- */
  --footer-glow:
    radial-gradient(76% 56% at 50% 126%, rgba(214, 200, 255, .42) 0%, rgba(167, 139, 250, 0) 54%),
    radial-gradient(160% 140% at 50% 144%, rgba(255, 218, 192, .62) 2%, rgba(109, 90, 230, .42) 30%, rgba(79, 70, 229, .22) 52%, transparent 74%);
  --footer-gradient: linear-gradient(180deg, rgba(12, 10, 18, 0) 0%, #1a1338 26%, #34267a 50%, #5942ad 72%, #7e66cb 100%);
  --logo-gradient-stop-1: .5;
  --logo-gradient-stop-2: .18;
  --logo-filter: none;

  /* --- layout --- */
  --container-width: 1240px;
  --container-width-narrow: 680px;
  --container-width-prose: 760px;
  --container-gutter: 28px;

  /* --- fluid gaps: scale with the viewport, bounded at both ends --- */
  --gap-xs: clamp(8px, 1vw, 12px);
  --gap-sm: clamp(12px, 1.4vw, 18px);
  --gap-md: clamp(18px, 2.2vw, 28px);
  --gap-lg: clamp(28px, 3.4vw, 44px);
  --gap-xl: clamp(40px, 6vw, 96px);
  --gap-col: var(--gap-xl);          /* the standard two-column gutter */

  /* --- spacing (4pt scale) --- */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-small: 12px;
  --space-medium: 16px;
  --space-large: 24px;
  --space-xl: 32px;
  --space-xxl: 40px;
  --space-section: 56px;
  --space-section-large: 96px;

  /* --- radii --- */
  --radius-small: 8px;
  --radius-medium: 11px;
  --radius-large: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* --- typography --- */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter Tight', 'Inter', sans-serif;
  --font-weight-body: 300;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  /* --- motion --- */
  --duration-fast: 120ms;
  --duration-medium: 200ms;
  --duration-slow: 320ms;
  --easing-standard: cubic-bezier(.2, .8, .2, 1);
  --easing-decelerate: cubic-bezier(.22, .61, .36, 1);
}

/* =================================================== 2. THEME: LIGHT ==== */
html[data-theme="light"] {
  --surface-page: #FBFBFC;
  --surface-sunken: #F1F2F4;
  --surface-panel: #FFFFFF;
  --surface-panel-rgb: 255, 255, 255;
  --surface-nav-rgb: 255, 255, 255;

  --ink-rgb: 18, 19, 24;
  --text-primary: #0A0A0B;
  --text-secondary: #52525B;
  --text-tertiary: #6E6E77;
  --text-quaternary: #71717A; /* 4.8:1 on the light page; was #8E8E96 (3.1:1) */
  --text-faint: #A1A1AA;      /* decorative only; was #C6C6CC (1.6:1) */
  --text-strong: #18181B;

  --accent-indigo: #4F46E5;
  --accent-peach: #0E7490;
  --accent-emerald: #047857;
  --accent-sky: #0369A1;
  --accent-amber: #B45309;

  --button-solid-background: #0A0A0B;
  --button-solid-foreground: #fff;

  --shadow-small: 0 6px 18px rgba(36, 42, 64, .10);
  --shadow-large: 0 20px 44px rgba(36, 42, 64, .10), 0 5px 14px rgba(36, 42, 64, .05);
  --shadow-panel: -14px 20px 44px rgba(36, 42, 64, .10), -2px 4px 12px rgba(36, 42, 64, .05);
  --shadow-panel-mobile: 0 16px 38px rgba(36, 42, 64, .10), 0 3px 10px rgba(36, 42, 64, .05);

  --footer-glow: radial-gradient(130% 80% at 50% 132%, rgba(124, 87, 198, .16) 0%, rgba(255, 218, 192, .10) 34%, rgba(99, 102, 241, .05) 58%, transparent 78%);
  --footer-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #f3effc 34%, #e6def8 64%, #dcd1f4 86%, #d4c7f1 100%); /* softer so footer text keeps 4.5:1+ at the bottom; was ending #a78fd9 (about 3:1 under grey links) */
  --logo-gradient-stop-1: .86;
  --logo-gradient-stop-2: .56;
  --logo-filter: invert(1);
}

/* ============================================== 3. ELEMENT DEFAULTS ==== */
html {
  overflow-x: hidden;
  background: var(--surface-page);
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-indigo); }
a:hover { color: var(--text-primary); }
/* inline text links: same colour as the sentence, underlined, white on hover */
:is(p, li, dd, small, figcaption, blockquote, td, label) a:not([class]) { color: inherit; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: currentColor; transition: color .2s ease; }
:is(p, li, dd, small, figcaption, blockquote, td, label) a:not([class]):hover { color: var(--text-primary); }

:focus-visible {
  outline: 2px solid var(--accent-signal);
  outline-offset: 3px;
  border-radius: 2px;
}

img { max-width: 100%; }

/* ================================== 4. LAYOUT: CONTAINER & SECTION ==== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
  box-sizing: border-box;
}
.container--narrow { max-width: var(--container-width-narrow); }
.container--prose  { max-width: var(--container-width-prose); }
.container--full   { max-width: none; }

/* Full-bleed on the trailing edge: content still starts on the container's
   left gutter, but the section runs to the right edge of the viewport. */
.container--bleed-end {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  padding-inline-start: max(var(--container-gutter), calc((100% - var(--container-width)) / 2 + var(--container-gutter)));
  box-sizing: border-box;
}
.container--bleed-end-padded { padding-inline-end: var(--container-gutter); }

.section              { padding-block: var(--space-section-large) var(--space-xxl); }
.section--tight       { padding-block: var(--space-xxl) 0; }
.section--flush       { padding-block: 0; }
.section--bordered    { border-top: 1px solid rgba(var(--ink-rgb), .06); }
.section--sunken {
  border-top: 1px solid rgba(var(--ink-rgb), .06);
  margin-top: var(--space-section);
  background: var(--surface-sunken);
}
.section--roomy   { padding-block: var(--space-section-large); }
.section--band    { padding-block: 90px 30px; }
.section--band-lg { padding-block: 96px 40px; }
.section--band-sm { padding-block: 80px 30px; }
.section--band-xs { padding-block: 70px 30px; }
.section--band-tall { padding-block: 104px 20px; }
.section--band-cta  { padding-block: 96px 40px; }

/* Page shell — the root wrapper every page opens with. */
.page-shell {
  position: relative;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-body);
}

/* Hero variants used across product and department pages. */
.hero--page { padding-block: 120px 56px; }
.hero__glow--top {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(99, 102, 241, .16), transparent 70%);
}

/* Button row under a hero or CTA. */
.button-row { display: flex; gap: var(--space-medium); flex-wrap: wrap; }
.button-row--hero { justify-content: center; margin-top: 32px; }

/* Gated-actions panel (department + capability pages). */
.gate-panel {
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background: var(--surface-panel);
  border: 1px solid rgba(99, 102, 241, .25);
}
.gate-panel__label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--accent-indigo);
  margin-bottom: var(--space-medium);
}
.gate-panel__list { display: flex; flex-direction: column; gap: var(--space-xs); }
.gate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(var(--ink-rgb), .03);
  border: 1px solid rgba(var(--ink-rgb), .06);
}
.gate-row__label { font-size: 13.5px; color: var(--text-secondary); }

.roi-figure {
  font-size: 26px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.03em;
  margin-bottom: var(--space-xs);
}
.label--card { margin-bottom: var(--space-medium); }
.label--roi  { margin-bottom: var(--space-medium); }
.gate-panel__lede { margin-bottom: 18px; max-width: 62ch; }
.button-row--panel { margin-top: var(--space-large); }
.button-row--panel-b { margin-bottom: var(--space-large); }

.gate-row__state {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--accent-amber);
}

/* Navigation / menu links used inside mega-menu columns and drawers. */
.nav-link {
  display: block;
  padding: 4px 6px;
  border-radius: var(--radius-small);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--font-weight-body);
  text-decoration: none;
  color: var(--text-secondary);
  transition: opacity .18s ease, color .18s ease;
}
.nav-link:hover { color: var(--text-primary); }

/* Mega-menu footer CTA row. */
.menu-footer {
  display: flex;
  gap: 34px;
  justify-content: flex-end;
  align-items: center;
  padding: 15px 22px;
  border-top: 1px solid rgba(var(--ink-rgb), .07);
}
.menu-footer__cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display), monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}
.menu-footer__cta:hover { color: var(--text-primary); }
.menu-footer__cta--primary { color: var(--text-primary); }
.nav-link-list { display: flex; flex-direction: column; gap: 1px; }
.nav-link--active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, .12);
  font-weight: var(--font-weight-medium);
}


/* Feature tile — a card that stacks content vertically. */
.feature-tile {
  display: flex;
  flex-direction: column;
  padding: var(--space-large);
  border-radius: 16px;
  background: rgba(var(--ink-rgb), .02);
  border: 1px solid rgba(var(--ink-rgb), .08);
  box-sizing: border-box;
}

/* Titles inside cards / tiles. */
.tile-title {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -.015em;
}
.tile-title--spaced { margin-bottom: var(--space-xs); }
.tile-text  { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.footer-hint {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.dock-hint {
  font-family: var(--font-display), monospace;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--text-secondary);
}

.capability-index {
  font-family: var(--font-display), monospace;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-secondary);
}

.tile-meta  { font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

/* Section intro block above a grid. */
.section-intro { max-width: 680px; margin: 0 0 var(--space-xxl); }
/* centred intro above a band; the gap scales with the viewport */
.section-lead { text-align: center; margin-bottom: clamp(44px, 6vw, 84px); }
.section-lead--tight { margin-bottom: var(--space-xl); }

/* Inline code token. */
.code-token {
  font-family: var(--font-display), ui-monospace, monospace;
  font-size: 13px;
  background: rgba(var(--ink-rgb), .06);
  border: 1px solid rgba(var(--ink-rgb), .08);
}

/* Small monochrome dot used in window-chrome mocks. */
.chrome-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); }

/* Row with content pushed to both ends. */
.row-split { display: flex; justify-content: space-between; align-items: center; }
.row-split--spaced { margin-bottom: 7px; }

/* Mega-menu — column headings and icon items. */
.menu-column__title {
  font-family: var(--font-display), monospace;
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: .12em;
  margin-bottom: 10px;
  padding-left: 9px;
}
.menu-item {
  display: flex;
  gap: 11px;
  padding: 9px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background var(--duration-fast) ease;
}
.menu-item:hover  { background: rgba(var(--ink-rgb), .07); }
.menu-item:active { background: rgba(var(--ink-rgb), .12); }
.menu-item__title { font-size: 13px; font-weight: var(--font-weight-semibold); color: var(--text-strong); }
.menu-item__desc  { font-size: 11.5px; line-height: 1.35; color: var(--text-tertiary); }
.menu-item__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(var(--ink-rgb), .04);
  border: 1px solid rgba(var(--ink-rgb), .08);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Mega-menu promo image card. */
.menu-image-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-large);
}

/* Utility surfaces and doc-page building blocks. */
.panel-surface { background: var(--surface-panel); }

.doc-page {
  position: relative;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
}

.layer-behind {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.code-inline {
  font-family: var(--font-display), ui-monospace, monospace;
  font-size: 13px;
  background: rgba(var(--ink-rgb), .06);
  border: 1px solid rgba(var(--ink-rgb), .08);
}

.text-meta { font-size: 12px; color: var(--text-secondary); }

.tile-heading { font-size: 15px; font-weight: var(--font-weight-semibold); margin-bottom: 6px; }
.tile-copy { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 var(--space-medium); }

.list-link {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-small);
  font-size: 13.5px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.list-link:hover { background: rgba(var(--ink-rgb), .06); color: var(--text-primary); }

.group-label {
  font-family: var(--font-display), monospace;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-quaternary);
  margin: 0 0 10px 10px;
}

.field-box {
  background: rgba(var(--ink-rgb), .03);
  border: 1px solid rgba(var(--ink-rgb), .1);
  border-radius: 10px;
  padding: 11px 13px;
}

.stack-tight { display: flex; flex-direction: column; gap: 7px; }

/* Filter chip row (marketplace, catalogues). */
.listing-name { font-size: 15px; font-weight: var(--font-weight-semibold); }
.listing-meta { font-size: 12px; color: var(--text-tertiary); }
.listing-text { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 var(--space-medium); }
.listing-badge {
  font-family: var(--font-display), monospace;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(var(--ink-rgb), .12);
  color: var(--text-tertiary);
}
.listing-badge--certified { color: var(--accent-emerald); border-color: rgba(110, 231, 183, .3); }
.listing-badge--agent { color: var(--accent-peach); border-color: rgba(255, 230, 214, .28); }

/* Horizontal "what's new" rail — scroll-snapped cards. */
.ship-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px var(--container-gutter) 28px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ship-rail::-webkit-scrollbar { display: none; }
.ship-rail--grab,
.ship-rail--grab * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.ship-card {
  flex: 0 0 auto;
  width: clamp(280px, 30vw, 384px);
  aspect-ratio: 0.94;
  border-radius: 22px;
  padding: 30px 26px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: rgba(var(--ink-rgb), .04);
  border: 1px solid rgba(var(--ink-rgb), .07);
  transition: transform var(--duration-slow) var(--easing-decelerate);
}
.ship-card:hover { transform: translateY(-4px); }
.ship-card--accent { background: linear-gradient(170deg, #6366F1, #4a3fd0); border-color: transparent; }
.ship-card--dark   { background: #0c0c0f; border-color: rgba(255, 255, 255, .07); }
.ship-card__tags { display: flex; gap: 5px; margin-bottom: 24px; }
.ship-card__tag {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: .08em;
  padding: 4px 9px;
  border-radius: 6px;
}
.ship-card__tag--new  { background: rgba(var(--ink-rgb), .1); color: var(--text-primary); }
.ship-card__tag--kind { background: var(--accent-signal); color: #fff; }
.ship-card__tag--ship { background: #10B981; color: #04231a; }
.ship-card__when { font-size: 14px; color: var(--text-tertiary); margin-bottom: 12px; }
.ship-card__title {
  font-family: var(--font-display);
  font-size: clamp(23px, 2.3vw, 29px);
  line-height: 1.12;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.03em;
  margin: 0;
}
.ship-card__mock {
  margin-top: auto;
  width: 100%;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(var(--ink-rgb), .09);
  border-bottom: 0;
  background: rgba(var(--ink-rgb), .04);
  padding: 14px;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ship-card--accent .ship-card__title,
.ship-card--accent .ship-card__when { color: #fff; }
.ship-card--accent .ship-card__mock { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .18); }
.ship-card--accent .ship-card__tag--new { background: rgba(255, 255, 255, .22); color: #fff; }
.ship-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(var(--ink-rgb), .05);
  font-size: 11.5px;
  color: var(--text-secondary);
}
.ship-row__state { margin-left: auto; font-family: var(--font-display); font-size: 9.5px; letter-spacing: .07em; }
.ship-card--accent .ship-row { background: rgba(255, 255, 255, .16); color: #f2f0ff; }

/* Dark variant is self-contained — it must not inherit theme ink on its own dark surface. */
.ship-card--dark .ship-card__title { color: #fff; }
.ship-card--dark .ship-card__when { color: rgba(255, 255, 255, .62); }
.ship-card--dark .ship-card__tag--new { background: rgba(255, 255, 255, .16); color: #fff; }
.ship-card--dark .ship-card__mock { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.ship-card--dark .ship-row { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); }
.ship-card--dark .ship-row__state.text-quaternary { color: rgba(255, 255, 255, .5); }
@media (max-width: 640px) {
  .ship-card { width: 82vw; aspect-ratio: 0.98; }
}

/* Cursor-following drag handle shown while hovering a draggable rail. */
.drag-cursor {
  position: fixed;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.72);
  transition: opacity .22s ease, transform .3s var(--easing-decelerate);
  will-change: transform;
}
.drag-cursor__puck {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: #2b2a2e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.005em;
}
.drag-cursor__arrow {
  flex: none;
  color: var(--text-tertiary);
  display: flex;
  transition: transform .28s var(--easing-decelerate), opacity .2s ease;
}
.drag-cursor--on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.drag-cursor--held { transform: translate(-50%, -50%) scale(.94); }
.drag-cursor--held .drag-cursor__arrow:first-child { transform: translateX(-4px); }
.drag-cursor--held .drag-cursor__arrow:last-child  { transform: translateX(4px); }
.ship-rail--grab { cursor: none; }
.ship-rail--grab .ship-card { cursor: none; }
@media (hover: none), (max-width: 640px) { .drag-cursor { display: none; } .ship-rail--grab, .ship-rail--grab .ship-card { cursor: grab; } }

/* Infinite logo marquee — the track holds two identical sets, so translating
   it by exactly -50% loops seamlessly with no visible reset. */
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  animation: logo-marquee-scroll 38s linear infinite;
  will-change: transform;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.logo-marquee__mark { display: block; width: 108px; height: 27px; }
@keyframes logo-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 640px) {
  .logo-marquee__track { gap: 30px; padding-right: 30px; animation-duration: 26s; }
  .logo-marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; justify-content: center; width: 100%; flex-wrap: wrap; }
}

/* Moat bento — visual panel on top, centred copy beneath (reference layout). */
.moat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.moat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(99, 102, 241, .07), rgba(var(--ink-rgb), .015));
  border: 1px solid rgba(var(--ink-rgb), .08);
  overflow: hidden;
  box-sizing: border-box;
  transition: transform var(--duration-slow) var(--easing-decelerate),
              border-color var(--duration-slow) ease;
}
.moat-card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, .32); }
.moat-card--wide { grid-column: span 3; }
.moat-card--third { grid-column: span 2; }
.moat-card--full { grid-column: span 6; }

/* the glowing visual well */
.moat-card__visual {
  position: relative;
  flex: none;
  height: 208px;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 26px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(var(--ink-rgb), .03);
  border: 1px solid rgba(var(--ink-rgb), .06);
  overflow: hidden;
}
.moat-card__visual::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -30%;
  width: 78%;
  height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, .38), transparent 68%);
  filter: blur(38px);
  pointer-events: none;
}
.moat-card__visual > * { position: relative; z-index: 1; }
.moat-well-label {
  font-family: var(--font-display), sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-secondary);
}
.moat-well-step {
  font-family: var(--font-display), sans-serif;
  font-size: 10px;
  color: var(--text-secondary);
  flex: none;
}
.moat-well-hash {
  font-family: var(--font-display), sans-serif;
  font-size: 10px;
  color: var(--text-secondary);
}
.moat-card__visual--peach::before { background: radial-gradient(ellipse at center, rgba(255, 218, 192, .3), transparent 68%); }

.moat-card__index {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display), monospace;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--accent-indigo);
}
.moat-card__title {
  font-size: clamp(19px, 1.7vw, 23px);
  font-weight: var(--font-weight-medium);
  letter-spacing: -.02em;
  text-align: center;
  margin: 0 0 10px;
}
.moat-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  max-width: 46ch;
  min-height: calc(14px * 1.6 * 3);
  margin: 0 auto;
}

/* shorter well for the three-up row */
.moat-card--third .moat-card__visual { height: 172px; }
@media (max-width: 900px) {
  .moat-grid { grid-template-columns: 1fr; }
  .moat-card--wide,
  .moat-card--third,
  .moat-card--full { grid-column: auto; }
}

/* Department tabs — pill tab bar over a large gradient stage. */
.dept-tabs {
  display: flex;
  gap: 2px;
  padding: 5px;
  margin: 0 auto 40px;
  width: max-content;
  max-width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--ink-rgb), .1);
  background: rgba(var(--ink-rgb), .03);
  overflow-x: auto;
  scrollbar-width: none;
}
.dept-tabs::-webkit-scrollbar { display: none; }
.dept-tab {
  flex: none;
  padding: 11px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: var(--font-weight-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--duration-medium) ease, color var(--duration-medium) ease;
}
.dept-tab:hover { color: var(--text-primary); }
.dept-tab[aria-selected="true"] {
  background: rgba(var(--ink-rgb), .1);
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

.dept-stage {
  position: relative;
  transition: background .5s ease;
  border-radius: 26px;
  padding: clamp(32px, 5vw, 68px) clamp(20px, 4vw, 56px) 0;
  min-height: clamp(400px, 46vw, 560px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.dept-panel { display: none; width: 100%; justify-content: center; }
.dept-panel[data-active] { display: flex; animation: dept-panel-in .5s var(--easing-decelerate) both; will-change: transform, opacity; }
@keyframes dept-panel-in { from { opacity: 0; transform: translate3d(0, 48px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

/* the mock lifts into the stage, then its rows fade up in sequence */
.dept-panel[data-active] .dept-mock { animation: dept-mock-in .8s var(--easing-decelerate) both .05s; will-change: transform, opacity; backface-visibility: hidden; }
@keyframes dept-mock-in { from { opacity: 0; transform: translate3d(0, 96px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

.dept-panel[data-active] .dept-mock__ask,
.dept-panel[data-active] .dept-mock__who,
.dept-panel[data-active] .dept-mock__row { animation: dept-row-in .5s var(--easing-decelerate) both; }
.dept-panel[data-active] .dept-mock__ask { animation-delay: .20s; }
.dept-panel[data-active] .dept-mock__who { animation-delay: .28s; }
.dept-panel[data-active] .dept-mock__row:nth-of-type(1) { animation-delay: .34s; }
.dept-panel[data-active] .dept-mock__row:nth-of-type(2) { animation-delay: .40s; }
.dept-panel[data-active] .dept-mock__row:nth-of-type(3) { animation-delay: .46s; }
.dept-panel[data-active] .dept-mock__row:nth-of-type(4) { animation-delay: .52s; }
@keyframes dept-row-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  .dept-panel[data-active],
  .dept-panel[data-active] .dept-mock,
  .dept-panel[data-active] .dept-mock__ask,
  .dept-panel[data-active] .dept-mock__who,
  .dept-panel[data-active] .dept-mock__row { animation: none; }
}

/* the phone-style mock inside the stage */
.dept-mock {
  width: min(420px, 92%);
  border-radius: 24px 24px 0 0;
  background: #fff;
  color: #111114;
  padding: 22px 22px 30px;
  box-sizing: border-box;
  box-shadow: 0 -8px 60px rgba(0, 0, 0, .18);
  text-align: left;
}
.dept-mock__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 17, 20, .08);
  margin-bottom: 18px;
}
.dept-mock__brand { font-size: 15px; font-weight: var(--font-weight-semibold); letter-spacing: -.01em; }
.dept-mock__meta { margin-left: auto; font-family: var(--font-display); font-size: 10px; letter-spacing: .08em; color: rgba(17, 17, 20, .45); }
.dept-mock__ask {
  background: rgba(17, 17, 20, .06);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.dept-mock__ask b { font-weight: var(--font-weight-semibold); }
.dept-mock__who { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: var(--font-weight-medium); margin-bottom: 12px; }
.dept-mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid rgba(17, 17, 20, .09);
  font-size: 13px;
  margin-bottom: 8px;
}
.dept-mock__row span:last-child {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .07em;
}
.dept-mock__state--auto { color: #0f7a52; }
.dept-mock__state--gate { color: #a25c05; }

@media (max-width: 640px) {
  .dept-tabs { width: 100%; justify-content: flex-start; }
  .dept-tab { padding: 10px 16px; font-size: 13.5px; }
  .dept-stage { padding: 26px 14px 0; min-height: 420px; }
}

/* "How it works" — sticky visual on the left, accordion steps on the right. */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--gap-xl);
  align-items: start;
}
.how-visual {
  position: sticky;
  top: 96px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1.02;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.how-visual__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}
.how-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--easing-decelerate); display: flex; flex-direction: column; justify-content: center; padding: 26px; box-sizing: border-box; gap: 9px; }
.how-shot--media { padding: 0; }
.how-shot__media { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.how-shot[data-active] { opacity: 1; }
.how-shot__label { font-family: var(--font-display); font-size: 10px; letter-spacing: .1em; color: var(--text-secondary); margin-bottom: 4px; }
.how-shot__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(var(--ink-rgb), .05);
  border: 1px solid rgba(var(--ink-rgb), .07);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.how-shot__row b { color: var(--text-primary); font-weight: var(--font-weight-medium); }
.how-shot__row span:last-child { margin-left: auto; font-family: var(--font-display); font-size: 10px; letter-spacing: .07em; }

.how-steps { display: flex; flex-direction: column; }
.how-step { border-bottom: 1px solid rgba(var(--ink-rgb), .08); }
.how-step:first-child { border-top: 1px solid rgba(var(--ink-rgb), .08); }
.how-step__button {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  color: var(--text-secondary);
  transition: color var(--duration-medium) ease;
}
.how-step__button:hover { color: var(--text-primary); }
.how-step[data-open] .how-step__button { color: var(--text-primary); }
/* +/- indicator pinned to the right edge; the vertical bar rotates away when open */
.how-step__toggle {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-left: auto;
  align-self: center;
  color: var(--text-secondary);
  transition: color var(--duration-medium) ease;
}
.how-step__toggle::before,
.how-step__toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-slow) var(--easing-decelerate), opacity var(--duration-medium) ease;
}
.how-step__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.how-step[data-open] .how-step__toggle { color: var(--accent-indigo); }
.how-step[data-open] .how-step__toggle::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.how-step__title {
  flex: 1;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: var(--font-weight-medium);
  letter-spacing: -.02em;
}
.how-step__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-slow) var(--easing-decelerate);
}
.how-step[data-open] .how-step__body { grid-template-rows: 1fr; }
.how-step__inner { overflow: hidden; }
.how-step__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 52ch;
}
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { position: static; aspect-ratio: 1.3; }
  .how-step__text { padding-left: 0; }
}

/* Compliance / trust cards. */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: rgba(var(--ink-rgb), .02);
  border: 1px solid rgba(var(--ink-rgb), .08);
  box-sizing: border-box;
  overflow: hidden;
  transition: transform var(--duration-slow) var(--easing-decelerate),
              border-color var(--duration-slow) ease;
}
.trust-card:hover { transform: translateY(-3px); border-color: rgba(99, 102, 241, .3); }
.trust-card__seal {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(99, 102, 241, .26);
  color: var(--accent-indigo);
}
.trust-card__name {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -.015em;
  margin: 0 0 6px;
}
.trust-card__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.trust-card__status {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--text-secondary);
}
.trust-card__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}
.trust-card__status--progress::before { background: var(--accent-amber); }

.trust-note {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* App marketplace constellation — diamond tile cluster with the Klaro mark at
   its centre. Tiles converge inward on scroll (see _initMarketCluster). */
.market-cluster {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--gap-xs);
  width: min(880px, 100%);
  height: clamp(240px, 30vw, 320px);
  margin: 0 auto;
  padding: 8px 0 4px;
  box-sizing: border-box;
  /* the mask already hides anything outside this box; clip it too so the blurred glow can't widen the page */
  overflow: clip;
  /* fade the columns out at the top and bottom so the loop has no visible seam */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.market-cluster::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, .16), transparent 62%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* one endless vertical marquee per column */
.market-col {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  max-width: 68px;
  height: 100%;
  overflow: hidden;
}
.market-col__track {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  padding-bottom: clamp(8px, 1vw, 14px);
  animation-name: market-marquee-up;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  /* each column scrolls at its own pace; the markup carries only the number */
  animation-duration: var(--spd, 28s);
  will-change: transform;
}
.market-col__track[data-dir="down"] { animation-name: market-marquee-down; }

/* the track holds two identical sets, so -50% lands on an identical frame */
@keyframes market-marquee-up   { from { transform: translate3d(0, 0, 0); }    to { transform: translate3d(0, -50%, 0); } }
@keyframes market-marquee-down { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }

.market-tile {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  flex: none;
  border-radius: clamp(10px, 1.1vw, 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ink-rgb), .04);
  border: 1px solid rgba(var(--ink-rgb), .07);
  color: var(--text-secondary);
  /* tiles fade back at varying depths; --o carries that one number */
  opacity: var(--o, 1);
  box-sizing: border-box;
}
.market-tile svg { width: 42%; height: 42%; }

/* the centre mark sits above the marquee, not inside it */
.market-tile--core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: clamp(66px, 9%, 88px);
  border-radius: clamp(14px, 1.6vw, 20px);
  background: var(--surface-panel);
  border-color: rgba(99, 102, 241, .4);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .18), 0 14px 44px rgba(99, 102, 241, .32);
  color: var(--text-primary);
}
.market-tile--core img { width: 58%; height: auto; filter: var(--logo-filter); }

@media (prefers-reduced-motion: reduce) {
  .market-col__track { animation: none; }
}

.market-lede { text-align: center; margin-top: 44px; }
.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}
.market-chip {
  padding: 11px 20px;
  border-radius: var(--radius-medium);
  border: 1px solid rgba(var(--ink-rgb), .1);
  background: rgba(var(--ink-rgb), .03);
  font-size: 14px;
  color: var(--text-secondary);
  transition: border-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.market-chip:hover { border-color: rgba(99, 102, 241, .35); color: var(--text-primary); }
.market-shared {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.market-shared span {
  padding: 8px 15px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(var(--ink-rgb), .08);
  font-size: 12.5px;
  color: var(--text-secondary);
}
@media (max-width: 640px) {
  .market-cluster { gap: 6px; }
  .market-tile { border-radius: 9px; }
  .market-chip { padding: 9px 15px; font-size: 13px; }
}

/* Marketplace orbit — Klaro at the centre, connected apps on scroll-driven rings. */
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 44px auto 0;
  aspect-ratio: 1;
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(var(--ink-rgb), .1);
  pointer-events: none;
}
.orbit-ring--inner { width: 38%; height: 38%; }
.orbit-ring--mid   { width: 68%; height: 68%; }
.orbit-ring--outer { width: 98%; height: 98%; }

.orbit-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(96px, 15%, 132px);
  aspect-ratio: 1;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-panel);
  border: 1px solid rgba(99, 102, 241, .3);
  box-shadow: 0 0 0 1px rgba(var(--ink-rgb), .04), 0 20px 50px rgba(79, 70, 229, .28);
  z-index: 3;
}
.orbit-hub::before {
  content: '';
  position: absolute;
  inset: -34%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, .34), transparent 66%);
  filter: blur(26px);
  z-index: -1;
}
.orbit-hub img { width: 62%; height: auto; filter: var(--logo-filter); }

.orbit-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(52px, 8.4%, 74px);
  aspect-ratio: 1;
  margin-left: calc(clamp(52px, 8.4%, 74px) / -2);
  margin-top: calc(clamp(52px, 8.4%, 74px) / -2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ink-rgb), .04);
  border: 1px solid rgba(var(--ink-rgb), .1);
  color: var(--text-secondary);
  box-sizing: border-box;
  will-change: transform;
  transition: border-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.orbit-node:hover { border-color: rgba(99, 102, 241, .42); color: var(--text-primary); }

/* per-app tints — each node keeps its own hue so the orbit reads as distinct apps */
.orbit-node--indigo  { background: rgba(99, 102, 241, .16);  border-color: rgba(99, 102, 241, .34);  color: #a5b4fc; }
.orbit-node--violet  { background: rgba(139, 92, 246, .16);  border-color: rgba(139, 92, 246, .34);  color: #c4b5fd; }
.orbit-node--sky     { background: rgba(14, 165, 233, .16);  border-color: rgba(14, 165, 233, .34);  color: #7dd3fc; }
.orbit-node--emerald { background: rgba(16, 185, 129, .16);  border-color: rgba(16, 185, 129, .34);  color: #6ee7b7; }
.orbit-node--amber   { background: rgba(245, 158, 11, .16);  border-color: rgba(245, 158, 11, .34);  color: #fcd34d; }
.orbit-node--peach   { background: rgba(255, 218, 192, .18); border-color: rgba(255, 218, 192, .34); color: #ffdac0; }
.orbit-node--rose    { background: rgba(244, 114, 182, .16); border-color: rgba(244, 114, 182, .34); color: #f9a8d4; }
html[data-theme="light"] .orbit-node--indigo  { color: #4338ca; }
html[data-theme="light"] .orbit-node--violet  { color: #6d28d9; }
html[data-theme="light"] .orbit-node--sky     { color: #0369a1; }
html[data-theme="light"] .orbit-node--emerald { color: #047857; }
html[data-theme="light"] .orbit-node--amber   { color: #b45309; }
html[data-theme="light"] .orbit-node--peach   { color: #c2410c; }
html[data-theme="light"] .orbit-node--rose    { color: #be185d; }
.orbit-node svg { width: 46%; height: auto; }
.orbit-node__label {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: .07em;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (max-width: 640px) {
  /* nodes sit on the outer ring, so leave room for half a node on each side */
  .orbit-stage { max-width: calc(100% - 24px); }
  .orbit-node__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-node { transition: none; }
}

/* Split feature band — copy + checklist on the left, glowing product mock on the
   right, with a hairline-framed grid and a four-up feature row beneath. */
.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(var(--ink-rgb), .08);
  border-bottom: 1px solid rgba(var(--ink-rgb), .08);
}
.split-band__copy {
  padding: clamp(40px, 5vw, 76px) clamp(24px, 4vw, 60px) clamp(40px, 5vw, 76px) 0;
  border-right: 1px solid rgba(var(--ink-rgb), .08);
  box-sizing: border-box;
}
.split-band__title {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: var(--font-weight-medium);
  letter-spacing: -.025em;
  margin: 0 0 var(--space-medium);
}
.split-band__lede {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 42ch;
  margin: 0 0 var(--space-xl);
}
.split-check { display: flex; flex-direction: column; gap: 18px; }
.split-check__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}
.split-check__mark { flex: none; width: 17px; height: 17px; color: var(--accent-indigo); margin-top: 1px; }

.split-band__visual {
  position: relative;
  padding: clamp(32px, 4vw, 64px) 0 clamp(32px, 4vw, 64px) clamp(24px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.split-mock {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.42;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), .09);
  background: var(--surface-panel);
}
.split-mock::before {
  content: '';
  position: absolute;
  right: -12%;
  top: -18%;
  width: 62%;
  height: 78%;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, .78), rgba(139, 92, 246, .22) 52%, transparent 72%);
  filter: blur(34px);
  pointer-events: none;
}
.split-mock__inner { position: relative; z-index: 1; padding: 18px; }
.split-mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
  margin-bottom: 13px;
  font-size: 13px;
  color: var(--text-secondary);
}
.split-mock__pill {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(var(--ink-rgb), .12);
  font-size: 11.5px;
}
.split-mock__grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 8px 12px; font-size: 12.5px; }
.split-mock__head { font-family: var(--font-display); font-size: 10px; letter-spacing: .08em; color: var(--text-secondary); }
.split-mock__cell { color: var(--text-secondary); }
.split-mock__tag {
  justify-self: start;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  font-size: 10.5px;
}
.split-mock__tag--ok { color: var(--accent-emerald); }
.split-mock__tag--wait { color: var(--accent-amber); }

.split-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  padding-top: clamp(40px, 5vw, 72px);
}
.split-feature__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.split-feature__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-small);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ink-rgb), .05);
  border: 1px solid rgba(var(--ink-rgb), .08);
  color: var(--accent-indigo);
}
.split-feature__icon svg { width: 15px; height: 15px; }
.split-feature__title { font-size: 15px; font-weight: var(--font-weight-medium); }
.split-feature__text { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0; }

@media (max-width: 900px) {
  .split-band { grid-template-columns: 1fr; }
  .split-band__copy { padding: 44px 0; border-right: 0; border-bottom: 1px solid rgba(var(--ink-rgb), .08); }
  .split-band__visual { padding: 40px 0; }
  .split-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .split-features { grid-template-columns: 1fr; }
}

/* Trust panel — one framed surface: statement on the left, credentials in
   divided columns on the right (see the reference layout). */
.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  border-radius: 22px;
  border: 1px solid rgba(var(--ink-rgb), .08);
  background: rgba(var(--ink-rgb), .02);
  overflow: hidden;
}
.trust-panel__cell {
  padding: clamp(28px, 3.4vw, 46px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.trust-panel__cell + .trust-panel__cell { border-left: 1px solid rgba(var(--ink-rgb), .08); }

.trust-panel__eyebrow {
  font-family: var(--font-display), monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.trust-panel__title {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.03em;
  margin: 0;
}
.trust-panel__title span { color: var(--text-tertiary); }
.trust-panel__link { margin-top: auto; padding-top: 32px; }

.trust-panel__seal {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--ink-rgb), .04);
  border: 1px solid rgba(var(--ink-rgb), .09);
  color: var(--text-secondary);
  margin-bottom: 26px;
}
.trust-panel__seal svg { width: 24px; height: 24px; }
.trust-panel__name {
  font-size: 16.5px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.015em;
  margin: 0 0 10px;
}
.trust-panel__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .trust-panel { grid-template-columns: 1fr; }
  .trust-panel__cell + .trust-panel__cell {
    border-left: 0;
    border-top: 1px solid rgba(var(--ink-rgb), .08);
  }
  .trust-panel__link { padding-top: 22px; }
}

/* Comparison — one recessed frame holding a muted column and a raised one */
.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sm);
  padding: clamp(10px, 1.4vw, 18px);
  border-radius: 24px;
  border: 1px solid rgba(var(--ink),.07);
  background: rgba(var(--ink),.02);
}
.vs__col { padding: clamp(22px, 2.6vw, 34px); }
.vs__col--klaro {
  border-radius: 18px;
  background: var(--surface-panel);
  border: 1px solid rgba(var(--ink),.09);
  box-shadow: var(--sh-md);
}
.vs__head {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(19px, 2vw, 25px); font-weight: 500;
  letter-spacing: -.025em; margin-bottom: 26px;
}
.vs__col--other .vs__head { color: var(--t2); }
.vs__mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#6366F1,#8B5CF6);
}
.vs__mark img { width: 15px; height: auto; display: block; }
.vs__list { display: flex; flex-direction: column; gap: 15px; }
.vs__item {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px;
  align-items: start; font-size: 15px; line-height: 1.5;
}
.vs__item svg { width: 15px; height: 15px; margin-top: 3px; }
.vs__col--other .vs__item { color: var(--t2); }
.vs__col--other .vs__item svg { color: var(--t3); }
.vs__col--klaro .vs__item { color: var(--text-primary); }
.vs__col--klaro .vs__item svg { color: var(--acc-i); }
@media (max-width: 800px) { .vs { grid-template-columns: 1fr; } }

/* Dimension matrix — pairs each claim against both answers on one row, so the
   reader never has to map one list onto another. */
.matrix {
  border-top: 1px solid rgba(var(--ink-rgb), .1);
}
.matrix__head,
.matrix__row {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-large);
  align-items: baseline;
}
.matrix__head {
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .1);
}
.matrix__label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-secondary);
}
.matrix__label--klaro {
  color: var(--accent-indigo);
  display: flex;
  align-items: center;
  gap: 8px;
}
.matrix__label--klaro img { width: 13px; height: auto; filter: var(--logo-filter); }

.matrix__row {
  padding: 22px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
  transition: background var(--duration-medium) ease;
}
.matrix__row:hover { background: rgba(var(--ink-rgb), .015); }
.matrix__dim {
  font-size: 15.5px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.015em;
}
.matrix__cell {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.matrix__cell--klaro {
  color: var(--text-primary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.matrix__cell--klaro svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 3px;
  color: var(--accent-indigo);
}
@media (max-width: 860px) {
  .matrix__head { display: none; }
  .matrix__row { grid-template-columns: 1fr; gap: var(--space-small); }
  .matrix__cell::before {
    content: attr(data-side);
    display: block;
    font-family: var(--font-display);
    font-size: 9.5px;
    letter-spacing: .1em;
    color: var(--text-secondary);
    margin-bottom: 4px;
  }
}

/* Proof cards — title/subtitle above a framed well, with a tinted glow
   bleeding in from the card's lower edges (reference layout). */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-medium); }
.proof-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--ink-rgb), .09);
  background: var(--surface-panel);
  overflow: hidden;
  box-sizing: border-box;
  transition: transform var(--duration-slow) var(--easing-decelerate),
              border-color var(--duration-slow) ease;
}
.proof-card:hover { transform: translateY(-4px); border-color: rgba(var(--ink-rgb), .18); }
/* the colour wash rising from the bottom corners */
.proof-card::after {
  content: '';
  position: absolute;
  left: -24%; right: -24%; bottom: -52%;
  height: 86%;
  border-radius: 50%;
  background: var(--proof-glow, radial-gradient(closest-side, rgba(99, 102, 241, .5), transparent 72%));
  filter: blur(42px);
  opacity: .55;
  pointer-events: none;
}
.proof-card > * { position: relative; z-index: 1; }

.proof-card__title {
  font-size: 16.5px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.015em;
  margin: 0 0 4px;
}
.proof-card__sub { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin: 0 0 20px; }

.proof-well {
  flex: 1;
  min-height: 232px;
  border-radius: var(--radius-large);
  border: 1px solid rgba(var(--ink-rgb), .08);
  background: rgba(var(--ink-rgb), .03);
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof-well__bar {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
  font-size: 12.5px; color: var(--text-secondary);
}
.proof-well__bar span:last-child {
  margin-left: auto; font-family: var(--font-display);
  font-size: 9px; letter-spacing: .08em; color: var(--text-secondary);
}
.proof-mark {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--ink-rgb), .06);
  border: 1px solid rgba(var(--ink-rgb), .09);
  color: var(--text-strong);
}
.proof-mark svg { width: 13px; height: 13px; }
.proof-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 9px;
  background: rgba(var(--ink-rgb), .04);
  font-size: 12.5px; color: var(--text-secondary);
}
.proof-row b { color: var(--text-primary); font-weight: var(--font-weight-medium); }
.proof-row span:last-child {
  margin-left: auto; font-family: var(--font-display);
  font-size: 9px; letter-spacing: .07em;
}
.proof-row__ok   { color: var(--accent-emerald); }
.proof-row__wait { color: var(--accent-amber); }
.proof-row__info { color: var(--accent-indigo); }

@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .proof-card { transition: none; } }

/* Vertical tabs — a rail of dimensions on the left, a detail panel on the
   right. Selection follows a click, and also advances as the reader scrolls. */
/* the pin: the tabs hold still while this track's scroll drives the selection */
.vtabs__track { position: relative; height: 300vh; }
.vtabs__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  box-sizing: border-box;
  padding-block: clamp(64px, 8vh, 96px) clamp(24px, 4vh, 48px);
}
.vtabs__sticky > .vtabs { width: 100%; }
.vtabs__sticky > .section-lead { margin-bottom: 0; }
/* short viewports: let the pinned block scroll internally rather than clip */
@media (max-height: 820px) {
  .vtabs__sticky {
    justify-content: flex-start;
    gap: var(--space-medium);
    padding-block: 56px 20px;
  }
  .vtabs__stage { min-height: 0; }
  .vtabs__panel { padding: clamp(18px, 2.4vw, 26px); }
  .vtabs__tab { padding-block: 15px; }
  .vtabs__title { font-size: clamp(19px, 2vw, 24px); }
  .vtabs__text { font-size: 14.5px; margin-bottom: var(--space-medium); }
}
@media (max-height: 700px) {
  .vtabs__track { height: auto; }
  .vtabs__sticky { position: static; min-height: 0; padding-block: 0; }
  .vtabs__progress { display: none; }
}
/* progress along the rail, so the reader can see how far through they are */
.vtabs__rail { position: relative; }
.vtabs__progress {
  position: absolute;
  left: 0; top: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--accent-indigo);
  height: 0;
  transition: height .3s linear, transform .3s linear;
  pointer-events: none;
}

.vtabs {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
  gap: var(--gap-col);
  padding-top: var(--space-xl);
}
.vtabs__rail { display: flex; flex-direction: column; }
.vtabs__tab {
  position: relative;
  width: 100%;
  padding: 22px 0 22px 20px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity var(--duration-slow) ease;
  opacity: .5;
}
.vtabs__tab:first-child { border-top: 0; }
.vtabs__tab:hover { opacity: .82; }
.vtabs__tab[aria-selected="true"] { opacity: 1; }
/* the active marker running down the rail */
.vtabs__tab::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--accent-indigo);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--duration-slow) var(--easing-decelerate);
}
.vtabs__tab::before { display: none; }

.vtabs__head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.vtabs__head svg { width: 15px; height: 15px; flex: none; color: var(--accent-indigo); }
.vtabs__name {
  font-size: 15.5px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.015em;
  color: var(--text-primary);
}
.vtabs__blurb {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  max-width: 34ch;
}

/* the detail panel */
.vtabs__stage { position: relative; display: grid; min-height: 460px; }
.vtabs__panel {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .55s var(--easing-decelerate);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--ink-rgb), .09);
  background: var(--surface-panel);
  padding: clamp(24px, 3vw, 36px);
  box-sizing: border-box;
  overflow: hidden;
}
.vtabs__panel[data-active] { opacity: 1; pointer-events: auto; transform: none; }
.vtabs__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(99, 102, 241, .3);
  background: rgba(99, 102, 241, .1);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--accent-indigo);
  margin-bottom: var(--space-large);
}
.vtabs__chip svg { width: 12px; height: 12px; }
.vtabs__title {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.15;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.028em;
  margin: 0 0 var(--space-medium);
  max-width: 26ch;
}
.vtabs__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 var(--space-large);
  max-width: 48ch;
}
.vtabs__mock {
  border-radius: var(--radius-large);
  border: 1px solid rgba(var(--ink-rgb), .08);
  background: rgba(var(--ink-rgb), .03);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vtabs__mockbar {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 11px; margin-bottom: 3px;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
  font-size: 12.5px; color: var(--text-secondary);
}
.vtabs__mockbar span:last-child {
  margin-left: auto; font-family: var(--font-display);
  font-size: 9px; letter-spacing: .08em; color: var(--text-secondary);
}

/* vtabs tablet */
@media (max-width: 1100px) and (min-width: 901px) {
  .vtabs { grid-template-columns: minmax(0, .52fr) minmax(0, 1fr); gap: var(--gap-lg); }
  .vtabs__blurb { font-size: 13.5px; max-width: 30ch; }
  .vtabs__stage { min-height: 420px; }
}
@media (max-width: 900px) {
  .vtabs__track { height: auto; }
  .vtabs__sticky { position: static; min-height: 0; padding-block: 0; }
  .vtabs__progress { display: none; }
  .vtabs__sticky { gap: var(--space-large); }
  .vtabs__sticky > .section-lead { margin-bottom: var(--space-small); }
  .vtabs { grid-template-columns: 1fr; }
  .vtabs__stage { min-height: 0; }
  .vtabs__panel { position: static; display: none; opacity: 1; transform: none; pointer-events: auto; }
  .vtabs__panel[data-active] { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .vtabs__tab, .vtabs__tab::before, .vtabs__panel { transition: none; }
}

/* the cost scene now opens the page */
.cost__resolve .eyebrow { margin-bottom: var(--space-medium); }
.cost--lead .cost__pin { padding-top: clamp(76px, 10vh, 120px); }

/* Three pillars — divided columns, each led by a glowing circular icon well.
   The arc sits at the base of the circle, lighting it from below. */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(var(--ink-rgb), .08);
  border-bottom: 1px solid rgba(var(--ink-rgb), .08);
}
.pillar {
  padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px);
  text-align: center;
  box-sizing: border-box;
}
.pillar + .pillar { border-left: 1px solid rgba(var(--ink-rgb), .08); }

.pillar__well {
  position: relative;
  width: clamp(96px, 11vw, 132px);
  aspect-ratio: 1;
  margin: 0 auto clamp(24px, 3vw, 38px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 118%, rgba(99, 102, 241, .22), rgba(var(--ink-rgb), .02) 62%);
  border: 1px solid rgba(var(--ink-rgb), .07);
}
/* the lit arc along the lower edge */
.pillar__well::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: rgba(139, 92, 246, .75);
  border-left-color: rgba(139, 92, 246, .22);
  border-right-color: rgba(139, 92, 246, .22);
  pointer-events: none;
}
.pillar__well::before {
  content: '';
  position: absolute;
  left: 12%; right: 12%; bottom: -14%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, .4), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}
.pillar__well svg {
  position: relative;
  width: 34%;
  height: auto;
  color: var(--text-primary);
}

.pillar__title {
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: var(--font-weight-medium);
  letter-spacing: -.025em;
  margin: 0 0 var(--space-small);
}
.pillar__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 26ch;
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid rgba(var(--ink-rgb), .08);
  }
}

/* Adoption journey — a horizontal rail of phases. The track fills as the
   reader scrolls, and each phase brightens as its marker is reached. */
.journey { --journey-progress: 0; position: relative; }

/* the rail, sitting behind the markers */
.journey__rail {
  position: absolute;
  left: 0; right: 0;
  top: 5px;
  height: 1px;
  background: rgba(var(--ink-rgb), .1);
}
.journey__rail::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: calc(var(--journey-progress) * 100%);
  background: linear-gradient(90deg, var(--accent-indigo), rgba(139, 92, 246, .55));
}

.journey__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-md);
}

.journey__phase {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  padding-right: var(--space-large);
  opacity: .42;
  transition: opacity var(--duration-slow) ease;
  box-sizing: border-box;
}
.journey__phase[data-reached] { opacity: 1; }

/* the marker straddling the rail */
.journey__pip {
  position: absolute;
  left: 0; top: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--surface-page);
  border: 1px solid rgba(var(--ink-rgb), .2);
  transition: border-color var(--duration-slow) ease,
              background var(--duration-slow) ease,
              box-shadow var(--duration-slow) ease;
}
.journey__phase[data-reached] .journey__pip {
  border-color: var(--accent-indigo);
  background: var(--accent-indigo);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .16);
}

.journey__icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--ink-rgb), .04);
  border: 1px solid rgba(var(--ink-rgb), .09);
  color: var(--text-secondary);
  margin-bottom: var(--space-medium);
  transition: border-color var(--duration-slow) ease,
              background var(--duration-slow) ease,
              color var(--duration-slow) ease;
}
.journey__icon svg { width: 16px; height: 16px; }
.journey__phase[data-reached] .journey__icon {
  border-color: rgba(99, 102, 241, .32);
  background: rgba(99, 102, 241, .1);
  color: var(--accent-indigo);
}

.journey__title {
  font-size: 17px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.02em;
  line-height: 1.3;
  margin: 0 0 var(--space-xs);
}
.journey__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* the state each phase leaves behind */
.journey__mark {
  display: flex;
  align-items: center;
  gap: 7px;
  /* pushed to the bottom of the equal-height column, so the hairline reads as
     one continuous baseline across the row regardless of title wrapping */
  margin-top: auto;
  padding-top: var(--space-medium);
  border-top: 1px solid rgba(var(--ink-rgb), .07);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--accent-emerald);
}
.journey__mark svg { width: 12px; height: 12px; flex: none; }

@media (max-width: 900px) {
  .journey__rail { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .journey__rail::after { width: 100%; height: calc(var(--journey-progress) * 100%); }
  .journey__row { grid-template-columns: 1fr; gap: 0; }
  .journey__phase { padding: 0 0 var(--space-large) 30px; }
  .journey__phase + .journey__phase { padding-top: var(--space-large); border-top: 1px solid rgba(var(--ink-rgb), .07); }
  .journey__pip { left: 0; top: 4px; }
  .journey__phase + .journey__phase .journey__pip { top: calc(var(--space-large) + 4px); }
}
@media (prefers-reduced-motion: reduce) {
  .journey__phase, .journey__pip { transition: none; }
}

.chip-row { display:flex; gap:9px; justify-content:center; flex-wrap:wrap; }
.chip-filter {
  font-size:13px;
  padding:8px 16px;
  border-radius:var(--radius-pill);
  border:1px solid rgba(var(--ink-rgb),.08);
  color:var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--duration-medium) ease, border-color var(--duration-medium) ease, color var(--duration-medium) ease;
}
.chip-filter--active {
  background:rgba(var(--ink-rgb),.06);
  border-color:rgba(var(--ink-rgb),.12);
  color:var(--text-primary);
  font-weight:var(--font-weight-medium);
}

/* Listing tile head: square glyph + name/meta. */
.listing-head { display:flex; align-items:center; gap:11px; margin-bottom:12px; }
.listing-glyph {
  width:36px; height:36px; flex:none;
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:14px; font-weight:var(--font-weight-semibold);
  color:#fff;
}
.listing-glyph--muted {
  background:rgba(var(--ink-rgb),.06);
  border:1px solid rgba(var(--ink-rgb),.08);
  color:var(--text-secondary);
}

/* Decorative centred glow behind a hero. */
.hero__glow-warm {
  position:absolute; top:0; left:50%;
  transform:translateX(-50%);
  width:740px; height:400px;
  background:radial-gradient(ellipse at center, rgba(255,218,192,.1), transparent 66%);
  filter:blur(80px);
  animation:pulse-glow 11s ease-in-out infinite;
}

/* Small print under a grid. */
.note-caption {
  text-align:center;
  font-size:12.5px;
  color:var(--text-quaternary);
  margin:var(--space-large) auto 0;
}

/* Band with a sunken background. */
.band-sunken {
  border-top:1px solid rgba(var(--ink-rgb),.06);
  background:var(--surface-sunken);
}

.menu-column__links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: var(--space-xs);
  padding-top: 10px;
  border-top: 1px solid rgba(var(--ink-rgb), .07);
}

/* ========================================================= 5. GRID ==== */
.grid { display: grid; gap: var(--space-medium); }
.grid--two-column   { grid-template-columns: repeat(2, 1fr); }
.grid--three-column { grid-template-columns: repeat(3, 1fr); }
.grid--four-column  { grid-template-columns: repeat(4, 1fr); }

/* =================================================== 6. TYPOGRAPHY ==== */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  margin-bottom: var(--space-medium);
}

/* Eyebrow modifiers — must follow the .eyebrow base rule to win the cascade. */
.eyebrow--tight { margin-bottom: var(--space-small); }
.eyebrow--loose { margin-bottom: 18px; }
.eyebrow--small { font-size: 10px; letter-spacing: .1em; margin-bottom: var(--space-small); }
.eyebrow--warm  { color: var(--accent-peach); }
.eyebrow--one   { color: #a78bfa; }
html[data-theme="light"] .eyebrow--one { color: #6d28d9; }
/* light mode: inline light-purple text tints (made for dark surfaces) read too faint on white */
html[data-theme="light"] [style*="color:#c4b5fd"], html[data-theme="light"] [style*="color: #c4b5fd"],
html[data-theme="light"] [style*="color:#a78bfa"], html[data-theme="light"] [style*="color: #a78bfa"],
html[data-theme="light"] [style*="color:#a5b4fc"], html[data-theme="light"] [style*="color: #a5b4fc"],
html[data-theme="light"] [style*="color:#c7d2fe"], html[data-theme="light"] [style*="color: #c7d2fe"] { color: #6d28d9; }
.eyebrow--money { color: #34d399; } .eyebrow--plus { color: #93c5fd; }
html[data-theme="light"] .eyebrow--money { color: #047857; } html[data-theme="light"] .eyebrow--plus { color: #1d4ed8; }

/* Plus's own accent, as its own token because the alias block above is
   `:root, html[data-theme="light"]` - shared by both themes - so a value put
   there cannot vary by theme. Each product has an accent: One violet, Money
   green, Care violet, Plus blue. Plus pages were reaching for --acc-e
   (emerald), which is Money's: Plus was the only product using --acc-e
   anywhere, and Money, which actually owns green, never used it at all.
   Inherited template, not a decision. These are the eyebrow's own values, so
   the hero and the sections under it accent in one blue rather than two. */
:root { --acc-p: #93c5fd; }
html[data-theme="light"] { --acc-p: #1d4ed8; }

.label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-secondary);
}

.heading-page {
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.05;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.04em;
  margin: 0 0 var(--space-large);
}

/* Klaro hub hero — the platform's front door, one step larger than page heroes */
.heading-hero {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.1;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -.05em;
  margin: 0 0 26px;
}

.heading-section {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.035em;
  margin: 0 0 var(--space-medium);
}

.heading-section--flush { margin-bottom: 0; }

.heading-card {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -.015em;
  margin: 0 0 var(--space-small);
}

.text-lead {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.025em;
  font-weight: normal;
  color: var(--text-secondary);
  margin: 0 0 var(--space-xl);
}

/* measures — cap line length without hard-coding widths inline */
.measure-heading { max-width: 780px; }
.measure-lead    { max-width: 580px; }
.measure-copy    { max-width: 620px; }
.measure-tight   { max-width: 440px; }

.card__text--spaced { margin-bottom: var(--space-medium); }
.heading-card--large { font-size: 19px; }
.heading-card--small { font-size: 17px; }

/* Documentation / legal page sub-headings — long-form reading rhythm. */
.heading-doc {
  font-size: 26px;
  font-weight: var(--font-weight-medium);
  letter-spacing: -.025em;
  margin: 44px 0 var(--space-medium);
}
.heading-clause {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -.02em;
  margin: 34px 0 var(--space-small);
}
.heading-display { font-size: clamp(44px, 6vw, 74px); line-height: .98; font-weight: var(--font-weight-semibold); letter-spacing: -.045em; margin: 0; }

.text-lead--flush { margin-bottom: 0; }

.text-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================= 7. SECTION HEADING ==== */
.section-heading {
  display: flex;
  align-items: center;
  gap: var(--space-small);
  margin-bottom: var(--space-large);
}
.section-heading__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent-indigo);
}
.section-heading__rule {
  flex: 1;
  height: 1px;
  background: rgba(var(--ink-rgb), .07);
}

/* ========================================================= 8. CARD ==== */
.card {
  padding: var(--space-large);
  border-radius: var(--radius-xl);
  background: rgba(var(--ink-rgb), .02);
  border: 1px solid rgba(var(--ink-rgb), .08);
  box-sizing: border-box;
}
.card--panel  { background: var(--surface-panel); }
.card--accent {
  background: linear-gradient(180deg, rgba(99, 102, 241, .1), rgba(var(--ink-rgb), .012));
  border-color: rgba(99, 102, 241, .25);
}
.card--placeholder {
  border-style: dashed;
  border-color: rgba(var(--ink-rgb), .16);
}
.card--interactive {
  transition: transform var(--duration-slow) var(--easing-decelerate),
              border-color var(--duration-slow) ease,
              box-shadow var(--duration-slow) ease;
}
.card--interactive:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, .4);
  box-shadow: var(--shadow-small);
}
.card__title { font-size: 17px; font-weight: var(--font-weight-semibold); margin: 0 0 var(--space-small); }
.card__text  { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); margin: 0; }

/* ======================================================= 9. BUTTON ==== */
.button {
  /* border-box so a width:100% button keeps its 26px side padding inside the
     container instead of adding 52px past its edges */
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 13px 26px;
  border-radius: var(--radius-medium);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform var(--duration-medium) var(--easing-standard),
              background var(--duration-medium) ease,
              border-color var(--duration-medium) ease;
}
.button--primary { background: var(--button-primary-background); color: var(--button-solid-foreground); }
.button--primary:hover { transform: translateY(-2px); color: var(--button-solid-foreground); }

/* Solid white on dark / solid dark on light — the hero CTA used across product pages. */
.button--solid { background: var(--button-solid-background); color: var(--button-solid-foreground); }
.button--solid:hover { transform: translateY(-2px); color: var(--button-solid-foreground); }

.button--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(var(--ink-rgb), .14);
  font-weight: var(--font-weight-medium);
}
.button--secondary:hover { border-color: rgba(var(--ink-rgb), .28); color: var(--text-primary); }

/* tinted outline — a hairline border over a faint fill; heavier than
   --secondary (which is transparent), lighter than --solid */
.button--outline {
  background: rgba(var(--ink-rgb), .03);
  color: var(--text-primary);
  border: 1px solid rgba(var(--ink-rgb), .14);
  font-weight: var(--font-weight-medium);
}
.button--outline:hover {
  background: rgba(var(--ink-rgb), .06);
  border-color: rgba(var(--ink-rgb), .28);
  color: var(--text-primary);
}

.button--text {
  padding: 0;
  background: none;
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}
.button--text:hover { color: var(--accent-indigo); }

/* ========================================= 10. BADGE & STATUS DOT ==== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--ink-rgb), .1);
  background: rgba(var(--ink-rgb), .04);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-secondary);
}

.badge--chip {
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-signal);
}

/* ========================================================= 11. HERO ==== */
.hero { position: relative; overflow: hidden; }
.hero__background { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(99, 102, 241, .16), transparent 70%);
}
.hero__content { position: relative; z-index: 2; }

/* ========================================= 12. CALL TO ACTION BAND ==== */
/* Mid-page conversion prompt — a quiet full-width row between sections. */
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-large);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  padding-top: var(--space-large);
  border-top: 1px solid rgba(var(--ink-rgb), .08);
}
.cta-inline__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 56ch;
}
.cta-inline__text strong { color: var(--text-primary); font-weight: var(--font-weight-medium); }
.cta-inline__actions { display: flex; align-items: center; gap: var(--space-large); flex-wrap: wrap; }
.cta-inline--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-medium);
}
.cta-inline--centered .cta-inline__actions { justify-content: center; }
.cta-inline__tollfree {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-secondary);
}
.cta-inline__tollfree b {
  font-size: 15.5px;
  letter-spacing: -.01em;
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

@media (max-width: 640px) {
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .cta-inline--centered { align-items: center; }
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(var(--ink-rgb), .06);
  margin-top: var(--space-section);
}
.cta-band__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 120% at 50% 0%, rgba(99, 102, 241, .14), transparent 70%);
}
.cta-band__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: var(--space-section-large);
}

/* ==================================================== 13. UTILITIES ==== */
.stack       { display: flex; flex-direction: column; }
.row         { display: flex; align-items: center; }
.row--wrap   { display: flex; align-items: center; flex-wrap: wrap; }
.row--between{ justify-content: space-between; }

/* fluid gap utilities — Tailwind-style, one class per step */
.gap-fluid-xs { gap: var(--gap-xs); }
.gap-fluid-sm { gap: var(--gap-sm); }
.gap-fluid-md { gap: var(--gap-md); }
.gap-fluid-lg { gap: var(--gap-lg); }
.gap-fluid-xl { gap: var(--gap-xl); }
.gap-col      { gap: var(--gap-col); }
.gap-col-x    { column-gap: var(--gap-col); }
.gap-col-y    { row-gap: var(--gap-col); }

.gap-xs     { gap: var(--space-xs); }
.gap-small  { gap: var(--space-small); }
.gap-medium { gap: var(--space-medium); }
.gap-large  { gap: var(--space-large); }

.push-down     { margin-top: auto; }
[data-centered] { margin-inline: auto; }
.cta-band__content .text-lead--flush { margin-bottom: 0; }

.text-body { margin-bottom: var(--space-large); }
.text-center   { text-align: center; }
.text-muted    { color: var(--text-secondary); }
.text-subtle   { color: var(--text-tertiary); }
.text-quaternary { color: var(--text-quaternary); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==================================================== 14. ANIMATION ==== */
@keyframes pulse-glow   { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes equalizer    { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
@keyframes slide-down-in{ from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-gentle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* legacy aliases — kept so existing animation names keep resolving */
@keyframes klGlow { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
@keyframes klEq   { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
@keyframes klNavIn{ from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

[data-reveal] { will-change: opacity, transform; }

/* ================================================= 15. THEME TOGGLE ==== */
[data-theme-icon] {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: inset -4px -3px 0 0 currentColor;
}
html[data-theme="light"] [data-theme-icon] {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 1.6px currentColor;
}

/* =================================================== 16. RESPONSIVE ==== */
@media (max-width: 900px) {
  .grid--two-column,
  .grid--three-column,
  .grid--four-column { grid-template-columns: 1fr; }
  .section { padding-block: var(--space-section) var(--space-xl); }
}

@media (max-width: 640px) {
  :root { --container-gutter: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    transition-duration: .01ms;
  }
}

/* ====================================== 17. LEGACY TOKEN ALIASES ====== */
/* Existing markup still references the short token names. These map the
   old names onto the new semantic ones so both resolve during migration.
   Remove once no markup references the short names. */
:root, html[data-theme="light"] {
  --bg: var(--surface-page);
  --bg2: var(--surface-sunken);
  --panel: var(--surface-panel);
  --panelrgb: var(--surface-panel-rgb);
  --navrgb: var(--surface-nav-rgb);
  --ink: var(--ink-rgb);
  --text: var(--text-primary);
  --t2: var(--text-secondary);
  --t3: var(--text-tertiary);
  --t4: var(--text-quaternary);
  --t5: var(--text-faint);
  --t-strong: var(--text-strong);
  --btn-bg: var(--button-solid-background);
  --btn-fg: var(--button-solid-foreground);
  --acc-i: var(--accent-indigo);
  --acc-c: var(--accent-peach);
  --acc-e: var(--accent-emerald);
  --acc-s: var(--accent-sky);
  --acc-a: var(--accent-amber);
  --sh-md: var(--shadow-small);
  --sh-xl: var(--shadow-large);
  --sh-panel: var(--shadow-panel);
  --sh-panel-m: var(--shadow-panel-mobile);
  --foot-glow: var(--footer-glow);
  --foot-grad: var(--footer-gradient);
  --logo-g1: var(--logo-gradient-stop-1);
  --logo-g2: var(--logo-gradient-stop-2);
  --logo-invert: var(--logo-filter);
  --kl-container: var(--container-width);
  --kl-narrow: var(--container-width-narrow);
  --kl-gutter: var(--container-gutter);
 }


/* ─────────────────────────────────────────────────────────────────────────
   Logo marquee skeleton, driven by /logo-marquee.js (rAF, not a keyframe, so
   the row stays draggable). Only the structure lives here; each page styles
   its own .cl-marquee__item, because the uses differ - Care needs a white
   plate behind colour raster logos, the Customers strip wants monochrome
   wordmarks on the page itself.
   The script handles pause-on-hover, offscreen, hidden tab and reduced motion;
   for the last it sets [data-static] and hands over a plain scrollable row.
   ───────────────────────────────────────────────────────────────────────── */
.cl-marquee {
  position: relative; overflow: hidden; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%);
}
.cl-marquee:focus-visible { outline: 2px solid var(--acc-i); outline-offset: 4px; }
.cl-marquee[data-dragging="1"] { cursor: grabbing; }
.cl-marquee__track { display: flex; width: max-content; will-change: transform; }
.cl-marquee__row { display: flex; margin: 0; padding: 0; list-style: none; }
.cl-marquee[data-static] { overflow-x: auto; cursor: auto; scrollbar-width: thin; }
.cl-marquee[data-static] .cl-marquee__track { width: auto; }
@media (max-width: 700px) {
  .cl-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Calculator. ONE component, shared by the Money home page and every
   /money/*-calculator page, so a calculator looks the same wherever it turns
   up. Lifted out of Klaro-Money.dc.html when the calculator pages were built,
   rather than left there and reimplemented beside it - the second
   implementation drifted immediately: two boxes instead of one card, a number
   box beside every slider, no proportion bar, no tabular figures.

   One card, two panes: what you change on the left, what it comes to on the
   right. The value lives in the label, not in a box of its own. The track
   fills to the current position through --p, which the script sets - a live
   progress width is one of the few things that belongs in an inline style.
   ───────────────────────────────────────────────────────────────────────── */
  .fcalc {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    margin-top: clamp(34px,4vw,52px); border: 1px solid rgba(var(--ink),.1); border-radius: 24px; overflow: hidden;
    background: rgba(var(--ink),.02);
  }
  .fcalc__in { padding: clamp(24px,3vw,40px); display: flex; flex-direction: column; gap: 28px; }
  .fcalc__f { display: flex; flex-direction: column; gap: 12px; }
  .fcalc__l { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--t2); }
  .fcalc__l b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
  .fcalc input[type=range] {
    -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; margin: 0; cursor: pointer;
    /* The fill has to stop where the THUMB is, not at a plain percentage of
       the track. The browser keeps the 20px thumb inside the track, so its
       centre only travels from 10px to (width - 10px) - a naive percentage
       fill agrees with it at 50% and nowhere else, and the error is worst at
       the ends, which is exactly where most defaults sit. --f is the raw
       fraction (0-1); the calc below turns it into the thumb's real centre. */
    --fill: calc(10px + (100% - 20px) * var(--f, .5));
    background: linear-gradient(90deg, #34d399 var(--fill), rgba(var(--ink),.14) var(--fill));
  }
  .fcalc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid #10b981; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
  .fcalc input[type=range]::-moz-range-thumb { width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 4px solid #10b981; }
  .fcalc input[type=range]:focus-visible { outline: 2px solid #34d399; outline-offset: 6px; }
  .fcalc__out {
    padding: clamp(24px,3vw,40px); display: flex; flex-direction: column; border-left: 1px solid rgba(var(--ink),.08);
    background: radial-gradient(120% 90% at 100% 0%, rgba(16,185,129,.14), transparent 62%);
  }
  .fcalc__k { font-family: 'Inter Tight',sans-serif; font-size: 10px; letter-spacing: .14em; color: #34d399; }
  .fcalc__v { font-size: clamp(34px,4.4vw,56px); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin-top: 16px; font-variant-numeric: tabular-nums; }
  .fcalc__bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 28px; background: rgba(var(--ink),.1); }
  .fcalc__bar i { display: block; height: 100%; background: rgba(var(--ink),.34); transition: width .35s cubic-bezier(.22,.61,.36,1); }
  .fcalc__bar i + i { background: linear-gradient(90deg, #10b981, #6ee7b7); }
  /* The year-by-year chart. Same two colours as the single bar and the
     legend dots below it, because it is the same split - drawn at every
     year instead of only the last one. Heights are live output, so they
     are set on the elements; everything else lives here. */
  .fcalc__chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 4px; height: 124px; margin-top: 26px; }
  .fcalc__col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; }
  .fcalc__stack { display: flex; flex-direction: column-reverse; border-radius: 3px; overflow: hidden; min-height: 2px; transition: height .35s cubic-bezier(.22,.61,.36,1); }
  .fcalc__stack i { display: block; background: rgba(var(--ink),.34); transition: height .35s cubic-bezier(.22,.61,.36,1); }
  .fcalc__stack i + i { background: linear-gradient(180deg, #6ee7b7, #10b981); }
  .fcalc__xl { font-family: 'Inter Tight', sans-serif; font-size: 9.5px; letter-spacing: .04em; color: var(--t4); text-align: center; margin-top: 7px; min-height: 12px; white-space: nowrap; }
  /* Loan pages read the other way round. Green is the principal - the part
     that stops being debt - and the interest takes the palette's amber,
     because it is money that leaves. Without this the loan chart is the
     growth chart mirrored, in colours that mean the opposite.
     These sit after the rules they override; order is doing the work. */
  .fcalc__chart--cost .fcalc__stack i { background: linear-gradient(180deg, #6ee7b7, #10b981); }
  .fcalc__chart--cost .fcalc__stack i + i { background: var(--accent-amber); }
  .fcalc__bar--cost i { background: linear-gradient(90deg, #10b981, #6ee7b7); }
  .fcalc__bar--cost i + i { background: var(--accent-amber); }
  .fcalc__legend { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .fcalc__legend div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--t2); }
  .fcalc__legend div b { margin-left: auto; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
  .fcalc__legend em { width: 8px; height: 8px; border-radius: 50%; font-style: normal; background: rgba(var(--ink),.34); flex: none; }
  .fcalc__legend div + div em { background: #34d399; }
  /* same flip for the legend dots, and they have to sit after the two rules
     above: identical specificity, so order is the only thing deciding it */
  .fcalc__legend--cost em { background: #34d399; }
  .fcalc__legend--cost div + div em { background: var(--accent-amber); }
  .fcalc__note { margin: auto 0 0; padding-top: 22px; font-size: 12px; line-height: 1.55; color: var(--t4); }
  .fcalc + .fcalc { margin-top: clamp(20px,2.4vw,28px); }
  @media (max-width: 800px){
    .fcalc { grid-template-columns: minmax(0,1fr); }
    .fcalc__out { border-left: 0; border-top: 1px solid rgba(var(--ink),.08); }
  }

/* A page that IS a calculator wants it flush, not carrying the home page's
   top margin into a section of its own. */
.kc-tool .fcalc { margin-top: 0; }
/* Retirement and NPS report more than the two parts the bar splits, so the
   extra rows take a hollow marker rather than a filled one. */
.fcalc__legend div.is-plain em { background: transparent; box-shadow: inset 0 0 0 1px rgba(var(--ink),.3); }
.fcalc__legend div.is-plain b { color: var(--t2); }

.kform { max-width: 760px; margin-inline: auto; }
.kform__eq {
  display: block; padding: clamp(16px,2vw,22px); border-radius: 14px;
  border: 1px solid rgba(var(--ink),.09); background: rgba(var(--ink),.02);
  font-family: 'Inter Tight',sans-serif; font-size: clamp(15px,1.7vw,19px);
  letter-spacing: -.01em; color: var(--text);
  /* These used to sit on one nowrap line that scrolled sideways, with nothing
     on screen saying so - the income tax formula was simply cut off mid-word,
     and on a phone most of them were. pre-wrap keeps the runs of spacing some
     of the formulas use for layout, and wraps at the spaces instead. */
  white-space: pre-wrap; overflow-wrap: break-word;
}
/* One grid for the whole list, not one per row, so every term shares a column
   sized to the longest of them. The fixed 38px here fitted "FV" and "i" and
   nothing else: "surcharge" and "completed years" ran straight over their own
   definitions on ten of the twenty-five pages. display:contents lets each
   row's wrapper step out of the way so dt and dd land in the parent grid. */
.kform__defs { display: grid; grid-template-columns: minmax(38px, max-content) minmax(0,1fr); gap: 9px 14px; margin: 20px 0 0; align-items: baseline; }
.kform__defs > div { display: contents; }
.kform .text-body { margin-top: 22px; }
@media (max-width: 560px) {
  .kform__defs { grid-template-columns: minmax(0,1fr); gap: 2px 0; }
  .kform__defs dd { margin-bottom: 8px; }
}
.kform__defs dt { font-family: 'Inter Tight',sans-serif; font-weight: 500; color: var(--text); margin: 0; }
.kform__defs dd { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--t2); }
.kcg { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap-sm); }
.kcg__i {
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(16px,1.5vw,20px); border-radius: 14px;
  border: 1px solid rgba(var(--ink),.08); background: rgba(var(--ink),.02);
  text-decoration: none; color: inherit;
  transition: border-color .35s ease, background .35s ease;
}
.kcg__i:hover { border-color: rgba(52,211,153,.34); background: rgba(var(--ink),.035); }
/* light mode keeps the card white on hover too - the dark rule above repaints
   the ink tint, which is the grey the house rules keep off section cards */
html[data-theme="light"] .kcg__i:hover { background: var(--panel); border-color: rgba(52,211,153,.5); box-shadow: 0 2px 4px rgba(20,20,40,.05), 0 16px 36px rgba(20,20,40,.08); }
.kcg__h { font-size: 15px; font-weight: 500; letter-spacing: -.02em; color: var(--text); }
.kcg__p { font-size: 13px; line-height: 1.5; color: var(--t2); margin: 0; }
.kcg__go { margin-top: auto; padding-top: 9px; font-family: 'Inter Tight',sans-serif; font-size: 11px; letter-spacing: .07em; color: #34d399; }
.kcg__k { font-family: 'Inter Tight',sans-serif; font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--t4); }
/* This lost its @media wrapper when .kcg was promoted into global.css, so it
   sat at the top level and beat the three-column rule above it at every
   width. Three columns was always the intent. */
@media (max-width: 1000px) { .kcg { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .kcg { grid-template-columns: minmax(0,1fr); } }

/* ─────────────────────────────────────────────────────────────────────────
   Quote slider. Wraps .ap-quote slides in a track that translates by whole
   percentages, so a slide is always flush. Ten identical copies of these rules
   sit in the Workspace app helmets; promoted here for the eleventh use rather
   than copied again. Driven by _initApQuotes() in the page component, which
   builds the dots, auto-advances every 7s and parks on hover.
   The nav only appears once the script confirms more than one slide, so a
   single-quote slider degrades to a plain quote with no dead controls.
   ───────────────────────────────────────────────────────────────────────── */
.ap-qs { position: relative; }
.ap-qs__view { overflow: hidden; border-radius: 22px; }
.ap-qs__track { display: flex; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.ap-qs__track > .ap-quote { flex: 0 0 100%; box-sizing: border-box; }
.ap-qs__nav { display: none; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.ap-qs__nav[data-on] { display: flex; }
.ap-qs__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(var(--ink),.14); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .25s ease, background .25s ease; }
.ap-qs__btn:hover { border-color: rgba(var(--ink),.3); background: rgba(var(--ink),.04); }
.ap-qs__btn:focus-visible { outline: 2px solid var(--acc-i); outline-offset: 2px; }
.ap-qs__btn svg { width: 16px; height: 16px; }
.ap-qs__dots { display: flex; gap: 7px; }
.ap-qs__dots button { width: 18px; height: 3px; border-radius: 2px; border: 0; padding: 0; background: rgba(var(--ink),.18); cursor: pointer; transition: background .3s ease, width .3s ease; }
.ap-qs__dots button[aria-current="true"] { width: 30px; background: var(--acc-i); }
@media (prefers-reduced-motion: reduce) { .ap-qs__track { transition: none; } }

/* ─────────────────────────────────────────────────────────────────────────
   Pull quote. Ten byte-identical copies of this sit in the helmets of the
   Workspace app pages; this is the same rule set, promoted so the eleventh
   use (the Customers page) does not add an eleventh copy. The ten are left
   in place for now - they are identical, so they change nothing either way,
   and removing them is a separate verified sweep.
   `.ap-qs__track > .ap-quote` stays page-scoped: that belongs to the quote
   slider on the app pages, not to the quote itself.
   ───────────────────────────────────────────────────────────────────────── */
.ap-quote {
  border: 1px solid rgba(var(--ink),.08); border-radius: 22px;
  padding: clamp(30px,4vw,52px);
  display: grid; grid-template-columns: auto minmax(0,1fr);
  gap: clamp(20px,3vw,40px); align-items: center;
}
.ap-quote__mark { font-size: 72px; line-height: .7; font-weight: 500; color: rgba(var(--ink),.14); }
.ap-quote__t { font-size: clamp(18px,2vw,23px); line-height: 1.42; letter-spacing: -.022em; color: var(--t3); margin: 0 0 12px; }
.ap-quote__who { font-family: 'Inter Tight',sans-serif; font-size: 10.5px; letter-spacing: .13em; color: var(--t4); }
@media (max-width: 1000px) { .ap-quote { grid-template-columns: minmax(0,1fr); } }

/* ---- Accordion arrow — shared by every FAQ on the site ----
   Closed: points up-right. Open: turns a quarter to point down-right.
   Works with <details open>, [data-open] wrappers, and aria-expanded buttons. */
.acc-arrow {
  width: 20px; height: 20px; flex: none; margin-left: auto;
  display: grid; place-items: center; color: var(--t3);
  transition: transform .35s cubic-bezier(.22,1,.36,1), color .25s ease;
}
.acc-arrow svg { width: 18px; height: 18px; }
summary:hover .acc-arrow, button:hover > .acc-arrow { color: var(--text); }
details[open] > summary .acc-arrow,
[data-open] > button .acc-arrow,
[aria-expanded="true"] > .acc-arrow { transform: rotate(90deg); color: var(--text); }
@media (prefers-reduced-motion: reduce) { .acc-arrow { transition: none; } }


/* ==========================================================================
   Section rhythm — shared by every page.
   Equal padding top and bottom, no divider lines. Use a modifier for the
   legitimate exceptions rather than inline styles.
   ========================================================================== */
:root {
  --sec-y: clamp(64px, 7vw, 96px);        /* section padding, top and bottom */
  --sec-lead-gap: 48px;                   /* section title block to its content */
  --sec-row-gap: clamp(64px, 7vw, 96px);  /* between stacked rows inside a section */
}
.kl-section { position: relative; padding-block: var(--sec-y); border-top: 0; }
.kl-section--flush-top { padding-top: 0; }
.kl-section--flush-bottom { padding-bottom: 0; }
.kl-section--tight { padding-block: clamp(48px, 5vw, 64px); }
.kl-section--full { padding-block: 0; }
.kl-section--alt { background: var(--bg2); }
/* title block: owns only the gap to the content below it */
.kl-lead { margin: 0 0 var(--sec-lead-gap); max-width: 720px; }
.kl-lead--center { margin-inline: auto; text-align: center; }
/* stacked rows (capability blocks, alternating splits) */
.kl-rows > * + * { margin-top: var(--sec-row-gap); }

/* Bring the older global section classes onto the shared rhythm.
   Declared last so they win by cascade order, not by !important. */
.section,
.section--roomy,
.section--band,
.section--band-lg,
.section--band-tall,
.section--band-cta { padding-block: var(--sec-y); }
.section--tight,
.section--band-sm,
.section--band-xs { padding-block: clamp(48px, 5vw, 64px); }

/* closing band: no divider line, same rhythm as other sections */
.cta-band { border-top: 0; margin-top: 0; }

/* docs switcher (Help, Learn, Developer docs sidebars) */
.kx-switch { display: flex; flex-direction: column; gap: 2px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid rgba(var(--ink),.09); }
.kx-switch__k { font-family: 'Inter Tight',sans-serif; font-size: 9.5px; letter-spacing: .13em; color: var(--t4); padding: 0 10px 7px; }
.kx-switch__k--gap { padding-top: 14px; }
.kx-switch a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; font-weight: 400; color: var(--t3); text-decoration: none; transition: background .2s ease, color .2s ease; }
.kx-switch a:hover { background: rgba(var(--ink),.04); color: var(--text); }
.kx-switch a[data-on] { background: rgba(var(--ink),.06); color: var(--text); font-weight: 500; }
.kx-switch svg { width: 15px; height: 15px; flex: none; color: var(--t4); }
.kx-switch a[data-on] svg { color: var(--acc-i); }

.kx-search { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(var(--ink),.12); background: rgba(var(--ink),.03); margin: 0 0 22px; }
.kx-search:focus-within { border-color: rgba(129,140,248,.6); }
.kx-search svg { width: 15px; height: 15px; flex: none; color: var(--t4); }
.kx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0; font: inherit; font-size: 13px; color: var(--text); }

.kx-results__k { font-family: 'Inter Tight', monospace; font-size: 11px; color: var(--acc-i); letter-spacing: .14em; margin-bottom: 12px; }
.kx-results__list { display: flex; flex-direction: column; border-top: 1px solid rgba(var(--ink),.09); margin-top: 8px; }
.kx-results__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(var(--ink),.09); text-decoration: none; color: inherit; }
.kx-results__row b { display: block; font-weight: 500; font-size: 15px; color: var(--text); }
.kx-results__row small { display: block; margin-top: 4px; font-family: 'Inter Tight', sans-serif; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--t4); }
.kx-results__go { font-family: 'Inter Tight', sans-serif; font-size: 11px; letter-spacing: .08em; color: var(--t3); }
.kx-results__row:hover b { color: var(--acc-i); }

/* section title spacing (Klaro One pages): one gap between every section title and
   the content under it. The block that follows drops its own top margin so the gap is identical. */
:root { --title-gap: clamp(40px, 4.6vw, 64px); }
.f-center { text-align: center; margin-inline: auto; }
.f-center .f-sub { margin-inline: auto; }
.f-sec > .f-center { margin-bottom: var(--title-gap); }
.f-sec > .f-center + * { margin-top: 0 !important; }

/* scene size standard (Klaro One): every concept scene beside copy is the same size,
   592px max at a 1.12 ratio, sitting on the outer edge of its column. */
:root { --scene-w: 592px; --scene-r: 1.12; --split-cols: minmax(0,1fr) minmax(0,1.12fr); --split-gap: clamp(28px, 4.6vw, 76px); }
.ftabs__panel > .pp, .ftabs__panel .cx, .fma > .cx, .fmh2__art .cx, .fdeep__art > .cx { width: 100%; max-width: var(--scene-w); aspect-ratio: var(--scene-r); }
.ftabs__panel > .pp, .ftabs__panel .cx { margin-left: auto; }
@media (max-width: 1000px) { .ftabs__panel > .pp, .ftabs__panel .cx, .fma > .cx { margin-inline: auto; } }

/* touch: footer link hit area. Inline padding grows the tap box to ~25px without moving the layout. */
@media (pointer: coarse) { footer a { padding-block: 4px; } }

/* touch: text-button hit area. Padding with matching negative margin grows the tap box without moving anything. */
@media (pointer: coarse) { .button--text { padding-block: 8px; margin-block: -8px; } }

/* touch: breadcrumb hit area, same no-shift technique */
@media (pointer: coarse) { nav[aria-label="Breadcrumb"] a, nav[aria-label="breadcrumb"] a { padding-block: 6px; } }

/* corner arrow: standard button arrow. One arrow exits top-right while a second slides in from bottom-left on hover. */
.cta-arrow { position: relative; display: block; width: 20px; height: 20px; overflow: hidden; flex: none; }
.cta-arrow svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .42s cubic-bezier(.22,.61,.36,1); }
.cta-arrow svg:last-child { transform: translate(-110%, 110%); }
.button:hover .cta-arrow svg:first-child, .button:focus-visible .cta-arrow svg:first-child { transform: translate(110%, -110%); }
.button:hover .cta-arrow svg:last-child, .button:focus-visible .cta-arrow svg:last-child { transform: none; }
.button:has(> .cta-arrow) { display: inline-flex; align-items: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .cta-arrow svg { transition: none; } }

/* touch: phone links */
@media (pointer: coarse) { a[href^="tel:"] { display: inline-block; padding-block: 8px; margin-block: -8px; } }

/* card links: no underline (whole-card anchors inherit the browser default otherwise) */
a.fhi__cell, a.fhi__cell *, a.fmod, a.fmod *, a.fmo__i, a.fmo__i * { text-decoration: none; }
a.fhi__cell, a.fmod, a.fmo__i { color: inherit; }

/* touch: Plus service links */
@media (pointer: coarse) { .p-deep__go { padding-block: 10px; margin-block: 10px -10px; } }

/* Klaro Plus: tax and legal service lists (Corporate Services, Advisory) */
.p-svc__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,5vw,80px); align-items: start; }
.p-svc__lead { position: sticky; top: 112px; }
.p-svc__lead > p { font-size: 16px; line-height: 1.62; color: var(--t2); margin: 14px 0 0; max-width: 44ch; }
.p-svc__cta { margin-top: 28px; }
.p-svc__lead .p-svc__note { margin-top: 22px; font-size: 13px; line-height: 1.55; color: var(--t3); max-width: 46ch; }
.p-svc__list { list-style: none; margin: 0; padding: 0; }
.p-svc__list li { scroll-margin-top: 120px; }
.p-svc__list li + li { box-shadow: inset 0 1px 0 rgba(var(--ink),.08); }
.p-svc__row { display: grid; grid-template-columns: 40px minmax(0,1fr) 24px; gap: 18px; align-items: center; padding: 22px 6px; color: inherit; text-decoration: none; transition: background .3s ease, padding .35s cubic-bezier(.22,1,.36,1); border-radius: 14px; }
.p-svc__row:hover, .p-svc__row:focus-visible { background: rgba(var(--ink),.03); padding-inline: 14px; color: inherit; }
.p-svc__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #93c5fd; background: rgba(147,197,253,.08); box-shadow: inset 0 0 0 1px rgba(147,197,253,.18); }
.p-svc__ic svg { width: 19px; height: 19px; }
.p-svc__t b { display: block; font-size: 16.5px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.p-svc__t span { display: block; font-size: 14px; line-height: 1.5; color: var(--t2); text-wrap: pretty; }
.p-svc__go { width: 20px; height: 20px; color: var(--t3); opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1), color .3s; }
.p-svc__go svg { width: 100%; height: 100%; }
.p-svc__row:hover .p-svc__go, .p-svc__row:focus-visible .p-svc__go { opacity: 1; transform: none; color: var(--text); }
@media (hover: none) { .p-svc__go { opacity: .6; transform: none; } }
@media (max-width: 900px) { .p-svc__grid { grid-template-columns: minmax(0,1fr); } .p-svc__lead { position: static; } }
@media (max-width: 480px) { .p-svc__row { grid-template-columns: 36px minmax(0,1fr) 18px; gap: 14px; padding-block: 18px; } .p-svc__ic { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .p-svc__row, .p-svc__go { transition: none; } }

/* Mega-menu link with a one-line description (hub Products menu) */
.nav-link__d { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--t3); letter-spacing: 0; font-weight: 400; }
.nav-link:hover .nav-link__d { color: var(--t2); }
.menu-column__links:has(.nav-link__d) { gap: 6px; }
/* the corner arrow is drawn inline after the link text; with a block description it wrapped onto its own empty line, so pin it beside the label instead */
.kl-collinks a:has(.nav-link__d) { position: relative; padding-right: 28px; }
.kl-collinks a:has(.nav-link__d)::after { position: absolute; top: 6px; right: 6px; margin: 0; }
.menu-col-note { display: inline-block; margin-top: 14px; padding: 0 6px; font-size: 12px; color: var(--t4); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--ink),.2); }
.menu-col-note:hover { color: var(--text-primary); }

/* Klaro Care */
.eyebrow--care { color: #c4b5fd; }
.p-deep__go { margin-top: 22px; }
.c-soon { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.c-soon__i { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; text-decoration: none; color: inherit; background: rgba(var(--ink),.025); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); transition: background .3s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.c-soon__i:hover { background: rgba(var(--ink),.05); transform: translateY(-2px); color: inherit; }
.c-soon__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #c4b5fd; background: rgba(167,139,250,.08); box-shadow: inset 0 0 0 1px rgba(167,139,250,.2); margin-bottom: 8px; }
.c-soon__ic svg { width: 19px; height: 19px; }
.c-soon__chip { position: absolute; top: 22px; right: 22px; font-family: 'Inter Tight', sans-serif; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(var(--ink),.14); }
.c-soon__i b { font-size: 16.5px; font-weight: 500; color: var(--text); }
.c-soon__i p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--t2); text-wrap: pretty; }
@media (max-width: 900px) { .c-soon { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .c-soon { grid-template-columns: minmax(0,1fr); } }

/* Tiered mega menu (Klaro Care): categories on the left, plans and a promo card on the right */
/* scoped to the menu div: "kt" is also the trust section class on Klaro One */
div.kt { display: grid; grid-template-columns: 264px minmax(0,1fr); width: 100%; }
.kt__cats { display: flex; flex-direction: column; padding: 18px 12px 14px; border-right: 1px solid rgba(var(--ink),.07); background: rgba(var(--ink),.015); }
.kt__k { font-family: 'Inter Tight', sans-serif; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #c4b5fd; margin: 0 10px 8px; }
.kt__h { font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--text); margin: 0 8px 2px; }
.kt__p { font-size: 12px; line-height: 1.45; color: var(--t3); margin: 0 8px 10px; }
.kt__cat { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 8px; border-radius: 10px; color: var(--t2); text-decoration: none; transition: background .15s, color .15s; }
.kt__cat[data-on="true"] { background: rgba(var(--ink),.06); color: var(--text); }
.kt__ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: var(--t3); background: rgba(var(--ink),.04); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.kt__ic svg { width: 15px; height: 15px; }
/* isometric 3D icons, same set as the Care hero */
.kt__ic:has(.kt__iso) { width: 38px; height: 38px; background: none; box-shadow: none; }
.kt__iso { display: block; width: 38px; height: 38px; } .kt__iso svg { width: 100%; height: 100%; overflow: visible; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.kt__cat[data-on="true"] .kt__iso svg, .kt__cat:hover .kt__iso svg { transform: translateY(-2px); }
.kt__cat[data-on="true"] .kt__ic { color: #c4b5fd; background: rgba(167,139,250,.1); box-shadow: inset 0 0 0 1px rgba(167,139,250,.3); }
.kt__cl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.kt__cl b { font-size: 13.5px; font-weight: 500; line-height: 1.25; } .kt__cl em { font-style: normal; font-size: 11.5px; line-height: 1.3; color: var(--t4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kt__chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .35; flex: none; }
.kt__cat[data-on="true"] .kt__chev { opacity: .9; }
.kt__body { display: flex; flex-direction: column; padding: 24px 24px 0; min-width: 0; }
.kt__be { display: flex; align-items: center; gap: 8px; font-family: 'Inter Tight', sans-serif; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); }
.kt__be i { width: 6px; height: 6px; border-radius: 50%; background: #c4b5fd; }
.kt__bh { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.01em; color: var(--text); margin: 8px 0 18px; max-width: 46ch; text-wrap: pretty; }
.kt__grid { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 20px; align-items: start; }
.kt__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 14px; }
.kt__pl { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border-radius: 10px; color: var(--t2); text-decoration: none; transition: background .15s; }
.kt__pl:hover { background: rgba(var(--ink),.05); color: var(--text); }
.kt__pb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .kt__pb b { font-size: 14px; font-weight: 500; color: var(--text); } .kt__pb em { font-style: normal; font-size: 12px; line-height: 1.4; color: var(--t3); }
.kt__pa { width: 12px; height: 12px; flex: none; margin-top: 3px; opacity: 0; transition: opacity .15s, transform .2s; background: linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%) center / 100% 100% no-repeat; clip-path: polygon(0 100%, 100% 0, 100% 70%, 30% 0, 100% 0); }
.kt__pl:hover .kt__pa { opacity: .8; }
.kt__promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; text-decoration: none; color: var(--text); background: linear-gradient(160deg, rgba(139,92,246,.22), rgba(99,102,241,.08) 60%, rgba(var(--ink),.02)); box-shadow: inset 0 0 0 1px rgba(167,139,250,.25); transition: box-shadow .2s; }
.kt__promo:hover { box-shadow: inset 0 0 0 1px rgba(167,139,250,.5); color: var(--text); }
.kt__pk { font-family: 'Inter Tight', sans-serif; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #c4b5fd; }
.kt__promo b { font-size: 15.5px; font-weight: 500; line-height: 1.3; } .kt__pd { font-size: 12.5px; line-height: 1.5; color: var(--t2); } .kt__pc { margin-top: 8px; font-size: 13px; font-weight: 500; }
@media (max-width: 1100px) { div.kt { grid-template-columns: 236px minmax(0,1fr); } .kt__grid { grid-template-columns: minmax(0,1fr); } .kt__promo { display: none; } }
.kt__browse { margin: auto 8px 0; padding-top: 12px; font-size: 13px; font-weight: 500; color: var(--text-secondary); text-decoration: none; }
.kt__browse:hover { color: var(--text-primary); }
.kt__body { padding-bottom: 22px; }
/* one left edge for the right pane: eyebrow, headline and product text all start where the list text starts (10px item padding) */
.kt__body .menu-column__title { padding-left: 10px; text-transform: uppercase; }
.kt__bh { padding-left: 10px; }
.kt__foot { margin: 0; }

/* Klaro Care insurance page template */
.cp-hero { padding-block: clamp(112px,11vw,150px) clamp(40px,4vw,64px); position: relative; overflow: hidden; }
.cp-hero .ch__glow { display: none; position: absolute; left: 50%; top: 36%; width: min(1100px,120%); height: 600px; transform: translate(-50%,-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(139,92,246,.26), rgba(99,102,241,.1) 55%, transparent 75%); filter: blur(30px); pointer-events: none; }
.cp-hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cp-h { margin: 14px 0 14px; text-wrap: balance; }
.cp-hero .cp-sub { font-size: 17px; line-height: 1.6; letter-spacing: -.025em; max-width: 52ch; margin: 0 auto; }
.cp-card { width: min(760px,100%); margin-top: clamp(26px,3vw,40px); padding: clamp(16px,2.2vw,24px); border-radius: 22px; box-sizing: border-box; text-align: left; background: rgba(14,12,22,.72); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 36px 80px rgba(0,0,0,.38); }
html[data-theme="light"] .cp-card { background: rgba(255,255,255,.86); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08), 0 26px 60px rgba(30,20,60,.12); }
.cp-start { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 12px; align-items: end; }
.cp-start label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--t3); min-width: 0; }
.cp-start__wide { grid-column: span 2; }
.cp-start input, .cp-start select { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(var(--ink),.12); background: rgba(var(--ink),.04); color: var(--text); font: 400 15px/1.4 'Inter', sans-serif; }
.cp-start input:focus, .cp-start select:focus { outline: none; border-color: rgba(167,139,250,.6); }
/* custom chevron instead of the browser's default arrow, with room so text never runs under it */
.cp-start select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 42px; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
.cp-start select:hover { border-color: rgba(var(--ink),.22); }
.cp-start select::-ms-expand { display: none; }
.cp-start select option { background: var(--panel); color: var(--text); }
html[data-theme="light"] .cp-start select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.cp-start .button { min-height: 48px; white-space: nowrap; }
.cp-start--btn { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cp-start__alt { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--t2); }
.cp-card__note { margin: 14px 0 0; font-size: 12px; color: var(--t4); }
.cp-hero .p-claims { margin-top: clamp(32px,4vw,52px); }
.cp-hero .p-claim__ico, .cp-hero .p-claim__k { color: var(--text); }
/* the page's own .p-lead sets margin: 0 and loads after this file, which pushed every lead to the left; doubling the class wins without !important */
.cp-lead, .p-lead.cp-lead { text-align: center; margin-inline: auto; }
.p-lead.cp-lead .heading-section, .p-lead.cp-lead p { margin-inline: auto; text-wrap: balance; }
.cp-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cp-who__i { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; text-decoration: none; color: inherit; background: rgba(var(--ink),.025); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); transition: background .25s, transform .3s, box-shadow .25s; }
.cp-who__i:hover { background: rgba(var(--ink),.05); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(167,139,250,.35); color: inherit; }
.cp-who__i b { font-size: 17px; font-weight: 500; color: var(--text); } .cp-who__i span { font-size: 14px; line-height: 1.5; color: var(--t2); } .cp-who__i em { margin-top: auto; padding-top: 10px; font-style: normal; font-size: 13px; color: var(--t3); }
.cp-cov, .cp-docs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.cp-cov__col, .cp-docs__col { padding: 24px; border-radius: 20px; background: rgba(var(--ink),.025); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.cp-cov__k { font-family: 'Inter Tight', sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); margin-bottom: 14px; }
.cp-cov ul, .cp-docs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cp-cov li, .cp-docs li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--t2); }
.cp-cov li svg, .cp-docs li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.cp-cov__col--yes svg { color: #86efac; } .cp-cov__col--no svg { color: #fca5a5; } .cp-docs svg { color: #c4b5fd; }
.cp-fine { margin: 16px 4px 0; font-size: 12.5px; color: var(--t4); text-align: center; }
.cp-cmp { border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.cp-cmp__row { display: grid; grid-template-columns: minmax(140px,1.1fr) repeat(var(--cols), minmax(0,1fr)); gap: 12px; padding: 14px 20px; align-items: center; }
.cp-cmp__row + .cp-cmp__row { box-shadow: inset 0 1px 0 rgba(var(--ink),.07); }
.cp-cmp__row--head { background: rgba(var(--ink),.04); } .cp-cmp__row--head b { font-size: 14px; font-weight: 500; color: var(--text); }
.cp-cmp__row span { font-size: 13.5px; color: var(--t3); } .cp-cmp__row em { font-style: normal; font-size: 14px; color: var(--t2); }
.cp-add { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.cp-add__i { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: rgba(var(--ink),.025); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.cp-add__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 8px; color: #c4b5fd; background: rgba(167,139,250,.1); } .cp-add__ic svg { width: 14px; height: 14px; }
.cp-add__i b { font-size: 15.5px; font-weight: 500; color: var(--text); } .cp-add__i span { font-size: 13.5px; line-height: 1.5; color: var(--t2); }
.cp-calc { max-width: 760px; margin: 0 auto; padding: clamp(22px,3vw,34px); border-radius: 22px; text-align: center; background: linear-gradient(160deg, rgba(139,92,246,.16), rgba(99,102,241,.05) 60%, rgba(var(--ink),.02)); box-shadow: inset 0 0 0 1px rgba(167,139,250,.22); }
.cp-calc__q { font-size: 17px; font-weight: 500; color: var(--text); margin-bottom: 16px; }
.cp-calc__opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cp-calc__o { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--text); background: rgba(var(--ink),.05); box-shadow: inset 0 0 0 1px rgba(var(--ink),.12); transition: box-shadow .2s, background .2s; }
.cp-calc__o:hover { color: var(--text); background: rgba(167,139,250,.1); box-shadow: inset 0 0 0 1px rgba(167,139,250,.5); }
.cp-calc__n { margin: 16px 0 0; font-size: 12.5px; color: var(--t3); }
.cp-chk { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; border-radius: 20px; overflow: hidden; background: rgba(var(--ink),.08); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.cp-chk__i { display: flex; flex-direction: column; gap: 4px; padding: 22px; background: var(--bg); }
.cp-chk__n { font-family: 'Inter Tight', sans-serif; font-size: 11px; letter-spacing: .1em; color: #c4b5fd; margin-bottom: 6px; }
.cp-chk__i b { font-size: 15.5px; font-weight: 500; color: var(--text); } .cp-chk__i span { font-size: 13.5px; line-height: 1.5; color: var(--t2); }
.cp-clm { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; counter-reset: s; }
.cp-clm__s { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 18px; background: rgba(var(--ink),.025); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.cp-clm__s i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 600; color: #0b0a10; background: #c4b5fd; margin-bottom: 8px; }
.cp-clm__s b { font-size: 15.5px; font-weight: 500; color: var(--text); } .cp-clm__s span { font-size: 13.5px; line-height: 1.5; color: var(--t2); }
.cp-rel { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cp-rel a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; text-decoration: none; font-size: 14.5px; color: var(--t2); background: rgba(var(--ink),.03); box-shadow: inset 0 0 0 1px rgba(var(--ink),.09); transition: color .2s, background .2s; }
.cp-rel a:hover { color: var(--text); background: rgba(var(--ink),.06); }
/* Care FAQ uses the same accordion as the Contact page */
/* ─────────────────────────────────────────────────────────────────────────
   FAQ accordion - ONE component, many historical class names.
   
   Nineteen near-identical copies of this had drifted apart across the site:
   five container widths (760/780/820/860/64ch), three question sizes, two
   question weights, two answer sizes, two answer colours, two divider
   techniques and two open/close mechanisms. The selector list below is
   deliberately long so that no page markup had to change - each page keeps the
   class it already had, and they now all resolve to these rules.
   Delete a name from this list only when no page uses it any more.

   Two shapes share these rules: <details>/<summary>, and a <button> plus a
   [data-open] wrapper. Both are styled here, including the wrapper that opens
   and shuts - see the note on .faq__body below for why that matters.
   
   The arrow is .acc-arrow (above), shared already, flush right via
   margin-left:auto - which is why `justify-content: space-between` appeared in
   some copies and not others without ever making a visible difference.
   
   Convention: exactly one item carries `open`. Nothing closes siblings, so a
   reader can have several expanded at once.
   ───────────────────────────────────────────────────────────────────────── */
.cp-faq, .ka-faq, .en-faq, .ind-faq, .ct-faq, .a-faq, .ap-faq,
.hfaq, .hfaq__list, .mfaq__list, .pa-faq, .pt-faq, .faq,
.sz-faq, .sec-faq, .ffaq__list {
  max-width: 860px; margin-inline: auto;
  border-top: 1px solid rgba(var(--ink),.12);
}
.cp-q, .ct-q, .sec-q, .fmq__i, .faq__item, .sz-faq__item, .ffaq__item,
.ka-faq details, .en-faq details, .ind-faq details, .a-faq details,
.ap-faq details, .hfaq details, .mfaq__list details, .pa-faq details,
.pt-faq details, .cp-faq details, .ct-faq details {
  border-bottom: 1px solid rgba(var(--ink),.08);
  /* one copy used an inset box-shadow for the same hairline; normalise it so a
     divider never renders at a different weight from the rest of the site */
  box-shadow: none;
}
.cp-q > summary, .ct-q > summary, .sec-q > summary, .fmq__i > summary,
.ka-faq summary, .en-faq summary, .ind-faq summary, .a-faq summary,
.ap-faq summary, .hfaq summary, .mfaq__list summary, .pa-faq summary,
.pt-faq summary, .cp-faq summary, .ct-faq summary,
.faq__btn, .sz-faq__btn, .ffaq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0;
  font-size: 16px; font-weight: 500; letter-spacing: -.015em;
  color: var(--t2); transition: color .25s ease;
}
/* The three button-based copies were <button>s, so they also need the element
   reset that a <summary> does not: full width, no chrome, left-aligned, and
   the site font rather than the UA's form-control font. */
.faq__btn, .sz-faq__btn, .ffaq__q {
  width: 100%; background: none; border: 0;
  text-align: left; font-family: 'Inter', sans-serif;
}
.faq__q, .sz-faq__q { flex: 1; letter-spacing: -.015em; }
/* Collapse mechanism for the button-based copies. This lives here because the
   canonical rules above style the question and the answer but not the wrapper
   that actually opens and shuts - leaving it to the page meant a page without
   it rendered every answer permanently expanded while aria-expanded still
   reported "false". Grid 0fr->1fr animates to the answer's own height, so
   nothing is clipped; one copy used `max-height: 260px`, which silently cut
   off any answer taller than that. */
.faq__body, .sz-faq__body, .ffaq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .34s cubic-bezier(.22,.61,.36,1);
}
.faq__item[data-open] .faq__body,
.sz-faq__item[data-open] .sz-faq__body,
.ffaq__item[data-open] .ffaq__a { grid-template-rows: 1fr; }
.faq__inner, .sz-faq__inner, .ffaq__inner { overflow: hidden; }
.faq__btn:hover, .sz-faq__btn:hover, .ffaq__q:hover,
.faq__item[data-open] .faq__btn,
.sz-faq__item[data-open] .sz-faq__btn,
.ffaq__item[data-open] .ffaq__q { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .faq__body, .sz-faq__body, .ffaq__a { transition: none; }
}
.cp-q > summary::-webkit-details-marker, .ct-q > summary::-webkit-details-marker,
.sec-q > summary::-webkit-details-marker, .fmq__i > summary::-webkit-details-marker,
.ka-faq summary::-webkit-details-marker, .en-faq summary::-webkit-details-marker,
.ind-faq summary::-webkit-details-marker, .a-faq summary::-webkit-details-marker,
.ap-faq summary::-webkit-details-marker, .hfaq summary::-webkit-details-marker,
.mfaq__list summary::-webkit-details-marker, .pa-faq summary::-webkit-details-marker,
.pt-faq summary::-webkit-details-marker, .cp-faq summary::-webkit-details-marker,
.ct-faq summary::-webkit-details-marker { display: none; }
summary:hover, .faq__btn:hover { color: var(--text); }
details[open] > summary { color: var(--text); }
/* The answer. --t2, never --t3: one copy used --t3, which measures 4.35:1 on
   the page background and fails WCAG AA for body text, where --t2 is 8.19:1. */
.cp-q p, .ct-q p, .sec-q p, .fmq__i p,
.ka-faq p, .en-faq p, .ind-faq p, .a-faq p, .ap-faq p,
.hfaq p, .hfaq__list p, .mfaq__list p, .pa-faq p, .pt-faq p,
.cp-faq p, .ct-faq p, .faq__a, .sz-faq__a, .ffaq__a p {
  margin: 0 0 20px;
  font-size: 14.5px; line-height: 1.65;
  color: var(--t2); max-width: 64ch;
}
.cp-end { position: relative; overflow: hidden; margin-top: clamp(76px,9vw,120px); padding-block: 88px; }
.cp-end__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.cp-disc { margin: 28px auto 0; max-width: 72ch; font-size: 12px; line-height: 1.6; color: var(--t4); }
@media (max-width: 900px) { .cp-start { grid-template-columns: minmax(0,1fr); } .cp-start__wide { grid-column: auto; } .cp-add, .cp-chk { grid-template-columns: repeat(2, minmax(0,1fr)); } .cp-clm { grid-template-columns: repeat(2, minmax(0,1fr)); } .cp-cmp { overflow-x: auto; } .cp-cmp__row { min-width: 620px; } }
@media (max-width: 560px) { .cp-cov, .cp-docs, .cp-add, .cp-chk, .cp-clm { grid-template-columns: minmax(0,1fr); } }

/* Care hero USPs: same icon-circle style as the Klaro AI hero */
.ch-usps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(20px,2.6vw,40px); max-width: 940px; width: 100%; margin: clamp(28px,3.4vw,44px) auto 0; }
.ch-usps .ask__usp { text-align: center; }
.ch-usps .split-feature__icon { width: 44px; height: 44px; margin: 0 auto 16px; }
.ch-usps .split-feature__icon svg { width: 19px; height: 19px; }
.ch-usps .split-feature__title { display: block; margin-bottom: 8px; }
.ch-usps .split-feature__text { max-width: 26ch; margin-inline: auto; text-wrap: balance; }
@media (max-width: 640px) { .ch-usps { grid-template-columns: minmax(0,1fr); } }

/* Care accents in light theme: the light purple is too faint on white */
html[data-theme="light"] .eyebrow--care, html[data-theme="light"] .kt__k, html[data-theme="light"] .cp-chk__n, html[data-theme="light"] .kt__ph, html[data-theme="light"] .kt__pk { color: #6d28d9; }
html[data-theme="light"] .kt__cat[data-on="true"] .kt__ic, html[data-theme="light"] .cp-add__ic, html[data-theme="light"] .ca__ic, html[data-theme="light"] .c-soon__ic, html[data-theme="light"] .cp-docs svg { color: #6d28d9; }

/* Secondary site footer: entity, site links, legal and disclosures for the site being viewed */
/* Secondary footer: a full-width band under the main footer, one per site */
/* -------- footer: elements that used to carry inline declarations -------- */
.kf2-root { position:relative; isolation:isolate; border-top:1px solid rgba(var(--ink),.08); background:var(--bg); font-family:'Inter',sans-serif; color:var(--text); overflow:hidden; }
.kf2-glow { position:absolute; inset:0; z-index:0; pointer-events:none; background:var(--foot-grad); }
.kf2-row1 { position:relative; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding-bottom:34px; border-bottom:1px solid rgba(var(--ink),.08); }

.kf2-ask { display:inline-flex; align-items:center; gap:11px; text-decoration:none; color:var(--text); transition:opacity .15s; }
.kf2-ask__icon { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:10px; background:linear-gradient(135deg, rgba(99,102,241,.18), rgba(255,218,192,.12)); border:1px solid rgba(var(--ink),.1); }
.kf2-ask__txt { display:flex; flex-direction:column; line-height:1.25; }
.kf2-ask__t { font-size:15px; font-weight:600; letter-spacing:-.02em; }

.kf2-prefs { position:relative; display:flex; align-items:center; gap:6px; }
.kf2-pref { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:0; background:none; cursor:pointer; color:var(--t2); font-family:inherit; font-size:13.5px; border-radius:9px; transition:background .15s, color .15s; }
.kf2-div { width:1px; height:16px; background:rgba(var(--ink),.12); }
.kf2-div--sm { width:1px; height:13px; background:rgba(var(--ink),.12); }

.kf2-sheet { position:absolute; top:calc(100% + 10px); right:0; z-index:30; padding:7px; border-radius:14px; background:rgba(var(--navrgb),.82); backdrop-filter:blur(26px) saturate(150%); -webkit-backdrop-filter:blur(26px) saturate(150%); border:1px solid rgba(var(--ink),.1); box-shadow:var(--sh-xl, 0 16px 44px rgba(0,0,0,.4)); animation:klSheetIn .22s cubic-bezier(.16,1,.3,1) both; }
.kf2-sheet--country { width:230px; }
.kf2-sheet--lang { width:190px; }
.kf2-sheet__h { font-size:10.5px; font-family:'Inter Tight',monospace; letter-spacing:.1em; color:var(--t4); padding:8px 10px 6px; }
.kf2-sheet__opt { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:9px 10px; border:0; background:none; cursor:pointer; color:var(--text); font-family:inherit; font-size:13.5px; border-radius:9px; transition:background .14s; }
.kf2-sheet__name { display:flex; align-items:center; gap:9px; }
.kf2-sheet__flag { font-size:15px; }

.kf2-cols { position:relative; z-index:2; display:grid; grid-template-columns:repeat(6, 1fr); gap:30px 26px; padding:44px 0 48px; }
.kf2-colt { font-size:12.5px; font-weight:600; color:var(--text); letter-spacing:-.01em; margin-bottom:15px; }
.kf2-collist { display:flex; flex-direction:column; gap:12px; }
.kf2-collink { font-size:13.5px; }

.kf2-giant { position:relative; z-index:1; padding:18px clamp(16px,3vw,44px) 0; margin-bottom:-0.4%; user-select:none; filter:var(--logo-invert); }
/* opacity and transform are the start of a scroll animation the footer script
   drives; it sets them inline as it runs, which is what overrides these. */
.kf2-giant__img { display:block; width:100%; height:auto; opacity:0; transform:translateY(32px); will-change:opacity,transform; -webkit-mask-image:linear-gradient(to bottom, #000 0%, transparent 85%); mask-image:linear-gradient(to bottom, #000 0%, transparent 85%); }

.kf2-copy__l { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.kf2-copy__c { font-size:13px; color:var(--t2); }
.kf2-copy__links { display:flex; gap:18px; font-size:13px; }
.kf2-copy__link { font-size:13px; }
.kf2-social { display:flex; gap:8px; }
.kf2-soc { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:8px; border:1px solid rgba(var(--ink),.14); color:var(--t2); transition:background .15s, color .15s, border-color .15s; }

.kf2-band { position: relative; z-index: 1; box-shadow: inset 0 -1px 0 rgba(var(--ink), .08); }
.kf2-end { position: relative; z-index: 1; }
/* The three footer bands and the page above them must share one left edge.
   They did not: the page container is 1240 border-box, this band was 1200
   border-box, and the two rows below were 1200 CONTENT-box (so 1256 wide).
   Centred, that put the page text at one x, the main footer 8px left of it
   and this band 20px right of it. All three now take the container tokens,
   which also keeps the gutter in step at the 640px breakpoint - this band
   used to hold 28px down to 520px while the page had already gone to 20. */
.kf2, .kf2-wrap, .kf2-copy {
  width: 100%; max-width: var(--container-width); margin-inline: auto;
  padding-inline: var(--container-gutter); box-sizing: border-box;
}
.kf2 { padding-block: clamp(36px, 4vw, 52px) 28px; }
.kf2-wrap { position: relative; z-index: 1; padding-block: 40px 0; }
.kf2-copy { padding-block: 22px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
  box-shadow: inset 0 1px 0 rgba(var(--ink), .07); }
.kf2__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 32px 48px; padding: 0 0 28px; box-shadow: inset 0 -1px 0 rgba(var(--ink), .07); }
.kf2__eb, .kf2__ct { font-family: 'Inter Tight', sans-serif; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--t4); }
.kf2__eb { color: #c4b5fd; margin-bottom: 10px; }
html[data-theme="light"] .kf2__eb { color: #6d28d9; }
.kf2__en { margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--text); }
.kf2__meta { margin: 0 0 4px; font-size: 12.5px; line-height: 1.5; color: var(--t3); }
.kf2__mail { display: inline-block; margin-top: 10px; font-size: 12.5px; }
.kf2__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kf2__col { display: flex; flex-direction: column; gap: 9px; } .kf2__col .kf2__ct { margin-bottom: 4px; }
.kf2__col a { font-size: 13.5px; }
.kf2__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 22px 0 0; font-size: 13px; }
.kf2__all { color: var(--text); }
.kf2__disc { padding: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.kf2__disc p { margin: 0; max-width: 110ch; font-size: 12px; line-height: 1.6; color: var(--t3); }
@media (max-width: 860px) { .kf2__top { grid-template-columns: minmax(0, 1fr); padding: 0 0 22px; } }
@media (max-width: 520px) { .kf2__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (pointer: coarse) { .kf2 a { padding-block: 4px; } }

/* light mode: video heroes on the industry pages. Thicker white veil so dark text stays readable over bright footage. */
html[data-theme="light"] .hh__veil { background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--panelrgb), .78) 26%, rgba(var(--panelrgb), .78) 66%, var(--bg) 100%), radial-gradient(120% 88% at 50% 42%, rgba(var(--panelrgb), 0) 24%, var(--bg) 88%); }

/* Care: IRDAI broker registration shown where people decide */
.irdai { display: inline-flex; align-items: flex-start; gap: 7px; margin-top: 12px; font-size: 11.5px; line-height: 1.45; color: var(--t3); text-decoration: none; }
.irdai svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #a78bfa; }
.irdai:hover { color: var(--text); }
html[data-theme="light"] .irdai svg { color: #6d28d9; }
.ch__next { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--t2); }

/* Care product pages: breadcrumb above the hero eyebrow */
.cbc { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin: 0 auto 18px; font-family: 'Inter Tight', sans-serif; font-size: 12.5px; color: var(--t3); }
.cbc a { color: var(--t3); text-decoration: none; transition: color .2s ease; }
.cbc a:hover { color: var(--text); }
.cbc [aria-current] { color: var(--t2); }
.cbc > span[aria-hidden] { color: var(--t4); }
.cbc__back { display: none; }
@media (max-width: 600px) {
  .cbc > *:not(.cbc__all) { display: none; }
  .cbc__back { display: inline; }
}

/* cp-chk: four items */
/* four items get four columns, so none is left alone on a second row */
.cp-chk:has(> .cp-chk__i:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .cp-chk:has(> .cp-chk__i:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .cp-chk:has(> .cp-chk__i:nth-child(4):last-child) { grid-template-columns: minmax(0,1fr); } }
/* any other count that leaves a hole: let the last item fill the row */
.cp-chk > .cp-chk__i:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.cp-chk:has(> .cp-chk__i:nth-child(4):last-child) > .cp-chk__i:last-child { grid-column: auto; }

/* Care product hero (chx): copy, cut-out photo and quote card */
.p-hero.chx-hero { text-align: left; padding-bottom: clamp(40px, 5vw, 72px); }
.p-hero.chx-hero .chx__copy, .p-hero.chx-hero .chx__card, .p-hero.chx-hero .eyebrow { text-align: left; }
.p-hero.chx-hero .chx__go { text-align: center; }
.p-hero.chx-hero .cbc { justify-content: flex-start; margin: 0 0 clamp(20px, 2.4vw, 32px); }
.chx { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(320px, .95fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.chx__copy { position: relative; z-index: 2; min-width: 0; }
.chx__h { margin: 14px 0 14px; text-align: left; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.04; text-wrap: balance; }
.chx__sub { margin: 0 0 22px; max-width: 44ch; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: var(--t2); text-wrap: pretty; }
.chx__pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.chx__pts li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14.5px; color: var(--text); background: rgba(var(--ink), .04); box-shadow: inset 0 0 0 1px rgba(var(--ink), .08); }
.chx__pts svg { width: 15px; height: 15px; flex: none; color: #a78bfa; }
html[data-theme="light"] .chx__pts svg { color: #6d28d9; }
.chx__art { position: relative; align-self: stretch; min-height: 420px; display: flex; align-items: flex-end; justify-content: center; }
.chx__ring { display: none; }
.chx__art image-slot { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 420px; }
.chx__card { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.2vw, 28px); border-radius: 24px; background: rgba(14,12,22,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 30px 70px rgba(0,0,0,.35); }
html[data-theme="light"] .chx__card { background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08), 0 26px 60px rgba(30,20,60,.12); }
.chx__ct { margin: 0 0 4px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.chx__fields { display: flex; flex-direction: column; gap: 12px; }
.chx__f { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--t3); }
.chx__f input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(var(--ink),.12); background: rgba(var(--ink),.04); color: var(--text); font: 400 15px/1.4 'Inter', sans-serif; }
.chx__f input:focus { outline: none; border-color: rgba(167,139,250,.6); }
.chx__seg { display: flex; padding: 4px; border-radius: 999px; background: rgba(var(--ink),.05); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.chx__seg label { flex: 1; position: relative; }
.chx__seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chx__seg span { display: block; text-align: center; padding: 10px 12px; border-radius: 999px; font-size: 14px; color: var(--t2); transition: background .2s ease, color .2s ease; }
.chx__seg input:checked + span { background: var(--btn-bg, #fff); color: var(--btn-text, #0b0a10); }
.chx__seg input:focus-visible + span { outline: 2px solid #a78bfa; outline-offset: 2px; }
.chx__ok { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--t2); }
.chx__ok input { margin-top: 2px; accent-color: #8b5cf6; }
.chx__err { margin: 0; font-size: 13px; color: #fca5a5; } html[data-theme="light"] .chx__err { color: #b91c1c; }
.chx__go { justify-content: center; min-height: 50px; }
.chx__card .irdai { margin-top: 0; }
@media (max-width: 1100px) {
  .chx { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
  .chx__art { display: none; }
}
@media (max-width: 760px) {
  .chx { grid-template-columns: minmax(0, 1fr); }
  .chx__art { display: none; }
}

/* Care product hero photo: sits on the purple ring, anchored to the bottom */
.chx__img { position: relative; z-index: 1; display: block; width: 100%; max-width: 380px; height: auto; max-height: 520px; object-fit: contain; object-position: bottom center; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }

/* Care product hero, two columns: copy + short form on the left, photo on the right */
.chx { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); }
.chx__art { min-height: 460px; }
.chx__form { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 26px; max-width: 560px; }
.chx__form .chx__fields { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.chx__form .chx__seg { flex: 1 1 100%; max-width: 360px; }
.chx__form .chx__f { flex: 1 1 200px; min-width: 0; }
.chx__form .chx__go { flex: 0 0 auto; min-height: 48px; }
.chx__form .chx__ok { font-size: 12px; }
.chx__form .irdai { margin-top: 0; }
@media (max-width: 1100px) { .chx { grid-template-columns: minmax(0, 1fr); } .chx__form { max-width: 620px; } }
@media (max-width: 520px) { .chx__form .chx__go { flex: 1 1 100%; } }

/* Care product hero: larger photo standing on the section's bottom edge */
.p-hero.chx-hero { position: relative; overflow: hidden; padding-bottom: 0; }
.chx { align-items: stretch; }
.chx__copy { align-self: center; padding-bottom: clamp(40px, 5vw, 72px); }
.chx__art { align-self: end; min-height: clamp(480px, 46vw, 640px); margin-right: calc(-1 * clamp(0px, 3vw, 48px)); }
.chx__img { max-width: none; width: min(110%, 620px); max-height: clamp(480px, 46vw, 640px); margin: 0 auto -1px; }
@media (max-width: 1100px) { .chx__copy { padding-bottom: clamp(40px, 6vw, 64px); } }

/* Care product hero: one tint per category, all in the purple family, fading into the page */
.chx-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: 0; pointer-events: none; background: radial-gradient(70% 90% at 72% 18%, var(--chx-a), transparent 70%), linear-gradient(180deg, var(--chx-b) 0%, transparent 92%); }
.chx-hero > .container { position: relative; z-index: 1; }
/* category colours (hero wash only; buttons and accents stay purple) */
.chx-hero--health { --chx-a: rgba(251,146,60,.22);  --chx-b: rgba(124,45,18,.10); }
.chx-hero--term   { --chx-a: rgba(99,102,241,.30);  --chx-b: rgba(49,46,129,.12); }
.chx-hero--motor  { --chx-a: rgba(59,130,246,.22);  --chx-b: rgba(30,58,138,.12); }
.chx-hero--travel { --chx-a: rgba(56,189,248,.22);  --chx-b: rgba(12,74,110,.12); }
.chx-hero--other  { --chx-a: rgba(245,158,11,.20);  --chx-b: rgba(120,53,15,.10); }
.chx-hero--biz    { --chx-a: rgba(100,116,139,.22); --chx-b: rgba(30,41,59,.12); }
html[data-theme="light"] .chx-hero--health { --chx-a: #FFEDD5; --chx-b: #FFF7ED; }
html[data-theme="light"] .chx-hero--term   { --chx-a: #E0E7FF; --chx-b: #EEF2FF; }
html[data-theme="light"] .chx-hero--motor  { --chx-a: #DBEAFE; --chx-b: #EFF6FF; }
html[data-theme="light"] .chx-hero--travel { --chx-a: #E0F2FE; --chx-b: #F0F9FF; }
html[data-theme="light"] .chx-hero--other  { --chx-a: #FEF3C7; --chx-b: #FFFBEB; }
html[data-theme="light"] .chx-hero--biz    { --chx-a: #E2E8F0; --chx-b: #F8FAFC; }
.chx-hero .ch__glow { display: none; }

/* light mode: body weight 400 (dark text on white loses weight at 300), and normal smoothing so strokes keep their weight */
html[data-theme="light"] { --font-weight-body: 400; }
html[data-theme="light"] body { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }

/* light: white cards instead of grey tint. The faint ink tint lifts nicely on dark, but reads as dull grey on an off-white page. */
html[data-theme="light"] .cp-add__i,
html[data-theme="light"] .cp-clm__s,
html[data-theme="light"] .cp-docs__col,
html[data-theme="light"] .cp-cov__col,
html[data-theme="light"] .cp-rel a,
html[data-theme="light"] .cbz__c,
html[data-theme="light"] .ct__c,
html[data-theme="light"] .cac__c,
html[data-theme="light"] .hwc__c { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(var(--ink),.07), 0 1px 2px rgba(20,20,40,.04), 0 8px 24px rgba(20,20,40,.04); }
html[data-theme="light"] .cp-rel a:hover,
html[data-theme="light"] .cac__c:hover,
html[data-theme="light"] .hwc__c:hover { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(109,40,217,.22), 0 2px 4px rgba(20,20,40,.05), 0 16px 36px rgba(20,20,40,.08); }
html[data-theme="light"] .cp-chk { background: rgba(var(--ink),.07); box-shadow: inset 0 0 0 1px rgba(var(--ink),.07), 0 8px 24px rgba(20,20,40,.04); }
html[data-theme="light"] .cp-chk__i { background: var(--panel); }
html[data-theme="light"] .cp-clm__s i { background: #ede9fe; color: #5b21b6; }

/* light: white cards on Money and Plus (section cards only, not the rows inside product mocks) */
html[data-theme="light"] .ftile, html[data-theme="light"] .ftwo__cell, html[data-theme="light"] .fhi__cell, html[data-theme="light"] .fcalc { background: var(--panel); box-shadow: 0 1px 2px rgba(20,20,40,.04), 0 8px 24px rgba(20,20,40,.04); }
html[data-theme="light"] .p-card, html[data-theme="light"] .p-cell { background: var(--panel); box-shadow: 0 1px 2px rgba(20,20,40,.04), 0 8px 24px rgba(20,20,40,.04); }

/* light: white cards on Hub, Workspace and One. Section cards only; rows, chips and bars inside product mocks stay grey. */
html[data-theme="light"] :is(.ka-cell, .ka-card, .cs-card, .kcg__i, .ind-step, .ind-plan, .ab-svc__cell, .ab-plan, .a-cell, .nr-card, .rs-card, .cs-q, .dv-prod, .e-cell, .en-prod, .hc-lib__cell, .hc-esc__cell, .kh-card, .kh-tc, .kh-help, .ofx-plan, .pt-form, .eco__card, .swap__cell, .bento__cell, .flow__step, .ap-plan, .vs, .imp__card, .start__cell, .fusp__c) { background: var(--panel); box-shadow: 0 1px 2px rgba(20,20,40,.04), 0 8px 24px rgba(20,20,40,.04); }
/* The two invitation cards keep their tint in light mode: they are deliberately
   not neutral panels, and the rule above would otherwise flatten them to white. */
html[data-theme="light"] :is(.cs-join, .ka-card--join) { background: linear-gradient(180deg, rgba(124,92,246,.07), transparent 62%); }
html[data-theme="light"] :is(.dl-panel, .lc__ent, .lc__doc, .lc__coi, .mk-fc, .mk-step, .wyg__i, .pl2__c, .one-plan, .pa-card, .fmo__i, .fmw__i, .fmt__i, .fx-group) { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(var(--ink),.07), 0 1px 2px rgba(20,20,40,.04), 0 8px 24px rgba(20,20,40,.04); }

/* light: outline buttons white, not grey. A grey tint reads as a flat slab on a light page. */
html[data-theme="light"] .button--outline { background: var(--panel); border-color: rgba(var(--ink-rgb), .16); color: var(--text-primary); box-shadow: 0 1px 2px rgba(20,20,40,.06); }
html[data-theme="light"] .button--outline:hover { background: var(--panel); border-color: rgba(var(--ink-rgb), .28); box-shadow: 0 2px 4px rgba(20,20,40,.06), 0 6px 16px rgba(20,20,40,.06); }

/* shared: plan picker cards (hwc), used on Care Health and the Plus tax hubs */
.hwc { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.hwc__c { display: flex; flex-direction: column; padding: 26px 24px 20px; border-radius: 22px; text-decoration: none; color: inherit; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.hwc__c:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(167,139,250,.36), 0 22px 48px rgba(0,0,0,.18); }
.hwc__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; color: #c4b5fd; background: rgba(167,139,250,.1); box-shadow: inset 0 0 0 1px rgba(167,139,250,.26); }
.hwc__ic svg { width: 20px; height: 20px; } html[data-theme="light"] .hwc__ic { color: #6d28d9; }
.hwc__h { font-size: 19px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px; }
.hwc__p { font-size: 14.5px; line-height: 1.55; color: var(--t2); text-wrap: pretty; }
.hwc__best { margin: 12px 0 22px; font-size: 13px; line-height: 1.45; color: #c4b5fd; } html[data-theme="light"] .hwc__best { color: #6d28d9; }
.hwc__f { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px dashed rgba(var(--ink),.14); font-size: 14px; color: var(--text); }
.hwc__f i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--t2); transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.hwc__f svg { width: 15px; height: 15px; }
.hwc__c:hover .hwc__f i { background: #8b5cf6; color: #fff; transform: rotate(45deg); }

/* Plus tax & compliance pages */
.tx-hero { text-align: center; }
.tx-hero__in { display: flex; flex-direction: column; align-items: center; }
/* breadcrumb sits inside the hero's top padding, so the eyebrow lines up with the other Plus heroes */
.tx-crumb { justify-content: center; margin: -34px auto 16px; min-height: 18px; }
.tx-h { max-width: 18ch; text-wrap: balance; }
.tx-pts { flex-direction: row; flex-wrap: wrap; justify-content: center; margin: 4px 0 26px; }
.tx-lead { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); }
.tx-lead .heading-section { margin: 12px 0 0; }
.tx-lead .text-body { margin: 14px auto 0; }
.tx-inc { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; max-width: 880px; margin: 0 auto; }
.tx-inc__i { display: flex; gap: 10px; align-items: flex-start; padding: 14px 0; font-size: 15px; line-height: 1.5; color: var(--text); border-bottom: 1px solid rgba(var(--ink),.08); }
.tx-inc__i svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: #93c5fd; }
html[data-theme="light"] .tx-inc__i svg { color: #1d4ed8; }
.tx-docs { max-width: 720px; margin: 0 auto; grid-template-columns: minmax(0,1fr); }
.tx-docs ul { columns: 2; column-gap: 32px; }

/* The tax service pages come in two shapes. Most put every document in one
   narrow box and split the list inside it (.tx-docs above). The pages whose
   documents fall into two genuinely different groups - what you need to
   register versus what you send every month - use .tx-docs--split instead,
   which puts the grid back to two boxes and runs each list as one column.
   Below 560px .cp-docs already stacks, so the override starts above that. */
.tx-docs--split { max-width: none; }
.tx-docs--split ul { columns: 1; }
.cp-docs__col h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--t4); font-weight: 600; }
@media (min-width: 561px) { .tx-docs--split { grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* .cp-cmp reads its column count from --cols; these set it without an
   inline style. */
.tx-cmp2 { --cols: 2; }
.tx-cmp3 { --cols: 3; }
.tx-cmp4 { --cols: 4; }
/* Four columns plus the label need more room than the 620px the two- and
   three-way tables scroll to, or every cell wraps to one word a line. */
@media (max-width: 900px) { .tx-cmp4 .cp-cmp__row { min-width: 780px; } }
.tx-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.tx-dl__i { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 18px; background: rgba(var(--ink),.025); box-shadow: inset 0 0 0 1px rgba(var(--ink),.08); }
.tx-dl__i b { font-size: 18px; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.tx-dl__i span { font-size: 13.5px; line-height: 1.5; color: var(--t2); }
html[data-theme="light"] .tx-dl__i { background: var(--panel); box-shadow: inset 0 0 0 1px rgba(var(--ink),.07), 0 1px 2px rgba(20,20,40,.04), 0 8px 24px rgba(20,20,40,.04); }
.tx-note { margin: 18px auto 0; text-align: center; font-size: 12.5px; color: var(--t3); }
.tx-end { padding-block: var(--sec-y, clamp(80px, 9vw, 128px)); }
.tx-end__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.tx-svc .hwc__best { color: #93c5fd; } html[data-theme="light"] .tx-svc .hwc__best { color: #1d4ed8; }
@media (max-width: 700px) { .tx-inc { grid-template-columns: minmax(0,1fr); } .tx-docs ul { columns: 1; } }

/* Resource Hub documentation pages (.doc-page): accessibility fixes from the 17 Nov 2026 audit.
   Contrast: small labels and secondary text reach WCAG AA 4.5:1 on the dark page (#71717a was
   4.35:1 and #52525b 2.72:1 on #000; these are 6.2:1 and 5.1:1). Scoped to the docs so marketing
   pages keep their look; the light theme already passes (see --text-quaternary), so it keeps its values. */
.doc-page { --t3: #8b8b94; --t4: #7c7c86; }
html[data-theme="light"] .doc-page { --t3: var(--text-tertiary); --t4: var(--text-quaternary); }
/* Skip link: off-screen until it receives keyboard focus. */
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { position: fixed; left: 16px; top: 12px; z-index: 2147483647; padding: 10px 16px; border-radius: 10px; background: #4f46e5; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; outline: 2px solid #c7d2fe; outline-offset: 2px; }
/* Mobile: room below the content for the floating Klaro AI button, and space between the docs
   search box and the KLARO DOCS switcher, which otherwise touch at 390 px. */
@media (max-width: 760px) {
  .doc-page { padding-bottom: 96px; }
  .doc-page .kx-switch { margin-top: 14px; }
}

/* ===================================================================
   COOKIE CONSENT  (markup built by /consent.js)
   A bottom sheet rather than a full-screen interrupt: the site stays
   readable while the choice is pending, which is the point of asking
   rather than demanding. Accept and reject are the same button, on
   purpose - equal weight is what makes the choice a real one.
   =================================================================== */

.klc-live {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===================================================================
   BAR AND METER DIMENSIONS
   The varying number on a mock's chart bar or meter is the one thing
   about it that is data. The product mocks already drive several of
   these from a custom property (.ex-bars i, .cal__wave i, .agc__bars i
   all read var(--h)); these two classes make that the rule everywhere,
   so the markup carries a value rather than a declaration.
   =================================================================== */
.kl-h { height: var(--h); }
.kl-w { width: var(--w); }

/* -------- banner ---------------------------------------------------- */

.klc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
  padding: 0 var(--kl-gutter, 28px) max(var(--kl-gutter, 28px), env(safe-area-inset-bottom));
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s var(--easing-standard, ease), transform .3s var(--easing-standard, ease);
}
.klc-banner[data-in="true"] { opacity: 1; transform: none; }

/* A bar at the page's own content width, not a narrow card: the copy runs
   along the left and the actions sit at the right, so the whole thing costs
   roughly one hero line of height instead of a third of the viewport. The
   grid areas let the four children consent.js builds (heading, description,
   actions, links) form two columns without a wrapper element. */
.klc-banner__in {
  box-sizing: border-box; width: 100%; max-width: var(--kl-container, 1240px);
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "head acts" "desc acts" "links acts";
  column-gap: 34px;
  padding: 16px 22px 17px; border-radius: var(--radius-large, 14px);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), .1), var(--shadow-large);
}
.klc-banner__h {
  grid-area: head;
  margin: 0 0 4px; font-family: var(--font-body);
  font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--text);
}
.klc-banner__d {
  grid-area: desc;
  margin: 0; font-size: 13px; line-height: 1.55; color: var(--t2);
}
.klc-banner__acts { grid-area: acts; display: flex; flex-wrap: wrap; gap: 8px; }
.klc-banner__links { grid-area: links; margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--t3); }

/* Under the two-column breakpoint the bar stacks, which is the only place it
   needs the extra height. */
@media (max-width: 859px) {
  .klc-banner__in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "desc" "acts" "links";
    padding: 17px 18px 18px;
  }
  /* Stacked, but the three actions still sit on one row at their own width -
     there is plenty of room for them at tablet sizes. */
  .klc-banner__acts { margin-top: 14px; }
}
.klc-banner__links a, .klc-panel__links a { color: var(--t2); text-decoration: underline; text-underline-offset: 3px; }
.klc-banner__links a:hover, .klc-panel__links a:hover { color: var(--text); }

/* -------- buttons ---------------------------------------------------- */

.klc-btn {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 8px 15px;
  border: 0; border-radius: var(--radius-small, 8px);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  white-space: nowrap; cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
/* Accept and reject share one appearance. Nothing here nudges. */
.klc-btn--solid {
  background: var(--text); color: var(--panel);
}
.klc-btn--solid:hover { background: var(--t2); }
.klc-btn--ghost {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), .22);
}
.klc-btn--ghost:hover { background: rgba(var(--ink), .06); }

/* -------- preferences panel ------------------------------------------ */

html[data-klc-open="true"] { overflow: hidden; }

.klc-scrim {
  position: fixed; inset: 0; z-index: 2147483001;
  display: flex; align-items: center; justify-content: center;
  padding: var(--kl-gutter, 28px);
  background: rgba(0, 0, 0, .58);
  opacity: 0; transition: opacity .24s ease;
}
.klc-scrim[data-in="true"] { opacity: 1; }

.klc-panel {
  box-sizing: border-box;
  display: flex; flex-direction: column;
  width: 100%; max-width: 720px; max-height: min(86vh, 820px);
  border-radius: var(--radius-xl, 18px);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), .1), var(--shadow-large);
  transform: translateY(10px) scale(.99);
  transition: transform .24s var(--easing-standard, ease);
}
.klc-scrim[data-in="true"] .klc-panel { transform: none; }

.klc-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px 16px; border-bottom: 1px solid rgba(var(--ink), .09);
}
.klc-panel__h {
  margin: 0; font-family: var(--font-body);
  font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: var(--text);
}
.klc-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none;
  border: 0; border-radius: var(--radius-small, 8px);
  background: transparent; color: var(--t2); cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.klc-x:hover { background: rgba(var(--ink), .07); color: var(--text); }
.klc-x svg { width: 17px; height: 17px; }

.klc-panel__body { padding: 20px 26px 8px; overflow-y: auto; }
.klc-panel__lead { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: var(--t2); }
.klc-panel__links { margin: 4px 0 18px; font-size: 13px; line-height: 1.6; color: var(--t3); }

.klc-panel__foot {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 16px 26px 20px; border-top: 1px solid rgba(var(--ink), .09);
}

/* -------- a category -------------------------------------------------- */

.klc-cat { padding: 18px 0; border-top: 1px solid rgba(var(--ink), .08); }
.klc-cat:first-of-type { border-top: 0; padding-top: 0; }
.klc-cat__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.klc-cat__name b { font-size: 15px; font-weight: 500; color: var(--text); }
.klc-cat__d { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--t2); max-width: 62ch; }

.klc-tag {
  flex: none; padding: 5px 11px; border-radius: var(--radius-pill, 999px);
  font-family: 'Inter Tight', var(--font-body); font-size: 11.5px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--t3);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), .14);
}

/* -------- switch ------------------------------------------------------ */

.klc-sw { position: relative; flex: none; display: inline-flex; cursor: pointer; }
.klc-sw__i {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.klc-sw__t {
  display: block; width: 46px; height: 28px; border-radius: var(--radius-pill, 999px);
  background: rgba(var(--ink), .14);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), .12);
  transition: background .2s ease;
}
.klc-sw__t::after {
  content: ''; display: block; width: 22px; height: 22px; margin: 3px;
  border-radius: 50%; background: var(--panel);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .2s var(--easing-standard, ease);
}
.klc-sw__i:checked + .klc-sw__t { background: var(--accent-indigo, #6366f1); }
.klc-sw__i:checked + .klc-sw__t::after { transform: translateX(18px); }
.klc-sw__i:focus-visible + .klc-sw__t {
  outline: 2px solid var(--accent-signal); outline-offset: 3px;
}
.klc-sw__x {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* -------- cookie detail table ----------------------------------------- */

.klc-det { margin-top: 12px; }
.klc-det__s {
  display: inline-block; padding: 6px 0;
  font-family: 'Inter Tight', var(--font-body); font-size: 12.5px;
  letter-spacing: .02em; color: var(--t3); cursor: pointer;
}
.klc-det__s:hover { color: var(--text); }
.klc-det__s::marker { color: var(--t4); }
.klc-det__none { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--t3); max-width: 62ch; }
.klc-det__w { margin-top: 10px; overflow-x: auto; border-radius: var(--radius-medium, 11px); }
.klc-det__t { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12.5px; }
.klc-det__t th, .klc-det__t td {
  padding: 9px 12px; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(var(--ink), .08);
}
.klc-det__t th {
  font-family: 'Inter Tight', var(--font-body); font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase; font-size: 11px;
  color: var(--t3); background: rgba(var(--ink), .04);
}
.klc-det__t td { color: var(--t2); }
.klc-det__t tr:last-child td { border-bottom: 0; }

/* -------- footer entry point ------------------------------------------ */

/* .kl-flink is injected by SiteFooter; this only strips the button chrome
   so the control sits in the legal row as though it were one of the links. */
.klc-footer-link {
  padding: 0; border: 0; background: none;
  font-family: inherit; font-size: inherit; text-align: left; cursor: pointer;
}

/* Stand-in for the few pages that carry no footer. Deliberately quiet: it is
   a way back to the settings, not a second banner. */
.klc-fallback {
  position: fixed; left: 14px; bottom: 12px; z-index: 2147482000;
  padding: 7px 11px; border: 0; border-radius: var(--radius-small, 8px);
  background: rgba(var(--ink), .05);
  box-shadow: inset 0 0 0 1px rgba(var(--ink), .09);
  font-family: 'Inter Tight', var(--font-body); font-size: 12px;
  letter-spacing: .01em; color: var(--t3); cursor: pointer; opacity: .62;
  transition: opacity .2s ease, color .2s ease, background .2s ease;
}
.klc-fallback:hover, .klc-fallback:focus-visible { opacity: 1; color: var(--text); background: rgba(var(--ink), .09); }
@media (max-width: 560px) { .klc-fallback { left: 10px; bottom: 10px; font-size: 11.5px; } }

/* -------- narrow screens ---------------------------------------------- */

@media (max-width: 560px) {
  .klc-banner { padding-left: 14px; padding-right: 14px; }
  .klc-banner__in { padding: 17px 18px 18px; }
  /* Only here do the actions need to wrap. Accept and reject share the first
     row at equal width - the pair has to keep reading as one choice - and
     Customise takes the second. A column of three full-width bars was the
     single biggest thing making this banner tall. */
  .klc-banner__acts .klc-btn { flex: 1 1 40%; }
  .klc-scrim { padding: 0; align-items: flex-end; }
  .klc-panel {
    max-width: none; max-height: 92vh;
    border-radius: var(--radius-xl, 18px) var(--radius-xl, 18px) 0 0;
  }
  .klc-panel__head, .klc-panel__body, .klc-panel__foot { padding-left: 18px; padding-right: 18px; }
  .klc-panel__foot { flex-direction: column; }
  .klc-panel__foot .klc-btn { width: 100%; }
  .klc-cat__top { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .klc-banner, .klc-scrim, .klc-panel, .klc-btn,
  .klc-sw__t, .klc-sw__t::after, .klc-x { transition: none; }
}


/* ---- form validation states -------------------------------------------
   Shared across the site's forms. Invalid is signalled three ways, not one:
   the border colour, the message text, and aria-invalid for anyone who cannot
   see either - WCAG 1.4.1 is explicit that colour alone is not enough. */
.pt-sendErr { margin: 12px 0 0; font-size: 13px; color: #fca5a5; }
html[data-theme="light"] .pt-sendErr { color: #b91c1c; }

input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: rgba(248, 113, 113, .7);
}
input[aria-invalid="true"]:focus-visible,
select[aria-invalid="true"]:focus-visible,
textarea[aria-invalid="true"]:focus-visible {
  outline: 2px solid #f87171; outline-offset: 2px;
}

/* Honeypot. Off-screen rather than display:none, because some bots skip fields
   that are not rendered at all. Hidden from assistive technology and from the
   tab order, so nobody using a keyboard or a screen reader can land in it by
   accident and be silently marked as spam. */
.kl-hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* ---- Workspace app pages: declarations lifted out of the markup ----
   Ten sibling pages share these, so the rules live here rather than in
   ten helmets. Selectors doubled to 0,2,0, as elsewhere. */
.kdwa-c-s.kdwa-c-s { color:var(--acc-s); }
.kdwa-bg-s.kdwa-bg-s { background:var(--acc-s); }
.kdwa-c-i.kdwa-c-i { color:var(--acc-i); }
.kdwa-bg-i.kdwa-bg-i { background:var(--acc-i); }
.kdwa-c-a.kdwa-c-a { color:var(--acc-a); }
.kdwa-bg-a.kdwa-bg-a { background:var(--acc-a); }
.kdwa-av--iv.kdwa-av--iv { background:linear-gradient(135deg,#6366F1,#8B5CF6); font-size:16px; font-weight:500; }
.kdwa-clip.kdwa-clip { overflow:hidden; position:relative; }
.kdwa-cta-sec.kdwa-cta-sec { padding-block:var(--sec-y); position:relative; text-align:center; z-index:2; }
.kdwa-cta-note.kdwa-cta-note { margin-top:18px; text-align:center; }
.kdwa-av--si.kdwa-av--si { background:linear-gradient(135deg,#0EA5E9,#6366F1); font-size:16px; font-weight:500; }
.kdwa-av--gc.kdwa-av--gc { background:linear-gradient(135deg,#10B981,#22D3EE); font-size:16px; font-weight:500; }
.kdwa-av--ap.kdwa-av--ap { background:linear-gradient(135deg,#F59E0B,#ffdac0); font-size:16px; font-weight:500; }
.kdwa-av--vl.kdwa-av--vl { background:linear-gradient(135deg,#8B5CF6,#A78BFA); font-size:16px; font-weight:500; }
.kdwa-av--pl.kdwa-av--pl { background:linear-gradient(135deg,#7D57C6,#A78BFA); font-size:16px; font-weight:500; }
.kdwa-av--is.kdwa-av--is { background:linear-gradient(135deg,#6366F1,#0EA5E9); font-size:16px; font-weight:500; }
.kdwa-av--ci.kdwa-av--ci { background:linear-gradient(135deg,#22D3EE,#6366F1); font-size:16px; font-weight:500; }
.kdwa-av--sv.kdwa-av--sv { background:linear-gradient(135deg,#0EA5E9,#8B5CF6); font-size:16px; font-weight:500; }
.kdwa-av--gs.kdwa-av--gs { background:linear-gradient(135deg,#10B981,#0EA5E9); font-size:16px; font-weight:500; }
.kdwa-av--vc.kdwa-av--vc { background:linear-gradient(135deg,#8B5CF6,#22D3EE); font-size:16px; font-weight:500; }
.kdwa-ic--vc.kdwa-ic--vc { background:linear-gradient(135deg,#8B5CF6,#22D3EE); }
.kdwa-ic--gc.kdwa-ic--gc { background:linear-gradient(135deg,#10B981,#22D3EE); }
.kdwa-h130.kdwa-h130 { height:130px; }
.kdwa-ic--si.kdwa-ic--si { background:linear-gradient(135deg,#0EA5E9,#6366F1); }
.kdwa-ic--gs.kdwa-ic--gs { background:linear-gradient(135deg,#10B981,#0EA5E9); }
.kdwa-ic--ci.kdwa-ic--ci { background:linear-gradient(135deg,#22D3EE,#6366F1); }
.kdwa-ic--is.kdwa-ic--is { background:linear-gradient(135deg,#6366F1,#0EA5E9); }
.kdwa-ic--ap.kdwa-ic--ap { background:linear-gradient(135deg,#F59E0B,#ffdac0); }
.kdwa-ic--vl.kdwa-ic--vl { background:linear-gradient(135deg,#8B5CF6,#A78BFA); }
.kdwa-ic--sv.kdwa-ic--sv { background:linear-gradient(135deg,#0EA5E9,#8B5CF6); }
.kdwa-ic--pl.kdwa-ic--pl { background:linear-gradient(135deg,#7D57C6,#A78BFA); }

/* ---- declarations that recurred across three or more pages ----
   Lifted here rather than repeated in each page's helmet. Selectors
   doubled to 0,2,0, as elsewhere. */
.kl-tac.kl-tac { text-align:center; }
.kl-bg-sky.kl-bg-sky { background:#0ea5e9; }
.kl-jc.kl-jc { justify-content:center; }
.kl-mb22.kl-mb22 { margin-bottom:22px; }
.kl-chip-sky.kl-chip-sky { background:rgba(56,189,248,.16); color:#7dd3fc; }
.kl-cta-sec.kl-cta-sec { padding-block:var(--sec-y); position:relative; text-align:center; z-index:2; }
.kl-chip-indigo.kl-chip-indigo { background:rgba(129,140,248,.18); color:#a5b4fc; }
.kl-chip-violet.kl-chip-violet { background:rgba(167,139,250,.18); color:#c4b5fd; }
.kl-chip-pink.kl-chip-pink { background:rgba(244,114,182,.16); color:#f9a8d4; }
.kl-cliprel.kl-cliprel { overflow:hidden; position:relative; }
.kl-wsig90.kl-wsig90 { background:var(--wsig); height:90%; }
.kl-ctr-row.kl-ctr-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.kl-ctr-mt28.kl-ctr-mt28 { justify-content:center; margin-top:28px; }
.kl-mt18.kl-mt18 { margin-top:18px; }
.kl-bg-indigo.kl-bg-indigo { background:#6366f1; }
.kl-flink-sm.kl-flink-sm { color:var(--t3); font-size:12.5px; text-decoration:none; }
.kl-bg-amber.kl-bg-amber { background:#f59e0b; }
.kl-chip-white.kl-chip-white { background:rgba(255,255,255,.08); color:rgba(255,255,255,.75); }
.kl-g-pink.kl-g-pink { background:linear-gradient(135deg,#EC4899,#DB2777); }
.kl-g-violet.kl-g-violet { background:linear-gradient(135deg,#8B5CF6,#7C3AED); }
.kl-g-sky.kl-g-sky { background:linear-gradient(135deg,#0EA5E9,#0284C7); }
.kl-inherit.kl-inherit { color:inherit; font:inherit; letter-spacing:normal; margin:0; }
.kl-note.kl-note { color:var(--t4); font-size:12.5px; margin:20px 4px 0; }
.kl-chip-green.kl-chip-green { background:rgba(52,211,153,.16); color:#6ee7b7; }
.kl-bg-violet.kl-bg-violet { background:#8b5cf6; }
.kl-ctr-rel.kl-ctr-rel { position:relative; text-align:center; z-index:2; }
.kl-sec96.kl-sec96 { padding-block:96px 20px; }
.kl-chip-amber.kl-chip-amber { background:rgba(251,191,36,.15); color:#fcd34d; }
.kl-bg-green.kl-bg-green { background:#10b981; }
.kl-g-si.kl-g-si { background:linear-gradient(135deg,#0EA5E9,#6366F1); }
.kl-g-vi.kl-g-vi { background:linear-gradient(135deg,#8B5CF6,#6366F1); }
.kl-strong.kl-strong { color:var(--text); }
.kl-eb.kl-eb { color:var(--acc-i); font-family:'Inter Tight',monospace; font-size:11px; letter-spacing:.14em; margin-bottom:12px; }
.kl-aside-lbl.kl-aside-lbl { color:var(--t4); font-family:'Inter Tight',monospace; font-size:10px; letter-spacing:.12em; margin-bottom:14px; }
.kl-toc.kl-toc { border-left:1px solid rgba(var(--ink),.1); display:flex; flex-direction:column; gap:9px; margin-bottom:28px; padding-left:14px; }
.kl-col14.kl-col14 { display:flex; flex-direction:column; gap:14px; }
.kl-codepanel.kl-codepanel { background:#0c0c0f; border-radius:14px; border:1px solid rgba(255,255,255,.09); overflow:hidden; }
.kl-codebar.kl-codebar { align-items:center; border-bottom:1px solid rgba(255,255,255,.07); display:flex; gap:7px; padding:11px 14px; }
.kl-codelbl.kl-codelbl { color:#52525b; font-family:'Inter Tight',monospace; font-size:10px; letter-spacing:.08em; margin-left:auto; }
.kl-pre.kl-pre { color:#d4d4d8; font-family:'Inter Tight',ui-monospace,monospace; font-size:12px; line-height:1.7; margin:0; overflow-x:auto; padding:16px 18px; }
.kl-bg-pink.kl-bg-pink { background:#ec4899; }
.kl-bar72.kl-bar72 { --h:72%; background:#818cf8; }

/* the developer reference's inline code chip, shared by four pages */
.kl-code.kl-code { background:rgba(var(--ink),.06); border-radius:5px; border:1px solid rgba(var(--ink),.08); font-family:'Inter Tight',ui-monospace,monospace; font-size:13px; padding:1px 6px; }

/* status colours in the developer reference, shared by five pages */
.kl-ok.kl-ok { color:#6ee7b7; }
.kl-warn.kl-warn { color:#fcd34d; }

/* the off-screen honeypot input on the older forms, and a centred heading,
   each written identically on two pages */
.kl-offscreen.kl-offscreen { height:1px; left:-9999px; opacity:0; position:absolute; width:1px; }
.kl-ctr-mb14.kl-ctr-mb14 { margin-bottom:14px; text-align:center; }
