/*
Theme Name: CEXUM Child (Hello Elementor)
Theme URI: https://cexum.com
Template: hello-elementor
Description: CEXUM marketing site child theme. Inherits Hello Elementor and adds brand-aligned design tokens (Azul noche / profundo / corporativo + Turquesa + Verde confirmacion + Blanco hielo + Gris soporte), Inter typography and hooks for legal/SEO guards. See infra/wordpress-bootstrap/themes/cexum-child/README.md.
Author: AMI DIGITAL SERVICES INC.
Author URI: https://cexum.com
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
License: Proprietary
License URI: https://cexum.com/legal/terms
Text Domain: cexum-child
Tags: marketing, elementor-child, cexum
*/

/* ============================================================================
 * CEXUM brand tokens — marketing site (--cx-* namespace)
 *
 * Hex values mirror the CEXUM official brand kit exactly. The canonical
 * token table (all three surfaces, --p-* for the portal included) is
 * docs/design/cexum-design-system.md. The marketing site keeps a distinct
 * --cx-* namespace so neither concern leaks into the other, while staying
 * visually coherent.
 *
 * Reference: docs/design/brand-kit/cexum_paleta_corporativa.pdf
 * ========================================================================== */
:root {
  /* Primary palette */
  --cx-azul-noche: #071a36;          /* deep night blue — primary dark surface     */
  --cx-azul-profundo: #0d2c63;       /* deep blue — secondary surface / hover      */
  --cx-azul-corporativo: #1d5fff;    /* corporate blue — primary action / CTA      */

  /* Accents */
  --cx-turquesa: #18c9d7;            /* turquoise — accents, charts                */
  --cx-verde-confirmacion: #18c98e;  /* confirmation green — success states        */

  /* Neutrals */
  --cx-blanco-hielo: #f5f7fa;        /* ice white — primary background on light    */
  --cx-gris-soporte: #c9d1dc;        /* support grey — borders, dividers           */

  /* Functional (outside official kit but needed for marketing UX) */
  --cx-text: #071a36;                /* default body text on light surface         */
  /* Dimmed copy on LIGHT surfaces (blanco hielo bands, white cards). Redesign
   * 2026-11 (MKT-WP-REDESIGN-TOKENS): the canvas value #3A4E6B, 7.88:1 on
   * #F5F7FA and 8.46:1 on #FFFFFF (was #4a5b78). */
  --cx-text-muted: #3a4e6b;
  --cx-text-on-dark: #f5f7fa;        /* text over azul noche / azul profundo       */
  --cx-border: #c9d1dc;              /* alias of gris soporte for clarity          */
  --cx-warning: #f59e0b;             /* amber — needed for callouts, not in kit    */
  --cx-danger: #dc2626;              /* red — needed for error states, not in kit  */
  /* The coral of text on dark: danger 60 % over blanco hielo, #E67A7B (5.57:1 on the Tarjeta card;
   * danger itself is 3.26:1 there). Twin of the kit Global "Coral sobre oscuro" (cxcoral);
   * the canvas' own #FF8A96 (.cs-before .cs-k, .cs-r s) has no kit colour, so this is the nearest
   * one that clears 4.5:1 (MKT-WP-KIT-BEFORE-TEXT-COLOR). Never on a light band. */
  --cx-danger-soft: color-mix(in srgb, var(--cx-danger) 60%, var(--cx-blanco-hielo));

  /* Semantic HSL channels (no hsl() wrapper) — enable α modifiers + token cascade.
   * Mirror the brand kit / design-system §1: verde #18C98E, amber #F59E0B. */
  --cx-success-hsl: 160 79% 44%;     /* Verde confirmacion #18C98E — positive      */
  --cx-warning-hsl: 37.7 92.1% 50.2%; /* Amber #F59E0B exact channels (38 92% 56% rendered rgb 246,170,40) */

  /* Button label on the brand-gradient primary CTA (was hardcoded #fff). */
  --cx-button-text: #ffffff;

  /* Counsel/legal alert band — dark label on the amber strip. The amber bg
   * itself is painted by Elementor's per-page CSS (css/post-NN.css); the token
   * is declared here for cascade/documentation parity. WCAG-AA on #FBBF24. */
  --cx-banner-bg: #fbbf24;
  --cx-banner-text: #1a1206;

  /* Typography. "Inter Fallback" (assets/fonts/inter/inter.css) is Arial shaped
   * like Inter: what the text paints in while Inter arrives, so the swap does not
   * move the layout (MKT-WP-PSI-20261118-ASSETS). */
  --cx-font-sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cx-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Type scale of the 2026-11 redesign (canvas «Cexum OTC Homepage», artboard
   * Main l.13-157; MKT-WP-REDESIGN-TOKENS). Desktop values here; the tablet
   * (<=1024px) and mobile (<=767px) steps live in the two @media blocks of the
   * layout layer below, at Elementor's own breakpoints, so this CSS and the
   * Elementor Global Fonts kit (its twin) step at the same widths.
   * Display weight: the theme self-hosts Inter 400-800 since
   * MKT-WP-REPLICA-INTER-SELFHOST (assets/fonts/inter/), and the display weight
   * is the canvas 800 (`.h1`, l.69; MKT-WP-REPLICA-WEIGHT-800). Its twins are
   * the kit's `primary` (Display / H1) and `cxh1` (Heading 1) typography
   * weights, both '800' (elementor-global-kit.php, global-kit.json). */
  --cx-weight-display: 800;
  --cx-fs-display: 4rem;             /* H1 64px  · 2.75rem tablet · 2.25rem mobile */
  --cx-lh-display: 1.04;
  --cx-tracking-display: -0.03em;
  --cx-fs-h2: 2.75rem;               /* H2 44px  · 2rem tablet    · 2rem mobile   */
  --cx-weight-h2: 700;
  --cx-lh-h2: 1.12;
  --cx-tracking-h2: -0.02em;
  --cx-fs-h3: 1.375rem;              /* H3 / card title 22px · 1.25rem mobile      */
  --cx-weight-h3: 700;
  --cx-lh-h3: 1.3;
  --cx-tracking-card: -0.01em;       /* card title (kit "Card Title")              */
  --cx-fs-lead: 1.25rem;             /* lead 20px · 1.125rem mobile                */
  --cx-lh-lead: 1.55;
  --cx-fs-eyebrow: 0.8125rem;        /* eyebrow 13px, uppercase                    */
  --cx-weight-eyebrow: 700;
  --cx-lh-eyebrow: 1.4;
  --cx-tracking-eyebrow: 0.14em;
  /* These are the FALLBACKS. Every theme rule for a heading, eyebrow, card
   * title or lead reads the Elementor Global Font first and falls back here:
   *   var(--e-global-typography-<id>-<prop>, var(--cx-...))
   * with <id> primary (Display / H1), secondary (Section Heading = H2),
   * accent (Eyebrow / Label), cxcardt (Card Title, also every H3 heading
   * widget and icon-box title) and cxlead (Lead Paragraph). So what an editor
   * sets in Site Settings is what renders (MKT-WP-REDESIGN-TYPE-RAMP-KIT). */

  /* Eyebrow colour by surface. On dark: turquesa (8.57:1 on azul noche, 7.78:1
   * on the card). The canvas #3D74FF is NOT used: 4.25:1 on #071A36 at 13px,
   * below AA 4.5:1. On light: azul corporativo (4.73:1 on blanco hielo, 5.08:1
   * on white). */
  --cx-eyebrow-on-dark: var(--cx-turquesa);
  --cx-eyebrow-on-light: var(--cx-azul-corporativo);

  /* Radii + spacing scale — generous, portal-aligned. Canvas values off the
   * 4px scale (22, 26, 30px) round to the nearest step. */
  --cx-radius-sm: 0.625rem;          /* 10px — small (chips, nav items, header button) */
  --cx-radius-btn: 0.75rem;          /* 12px — buttons (redesign 2026-11)      */
  --cx-radius: 1rem;                 /* 16px — default (cards, inputs)         */
  --cx-radius-card: 1.25rem;         /* 20px — content cards, images (2026-11) */
  --cx-radius-lg: 1.5rem;            /* 24px — large (glass surfaces)          */
  --cx-radius-xl: 1.75rem;           /* 28px — panels / featured cards (2026-11) */
  --cx-radius-pill: 9999px;

  /* Shadows — cast from the azul-noche base (HSL channels of #071A36) so the
   * alpha modifiers stay in the cascade instead of a hardcoded rgba(). */
  --cx-shadow-base: 216 77% 12%;     /* #071A36 — shadow colour channels           */
  --cx-shadow-sm: 0 1px 2px hsl(var(--cx-shadow-base) / 0.06);
  --cx-shadow: 0 4px 12px -2px hsl(var(--cx-shadow-base) / 0.10);
  --cx-shadow-lg: 0 16px 32px -8px hsl(var(--cx-shadow-base) / 0.16);

  /* ----------------------------------------------------------------------
   * DARK-FIRST GLASSMORPHIC tokens — ported from the customer-portal design
   * system (docs/design/customer-portal-design-system.md §3). These power
   * the dark glass marketing redesign. HSL triplets mirror the portal --p-*
   * values; the brand gradient + glass surface + depth shadows are the
   * portal's signature treatment applied to cexum.com.
   * -------------------------------------------------------------------- */
  --cx-bg: 216 77% 12%;                  /* Azul noche #071A36 — page base    */
  /* Deep band / footer / header panel base: the canvas #0B1E3D. EXACT channels
   * of that hex (the former 217 70% 15% rendered rgb(11, 32, 65) = #0B2041), so
   * a band painted from the kit twin "Banda profunda" (cxdeep, #0B1E3D) and one
   * painted from this token are the same pixel side by side
   * (MKT-WP-REDESIGN-DEEP-BAND-TWIN). Opaque on it (calculated): blanco hielo
   * 15.44:1, muted 10.76, subtle 6.22, turquesa 8.19; the translucent uses
   * (footer at 0.5, bands at 0.4-0.7) composite between it and azul noche, so
   * their contrast stays at or above these figures. */
  --cx-surface-1: 217.2 69.4% 14.1%;
  --cx-surface-2: 218 65% 19%;           /* derived — chips, tracks           */
  --cx-surface-3: 218 62% 24%;           /* ~Azul profundo — hover            */
  --cx-glass-tint: 218 60% 20%;          /* glass card fill (used at 0.55)    */
  /* Dark content card of the 2026-11 redesign: canvas #0B2247 (the alternate
   * band #0A2046 is indistinguishable and uses it too). Kit twin: Global Color
   * "Tarjeta" (cxsurf). Blanco hielo on it 14.67:1, muted 10.22:1, subtle
   * 5.91:1, turquesa 7.78:1. */
  --cx-surface-card: 217 73% 16%;
  --cx-line: 215 30% 30%;                /* hairline border (~Gris soporte)   */
  --cx-line-strong: 213 28% 42%;         /* stronger border                   */
  /* Translucent hairlines of the redesign: gris soporte at 12% (dividers, card
   * borders) and 22% (secondary-button and burger borders). Kit twins: "Filete"
   * #C9D1DC1F and "Filete fuerte" #C9D1DC38. */
  --cx-hairline: color-mix(in srgb, var(--cx-gris-soporte) 12%, transparent);
  --cx-hairline-strong: color-mix(in srgb, var(--cx-gris-soporte) 22%, transparent);
  --cx-on-dark: 216 33% 97%;             /* Blanco hielo #F5F7FA — text       */
  /* Muted body on dark (lead, card body, nav links): the canvas #C9D1DC, i.e.
   * gris soporte (was 215 20% 70%, rgb 163,176,194). The channels are the
   * EXACT ones of #C9D1DC: the rounded 214 21% 83% renders rgb(203,210,221),
   * not the kit twin "Texto atenuado" (cxmute) #C9D1DC. Measured 2026-11-02
   * (MKT-WP-REDESIGN-TOKENS): 11.27:1 on azul noche, 10.22 on the card, 10.76 on
   * the deep band, 8.76 on azul profundo, 8.63 on the form surface rgb(20,48,84). */
  --cx-on-dark-muted: 214.7 21.3% 82.5%;
  /* Captions / eyebrows / metadata. History: the old 214 18% 50% (#697C96) measured
   * 3.55-3.94:1 on its real backgrounds (2026-09-26) and became 214 18% 61% (#8A99AD,
   * 4.58:1 on the lightest one, rgb 20,48,84). Redesign 2026-11: the canvas #8FA0B8,
   * exact channels of that hex (the rounded 215 22% 64% renders rgb 143,160,183):
   * 6.52:1 on azul noche, 5.91 on the card, 5.06 on azul profundo, 4.99 on the form
   * surface. It stays darker than --cx-on-dark-muted so the text tiers keep their
   * order. Kit twin: Global Color "Texto sutil" (cxsubt) = #8FA0B8. */
  --cx-on-dark-subtle: 215.1 22.4% 64.1%;
  /* Footer text of the canvas (`.cf-desc`, `.cf-col a`, `.cf-soc a`, Main.dc.html
   * l.565-572): #B4C0D0, between the muted and the subtle tier, exact channels of
   * that hex. 8.99:1 on the deep band (calculated). Kit twin: Global Color "Texto
   * del pie, atenuado" (cxfoot) (MKT-WP-REPLICA-FOOTER). */
  --cx-on-dark-footer: 214.29 22.95% 76.08%;
  /* Exact channels (decimals) of the hex twins: the rounded 184 80% 47% rendered
   * rgb(24,203,216) and 222 100% 56% rgb(31,98,255) (MKT-WP-HSL-CHANNELS-OFF-HEX). */
  --cx-accent-hsl: 184.4 79.9% 46.9%;    /* Turquesa #18C9D7                  */
  --cx-primary-hsl: 222.5 100% 55.7%;    /* Azul corporativo #1D5FFF         */

  --cx-blur: 16px;                       /* backdrop-blur radius              */
  /* Depth tone for shadows cast ON the dark surfaces (cards, the hero phone
   * shot). Deliberately darker than --cx-shadow-base: that one IS the page
   * colour (#071A36), so a shadow cast in it over azul noche composites to the
   * page colour and is invisible. rgb(1, 6, 14) — the tone the card shadow
   * always used, now one token (MKT-WP-SHADOW-HSL-UNDEFINED). */
  --cx-shadow-deep: 216 84% 3%;
  --cx-shadow-card: 0 8px 32px -8px hsl(var(--cx-shadow-deep) / 0.65);   /* depth */
  /* Hover/focus elevation — NEUTRAL, cast from the deep tone. Cast from
   * --cx-shadow-deep, NOT --cx-shadow-base: the base is the page colour, so a
   * lift cast in it composited to the page colour and was invisible on azul noche
   * (MKT-WP-SHADOW-LIFT-INVISIBLE-ON-NIGHT). Pair it with
   * translateY(-2px) on hover; reduced motion keeps the shadow, drops the move.
   * The COLOURED halos, the gradient text and the orbs of the canvas live in the
   * GLOW block below (MKT-WP-REPLICA-GLOW-TOKENS / -CLASSES): the owner brought
   * them back on 2026-11-03 («Ponerlos como en el canvas»), under tokens. */
  --cx-shadow-lift: 0 12px 32px hsl(var(--cx-shadow-deep) / 0.45);

  /* Brand signature gradient — turquoise -> blue, 135deg. Painted on the bars of
   * the product mock chart (.cx-mock__bar). Never under a label (see
   * --cx-gradient-action); the gradient TEXT is --cx-gradient-text, below. */
  --cx-gradient: linear-gradient(135deg, var(--cx-turquesa) 0%, var(--cx-azul-corporativo) 100%);

  /* ACTION gradient — the brand gradient UNDER A LABEL (primary buttons, the
   * header CTA, the skip link). MEASURED 2026-09-25: the white label on the
   * turquoise stop of --cx-gradient is 2.02:1, far below WCAG AA 4.5:1 for
   * 16-17px text (5.08:1 on the blue stop). The turquoise stop is deepened
   * toward azul noche (both brand tokens, no new hex): white on the deep stop
   * is 5.6:1, on the blue stop 5.08:1, and every point between them stays
   * above 4.5:1, also under the 1.06 hover brightness. The bright
   * --cx-gradient is never placed under a label. */
  --cx-turquesa-deep: color-mix(in srgb, var(--cx-turquesa) 50%, var(--cx-azul-noche));
  --cx-gradient-action: linear-gradient(135deg, var(--cx-turquesa-deep) 0%, var(--cx-azul-corporativo) 100%);
  --cx-gradient-soft: linear-gradient(135deg, hsl(184 80% 47% / 0.18) 0%, hsl(222 100% 56% / 0.18) 100%);
}

