/* ==========================================================================
   CogniPulse new site ("next" variant): the design kit
   Ported from design/site/src/base.css by the transform in docs/site-next/KIT.md
   ("Port notes"). Every selector is scoped to #cp-site.cp-site (checked by
   src/lib/next-css-scope.test.ts). Loaded only by NextSiteShell, never imported
   into the Next.js CSS graph. Do not restyle cp- classes from page CSS.
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
.cp-site {
  /* Light surface */
  --cp-ground: #FAFAFA;
  --cp-white: #FFFFFF;
  --cp-tint: #F4F4F5;
  --cp-ink: #18181B;
  --cp-ink-2: #27272A;
  --cp-muted: #71717A;            /* 4.6:1 on ground, 4.8:1 on white */
  --cp-muted-on-tint: #62626B;    /* 5.5:1 on tint */
  --cp-line: #E4E4E7;
  --cp-line-strong: #D4D4D8;
  --cp-navy: #022169;             /* brand navy: active nav, h1 gradient end */
  /* Accents */
  --cp-indigo: #6366F1;           /* marks, small graphics */
  --cp-indigo-text: #4F46E5;      /* indigo text on light grounds (6.3:1) */
  --cp-indigo-soft: #A5B4FC;      /* indigo text on dark grounds */
  --cp-cyan: #06B6D4;
  --cp-cobalt: #0B40FE;
  --cp-violet: #852CFE;
  --cp-magenta: #F21BFE;
  --cp-focus: #6467F2;
  /* The brand gradient: ONLY for the scan line, Core Check, transition lines */
  --cp-gradient: linear-gradient(90deg, #0B40FE 0%, #852CFE 55%, #F21BFE 100%);
  --cp-gradient-v: linear-gradient(180deg, #0B40FE 0%, #852CFE 55%, #F21BFE 100%);
  /* four samples of the gradient, used for segmented lines (step track) */
  --cp-grad-0: #0B40FE;
  --cp-grad-1: #5A36FE;
  --cp-grad-2: #A82AFE;
  --cp-grad-3: #F21BFE;
  /* the live site's headline fill */
  --cp-ink-gradient: linear-gradient(to bottom right, #18181B 0%, #27272A 45%, #022169 100%);
  /* The ONE dark surface (round 2, from the live site's CTA card):
  base #111216, a soft dark-green glow on the left, a soft indigo/purple glow on the right, border white/5.
  Use the helper class .cp-dark-surface, or background: var(--cp-dark-surface) on your own element. */
  --cp-dark: #111216;
  --cp-dark-glow-green: rgba(52, 211, 153, 0.11);   /* emerald-400 / ~10% */
  --cp-dark-glow-purple: rgba(99, 102, 241, 0.13);  /* indigo-500 / ~10% */
  --cp-dark-border: rgba(255, 255, 255, 0.05);
  --cp-dark-surface:
  radial-gradient(ellipse 55% 85% at 6% 62%, var(--cp-dark-glow-green) 0%, rgba(52, 211, 153, 0) 72%),
  radial-gradient(ellipse 55% 85% at 94% 38%, var(--cp-dark-glow-purple) 0%, rgba(99, 102, 241, 0) 72%),
  linear-gradient(var(--cp-dark), var(--cp-dark));
  --cp-dark-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);   /* shadow-2xl, for dark cards on light */
  /* Dark band ("beneath"): now the same surface family */
  --cp-band: #111216;
  --cp-band-raised: #1A1B21;      /* panels one step lighter than the surface */
  --cp-band-raised-2: #22242C;    /* hover / inner wells */
  --cp-band-glow: #1E2030;
  --cp-on-dark: #FFFFFF;
  --cp-on-dark-muted: #A7AEC9;    /* 8.2:1 on band, 7.6:1 on raised */
  --cp-on-dark-line: rgba(255, 255, 255, 0.10);
  --cp-on-dark-line-strong: rgba(255, 255, 255, 0.20);
  --cp-footer: #18181B;
  --cp-footer-text: #A1A1AA;      /* 6.9:1 on footer */
  /* Figure tones (status). -t: text/mark on dark, -bar: top border */
  --cp-rose: #FDA4AF;    --cp-rose-bar: linear-gradient(90deg, #F43F5E, #FDA4AF);
  --cp-blue: #7DD3FC;    --cp-blue-bar: linear-gradient(90deg, #0EA5E9, #22D3EE);
  --cp-emerald: #6EE7B7; --cp-emerald-bar: linear-gradient(90deg, #10B981, #6EE7B7);
  --cp-amber: #FCD34D;   --cp-amber-bar: linear-gradient(90deg, #F59E0B, #FCD34D);
  --cp-sky: #7DD3FC;
  --cp-periwinkle: #A5B4FC;
  /* Type */
  --cp-font: var(--font-inter), "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cp-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --cp-fs-h1: clamp(36px, 4.6vw, 64px);
  --cp-fs-h2: clamp(30px, 3.2vw, 44px);
  --cp-fs-question: clamp(24px, 2.6vw, 38px);
  --cp-fs-large: clamp(22px, 2.1vw, 28px);   /* a paragraph set as large text */
  --cp-fs-h3: clamp(20px, 1.55vw, 22px);
  --cp-fs-lead: clamp(18px, 1.45vw, 20px);
  --cp-fs-body: 16px;
  --cp-fs-small: 14px;
  --cp-fs-label: 13px;
  --cp-fs-mono: 12px;
  --cp-measure: 68ch;
  /* Spacing */
  --cp-space-1: 4px;
  --cp-space-2: 8px;
  --cp-space-3: 12px;
  --cp-space-4: 16px;
  --cp-space-5: 24px;
  --cp-space-6: 32px;
  --cp-space-7: 48px;
  --cp-space-8: 64px;
  --cp-space-9: 96px;
  --cp-space-10: 128px;
  --cp-section-y: 120px;
  --cp-head-gap: 56px;            /* section head -> section content */
  /* Layout */
  --cp-container: 1280px;
  --cp-gutter: 32px;
  --cp-col-gap: 32px;
  --cp-header-h: 56px;
  /* Radii */
  --cp-r-sm: 8px;                 /* buttons */
  --cp-r-md: 12px;                /* figure cards */
  --cp-r-lg: 16px;                /* cards, panels */
  --cp-r-xl: 32px;                /* dark cards: Core Check panel, closing card */
  --cp-r-sheet: 40px;             /* T2 sheet */
  --cp-r-full: 999px;
  /* Transitions geometry */
  --cp-surface-h: 48px;           /* T1 height: half light, half dark */
  --cp-thread-x: 0px;             /* T3 rail, relative to the content edge */
  --cp-thread-indent: 48px;       /* T3 content indent */
  --cp-thread-color: rgba(24, 24, 27, 0.14);
  /* Z-index */
  --cp-z-sheet: 1;
  --cp-z-bridge: 2;
  --cp-z-header: 50;
  --cp-z-toast: 90;
  --cp-z-preview: 100;
  /* Motion */
  --cp-dur-fast: 160ms;
  --cp-dur: 200ms;
  --cp-dur-enter: 1500ms;
  --cp-ease: cubic-bezier(0.2, 0, 0, 1);
  --cp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Context colors (switched inside dark contexts) */
  --cp-text: var(--cp-ink);
  --cp-text-muted: var(--cp-muted);
  --cp-hairline: var(--cp-line);
  /* Figure tokens (round 2). LIGHT by default; overridden inside dark surfaces (section 12).
  Contrast on white: --fig-text 17.7:1, --fig-muted 4.8:1, --fig-ok 5.5:1, --fig-warn 5.0:1,
  --fig-risk 6.2:1, --fig-info 5.9:1, --fig-accent / --fig-point 6.3:1, --fig-line-strong 3.5:1. */
  --fig-bg: #FFFFFF;              /* figure card / panel */
  --fig-panel: #FAFAFA;           /* inner well, plot area */
  --fig-line: #E4E4E7;            /* grid, axis, hairlines, meter track */
  --fig-line-strong: #8B8B94;     /* thresholds, ticks (non-text 3:1+) */
  --fig-text: #18181B;
  --fig-muted: #71717A;
  --fig-point: #4F46E5;           /* the single scatter point color */
  --fig-accent: #4F46E5;
  --fig-zone-sky: rgba(14, 165, 233, 0.10);
  --fig-zone-emerald: rgba(16, 185, 129, 0.10);
  --fig-zone-rose: rgba(244, 63, 94, 0.09);
  --fig-ok: #047857;              /* healthy */
  --fig-warn: #B45309;            /* caution */
  --fig-risk: #BE123C;            /* at risk */
  --fig-info: #0369A1;            /* blue / sky tone (default stat tone) */
  --fig-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 8px 24px -14px rgba(24, 24, 27, 0.12);
  --cp-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
@media (max-width: 1023px) {
  .cp-site { --cp-section-y: 96px; --cp-head-gap: 48px; }
}
@media (max-width: 767px) {
  .cp-site {
    --cp-gutter: 20px;
    --cp-col-gap: 20px;
    --cp-section-y: 72px;
    --cp-head-gap: 36px;
    --cp-r-sheet: 24px;
    --cp-r-xl: 24px;
    --cp-surface-h: 40px;
  }
}
/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
.cp-site :where(.cp-kit) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.cp-site { overflow-x: clip; background: var(--cp-ground); }
.cp-site :where(.cp-kit) {
  margin: 0;
  font-family: var(--cp-font);
  font-size: var(--cp-fs-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--cp-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}
.cp-site :where(.cp-kit) h1, .cp-site :where(.cp-kit) h2, .cp-site :where(.cp-kit) h3, .cp-site :where(.cp-kit) h4, .cp-site :where(.cp-kit) p, .cp-site :where(.cp-kit) ul, .cp-site :where(.cp-kit) ol, .cp-site :where(.cp-kit) figure, .cp-site :where(.cp-kit) blockquote, .cp-site :where(.cp-kit) dl, .cp-site :where(.cp-kit) dd { margin: 0; }
.cp-site :where(.cp-kit) :where(ul[class], ol[class]) { list-style: none; padding: 0; }
.cp-site :where(.cp-kit) img, .cp-site :where(.cp-kit) svg { display: block; max-width: 100%; }
.cp-site :where(.cp-kit) img { height: auto; }
.cp-site :where(.cp-kit) a { color: inherit; text-decoration: none; }
.cp-site :where(.cp-kit) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.cp-site :where(.cp-kit) strong, .cp-site :where(.cp-kit) b { font-weight: 600; color: var(--cp-text); }
.cp-site :where(.cp-kit) em, .cp-site :where(.cp-kit) i { font-style: italic; }
.cp-site [hidden] { display: none !important; }
.cp-site :where(.cp-kit) ::selection { background: #E0E7FF; color: #312E81; }
.cp-site :where(.cp-kit) :focus-visible {
  outline: 2px solid var(--cp-focus);
  outline-offset: 3px;
  border-radius: 4px;
  /* port: undo the live base layer focus fill (color: transparent + gradient); later kit rules set their own */
  color: inherit;
  background-image: none;
}
.cp-site .cp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.cp-site .cp-container {
  width: 100%;
  max-width: var(--cp-container);
  margin-inline: auto;
  padding-inline: var(--cp-gutter);
}
.cp-site .cp-section {
  --cp-pt: var(--cp-section-y); --cp-pb: var(--cp-section-y);
  position: relative; padding-top: var(--cp-pt); padding-bottom: var(--cp-pb);
}
.cp-site .cp-section--pt-0 { --cp-pt: 0px; }
.cp-site .cp-section--pb-0 { --cp-pb: 0px; }
.cp-site .cp-section--pt-half { --cp-pt: calc(var(--cp-section-y) / 2); }
.cp-site .cp-section--pb-half { --cp-pb: calc(var(--cp-section-y) / 2); }
.cp-site .cp-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--cp-col-gap);
  row-gap: var(--cp-space-7);
}
.cp-site .cp-col-3 { grid-column: span 3; }
.cp-site .cp-col-4 { grid-column: span 4; }
.cp-site .cp-col-5 { grid-column: span 5; }
.cp-site .cp-col-6 { grid-column: span 6; }
.cp-site .cp-col-7 { grid-column: span 7; }
.cp-site .cp-col-8 { grid-column: span 8; }
.cp-site .cp-col-9 { grid-column: span 9; }
.cp-site .cp-col-12 { grid-column: 1 / -1; }
.cp-site .cp-start-2 { grid-column-start: 2; }
.cp-site .cp-start-7 { grid-column-start: 7; }
.cp-site .cp-start-8 { grid-column-start: 8; }
.cp-site .cp-grid--center { align-items: center; }
.cp-site .cp-grid--start { align-items: start; }
@media (max-width: 899px) {
  .cp-site .cp-grid > [class*="cp-col-"] { grid-column: 1 / -1; }
}
.cp-site .cp-sticky { position: sticky; top: calc(var(--cp-header-h) + var(--cp-space-6)); }
@media (max-width: 899px) {
  .cp-site .cp-sticky { position: relative; top: auto; }
}
/* vertical rhythm for a column of text blocks */
.cp-site .cp-flow > * + * { margin-top: var(--cp-space-5); }
.cp-site .cp-flow-sm > * + * { margin-top: var(--cp-space-3); }
.cp-site .cp-measure { max-width: var(--cp-measure); }
/* section head: label, headline, lead, optional action */
.cp-site .cp-head { max-width: 760px; margin-bottom: var(--cp-head-gap); }
.cp-site .cp-head > .cp-label { margin-bottom: var(--cp-space-4); }
.cp-site .cp-head > .cp-h2 + .cp-lead, .cp-site .cp-head > .cp-h2 + .cp-body { margin-top: var(--cp-space-5); }
.cp-site .cp-head > .cp-actions { margin-top: var(--cp-space-6); }
.cp-site .cp-head--split {
  max-width: none;
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--cp-space-6);
  flex-wrap: wrap;
}
.cp-site .cp-head--split > :first-child { max-width: 760px; }
.cp-site .cp-head--center { margin-inline: auto; text-align: center; }
/* --------------------------------------------------------------------------
   4. Section skins and the dark band
   -------------------------------------------------------------------------- */
.cp-site .cp-section--ground { background: var(--cp-ground); }
.cp-site .cp-section--white { background: var(--cp-white); }
.cp-site .cp-section--tint { background: var(--cp-tint); --cp-text-muted: var(--cp-muted-on-tint); }
/* every dark context switches the context colors */
.cp-site .cp-band--dark,
.cp-site .cp-on-dark,
.cp-site .cp-core,
.cp-site .cp-closing__inner,
.cp-site .cp-dark-surface,
.cp-site .cp-ledger__row--dark,
.cp-site .cp-footer {
  --cp-text: var(--cp-on-dark);
  --cp-text-muted: var(--cp-on-dark-muted);
  --cp-hairline: var(--cp-on-dark-line);
  color: var(--cp-on-dark);
}
/* figure tokens inside every dark surface (light values are on :root). .cp-fig-dark forces them anywhere. */
.cp-site .cp-band--dark,
.cp-site .cp-on-dark,
.cp-site .cp-core,
.cp-site .cp-closing__inner,
.cp-site .cp-dark-surface,
.cp-site .cp-ledger__row--dark,
.cp-site .cp-fig-dark {
  --fig-bg: var(--cp-band-raised);
  --fig-panel: rgba(255, 255, 255, 0.03);
  --fig-line: rgba(255, 255, 255, 0.10);
  --fig-line-strong: rgba(255, 255, 255, 0.35);
  --fig-text: #FFFFFF;
  --fig-muted: var(--cp-on-dark-muted);
  --fig-point: #A5B4FC;
  --fig-accent: #A5B4FC;
  --fig-zone-sky: rgba(125, 211, 252, 0.10);
  --fig-zone-emerald: rgba(110, 231, 183, 0.10);
  --fig-zone-rose: rgba(253, 164, 175, 0.10);
  --fig-ok: #6EE7B7;
  --fig-warn: #FCD34D;
  --fig-risk: #FDA4AF;
  --fig-info: #7DD3FC;
  --fig-shadow: none;
}
/* .cp-fig-light: force the light figure theme on a subtree, even inside a dark band */
.cp-site .cp-fig-light {
  --fig-bg: #FFFFFF; --fig-panel: #FAFAFA; --fig-line: #E4E4E7; --fig-line-strong: #8B8B94;
  --fig-text: #18181B; --fig-muted: #71717A; --fig-point: #4F46E5; --fig-accent: #4F46E5;
  --fig-zone-sky: rgba(14, 165, 233, 0.10); --fig-zone-emerald: rgba(16, 185, 129, 0.10); --fig-zone-rose: rgba(244, 63, 94, 0.09);
  --fig-ok: #047857; --fig-warn: #B45309; --fig-risk: #BE123C; --fig-info: #0369A1;
  --fig-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 8px 24px -14px rgba(24, 24, 27, 0.12);
}
/* the dark surface helper: background, border, dark context. Add a radius yourself (or use --cp-r-xl). */
.cp-site .cp-dark-surface {
  background: var(--cp-dark-surface);
  border: 1px solid var(--cp-dark-border);
}
.cp-site .cp-band { position: relative; padding-block: var(--cp-section-y); isolation: isolate; }
.cp-site .cp-band--dark {
  background: var(--cp-dark-surface);
  background-repeat: no-repeat;
}
.cp-site .cp-band--plain { background: var(--cp-band); }
.cp-site .cp-band--short { padding-block: var(--cp-space-8); }
/* text on dark */
.cp-site .cp-band--dark .cp-h1, .cp-site .cp-on-dark .cp-h1 { background: none; -webkit-text-fill-color: currentColor; color: var(--cp-on-dark); }
.cp-site .cp-band--dark .cp-label, .cp-site .cp-on-dark .cp-label, .cp-site .cp-core .cp-label { color: var(--cp-indigo-soft); }
.cp-site .cp-band--dark a:not([class]), .cp-site .cp-on-dark a:not([class]) { color: var(--cp-on-dark); text-decoration-color: rgba(255,255,255,.4); }
/* --------------------------------------------------------------------------
   5. Transitions
   -------------------------------------------------------------------------- */
/* T1: the surface line (light -> dark) */
.cp-site .cp-surface {
  --cp-surface-above: var(--cp-ground);
  --cp-surface-below: var(--cp-band);
  position: relative; z-index: 1;
  height: var(--cp-surface-h);
  /* the lower half is transparent and overlaps the band, so the band's own glow starts at the line */
  margin-bottom: calc(var(--cp-surface-h) / -2);
  background: linear-gradient(to bottom, var(--cp-surface-above) 50%, transparent 50%);
  pointer-events: none;
}
.cp-site .cp-surface + .cp-band { padding-top: calc(var(--cp-section-y) + var(--cp-surface-h) / 2); }
.cp-site .cp-surface--from-white { --cp-surface-above: var(--cp-white); }
.cp-site .cp-surface--from-tint { --cp-surface-above: var(--cp-tint); }
.cp-site .cp-surface::after {
  /* soft glow, only beneath the line */
  content: "";
  position: absolute; left: 0; right: 0; top: 50%; height: 140px;
  background:
  radial-gradient(ellipse 30% 32px at 50% 0, rgba(133, 44, 254, 0.30), rgba(133, 44, 254, 0) 100%),
  radial-gradient(ellipse 55% 140px at 50% 0, rgba(99, 102, 241, 0.13), rgba(99, 102, 241, 0) 100%);
}
.cp-site .cp-surface__line {
  position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -0.5px; z-index: 1;
  background: var(--cp-gradient);
  box-shadow: 0 2px 10px 0 rgba(133, 44, 254, 0.55);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.cp-site .cp-surface__dots {
  position: absolute; left: 0; right: 0; top: 50%; z-index: 2;
  max-width: var(--cp-container); margin-inline: auto; padding-inline: 9%;
  display: flex; justify-content: space-between; align-items: center;
  transform: translateY(-50%);
}
.cp-site .cp-surface__dots i {
  --lit: #9DB0FF;
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(180deg, #B4B4BC 0 50%, var(--lit) 50% 100%);
  box-shadow: 0 5px 10px -2px color-mix(in srgb, var(--lit) 70%, transparent);
}
.cp-site .cp-surface__dots i:nth-child(3n+2) { --lit: #C4A8FF; width: 7px; height: 7px; }
.cp-site .cp-surface__dots i:nth-child(3n) { --lit: #F5A8FF; }
.cp-site .cp-surface__dots i:nth-child(4n+1) { transform: translateX(14px); }
.cp-site .cp-surface__dots i:nth-child(5n+3) { transform: translateX(-18px); }
.cp-site .cp-surface__dots i:first-child, .cp-site .cp-surface__dots i:last-child { opacity: 0.35; }
.cp-site .cp-surface__dots i:nth-child(2), .cp-site .cp-surface__dots i:nth-last-child(2) { opacity: 0.7; }
@media (max-width: 767px) {
  .cp-site .cp-surface__dots { padding-inline: 6%; }
  .cp-site .cp-surface__dots i:nth-child(n+8) { display: none; }
}
/* T1 draw-in: the line grows from the left, then the dots fade in. Start state only when base.js ran (html.cp-js) */
.cp-js .cp-site .cp-surface__line {
  transform: scaleX(0); transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cp-js .cp-site .cp-surface__dots { opacity: 0; transition: opacity 600ms ease-out 650ms; }
.cp-js .cp-site .cp-surface.is-inview .cp-surface__line { transform: scaleX(1); }
.cp-js .cp-site .cp-surface.is-inview .cp-surface__dots { opacity: 1; }
/* T2: the sheet (dark -> light) */
.cp-site .cp-sheet {
  position: relative; z-index: var(--cp-z-sheet);
  margin-top: calc(-1 * var(--cp-r-sheet));
  border-radius: var(--cp-r-sheet) var(--cp-r-sheet) 0 0;
}
.cp-site .cp-band:has(+ .cp-sheet),
.cp-site .cp-band--before-sheet {
  padding-bottom: calc(var(--cp-section-y) + var(--cp-r-sheet));
}
/* T3: the thread (light -> light) */
.cp-site .cp-threaded > .cp-container {
  position: relative;
  padding-left: calc(var(--cp-gutter) + var(--cp-thread-indent));
}
.cp-site .cp-threaded::after {
  /* the rail, full section height so consecutive sections join */
  content: "";
  position: absolute; top: 0; bottom: 0; width: 1px; pointer-events: none;
  left: calc(max(0px, (100% - var(--cp-container)) / 2) + var(--cp-gutter) + var(--cp-thread-x));
  background: var(--cp-thread-color);
}
.cp-site .cp-threaded--first::after { top: calc(var(--cp-pt, var(--cp-section-y)) + 6px); }
.cp-site .cp-threaded--last::after {
  bottom: var(--cp-pb, var(--cp-section-y));
  background: linear-gradient(to bottom, var(--cp-thread-color) 70%, transparent);
}
/* the mark: put cp-thread-mark on the section's first element (its label, or its h2) */
.cp-site .cp-thread-mark:not(.cp-sticky) { position: relative; }
.cp-site .cp-thread-mark::before {
  content: "";
  position: absolute; top: calc(0.5lh - 5px);
  left: calc(var(--cp-thread-x) - var(--cp-thread-indent) - 4px);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cp-white);
  border: 1px solid rgba(24, 24, 27, 0.30);
  box-shadow: 0 0 0 4px var(--cp-thread-halo, var(--cp-ground));
}
.cp-site .cp-section--white .cp-thread-mark { --cp-thread-halo: var(--cp-white); }
.cp-site .cp-section--tint .cp-thread-mark { --cp-thread-halo: var(--cp-tint); }
/* wide screens: the rail moves into the gutter so content keeps the container edge */
@media (min-width: 1360px) {
  .cp-site { --cp-thread-x: -48px; --cp-thread-indent: 0px; }
}
/* phones: no thread, a plain hairline between sections */
@media (max-width: 767px) {
  .cp-site { --cp-thread-indent: 0px; }
  .cp-site .cp-threaded::after, .cp-site .cp-thread-mark::before { display: none; }
  .cp-site .cp-threaded + .cp-threaded { box-shadow: inset 0 1px 0 var(--cp-line); }
}
/* T4: the bridge (one element straddling a boundary, half in each section) */
.cp-site .cp-bridge {
  --cp-bridge-from: var(--cp-ground);
  --cp-bridge-to: var(--cp-white);
  position: relative; z-index: var(--cp-z-bridge);
  background: linear-gradient(to bottom, var(--cp-bridge-from) 50%, var(--cp-bridge-to) 50%);
}
.cp-site .cp-bridge--from-white { --cp-bridge-from: var(--cp-white); }
.cp-site .cp-bridge--from-tint { --cp-bridge-from: var(--cp-tint); }
.cp-site .cp-bridge--to-ground { --cp-bridge-to: var(--cp-ground); }
.cp-site .cp-bridge--to-tint { --cp-bridge-to: var(--cp-tint); }
.cp-site .cp-bridge--to-band { --cp-bridge-to: var(--cp-band); }
/* bridge + T1: the surface line runs behind the element at its middle */
.cp-site .cp-bridge--surface::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -0.5px;
  background: var(--cp-gradient);
  box-shadow: 0 2px 10px 0 rgba(133, 44, 254, 0.55);
  -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%);
}
.cp-site .cp-bridge--surface::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 120px;
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(133, 44, 254, 0.16), rgba(133, 44, 254, 0) 70%);
  pointer-events: none;
}
.cp-site .cp-bridge > .cp-container { position: relative; z-index: 1; }
/* --------------------------------------------------------------------------
   6. Type roles
   -------------------------------------------------------------------------- */
.cp-site .cp-h1 {
  font-size: var(--cp-fs-h1); font-weight: 400; letter-spacing: -0.05em; line-height: 1.05;
  color: var(--cp-ink);
  background: var(--cp-ink-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;           /* keeps descenders inside the clip */
  text-wrap: balance;
}
.cp-site .cp-h2 {
  font-size: var(--cp-fs-h2); font-weight: 400; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--cp-text); text-wrap: balance;
}
.cp-site .cp-question {
  font-size: var(--cp-fs-question); font-weight: 300; font-style: italic;
  letter-spacing: -0.02em; line-height: 1.2; color: var(--cp-text); text-wrap: pretty;
}
.cp-site .cp-h3 {
  font-size: var(--cp-fs-h3); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3;
  color: var(--cp-text);
}
.cp-site .cp-large {
  font-size: var(--cp-fs-large); font-weight: 300; letter-spacing: -0.015em; line-height: 1.45;
  color: var(--cp-text); text-wrap: pretty;
}
.cp-site .cp-lead {
  font-size: var(--cp-fs-lead); font-weight: 300; line-height: 1.55;
  color: var(--cp-text-muted); max-width: 40em; text-wrap: pretty;
}
.cp-site .cp-body { font-size: var(--cp-fs-body); font-weight: 300; line-height: 1.65; color: var(--cp-text-muted); max-width: var(--cp-measure); }
.cp-site .cp-small { font-size: var(--cp-fs-small); font-weight: 400; line-height: 1.5; color: var(--cp-text-muted); }
.cp-site .cp-label {
  display: block;
  font-size: var(--cp-fs-label); font-weight: 500; letter-spacing: 0.02em; line-height: 1.3;
  color: var(--cp-indigo-text);
}
.cp-site .cp-label a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.cp-site .cp-label a:hover { text-decoration-color: currentColor; }
.cp-site .cp-mono { font-family: var(--cp-mono); font-size: var(--cp-fs-mono); font-weight: 400; letter-spacing: 0; }
.cp-site .cp-text { color: var(--cp-text); }
.cp-site .cp-muted { color: var(--cp-text-muted); }
.cp-site .cp-prose a,
.cp-site a.cp-inline {
  color: var(--cp-text); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
  transition: text-decoration-color var(--cp-dur) var(--cp-ease);
}
.cp-site .cp-prose a:hover, .cp-site a.cp-inline:hover { text-decoration-color: currentColor; }
/* --------------------------------------------------------------------------
   7. Buttons, links, chips, badge
   -------------------------------------------------------------------------- */
.cp-site .cp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cp-space-3); }
.cp-site .cp-actions--center { justify-content: center; }
.cp-site .cp-btn {
  --cp-btn-arrow: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 28px;
  font-family: var(--cp-font); font-size: 14px; font-weight: 400; line-height: 1.2; white-space: nowrap;
  border-radius: var(--cp-r-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color var(--cp-dur) var(--cp-ease), border-color var(--cp-dur) var(--cp-ease),
  box-shadow var(--cp-dur) var(--cp-ease), transform var(--cp-dur) var(--cp-ease),
  background-position var(--cp-dur) var(--cp-ease), color var(--cp-dur) var(--cp-ease);
}
/* trailing arrow (primary, Core Check pill, View all pill, or any button with cp-btn--arrow) */
.cp-site .cp-btn--primary::after,
.cp-site .cp-btn--core::after,
.cp-site .cp-btn--pill::after,
.cp-site .cp-btn--arrow::after,
.cp-site .cp-link::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: var(--cp-arrow) center / contain no-repeat; mask: var(--cp-arrow) center / contain no-repeat;
  transition: transform var(--cp-dur) var(--cp-ease);
}
.cp-site .cp-btn:hover::after { transform: translateX(3px); }
.cp-site .cp-btn--no-arrow::after { display: none !important; }
.cp-site .cp-btn--primary { background: var(--cp-ink); color: #fff; }
.cp-site .cp-btn--primary:hover { background: var(--cp-ink-2); box-shadow: 0 6px 20px -8px rgba(24, 24, 27, 0.45); }
.cp-site .cp-btn--outline { background: var(--cp-white); color: var(--cp-ink); border-color: var(--cp-line); }
.cp-site .cp-btn--outline:hover { background: var(--cp-ground); border-color: var(--cp-line-strong); }
/* Round 2: every text button has the primary's form (8px radius, 48px tall, 13px 28px padding, 14px/400).
   Only the fill differs. */
.cp-site .cp-btn--core {
  border: 0; color: #fff;
  background-image: var(--cp-gradient); background-size: 140% 100%; background-position: 0 0;
  box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.55);
}
.cp-site .cp-btn--core:hover {
  background-position: 12% 0; transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(79, 70, 229, 0.65);
}
/* on dark grounds */
.cp-site .cp-btn--on-dark { background: #fff; color: var(--cp-ink); border-color: #fff; }
.cp-site .cp-btn--on-dark:hover { background: #F4F4F5; border-color: #F4F4F5; box-shadow: 0 6px 24px -8px rgba(0,0,0,.6); }
.cp-site .cp-btn--ghost-dark { background: rgba(255, 255, 255, 0.05); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.cp-site .cp-btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.35); }
/* glass: the live site's CTA-card button (dark translucent fill, white/15 border). Used automatically for
   .cp-btn--on-dark inside the closing card and the Core Check panel. */
.cp-site .cp-btn--glass,
.cp-site .cp-closing .cp-btn--on-dark,
.cp-site .cp-core .cp-btn--on-dark {
  background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cp-site .cp-btn--glass:hover,
.cp-site .cp-closing .cp-btn--on-dark:hover,
.cp-site .cp-core .cp-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.28); box-shadow: none;
}
.cp-site .cp-band--dark .cp-btn--core, .cp-site .cp-core .cp-btn--core, .cp-site .cp-closing .cp-btn--core { box-shadow: 0 10px 30px -10px rgba(133, 44, 254, 0.7); }
/* "View all": now the outline button with an arrow (kept for compatibility) */
.cp-site .cp-btn--pill { background: var(--cp-white); color: var(--cp-ink); border-color: var(--cp-line); }
.cp-site .cp-btn--pill:hover { border-color: var(--cp-line-strong); background: var(--cp-ground); }
/* the header Contact button: primary form without the arrow; 40px tall so it breathes in the 56px header */
.cp-site .cp-btn--contact { background: var(--cp-ink); color: #fff; min-height: 40px; padding-block: 9px; }
.cp-site .cp-btn--contact:hover { background: var(--cp-ink-2); }
@media (max-width: 479px) {
  .cp-site .cp-actions:not(.cp-actions--inline) > .cp-btn { width: 100%; }
}
/* text link with a moving arrow */
.cp-site .cp-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--cp-text); line-height: 1.4;
}
.cp-site .cp-link::after { width: 15px; height: 15px; }
.cp-site .cp-link:hover::after { transform: translateX(4px); }
.cp-site .cp-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--cp-dur) var(--cp-ease); }
.cp-site .cp-link:hover span { background-size: 100% 1px; }
/* chips */
.cp-site .cp-chips { display: flex; flex-wrap: wrap; gap: var(--cp-space-2); }
.cp-site .cp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--cp-r-full);
  border: 1px solid var(--cp-line-strong);
  font-size: 13px; font-weight: 400; line-height: 1.3; color: var(--cp-text-muted);
  background: transparent; white-space: nowrap;
}
.cp-site .cp-band--dark .cp-chip, .cp-site .cp-on-dark .cp-chip, .cp-site .cp-core .cp-chip { border-color: var(--cp-on-dark-line-strong); }
.cp-site .cp-chip--solid { background: var(--cp-white); border-color: var(--cp-line); color: var(--cp-ink); }
/* the "Enterprise system" badge */
.cp-site .cp-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: var(--cp-r-full);
  font-size: 12px; font-weight: 500; line-height: 1.3; white-space: nowrap;
}
.cp-site .cp-badge--enterprise {
  color: #FDE68A; background: rgba(252, 211, 77, 0.08); border: 1px solid rgba(252, 211, 77, 0.28);
}
.cp-site .cp-badge--enterprise::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FCD34D; }
/* --------------------------------------------------------------------------
   8. Header, breadcrumbs, footer
   -------------------------------------------------------------------------- */
