/* =====================================================================================================================
   CIPHER × KIT — re-themes the business pages built on the Astorre X kit (ax.css) into the company identity:
   ink / brass / bone only, serif display headings, open hairlines instead of filled boxes. Loaded after ax.css,
   scoped to body.cx so nothing else changes. The product pages keep all their content, prices and calls to action.
   ===================================================================================================================== */
body.cx{
  --ax-void:var(--ink-0); --ax-deep:var(--ink-1);
  --ax-ink:var(--bone); --ax-ice:var(--bone); --ax-sub:var(--bone-2); --ax-muted:var(--bone-3); --ax-dim:var(--bone-4);
  --ax-line:rgba(236,230,218,.09); --ax-line-2:rgba(236,230,218,.16); --ax-line-3:rgba(198,161,91,.42);
  --ax-glass:transparent; --ax-cyan:var(--brass-hi); --ax-blue:var(--brass); --ax-accent:var(--brass-hi); --ax-accent-rgb:231,205,148;
  --ax-panel:transparent; --ax-font:var(--cx-sans); --ax-mono:var(--cx-mono);
  background:var(--ink-0)!important;
}
/* every product hue becomes brass: at most three colours on the site */
body.cx [data-ax-accent]{--ax-accent:var(--brass-hi);--ax-accent-rgb:231,205,148}
body.cx .ax-space,body.cx [data-ax-stars]{display:none!important}
body.cx .ax-page{position:relative;z-index:1;background:transparent}

/* type */
body.cx .ax-h1,body.cx .ax-h2,body.cx .ax-h3,body.cx .ax-final .ax-h2,body.cx .ax-show-name{font-family:var(--cx-serif);font-weight:500;letter-spacing:.005em}
body.cx .ax-faq summary{font-family:var(--cx-sans);font-weight:500}
body.cx .ax-h1{font-size:clamp(44px,6.4vw,96px);line-height:.98}
body.cx .ax-h2{font-size:clamp(32px,4.2vw,62px);line-height:1.04}
body.cx .ax-grad{background:none;color:var(--brass-hi);-webkit-background-clip:initial;background-clip:initial;font-style:normal}
body.cx .ax-eyebrow{color:var(--brass);font-family:var(--cx-mono);letter-spacing:.28em}
body.cx .ax-lead{color:var(--bone-2)}

/* buttons: brass blade for the primary action, hairline links for the rest */
body.cx .ax-btn{border-radius:0;font-family:var(--cx-mono);font-size:12px;letter-spacing:.24em;text-transform:uppercase;font-weight:500;border-color:var(--hair-b);color:var(--bone)}
body.cx .ax-btn-primary{color:var(--ink-0)!important;background:linear-gradient(100deg,var(--brass-lo),var(--brass) 40%,var(--brass-hi))!important;border:0;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);box-shadow:none!important}
body.cx .ax-btn-primary::after{display:none}
body.cx .ax-btn-ghost{background:transparent;border:0;border-bottom:1px solid var(--hair-b)}
body.cx .ax-btn-ghost:hover,body.cx .ax-btn-link:hover{color:var(--brass-hi)}

/* no boxes: panels, cells and cards open up into hairlines */
body.cx .ax-hud,body.cx .ax-final,body.cx .ax-plan,body.cx .ax-panel,body.cx .ax-compare-cell,body.cx .ax-smart-plan,body.cx .ax-appband,
body.cx .ax-acad-card,body.cx .ax-index a,body.cx .ax-family a,body.cx .ax-svc,body.cx .ax-statement,body.cx .ax-bound{
  background:transparent!important;border:0!important;border-top:1px solid var(--hair-2)!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important}
body.cx .ax-final{border-bottom:1px solid var(--hair-2)!important;padding-inline:0!important}
body.cx .ax-final::before,body.cx .ax-final::after,body.cx .ax-hud::before,body.cx .ax-hud::after{display:none!important}
body.cx .ax-compare{gap:clamp(18px,3vw,40px)!important;background:transparent!important;border:0!important}
body.cx .ax-glyph,body.cx .ax-acad-card .g,body.cx [class*="-glyph"]{color:var(--brass)!important;background:transparent!important;border-color:var(--hair-b)!important}
body.cx .ax-pricing tbody tr:hover{background:rgba(var(--brass-rgb),.04)}
body.cx .ax-faq-item{border-color:var(--hair)!important;background:transparent!important}