/* ============================================================================
 * GLOW TOKENS — BEGIN (lane glow, MKT-WP-REPLICA-GLOW-TOKENS, 2026-11-04)
 *
 * The coloured halos, rings and gradient text of the canvas "Cexum OTC
 * Homepage" (owner, 2026-11-03: «Ponerlos como en el canvas»), written ONCE
 * here from the brand channels above (--cx-primary-hsl, --cx-accent-hsl,
 * --cx-success-hsl, --cx-azul-profundo, --cx-turquesa): the classes of the GLOW
 * CLASSES block bind these tokens and nothing else, so no colour is written by
 * hand outside :root. Values are the canvas' own (Main.dc.html, lines in
 * brackets); the alpha is the canvas' alpha. The old pre-redesign values
 * (turquoise 0 0 28px -6px at 40%) are NOT the ones brought back.
 *
 * These are box-shadow VALUES (comma lists), so a class can compose them:
 * `box-shadow: var(--cx-shadow-card), var(--cx-halo-dome)`.
 *
 * HOW THEY ARE USED, AND WHERE THEY ARE NOT
 *  - A glow never says a state by itself (design law 2): the state is always
 *    carried by text/icon/shape as well; the glow only adds depth.
 *  - The gradient texts are for DARK surfaces only. Contrast of the WORST point of
 *    each gradient (sampled every 5 %; calculated 2026-11-04 with
 *    C:/tmp/wp-redesign-lanes/glow/contrast.mjs, WCAG 2.x, the end of the
 *    gradient that is darkest in luminance is its #6E9BFF / #18C98E start):
 *      --cx-gradient-text           azul noche 6.44:1 · tarjeta 5.84 · banda
 *                                   profunda 6.15 · azul profundo 5.00 · banda
 *                                   alterna 5.96  (turquesa end: 8.57 / 7.78 / 8.19 / 6.66)
 *      --cx-gradient-text-positive  azul noche 8.09:1 · tarjeta 7.33 · banda
 *                                   profunda 7.72 · azul profundo 6.28 · banda
 *                                   alterna 7.48
 *    All >= 4.5:1 on every dark surface of the site, also for 13 px text. NEVER
 *    on a light band (#F5F7FA): #6E9BFF there is 2.51:1.
 *    (The canvas report quoted ~6.9:1 and ~9:1; the measured worst points are the
 *    figures above.)
 * ========================================================================== */
:root {
  /* Soft brand blue of the gradient text (canvas --blue-soft, #6E9BFF): the
   * only colour of this block that is not already a brand token. */
  --cx-azul-suave: #6e9bff;

  /* Hover halo of buttons and cards [l.73]: 0 12px 32px, azul corporativo 45 %. */
  --cx-glow-blue: 0 12px 32px hsl(var(--cx-primary-hsl) / 0.45);
  /* The same halo at rest, softer [l.256 .tw-cta]: 0 12px 30px, 35 %. */
  --cx-glow-blue-soft: 0 12px 30px hsl(var(--cx-primary-hsl) / 0.35);
  /* Halo of a tag/label [l.266 .tw-tag]: 0 8px 22px, turquesa 35 %. */
  --cx-glow-teal: 0 8px 22px hsl(var(--cx-accent-hsl) / 0.35);

  /* Frame of the home video [l.359 .vf-frame]: ring of 8px at 6 % and the 120px
   * glow at 18 % (the neutral 0 40px 100px depth shadow of the frame stays a
   * neutral shadow: compose it with --cx-shadow-card). */
  --cx-halo-frame:
    0 0 0 8px hsl(var(--cx-primary-hsl) / 0.06),
    0 0 120px hsl(var(--cx-primary-hsl) / 0.18);
  /* Half-moon of the "how it works" wheel [l.416 .hww-dome]: rings of 10px (blue
   * 8 %) and 22px (turquesa 7 %) and the 0 -18px 60px glow (blue 25 %). */
  --cx-halo-dome:
    0 0 0 10px hsl(var(--cx-primary-hsl) / 0.08),
    0 0 0 22px hsl(var(--cx-accent-hsl) / 0.07),
    0 -18px 60px hsl(var(--cx-primary-hsl) / 0.25);

  /* Active card of the wheel [l.402 .hww-card.on]: ring of 4px at 12 % and the
   * 0 26px 50px lift at 18 %. The positive variant is the LAST card [l.405
   * .hww-card.on.last]: verde confirmacion at 14 % and 18 %. */
  --cx-ring-active:
    0 0 0 4px hsl(var(--cx-primary-hsl) / 0.12),
    0 26px 50px hsl(var(--cx-primary-hsl) / 0.18);
  --cx-ring-active-positive:
    0 0 0 4px hsl(var(--cx-success-hsl) / 0.14),
    0 26px 50px hsl(var(--cx-success-hsl) / 0.18);

  /* Gradient TEXT [l.80 .gtext, l.241 .cs-result b]: 90deg. DARK surfaces only. */
  --cx-gradient-text: linear-gradient(90deg, var(--cx-azul-suave), var(--cx-turquesa));
  --cx-gradient-text-positive: linear-gradient(90deg, var(--cx-verde-confirmacion), var(--cx-turquesa));
  /* Light mint of the App artboard (canvas App.dc.html `.br-gt` l.1484, `.br-eb`
   * l.1482, `.br-rw` l.1502: #5BF0BE): off the kit, so it is a token here and
   * nowhere else. Used as the first stop of the App's three-stop gradient title
   * (mint -> turquesa at 50 % -> azul suave, `.br-gt`; MKT-WP-REPLICA-APP-GRADIENT-
   * TOKEN-CANVAS). DARK surfaces only, like every gradient text. */
  --cx-menta: #5bf0be;
  --cx-gradient-text-mint: linear-gradient(90deg, var(--cx-menta), var(--cx-turquesa) 50%, var(--cx-azul-suave));
  /* Bitcoin's own orange (bitcoin.org logo, assets/crypto/btc.svg; canvas App
   * `.br-coin` l.1494 glow, Affiliate and Cryptocurrencies coins): the colour of
   * an ASSET, not of the brand, and never a state. The kit's amber (#F59E0B,
   * --cx-warning) was standing in for it on the App coin; the two differ by
   * rgb(+2, -11, +15), visible on a 16px warm glow. The Affiliate and
   * Cryptocurrencies section sheets read this token and never write the hex
   * (MKT-WP-ASSET-BTC-TOKEN-SECTION-COPIES; scripts/check_design_palette_hsl.py
   * fails on a hand-written copy). */
  --cx-asset-btc: #f7931a;

  /* Added by MKT-WP-REPLICA-GLOW-CLASSES (same canvas, same rule: channels only). */
  /* Ellipse behind the hero platform [l.678]: closest-side, azul corporativo 55 %
   * -> 18 % at 55 % -> the page colour at 0 %. */
  --cx-radial-hero: radial-gradient(
    closest-side,
    hsl(var(--cx-primary-hsl) / 0.55),
    hsl(var(--cx-primary-hsl) / 0.18) 55%,
    hsl(var(--cx-bg) / 0) 100%
  );
  /* Pure white, the glare's only colour (canvas rgba(255,255,255,…), l.449 / l.276). */
  --cx-blanco: #ffffff;
  /* Glare of a phone screen [l.449 .cv-glare]: 115deg, white 10 % -> clear at 35 %. */
  --cx-glare: linear-gradient(115deg, color-mix(in srgb, var(--cx-blanco) 10%, transparent), transparent 35%);
  /* Specular of a phone FRAME [l.276 .tw-ph:before]: white 22 % at the top left,
   * clear from 22 % to 70 %, 12 % at the bottom right. */
  --cx-glare-frame: linear-gradient(
    115deg,
    color-mix(in srgb, var(--cx-blanco) 22%, transparent) 0%,
    transparent 22%,
    transparent 70%,
    color-mix(in srgb, var(--cx-blanco) 12%, transparent) 100%
  );
}
/* GLOW TOKENS — END */

/* ============================================================================
 * GLOW CLASSES — BEGIN (lane glow, MKT-WP-REPLICA-GLOW-CLASSES, 2026-11-04)
 *
 * Opt-in classes that bind the GLOW TOKENS above: nothing here paints by default
 * and nothing here writes a colour. They are the way a page puts a canvas glow
 * on an Elementor element, because Elementor's own shadow control cannot take a
 * token. Each class is documented where it is declared.
 *
 * SPECIFICITY (scripts/check_theme_widget_specificity.py): a class that can sit
 * on a widget keeps its scope inside :where(), so what the editor sets in the
 * widget's Style tab wins (0,3,0 / 0,4,0 / 0,5,0). Two rules must also BEAT the
 * bridge's own default of the widget (cexum-elementor-brand.css, 0,3,0): the
 * gradient text of a Heading (the bridge sets its colour) and the halo of a
 * Button (the bridge sets its neutral lift on the primary one). They are written at
 * 0,3,1: above the bridge, strictly below any setting of the widget. All of this
 * block sits in a contiguous run so the merge with the other style.css edits
 * stays clean.
 * ========================================================================== */

/* ---- 1. cx-text-gradient — gradient text [canvas .gtext l.80, .cs-result b l.241] ----
 * USE: on a <span> inside a heading or a text ("The fastest <span
 * class='cx-text-gradient'>crypto exchange</span>"), or on a Heading widget (its
 * Advanced > CSS Classes) to paint the whole title. `cx-text-gradient--positive`
 * swaps the green->turquoise gradient (the figure of a result).
 * DARK SURFACES ONLY: contrast of the worst point is 5.00-6.44:1 (6.28-8.09:1
 * the positive one) on every dark surface of the site, see GLOW TOKENS; on a light
 * band it is 2.51:1 and fails. The text stays REAL text (no image, no SVG), so it
 * is in the accessibility tree and selectable; meaning never rests on the
 * gradient (design law 2).
 * FALLBACK: the base rule is the solid turquesa (8.57:1 on azul noche). Only
 * under @supports (background-clip: text) does it become transparent over the
 * gradient, so a browser without it never shows invisible text. In forced-colors
 * mode the gradient is dropped and the system colour is used. The widget's own
 * text colour (Style tab, 0,4,0) beats the transparent one: the editor can
 * always override it. */