.cp-site .cp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--cp-z-header);
  height: var(--cp-header-h);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(228, 228, 231, 0.6);
}
.cp-site .cp-header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--cp-space-5);
}
.cp-site .cp-header__logo { justify-self: start; display: inline-flex; }
.cp-site .cp-header__logo img { height: 40px; width: auto; }
.cp-site .cp-nav { display: flex; align-items: center; gap: 28px; }
.cp-site .cp-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 400; line-height: 1; color: var(--cp-muted);
  padding: 8px 0;
  transition: color var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-nav__link svg { width: 14px; height: 14px; opacity: 0.8; }
.cp-site .cp-nav__link:hover, .cp-site .cp-nav__link.is-current { color: var(--cp-navy); }
.cp-site .cp-nav__link.is-current { font-weight: 500; }
.cp-site .cp-header__end { justify-self: end; display: flex; align-items: center; gap: var(--cp-space-2); }
.cp-site .cp-menu-btn {
  display: none; width: 40px; height: 40px; border-radius: var(--cp-r-sm);
  align-items: center; justify-content: center; color: var(--cp-ink);
}
.cp-site .cp-menu-btn:hover { background: var(--cp-tint); }
.cp-site .cp-menu-btn svg { width: 20px; height: 20px; }
.cp-site .cp-menu-btn .cp-icon-close { display: none; }
.cp-site .cp-header.is-open .cp-menu-btn .cp-icon-open { display: none; }
.cp-site .cp-header.is-open .cp-menu-btn .cp-icon-close { display: block; }
.cp-site .cp-mobile-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: var(--cp-header-h);
  background: var(--cp-white); border-bottom: 1px solid var(--cp-line);
  box-shadow: 0 16px 32px -24px rgba(24, 24, 27, 0.35);
  padding: var(--cp-space-3) 0 var(--cp-space-5);
  max-height: calc(100vh - var(--cp-header-h)); overflow-y: auto;
}
.cp-site .cp-mobile-nav a { display: block; padding: 11px 0; font-size: 16px; font-weight: 400; color: var(--cp-ink); }
.cp-site .cp-mobile-nav a.is-current { color: var(--cp-navy); font-weight: 500; }
.cp-site .cp-mobile-nav .cp-mobile-nav__sub a { padding: 7px 0 7px 16px; font-size: 15px; color: var(--cp-muted); }
.cp-site .cp-mobile-nav hr { border: 0; border-top: 1px solid var(--cp-line); margin: var(--cp-space-2) 0; }
@media (max-width: 767px) {
  .cp-site .cp-header__inner { grid-template-columns: 1fr auto; }
  .cp-site .cp-nav { display: none; }
  .cp-site .cp-menu-btn { display: inline-flex; }
  .cp-site .cp-header__logo img { height: 34px; }
  .cp-site .cp-header.is-open { background: var(--cp-white); }
  .cp-site .cp-header.is-open .cp-mobile-nav { display: block; }
}
.cp-site .cp-crumbs { padding-top: calc(var(--cp-header-h) + var(--cp-space-5)); }
.cp-site .cp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13px; line-height: 1.5; color: var(--cp-muted); }
.cp-site .cp-crumbs li { display: inline-flex; align-items: center; }
.cp-site .cp-crumbs li + li::before { content: "›"; margin: 0 10px; color: #A1A1AA; }
.cp-site .cp-crumbs a { transition: color var(--cp-dur-fast) var(--cp-ease); }
.cp-site .cp-crumbs a:hover { color: var(--cp-navy); }
.cp-site .cp-crumbs [aria-current] { color: var(--cp-ink); }
.cp-site .cp-footer {
  position: relative;
  background: var(--cp-footer); color: var(--cp-footer-text);
  padding: var(--cp-space-8) 0 var(--cp-space-6);
}
.cp-site .cp-footer::before {
  /* gradient hairline at top centre */
  content: ""; position: absolute; top: 0; left: 50%; width: min(600px, 80%); height: 1px;
  transform: translateX(-50%); background: var(--cp-gradient); opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
.cp-site .cp-footer::after {
  content: ""; position: absolute; top: 0; left: 50%; width: min(600px, 80%); height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(133, 44, 254, 0.12), transparent 70%);
  pointer-events: none;
}
.cp-site .cp-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--cp-space-7); flex-wrap: wrap; }
.cp-site .cp-footer__logo img { height: 32px; width: auto; }
/* Imprint under the logo (owner's text, src/lib/company-imprint.ts) */
.cp-site .cp-footer__brand { display: flex; flex-direction: column; gap: var(--cp-space-5); max-width: 300px; }
.cp-site .cp-footer__brand .cp-footer__logo { align-self: flex-start; }
.cp-site .cp-footer__imprint {
  display: flex; flex-direction: column; gap: 2px;
  font-style: normal; font-size: 13px; line-height: 1.55; color: var(--cp-footer-text); /* #A1A1AA on #18181B: 6.9:1 */
}
.cp-site .cp-footer__imprint a { color: var(--cp-footer-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(161, 161, 170, 0.5); transition: color var(--cp-dur-fast) var(--cp-ease); }
.cp-site .cp-footer__imprint a:hover { color: #fff; text-decoration-color: currentColor; }
.cp-site .cp-footer__links {
  display: grid; grid-template-columns: repeat(6, auto); justify-content: end;
  gap: 12px 32px; font-size: 14px; line-height: 1.5;
}
.cp-site .cp-footer__links a { color: var(--cp-footer-text); transition: color var(--cp-dur-fast) var(--cp-ease); }
.cp-site .cp-footer__links a:hover { color: #fff; }
.cp-site .cp-footer__bottom {
  margin-top: var(--cp-space-7); padding-top: var(--cp-space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; justify-content: space-between; gap: var(--cp-space-4); flex-wrap: wrap;
  font-size: 12px; color: var(--cp-footer-text);
}
.cp-site .cp-footer__bottom a:hover { color: #fff; }
@media (max-width: 767px) {
  .cp-site .cp-footer { padding-bottom: 72px; }
  .cp-site .cp-footer__links { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
}
/* --------------------------------------------------------------------------
   9. Step track
   -------------------------------------------------------------------------- */
.cp-site .cp-steps {
  --node: 40px;
  --gap: var(--cp-col-gap);
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
}
.cp-site .cp-step { position: relative; }
.cp-site .cp-step__node {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: var(--node); height: var(--node); border-radius: 50%;
  margin-bottom: var(--cp-space-5);
  background: var(--cp-white); border: 1px solid var(--cp-line-strong);
  font-size: 14px; font-weight: 500; color: var(--cp-ink); font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--cp-steps-halo, var(--cp-ground));
}
.cp-site .cp-section--white .cp-steps { --cp-steps-halo: var(--cp-white); }
.cp-site .cp-section--tint .cp-steps { --cp-steps-halo: var(--cp-tint); }
.cp-site .cp-step__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; color: var(--cp-text); margin-bottom: var(--cp-space-2); }
.cp-site .cp-step__text { font-size: 15px; line-height: 1.6; color: var(--cp-text-muted); max-width: 30ch; }
/* the line: one segment per step, colors sampled along the gradient so it reads continuous */
.cp-site .cp-step:not(:last-child)::after {
  content: ""; position: absolute;
  top: calc(var(--node) / 2); left: calc(var(--node) + 6px);
  width: calc(100% + var(--gap) - var(--node) - 12px); height: 1px;
  background: linear-gradient(90deg, var(--a), var(--b));
  opacity: 0.55;
}
.cp-site .cp-step:nth-child(1) { --a: var(--cp-grad-0); --b: var(--cp-grad-1); }
.cp-site .cp-step:nth-child(2) { --a: var(--cp-grad-1); --b: var(--cp-grad-2); }
.cp-site .cp-step:nth-child(3) { --a: var(--cp-grad-2); --b: var(--cp-grad-3); }
@media (max-width: 767px) {
  .cp-site .cp-steps { grid-template-columns: 1fr; gap: var(--cp-space-6); }
  .cp-site .cp-step { padding-left: calc(var(--node) + 20px); min-height: var(--node); }
  .cp-site .cp-step__node { position: absolute; left: 0; top: -6px; margin: 0; }
  .cp-site .cp-step__text { max-width: none; }
  .cp-site .cp-step:not(:last-child)::after {
    top: calc(var(--node) + 2px); left: calc(var(--node) / 2);
    width: 1px; height: auto; bottom: calc(-1 * var(--gap) + 2px);
    background: linear-gradient(180deg, var(--a), var(--b));
  }
}
/* --------------------------------------------------------------------------
   10. Core Check panel
   -------------------------------------------------------------------------- */
.cp-site .cp-core {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: var(--cp-space-8); align-items: center;
  padding: var(--cp-space-8);
  border-radius: var(--cp-r-xl);
  border: 1px solid transparent;
  /* the dark surface, with Core Check's own 1px gradient edge */
  background:
  radial-gradient(ellipse 55% 85% at 6% 62%, var(--cp-dark-glow-green) 0%, rgba(52, 211, 153, 0) 72%) padding-box,
  radial-gradient(ellipse 55% 85% at 94% 38%, var(--cp-dark-glow-purple) 0%, rgba(99, 102, 241, 0) 72%) padding-box,
  linear-gradient(var(--cp-dark), var(--cp-dark)) padding-box,
  linear-gradient(115deg, rgba(11, 64, 254, 0.75) 0%, rgba(133, 44, 254, 0.30) 45%, rgba(133, 44, 254, 0.22) 60%, rgba(242, 27, 254, 0.7) 100%) border-box;
  box-shadow: var(--cp-dark-shadow);
}
.cp-site .cp-core__copy > .cp-label { margin-bottom: var(--cp-space-4); }
.cp-site .cp-core__copy > .cp-h2 { font-size: clamp(28px, 2.6vw, 38px); }
.cp-site .cp-core__copy > p:not(.cp-label) { margin-top: var(--cp-space-4); color: var(--cp-on-dark-muted); max-width: 52ch; }
.cp-site .cp-core__copy > .cp-h2 + p { margin-top: var(--cp-space-5); }
.cp-site .cp-core__copy > .cp-actions { margin-top: var(--cp-space-6); }
.cp-site .cp-core__copy > .cp-chips { margin-top: var(--cp-space-5); }
.cp-site .cp-core__tool {
  position: relative;
  padding: var(--cp-space-2) var(--cp-space-6);
  border-radius: var(--cp-r-lg);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--cp-on-dark-line);
}
.cp-site .cp-core__row { padding: 22px 0 24px; }
.cp-site .cp-core__row + .cp-core__row { border-top: 1px solid var(--cp-on-dark-line); }
.cp-site .cp-core__statement { font-size: 15px; font-weight: 400; line-height: 1.45; color: #E6E9F5; margin-bottom: 16px; }
.cp-site .cp-core__slider {
  --p: 0.5;
  position: relative; height: 4px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.cp-site .cp-core__slider::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px;
  width: calc(var(--p) * 100%);
  background: var(--cp-gradient); background-size: calc(100% / var(--p)) 100%;
}
.cp-site .cp-core__slider::after {
  content: ""; position: absolute; top: 50%; left: calc(var(--p) * 100%);
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 5px rgba(133, 44, 254, 0.22), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.cp-site .cp-core__scale { display: flex; justify-content: space-between; margin-top: 10px; }
.cp-site .cp-core__scale i { width: 1px; height: 5px; background: rgba(255, 255, 255, 0.18); }
@media (max-width: 1023px) {
  .cp-site .cp-core { grid-template-columns: 1fr; gap: var(--cp-space-7); padding: var(--cp-space-7); }
}
@media (max-width: 767px) {
  .cp-site .cp-core { padding: var(--cp-space-6) 22px; gap: var(--cp-space-6); }
  .cp-site .cp-core__tool { padding: 0 18px; }
  .cp-site .cp-core__row { padding: 18px 0 20px; }
}
/* --------------------------------------------------------------------------
   11. Closing call-to-action band and the dot-field echo
   -------------------------------------------------------------------------- */
/* Round 2: a rounded dark card inset in the container, on a light ground, before the footer.
   Markup unchanged: the section is the light ground, .cp-closing__inner is the card.
   The T1 surface line before it and the dot field inside it are hidden (both may be deleted from markup). */
.cp-site .cp-band.cp-closing,
.cp-site .cp-surface + .cp-band.cp-closing {
  --cp-closing-ground: var(--cp-ground);
  text-align: center;
  padding-block: 0 var(--cp-section-y);
  background: var(--cp-closing-ground);
  color: var(--cp-ink);
  --cp-text: var(--cp-ink); --cp-text-muted: var(--cp-muted); --cp-hairline: var(--cp-line);
}
.cp-site .cp-band.cp-closing.cp-closing--white, .cp-site .cp-surface + .cp-band.cp-closing.cp-closing--white { --cp-closing-ground: var(--cp-white); }
.cp-site .cp-surface:has(+ .cp-closing) { display: none; }
.cp-site .cp-closing > .cp-dotfield { display: none; }
.cp-site .cp-closing__inner.cp-container,
.cp-site .cp-closing__inner {
  position: relative; z-index: 1;
  width: calc(100% - 2 * var(--cp-gutter)); max-width: 1200px; margin-inline: auto;
  padding: var(--cp-space-9) var(--cp-space-8);
  border-radius: var(--cp-r-xl);
  background: var(--cp-dark-surface);
  border: 1px solid var(--cp-dark-border);
  box-shadow: var(--cp-dark-shadow);
}
.cp-site .cp-closing__title {
  max-width: 820px; margin-inline: auto;
  font-size: clamp(32px, 3.8vw, 52px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.08;
  color: #fff; text-wrap: balance;
}
.cp-site .cp-closing__text {
  margin: var(--cp-space-5) auto 0; max-width: 40em;
  font-size: var(--cp-fs-lead); line-height: 1.55; color: var(--cp-footer-text); text-wrap: pretty;
}
.cp-site .cp-closing__inner > .cp-actions { margin-top: var(--cp-space-7); justify-content: center; }
@media (max-width: 1023px) {
  .cp-site .cp-closing__inner.cp-container, .cp-site .cp-closing__inner { padding: var(--cp-space-8) var(--cp-space-7); }
}
@media (max-width: 767px) {
  .cp-site .cp-closing__inner.cp-container, .cp-site .cp-closing__inner { padding: var(--cp-space-7) 22px; }
}
.cp-site .cp-dotfield {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  --x: 80%;
}
.cp-site .cp-dotfield::before,
.cp-site .cp-dotfield::after {
  content: ""; position: absolute; inset: 0;
  background-size: 30px 30px; background-position: center center;
}
.cp-site .cp-dotfield::before {
  /* the people: plain grey dots */
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.3px, transparent 1.9px);
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 55%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 75% at 50% 55%, #000 0%, transparent 78%);
}
.cp-site .cp-dotfield::after {
  /* the scanned side: the same dots, lit */
  background-image: radial-gradient(circle, rgba(165, 180, 252, 0.55) 1.3px, transparent 2px);
  -webkit-mask-image: linear-gradient(90deg, transparent var(--x), #000 calc(var(--x) + 1%), transparent 92%),
  radial-gradient(ellipse 60% 75% at 50% 55%, #000 0%, transparent 78%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent var(--x), #000 calc(var(--x) + 1%), transparent 92%),
  radial-gradient(ellipse 60% 75% at 50% 55%, #000 0%, transparent 78%);
  mask-composite: intersect;
}
.cp-site .cp-dotfield__line {
  position: absolute; top: 8%; bottom: 8%; left: var(--x); width: 1px;
  background: var(--cp-gradient-v); opacity: 0.45;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
@media (max-width: 767px) {
  .cp-site .cp-dotfield { --x: 88%; }
  .cp-site .cp-dotfield__line { display: none; }
}
/* --------------------------------------------------------------------------
   12. Figures (light by default, dark inside dark surfaces): instrument panel, stat cards, pills, meters
   -------------------------------------------------------------------------- */
.cp-site .cp-figure { container-type: inline-size; }
.cp-site .cp-figure + .cp-figcaption, .cp-site .cp-figure > .cp-figcaption { margin-top: var(--cp-space-4); }
.cp-site .cp-figcaption {
  display: block; font-size: 13px; line-height: 1.5; color: var(--cp-text-muted);
}
.cp-site .cp-figcaption::before {
  content: ""; display: inline-block; width: 16px; height: 1px; margin-right: 10px;
  vertical-align: middle; background: currentColor; opacity: 0.6;
}
/* Round 2: every figure piece draws from the --fig-* tokens: light by default, dark inside a dark surface
   (.cp-band--dark, .cp-on-dark, .cp-core, the closing card, .cp-dark-surface, .cp-fig-dark).
   .cp-fig-light forces light inside a dark band. */
.cp-site .cp-instrument {
  container-type: inline-size;
  position: relative;
  background: var(--fig-bg);
  border: 1px solid var(--fig-line);
  border-radius: var(--cp-r-lg);
  box-shadow: var(--fig-shadow);
  padding: var(--cp-space-5) var(--cp-space-6) var(--cp-space-6);
  color: var(--fig-text);
  --cp-text: var(--fig-text); --cp-text-muted: var(--fig-muted); --cp-hairline: var(--fig-line);
}
.cp-site .cp-instrument__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px var(--cp-space-5);
  padding-bottom: var(--cp-space-4); margin-bottom: var(--cp-space-5);
  border-bottom: 1px solid var(--fig-line);
}
.cp-site .cp-instrument__title { font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--fig-text); letter-spacing: -0.005em; }
.cp-site .cp-instrument__meta { font-family: var(--cp-mono); font-size: 12px; line-height: 1.5; color: var(--fig-muted); }
.cp-site .cp-instrument--flush { padding: 0; overflow: hidden; }
@media (max-width: 767px) {
  .cp-site .cp-instrument { padding: var(--cp-space-4) 18px var(--cp-space-5); }
}
/* the small "sample" tag (figure heads, stat cards) */
.cp-site .cp-sample {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 4px;
  border: 1px solid var(--fig-line);
  font-family: var(--cp-mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.08em;
  line-height: 1.5; color: var(--fig-muted); white-space: nowrap;
}
/* stat cards */
.cp-site .cp-stats { display: grid; grid-template-columns: 1fr; gap: var(--cp-space-3); }
@container (min-width: 520px) {
  .cp-site .cp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (min-width: 900px) {
  .cp-site .cp-stats { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
}
.cp-site .cp-stats--3 { --cols: 3; }
@container (min-width: 720px) {
  .cp-site .cp-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* exactly three cards: 2 + 1 (third full width) from 520px, 3 across from 720px (--3) or 4-col rule at 900px */
@container (min-width: 520px) and (max-width: 719px) {
  .cp-site .cp-stats:has(> :nth-child(3):last-child) > :nth-child(3) { grid-column: 1 / -1; }
}
@container (min-width: 720px) and (max-width: 899px) {
  .cp-site .cp-stats:not(.cp-stats--3):has(> :nth-child(3):last-child) > :nth-child(3) { grid-column: 1 / -1; }
}
.cp-site .cp-stats--align-start { align-items: start; }
.cp-site .cp-stat {
  --tone: var(--fig-info); --tone-bar: linear-gradient(90deg, #0369A1, #22D3EE);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px 24px;
  background: var(--fig-bg);
  border: 1px solid var(--fig-line);
  border-radius: var(--cp-r-md);
  box-shadow: var(--fig-shadow);
  color: var(--fig-text);
}
.cp-site .cp-stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tone-bar); }
.cp-site .cp-stat--rose { --tone: var(--fig-risk); --tone-bar: linear-gradient(90deg, #F43F5E, #FDA4AF); }
.cp-site .cp-stat--blue { --tone: var(--fig-info); --tone-bar: linear-gradient(90deg, #0369A1, #22D3EE); }
.cp-site .cp-stat--emerald { --tone: var(--fig-ok);   --tone-bar: var(--cp-emerald-bar); }
.cp-site .cp-stat--amber { --tone: var(--fig-warn); --tone-bar: var(--cp-amber-bar); }
.cp-site .cp-stat--muted { background: var(--fig-panel); border-style: dashed; border-color: var(--fig-line-strong); box-shadow: none; }
.cp-site .cp-stat--muted::before { opacity: 0.6; }
.cp-site .cp-stat__top { display: flex; justify-content: space-between; align-items: center; gap: var(--cp-space-3); width: 100%; flex-wrap: wrap; }
.cp-site .cp-stat__label {
  font-family: var(--cp-mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.4; color: var(--fig-muted);
}
.cp-site .cp-stat__value {
  margin-top: 18px;
  font-size: clamp(26px, 2.3vw, 32px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--fig-text); font-variant-numeric: tabular-nums;
}
.cp-site .cp-stat__value--sm { font-size: clamp(22px, 1.9vw, 26px); }
.cp-site .cp-stat__note { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--fig-muted); }
.cp-site .cp-stat__range { margin-top: 8px; font-family: var(--cp-mono); font-size: 12px; line-height: 1.5; color: var(--fig-muted); font-variant-numeric: tabular-nums; }
.cp-site .cp-stat > .cp-pill { margin-top: auto; }
.cp-site .cp-stat__note + .cp-pill, .cp-site .cp-stat__range + .cp-pill { margin-top: 20px; }
.cp-site .cp-stat__spacer { flex: 1; min-height: 20px; }
/* status pills: light tint + dark colored text on light; pastel on dark */
.cp-site .cp-pill {
  --tone: var(--fig-info);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 9px; border-radius: var(--cp-r-full);
  font-size: 12px; font-weight: 500; line-height: 1.3; white-space: nowrap;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent);
}
.cp-site .cp-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cp-site .cp-pill--diamond::before { border-radius: 1px; transform: rotate(45deg); width: 6px; height: 6px; }
.cp-site .cp-pill--rose { --tone: var(--fig-risk); }
.cp-site .cp-pill--blue { --tone: var(--fig-info); }
.cp-site .cp-pill--emerald { --tone: var(--fig-ok); }
.cp-site .cp-pill--amber { --tone: var(--fig-warn); }
.cp-site .cp-pill--neutral { --tone: var(--fig-muted); }
/* horizontal meters: label, track, fill, value. Fill runs from 0 when the view gets is-entered */
.cp-site .cp-meters { --cp-meter-label: 168px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.cp-site .cp-meter {
  --v: 0.5; --i: 0;
  --track: var(--fig-line); --fill: var(--fig-accent); --value-c: var(--fig-text);
  display: grid; grid-template-columns: var(--cp-meter-label) minmax(0, 1fr) 40px; align-items: center; gap: 4px var(--cp-space-5);
}
.cp-site .cp-meters--status .cp-meter { grid-template-columns: var(--cp-meter-label) minmax(0, 1fr) 40px 64px; }
.cp-site .cp-meter__label { font-size: 14px; font-weight: 400; line-height: 1.35; color: var(--fig-text); }
.cp-site .cp-meter__track { position: relative; height: 6px; border-radius: 3px; background: var(--track); }
.cp-site .cp-meter__fill {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit;
  width: calc(var(--v) * 100%); background: var(--fill);
  transform: scaleX(1); transform-origin: left center;
  transition: transform var(--cp-dur-enter) var(--cp-ease-out) calc(250ms + var(--i) * 110ms);
}
/* Start state only with JavaScript (port deviation: without JS every meter shows its final state) */
.cp-js .cp-site:not(.is-entered) .cp-meter__fill { transform: scaleX(0); }
.cp-js .cp-site .cp-meters--static .cp-meter__fill { transform: scaleX(1); }
/* inside [data-inview] (or on .cp-meters itself): wait for is-inview instead of is-entered.
   Specificity is deliberately higher than the .is-entered rule above. Needs html.cp-js. */
.cp-js .cp-site [data-inview] .cp-meter__fill { transform: scaleX(0); }
.cp-js .cp-site [data-inview].is-inview .cp-meter__fill, .cp-js .cp-site [data-inview] .cp-meters--static .cp-meter__fill, .cp-js .cp-site .cp-meters--static[data-inview] .cp-meter__fill { transform: scaleX(1); }
.cp-site .cp-meter__value { font-family: var(--cp-mono); font-size: 13px; text-align: right; color: var(--value-c); font-variant-numeric: tabular-nums; }
.cp-site .cp-meter__status { font-size: 12px; font-weight: 500; color: var(--fill); }
.cp-site .cp-meter--healthy { --fill: var(--fig-ok); }
.cp-site .cp-meter--caution { --fill: var(--fig-warn); }
.cp-site .cp-meter--risk { --fill: var(--fig-risk); }
/* thresholds at 0.4 and 0.7 (ticks on the track) */
.cp-site .cp-meters--thresholds .cp-meter__track::before,
.cp-site .cp-meters--thresholds .cp-meter__track::after {
  content: ""; position: absolute; top: -4px; bottom: -4px; width: 1px; z-index: 1;
  background: var(--tick, var(--fig-line-strong));
}
.cp-site .cp-meters--thresholds .cp-meter__track::before { left: 40%; }
.cp-site .cp-meters--thresholds .cp-meter__track::after { left: 70%; }
.cp-site .cp-meter-scale {
  display: grid; grid-template-columns: var(--cp-meter-label) minmax(0, 1fr) 40px; gap: var(--cp-space-5);
  font-family: var(--cp-mono); font-size: 11px; color: var(--fig-muted);
  margin-top: -6px;
}
.cp-site .cp-meters--status + .cp-meter-scale, .cp-site .cp-meters--status .cp-meter-scale { grid-template-columns: var(--cp-meter-label) minmax(0, 1fr) 40px 64px; }
.cp-site .cp-meter-scale__axis { position: relative; height: 1.4em; }
.cp-site .cp-meter-scale__axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.cp-site .cp-meter-scale__axis span:first-child { transform: none; }
.cp-site .cp-meter-scale__axis span:last-child { transform: translateX(-100%); }
@media (max-width: 559px) {
  .cp-site .cp-meter, .cp-site .cp-meters--status .cp-meter { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 8px; }
  .cp-site .cp-meter__label { grid-column: 1; grid-row: 1; }
  .cp-site .cp-meter__value { grid-column: 2; grid-row: 1; }
  .cp-site .cp-meter__status { grid-column: 3; grid-row: 1; text-align: right; }
  .cp-site .cp-meter__track { grid-column: 1 / -1; grid-row: 2; }
  .cp-site .cp-meter-scale, .cp-site .cp-meters--status + .cp-meter-scale, .cp-site .cp-meters--status .cp-meter-scale { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .cp-site .cp-meter-scale > :not(.cp-meter-scale__axis) { display: none; }
}
/* the quiet bordered note */
.cp-site .cp-note {
  max-width: 880px;
  padding: var(--cp-space-5) var(--cp-space-6);
  border: 1px solid var(--cp-hairline);
  border-radius: var(--cp-r-md);
  font-size: 15px; line-height: 1.65; color: var(--cp-text-muted);
}
.cp-site .cp-note strong { color: var(--cp-text); font-weight: 500; }
@media (max-width: 767px) {
  .cp-site .cp-note { padding: 18px 20px; }
}
/* --------------------------------------------------------------------------
   13. Ruled list and ledger rows
   -------------------------------------------------------------------------- */
.cp-site .cp-rules { border-bottom: 1px solid var(--cp-hairline); }
.cp-site .cp-rule {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px var(--cp-space-5);
  padding: 28px 0;
  border-top: 1px solid var(--cp-hairline);
}
.cp-site .cp-rule__icon { width: 28px; height: 28px; color: var(--cp-navy); margin-top: 1px; }
.cp-site .cp-rule__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cp-site .cp-rule__title { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4; color: var(--cp-text); }
.cp-site .cp-rule__text { margin-top: 6px; font-size: 16px; line-height: 1.65; color: var(--cp-text-muted); max-width: var(--cp-measure); }
.cp-site .cp-rule > .cp-rule__title, .cp-site .cp-rule > .cp-rule__text { grid-column: 2; }
/* split: icon | title | text on one row from 900px */
@media (min-width: 900px) {
  .cp-site .cp-rules--split .cp-rule { grid-template-columns: 28px minmax(0, 15em) minmax(0, 1fr); column-gap: var(--cp-space-6); }
  .cp-site .cp-rules--split .cp-rule__text { margin-top: 0; grid-column: 3; }
  .cp-site .cp-rules--split .cp-rule > .cp-rule__title { grid-column: 2; }
}
.cp-site .cp-band--dark .cp-rule__icon, .cp-site .cp-on-dark .cp-rule__icon { color: var(--cp-indigo-soft); }
.cp-site .cp-ledger { border-bottom: 1px solid var(--cp-line); }
.cp-site .cp-ledger > li + li { border-top: 1px solid var(--cp-line); }
.cp-site .cp-ledger > li:first-child { border-top: 1px solid var(--cp-line); }
.cp-site .cp-ledger__row {
  position: relative;
  display: grid; grid-template-columns: 48px minmax(0, 15em) minmax(0, 1fr) 44px; align-items: center;
  gap: var(--cp-space-6);
  padding: 34px var(--cp-space-5);
  margin-inline: calc(-1 * var(--cp-space-5));
  border-radius: var(--cp-r-md);
  color: var(--cp-text);
  transition: background-color var(--cp-dur) var(--cp-ease);
}
.cp-site a.cp-ledger__row:hover { background: rgba(244, 244, 245, 0.9); }
.cp-site .cp-section--tint a.cp-ledger__row:hover { background: rgba(255, 255, 255, 0.8); }
.cp-site .cp-ledger__glyph { width: 40px; height: 40px; color: var(--cp-navy); }
.cp-site .cp-ledger__glyph svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cp-site .cp-ledger__name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.cp-site .cp-ledger__name .cp-badge { margin-top: 10px; }
.cp-site .cp-ledger__text {
  font-size: clamp(20px, 2vw, 28px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.3; color: var(--cp-text);
  text-wrap: pretty;
}
.cp-site .cp-ledger--questions .cp-ledger__text { font-style: italic; }
.cp-site .cp-ledger__arrow {
  justify-self: end;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--cp-r-sm);
  border: 1px solid var(--cp-line); color: var(--cp-ink);
  transition: border-color var(--cp-dur) var(--cp-ease), background-color var(--cp-dur) var(--cp-ease), color var(--cp-dur) var(--cp-ease);
}
.cp-site .cp-ledger__arrow::after {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--cp-arrow) center / contain no-repeat; mask: var(--cp-arrow) center / contain no-repeat;
  transition: transform var(--cp-dur) var(--cp-ease);
}
.cp-site a.cp-ledger__row:hover .cp-ledger__arrow { border-color: var(--cp-ink); background: var(--cp-ink); color: #fff; }
.cp-site a.cp-ledger__row:hover .cp-ledger__arrow::after { transform: translateX(3px); }
/* the dark (enterprise) row */
.cp-site .cp-ledger > li:has(> .cp-ledger__row--dark) { border-top-color: transparent; }
.cp-site .cp-ledger > li:has(> .cp-ledger__row--dark) + li { border-top-color: transparent; }
.cp-site .cp-ledger:has(> li:last-child > .cp-ledger__row--dark) { border-bottom-color: transparent; }
.cp-site .cp-ledger__row--dark {
  margin-block: 10px;
  background: var(--cp-dark-surface);
  border: 1px solid var(--cp-dark-border);
  box-shadow: 0 8px 30px rgba(17, 18, 22, 0.18);
}
.cp-site .cp-ledger__row--dark .cp-ledger__glyph { color: var(--cp-indigo-soft); }
.cp-site a.cp-ledger__row--dark:hover { background: radial-gradient(ellipse 55% 85% at 6% 62%, rgba(52, 211, 153, 0.16), rgba(52, 211, 153, 0) 72%), radial-gradient(ellipse 55% 85% at 94% 38%, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0) 72%), linear-gradient(var(--cp-band-raised), var(--cp-band-raised)); }
.cp-site .cp-ledger__row--dark .cp-ledger__arrow { border-color: var(--cp-on-dark-line-strong); color: #fff; }
.cp-site a.cp-ledger__row--dark:hover .cp-ledger__arrow { background: #fff; border-color: #fff; color: var(--cp-ink); }
@media (max-width: 899px) {
  .cp-site .cp-ledger__row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    grid-template-areas: "glyph name arrow" "text text text";
    gap: 16px var(--cp-space-4);
    padding: 26px var(--cp-space-4);
    margin-inline: calc(-1 * var(--cp-space-4));
  }
  .cp-site .cp-ledger__glyph { grid-area: glyph; }
  .cp-site .cp-ledger__name { grid-area: name; }
  .cp-site .cp-ledger__text { grid-area: text; }
  .cp-site .cp-ledger__arrow { grid-area: arrow; }
}
@media (max-width: 767px) {
  .cp-site .cp-ledger__row { margin-inline: -12px; padding: 24px 12px; }
  .cp-site .cp-ledger__row--dark { margin-inline: 0; padding-inline: 18px; }
}
/* --------------------------------------------------------------------------
   14. Port additions for the Next.js site (not in the design's base.css)
   -------------------------------------------------------------------------- */

/* Surface line above a light section: the quiet neutral grey shade instead of the violet glow
   (ported from the design's #view-home .hm-surface; emitted by <SurfaceLine to="tint|ground|white">). */
.cp-site .cp-surface--neutral::after {
  height: 96px;
  background:
    radial-gradient(ellipse 38% 22px at 50% 0, rgba(24, 24, 27, 0.07), rgba(24, 24, 27, 0) 100%),
    radial-gradient(ellipse 60% 96px at 50% 0, rgba(24, 24, 27, 0.035), rgba(24, 24, 27, 0) 100%);
}
.cp-site .cp-surface--neutral .cp-surface__line { box-shadow: 0 1px 6px 0 rgba(24, 24, 27, 0.12); }
.cp-site .cp-surface--neutral .cp-surface__dots i { box-shadow: 0 3px 6px -2px rgba(24, 24, 27, 0.18); }

/* Skip link */
.cp-site .cp-skip {
  position: absolute; left: 16px; top: 16px; z-index: 100;
  padding: 8px 12px; border-radius: var(--cp-r-sm);
  background: var(--cp-white); border: 1px solid var(--cp-line); color: var(--cp-ink);
  font-size: 14px; font-weight: 400;
  transform: translateY(-200%);
}
.cp-site .cp-skip:focus { position: fixed; transform: none; }

/* Header: the Solutions panel (today's two- and three-level menus, restyled with kit tokens) */
.cp-site .cp-nav { position: relative; }
.cp-site .cp-nav__item { position: relative; display: inline-flex; align-items: center; }
.cp-site .cp-nav__item--wide { position: static; }
.cp-site .cp-nav__link svg { transition: transform var(--cp-dur-fast) var(--cp-ease); }
.cp-site .cp-nav__item:hover > .cp-nav__link svg,
.cp-site .cp-nav__item:focus-within > .cp-nav__link svg { transform: rotate(180deg); }
.cp-site .cp-nav__panel {
  position: absolute; top: 100%; left: 50%; z-index: 10;
  padding-top: 14px;
  transform: translateX(-50%);
  visibility: hidden; opacity: 0;
  transition: opacity 150ms var(--cp-ease), visibility 150ms var(--cp-ease);
}
.cp-site .cp-nav__item:hover > .cp-nav__panel,
.cp-site .cp-nav__item:focus-within > .cp-nav__panel { visibility: visible; opacity: 1; }
.cp-site .cp-nav__menu {
  min-width: 220px; padding: var(--cp-space-2);
  background: var(--cp-white); border: 1px solid var(--cp-line); border-radius: var(--cp-r-sm);
  box-shadow: 0 16px 32px -24px rgba(24, 24, 27, 0.35), 0 1px 2px rgba(24, 24, 27, 0.04);
}
.cp-site .cp-nav__menu a {
  display: block; padding: 8px 12px; border-radius: var(--cp-r-sm);
  font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--cp-ink-2); white-space: nowrap;
  transition: background-color var(--cp-dur-fast) var(--cp-ease), color var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-nav__menu a:hover { background: var(--cp-ground); color: var(--cp-navy); }
.cp-site .cp-nav__menu a.is-current { color: var(--cp-navy); font-weight: 500; }
.cp-site .cp-nav__menu--wide {
  width: min(720px, calc(100vw - 48px));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  padding: var(--cp-space-3);
}
.cp-site .cp-nav__group { padding: var(--cp-space-4); border-radius: var(--cp-r-sm); transition: background-color var(--cp-dur-fast) var(--cp-ease); }
.cp-site .cp-nav__group:hover { background: var(--cp-ground); }
.cp-site .cp-nav__menu--wide .cp-nav__group-link {
  display: inline-block; padding: 0; border-radius: 0;
  font-size: 14px; font-weight: 500; color: var(--cp-ink); white-space: normal;
}
.cp-site .cp-nav__menu--wide .cp-nav__group-link:hover { background: none; }
.cp-site .cp-nav__group ul { margin-top: var(--cp-space-2); }
.cp-site .cp-nav__menu--wide .cp-nav__group ul a {
  padding: 4px 0; border-radius: 0; font-size: 14px; color: var(--cp-muted); white-space: normal;
}
.cp-site .cp-nav__menu--wide .cp-nav__group ul a:hover { background: none; color: var(--cp-navy); }
.cp-site .cp-nav__menu--wide .cp-nav__group a.is-current { color: var(--cp-navy); }

/* Header: the Solutions mega menu (menu study option 2, two panes; NextSolutionsMenu.tsx).
   The panel spans the header and aligns with the 1280px container. Without JavaScript it opens on hover
   and focus-within (rules above); with JavaScript only the `is-open` state opens it. */
.cp-site .cp-nav__item--mega { position: relative; } /* the panel is fixed: unaffected */
/* bridge from the item down to the panel (header gap + 8px), part of the item so its hover holds */
.cp-site .cp-nav__item--mega::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: 24px; pointer-events: none; }
.cp-site .cp-nav__item--mega:hover::after,
.cp-site .cp-nav__item--mega:focus-within::after { pointer-events: auto; }
.cp-js .cp-site .cp-nav__item--mega:not(.is-open)::after { pointer-events: none; }
.cp-js .cp-site .cp-nav__item--mega.is-open::after { pointer-events: auto; }
.cp-site .cp-mega-wrap {
  position: fixed; top: var(--cp-header-h); left: 0; right: 0; transform: none;
  padding-top: 8px; pointer-events: none;
}
/* Only the "Solutions" item opens the menu: a closed (or fading) panel is never hit, so hovering the area
   it would cover does nothing. The wrapper never takes the pointer; the panel and the 8px bridge under the
   header take it only while open (no JS: item hover/focus-within; JS: is-open). */
.cp-site .cp-mega-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; pointer-events: none; }
.cp-site .cp-nav__item--mega:hover > .cp-mega-wrap::before,
.cp-site .cp-nav__item--mega:focus-within > .cp-mega-wrap::before,
.cp-site .cp-nav__item--mega:hover > .cp-mega-wrap .cp-mega,
.cp-site .cp-nav__item--mega:focus-within > .cp-mega-wrap .cp-mega { pointer-events: auto; }
.cp-js .cp-site .cp-nav__item--mega:not(.is-open) > .cp-mega-wrap::before,
.cp-js .cp-site .cp-nav__item--mega:not(.is-open) > .cp-mega-wrap .cp-mega { pointer-events: none; }
.cp-js .cp-site .cp-nav__item--mega.is-open > .cp-mega-wrap::before,
.cp-js .cp-site .cp-nav__item--mega.is-open > .cp-mega-wrap .cp-mega { pointer-events: auto; }
.cp-js .cp-site .cp-nav__item--mega > .cp-mega-wrap { visibility: hidden; opacity: 0; pointer-events: none; }
.cp-js .cp-site .cp-nav__item--mega.is-open > .cp-mega-wrap {
  visibility: visible; opacity: 1;
  transition: opacity 150ms var(--cp-ease), visibility 0s; /* focusable at once (keyboard) */
}
.cp-js .cp-site .cp-nav__item--mega:hover > .cp-nav__link svg,
.cp-js .cp-site .cp-nav__item--mega:focus-within > .cp-nav__link svg { transform: none; }
.cp-js .cp-site .cp-nav__item--mega.is-open > .cp-nav__link svg { transform: rotate(180deg); }
.cp-site .cp-nav__item--mega > .cp-nav__link {
  padding: 8px 10px; margin: 0 -10px; border-radius: var(--cp-r-sm);
  transition: color var(--cp-dur-fast) var(--cp-ease), background-color var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-nav__item--mega > .cp-nav__link.is-open { color: var(--cp-ink); background: var(--cp-tint); }
.cp-site .cp-nav__item--mega > .cp-nav__link.is-open.is-current { color: var(--cp-navy); }

.cp-site .cp-mega {
  pointer-events: none;
  display: grid; grid-template-columns: 400px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - var(--cp-header-h) - 24px); overflow: auto; overscroll-behavior: contain;
  background: var(--cp-white); border: 1px solid var(--cp-line); border-radius: var(--cp-r-lg);
  box-shadow: 0 32px 64px -24px rgba(24, 24, 27, 0.22), 0 8px 16px -8px rgba(24, 24, 27, 0.06);
  text-align: left;
}
.cp-site .cp-mega svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* left pane: the solutions */
.cp-site .cp-mega__list,
.cp-site .cp-mega__foot { grid-column: 1; background: var(--cp-ground); border-right: 1px solid var(--cp-line); }
.cp-site .cp-mega__list { grid-row: 1; display: grid; gap: 4px; align-content: start; padding: 16px 16px 24px; }
.cp-site .cp-mega__foot { grid-row: 2; padding: 0 16px 16px; }
.cp-site .cp-mega__foot::before { content: ""; display: block; border-top: 1px solid var(--cp-line); margin-bottom: 16px; }
.cp-site .cp-mega__foot .cp-link { margin: 4px 16px 6px; font-size: 14px; }
.cp-site .cp-mega__sol {
  position: relative;
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: 12px; border: 1px solid transparent;
  transition: background-color var(--cp-dur-fast) var(--cp-ease), border-color var(--cp-dur-fast) var(--cp-ease),
    box-shadow var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-mega__sol::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--cp-gradient-v); opacity: 0;
  transition: opacity var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-mega__glyph { width: 36px; height: 36px; color: var(--cp-navy); align-self: start; margin-top: 2px; }
.cp-site .cp-mega__glyph svg { width: 36px; height: 36px; }
.cp-site .cp-mega__sol-text { display: block; min-width: 0; }
.cp-site .cp-mega__name {
  display: block; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--cp-ink);
  transition: color var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-mega__q {
  display: block; margin-top: 4px;
  font-size: 14px; font-style: italic; font-weight: 300; line-height: 1.4; letter-spacing: -0.005em; color: var(--cp-muted);
}
.cp-site .cp-mega .cp-badge--enterprise {
  margin-top: 8px; padding: 3px 9px; font-size: 11.5px;
  color: var(--fig-warn);
  background: color-mix(in srgb, var(--fig-warn) 6%, transparent);
  border-color: color-mix(in srgb, var(--fig-warn) 25%, transparent);
}
.cp-site .cp-mega .cp-badge--enterprise::before { background: var(--fig-warn); }
.cp-site .cp-mega__chev { width: 14px; height: 14px; flex: none; color: var(--cp-muted); transition: color var(--cp-dur-fast) var(--cp-ease), transform var(--cp-dur-fast) var(--cp-ease); }
/* hovered or focused, not selected: a clear tint and border */
.cp-site .cp-mega__sol:hover,
.cp-site .cp-mega__sol:focus-visible { background: var(--cp-tint); border-color: var(--cp-line-strong); }
.cp-site .cp-mega__sol:hover .cp-mega__chev,
.cp-site .cp-mega__sol:focus-visible .cp-mega__chev { color: var(--cp-ink); }
/* the selected solution: white card, visible border, soft shadow, gradient bar, indigo name */
.cp-site .cp-mega__sol.is-sel {
  background: var(--cp-white); border-color: var(--cp-line-strong);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05), 0 10px 24px -12px rgba(79, 70, 229, 0.28);
}
.cp-site .cp-mega__sol.is-sel::before { opacity: 1; }
.cp-site .cp-mega__sol.is-sel .cp-mega__name { color: var(--cp-indigo-text); }
.cp-site .cp-mega__sol.is-sel .cp-mega__chev { color: var(--cp-indigo-text); transform: translateX(2px); }
.cp-site .cp-mega__sol:focus-visible { outline-offset: 2px; border-radius: 12px; }

/* right pane: the selected solution's scans, figure and the Core Check strip */
.cp-site .cp-mega__right { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 24px; padding: 28px 32px; min-width: 0; }
.cp-site .cp-mega__panes { display: grid; }
.cp-site .cp-mega__pane {
  grid-area: 1 / 1; visibility: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px 32px; align-content: start; align-items: start;
}
/* inherit, never visible: a closed panel (hidden) must keep its selected pane hidden and unhittable */
.cp-site .cp-mega__pane.is-sel { visibility: inherit; }
/* The figure of a pane that is not selected is taken out (display), not only hidden: inline SVG inside an
   element whose inherited visibility flips is not always repainted (the first figure stayed on screen while
   another solution was selected). Shown again, it draws in (data-inview fires when it appears). The panes'
   common height stays set by the tallest scan list. */
.cp-site .cp-mega__pane:not(.is-sel) .cp-mega__fig { display: none; }
.cp-site .cp-mega__head {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px;
  padding-bottom: 18px; border-bottom: 1px solid var(--cp-line);
}
.cp-site .cp-mega__title { font-size: 22px; font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; color: var(--cp-ink); }
.cp-site .cp-mega__explore { font-size: 14px; }
.cp-site .cp-mega__scans { display: grid; gap: 4px; align-content: start; margin: 0 -14px; }
.cp-site .cp-mega__scan {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 14px; align-items: center;
  padding: 11px 13px; border-radius: 10px; border: 1px solid transparent;
  transition: background-color var(--cp-dur-fast) var(--cp-ease), border-color var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-mega__scan-glyph {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--cp-r-sm); border: 1px solid var(--cp-line); background: var(--cp-white); color: var(--cp-navy);
  transition: border-color var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-mega__scan-glyph svg { width: 26px; height: 26px; stroke-width: 1.8; }
.cp-site .cp-mega__scan-text { display: block; min-width: 0; }
.cp-site .cp-mega__scan-name { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--cp-ink); }
.cp-site .cp-mega__scan-desc { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--cp-muted); }
.cp-site .cp-mega__scan .cp-mega__chev { color: var(--cp-line-strong); }
.cp-site .cp-mega__scan:hover,
.cp-site .cp-mega__scan:focus-visible { background: var(--cp-tint); border-color: var(--cp-line-strong); }
.cp-site .cp-mega__scan:hover .cp-mega__scan-glyph,
.cp-site .cp-mega__scan:focus-visible .cp-mega__scan-glyph { border-color: var(--cp-line-strong); }
.cp-site .cp-mega__scan:hover .cp-mega__scan-name,
.cp-site .cp-mega__scan:focus-visible .cp-mega__scan-name { color: var(--cp-navy); }
.cp-site .cp-mega__scan:hover .cp-mega__chev,
.cp-site .cp-mega__scan:focus-visible .cp-mega__chev { color: var(--cp-ink); transform: translateX(2px); }
.cp-site .cp-mega__scan:focus-visible { outline-offset: 2px; border-radius: 10px; }
.cp-site .cp-mega__scan[aria-current="page"] .cp-mega__scan-name { color: var(--cp-navy); }
.cp-site .cp-mega__fig { min-width: 0; position: relative; }
.cp-site .cp-mega__fig .cp-figure { margin: 0; }
.cp-site .cp-mega__fig-base .cp-instrument { padding: 14px 12px 10px; }
/* A hovered or focused scan's own figure (NextMenuScanFigure) lies over the solution figure, which stays in
   the flow (transparent) and so keeps the card's size; the scan's panel is scaled to fit above its name. */
.cp-site .cp-mega__fig-base[aria-hidden="true"] { opacity: 0; }
.cp-site .cp-mega__scanfig {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
  animation: cp-mega-fig-in 140ms var(--cp-ease) both;
}
.cp-site .cp-mega__scanfig-frame { position: relative; flex: none; overflow: hidden; }
.cp-site .cp-mega__scanfig-inner { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.cp-site .cp-mega__scanfig-cap {
  flex: none; max-width: 100%;
  font-family: var(--cp-mono); font-size: 12px; line-height: 1.5; color: var(--fig-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes cp-mega-fig-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .cp-site .cp-mega__scanfig { animation: none; }
}
.cp-site .cp-mega__core {
  margin-top: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 14px 14px 14px 20px; border-radius: 12px; border: 1px solid var(--cp-line); background: var(--cp-ground);
}
.cp-site .cp-mega__core p { font-size: 15px; line-height: 1.4; color: var(--cp-ink-2); }

/* narrower desktops: a narrower left pane; below 1200px the figure gives way to the scans */
@media (max-width: 1279px) {
  .cp-site .cp-mega { grid-template-columns: 340px minmax(0, 1fr); }
  .cp-site .cp-mega__pane { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1199px) {
  .cp-site .cp-mega { grid-template-columns: 300px minmax(0, 1fr); }
  .cp-site .cp-mega__list { padding: 12px 12px 20px; }
  .cp-site .cp-mega__foot { padding: 0 12px 12px; }
  .cp-site .cp-mega__sol { grid-template-columns: 30px minmax(0, 1fr) 14px; gap: 12px; padding: 12px; }
  .cp-site .cp-mega__glyph, .cp-site .cp-mega__glyph svg { width: 30px; height: 30px; }
  .cp-site .cp-mega__right { padding: 24px; }
  .cp-site .cp-mega__pane { grid-template-columns: minmax(0, 1fr); }
  .cp-site .cp-mega__fig { display: none; }
}

/* Header: the Solutions menu inside the phone menu */
.cp-site .cp-mobile-nav .cp-mnav svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cp-site .cp-mobile-nav .cp-mnav__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cp-site .cp-mobile-nav .cp-mnav__row > a { flex: 1; }
.cp-site .cp-mobile-nav .cp-mnav__toggle {
  flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center;
  border: 1px solid var(--cp-line); border-radius: var(--cp-r-sm); background: var(--cp-white); color: var(--cp-ink);
  transition: background-color var(--cp-dur-fast) var(--cp-ease), border-color var(--cp-dur-fast) var(--cp-ease);
}
.cp-site .cp-mobile-nav .cp-mnav__toggle:hover { background: var(--cp-tint); border-color: var(--cp-line-strong); }
.cp-site .cp-mobile-nav .cp-mnav__toggle svg { width: 16px; height: 16px; transition: transform var(--cp-dur-fast) var(--cp-ease); }
.cp-site .cp-mobile-nav .cp-mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.cp-site .cp-mobile-nav .cp-mnav.is-open > .cp-mnav__row > a { font-weight: 500; }
.cp-site .cp-mobile-nav .cp-mnav__body { padding: 4px 0 12px; }
.cp-site .cp-mobile-nav a.cp-mnav__all { display: inline-flex; padding: 8px 0 14px; font-size: 15px; font-weight: 500; }
.cp-site .cp-mobile-nav .cp-mnav__sols { border: 1px solid var(--cp-line); border-radius: 12px; overflow: hidden; }
.cp-site .cp-mobile-nav .cp-mnav__sol + .cp-mnav__sol { border-top: 1px solid var(--cp-line); }
.cp-site .cp-mobile-nav .cp-mnav__sol.is-open { background: var(--cp-ground); }
.cp-site .cp-mobile-nav .cp-mnav__sol-head { display: grid; grid-template-columns: 30px minmax(0, 1fr) 40px; gap: 12px; align-items: start; padding: 14px 14px 14px 16px; }
.cp-site .cp-mobile-nav .cp-mnav__glyph { width: 30px; height: 30px; margin-top: 2px; color: var(--cp-navy); }
.cp-site .cp-mobile-nav .cp-mnav__glyph svg { width: 30px; height: 30px; }
.cp-site .cp-mobile-nav .cp-mnav__sol-text { display: block; min-width: 0; }
.cp-site .cp-mobile-nav a.cp-mnav__name { display: block; padding: 0; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--cp-ink); }
.cp-site .cp-mobile-nav a.cp-mnav__name.is-current { color: var(--cp-navy); }
.cp-site .cp-mobile-nav .cp-mnav__q { display: block; margin-top: 4px; font-size: 14px; font-style: italic; font-weight: 300; line-height: 1.4; color: var(--cp-muted); }
.cp-site .cp-mobile-nav .cp-mnav .cp-badge--enterprise {
  margin-top: 6px; padding: 3px 9px; font-size: 11.5px; color: var(--fig-warn);
  background: color-mix(in srgb, var(--fig-warn) 6%, transparent);
  border-color: color-mix(in srgb, var(--fig-warn) 25%, transparent);
}
.cp-site .cp-mobile-nav .cp-mnav .cp-badge--enterprise::before { background: var(--fig-warn); }
.cp-site .cp-mobile-nav .cp-mnav__scans { display: grid; gap: 6px; padding: 0 14px 14px; }
.cp-site .cp-mobile-nav a.cp-mnav__scan {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 14px; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--cp-line); border-radius: 10px; background: var(--cp-white);
  font-size: 15px; line-height: 1.3; color: var(--cp-ink);
}
.cp-site .cp-mobile-nav a.cp-mnav__scan:hover { background: var(--cp-tint); border-color: var(--cp-line-strong); }
.cp-site .cp-mobile-nav a.cp-mnav__scan.is-current { color: var(--cp-navy); font-weight: 500; }
.cp-site .cp-mobile-nav .cp-mnav__scan-glyph { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--cp-tint); color: var(--cp-navy); }
.cp-site .cp-mobile-nav .cp-mnav__scan-glyph svg { width: 22px; height: 22px; stroke-width: 1.8; }
.cp-site .cp-mobile-nav .cp-mnav__chev { width: 14px; height: 14px; color: var(--cp-muted); }
.cp-site .cp-mobile-nav .cp-mnav__core { margin-top: 16px; padding: 20px; border: 1px solid var(--cp-line); border-radius: 12px; background: var(--cp-ground); }
.cp-site .cp-mobile-nav .cp-mnav__core p { margin-bottom: 14px; font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--cp-ink); }
.cp-site .cp-mobile-nav .cp-mnav__core a.cp-btn { display: flex; width: 100%; padding: 13px 20px; font-size: 15px; color: #fff; }

/* Header: phone menu, third level (scans under each solution) */
.cp-site .cp-mobile-nav .cp-mobile-nav__sub--deep a { padding: 5px 0 5px 32px; font-size: 14px; }
.cp-site .cp-mobile-nav .cp-mobile-nav__sub a.is-current { color: var(--cp-navy); font-weight: 500; }

/* Footer: more than one legal link at the bottom right */
.cp-site .cp-footer__legal { display: flex; flex-wrap: wrap; gap: var(--cp-space-5); }
.cp-site .cp-footer__legal a { color: var(--cp-footer-text); transition: color var(--cp-dur-fast) var(--cp-ease); }

/* One button form on the other staging pages: old rounded-full links get the kit's 8px radius
   (Tailwind utilities sit in a cascade layer, so this unlayered rule wins). */
.cp-site main a.rounded-full[class*="px-"] { border-radius: 8px; }

/* --------------------------------------------------------------------------
   15. Reduced motion: end states, no animation
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cp-site *,
  .cp-site *::before,
  .cp-site *::after {
    animation-duration: 0.001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .cp-site .cp-meter__fill, .cp-js .cp-site:not(.is-entered) .cp-meter__fill { transform: scaleX(1); }
  .cp-js .cp-site [data-inview] .cp-meter__fill { transform: scaleX(1); }
  .cp-js .cp-site .cp-surface__line { transform: scaleX(1); }
  .cp-js .cp-site .cp-surface__dots { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Navigation progress bar (NextNavProgress, speed fix 4; keep this block last)
   -------------------------------------------------------------------------- */
.cp-site .cp-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: calc(var(--cp-z-header) + 1);
  pointer-events: none; overflow: hidden;
}
.cp-site .cp-progress__bar {
  height: 100%; background: linear-gradient(90deg, #0B40FE 0%, #852CFE 55%, #F21BFE 100%);
  transform: scaleX(0); transform-origin: 0 50%; opacity: 0;
  transition: transform 350ms linear, opacity 150ms linear;
  will-change: transform, opacity;
}
.cp-site .cp-progress__bar.is-reset { transition: opacity 150ms linear; }
.cp-site .cp-progress__bar.is-active { opacity: 1; }
.cp-site .cp-progress__bar.is-done { opacity: 0; transition: transform 200ms ease-out, opacity 250ms linear 150ms; }
@media (prefers-reduced-motion: reduce) {
  .cp-site .cp-progress__bar { transition: none; }
}