/* the decorative product mock-ups keep their layout but lose their colour */
body.cx [class*="axv-"],body.cx [class*="ax-demo"],body.cx [class*="ax-chat"]{--ax-accent:var(--brass-hi)}
body.cx .ax-section--line{border-top-color:var(--hair)!important}
body.cx .ax-section--line::before{background:linear-gradient(90deg,transparent,rgba(var(--brass-rgb),.35),transparent)!important}

/* ------------------------------------------------------------------ legal pages (axl-*): style only, text untouched */
body.cx .axl-page{background:transparent!important;position:relative;z-index:1}
body.cx .axl-hero-field,body.cx .axl-section-laser,body.cx .axl-circuit-base,body.cx .axl-connector,body.cx .axl-orbit-system,body.cx [class*="axl-binary"]{display:none!important}
body.cx .axl-hero{background:transparent!important;padding-top:calc(var(--cx-head) + clamp(48px,8vw,110px))!important}
body.cx .axl-hero h1{font-family:var(--cx-serif)!important;font-weight:400!important;text-transform:none!important;letter-spacing:-.01em!important;font-size:clamp(44px,6vw,92px)!important;line-height:1!important;color:var(--bone)!important}
body.cx .axl-hero h1 *{font-family:inherit!important;font-weight:400!important;text-transform:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;background:none!important}
body.cx .axl-hero h1 > :nth-child(n+2){font-style:normal!important;color:var(--brass-hi)!important}
body.cx .axl-page h2,body.cx .axl-page h3{font-family:var(--cx-serif)!important;font-weight:400!important;letter-spacing:-.005em!important;color:var(--bone)!important;text-transform:none!important}
body.cx .axl-page h2 em{color:var(--brass-hi)!important;font-style:normal}
body.cx .axl-block,body.cx .axl-policy-summary,body.cx .axl-overview,body.cx .axl-summary-main,body.cx .axl-summary-status,body.cx .block,body.cx .axl-two-layer-grid > *{
  background:transparent!important;border:0!important;border-top:1px solid var(--hair-2)!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important;backdrop-filter:none!important}
body.cx .axl-block::before,body.cx .axl-block::after{display:none!important}
body.cx .axl-page p,body.cx .axl-page li{color:var(--bone-2)!important}
body.cx .axl-page strong,body.cx .axl-page b{color:var(--bone)!important}
body.cx .axl-page a{color:var(--brass-hi)!important}
body.cx .axl-section-code,body.cx .axl-pretitle,body.cx .axl-block-head,body.cx .tag,body.cx .idx{color:var(--brass)!important;font-family:var(--cx-mono)!important;letter-spacing:.22em!important}
body.cx .axl-live-dot{background:var(--brass)!important;box-shadow:none!important}

/* ------------------------------------------------------------------ cookie consent: a sealed note, not a box */
body.cx .cb-card{background:linear-gradient(180deg,rgba(6,8,11,.96),rgba(3,4,6,.98))!important;border:0!important;border-top:1px solid var(--brass)!important;border-radius:0!important;
  box-shadow:0 -30px 60px rgba(0,0,0,.45)!important;backdrop-filter:blur(12px)}
body.cx .cb-title{font-family:var(--cx-serif)!important;font-weight:400!important;font-size:22px!important;color:var(--bone)!important;letter-spacing:0!important}
body.cx .cb-text,body.cx .cb-opt{color:var(--bone-3)!important}
body.cx .cb-text a{color:var(--brass-hi)!important}
body.cx .cb-logo{filter:sepia(1) saturate(.6) brightness(1.1)}
body.cx .cb-btn{border-radius:0!important;font-family:var(--cx-mono)!important;font-size:11px!important;letter-spacing:.22em!important;text-transform:uppercase!important;font-weight:500!important;
  background:transparent!important;color:var(--bone)!important;border:0!important;border-bottom:1px solid var(--hair-b)!important;box-shadow:none!important}
body.cx .cb-btn.primary{color:var(--ink-0)!important;background:linear-gradient(100deg,var(--brass-lo),var(--brass) 40%,var(--brass-hi))!important;border:0!important;padding-inline:18px!important}
body.cx .cb-settings{background:transparent!important;border-color:var(--hair)!important}
body.cx .switch.on{background:var(--brass)!important}
body.cx .cb-stage,body.cx .cb-in,body.cx .cb-wrap > *{border-radius:0!important}
body.cx .cb-in{border:0!important;box-shadow:none!important;background:transparent!important}
body.cx .cb-logo{border-radius:0!important;border:0!important;background:transparent!important}
body.cx .cb-card::before,body.cx .cb-card::after{display:none!important}