:where(.cx-text-gradient:not(.elementor-widget)) {
  color: hsl(var(--cx-accent-hsl));
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  :where(.cx-text-gradient:not(.elementor-widget)) {
    background-image: var(--cx-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  :where(.cx-text-gradient--positive:not(.elementor-widget)) {
    background-image: var(--cx-gradient-text-positive);
  }
  /* Heading widget: the title is inline-block so the gradient spans the TEXT, not
   * the column. 0,3,1: above the bridge's heading colour (0,3,0), below the
   * widget's own (0,4,0).
   * An inline-block's box is as tall as its line height, shorter than the glyphs at
   * line-height 1: the tails of «y», «p», «g» and the accents stick out of it. Chromium
   * still paints them (it tiles the gradient over every glyph: measured 2026-11-17,
   * MKT-WP-GRADIENT-HEADING-INK-CLIP, 0 glyph pixels unpainted before and after this
   * rule), but an engine that limits the text background to the box would cut them.
   * The padding gives the box the glyphs' height, and the same negative margin keeps
   * its margin box, so no line moves (as the hero phrase, home-hero.css). The positive
   * variant always carries this class too (its own rule below only swaps the gradient). */
  .cx-text-gradient.elementor-widget-heading .elementor-heading-title:is(h1, h2, h3, h4, h5, h6, p, span, div) {
    display: inline-block;
    padding-block: 0.1em;
    margin-block: -0.1em;
    background-image: var(--cx-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .cx-text-gradient--positive.elementor-widget-heading .elementor-heading-title:is(h1, h2, h3, h4, h5, h6, p, span, div) {
    background-image: var(--cx-gradient-text-positive);
  }
}
@media (forced-colors: active) {
  :where(.cx-text-gradient:not(.elementor-widget)) {
    background-image: none;
    color: CanvasText;
  }
  .cx-text-gradient.elementor-widget-heading .elementor-heading-title:is(h1, h2, h3, h4, h5, h6, p, span, div) {
    background-image: none;
    color: CanvasText;
  }
}

/* ---- 1b. cx-accent-soft — one word of a heading in azul suave [canvas l.1032, l.1062 on the home; OTC l.1158] ----
 * USE: a <span> around ONE WORD of a Heading widget's own title text ("Let's get your money
 * <span class='cx-accent-soft'>moving.</span>"): a Heading widget has a single colour for the
 * whole title, and azul suave is not a Global Colour. The copy is unchanged (the span adds no
 * text). It is the --cx-azul-suave token: 6.44:1 on azul noche (the nearest Global Colour,
 * azul corporativo, is 3.3:1 and fails for 13 px text).
 * DARK SURFACES ONLY: on the light band (blanco hielo) it is 2.51:1 and fails. One rule here,
 * because the section sheets load only on their own page (inc/home-sections.php,
 * inc/page-sections.php) and every page that used the class had its own copy
 * (MKT-WP-REPLICA-ACCENT-SOFT-SHARED). */
.cx-accent-soft {
  color: var(--cx-azul-suave);
}

/* ---- 2. cx-glow-hover — blue halo + lift on hover [canvas .btn:hover l.73] ----
 * USE: on a container/card/link, or on a Button widget (then the halo is on the
 * BUTTON, not on the widget's box). Hover and keyboard focus give the same state
 * (:focus-visible; :has(:focus-visible) for a container). The state is also carried
 * by the lift (translateY) and by the focus ring the browser draws, never by
 * colour alone. Reduced motion: no transition and no lift, the halo stays.
 * A widget's own Hover box-shadow (Style tab, 0,5,0) wins over this. */
:where(.cx-glow-hover) {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* `var(--cx-focus-now)` first: the inner ring of the focus ring under the halo while it has the
 * keyboard focus, nothing on hover (MKT-WP-FOCUS-RING-ON-LIGHT-BANDS). */
:where(.cx-glow-hover:not(.elementor-widget-button)):hover,
:where(.cx-glow-hover:not(.elementor-widget-button)):focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--cx-focus-now), var(--cx-glow-blue);
}
:where(.cx-glow-hover:not(.elementor-widget-button)):has(:focus-visible) {
  transform: translateY(-2px);
  box-shadow: var(--cx-glow-blue);
}
/* 0,3,1: beats the bridge's neutral lift on a primary button (0,3,0). */
.cx-glow-hover :is(a, button).elementor-button:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  box-shadow: var(--cx-focus-now), var(--cx-glow-blue);
}
/* The press (1 px down) of the bridge is 0,3,0 and loses to the lift above (0,3,1): same weight, written
 * after it, the halo stays (MKT-WP-THEME-GLOW-HOVER-BUTTON-PRESS-LOST). */
.cx-glow-hover :is(a, button).elementor-button:active {
  transform: translateY(1px);
}

/* ---- 3. Static halos and rings (rest state of the canvas' own pieces) ----
 * cx-glow-soft [.tw-cta l.256] · cx-glow-teal [.tw-tag l.266] · cx-halo-frame
 * [.vf-frame l.359] · cx-halo-dome [.hww-dome l.416] · cx-ring-active and
 * cx-ring-active--positive [.hww-card.on l.402, .on.last l.405]. */
:where(.cx-glow-soft) {
  box-shadow: var(--cx-glow-blue-soft);
}
:where(.cx-glow-teal) {
  box-shadow: var(--cx-glow-teal);
}
:where(.cx-halo-frame) {
  box-shadow: var(--cx-shadow-card), var(--cx-halo-frame);
}
:where(.cx-halo-dome) {
  box-shadow: var(--cx-halo-dome);
}
:where(.cx-ring-active) {
  box-shadow: var(--cx-ring-active);
}
:where(.cx-ring-active--positive) {
  box-shadow: var(--cx-ring-active-positive);
}

/* ---- 4. cx-orb — decorative blurred-edge circles [canvas l.664, 665, 798, 799, 355, 356] ----
 * MARKUP (decorative, so hidden from assistive technology and from the pointer):
 *   <div class="cx-orb cx-orb--deep cx-orb--s640 cx-orb--bl" aria-hidden="true"></div>
 * in an HTML widget WITHOUT copy, as the FIRST child of a container that has
 * `cx-orb-host`. The host is what the canvas' sections have (position:relative,
 * overflow:hidden, a stacking context): the orb sits at z-index:-1 inside it, so it
 * is above the host's background and below all of its content, and it never
 * widens the page (no horizontal scroll at 390 px). Without the host the orb is
 * hidden behind the page: it fails invisible, never over the text.
 * VARIANTS (colour; alpha is the canvas' own):
 *   --deep       azul profundo 85 %        [hero, bottom left, 640 px]
 *   --blue       azul corporativo 16 %     [hero, top right, 560 px]   (default)
 *   --blue-soft  azul corporativo 10 %     [video band]
 *   --teal       turquesa 10 %             [explore, bottom left, 560 px]
 *   --radial     add to a colour variant: radial fade to transparent at 65 % + blur(10px)
 *                [business-page heroes: `cx-orb cx-orb--radial cx-orb--blue cx-orb--a28`]
 * ALPHA STEPS (override the variant's alpha, for the canvas' other orbs):
 *   --a07 --a08 --a12 --a16 --a18 --a28   (blue 18 %: explore top right; teal 12 % / 8 %;
 *   blue 7 %; the radial heroes: blue 28 %, teal 16 % / 18 %)
 * SIZE: --s520 --s560 --s640 (px). CORNER: --tl --tr --bl --br, which hang the orb
 * outside its host by 30 % x 45 % of its size; exact offsets with the custom
 * properties --cx-orb-x / --cx-orb-y in the element's style attribute. */
:where(.cx-orb-host) {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}
/* An Elementor Container prints `overflow: var(--overflow)` with `--overflow: visible`
 * (`.e-con`, 0,1,0), so the :where() rule above (0,0,0) never clips it: measured
 * 2026-11-04, a 640 px orb at -240 px widened the page to 1680 px at 1440 and to 630 px
 * at 390 until the editor set Overflow: Hidden by hand (MKT-WP-GLOW-ORB-HOST). The host
 * therefore sets the VARIABLE the container reads: 0,2,0 beats `.e-con`, and loses to the
 * Overflow control of the Container (`.elementor-NN .elementor-element.elementor-element-ID
 * { --overflow: … }`, 0,3,0), so the editor can still choose Visible. A theme rule that
 * sets the `overflow` property of one host (home-film.css keeps the halo of its frame)
 * still wins, as before. `clip` where it exists, so a sticky child keeps pinning. */
.e-con.cx-orb-host {
  --overflow: hidden;
}
@supports (overflow: clip) {
  .e-con.cx-orb-host {
    --overflow: clip;
  }
}
/* The orb hangs from the Container, not from the HTML widget that holds it: a widget is
 * `position: relative` (`.elementor-widget`, 0,1,0), which made the orb sit 72 px lower
 * than the canvas (home-explore.css measured it). 0,1,0 again: a widget's own Position
 * (Advanced tab, 0,3,0) wins. */
:where(.cx-orb-host) > .elementor-widget-html {
  position: static;
}
:where(.cx-orb) {
  position: absolute;
  z-index: -1;
  inline-size: var(--cx-orb-size, 560px);
  block-size: var(--cx-orb-size, 560px);
  max-inline-size: none;
  border-radius: 50%;
  pointer-events: none;
  --cx-orb-tint: hsl(var(--cx-primary-hsl) / var(--cx-orb-alpha, 0.16));
  background-color: var(--cx-orb-tint);
}
:where(.cx-orb--deep) {
  --cx-orb-tint: color-mix(in srgb, var(--cx-azul-profundo) calc(var(--cx-orb-alpha, 0.85) * 100%), transparent);
}
:where(.cx-orb--blue-soft) {
  --cx-orb-tint: hsl(var(--cx-primary-hsl) / var(--cx-orb-alpha, 0.1));
}
:where(.cx-orb--teal) {
  --cx-orb-tint: hsl(var(--cx-accent-hsl) / var(--cx-orb-alpha, 0.1));
}
/* --radial: the orb of the business pages' heroes [canvas .bz-orb, App.dc.html l.280 and
 * l.500-501, the same in OTC and Custody]: not a flat disc but the variant's colour fading to
 * transparent at 65 % of the radius, with `blur(10px)`. The colour and alpha are the
 * variant's (and alpha step's): blue + --a28 and teal + --a16 / --a18 are the canvas' own,
 * so no page paints its own orb. */
:where(.cx-orb--radial) {
  background-color: transparent;
  background-image: radial-gradient(circle, var(--cx-orb-tint), transparent 65%);
  filter: blur(10px);
}
:where(.cx-orb--a07) { --cx-orb-alpha: 0.07; }
:where(.cx-orb--a08) { --cx-orb-alpha: 0.08; }
:where(.cx-orb--a12) { --cx-orb-alpha: 0.12; }
:where(.cx-orb--a16) { --cx-orb-alpha: 0.16; }
:where(.cx-orb--a18) { --cx-orb-alpha: 0.18; }
:where(.cx-orb--a28) { --cx-orb-alpha: 0.28; }
:where(.cx-orb--s520) { --cx-orb-size: 520px; }
:where(.cx-orb--s560) { --cx-orb-size: 560px; }
:where(.cx-orb--s640) { --cx-orb-size: 640px; }
:where(.cx-orb--tl) {
  top: var(--cx-orb-y, calc(var(--cx-orb-size, 560px) * -0.45));
  left: var(--cx-orb-x, calc(var(--cx-orb-size, 560px) * -0.3));
}
:where(.cx-orb--tr) {
  top: var(--cx-orb-y, calc(var(--cx-orb-size, 560px) * -0.45));
  right: var(--cx-orb-x, calc(var(--cx-orb-size, 560px) * -0.3));
}
:where(.cx-orb--bl) {
  bottom: var(--cx-orb-y, calc(var(--cx-orb-size, 560px) * -0.45));
  left: var(--cx-orb-x, calc(var(--cx-orb-size, 560px) * -0.3));
}
:where(.cx-orb--br) {
  bottom: var(--cx-orb-y, calc(var(--cx-orb-size, 560px) * -0.45));
  right: var(--cx-orb-x, calc(var(--cx-orb-size, 560px) * -0.3));
}

/* ---- 5. cx-radial-hero — the ellipse behind the hero platform [canvas l.678] ----
 * MARKUP: <div class="cx-radial-hero" aria-hidden="true"></div> in an HTML widget
 * without copy, first child of a `cx-orb-host`. It spans the host 10 % past each
 * side, from 4 % of its height to the bottom; the host clips it. */
:where(.cx-radial-hero) {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -10%;
  bottom: 0;
  left: -10%;
  border-radius: 50%;
  pointer-events: none;
  background-image: var(--cx-radial-hero);
}

/* ---- 6. cx-glass-glare — the specular of a phone screen [canvas l.449 .cv-glare] ----
 * MARKUP: <div class="cx-glass-glare" aria-hidden="true"></div> as the LAST child
 * of the (position:relative) screen. `cx-glass-glare--frame` is the specular of the
 * whole phone frame [.tw-ph:before l.276]. Inset and radius are the canvas' own
 * (22 px / 88 px for the coverflow screen, 0 / 42 px for the frame) and can be set
 * with --cx-glare-inset / --cx-glare-radius. */
:where(.cx-glass-glare) {
  position: absolute;
  z-index: 6;
  inset: var(--cx-glare-inset, 22px);
  border-radius: var(--cx-glare-radius, 88px);
  pointer-events: none;
  background-image: var(--cx-glare);
}
:where(.cx-glass-glare--frame) {
  z-index: 4;
  inset: var(--cx-glare-inset, 0);
  border-radius: var(--cx-glare-radius, 42px);
  background-image: var(--cx-glare-frame);
}

/* ---- Reduced motion: the halo stays, the move and the transition go ---- */
@media (prefers-reduced-motion: reduce) {
  :where(.cx-glow-hover) {
    transition: none;
  }
  :where(.cx-glow-hover:not(.elementor-widget-button)):hover,
  :where(.cx-glow-hover:not(.elementor-widget-button)):focus-visible {
    transform: none;
  }
  :where(.cx-glow-hover:not(.elementor-widget-button)):has(:focus-visible) {
    transform: none;
  }
  .cx-glow-hover :is(a, button).elementor-button:is(:hover, :focus-visible),
  .cx-glow-hover :is(a, button).elementor-button:active {
    transform: none;
  }
}
/* GLOW CLASSES — END */

/* ============================================================================
 * ============================================================================
 * DARK-FIRST GLASSMORPHIC LAYOUT LAYER (MKT-WP redesign)
 *
 * The whole marketing site renders DARK (header, hero, sections, footer) on
 * the azul-noche background with translucent glass surfaces, hairline borders,
 * depth shadows and the turquoise->blue brand gradient as the signature —
 * matching the customer-portal design language. Premium fintech, like
 * Stripe / Mercury / Linear in dark mode: depth + restraint, generous
 * whitespace. The coloured halos, gradient text and orbs of the canvas are the
 * opt-in classes of the GLOW block (they were off between MKT-WP-REDESIGN-NO-GLOW
 * and MKT-WP-REPLICA-GLOW-CLASSES). Mobile-first; breakpoints at ~768px
 * (tablet) and ~1024px (desktop). prefers-reduced-motion respected at the bottom.
 *
 * Helper class .cx-glass = the portal GlassCard recipe (translucent fill +
 * backdrop-blur + hairline border + depth shadow + large radius).
 * .cx-glass--glow survives only as an alias of it.
 * ============================================================================
 * ========================================================================== */

/* ---- Layout tokens (local to the design layer) --------------------------- */
:root {
  --cx-container: 1200px;       /* max content width                         */
  --cx-container-narrow: 760px; /* prose measure for long-form reading        */
  --cx-header-h: 72px;          /* sticky header height (desktop)             */
  /* Horizontal page padding: 32px desktop, 24px tablet, 16px mobile (canvas
   * .wrap; steps in the @media blocks below). Was 1.5rem at every width. */
  --cx-gutter: 32px;
  /* Elementor's "default" column gap: every Elementor column pads its content
   * 10px per side, so page TEXT starts one column-gutter inside the page frame.
   * Chrome that must line up with that text (the newsletter band) adds it. */
  --cx-column-gutter: 10px;
  /* Cap of one button in a CTA pair (the pair is as wide as its longest label,
   * both buttons equal, up to this width each). */
  --cx-cta-pair-max: 22rem;
  /* Minimum size of a touch target (WCAG 2.5.5 / Apple HIG 44pt): the header
   * burger's room on phones never drops below it (cexum-tb-chrome.css). */
  --cx-tap-target: 2.75rem;

  /* ---- Vertical rhythm, PRIMITIVE layer: the 4px-base step ramp. Never bind a
   * primitive in a rule; bind the semantic token below. px (not rem) because
   * the Elementor builder shows px: the scale and the number an editor types
   * have to be the same number (MKT-WP-PDF-SPACING). */
  --cx-space-4: 4px;
  --cx-space-8: 8px;
  --cx-space-12: 12px;
  --cx-space-16: 16px;
  --cx-space-20: 20px;
  --cx-space-24: 24px;
  --cx-space-28: 28px;
  --cx-space-32: 32px;
  --cx-space-40: 40px;
  --cx-space-48: 48px;
  --cx-space-64: 64px;
  --cx-space-72: 72px;
  --cx-space-80: 80px;
  --cx-space-96: 96px;
  --cx-space-112: 112px;

  /* ---- Vertical rhythm, SEMANTIC layer: one token per ROLE. Mirrors the scale
   * written into the sections of the spacing edit-set, so CSS default and page
   * data can never disagree:
   *   hero 96/64/40 · landing 64/48/40 · band 72/48/32 · block 32/28/20
   *   stack 20 · head 12 · notice 16 (constant by design). */
  --cx-rhythm-page: var(--cx-space-64);     /* .cx-page-body top / bottom     */
  --cx-rhythm-hero: var(--cx-space-96);     /* interior hero band             */
  --cx-rhythm-landing: var(--cx-space-64);  /* home / landing band            */
  --cx-rhythm-band: var(--cx-space-72);     /* closing CTA, change of context */
  --cx-rhythm-block: var(--cx-space-32);    /* one prose section (h2 + copy)  */
  --cx-rhythm-stack: var(--cx-space-20);    /* widget -> widget in a section  */
  --cx-rhythm-head: var(--cx-space-12);     /* heading -> its own copy        */
  --cx-rhythm-notice: var(--cx-space-16);   /* compact notice band            */
  /* Content band of the 2026-11 redesign (canvas sections 104-112px, 80px
   * <=1000px): 112px from 1024px up, 80px from 640px, 64px below 640px. */
  --cx-rhythm-section: var(--cx-space-112);
  /* Inner padding of a card / form panel of the redesign: 32px, 24px on phones
   * (<=767px, step below). First consumer: the page form card
   * (.cx-form-wrap--card, native-forms.php, MKT-WP-REDESIGN-FORMS). */
  --cx-pad-card: var(--cx-space-32);
  /* Form controls of the redesign: visible label .875rem 600 above every
   * field, and a 20px consent checkbox. */
  --cx-fs-label: 0.875rem;
  --cx-weight-label: 600;
  --cx-check-size: var(--cx-space-20);
  /* Pill of the "On this page" row of the «CEXUM bandas» page template
   * (MKT-WP-REDESIGN-PAGE-TEMPLATE): .875rem 600, 8/16px, 8px apart. */
  --cx-fs-chip: 0.875rem;
  --cx-weight-chip: 600;
  --cx-pad-chip-block: var(--cx-space-8);
  --cx-pad-chip-inline: var(--cx-space-16);
  --cx-gap-chip: var(--cx-space-8);
  --cx-gap-chip-label: var(--cx-space-16);   /* row label -> first pill */
  --cx-fs-meta: 0.8125rem;                   /* row label, = breadcrumb size */
  /* Running text of a compact component (a notice, a card line): the body size
   * and the secondary step under it, 16 / 15px. First consumer: the newsletter
   * landing notice (.cx-nl-notice, MKT-WP-NL-NOTICE-SCALE-TOKENS), whose
   * hand-written 1.02rem / .92rem (16.32 / 14.72px) were off the scale. */
  --cx-fs-body: 1rem;
  --cx-fs-small: 0.9375rem;
}

/* The theme's FIRST media queries that reduce vertical rhythm. Until 2026-09-25
 * every @media here was a min-width layout switch, so a 375px phone paid a
 * desktop band. The two widths are Elementor's OWN breakpoints (Kit viewport_lg
 * 1025 / viewport_md 768): `padding_tablet` renders <=1024px and
 * `padding_mobile` <=767px, and the CSS default steps at exactly the same two
 * widths. One place to change the whole site's rhythm. */
@media (max-width: 1024px) {
  :root {
    --cx-rhythm-page: var(--cx-space-48);
    --cx-rhythm-hero: var(--cx-space-64);
    --cx-rhythm-landing: var(--cx-space-48);
    --cx-rhythm-band: var(--cx-space-48);
    --cx-rhythm-block: var(--cx-space-28);
    /* Redesign 2026-11: page padding and type scale, tablet step. */
    --cx-gutter: 24px;
    --cx-fs-display: 2.75rem;
    --cx-fs-h2: 2rem;
  }
}
@media (max-width: 767px) {
  :root {
    --cx-rhythm-page: var(--cx-space-32);
    --cx-rhythm-hero: var(--cx-space-40);
    --cx-rhythm-landing: var(--cx-space-40);
    --cx-rhythm-band: var(--cx-space-32);
    --cx-rhythm-block: var(--cx-space-20);
    --cx-pad-card: var(--cx-space-24);
    /* Redesign 2026-11: page padding and type scale, mobile step. */
    --cx-gutter: 16px;
    --cx-fs-display: 2.25rem;
    --cx-fs-h2: 2rem;
    --cx-fs-h3: 1.25rem;
    --cx-fs-lead: 1.125rem;
  }
}
/* The redesign's content band steps at the design-system reference widths
 * (1024 / 640, docs/design/cexum-design-system.md §3.1) as its task fixed them,
 * not at Elementor's 1025 / 768: 112px >=1024, 80px >=640, 64px below. */
@media (max-width: 1023px) {
  :root {
    --cx-rhythm-section: var(--cx-space-80);
  }
}
@media (max-width: 639px) {
  :root {
    --cx-rhythm-section: var(--cx-space-64);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* What a sticky header covers at the top of the window (MKT-WP-STATIC-HEADER-SCROLL-OFFSETS).
 * Only the PHP fallback masthead (.cx-site-header, header.php) is sticky; the Theme Builder
 * header of the redesign scrolls away with the page (`position: relative`,
 * cexum-tb-chrome.css), and header.php prints one or the other, never both. Until
 * 2026-11-06 the anchors and the TOC rail always reserved the 72px header, so under the
 * Theme Builder header a TOC jump left its heading 88px below the edge and the rail
 * stood 96px down. */
:root {
  --cx-sticky-offset: 0px;
}
html:has(.cx-site-header) {
  --cx-sticky-offset: var(--cx-header-h);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cx-sticky-offset) + var(--cx-space-16)); /* anchors clear a sticky header */
}

/* ============================================================================
 * Base — DARK surface for the whole document
 * ========================================================================== */
body,
body.cx-body {
  margin: 0;
  font-family: var(--cx-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: hsl(var(--cx-on-dark));
  background-color: hsl(var(--cx-bg));
  /* Flat azul-noche base: the coloured corner radials that sat here (and on the
   * hero, CTA and page-hero bands) were removed with the redesign's no-glow rule
   * (MKT-WP-REDESIGN-NO-GLOW, owner 2026-10-28). */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color-scheme: dark;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cx-font-sans);
  color: hsl(var(--cx-on-dark));
  letter-spacing: -0.018em;
  font-weight: 700;
}

a {
  color: hsl(var(--cx-accent-hsl));
  text-decoration: none;
  transition: color 0.15s ease;
}
/* Turquesa -> blanco hielo on hover (redesign 2026-11); the kit's Theme Style
 * link colours (Global Colors Accent / Text) are the twin and win when present.
 * The underline stays: the hover is never signalled by colour alone. */
a:hover {
  color: hsl(var(--cx-on-dark));
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* The CEXUM lockup keeps its proportion wherever a widget sizes it by HEIGHT only (MKT-WP-PAGESPEED-LOGO-ASPECT,
 * PageSpeed 2026-11-18 «Muestra imágenes con una relación de aspecto incorrecta»). The hero's app bar (`cx-hero-logo`,
 * height 20px) and the OTC comparison table header set only a height; WP Rocket's «add missing image dimensions»
 * (image_dimensions=1, scripts/wp-rocket-prod-settings.php) prints width="600" height="117" on the <img>, and that
 * presentational 600 px, capped by max-width:100%, drew the logo 242x20 instead of 102.56x20 (the canvas has
 * `height:20px;width:auto`). `:where()` keeps the weight at 0,0,0: it beats only the HTML attribute, never a width another
 * rule sets (the dome logo of «how», motion/cx-motion-wheel.css, is (0,0,1) and stays). data-lazy-src covers the moment
 * before WP Rocket's lazyload swaps the src. Measured on :8090, 78 pages x 3 widths: 56/56 lockups fixed, 0 other
 * images changed (C:/tmp/wp-redesign-lanes/img-sweep/out/after.txt). */
:where(img[src*="/cexum-logo-lockup"], img[data-lazy-src*="/cexum-logo-lockup"]) {
  width: auto;
}

/* ============================================================================
 * Glass surface helper — the portal GlassCard recipe
 * ========================================================================== */
.cx-glass {
  background: hsl(var(--cx-glass-tint) / 0.55);
  -webkit-backdrop-filter: blur(var(--cx-blur));
  backdrop-filter: blur(var(--cx-blur));
  border: 1px solid hsl(var(--cx-line) / 0.6);
  border-radius: var(--cx-radius-lg);
  box-shadow: var(--cx-shadow-card);
}
/* Kept as a no-op alias so markup that still carries it renders as plain
 * glass: the turquoise halo it added is gone (no-glow rule). */
.cx-glass--glow {
  box-shadow: var(--cx-shadow-card);
}

/* ============================================================================
 * Buttons — gradient primary, glass ghost
 * Base finish = the redesign's primary (canvas Main.dc.html l.672, Security l.314,
 * Affiliate l.29: 16/28px, radius 12; MKT-WP-CX-BTN-BASE-RECIPE). Until 2026-11-06
 * the PHP buttons (404, blog cards and empty state, share links, the PHP fallback
 * header and home) kept the pre-redesign 12/24px and radius 10 while the Elementor
 * buttons had the new one. Pieces of the canvas with their own finish (the
 * newsletter plate's button, the home and /contact/ form buttons) keep it in their
 * own scoped rules.
 * ========================================================================== */
.cx-btn,
.cx-btn-primary,
.cx-btn-secondary,
.cx-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--cx-space-16) var(--cx-space-28);
  border-radius: var(--cx-radius-btn);
  font-family: var(--cx-font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
  text-decoration: none;
}
.cx-btn:active,
.cx-btn-primary:active,
.cx-btn-secondary:active,
.cx-btn-ghost:active {
  transform: translateY(1px);
}

/* Primary — the brand ACTION gradient (AA-contrast label, see the tokens). */
.cx-btn-primary {
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
}
/* Hello Elementor's reset paints a <button> #c36 / white on :hover and :focus at 0,2,0
 * (`[type=submit]:focus`), over this 0,1,0 fill: the states repeat the fill, so a focused or hovered
 * form button keeps the action gradient (MKT-WP-HELLO-RESET-PINK-BUTTON-STATES; gate:
 * scripts/check_theme_button_states.py). */
.cx-btn-primary:focus {
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
}
.cx-btn-primary:hover {
  background: var(--cx-gradient-action);
  filter: brightness(1.06);
  color: var(--cx-button-text);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--cx-shadow-lift);
}
/* Hello Elementor 3.5's reset takes the shadow off a clicked a|button while it keeps the focus
 * (`button:focus:not(:focus-visible) { box-shadow: none }`, 0,2,1): the lift went flat under the pointer after a
 * click (measured 2026-11-18 on the newsletter's «Subscribe»). The lift again for a hovered, focused button, with
 * the inner ring of the keyboard focus first, at Hello's 0,2,1 (the focus in :where(), so the rule stays under a
 * widget's own setting, 0,3,0) (MKT-WP-FOCUS-RING-HELLO-3-5-2; gate: check H of scripts/check_theme_focus_ring.py). */
:is(a, button).cx-btn-primary:hover:where(:focus) {
  box-shadow: var(--cx-focus-now), var(--cx-shadow-lift);
}
@media (prefers-reduced-motion: reduce) {
  .cx-btn-primary:hover {
    transform: none;
  }
}

/* Secondary — turquoise outline. */
.cx-btn-secondary {
  background: transparent;
  color: hsl(var(--cx-accent-hsl));
  border-color: hsl(var(--cx-accent-hsl) / 0.5);
}
.cx-btn-secondary:hover {
  background: hsl(var(--cx-accent-hsl) / 0.1);
  color: hsl(var(--cx-accent-hsl));
  text-decoration: none;
}

/* Ghost — glass on dark. */
.cx-btn-ghost {
  background: hsl(var(--cx-on-dark) / 0.04);
  color: hsl(var(--cx-on-dark));
  border-color: hsl(var(--cx-line) / 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cx-btn-ghost:hover {
  background: hsl(var(--cx-on-dark) / 0.08);
  border-color: hsl(var(--cx-accent-hsl) / 0.6);
  color: hsl(var(--cx-on-dark));
  text-decoration: none;
}

/* The large step is the canvas primary's 17px label (Main.dc.html l.672) on the
 * base box: its old 15/30px padding was SMALLER in height than the new base. */
.cx-btn--lg {
  font-size: 1.0625rem;
}
/* On-dark ghost variant kept as an explicit alias for template clarity. */
.cx-btn-ghost.cx-btn--on-dark {
  color: hsl(var(--cx-on-dark));
  border-color: hsl(var(--cx-line) / 0.8);
}
/* The theme's link only (`a.`): the pre-redesign Elementor home still served in
 * production puts cx-btn--on-dark on Button widget WRAPPERS (<div>), and this
 * hover (0,3,0) tied their Advanced settings (MKT-WP-THEME-HIDDEN-HOOKS-BEAT-WIDGETS). */
a.cx-btn-ghost.cx-btn--on-dark:hover {
  background: hsl(var(--cx-on-dark) / 0.1);
  border-color: hsl(var(--cx-accent-hsl) / 0.7);
  color: hsl(var(--cx-on-dark));
}

/* On-dark secondary — a single clean outline button (one hairline border,
 * transparent fill, on-dark label, no glass/backdrop). Used as the quiet
 * education action beside a gradient primary on dark gradient bands, so the
 * pair reads as two flat sibling buttons (no panel-in-panel double frame). */
.cx-btn-secondary.cx-btn--on-dark {
  background: transparent;
  color: hsl(var(--cx-on-dark));
  border-color: hsl(var(--cx-line) / 0.8);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* `a.` for the same reason as the ghost hover above. */
a.cx-btn-secondary.cx-btn--on-dark:hover {
  background: hsl(var(--cx-on-dark) / 0.08);
  border-color: hsl(var(--cx-accent-hsl) / 0.7);
  color: hsl(var(--cx-on-dark));
}

/* ============================================================================
 * Focus ring — accessibility (WCAG 2.2 AA: 2.4.7, 1.4.11) — a DOUBLE ring
 * (MKT-WP-FOCUS-RING-ON-LIGHT-BANDS, 2026-11-06)
 *
 * The canvas draws one turquoise ring on every page (`:focus-visible { outline: 2px solid #18C9D7 }`,
 * Cryptocurrencies l.34; `.v3 :focus-visible` Terms / Contact l.98; `.sc :focus-visible` Security l.290).
 * On the dark bands that ring is 8.6:1, but the replica also has light surfaces (Blanco Hielo bands, white
 * cards, the newsletter's white plate, the legal reading zone), where turquoise is 1.9-2.0:1 — under the
 * 3:1 a focus indicator needs. Measured 2026-11-06 (QA sweep, part A, F2/F6): 260 Tab stops, the worst the
 * newsletter's «Subscribe» on its white plate (2.0-2.95:1, every page) and the floating pause button over
 * the legal reading zone (1.89:1). Contrast rule of the replica (decided with the owner): adjust just
 * enough to pass, so the turquoise ring stays where the canvas has it and gains an inner ring:
 *   - outer ring  `--cx-focus-ring`        turquoise (outline): 8.6:1 on Azul Noche, the one that shows on dark;
 *   - inner ring  `--cx-focus-ring-inner`  Azul Noche (box-shadow, filling the offset): 17.4:1 on white,
 *                 16.2:1 on Blanco Hielo, 3.4:1 on Azul Corporativo — the one that shows on light.
 * On Azul Noche the inner ring is the band's own colour, so a dark band looks exactly as before.
 * No surface has to be marked by an editor: both rings are always drawn.
 * A component that writes its own `:focus-visible` outline keeps the inner ring (the shadow is not
 * reset). One that writes its own `box-shadow` for the focus (a glow shared with :hover) starts the
 * list with `var(--cx-focus-now)`: it is the inner ring while the element has the keyboard focus and
 * an empty shadow otherwise (registered, NOT inherited, so a focused card does not ring its children).
 * Gate: scripts/check_theme_focus_ring.py (the contract above, statically); the contrast itself is
 * measured by pixels with the Tab sweep of the QA harness (see the task row).
 * ========================================================================== */
@property --cx-focus-now {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
:root {
  --cx-focus-ring: hsl(var(--cx-accent-hsl));
  --cx-focus-ring-inner: var(--cx-azul-noche);
  --cx-focus-ring-width: 2px;
  --cx-focus-ring-offset: 2px;
  --cx-focus-ring-halo: 0 0 0 var(--cx-focus-ring-offset) var(--cx-focus-ring-inner);
}
:focus-visible {
  --cx-focus-now: var(--cx-focus-ring-halo);
  outline: var(--cx-focus-ring-width) solid var(--cx-focus-ring);
  outline-offset: var(--cx-focus-ring-offset);
  box-shadow: var(--cx-focus-now);
  border-radius: var(--cx-radius-sm);
}
/* Hello Elementor 3.5 (production from 2026-11-18) draws its own keyboard ring in its reset, printed before
 * this sheet: `[tabindex]:not([tabindex="-1"]):not([contenteditable]):focus-visible` (0,4,0) and
 * `a|button|input|select|textarea:focus-visible` (0,1,1) { box-shadow: 0 0 0 4px #fff; outline: 2px solid #000;
 * outline-offset: 2px }. Both outrank the 0,1,0 rule above, so a Tab stop showed a black outline and a white halo
 * instead of the double ring (MKT-WP-FOCUS-RING-HELLO-3-5-2). The same six selectors, so the same weight, printed
 * after Hello's sheet: the double ring wins by order, at no higher specificity than Hello's own. A component ring
 * on an element with a tabindex (Nested Tabs, Nested Accordion, the menu toggle...) is overridden by the first
 * selector as it was by Hello's: it sets the ring TOKENS on its own focus rule (`--cx-focus-ring-offset`...),
 * which this rule reads. Hello's reset also takes the box-shadow off an element focused by a click
 * (`:focus:not(:focus-visible)`, 0,2,1 and 0,5,0 for [tabindex]); a shadow the theme designs for a focusable element
 * is drawn again for `:focus` where it is written. Gate: checks F, F2 and H of scripts/check_theme_focus_ring.py
 * (the parent's rules are recorded there). */
[tabindex]:not([tabindex="-1"]):not([contenteditable]):focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--cx-focus-ring-width) solid var(--cx-focus-ring);
  outline-offset: var(--cx-focus-ring-offset);
  box-shadow: var(--cx-focus-now);
}
/* Elementor's frontend.css resets `.elementor a { box-shadow: none }` (0,1,1), above the global rule
 * (0,1,0): every link inside Elementor content lost the inner ring (measured 2026-11-06 on About's
 * «info@cexum.com», on the light band). Same weight, printed after Elementor's sheet, so the inner ring
 * comes back; a widget's own Style-tab shadow (0,3,0 and up) still wins. */
:where(.elementor) a:focus-visible {
  box-shadow: var(--cx-focus-now);
}
/* Swiper draws an inactive pagination bullet at `opacity: .2` (swiper.css,
 * `--swiper-pagination-bullet-inactive-opacity`) and the opacity takes the focus ring with it: the
 * carousel bullets «Go to slide 2/3/4» of the Cryptocurrencies draft measured 1.5:1 (QA sweep
 * 2026-11-06, F6). The bullet that has the keyboard focus is drawn whole, ring included. */
.swiper-pagination-bullet:focus-visible {
  opacity: 1;
}

/* Skip link — visible only on keyboard focus. */
/* `a.` selectors on the skip link, the breadcrumb and the "On this page" links:
 * the Elementor kit's link colour (Theme Style, `.elementor-kit-N a`, 0,1,1)
 * otherwise repaints them turquesa — measured 2026-11-02, the white skip-link
 * label turned turquesa on the action gradient (MKT-WP-REDESIGN-KIT-BUTTONS-FORMS).
 * Element + class ties the kit and wins by load order. */
a.cx-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--cx-gradient-action);
  color: var(--cx-button-text);
  font-weight: 600;
  border-radius: 0 0 var(--cx-radius-sm) 0;
}
/* WCAG 2.2 · 2.4.11/2.4.12 (MKT-WP-REPLICA-HOME-RF-FOCUS-PARTIAL-OVERLAPS): the focus ring is 4 px outside
 * the box (2 px width + 2 px offset). Flush with the corner of the screen, the ring of the first Tab stop
 * of the home was cut by the viewport edge (224 measured ring points outside it, 1440 x 900 and 390 x 844),
 * so the chip floats 8 px in. */
a.cx-skip-link:focus {
  left: var(--cx-space-8);
  top: var(--cx-space-8);
  border-radius: var(--cx-radius-sm);
  text-decoration: none;
}

/* ============================================================================
 * Brand wordmark — real logo image
 * ========================================================================== */
.cx-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.cx-brand:hover {
  text-decoration: none;
}
.cx-brand__logo {
  display: block;
  height: 34px;
  width: auto;
}
@media (min-width: 1024px) {
  .cx-brand__logo {
    height: 38px;
  }
}
.cx-brand__logo--footer {
  height: 34px;
}

/* ----------------------------------------------------------------------------
 * Logo color treatment — render the DARK source asset as crisp white.
 *
 * The horizontal lockup we ship (cexum-logo-dark.png) has SOLID, legible
 * letterforms (gradient CX mark + solid navy "CEXUM"), unlike the white
 * variant whose "CEXUM" letters were a near-invisible outline. `brightness(0)`
 * crushes every pixel to black, then `invert(1)` flips it to pure white — so
 * the WHOLE lockup (mark + letters) reads as a clean monochrome-white wordmark
 * on the azul-noche header/footer. The 1920x560 source scales down sharply on
 * retina. Trade-off: the turquoise->blue brand gradient on the CX mark is
 * flattened to white here; the gradient still lives in CTAs, accents and the
 * hero. Legible white "CEXUM" letters are the priority.
 * -------------------------------------------------------------------------- */
.cx-brand__img {
  filter: brightness(0) invert(1);
  transition: opacity 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}
.cx-brand:hover .cx-brand__img {
  opacity: 0.9;
  transform: scale(1.02);
}
@media (prefers-reduced-motion: reduce) {
  .cx-brand__img {
    transition: none;
  }
  .cx-brand:hover .cx-brand__img {
    transform: none;
  }
}

/* ============================================================================
 * Site header — dark glass, sticky
 * ========================================================================== */
.cx-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(var(--cx-bg) / 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid hsl(var(--cx-line) / 0.5);
}
.cx-site-header__inner {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: 0.75rem var(--cx-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--cx-header-h);
}

/* Nav — collapses to a CSS-only drawer on mobile. */
.cx-nav {
  display: none;
  width: 100%;
}
.cx-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cx-nav__item {
  margin: 0;
}
.cx-nav__link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--cx-radius-sm);
  font-weight: 500;
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: none;
}
.cx-nav__link:hover,
.cx-nav__item.current-menu-item > .cx-nav__link {
  background: hsl(var(--cx-on-dark) / 0.06);
  color: hsl(var(--cx-on-dark));
  text-decoration: none;
}
.cx-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--cx-line) / 0.5);
}
.cx-nav__locale {
  font-size: 0.875rem;
}
.cx-nav__cta {
  width: 100%;
}

/* ----------------------------------------------------------------------------
 * Language switcher (.cx-lang) — a discreet <details> dropdown rendered by
 * cexum_wpml_render_language_switcher(): globe + current code + chevron in the
 * toggle; native names in a small glass menu. Keyboard-accessible (native
 * <details>/<summary>), zero JS. All color/spacing bound to --cx-* tokens.
 * -------------------------------------------------------------------------- */
.cx-lang {
  position: relative;
  display: inline-block;
}
/* Toggle pill — strip the native disclosure marker, compact inline-flex. */
.cx-lang__toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--cx-radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  color: hsl(var(--cx-on-dark-muted));
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.cx-lang__toggle::-webkit-details-marker {
  display: none;
}
.cx-lang__toggle:hover,
.cx-lang[open] .cx-lang__toggle {
  background: hsl(var(--cx-on-dark) / 0.08);
  color: hsl(var(--cx-on-dark));
}
.cx-lang__globe {
  width: 1rem;
  height: 1rem;
  flex: none;
  color: currentColor;
}
.cx-lang__chevron {
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  color: currentColor;
  transition: transform 0.2s ease;
}
.cx-lang[open] .cx-lang__chevron {
  transform: rotate(180deg);
}
.cx-lang__current {
  letter-spacing: 0.02em;
}
/* Menu — glass panel anchored under the toggle. */
.cx-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 10rem;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: hsl(var(--cx-glass-tint) / 0.97);
  border: 1px solid hsl(var(--cx-line) / 0.6);
  border-radius: var(--cx-radius);
  box-shadow: var(--cx-shadow-card);
  -webkit-backdrop-filter: blur(var(--cx-blur));
  backdrop-filter: blur(var(--cx-blur));
  z-index: 60;
}
.cx-lang__item {
  margin: 0;
}
.cx-lang__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.cx-lang__link:hover,
.cx-lang__link:focus-visible {
  background: hsl(var(--cx-on-dark) / 0.08);
  color: hsl(var(--cx-on-dark));
  text-decoration: none;
}
.cx-lang__link.is-current {
  color: hsl(var(--cx-accent-hsl));
  font-weight: 600;
}
/* In the menu show ONLY the native name — the per-row code is the toggle's job. */
.cx-lang__menu .cx-lang__code {
  display: none;
}

/* Hamburger toggle (checkbox-driven, no JS). */
.cx-nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cx-nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--cx-radius-sm);
}
.cx-nav-burger:hover {
  background: hsl(var(--cx-on-dark) / 0.06);
}
.cx-nav-burger__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: hsl(var(--cx-on-dark));
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* When the checkbox is checked, reveal the nav and morph the burger to an X. */
.cx-nav-toggle:checked ~ .cx-nav {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--cx-header-h);
  background: hsl(var(--cx-surface-1) / 0.97);
  -webkit-backdrop-filter: blur(var(--cx-blur));
  backdrop-filter: blur(var(--cx-blur));
  border-bottom: 1px solid hsl(var(--cx-line) / 0.5);
  box-shadow: var(--cx-shadow-card);
  padding: 1rem var(--cx-gutter) 1.5rem;
}
.cx-nav-toggle:focus-visible ~ .cx-nav-burger {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
}
.cx-nav-toggle:checked ~ .cx-nav-burger .cx-nav-burger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.cx-nav-toggle:checked ~ .cx-nav-burger .cx-nav-burger__bar:nth-child(2) {
  opacity: 0;
}
.cx-nav-toggle:checked ~ .cx-nav-burger .cx-nav-burger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================================
 * Main + shared layout primitives
 * ========================================================================== */
.cx-main {
  flex: 1 0 auto;
  width: 100%;
}
/* The skip link moves focus INTO main (tabindex="-1", inc/elementor-landmark.php); the container is
   not a control, so that programmatic focus shows no ring (WCAG 2.4.7 asks for one on controls). */
.cx-main[tabindex="-1"]:focus {
  outline: none;
}
.cx-container {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding-left: var(--cx-gutter);
  padding-right: var(--cx-gutter);
}

.cx-section {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
/* Muted band — a slightly lifted surface to separate alternating sections. */
.cx-section--muted {
  background: hsl(var(--cx-surface-1) / 0.45);
  border-top: 1px solid hsl(var(--cx-line) / 0.35);
  border-bottom: 1px solid hsl(var(--cx-line) / 0.35);
}

/* Section header block */
.cx-section__head {
  max-width: 56ch;
  margin: 0 auto clamp(2.25rem, 5vw, 3.25rem);
  text-align: center;
}
.cx-section__head--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.cx-section__eyebrow {
  margin: 0 0 1rem;
  /* Global Font "Eyebrow / Label" (kit `accent`), --cx-* fallback. */
  font-size: var(--e-global-typography-accent-font-size, var(--cx-fs-eyebrow));
  font-weight: var(--e-global-typography-accent-font-weight, var(--cx-weight-eyebrow));
  letter-spacing: var(--e-global-typography-accent-letter-spacing, var(--cx-tracking-eyebrow));
  line-height: var(--e-global-typography-accent-line-height, var(--cx-lh-eyebrow));
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  /* Solid eyebrow colour (no gradient text, no-glow rule). */
  color: var(--cx-eyebrow-on-dark);
  display: inline-block;
}
.cx-section__eyebrow--accent {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: hsl(var(--cx-accent-hsl));
}
.cx-section__title {
  margin: 0 0 1rem;
  /* Global Font "Section Heading" (kit `secondary`): 44 / 32 / 28px. */
  font-size: var(--e-global-typography-secondary-font-size, var(--cx-fs-h2));
  line-height: var(--e-global-typography-secondary-line-height, var(--cx-lh-h2));
  font-weight: var(--e-global-typography-secondary-font-weight, var(--cx-weight-h2));
  letter-spacing: var(--e-global-typography-secondary-letter-spacing, var(--cx-tracking-h2));
  color: hsl(var(--cx-on-dark));
}
.cx-section__title--on-dark {
  color: hsl(var(--cx-on-dark));
}
.cx-section__lede {
  margin: 0;
  /* Global Font "Lead Paragraph" (kit `cxlead`): 20 / 18px. */
  font-size: var(--e-global-typography-cxlead-font-size, var(--cx-fs-lead));
  line-height: var(--e-global-typography-cxlead-line-height, var(--cx-lh-lead));
  color: hsl(var(--cx-on-dark-muted));
}
.cx-section__lede--on-dark {
  color: hsl(var(--cx-on-dark-muted));
}

/* Grid utility */
.cx-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cx-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cx-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cx-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================================
 * 1. HERO — radial-accent dark band + glass product-preview panel
 * ========================================================================== */
.cx-hero {
  position: relative;
  overflow: hidden;
}
.cx-hero__inner {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6rem) var(--cx-gutter);
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}
.cx-hero__eyebrow {
  margin: 0 0 1rem;
  font-size: var(--e-global-typography-accent-font-size, var(--cx-fs-eyebrow));
  font-weight: var(--e-global-typography-accent-font-weight, var(--cx-weight-eyebrow));
  letter-spacing: var(--e-global-typography-accent-letter-spacing, var(--cx-tracking-eyebrow));
  line-height: var(--e-global-typography-accent-line-height, var(--cx-lh-eyebrow));
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  color: var(--cx-eyebrow-on-dark);
  display: inline-block;
}
.cx-hero__title {
  margin: 0 0 1rem;
  /* Display / H1 (kit `primary`, --cx-* fallback): 64 / 44 / 36px. */
  font-size: var(--e-global-typography-primary-font-size, var(--cx-fs-display));
  line-height: var(--e-global-typography-primary-line-height, var(--cx-lh-display));
  font-weight: var(--e-global-typography-primary-font-weight, var(--cx-weight-display));
  letter-spacing: var(--e-global-typography-primary-letter-spacing, var(--cx-tracking-display));
  color: hsl(var(--cx-on-dark));
  max-width: 15ch;
}
.cx-hero__lede {
  margin: 0 0 2rem;
  font-size: var(--e-global-typography-cxlead-font-size, var(--cx-fs-lead));
  line-height: var(--e-global-typography-cxlead-line-height, var(--cx-lh-lead));
  color: hsl(var(--cx-on-dark-muted));
  max-width: 56ch;
}
.cx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* Hero posture chips — glass pills, hedged. */
.cx-hero__chips {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}
.cx-hero__chips > li {
  margin: 0;
}
.cx-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.8125rem;
  border-radius: var(--cx-radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  color: hsl(var(--cx-on-dark));
  background: hsl(var(--cx-on-dark) / 0.05);
  border: 1px solid hsl(var(--cx-line) / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cx-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: hsl(var(--cx-on-dark-subtle));
}
.cx-chip--pending .cx-chip__dot { background: hsl(var(--cx-warning-hsl)); }
.cx-chip--info .cx-chip__dot    { background: hsl(var(--cx-accent-hsl)); }
.cx-chip--success .cx-chip__dot { background: hsl(var(--cx-success-hsl)); }

/* ----------------------------------------------------------------------------
 * Trust / status pills — used by single.php (blog draft alert + tag links) and
 * any compliance/regulatory copy. Translucent tints, legible on the dark base.
 * -------------------------------------------------------------------------- */
.cx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--cx-radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  text-decoration: none;
}
.cx-pill-success {
  background: hsl(var(--cx-success-hsl) / 0.14);
  color: hsl(var(--cx-success-hsl));
  border-color: hsl(var(--cx-success-hsl) / 0.34);
}
.cx-pill-info {
  background: hsl(var(--cx-accent-hsl) / 0.14);
  color: hsl(var(--cx-accent-hsl));
  border-color: hsl(var(--cx-accent-hsl) / 0.34);
}
.cx-pill-info:hover {
  background: hsl(var(--cx-accent-hsl) / 0.22);
  text-decoration: none;
}
.cx-pill-pending {
  background: hsl(var(--cx-warning-hsl) / 0.14);
  color: hsl(var(--cx-warning-hsl));
  border-color: hsl(var(--cx-warning-hsl) / 0.34);
}

/* Glass product-preview mock panel — pure markup, no data. */
.cx-hero__preview {
  display: none; /* hidden on mobile; revealed at >=1024px */
}
.cx-mock {
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}
.cx-glass.cx-mock {
  box-shadow: var(--cx-shadow-card);
}
.cx-mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cx-mock__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-mock__pill {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: var(--cx-radius-pill);
  color: hsl(var(--cx-accent-hsl));
  background: hsl(var(--cx-accent-hsl) / 0.12);
  border: 1px solid hsl(var(--cx-accent-hsl) / 0.3);
}
.cx-mock__balance {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.125rem;
  border-radius: var(--cx-radius);
  background: hsl(var(--cx-surface-2) / 0.6);
  border: 1px solid hsl(var(--cx-line) / 0.4);
}
.cx-mock__label {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--cx-on-dark-subtle));
}
.cx-mock__value {
  font-family: var(--cx-font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: hsl(var(--cx-on-dark));
}
.cx-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 84px;
  padding: 0 0.25rem;
}
.cx-mock__bar {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: var(--cx-gradient);
  opacity: 0.85;
}
.cx-mock__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}
.cx-mock__row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: hsl(var(--cx-on-dark-muted));
}
.cx-mock__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cx-mock__dot--a { background: hsl(var(--cx-accent-hsl)); }
.cx-mock__dot--b { background: hsl(var(--cx-primary-hsl)); }
.cx-mock__dot--c { background: hsl(var(--cx-success-hsl)); }
.cx-mock__rowlabel { flex: 1; }
.cx-mock__rowval {
  font-family: var(--cx-font-mono);
  color: hsl(var(--cx-on-dark));
}

/* ============================================================================
 * 2. Trust / "built for" strip
 * ========================================================================== */
.cx-trust-strip {
  background: hsl(var(--cx-surface-1) / 0.4);
  border-top: 1px solid hsl(var(--cx-line) / 0.3);
  border-bottom: 1px solid hsl(var(--cx-line) / 0.3);
}
.cx-trust-strip__inner {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}
.cx-trust-strip__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--cx-on-dark-subtle));
}
.cx-trust-strip__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-trust-strip__items > li { margin: 0; }
.cx-trust-strip__sep { color: hsl(var(--cx-on-dark-subtle)); font-weight: 400; }

/* ============================================================================
 * 3. Value props — 3 glass feature cards
 * ========================================================================== */
.cx-value-grid {
  gap: 1.5rem;
}
.cx-feature {
  padding: 2rem;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cx-feature:hover,
.cx-product-card:hover,
.cx-solution-card:hover,
.cx-pricing-card:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--cx-accent-hsl) / 0.45);
  box-shadow: var(--cx-shadow-card), var(--cx-shadow-lift);
}
.cx-feature__icon,
.cx-product-card__icon,
.cx-solution-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--cx-radius);
  color: hsl(var(--cx-accent-hsl));
  background: var(--cx-gradient-soft);
  border: 1px solid hsl(var(--cx-accent-hsl) / 0.28);
}
.cx-feature__title {
  margin: 1.125rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-feature__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-muted));
}

/* ============================================================================
 * 4. Products grid — glass cards
 * ========================================================================== */
.cx-product-grid {
  gap: 1.5rem;
}
.cx-product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.75rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cx-product-card__icon {
  color: hsl(var(--cx-accent-hsl));
}
.cx-product-card__title {
  margin: 1.125rem 0 0.5rem;
  font-size: 1.1875rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-product-card__blurb {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-muted));
}
.cx-product-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--cx-accent-hsl));
  text-decoration: none;
}
.cx-product-card__link:hover {
  color: hsl(var(--cx-accent-hsl) / 0.82);
  text-decoration: none;
}
.cx-product-card__arrow {
  transition: transform 0.15s ease;
}
.cx-product-card:hover .cx-product-card__arrow {
  transform: translateX(3px);
}

/* ============================================================================
 * 5. Why-companies / Security band — darker, glass points
 * ========================================================================== */
.cx-security-band {
  /* Non-focal mid-page band: flat, no coloured radials (no-glow rule). */
  background: hsl(var(--cx-bg) / 0.6);
  border-top: 1px solid hsl(var(--cx-line) / 0.3);
  border-bottom: 1px solid hsl(var(--cx-line) / 0.3);
}
.cx-security-band__inner {
  display: grid;
  gap: 2.5rem;
}
.cx-security-band__intro .cx-btn {
  margin-top: 1.75rem;
}
.cx-security-band__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.cx-security-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.375rem 1.5rem;
}
.cx-security-point__check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--cx-radius-pill);
  color: hsl(var(--cx-success-hsl));
  background: hsl(var(--cx-success-hsl) / 0.14);
  border: 1px solid hsl(var(--cx-success-hsl) / 0.34);
}
.cx-security-point__title {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-security-point__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-muted));
}

/* ============================================================================
 * 6. Solutions by segment — glass cards (whole card is a link)
 * ========================================================================== */
.cx-solution-grid {
  gap: 1.5rem;
}
.cx-solution-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cx-solution-card:hover {
  text-decoration: none;
  color: inherit;
}
.cx-solution-card__title {
  margin: 1.125rem 0 0.5rem;
  font-size: 1.1875rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-solution-card__line {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-muted));
}
.cx-solution-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--cx-accent-hsl));
}

/* ============================================================================
 * 7. Pricing teaser — 2 glass cards
 * ========================================================================== */
.cx-pricing-grid {
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.cx-pricing-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.875rem;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cx-pricing-card--accent {
  border-color: hsl(var(--cx-accent-hsl) / 0.4);
  box-shadow: var(--cx-shadow-card);
}
.cx-pricing-card__tag {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--cx-accent-hsl));
}
.cx-pricing-card__title {
  margin: 0 0 0.625rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: hsl(var(--cx-on-dark));
}
.cx-pricing-card__line {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-muted));
}
.cx-pricing-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--cx-accent-hsl));
  text-decoration: none;
}
.cx-pricing-card__link:hover {
  color: hsl(var(--cx-accent-hsl) / 0.82);
  text-decoration: none;
}

/* ============================================================================
 * 8. FAQ — native <details> accordion, glass items
 * ========================================================================== */
.cx-faq {
  max-width: 820px;
}
.cx-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}
.cx-faq__item { margin: 0; }
.cx-faq__details {
  overflow: hidden;
}
.cx-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-faq__q::-webkit-details-marker { display: none; }
.cx-faq__marker {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  /* Isolate the marker's transform so toggling never reflows the row. */
  contain: layout;
}
.cx-faq__marker::before,
.cx-faq__marker::after {
  content: "";
  position: absolute;
  background: hsl(var(--cx-accent-hsl));
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.cx-faq__marker::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.cx-faq__marker::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
.cx-faq__details[open] .cx-faq__marker::after {
  opacity: 0;
  transform: translateX(-50%) scaleY(0);
}
.cx-faq__a {
  margin: 0;
  padding: 0 1.375rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: hsl(var(--cx-on-dark-muted));
}
.cx-faq__more {
  margin: 1.75rem 0 0;
}

/* ============================================================================
 * 9. Final CTA band — gradient/glow band
 * ========================================================================== */
.cx-cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--cx-primary-hsl) / 0.45) 0%, hsl(var(--cx-bg)) 70%);
  border-top: 1px solid hsl(var(--cx-line) / 0.3);
  color: hsl(var(--cx-on-dark));
}
.cx-cta-band__inner {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}
.cx-cta-band__title {
  margin: 0 0 0.625rem;
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--cx-on-dark));
}
.cx-cta-band__sub {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-muted));
  max-width: 52ch;
}
.cx-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ============================================================================
 * Breadcrumbs (MKT-WP-SEO-05) — slim trail above the interior/blog hero band.
 * Dark-surface, token-bound; separators are decorative CSS ::before glyphs
 * (aria-hidden by construction — the semantics live in <nav><ol><li>).
 * ========================================================================== */
.cx-breadcrumb {
  max-width: var(--cx-container);
  margin: 0 auto;
  /* Sits between the sticky header and the hero band: comfortable top gap,
   * tight to the hero below. Same horizontal gutter as the hero inner. */
  padding: clamp(1rem, 3vw, 1.5rem) var(--cx-gutter) 0;
}
.cx-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.cx-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
/* Decorative separator before every item except the first. */
.cx-breadcrumb__item + .cx-breadcrumb__item::before {
  content: "/";
  margin-right: 0.5rem;
  color: hsl(var(--cx-on-dark-subtle));
  font-weight: 400;
}
a.cx-breadcrumb__link {
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: none;
  border-radius: var(--cx-radius-sm);
  transition: color 0.15s ease;
  /* Keep long section/leaf titles from blowing out the row on one crumb. */
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.cx-breadcrumb__link:hover,
a.cx-breadcrumb__link:focus-visible {
  color: hsl(var(--cx-accent-hsl));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cx-breadcrumb__link:focus-visible {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
}
.cx-breadcrumb__current {
  color: hsl(var(--cx-on-dark));
  font-weight: 500;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================================
 * Inner page (page.php) — dark hero band + glass prose + CTA
 * ========================================================================== */
.cx-page-hero {
  position: relative;
  overflow: hidden;
  /* Inner-page hero — flat band over the page base (no coloured radials). */
  border-bottom: 1px solid hsl(var(--cx-line) / 0.3);
}
.cx-page-hero__inner {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 4rem) var(--cx-gutter);
}
.cx-page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--e-global-typography-accent-font-size, var(--cx-fs-eyebrow));
  font-weight: var(--e-global-typography-accent-font-weight, var(--cx-weight-eyebrow));
  letter-spacing: var(--e-global-typography-accent-letter-spacing, var(--cx-tracking-eyebrow));
  line-height: var(--e-global-typography-accent-line-height, var(--cx-lh-eyebrow));
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  color: var(--cx-eyebrow-on-dark);
  display: inline-block;
}
.cx-page-hero__title {
  margin: 0;
  /* Inner pages sit below the home hero in the hierarchy — smaller display
   * size + gentler clamp slope than .cx-hero__title. */
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: hsl(var(--cx-on-dark));
  max-width: 24ch;
}
.cx-page-hero__lede {
  margin: 1rem 0 0;
  font-size: var(--e-global-typography-cxlead-font-size, var(--cx-fs-lead));
  line-height: var(--e-global-typography-cxlead-line-height, var(--cx-lh-lead));
  color: hsl(var(--cx-on-dark-muted));
  max-width: 62ch;
}

.cx-page-body {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: var(--cx-rhythm-page) var(--cx-gutter);
  display: grid;
  /* minmax(0, 1fr), not the implicit auto track: an auto track grows to the
   * MIN-CONTENT of its widest child. MEASURED 2026-09-25 at 390px: one long
   * word in a 48px card title ("Almacenamiento", 351px) or a legal table widened
   * the whole column to 369-421px and the page scrolled sideways on 9 pages.
   * The track now stays the viewport; the safety net below wraps the word. */
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
.cx-page-body > * {
  min-width: 0;
}

/* ---- .cx-prose — long-form prose, legible on the dark surface ----------- */
.cx-prose {
  /* Cap the reading measure at ~65–75ch — 760px @17px overran 75ch and hurt
   * scanability on wide viewports. min(70ch, 100%) keeps the measure honest
   * inside the narrower TOC-grid column too. */
  max-width: min(70ch, 100%);
  color: hsl(var(--cx-on-dark-muted));
  font-size: 1.0625rem;
  line-height: 1.8;
}
.cx-prose > :first-child {
  margin-top: 0;
}
/* NEVER THE TITLE OF A WIDGET (MKT-WP-PROSE-H4-UPPERCASE-BEATS-WIDGET, swept
 * by MKT-WP-BRIDGE-CLASS-SWEEP): a Heading, Icon Box or Image Box title has
 * its own typography in the widget's Style tab (or a Global Font of the kit).
 * When that typography does not write a property — the kit's «Heading 4»
 * sets no text-transform — the prose rule filled the gap: an h4 Heading came
 * out in capitals and nothing in wp-admin could take them off (measured on
 * the home, «REQUEST A QUOTE»). The `:where(:not(...))` costs 0 specificity,
 * so long-form prose and the headings inside a Text Editor keep this ramp
 * byte for byte (0,1,1 as before).
 *
 * The same for the title of a Nested Accordion (MKT-WP-THEME-PROSE-HEADING-BEATS-
 * NACCORDION-TITLE): with «Title HTML Tag» h1-h4 Elementor prints it as
 * `<h3 class="e-n-accordion-item-title-text">`, and the widget's Typography
 * reaches it with 0,1,0 (`:where(...) > .e-n-accordion-item-title-text`), so
 * the 0,1,1 of these rules beat its weight and line-height. Nested Tabs titles
 * are spans: no heading, nothing to exclude. check_theme_widget_specificity.py
 * fails a heading rule of a host that leaves either title out. */
.cx-prose h1:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)),
.cx-prose h2:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)),
.cx-prose h3:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)),
.cx-prose h4:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)) {
  color: hsl(var(--cx-on-dark));
  line-height: 1.2;
  /* Looser tracking than the global -0.018em — large prose headings read
   * cramped at the tight default. */
  letter-spacing: -0.01em;
}
/* Heading APPEARANCE: size / weight / case / colour, for prose headings only
 * (see above); the widgets' titles take theirs from cexum-elementor-brand.css
 * and the kit. */
.cx-prose h1:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)) { font-size: 2rem; font-weight: 700; }
.cx-prose h2:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)) { font-size: 1.625rem; font-weight: 700; }
.cx-prose h3:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)) { font-size: 1.3125rem; font-weight: 600; }
.cx-prose h4:where(:not(.elementor-heading-title, .elementor-icon-box-title, .elementor-image-box-title, .e-n-accordion-item-title-text)) {
  font-size: 1.0625rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: hsl(var(--cx-on-dark-subtle));
}
.cx-prose p {
  margin: 0 0 1.25rem;
}

/* Heading RHYTHM: the top/bottom margin ramp, UNCHANGED in value and scoped to
 * .cx-prose--native, which page.php / home.php add only when the document is NOT
 * built with Elementor (cexum_child_is_elementor_document).
 *
 * Why it must not reach Elementor: on an Elementor document the space between
 * two blocks is owned by the SECTION (page data + --cx-rhythm-*). When this ramp
 * applied there too, `.cx-prose h2` (0,1,1) beat every single-class reset the
 * design system wrote (.cx-section__title, .cx-hero__title, Elementor's own
 * .elementor-heading-title{margin:0}, all 0,1,0) and added 40px on top of a
 * section padding-bottom AND a section padding-top: the measured 152px gap on
 * /products/corporate-accounts/, repeated 17 times on that page alone.
 * Genuine long-form prose keeps the full ramp, byte for byte. */
.cx-prose--native h1 { margin: 2.5rem 0 1rem; }
.cx-prose--native h2 { margin: 2.5rem 0 1rem; }
.cx-prose--native h3 { margin: 1.75rem 0 0.75rem; }
.cx-prose--native h4 { margin: 1.25rem 0 0.5rem; }
.cx-prose a {
  color: hsl(var(--cx-accent-hsl));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cx-prose a:hover {
  color: hsl(var(--cx-accent-hsl) / 0.82);
}
.cx-prose ul,
.cx-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.cx-prose li {
  margin: 0 0 0.5rem;
}
.cx-prose ul li::marker {
  color: hsl(var(--cx-accent-hsl));
}
.cx-prose blockquote {
  /* Pull-quote / hedged-claim callout — a deliberate visual break in dense
   * prose. Works on the EXISTING bare <blockquote> markup the content arrays
   * already emit (no content regeneration). The accent rail + tinted glass +
   * larger type lift it off the body without ever de-emphasising the copy
   * (MiCA Art. 80 — hedged regulatory lines stay first-class). */
  position: relative;
  margin: 2rem 0;
  padding: 1.375rem 1.5rem 1.375rem 1.75rem;
  border-left: 3px solid hsl(var(--cx-accent-hsl));
  background: hsl(var(--cx-accent-hsl) / 0.08);
  border-radius: 0 var(--cx-radius) var(--cx-radius) 0;
}
/* TEXT of the quote, the code, the table and its cells: native prose only
 * (MKT-WP-PROSE-TAGS-CUT-WIDGET-INHERITANCE). .cx-prose also wraps every
 * Elementor document (page.php, home.php, templates/cexum-bands.php), and a
 * colour or a rem size set on these tags stopped the colour and typography an
 * editor gives a Text Editor in its Style tab from ever reaching them. Native
 * long-form prose keeps these values byte for byte; inside a Text Editor the
 * same tags follow the widget (cexum-elementor-brand.css section 1: colour
 * derived from currentColor, sizes in em). The boxes (rail, tint, borders,
 * padding) stay on .cx-prose: they are not inherited, so they cut nothing. */
.cx-prose--native blockquote {
  color: hsl(var(--cx-on-dark));
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.6;
}
.cx-prose--native code {
  color: hsl(var(--cx-on-dark));
}
.cx-prose--native table {
  font-size: 0.9375rem;
}
.cx-prose--native th,
.cx-prose--native td {
  color: hsl(var(--cx-on-dark-muted));
}
.cx-prose--native thead th {
  color: hsl(var(--cx-on-dark));
}
.cx-prose blockquote p:last-child {
  margin-bottom: 0;
}
.cx-prose hr {
  border: 0;
  border-top: 1px solid hsl(var(--cx-line) / 0.5);
  margin: 2rem 0;
}
.cx-prose code {
  font-family: var(--cx-font-mono);
  font-size: 0.9em;
  background: hsl(var(--cx-on-dark) / 0.08);
  padding: 0.1em 0.35em;
  border-radius: var(--cx-radius-sm);
}
.cx-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
/* Overflow safety net for tables (2026-09-25). The legal pages are counsel's
 * verbatim HTML, so a table cannot be wrapped in markup: on narrow screens the
 * TABLE ITSELF becomes the scroll container (display:block + overflow-x) and
 * its rows keep their table layout inside it, so a wide table scrolls within
 * the text column instead of pushing the page sideways. Long unbroken cell
 * content (URLs, e-mail addresses) may break as a last resort, and only then:
 * `break-word`, not `anywhere`. MEASURED 2026-09-25: `anywhere` also shrank
 * each column's min-content width, so the table's auto layout squeezed the
 * processor column of the Privacy Policy and broke ordinary words inside it
 * ("Send|inblue" at 1440; "Depa|sify", "Tat|um", "Goo|gle" at 390). */
@media (max-width: 767px) {
  .cx-prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.cx-prose th,
.cx-prose td {
  overflow-wrap: break-word;
}
.cx-prose th,
.cx-prose td {
  text-align: left;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid hsl(var(--cx-line) / 0.4);
}
.cx-prose thead th {
  background: hsl(var(--cx-surface-1) / 0.6);
  font-weight: 600;
  border-bottom: 2px solid hsl(var(--cx-line) / 0.6);
}

/* Bootstrap placeholder markup — hero band carries the title; hide inner H1. */
.cx-prose .cexum-bootstrap-placeholder {
  margin: 0;
}
.cx-prose .cexum-bootstrap-placeholder > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cx-prose .cexum-sub-h1 {
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  line-height: 1.5;
  color: hsl(var(--cx-on-dark));
  margin: 0 0 1.5rem;
  font-weight: 500;
}
.cx-prose .cexum-bootstrap-notice {
  margin: 0;
  padding: 0.875rem 1.125rem;
  background: hsl(var(--cx-accent-hsl) / 0.1);
  border: 1px solid hsl(var(--cx-accent-hsl) / 0.3);
  border-radius: var(--cx-radius);
  color: hsl(var(--cx-on-dark-muted));
  font-size: 0.9375rem;
}
.cx-prose .cexum-bootstrap-notice em {
  font-style: normal;
}

/* The in-page CTA aside (.cx-page-cta) was removed from page.php on 2026-09-25
 * (owner instruction 9: each interior page ends with its own native CTA
 * section, editable in Elementor), and its rules went with it. */

/* ============================================================================
 * Interior scannability (T2.5) — in-page TOC, explanatory diagram frame,
 * stat/figure callout. Template + CSS only; no content regeneration.
 *
 * Base (mobile / short pages): the TOC renders as a calm glass card stacked
 * ABOVE the prose. The sticky 2-column layout is opted into at >=1024px via
 * .cx-page-body--has-toc (see the desktop media block). On a page with fewer
 * section headings than cexum_child_toc_min_items() (page.php) no TOC is
 * emitted at all, so these rules simply never apply.
 * ========================================================================== */

/* ---- In-page table of contents -------------------------------------------- */
.cx-toc {
  /* Glass aside, dark-surface sibling of .cx-glass — translucent fill, hairline
   * border, soft depth, large radius. On mobile it is a collapsible-feeling
   * card above the prose; on desktop it becomes the sticky left rail. */
  align-self: start;
  background: hsl(var(--cx-glass-tint) / 0.45);
  -webkit-backdrop-filter: blur(var(--cx-blur));
  backdrop-filter: blur(var(--cx-blur));
  border: 1px solid hsl(var(--cx-line) / 0.4);
  border-radius: var(--cx-radius-lg);
  padding: 1.25rem 1.375rem;
}
.cx-toc__inner {
  display: grid;
  gap: 0.625rem;
}
.cx-toc__label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--cx-on-dark-subtle));
}
.cx-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  /* Decimal counters via CSS so the numbering is a visual aid, not content,
   * and reads correctly when the markup is a plain <ol>. */
  counter-reset: cx-toc;
  display: grid;
  gap: 0.125rem;
}
.cx-toc__item {
  margin: 0;
  counter-increment: cx-toc;
}
a.cx-toc__link {
  display: block;
  padding: 0.4375rem 0.625rem 0.4375rem 2rem;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: none;
  border-radius: var(--cx-radius-sm);
  border-left: 2px solid transparent;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.cx-toc__link::before {
  content: counter(cx-toc, decimal-leading-zero);
  position: absolute;
  left: 0.625rem;
  top: 0.4375rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: hsl(var(--cx-accent-hsl) / 0.85);
}
a.cx-toc__link:hover,
a.cx-toc__link:focus-visible {
  color: hsl(var(--cx-on-dark));
  background: hsl(var(--cx-accent-hsl) / 0.1);
  border-left-color: hsl(var(--cx-accent-hsl));
}
/* :target — the section the anchor jumped to lights its TOC peer is not
 * trivially expressible in pure CSS across the gap; instead we surface focus
 * state strongly for keyboard users (above) and rely on scroll-margin (root
 * scroll-padding-top) so the heading clears the sticky header. */

/* ============================================================================
 * Elementor containers never wider than their parent
 * (MKT-WP-REPLICA-BANDS-1200-OVERFLOW).
 *
 * The Container's «Width» control (Layout > Container > Width) prints
 * `--width: 1200px` and `width: var(--width)` on a container with NO max-width
 * (`max-width: none`, measured 2026-11-05). In a column flex parent the width is
 * the cross axis: the item does not shrink, so a band's 1200px child sat inside
 * a parent of 1100px and stuck out 100px to the right (`left: -50`, `right:
 * 1150`), widening the page to 1150px at a 1100px window. Measured on Custody,
 * OTC, Security, Affiliate, Tutorials and Contact between 1025 and 1199px (the
 * kit's tablet break is 1024px, so the editor's own `width_tablet` never
 * applies in that range); the pages that set the width as `min(100%, Npx)` or
 * as a Boxed Width were never affected. One rule for the class, not one per
 * page: `max-width: 100%` is the share of the PARENT's content box, so a
 * container that fits keeps its size (at 1200px and wider nothing moves) and one
 * that does not stops at the parent's edge.
 *   - From 1025px only (`min-width: 1025px`, the first desktop width of the kit's
 *     breaks): below it the author sets `width_tablet` / `width_mobile` on purpose,
 *     and some pages rely on a box wider than its parent there. MEASURED with the
 *     rule at every width: the App's decorative «Hot → Warm → Cold» path (440px,
 *     `width_mobile` 440, absolute pieces drawn for that width, cropped by its
 *     card) went from 440 to 298px at 390 and moved 71px; the home's two 760px
 *     boxes shrank to 302px at 768. Neither is a defect to correct from here, and
 *     none of them is in the range where the editor's own override never applies.
 *   - Specificity 0,0,0 through :where(): below the Container's own «Max Width»
 *     if an editor ever sets one (`.elementor-NN .elementor-element.elementor-
 *     element-ID`, 0,3,0), and it needs no exception in
 *     check_theme_widget_specificity.py (containers are layout, out of its scope).
 *   - Out-of-flow containers are left alone: Position «Absolute» / «Fixed»
 *     (`.elementor-absolute` / `.elementor-fixed`) resolves a percentage against
 *     its containing block, and a decorative one is meant to hang outside it.
 * scripts/check_container_width_cap.py keeps the rule here and fails on a
 * Container whose fixed pixel width the rule would not cover.
 * ========================================================================== */
@media (min-width: 1025px) {
  :where(.e-con:not(.elementor-absolute, .elementor-fixed)) {
    max-width: 100%;
  }
}

/* ============================================================================
 * Template «CEXUM bandas» (templates/cexum-bands.php,
 * MKT-WP-REDESIGN-PAGE-TEMPLATE) — the Elementor sections at full width.
 *
 * Every rule is scoped to the template's own modifiers (.cx-main--bands on
 * <main>, .cx-page-body--bands on the body, .cx-toc-pills for the index row),
 * so a page on page.php renders exactly as before.
 *   - The body and the prose column are released (the same release the home
 *     uses, cexum-home-elementor.css): each top-level section paints edge to
 *     edge. The text measure, colour and size of .cx-prose stay; only its
 *     70ch cap goes.
 *   - The content of a boxed top-level SECTION sits in the 1200px container
 *     with the page gutter, as on the home. MEASURED 2026-11-03 on the local
 *     /about/: Elementor's own default (1140px) outranked the kit's 1200px, so
 *     the width is set here too. Specificity 0,3,0 through :where(): it ties
 *     Elementor's default and wins by load order, and stays below a width or
 *     padding set on the section in the editor (0,4,0). Containers (.e-con)
 *     carry their own width and padding, so they are not touched.
 *   - Breadcrumb and pill row line up with the TEXT of the sections: page
 *     gutter + the 10px Elementor column gutter.
 * Contrast (calculated on azul noche #071A36): «Texto sutil» #8FA0B8 6.52:1
 * (crumb links, separator, row label); «Texto atenuado» #C9D1DC 11.27:1 (pill
 * label, current crumb); blanco hielo on the hovered pill (turquesa at 10% over
 * azul noche) 14.0:1 or more.
 * ========================================================================== */
.cx-page-body--bands {
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  gap: 0;
}
.cx-page-body--bands > .cx-prose {
  max-width: none;
}
:where(.cx-page-body--bands) .elementor-top-section.elementor-section-boxed > .elementor-container {
  max-width: var(--cx-container);
  padding-inline: var(--cx-gutter);
}

/* Breadcrumb of the template: .8125rem, «Texto sutil», separator "›"
 * (decorative: empty alternative text, the list already carries the order). */
.cx-main--bands .cx-breadcrumb {
  padding-inline: calc(var(--cx-gutter) + var(--cx-column-gutter));
}
.cx-main--bands .cx-breadcrumb__item + .cx-breadcrumb__item::before {
  content: "\203A" / "";
}
.cx-main--bands a.cx-breadcrumb__link {
  color: hsl(var(--cx-on-dark-subtle));
}
.cx-main--bands a.cx-breadcrumb__link:hover,
.cx-main--bands a.cx-breadcrumb__link:focus-visible {
  color: hsl(var(--cx-on-dark));
}
.cx-main--bands .cx-breadcrumb__current {
  color: hsl(var(--cx-on-dark-muted));
}

/* The "On this page" row under the hero: a label and one pill per section,
 * wrapping onto more lines on narrow screens (no sideways scroll). States are
 * never colour alone: hover and focus also change the border and the fill,
 * and focus draws the 2px ring. */
.cx-toc-pills {
  box-sizing: border-box;
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: 0 calc(var(--cx-gutter) + var(--cx-column-gutter));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cx-gap-chip) var(--cx-gap-chip-label);
}
/* Bands: the row owns the space under it. It used to lean on the next band's
 * top padding, so a light band right after the hero touched the pills
 * (MKT-WP-BANDS-PILLS-BOTTOM-SPACE). One block rhythm, as in the legacy page. */
.cx-page-body--bands .cx-toc-pills {
  padding-bottom: var(--cx-rhythm-block);
}
.cx-page-body:not(.cx-page-body--bands) .cx-toc-pills {
  padding-inline: 0;
  margin-bottom: var(--cx-rhythm-block);
}
.cx-toc-pills .cx-toc-pills__label {
  margin: 0;
  font-size: var(--cx-fs-meta);
  font-weight: 600;
  line-height: 1.4;
  color: hsl(var(--cx-on-dark-subtle));
}
.cx-toc-pills .cx-toc-pills__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--cx-gap-chip);
  min-width: 0;
}
.cx-toc-pills .cx-toc-pills__item {
  margin: 0;
  min-width: 0;
}
.cx-toc-pills a.cx-toc-pills__link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: var(--cx-pad-chip-block) var(--cx-pad-chip-inline);
  font-size: var(--cx-fs-chip);
  font-weight: var(--cx-weight-chip);
  line-height: 1.3;
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: none;
  overflow-wrap: break-word;
  border: 1px solid var(--cx-hairline);
  border-radius: var(--cx-radius-pill);
  background: transparent;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.cx-toc-pills a.cx-toc-pills__link:hover,
.cx-toc-pills a.cx-toc-pills__link:focus-visible {
  color: hsl(var(--cx-on-dark));
  background: hsl(var(--cx-accent-hsl) / 0.1);
  border-color: hsl(var(--cx-accent-hsl));
  text-decoration: none;
}
.cx-toc-pills a.cx-toc-pills__link:focus-visible {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
}

/* ---- Diagram frame — contained glass frame ------------------------------- */
/* Used by the earlier native home (.cx-illus-frame--row / --controls); the
 * rebuilt home (redesign 2026-11) does not carry it, and its home-scoped rules
 * left cexum-home-elementor.css with MKT-WP-HOME-CSS-BEATS-WIDGETS. The page.php
 * injected figure and its caption rule were removed on 2026-09-25. */
.cx-illus-frame {
  margin: 0 0 2rem;
  padding: 1.25rem;
  background: hsl(var(--cx-glass-tint) / 0.4);
  -webkit-backdrop-filter: blur(var(--cx-blur));
  backdrop-filter: blur(var(--cx-blur));
  border: 1px solid hsl(var(--cx-line) / 0.4);
  border-radius: var(--cx-radius-lg);
  box-shadow: var(--cx-shadow-card);
}
.cx-illus {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  /* Schematics are authored on a transparent canvas tuned for the dark
   * surface; no inversion. The contained frame supplies the backdrop. */
}

/* ---- .cx-callout — stat / figure highlight (additive markup) -------------- */
/* A pull-stat block content can opt into later (<aside class="cx-callout">…);
 * the blockquote styling above already covers existing <blockquote> markup.
 * Variants tag a meaning with a left rail colour AND a leading label, so the
 * status is never communicated by colour alone (never-color-alone, a11y). */
.cx-prose .cx-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: hsl(var(--cx-surface-2) / 0.5);
  border: 1px solid hsl(var(--cx-line) / 0.45);
  border-left: 3px solid hsl(var(--cx-accent-hsl));
  border-radius: var(--cx-radius);
  color: hsl(var(--cx-on-dark));
}
.cx-prose .cx-callout > :first-child { margin-top: 0; }
.cx-prose .cx-callout > :last-child { margin-bottom: 0; }
.cx-prose .cx-callout__stat {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  /* Solid accent figure (no gradient text). */
  color: hsl(var(--cx-accent-hsl));
}
.cx-prose .cx-callout__label {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: hsl(var(--cx-on-dark-muted));
}
/* Semantic variants — colour + a text label, never colour alone. */
.cx-prose .cx-callout--positive { border-left-color: hsl(var(--cx-success-hsl)); }
.cx-prose .cx-callout--caution  { border-left-color: hsl(var(--cx-warning-hsl)); }

/* ============================================================================
 * Site footer — dark glass
 * ========================================================================== */
.cx-site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: hsl(var(--cx-surface-1) / 0.5);
  border-top: 1px solid hsl(var(--cx-line) / 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cx-site-footer__inner {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: 3.5rem var(--cx-gutter) 2rem;
  display: grid;
  gap: 2.5rem;
}
.cx-site-footer__brand {
  max-width: 36ch;
}
.cx-site-footer__brand .cx-brand {
  margin-bottom: 1rem;
}
.cx-site-footer__blurb {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-muted));
}
/* Footer social: icon-only row of the operator's six profile links. */
.cx-site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 0.5rem;
}
.cx-site-footer__social li {
  margin: 0;
}
.cx-site-footer__social-link {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cx-radius-sm);
  border: 1px solid hsl(var(--cx-line) / 0.5);
  background: transparent;
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cx-site-footer__social-link:hover,
.cx-site-footer__social-link:focus-visible {
  color: hsl(var(--cx-accent-hsl));
  background: hsl(var(--cx-on-dark) / 0.06);
  border-color: hsl(var(--cx-accent-hsl) / 0.5);
  text-decoration: none;
}
.cx-site-footer__social-icon {
  width: 20px;
  height: 20px;
}
.cx-site-footer__cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
.cx-site-footer__col-title {
  margin: 0 0 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--cx-accent-hsl));
}
.cx-site-footer__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cx-site-footer__link {
  color: hsl(var(--cx-on-dark-muted));
  font-size: 0.9375rem;
  text-decoration: none;
}
.cx-site-footer__link:hover {
  color: hsl(var(--cx-on-dark));
  text-decoration: none;
}
.cx-site-footer__legal {
  border-top: 1px solid hsl(var(--cx-line) / 0.3);
}
/* MKT-WP-CONSENT-01 (spec §6) — footer "Cookie preferences" re-open link. Sits
 * above the legal line as an interactive control (Law 25 withdrawal-of-consent).
 * Rendered only when a configured Complianz banner exists (footer.php guard). */
.cx-site-footer__consent {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: 1.5rem var(--cx-gutter) 0;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.cx-site-footer__consent .cx-site-footer__link {
  text-decoration: underline;
}
.cx-site-footer__legal-line {
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: 1.5rem var(--cx-gutter) 2.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: hsl(var(--cx-on-dark-subtle));
}
/* Phones: ONE alignment for the brand stack (PDF item T). Inside the Theme
 * Builder footer the logo rendered centred while the blurb and the icon row
 * stayed left, so the stack read as misaligned. Below 768px the whole stack
 * (logo, blurb, icons) is centred as one block; the link columns below keep
 * their left-aligned two-column grid. */
@media (max-width: 767px) {
  .cx-site-footer__brand {
    margin-inline: auto;
    text-align: center;
  }
  .cx-site-footer__brand .cx-brand {
    justify-content: center;
  }
  .cx-site-footer__social {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================================================
 * Blog templates (single.php / archive.php / category.php / tag.php)
 * Dark-surface baseline so /blog/ stays coherent with the rest of the site.
 * ========================================================================== */
.cx-blog-single,
.cx-blog-archive__header,
.cx-blog-archive__list {
  max-width: var(--cx-container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--cx-gutter);
  padding-right: var(--cx-gutter);
}
.cx-blog-single__header,
.cx-blog-archive__header {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}
.cx-blog-single__eyebrow,
.cx-blog-card__eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--e-global-typography-accent-font-size, var(--cx-fs-eyebrow));
  font-weight: var(--e-global-typography-accent-font-weight, var(--cx-weight-eyebrow));
  letter-spacing: var(--e-global-typography-accent-letter-spacing, var(--cx-tracking-eyebrow));
  line-height: var(--e-global-typography-accent-line-height, var(--cx-lh-eyebrow));
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  color: hsl(var(--cx-accent-hsl));
}
.cx-blog-single__title,
.cx-blog-archive__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: hsl(var(--cx-on-dark));
}
.cx-blog-single__meta,
.cx-blog-card__meta {
  color: hsl(var(--cx-on-dark-subtle));
  font-size: 0.9375rem;
}
.cx-blog-single__body {
  max-width: var(--cx-container-narrow);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(var(--cx-on-dark-muted));
}
.cx-blog-single__body h2 { font-size: 1.625rem; margin: 2rem 0 0.75rem; color: hsl(var(--cx-on-dark)); }
.cx-blog-single__body h3 { font-size: 1.3125rem; margin: 1.75rem 0 0.5rem; color: hsl(var(--cx-on-dark)); }
.cx-blog-single__body p { margin: 0 0 1.25rem; }
.cx-blog-single__hero img {
  border-radius: var(--cx-radius-lg);
}
.cx-blog-single__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--cx-line) / 0.4);
}
.cx-blog-card {
  background: hsl(var(--cx-glass-tint) / 0.5);
  -webkit-backdrop-filter: blur(var(--cx-blur));
  backdrop-filter: blur(var(--cx-blur));
  border: 1px solid hsl(var(--cx-line) / 0.55);
  border-radius: var(--cx-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--cx-shadow-card);
}
.cx-blog-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.3125rem;
  color: hsl(var(--cx-on-dark));
}
.cx-blog-card__title a {
  text-decoration: none;
}
.cx-blog-archive__pagination {
  max-width: var(--cx-container-narrow);
  margin: 1rem auto 3rem;
  padding: 0 var(--cx-gutter);
}

/* ============================================================================
 * Responsive — tablet (>=768px)
 * ========================================================================== */
@media (min-width: 768px) {
  .cx-trust-strip__inner {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
  .cx-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cx-security-band__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
  }
  .cx-security-band__points {
    grid-template-columns: repeat(2, 1fr);
  }
  .cx-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cx-cta-band__inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
  .cx-cta-band__actions {
    justify-content: flex-end;
  }
  .cx-site-footer__cols {
    grid-template-columns: repeat(4, 1fr);
  }
  .cx-site-footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    align-items: start;
  }
}

/* ============================================================================
 * Responsive — desktop (>=1024px): horizontal nav, hero 2-col, products 3-up
 * ========================================================================== */
@media (min-width: 1024px) {
  .cx-nav-burger {
    display: none;
  }
  .cx-nav {
    display: flex !important; /* override the mobile `display:none` default */
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    width: auto;
    position: static;
    padding: 0;
    background: none;
    box-shadow: none;
    border: 0;
  }
  .cx-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
  .cx-nav__link {
    padding: 0.5rem 0.5rem;
  }
  .cx-nav__actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    gap: 1rem;
  }
  .cx-nav__cta {
    width: auto;
  }
  .cx-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }
  .cx-hero__preview {
    display: block;
  }
  .cx-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Interior long-page layout: sticky TOC rail + prose column (T2.5). The TOC
   * is the first grid child, the prose the second. Only applies when page.php tagged the body .cx-page-body--has-toc
   * (cexum_child_toc_min_items() sections), so short pages keep the single calm column. */
  .cx-page-body--has-toc {
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  .cx-page-body--has-toc .cx-toc {
    position: sticky;
    /* Clear a sticky site header (0 under the Theme Builder one) + a little breathing room. */
    top: calc(var(--cx-sticky-offset) + var(--cx-space-24));
    max-height: calc(100vh - var(--cx-sticky-offset) - var(--cx-space-48));
    overflow-y: auto;
  }
  .cx-page-body--has-toc .cx-prose {
    grid-column: 2;
  }
}

/* ============================================================================
 * Reduced motion
 * ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  a:not(.cx-btn),
  .cx-feature,
  .cx-product-card,
  .cx-solution-card,
  .cx-pricing-card,
  .cx-nav-burger__bar,
  .cx-product-card__arrow,
  .cx-faq__marker::before,
  .cx-faq__marker::after {
    transition: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
 * Platform mockups — figure + caption (WPMVP-IMAGERY, owner-revised 2026-06-17)
 * The 5 platform screenshots are tall portrait images (~1130x1600). Frame them
 * at a phone-screenshot size, centered, so they read as a crisp product preview
 * instead of a full-width giant. Tokens only (Design Law 1). */
.cx-figure {
  margin: 2.5rem auto;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.cx-figure__img,
.cx-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cx-radius);
  border: 1px solid hsl(var(--cx-line) / 0.5);
  box-shadow: var(--cx-shadow-card);
}
.cx-figure__caption {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(var(--cx-on-dark-muted));
  text-align: center;
}


/* ============================================================================
 * 404 page (404.php, added 2026-09-25)
 * The branded not-found page: the interior hero band, then one glass panel with
 * the pages that exist and two actions. Tokens only (Design Law 1); the links
 * are underlined text, never colour alone (Design Law 2).
 * ========================================================================== */
.cx-404__body {
  max-width: var(--cx-container-narrow);
  margin: 0 auto;
  padding: var(--cx-rhythm-page) var(--cx-gutter);
}
.cx-404__panel {
  padding: 2rem;
  border-radius: var(--cx-radius-lg);
}
.cx-404__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-404__links {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.625rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cx-404__link {
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.cx-404__link:hover {
  color: hsl(var(--cx-on-dark));
}
.cx-404__link:focus-visible {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
  border-radius: var(--cx-radius-sm);
}
.cx-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
@media (max-width: 480px) {
  .cx-404__links {
    grid-template-columns: minmax(0, 1fr);
  }
  .cx-404__actions .cx-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- 404, Theme Builder template (.cx-tb-404, launch 2026-09-25) ----------
 * Since the launch the live 404 is an Elementor Pro error-404 template built
 * from native widgets (owner instruction 9); 404.php above is the fallback
 * when Theme Builder is off. The template reuses the .cx-page-hero__* and
 * .cx-404__* class names on the WIDGET WRAPPERS, so the recipes are
 * re-applied to Elementor's DOM: the section is the brand hero band
 * (.cx-page-hero + --brand radials), the eyebrow is gradient text, the links
 * are an Icon List laid out two-up and underlined (never colour alone), and
 * the two buttons follow the brand button recipe of cexum-elementor-brand.css
 * (primary gradient, default = turquoise outline). Loaded on every request
 * (style.css), because cexum-tb-blog.css is not enqueued on a 404. */
.cx-tb-404 {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 7vw, 4rem) var(--cx-rhythm-page);
}
.cx-tb-404 > .elementor-container {
  padding-inline: var(--cx-gutter);
}
.cx-tb-404 .elementor-column > .elementor-widget-wrap.elementor-element-populated {
  padding: 0;
}
.cx-tb-404 .elementor-widget {
  margin-bottom: 0;
}
/* One block per row: Elementor's widget wrap is a wrapping flex row, so a
 * widget with a max-width (title, lede) let the next one sit beside it and the
 * inner actions section shrank to its content. Measures go on the inner text.
 * On a widget at 0,2,1: above Elementor's `.elementor-widget-wrap >
 * .elementor-element` (0,2,0), below a width set on the widget (Advanced,
 * 0,3,0) (MKT-WP-CHROME-CSS-BEATS-WIDGETS). */
:where(.cx-tb-404) .elementor-widget-wrap > div.elementor-widget,
.cx-tb-404 .elementor-widget-wrap > .elementor-section {
  width: 100%;
  flex: 0 0 100%;
}
.cx-tb-404 .cx-page-hero__eyebrow {
  display: block;
  margin: 0 0 0.5rem;
  background: none;
  color: inherit;
}
.cx-tb-404 .cx-page-hero__eyebrow .elementor-heading-title {
  display: inline-block;
  margin: 0;
  font-family: var(--cx-font-sans);
  font-size: var(--e-global-typography-accent-font-size, var(--cx-fs-eyebrow));
  font-weight: var(--e-global-typography-accent-font-weight, var(--cx-weight-eyebrow));
  letter-spacing: var(--e-global-typography-accent-letter-spacing, var(--cx-tracking-eyebrow));
  line-height: var(--e-global-typography-accent-line-height, var(--cx-lh-eyebrow));
  text-transform: var(--e-global-typography-accent-text-transform, uppercase);
  color: var(--cx-eyebrow-on-dark);
}
.cx-tb-404 .cx-page-hero__title {
  max-width: none;
}
.cx-tb-404 .cx-page-hero__title .elementor-heading-title {
  max-width: 24ch;
  margin: 0;
  font-family: var(--cx-font-sans);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: hsl(var(--cx-on-dark));
}
/* The lede is a Text Editor: its type and colour go on the WIDGET (0,2,0, below
 * the widget's own 0,3,0) and its paragraph inherits them. A colour or size
 * set on the <p> would stop the widget's from reaching the text (measured
 * 2026-11-03: a colour set on the widget left the paragraph «Texto atenuado»;
 * MKT-WP-CHROME-CSS-BEATS-WIDGETS). */
.cx-tb-404 .cx-page-hero__lede {
  margin: 0;
  font-size: var(--e-global-typography-cxlead-font-size, var(--cx-fs-lead));
  line-height: var(--e-global-typography-cxlead-line-height, var(--cx-lh-lead));
  color: hsl(var(--cx-on-dark-muted));
}
.cx-tb-404 .cx-page-hero__lede p {
  margin: 0;
}
.cx-tb-404 .cx-page-hero__lede {
  margin-top: 1rem;
  max-width: none;
}
.cx-tb-404 .cx-page-hero__lede p {
  max-width: 62ch;
}
.cx-tb-404 .cx-404__title {
  margin: 2.5rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--cx-line) / 0.4);
}
.cx-tb-404 .cx-404__title .elementor-heading-title {
  margin: 0;
  font-family: var(--cx-font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--cx-on-dark));
}
.cx-tb-404 .cx-404__links {
  display: block;
  margin: 0 0 1.75rem;
}
.cx-tb-404 .cx-404__links .elementor-icon-list-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-tb-404 .cx-404__links .elementor-icon-list-item {
  margin: 0;
  padding: 0;
}
.cx-tb-404 .cx-404__links .elementor-icon-list-icon {
  display: none;
}
.cx-tb-404 .cx-404__links .elementor-icon-list-item > a,
.cx-tb-404 .cx-404__links .elementor-icon-list-text {
  color: hsl(var(--cx-on-dark-muted));
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* Hover at the same weight as the rule above (0,3,1 / 0,3,0), winning by its
 * place; the widget's own hover colour (0,5,0) wins over both. */
:where(.cx-tb-404) .cx-404__links .elementor-icon-list-item > a:hover,
:where(.cx-tb-404 .cx-404__links) .elementor-icon-list-item > a:hover .elementor-icon-list-text {
  color: hsl(var(--cx-on-dark));
}
:where(.cx-tb-404 .cx-404__links) .elementor-icon-list-item > a:focus-visible {
  outline: 2px solid hsl(var(--cx-accent-hsl));
  outline-offset: 2px;
  border-radius: var(--cx-radius-sm);
}
.cx-tb-404 .cx-404__actions > .elementor-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.875rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
}
.cx-tb-404 .cx-404__actions .elementor-column {
  width: auto;
  flex: 0 0 auto;
}
:where(.cx-tb-404) .cx-404__actions .elementor-widget-button {
  text-align: left;
}
@media (max-width: 480px) {
  .cx-tb-404 .cx-404__links .elementor-icon-list-items {
    grid-template-columns: minmax(0, 1fr);
  }
  .cx-tb-404 .cx-404__actions .elementor-column {
    width: 100%;
    flex: 1 1 100%;
  }
  .cx-tb-404 .cx-404__actions .elementor-button {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================================
 * Native form card: measure
 * The measure lives HERE, not in cexum_form_inline_css() (native-forms.php):
 * (1) a plugin should not own a page measure (every other consumer of
 * --cx-container-narrow is in this file); (2) that heredoc is printed via
 * wp_add_inline_style before wp_head but via wp_footer after it, i.e. AFTER this
 * stylesheet, so with the declaration in both places the winner depended on
 * which branch fired. One owner, no cascade race (MKT-WP-PDF-FOOTER-CLOSING C1).
 * ========================================================================== */
.cx-form-wrap {
  max-width: var(--cx-container-narrow);
  margin: 2rem auto;
}

/* ============================================================================
 * Newsletter landing notice: .cx-nl-notice
 * The answer printed on `?newsletter=pending|confirmed|invalid` (markup and
 * semantics: cexum_newsletter_status_notice_html(), newsletter-surfaces.php).
 * Its measure, box and type live HERE and only here (MKT-WP-LAUNCH-15-NEWSLETTER-
 * NOTICE-AND-CONTRAST): until 2026-11-06 the plugin printed them in an inline
 * <style>, with hand-written sizes off the 4px scale (MKT-WP-NL-NOTICE-SCALE-
 * TOKENS) and no side margin, so on a 390px phone the box touched both edges of
 * the window (MKT-WP-NL-NOTICE-GUTTER-390). Now:
 *   - measure: the reading column (--cx-container-narrow) and never closer to the
 *     window than the page gutter (16px on phones, 24 tablet, 32 desktop);
 *   - 24px above (--cx-space-24, MKT-WP-NL-NOTICE-MARGIN-TOKEN), the 16px notice
 *     rhythm inside, every size a token.
 * It is a flex item of the body column (body is display:flex), so the auto
 * margins centre it. The states differ by icon and wording, never by colour.
 * Focus: the landing script focuses it (tabindex="-1"), and the global
 * :focus-visible ring marks where the reader is.
 * ========================================================================== */
.cx-nl-notice {
  box-sizing: border-box;
  width: min(var(--cx-container-narrow), 100% - 2 * var(--cx-gutter));
  margin: var(--cx-space-24) auto 0;
  padding: var(--cx-rhythm-notice) var(--cx-space-20);
  display: flex;
  align-items: flex-start;
  gap: var(--cx-space-12);
  border-radius: var(--cx-radius);
  border: 1px solid hsl(var(--cx-line) / 0.8);
  background: hsl(var(--cx-surface-2) / 0.5);
  color: hsl(var(--cx-on-dark));
  font-family: var(--cx-font-sans);
}
.cx-nl-notice__icon {
  flex: 0 0 auto;
  font-size: var(--cx-fs-lead);
  line-height: 1.3;
}
.cx-nl-notice__title {
  margin: 0 0 var(--cx-space-4);
  font-size: var(--cx-fs-body);
  font-weight: 600;
}
.cx-nl-notice__body {
  margin: 0;
  font-size: var(--cx-fs-small);
  line-height: 1.5;
  color: hsl(var(--cx-on-dark-muted));
}

/* ============================================================================
 * Newsletter band: cx-newsletter-band (added 2026-09-10, re-aligned 2026-09-25)
 * The first fix constrained the band to one CENTRED 760px column, which made it
 * the only centred box on the page: its text started 220px inside the
 * left-aligned prose above it and the left-aligned footer below it
 * (PDF item V). It now uses the site's canonical page frame (the same max-width
 * and gutter as .cx-page-body and .cx-site-footer__inner) and re-applies the
 * reading measure per child, so prose, band and footer share one left edge.
 * On long pages with the table-of-contents rail the prose sits in the second
 * grid track, so the band takes the same two-track grid there (below).
 * ========================================================================== */
.cx-newsletter-band {
  padding-block: 3.5rem;
  border-top: 1px solid hsl(var(--cx-line) / 0.5);
}
.cx-newsletter-band__inner {
  max-width: var(--cx-container);
  margin-inline: auto;
  padding-inline: var(--cx-gutter);
  text-align: left;
}
.cx-newsletter-band__title {
  margin: 0 0 0.75rem;
  max-width: min(70ch, 100%);
}
.cx-newsletter-band__blurb {
  /* ONE reading measure for the site: the same min(70ch, 100%) as .cx-prose. */
  margin: 0 0 2rem;
  max-width: min(70ch, 100%);
  text-align: left;
  opacity: 0.85;
}
/* The form card follows the band's left edge instead of re-centring itself; it
   keeps its own block rhythm and its --cx-container-narrow cap (.cx-form-wrap). */
.cx-newsletter-band__inner .cx-form-wrap {
  margin-inline: 0;
}
.cx-newsletter-band__legal {
  margin: 1.25rem 0 0;
  max-width: min(70ch, 100%);
  font-size: 0.9375rem;
}
/* A link in the band's legal line (the withdrawal mailbox, native text-editor
 * or PHP fallback) is underlined: MEASURED 2026-09-25, Elementor's
 * '.elementor a{text-decoration:none}' (0,1,1) left it marked by colour alone,
 * or by nothing (Design Law 2, WCAG 1.4.1). (0,2,1) wins; the focus ring is
 * the global :focus-visible one. The hover/focus colour keeps its states in
 * :where() (0,2,1), under the Text Editor's own link colour (`{{WRAPPER}} a`,
 * 0,3,1) (MKT-WP-THEME-HIDDEN-HOOKS-BEAT-WIDGETS). */
.cx-newsletter-band .cx-newsletter-band__legal a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.cx-newsletter-band .cx-newsletter-band__legal a:where(:hover, :focus-visible) {
  color: hsl(var(--cx-on-dark));
}
@media (min-width: 1024px) {
  /* Pages with the TOC rail: the prose column is grid track 2 of .cx-page-body
     (minmax(0,16rem) minmax(0,1fr), see .cx-page-body--has-toc). Give the band
     the same tracks and gap so its content starts where the prose starts. */
  body:has(.cx-page-body--has-toc) .cx-newsletter-band:not(.cx-newsletter-band--native) .cx-newsletter-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }
  body:has(.cx-page-body--has-toc) .cx-newsletter-band:not(.cx-newsletter-band--native) .cx-newsletter-band__inner > * {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .cx-newsletter-band { padding-block: 2.25rem; }
}

/* ============================================================================
 * Newsletter band, NATIVE form (Theme Builder footer): the canvas card
 * (MKT-WP-REDESIGN-NEWSLETTER-BAND, 2026-11-04; canvas artboard Blog, `.nl`
 * l.89-98, 119-120, 258 and 326-337).
 * The band is an Elementor section (.cx-newsletter-band--native) whose heading,
 * blurb and legal line are Heading / Text Editor widgets and whose form is the
 * [cexum_newsletter_form] shortcode (owner instruction 9). What Elementor has a
 * control for is set on the elements themselves, in the footer documents
 * (634 EN / 1542 ES), so marketing edits it in wp-admin: the section's box
 * (boxed 1152 px, 88 px top and bottom, 24 px sides, 16 on phones), the
 * column's card (gradient Azul Corporativo 0 % -> Azul Profundo 70 % at 135deg,
 * radius 28, padding 48, 28 on phones; Elementor paints a column's background,
 * radius and padding on its widget wrap) and the type and colour of the three
 * text widgets (white: the canvas' #C9D1DC on #1D5FFF is 3.3:1). What lives
 * here, because Elementor has no control for it:
 *   - the card's layout: the copy on the left (520 px), the form on the right,
 *     the legal line under both; one column at 1024 px and below (the kit's
 *     step; the canvas folds at 1000);
 *   - the canvas' turquoise orb (`.o3`, 420 px at top -160 / right -120, 25 %),
 *     clipped by the card;
 *   - the form's plugin markup (native-forms.php) drawn as the canvas' white
 *     plate: NOT here. It is shared with the blog's own card (and, as a dark
 *     pill, with the Affiliate and Cryptocurrencies cards) and lives in ONE
 *     sheet, assets/css/newsletter-plate.css, scoped by the common class
 *     `.cx-nl-plate` (MKT-WP-NEWSLETTER-PLATE-CSS-ONE-SOURCE).
 * On a suppressed request (404, pending / confirmed landings: body class
 * cx-newsletter-suppressed, newsletter-surfaces.php) the form prints nothing,
 * so the whole band is hidden with it.
 * ========================================================================== */
.cx-newsletter-suppressed .cx-newsletter-band--native {
  display: none;
}
/* A view with ITS OWN newsletter card (the blog's archive views, any page with the meta
 * `_cexum_own_newsletter`; body class from inc/own-newsletter.php) hides the footer's band, so
 * two newsletter cards never stand one under the other. Only the footer's band is hidden: the
 * view's own card is not a `[data-elementor-type="footer"]` descendant. */
.cx-own-newsletter [data-elementor-type="footer"] .cx-newsletter-band--native {
  display: none;
}
.cx-newsletter-band--native {
  border-top: 0;
}
.cx-newsletter-band--native .cx-newsletter-band__inner {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
/* The card. Its background, radius and padding are the column's settings. */
.cx-newsletter-band--native .cx-newsletter-band__inner > .elementor-widget-wrap {
  position: relative;
  overflow: hidden;
}
.cx-newsletter-band--native .cx-newsletter-band__inner > .elementor-widget-wrap::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cx-turquesa) 25%, transparent);
  pointer-events: none;
}
/* The canvas has no phone layout for the card (its artboard is 980 px wide).
 * At 420 px the orb would cover the whole top of a 358 px card and lift the
 * gradient's lightest corner under the heading to 4.4:1 (measured at 390), so
 * on phones it shrinks into the corner. */
@media (max-width: 767px) {
  .cx-newsletter-band--native .cx-newsletter-band__inner > .elementor-widget-wrap::before {
    top: -130px;
    right: -110px;
    width: 260px;
    height: 260px;
  }
}
/* The widgets of the band: Elementor's widget spacing and width (0,2,0) go;
 * a width, margin or padding set on the widget itself (Advanced, 0,3,0) wins.
 * So the reset and the per-widget rules below all sit at 0,2,1 (the same
 * weight, the later one winning by its place in the file), the band's scope
 * inside :where() (MKT-WP-CHROME-CSS-BEATS-WIDGETS). */
:where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.elementor-widget {
  max-width: 100%;
  margin: 0;
}
:where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__title {
  max-width: 520px;
}
/* .nl-copy p: 10 px under the heading. The PHP band's 0.85 opacity would dim
 * the white text on the gradient. */
:where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__blurb {
  max-width: 520px;
  margin-top: 10px;
  opacity: 1;
}
:where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__form {
  margin-top: 32px;
}
:where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__legal {
  max-width: 640px;
  margin-top: 14px;
}
/* Fallback type of the heading; the widget's own typography (0,4,0) wins. */
.cx-newsletter-band--native .cx-newsletter-band__title .elementor-heading-title {
  margin: 0;
  font-family: var(--cx-font-sans);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cx-blanco);
}
.cx-newsletter-band--native .elementor-widget-text-editor p {
  margin: 0;
}
.cx-newsletter-band--native .elementor-widget-text-editor p + p {
  margin-top: 0.75rem;
}
@media (min-width: 1025px) {
  /* Canvas .nl: flex, space-between, centred; copy max 520, form min 420, gap
   * 32, the legal line wrapping under both (32 + 14 px below). The two empty
   * 1fr rows centre the copy against the taller form. */
  .cx-newsletter-band--native .cx-newsletter-band__inner > .elementor-widget-wrap {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(420px, 1fr);
    grid-template-rows: 1fr auto auto 1fr auto;
    column-gap: 32px;
    justify-content: space-between;
  }
  :where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__title {
    grid-column: 1;
    grid-row: 2;
  }
  :where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__blurb {
    grid-column: 1;
    grid-row: 3;
  }
  :where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__form {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
    margin-top: 0;
  }
  :where(.cx-newsletter-band--native .cx-newsletter-band__inner) .elementor-widget-wrap > div.cx-newsletter-band__legal {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 46px;
  }
}
