/* =============================================================================
   CognitixERP SaaS - public landing page
   -----------------------------------------------------------------------------
   Every rule is scoped under .cgx-landing so nothing here can reach the admin
   console or the buyer portal.
   -----------------------------------------------------------------------------
   The brand ramp is the operator's: --grad-1/2/3 arrive as an inline style on the
   page root (Home.razor) from the Landing page screen, and everything - the
   buttons, the icon tiles, the glow, the closing panel - is painted from those
   three colours. A re-skin happens in one place and nowhere else.
   -----------------------------------------------------------------------------
   The look: light violet paper, an aurora fold, gradient doors, colourful app
   tiles, a deep numbers band, a dark closing panel and a dark desk for a footer.
   One product from the hero to the receipt.
   -----------------------------------------------------------------------------
   Order: tokens -> base -> buttons -> nav -> hero -> proof -> sections -> cards
   -> steps -> compare -> stats -> modules -> pricing -> CTA -> FAQ -> footer
    -> operator blocks -> contact -> motion -> responsive.
  ============================================================================= */

/* Registered custom properties. Registration is what lets a custom property
   animate: the tilt angles, the hero's scroll offset and the featured plan's
   rotating ring are interpolated as real angles/lengths. A browser that does
   not know @property simply keeps every one of these at its fallback value —
   the page is then the calmer design it was before, never a broken one. */
@property --cgx-tx { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --cgx-ty { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --cgx-plx { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --cgx-bx { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --cgx-by { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --cgx-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.cgx-landing {
  /* brand — defaults only; the page overrides these three through an inline style */
  --grad-1: #6a5cff;
  --grad-2: #9b5cff;
  --grad-3: #c45cff;
  --grad: linear-gradient(120deg, var(--grad-1), var(--grad-2) 55%, var(--grad-3));
  --brand: var(--grad-2);
  --brand-ink: color-mix(in srgb, var(--grad-2) 82%, #170f38);
  --brand-tint: color-mix(in srgb, var(--grad-2) 11%, #ffffff);
  --brand-tint-strong: color-mix(in srgb, var(--grad-2) 20%, #ffffff);

  /* ink + surfaces */
  --ink: #16122b;
  --ink-2: #322c52;
  --ink-soft: #5f5880;
  --ink-faint: #8a83a8;
  --line: #ebe8f8;
  --line-strong: #ddd6f2;
  --surface: #ffffff;
  --surface-alt: #f7f5fe;
  --deep: #0e0a22;

  /* shape */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 18, 43, .05), 0 8px 20px -14px rgba(22, 18, 43, .22);
  --shadow: 0 2px 6px rgba(22, 18, 43, .06), 0 24px 52px -26px rgba(22, 18, 43, .34);
  --shadow-brand: 0 18px 44px -20px color-mix(in srgb, var(--grad-2) 58%, transparent);
  --tap: 180ms cubic-bezier(.2, .7, .3, 1);
  /* A small overshoot for things that should feel touched rather than moved. */
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: 22px;

  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.cgx-landing *,
.cgx-landing *::before,
.cgx-landing *::after { box-sizing: border-box; }
.cgx-landing a { color: inherit; text-decoration: none; }
.cgx-landing h1, .cgx-landing h2, .cgx-landing h3, .cgx-landing h4 { line-height: 1.12; letter-spacing: -.025em; margin: 0; font-weight: 800; }
.cgx-landing p { margin: 0; }
.cgx-landing ul { margin: 0; padding: 0; list-style: none; }
.cgx-landing code { background: var(--brand-tint-strong); color: var(--brand-ink); padding: .12em .42em; border-radius: 6px; font-size: .9em; }
/* The reset that lets a hand-drawn icon button sit in prose without looking like a control. It must not
   reach anything styled as .cgx-btn: `button` + class out-specifies the single-class variants. The toggle
   keeps its own skin for the same reason: a menu door with `background: none` is an invisible door. */
.cgx-landing button:not(.cgx-btn):not(.cgx-nav__toggle) { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.cgx-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.cgx-container--narrow { max-width: 800px; }
/* Gradient text that keeps moving: the ramp is painted twice across the letters
   and slid slowly, so a headline looks lit rather than tinted. With animation
   stopped (reduced motion) it rests on a still frame of the same gradient. */
.cgx-grad-text {
  background: var(--grad); background-size: 220% 220%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: cgx-shine 8s ease-in-out infinite;
}
@keyframes cgx-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.cgx-landing ::selection { background: color-mix(in srgb, var(--brand) 26%, #fff); color: var(--ink); }

/* Section eyebrow: a glass pill with a live dot — deliberate, brand-coloured, centred. */
.cgx-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  padding: .35rem .95rem; border-radius: var(--r-pill);
}
.cgx-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.cgx-eyebrow { justify-content: center; }

/* A drawn tick, so the checkmark carries the brand colour everywhere it is used. */
.cgx-tick {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tint-strong); color: var(--brand-ink);
}
.cgx-tick svg { width: 11px; height: 11px; }

/* ---- buttons ------------------------------------------------------------- */
.cgx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; padding: .82rem 1.5rem; border-radius: var(--r-pill);
  border: 1px solid transparent; white-space: nowrap; position: relative; overflow: hidden;
  /* --cgx-bx/--cgx-by are written by the magnetic-pointer handler in
     cgx-landing.js; unmoved they are zero and the door sits exactly where it
     always sat. Everything composes through variables so the CSS owns the
     resting state and the script only lends it motion. */
  transform: translate3d(var(--cgx-bx, 0px), var(--cgx-by, 0px), 0);
  transition: transform var(--tap), box-shadow var(--tap), background var(--tap), color var(--tap), border-color var(--tap), filter var(--tap);
}
.cgx-btn:hover { transform: translate3d(var(--cgx-bx, 0px), calc(-2px + var(--cgx-by, 0px)), 0); }
.cgx-btn:active { transform: translate3d(var(--cgx-bx, 0px), var(--cgx-by, 0px), 0) scale(.98); }
.cgx-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.cgx-btn--primary {
  background: var(--grad); background-size: 180% 200%; color: #fff; box-shadow: var(--shadow-brand);
  animation: cgx-beacon 4.2s ease-in-out infinite;
}
.cgx-btn--primary:hover { filter: brightness(1.07); background-position: 100% 50%; }
/* The glow under a primary door breathes — the page's main action is the one
   element allowed to ask for attention between visits. */
@keyframes cgx-beacon {
  0%, 100% { box-shadow: var(--shadow-brand); }
  50% { box-shadow: 0 22px 58px -18px color-mix(in srgb, var(--grad-2) 78%, transparent); }
}
.cgx-btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.cgx-btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.cgx-btn--light { background: #fff; color: var(--brand-ink); }
.cgx-btn--light:hover { background: color-mix(in srgb, #fff 88%, var(--brand)); }
.cgx-btn--on-dark { background: rgba(255, 255, 255, .10); color: #fff; border-color: rgba(255, 255, 255, .34); }
.cgx-btn--on-dark:hover { background: rgba(255, 255, 255, .2); }
.cgx-btn--lg { padding: 1.02rem 1.95rem; font-size: 1.03rem; }
.cgx-btn--block { width: 100%; }
/* The third-tier action on the closing panel: text with no chrome at all. */
.cgx-btn--quiet { background: transparent; color: rgba(255, 255, 255, .85); }
.cgx-btn--quiet:hover { color: #fff; text-decoration: underline; transform: none; }
/* A sweep of light on the gradient doors: one pass per hover, so the primary
   button feels lit rather than painted. */
.cgx-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .38) 46%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 620ms cubic-bezier(.2, .7, .3, 1);
}
.cgx-btn:hover::after { transform: translateX(130%); }

.cgx-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; padding: .4rem .95rem; border-radius: var(--r-pill);
  color: var(--brand-ink); background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}

/* ---- nav ----------------------------------------------------------------- */
.cgx-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(16px) saturate(1.7); -webkit-backdrop-filter: blur(16px) saturate(1.7);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: box-shadow var(--tap), background var(--tap), border-color var(--tap), border-radius var(--tap);
}
.cgx-nav__inner { display: flex; align-items: center; flex-wrap: nowrap; gap: 1.2rem; height: 72px; transition: height var(--tap); }
.cgx-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; flex: 0 0 auto; min-width: 0; }
.cgx-brand__mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow-brand); flex: 0 0 auto;
}
.cgx-brand__mark--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cgx-brand__accent { color: var(--brand); }
/* The wordmark is one text run: no wrap between the name and its accent word. */
.cgx-brand > span:not(.cgx-brand__mark) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cgx-nav__links { display: flex; gap: 1.35rem; margin-left: .6rem; flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; overflow: hidden; scrollbar-width: none; }
.cgx-nav__links::-webkit-scrollbar { display: none; }
.cgx-nav__links a { flex: 0 0 auto; white-space: nowrap; font-weight: 600; color: var(--ink-soft); font-size: .94rem; position: relative; padding: .25rem 0; transition: color var(--tap); }
.cgx-nav__links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: center;
  opacity: .001; transition: transform var(--tap), opacity var(--tap);
}
.cgx-nav__links a:hover { color: var(--ink); }
.cgx-nav__links a:hover::after,
.cgx-nav__links a.is-current::after { transform: scaleX(1); opacity: 1; }
/* The section being read: colour alone is a whisper at this size, so the word takes
   the brand ink and gains weight - and the width never changes, so the row cannot
   shuffle under the pointer as the page scrolls. */
.cgx-nav__links a.is-current { color: var(--brand-ink); }
.cgx-nav__actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; flex: 0 0 auto; }

/* Sealed: once the hero is behind you the bar has something solid to sit on —
   and it rounds off at the bottom to read as a slab floating over the page,
   the pattern every modern product site has settled on for a stuck header. */
.cgx-nav--stuck {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line-strong);
  border-top-color: transparent;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 22px 48px -26px rgba(22, 18, 43, .5);
}
.cgx-nav--stuck .cgx-nav__inner { height: 60px; }

/* How far down the page you are: two pixels of ramp, no chrome, reads instantly. */
.cgx-nav__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; border-radius: 0 0 24px 24px; }
.cgx-nav__progress > i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* Every nav link is a #anchor, and the bar is sticky, so a jumped-to section
   heading would land underneath it. Offset the scroll target by the bar plus air. */
.cgx-landing [id] { scroll-margin-top: 92px; }

/* ---- mobile nav -----------------------------------------------------------
   The link row and the ghost doors disappear together, and the toggle takes over
   at exactly the width they vanish (the 1000px rule at the bottom of this file).
   It is drawn rather than an icon font, because the landing page ships no icon
   dependency. The toggle is a MENU icon, not a promo button: a quiet white tile
   with a hairline border and three ink bars so it never reads as a second CTA;
   it only wears brand colour while the sheet is open. */
.cgx-nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color var(--tap), box-shadow var(--tap), background var(--tap);
}
.cgx-nav__toggle span { height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--tap), opacity var(--tap), background var(--tap); }
.cgx-nav__toggle:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.cgx-nav__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Open state morphs the bars into an X and lets the tile wear the ramp, so the
   same control that opened the sheet is the one that visibly closes it. */
.cgx-nav__toggle[aria-expanded="true"] { background: var(--brand); border-color: transparent; }
.cgx-nav__toggle[aria-expanded="true"] span { background: #fff; }
.cgx-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.cgx-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.cgx-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.cgx-nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px var(--gutter) 18px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 34px -26px rgba(22, 18, 43, .34);
  /* Every destination plus two doors is taller than a landscape phone, and the
     header is sticky - a menu whose last link is unreachable is not a menu. */
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cgx-nav__mobile-links { display: grid; gap: 2px; }
.cgx-nav__mobile-links a {
  padding: 11px 8px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background var(--tap), color var(--tap);
}
.cgx-nav__mobile-links a:hover { color: var(--ink); background: var(--brand-tint); }
.cgx-nav__mobile-actions { display: grid; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }

/* ---- hero ---------------------------------------------------------------- */
.cgx-hero { position: relative; overflow: clip; padding: 96px 0 88px; }
/* The aurora: two slow orbs of the ramp and a hairline grid under them. The page
   opens with depth instead of a white rectangle; nothing here moves something the
   eye must read. */
.cgx-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cgx-hero__bg::before {
  content: ""; position: absolute;
  width: 62vmax; height: 62vmax; left: -18vmax; top: -34vmax;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--grad-1) 30%, transparent), transparent 62%);
  animation: cgx-drift-a 30s ease-in-out infinite alternate;
}
.cgx-hero__bg::after {
  content: ""; position: absolute;
  width: 54vmax; height: 54vmax; right: -16vmax; top: -16vmax;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--grad-3) 26%, transparent), transparent 60%);
  animation: cgx-drift-b 36s ease-in-out infinite alternate;
}
@keyframes cgx-drift-a { to { transform: translate3d(7vmax, 5vmax, 0) scale(1.1); } }
@keyframes cgx-drift-b { to { transform: translate3d(-6vmax, 4vmax, 0) scale(.94); } }
/* Ruled paper for a product that organises a business - masked so it dissolves
   before it reaches the copy, where it would fight the letterforms. */
.cgx-hero__rule {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 78% at 50% 0%, #000 0%, transparent 72%);
}
/* The spotlight: a cone of brand light falling from the top edge behind the
   headline. One blurred clip-path, no script — the fold opens with a source
   of light, the trick every serious product site has settled on. */
.cgx-hero__rule::before {
  content: ""; position: absolute; top: -6%; left: 50%;
  width: min(820px, 78%); height: 78%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--brand) 15%, transparent), transparent 82%);
  filter: blur(34px);
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
}
.cgx-hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(22, 18, 43, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 18, 43, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(78% 62% at 50% 0%, #000 28%, transparent 78%);
  mask-image: radial-gradient(78% 62% at 50% 0%, #000 28%, transparent 78%);
}
.cgx-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cgx-hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .36rem .95rem .36rem .7rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  box-shadow: var(--shadow-sm);
  color: var(--brand-ink);
  font-size: .78rem;
  font-weight: 700;
}
.cgx-hero__eyebrow .cgx-dot {
  width: 7px; height: 7px; background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
  animation: cgx-pulse 2.8s ease-in-out infinite;
}
@keyframes cgx-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.55); opacity: .5; }
}
.cgx-hero__title { font-size: clamp(2.4rem, 5.6vw, 4.15rem); margin: 1.1rem 0 1rem; max-width: 18ch; text-wrap: balance; }
.cgx-hero__title .cgx-grad-text { display: block; }
.cgx-hero__lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 62ch; margin: 0 auto 1.8rem; }
.cgx-hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.7rem; }
.cgx-hero__trust { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .55rem 1.7rem; color: var(--ink-soft); font-size: .93rem; font-weight: 500; }
.cgx-hero__trust li {
  /* Claims wear a quiet glass pill: a list of plain sentences under a CTA reads
     as footnotes; pills read as the assurance band every product header has. */
  display: flex; align-items: center; gap: .55rem; padding: .4rem 1rem .4rem .75rem;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-weight: 600; font-size: .88rem;
}

/* The fold assembles once, in order: pill, headline, sentence, doors, proof.
   Gated on .cgx-js like every other motion, so a page whose scripts were
   blocked shows the finished picture instead of waiting for an animation
   that will never run. */
.cgx-js .cgx-hero__eyebrow,
.cgx-js .cgx-hero__title,
.cgx-js .cgx-hero__lede,
.cgx-js .cgx-hero__cta,
.cgx-js .cgx-hero__trust { animation: cgx-rise 760ms cubic-bezier(.2, .7, .3, 1) both; }
.cgx-js .cgx-hero__title { animation-delay: 70ms; }
.cgx-js .cgx-hero__lede { animation-delay: 150ms; }
.cgx-js .cgx-hero__cta { animation-delay: 230ms; }
.cgx-js .cgx-hero__trust { animation-delay: 310ms; }
/* The art enters by opacity alone: its transform belongs to the pointer tilt
   and the scroll parallax below, and a filled animation would out-rank both. */
.cgx-js .cgx-hero__art { animation: cgx-fade-in 900ms cubic-bezier(.2, .7, .3, 1) 380ms both; }
@keyframes cgx-rise {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
}
@keyframes cgx-fade-in { from { opacity: 0; } }

/* The picture: the product seen from the outside, squared to the page under the
   sentence, sitting in its own glow so the fold reads as software, not a poster. */
.cgx-hero__art {
  position: relative; width: 100%; max-width: 1080px; margin-top: 56px; text-align: start;
  /* One transform composed from three registered variables: the two tilt
     angles the pointer writes and the drift the scroll writes. The 2.5deg
     rest angle is the screen leaning back the way a monitor sits on a desk —
     the picture is drawn in perspective even before the pointer arrives.
     Registered properties interpolate, so the console leans toward the cursor
     instead of snapping to it. No script, no pointer — still a screen, just
     a calm one. */
  transform: perspective(1700px) rotateX(calc(2.5deg + var(--cgx-tx, 0deg))) rotateY(var(--cgx-ty, 0deg)) translate3d(0, var(--cgx-plx, 0px), 0);
  transition: --cgx-tx 260ms ease-out, --cgx-ty 260ms ease-out;
}
.cgx-hero__art::before {
  content: ""; position: absolute; inset: 12% 6% -12% 6%; z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 72%);
  filter: blur(56px);
  pointer-events: none;
  animation: cgx-breathe 8s ease-in-out infinite alternate;
}
/* The floor light: the console reads as standing on a pool of brand colour
   rather than floating as a loose screenshot. */
.cgx-hero__art::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -30px; height: 48px; z-index: -1;
  pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, color-mix(in srgb, var(--brand) 34%, transparent), transparent 78%);
  filter: blur(16px);
}
@keyframes cgx-breathe {
  from { opacity: .65; transform: scale(.97); }
  to { opacity: 1; transform: scale(1.05); }
}
/* The console mock breathes: it is the only picture above the fold, and a flat one
   makes the whole page read as a screenshot of a brochure. Its frame is a hairline
   of the ramp — the product edge lit by the same light as the headline. */
.cgx-mock {
  position: relative;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1px solid transparent; border-radius: var(--r-lg);
  box-shadow: var(--shadow), 0 40px 90px -46px color-mix(in srgb, var(--brand) 55%, transparent);
  overflow: hidden;
  animation: cgx-float 9s ease-in-out infinite;
}
/* A glass reflection crosses the picture now and then — the one trick that
   separates a screenshot from a product shot. */
.cgx-mock::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, .38) 50%, transparent 58%);
  background-size: 260% 100%;
  animation: cgx-sweep 8s ease-in-out infinite;
}
@keyframes cgx-sweep {
  0%, 18% { background-position: -70% 0; }
  58%, 100% { background-position: 170% 0; }
}
@keyframes cgx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.cgx-mock__bar { display: flex; align-items: center; gap: .6rem; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.cgx-mock__dots { display: flex; gap: 5px; flex: 0 0 auto; }
.cgx-mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.cgx-mock__dots i:nth-child(1) { background: #f8717a; }
.cgx-mock__dots i:nth-child(2) { background: #f0b429; }
.cgx-mock__dots i:nth-child(3) { background: #34c77b; }
.cgx-mock__url {
  flex: 1; min-width: 0; font-size: .74rem; color: var(--ink-faint); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: .3rem .85rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cgx-mock__body { padding: 16px; display: grid; gap: 10px; }
.cgx-mock__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.cgx-mock__metric { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: linear-gradient(180deg, var(--surface), var(--surface-alt)); }
.cgx-mock__metric strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.cgx-mock__metric span { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.cgx-mock__row {
  display: flex; align-items: center; gap: .6rem; font-size: .84rem; font-weight: 500;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
}
.cgx-mock__row b { margin-inline-start: auto; font-weight: 700; }
.cgx-mock__row .cgx-mock__state--warn { color: #b25a00; }
.cgx-mock__row .cgx-mock__state--ok { color: #0f9d58; }
.cgx-dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.cgx-dot--green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.cgx-dot--amber { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .15); }
.cgx-mock__float {
  position: absolute; right: -12px; bottom: -20px; display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: .7rem 1rem; box-shadow: var(--shadow);
}
.cgx-mock__float-label { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.cgx-mock__float-value { display: block; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }

/* The fold with no picture: the grid is one column so a headline never sits next
   to an empty half-page - the most obvious flaw a landing page can show. */
.cgx-hero--solo { padding: 86px 0 78px; }
.cgx-hero--solo .cgx-hero__title { font-size: clamp(2.05rem, 3.6vw, 3.15rem); }
.cgx-hero--solo .cgx-hero__lede { max-width: 64ch; }

/* ---- proof strip --------------------------------------------------------- */
.cgx-strip { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-alt), var(--surface)); }
.cgx-strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; justify-content: center; padding: 20px var(--gutter);
  /* The row dissolves into the paper at both edges instead of stopping at a
     hard border — the treatment every logo wall uses now. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.cgx-strip__label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.cgx-strip__inner span { color: var(--ink-soft); font-weight: 700; font-size: .92rem; }

/* ---- sections ------------------------------------------------------------ */
.cgx-section { padding: 96px 0; }
.cgx-section--alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.cgx-section--tight { padding: 68px 0; }
.cgx-section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.cgx-section__head h2 { font-size: clamp(1.9rem, 3.5vw, 2.65rem); margin: .9rem 0 .8rem; text-wrap: balance; }
.cgx-section__head p { color: var(--ink-soft); font-size: 1.06rem; }
.cgx-section__head--center { text-align: center; }

.cgx-grid { display: grid; gap: 22px; }
.cgx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cgx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cgx-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- cards --------------------------------------------------------------- */
.cgx-card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--tap), box-shadow var(--tap), border-color var(--tap);
}
/* A gradient rail draws itself across the top edge on hover - the card answers
   the pointer by name, not just by shifting. */
.cgx-card::after {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; z-index: 1;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 320ms cubic-bezier(.2, .7, .3, 1);
}
@media (hover: hover) {
  .cgx-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 24%, var(--line)); }
  .cgx-card:hover::after { transform: scaleX(1); }
}
/* The card marks cycle through the ramp the way Odoo's app icons cycle through
   their palette: the row reads colourful while every tile still belongs to the brand. */
.cgx-card__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 1.15rem;
  background: linear-gradient(150deg, color-mix(in srgb, var(--brand) 16%, #fff), color-mix(in srgb, var(--brand) 5%, #fff));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  color: var(--brand-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.cgx-card__icon svg { width: 24px; height: 24px; }
.cgx-card__icon { transition: transform 320ms var(--spring), box-shadow var(--tap); }
@media (hover: hover) {
  /* The mark leans in a degree and gets a brand-coloured drop under it —
     a small overshoot reads as "touched", a straight lift does not. */
  .cgx-card:hover .cgx-card__icon {
    transform: scale(1.08) rotate(-6deg);
    box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--brand) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .7);
  }
}
.cgx-card:nth-child(4n+2) .cgx-card__icon {
  background: linear-gradient(150deg, color-mix(in srgb, var(--grad-1) 17%, #fff), color-mix(in srgb, var(--grad-1) 5%, #fff));
  border-color: color-mix(in srgb, var(--grad-1) 24%, transparent);
  color: color-mix(in srgb, var(--grad-1) 78%, #170f38);
}
.cgx-card:nth-child(4n+3) .cgx-card__icon {
  background: linear-gradient(150deg, color-mix(in srgb, var(--grad-3) 18%, #fff), color-mix(in srgb, var(--grad-3) 6%, #fff));
  border-color: color-mix(in srgb, var(--grad-3) 26%, transparent);
  color: color-mix(in srgb, var(--grad-3) 74%, #200f3a);
}
.cgx-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.cgx-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---- how it works -------------------------------------------------------- */
.cgx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cgx-step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform var(--tap), box-shadow var(--tap), border-color var(--tap);
}
@media (hover: hover) {
  .cgx-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
}
.cgx-step__num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill);
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 1rem; box-shadow: var(--shadow-brand);
}
.cgx-step h3 { font-size: 1.04rem; margin-bottom: .45rem; }
.cgx-step p { color: var(--ink-soft); font-size: .93rem; }
/* On a wide screen the four steps are one sentence, so the row is ruled like
   one: a dashed brand rail runs from each badge into the next card. */
@media (min-width: 1081px) {
  .cgx-step:not(:last-child)::before {
    content: ""; position: absolute; top: calc(1.6rem + 21px); left: calc(100% + 6px); width: 10px;
    border-top: 2px dashed color-mix(in srgb, var(--brand) 45%, var(--line-strong));
  }
}

/* ---- compare ------------------------------------------------------------- */
.cgx-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 46px; align-items: start; }
.cgx-split__title { font-size: clamp(1.65rem, 2.8vw, 2.2rem); margin: .8rem 0 .9rem; }
.cgx-split__lede { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 1.4rem; }
.cgx-checks { display: grid; gap: .8rem; }
.cgx-checks li { display: flex; align-items: flex-start; gap: .7rem; font-size: .96rem; color: var(--ink-2); }
.cgx-checks li b { color: var(--ink); font-weight: 700; }
.cgx-checks .cgx-tick { margin-top: 4px; }
/* A tick list used as its own block is a column of claims, not a paragraph. */
.cgx-checks--wide { display: grid; gap: .7rem; max-width: 720px; margin-inline: auto; }

.cgx-compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.cgx-compare__head, .cgx-compare__row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; align-items: center; }
.cgx-compare__head { padding: 13px 18px; background: var(--brand-tint); border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.cgx-compare__us { color: var(--brand-ink) !important; }
.cgx-compare__row { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; transition: background var(--tap); }
.cgx-compare__row:hover { background: var(--surface-alt); }
.cgx-compare__row:last-child { border-bottom: 0; }
.cgx-compare__row b { font-weight: 700; color: var(--ink); display: block; }
.cgx-compare__row .cgx-them { color: var(--ink-faint); }
.cgx-compare__row .cgx-us { color: var(--ink-2); font-weight: 600; display: flex; gap: .5rem; align-items: flex-start; }

/* ---- stats band ------------------------------------------------------------
   The one dark slab in the middle of the light page: the ramp fills it, the
   figures count up to what the operator typed, and the top sheen keeps the
   gradient from reading as flat wallpaper. */
.cgx-stats { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
/* Top sheen plus a light band that crosses the slab every few seconds: the
   band is a second background layer so the static gloss stays put. */
.cgx-stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(112deg, transparent 44%, rgba(255, 255, 255, .20) 52%, transparent 60%),
    linear-gradient(to bottom, rgba(255, 255, 255, .18), transparent 58%);
  background-size: 250% 100%, 100% 100%;
  animation: cgx-stats-sheen 9s ease-in-out infinite;
}
@keyframes cgx-stats-sheen {
  0%, 22% { background-position: -60% 0, 0 0; }
  62%, 100% { background-position: 160% 0, 0 0; }
}
.cgx-stats::after {
  content: ""; position: absolute; inset: auto -20% -55% -20%; height: 110%; pointer-events: none;
  background: radial-gradient(45% 60% at 30% 60%, color-mix(in srgb, #fff 14%, transparent), transparent 70%),
              radial-gradient(45% 60% at 75% 40%, color-mix(in srgb, var(--deep) 30%, transparent), transparent 70%);
}
.cgx-stats__inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 58px var(--gutter); text-align: center; }
/* Named cgx-stats__cell rather than cgx-stat: cgx-admin.css owns .cgx-stat (the console's
   KPI tile) and both stylesheets load globally. */
.cgx-stats__cell strong {
  display: block;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff, color-mix(in srgb, var(--grad-2) 45%, #fff));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cgx-stats__cell span { opacity: .92; font-weight: 600; font-size: .92rem; }

/* ---- modules ------------------------------------------------------------- */
.cgx-chips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.cgx-chips span {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: .6rem 1.15rem; font-weight: 600; font-size: .9rem; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  transition: transform 340ms var(--spring), border-color var(--tap), color var(--tap), background var(--tap);
}
@media (hover: hover) {
  .cgx-chips span:hover {
    transform: translateY(-3px);
    color: var(--brand-ink);
    border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
    background: var(--brand-tint);
  }
}

/* ---- module tiles ------------------------------------------------------------
   The console's Reports page borrows .cgx-chips too, so every tile rule is
   scoped to .cgx-landing: what a plan switches on should read as a shelf of
   apps, not a cloud of tags. The CSS counter prints the ordinal — a plain,
   numberless tag row has no order to remember; a numbered tile does. */
.cgx-landing .cgx-chips {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 14px; counter-reset: cgx-mod;
}
.cgx-landing .cgx-chips span {
  position: relative; counter-increment: cgx-mod;
  display: flex; align-items: center; gap: .8rem;
  border-radius: var(--r); padding: 1rem 1.1rem;
  font-size: .93rem; text-align: start;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-alt) 70%, var(--surface)));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
/* The ordinal badge is the tile's app icon: quiet brand ink at rest, a full
   ramp tile when the pointer arrives. */
.cgx-landing .cgx-chips span::before {
  content: counter(cgx-mod, decimal-leading-zero);
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  color: var(--brand-ink); background: var(--brand-tint-strong);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  transition: transform 320ms var(--spring), background var(--tap), color var(--tap), border-color var(--tap);
}
.cgx-landing .cgx-chips span::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 320ms cubic-bezier(.2, .7, .3, 1);
}
@media (hover: hover) {
  .cgx-landing .cgx-chips span:hover {
    transform: translateY(-4px);
    color: var(--ink);
    border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
    background: var(--surface);
    box-shadow: var(--shadow), 0 18px 36px -24px color-mix(in srgb, var(--brand) 50%, transparent);
  }
  .cgx-landing .cgx-chips span:hover::before {
    transform: scale(1.08) rotate(-5deg);
    background: var(--grad); color: #fff; border-color: transparent;
    box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--brand) 75%, transparent);
  }
  .cgx-landing .cgx-chips span:hover::after { transform: scaleX(1); }
}

/* ---- pricing ---------------------------------------------------------------
   Three across is what a buyer compares with their eyes; the middle card is the
   one they land on. Each card is one column of decisions - name, price, what it
   is for, what it grants, then the button pinned to the bottom so the row lines up. */
.cgx-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
  /* The "Most popular" pill hangs on the card's top edge; a little padding keeps
     it clear of the row above. */
  padding-top: 14px;
}
.cgx-price {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-alt) 70%, var(--surface)));
  box-shadow: var(--shadow-sm);
  transition: transform var(--tap), box-shadow var(--tap), border-color var(--tap);
}
@media (hover: hover) {
  .cgx-price:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); }
  .cgx-price--featured:hover { transform: translateY(-10px); box-shadow: var(--shadow-brand); }
}
.cgx-price__head { display: flex; flex-direction: column; gap: .35rem; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cgx-price__head h3 { margin: 0; font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; color: var(--ink-soft); }
.cgx-price__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem; }
.cgx-price__amount > span { vertical-align: baseline; font-size: inherit; }
.cgx-price__currency { font-size: 1.05rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .01em; }
.cgx-price__figure { font-size: clamp(2.3rem, 3vw, 2.85rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.cgx-price__amount small { font-size: .92rem; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
/* A description is one sentence about a plan. Three lines is what a card can hold
   without pushing its own button out of the row, so a pasted paragraph is clamped. */
.cgx-price__note {
  margin: .55rem 0 0; min-height: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* What the plan grants: hairlines so a buyer scanning six rows can find their own. */
.cgx-price__list { display: flex; flex-direction: column; gap: 0; margin: 2px 0 22px; flex: 1 1 auto; }
.cgx-price__list li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .58rem 0; font-size: .9rem; color: var(--ink-2);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
}
.cgx-price__list li:last-child { border-bottom: 0; }
.cgx-price__list .cgx-tick { margin-top: 2px; }
.cgx-price__foot { margin-top: auto; }
.cgx-price__foot .cgx-btn { width: 100%; }
/* The flagship: a hairline of the ramp that slowly rotates around the card —
   the one ring every 2025-era pricing table wears — the brand shadow under it
   and a lift. Without @property support the ring is simply the static
   gradient it used to be. */
.cgx-price--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-alt) 70%, var(--surface))) padding-box,
    conic-gradient(from var(--cgx-angle), var(--grad-1), var(--grad-3) 30%, var(--grad-2) 62%, var(--grad-1)) border-box;
  box-shadow: var(--shadow-brand);
  transform: translateY(-8px);
  animation: cgx-ring-spin 7s linear infinite;
}
@keyframes cgx-ring-spin { to { --cgx-angle: 360deg; } }
.cgx-price--featured .cgx-price__figure { color: var(--brand-ink); }
.cgx-price--featured .cgx-price__head { border-bottom-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.cgx-price__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  padding: .32rem .95rem; border-radius: var(--r-pill); white-space: nowrap; text-transform: uppercase;
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--brand) 85%, transparent);
  animation: cgx-badge-breathe 3.4s ease-in-out infinite;
}
@keyframes cgx-badge-breathe {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.06); }
}
/* Plan campaign: the sale badge sits in-flow (never over the "Most popular" pill),
   the struck price reads as a footnote, and the campaign figure stays the price. */
.cgx-price__badge--sale { position: static; transform: none; animation: none; align-self: flex-start; margin-bottom: .5rem; background: #16a34a; }
.cgx-price--sale { background: linear-gradient(180deg, color-mix(in srgb, #16a34a 5%, var(--surface)), var(--surface)); }
.cgx-price__amount--sale { display: flex; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: .1rem .35rem; }
.cgx-price__was { margin-top: .2rem; font-size: .9rem; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.cgx-price__was > span { font-size: .8rem; vertical-align: baseline; margin-right: 2px; }
.cgx-price__was s { text-decoration-thickness: 1.5px; opacity: .8; }
.cgx-price__note--sale { color: #15803d; font-weight: 600; }

/* A shelf with fewer than three plans: one card stretched to 1160px stops looking
   like a price, so the row keeps its three tracks only when there are three to fill. */
.cgx-pricing:has(> .cgx-price:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
}
.cgx-pricing:has(> .cgx-price:first-child:last-child) {
  grid-template-columns: minmax(0, 430px);
  justify-content: center;
}

.cgx-pricing__foot { margin: 26px auto 0; max-width: 660px; text-align: center; font-size: .84rem; color: var(--ink-faint); }

/* ---- closing CTA ------------------------------------------------------------
   A dark panel with the ramp drifting under it: the page's last word, lit from
   inside. Its first button follows checkout like the one in the menu. */
.cgx-cta { padding: 90px 0; }
.cgx-cta__inner {
  position: relative; overflow: clip; text-align: center;
  background:
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.6px),
    var(--deep);
  background-size: 24px 24px, auto;
  color: #fff; border-radius: 28px; padding: 66px 26px; box-shadow: var(--shadow);
}
.cgx-cta__inner::before {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background:
    radial-gradient(40% 60% at 22% 22%, color-mix(in srgb, var(--grad-1) 48%, transparent), transparent 60%),
    radial-gradient(45% 65% at 82% 70%, color-mix(in srgb, var(--grad-3) 44%, transparent), transparent 60%);
  animation: cgx-pan 24s ease-in-out infinite alternate;
}
.cgx-cta__inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .12);
}
.cgx-cta__inner > * { position: relative; }
@keyframes cgx-pan { to { transform: translate3d(-6%, 4%, 0) scale(1.08); } }
.cgx-cta__inner h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: .7rem; }
.cgx-cta__inner p { opacity: .9; margin-bottom: 1.8rem; max-width: 58ch; margin-inline: auto; }
.cgx-cta__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cgx-cta__note { margin-top: 1.15rem; font-size: .84rem; opacity: .72; }

/* ---- FAQ ------------------------------------------------------------------ */
.cgx-faqs { display: grid; gap: 10px; }
.cgx-faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.05rem 1.25rem;
  transition: border-color var(--tap), box-shadow var(--tap);
}
.cgx-faq[open], .cgx-faq--open {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  box-shadow: var(--shadow-sm);
  /* The open question warms a shade of brand so the row you are reading is
    the loudest row, without any icon having to say it. */
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-tint) 75%, var(--surface)), var(--surface));
}
.cgx-faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cgx-faq summary::-webkit-details-marker { display: none; }
.cgx-faq summary::after {
  content: ""; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background-color: var(--brand-ink);
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 260ms cubic-bezier(.2, .7, .3, 1), background var(--tap);
}
/* The rotation is the part a visitor actually reads as "this one is open". */
.cgx-faq[open] summary::after, .cgx-faq--open summary::after { transform: rotate(135deg); }
.cgx-faq p { color: var(--ink-soft); font-size: .95rem; margin-top: .75rem; max-width: 74ch; }

/* ---- footer -----------------------------------------------------------------
   A dark desk to close on: the ramp rail across its top edge says the brand one
   last time, and the columns stack rather than running together as prose. */
.cgx-footer { position: relative; background: var(--deep); color: #cfc9e6; padding-top: 64px; }
.cgx-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.cgx-footer__inner { display: grid; grid-template-columns: 2.1fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 44px; }
.cgx-footer .cgx-brand { color: #fff; margin-bottom: .85rem; }
.cgx-footer__brand p { font-size: .92rem; max-width: 38ch; color: #b3abcf; }
.cgx-footer__col { display: flex; flex-direction: column; }
.cgx-footer__col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.cgx-footer__col a { display: block; color: #b3abcf; font-size: .92rem; padding: .28rem 0; transition: color var(--tap), transform var(--tap); }
@media (hover: hover) {
  .cgx-footer__col a:hover { color: #fff; transform: translateX(2px); }
}
.cgx-footer__mail { color: #fff !important; font-weight: 700; }
.cgx-footer__hint { font-size: .82rem; color: #8f87b3; margin-top: .55rem; max-width: 32ch; }
.cgx-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .85rem; color: #9a93c0; }
.cgx-footer__bar .cgx-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.cgx-footer__bar a { color: #9a93c0; transition: color var(--tap); }
.cgx-footer__bar a:hover { color: #fff; }
.cgx-footer__legal { display: inline-flex; flex-wrap: wrap; gap: 1rem; }
/* A link that leaves the site says so, in the mark rather than the wording. */
.cgx-footer__col a[target="_blank"]::after {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-inline-start: .32em; vertical-align: baseline;
  background: currentColor; opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* =============================================================================
   Operator-authored blocks
   The announcement ribbon, customer quotes, a hosted screenshot in place of the
   drawn console, the "nothing published yet" pricing state, and the compact
   rendering the editor previews with. They live here rather than in
   cgx-admin.css because they only exist inside .cgx-landing.
============================================================================= */

/* ---- announcement ribbon ---------------------------------------------------- */
.cgx-announce { position: relative; overflow: hidden; background: var(--grad); color: #fff; font-size: .86rem; font-weight: 600; }
.cgx-announce__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem 1rem; padding: 10px var(--gutter); }
.cgx-announce__pill {
  flex: 0 0 auto; padding: .16rem .6rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .22); font-size: .66rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.cgx-announce__text { min-width: 0; }
.cgx-announce__link { display: inline-flex; align-items: center; gap: .35rem; text-decoration: underline; text-underline-offset: 3px; }
.cgx-announce__link svg { width: 15px; height: 15px; }
.cgx-announce__link:hover { opacity: .88; }
/* An announcement that does not move at all is easy to scroll past without seeing;
   a sheen every few seconds says "this is new" without blinking. */
.cgx-announce::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .24) 50%, transparent 58%);
  transform: translateX(-100%);
  animation: cgx-sheen 9s ease-in-out infinite;
}
@keyframes cgx-sheen {
  0%, 72% { transform: translateX(-100%); }
  92%, 100% { transform: translateX(100%); }
}

/* ---- customer quotes --------------------------------------------------------- */
.cgx-quote {
  margin: 0; position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface), var(--surface-alt));
  box-shadow: var(--shadow-sm);
  transition: transform var(--tap), box-shadow var(--tap), border-color var(--tap);
}
@media (hover: hover) {
  .cgx-quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 24%, var(--line)); }
}
.cgx-quote::before {
  content: "\201C"; position: absolute; top: -6px; left: 18px; font-size: 3.4rem; line-height: 1; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cgx-quote blockquote { margin: 0; padding-top: 18px; font-size: 1.02rem; line-height: 1.55; color: var(--ink-2); font-weight: 500; }
.cgx-quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.cgx-quote__who { font-weight: 800; font-size: .92rem; }
.cgx-quote__role { font-size: .8rem; color: var(--ink-faint); }

/* ---- a hosted screenshot in place of the drawn console ------------------------ */
.cgx-shot { margin: 0; }
.cgx-shot img {
  display: block; width: 100%; height: auto; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-alt);
}
.cgx-shot figcaption { margin-top: 10px; font-size: .8rem; color: var(--ink-faint); text-align: center; }

/* ---- pricing: the empty shelf ------------------------------------------------- */
.cgx-emptyplans {
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  padding: 42px 26px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink-soft); max-width: 620px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.cgx-emptyplans p { font-size: 1rem; }

/* ---- the editor's preview -------------------------------------------------------
   The preview draws the real components and so inherits every rule above. All it
   needs is the section's vertical rhythm taken down a notch, because the blocks
   stack inside a card that is already padded. */
.cgx-landing .cgx-section--preview { padding: 26px 0; }
.cgx-landing .cgx-section--preview .cgx-section__head { margin-bottom: 22px; }

/* ---- an anchor styled as a button keeps the button's colours --------------------
   The kit opens with `.cgx-landing a { color: inherit }`, which is right for prose
   links and wrong for a button: it out-specifies the variants, and a door that
   inherits its panel's ink prints nothing at all.
---------------------------------------------------------------------------------- */
.cgx-landing a.cgx-btn--primary { color: #fff; }
.cgx-landing a.cgx-btn--light { color: var(--brand-ink); }
.cgx-landing a.cgx-btn--on-dark { color: #fff; }
.cgx-landing a.cgx-btn--quiet { color: rgba(255, 255, 255, .85); }
.cgx-landing a.cgx-btn--ghost { color: var(--ink); }

/* =============================================================================
   The dedicated contact page (/contact)
   It draws with the landing's own tokens - same eyebrow, same surfaces, same
   shadow language - so leaving the front door for the contact desk is a step
   sideways, not onto a different site. The cards are whole links: tapping one
   dials or writes immediately, which is the only job this page has.
============================================================================= */
.cgx-contact__main {
  padding: clamp(3.5rem, 9vh, 6.5rem) 0 clamp(3rem, 7vh, 5rem);
  display: grid; gap: 2.25rem;
}
.cgx-contact__head { display: grid; gap: .9rem; }
.cgx-contact__head h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.12; }
.cgx-contact__sub { max-width: 62ch; font-size: 1.06rem; color: var(--ink-soft); }
.cgx-contact__blurb { max-width: 68ch; color: var(--ink-soft); }
.cgx-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.cgx-contact__card {
  display: grid; gap: .35rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform var(--tap), border-color var(--tap), box-shadow var(--tap);
}
@media (hover: hover) {
  .cgx-contact__card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow-brand); }
}
.cgx-contact__kind { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.cgx-contact__value { font-size: 1.05rem; font-weight: 600; color: var(--ink); word-break: break-word; }
.cgx-contact__note, .cgx-contact__empty { max-width: 70ch; color: var(--ink-soft); font-size: .95rem; }
.cgx-contact__empty a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================================
   Motion layer - the jQuery enhancement (js/cgx-landing.js)
   Everything here answers to a class the script sets, or to .cgx-js on <html>,
   so a page whose scripts were blocked is the page that was always there: full
   content, nothing half-faded.
============================================================================= */

/* ---- reveals ------------------------------------------------------------------
   A block arrives 18px below where it belongs, at zero opacity, and takes 620ms to
   stop moving. Hidden only when .cgx-js is set (the script ran), which is what
   keeps a blocked-script page from showing content that never swims in.
---------------------------------------------------------------------------------- */
.cgx-js .cgx-landing [data-cgx-reveal]:not(.cgx-revealed) { opacity: 0; transform: translate3d(0, 18px, 0); }
.cgx-js .cgx-landing [data-cgx-reveal] { transition: opacity 620ms cubic-bezier(.2, .7, .3, 1), transform 620ms cubic-bezier(.2, .7, .3, 1); will-change: opacity, transform; }
.cgx-js .cgx-landing [data-cgx-reveal].cgx-revealed { opacity: 1; transform: none; }

/* ---- the stagger -----------------------------------------------------------------
   One attribute on the container, and its children arrive in sequence. The delays
   live here rather than in markup so a block of eight cards is still eight nodes
   with no inline styling. Containers that stagger are excluded from the container
   fade: a row that fades as a unit AND slides as eight pieces reads as a stutter.
---------------------------------------------------------------------------------- */
.cgx-js .cgx-landing [data-cgx-stagger]:not(.cgx-revealed) > * { opacity: 0; }
.cgx-js .cgx-landing [data-cgx-stagger] > * {
  opacity: 1; transform: translate3d(0, 16px, 0);
  transition: opacity 520ms cubic-bezier(.2, .7, .3, 1), transform 520ms cubic-bezier(.2, .7, .3, 1);
}
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > * { transform: none; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(1) { transition-delay: 30ms; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(2) { transition-delay: 90ms; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(3) { transition-delay: 150ms; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(4) { transition-delay: 210ms; }
/* A seventeen-tile shelf still arrives as a wave, not a wall: the delay keeps
   climbing to a ceiling instead of flattening at the fourth. */
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(5) { transition-delay: 270ms; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(6) { transition-delay: 330ms; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(7) { transition-delay: 390ms; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(8) { transition-delay: 450ms; }
.cgx-js .cgx-landing [data-cgx-stagger].cgx-revealed > *:nth-child(n+9) { transition-delay: 510ms; }

/* ---- surfaces that carry the pointer light ----------------------------------------
   cgx-landing.js writes --cgx-mx/--cgx-my as the cursor moves. A radial gradient
   aimed at those two numbers costs nothing next to a canvas per card, and reads as
   one light source travelling across the row. With the variables absent the
   gradient centres itself, so the rule still looks deliberate without the script.
---------------------------------------------------------------------------------- */
.cgx-card::before,
.cgx-price::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(340px circle at var(--cgx-mx, 50%) var(--cgx-my, 0%),
              color-mix(in srgb, var(--brand) 12%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity var(--tap);
}
@media (hover: hover) {
  .cgx-card:hover::before,
  .cgx-price:hover::before { opacity: 1; }
}

/* ---- back to top -------------------------------------------------------------------
   Appears past the hero (cgx-landing.js owns that arithmetic), so this is markup the
   visitor only ever sees on a long scroll.
---------------------------------------------------------------------------------- */
.cgx-totop {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--brand-ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0; transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity var(--tap), transform var(--tap), box-shadow var(--tap);
}
.cgx-totop svg { width: 18px; height: 18px; }
.cgx-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) {
  /* The tile finally wears the ramp when touched — the page's one small
     confirmation that the way back up is working. */
  .cgx-totop:hover {
    background: var(--grad); border-color: transparent; color: #fff;
    box-shadow: var(--shadow-brand); transform: translateY(-2px);
  }
}

/* =============================================================================
   Responsive
   The breakpoints answer in one order: at 1080 the grids give up a column; at
   1000 the links vanish and the toggle answers for them (the sheet already
   carries every destination); at 720 the price shelf stacks; at 620 the page
   tightens its belt; at 420 the wordmark yields its accent word.
============================================================================= */
@media (max-width: 1080px) {
  .cgx-hero__art { max-width: 920px; margin-top: 46px; }
  .cgx-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cgx-steps { grid-template-columns: repeat(2, 1fr); }
  .cgx-split { grid-template-columns: 1fr; gap: 32px; }
  .cgx-footer__inner { grid-template-columns: 1fr 1fr; }
  .cgx-pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

/* The toggle answers for the links wherever the links stop answering. The ghost
   door travels to the sheet at the same width, so the bar is brand, the primary
   door and the menu icon - and nothing can crowd the icon off the screen. */
@media (max-width: 1000px) {
  .cgx-nav__links { display: none; }
  .cgx-nav__inner { gap: .55rem; }
  .cgx-nav__toggle { display: flex; flex: 0 0 auto; }
  .cgx-nav__actions { min-width: 0; }
  .cgx-nav__actions .cgx-btn--ghost { display: none; }
}

/* Blazor keeps the sheet mounted from the last tap, so a phone rotated to
   landscape - or a narrow window dragged wide - would leave the phone menu
   printed under the bar on a desktop. Above the sheet's own breakpoint it does
   not exist. */
@media (min-width: 1001px) {
  .cgx-nav__mobile { display: none; }
}

@media (max-width: 860px) {
  .cgx-grid--3 { grid-template-columns: 1fr; }
  .cgx-compare__head { display: none; }
  .cgx-compare__head, .cgx-compare__row { grid-template-columns: 1fr; gap: 3px; }
  .cgx-compare__row b { margin-bottom: 2px; }
  /* Stacked rows lose their column headings, so the left-hand half names itself. */
  .cgx-compare__row .cgx-them::before { content: "Doing it by hand: "; font-weight: 700; }
}

@media (max-width: 720px) {
  .cgx-pricing { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cgx-price { padding: 26px 20px 22px; }
  .cgx-price--featured { transform: none; }
  .cgx-price--featured:hover { transform: none; }
  .cgx-price__figure { font-size: 2.4rem; }
}

@media (max-width: 620px) {
  .cgx-section { padding: 64px 0; }
  .cgx-hero { padding: 68px 0 64px; }
  .cgx-hero__title { font-size: clamp(1.95rem, 8.2vw, 2.6rem); }
  .cgx-grid--4, .cgx-grid--2, .cgx-steps, .cgx-stats__inner, .cgx-footer__inner { grid-template-columns: 1fr; }
  .cgx-stats__inner { gap: 18px; padding: 42px var(--gutter); }
  .cgx-mock__metrics { grid-template-columns: 1fr 1fr; }
  .cgx-mock__float { position: static; margin-top: 12px; }
  .cgx-hero__cta .cgx-btn, .cgx-cta__actions .cgx-btn { flex: 1 1 auto; }
  /* A brand that cannot shrink is a menu that cannot appear: the wordmark
     ellipses into its own column, the toggle keeps its full 44px. */
  .cgx-nav__inner { gap: .5rem; }
  .cgx-brand { min-width: 0; flex: 0 1 auto; }
  .cgx-brand > span:not(.cgx-brand__accent) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cgx-cta { padding: 56px 0; }
  .cgx-cta__inner { padding: 44px 20px; border-radius: 22px; }
  .cgx-cta__inner h2 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
  .cgx-totop { inset-inline-end: 14px; bottom: 14px; }
  /* Footer rhythm on phones: one close block, not four scattered ones. */
  .cgx-footer__inner { gap: 26px; padding-bottom: 30px; }
  .cgx-footer__bar { padding: 14px 0 6px; }
}

@media (max-width: 420px) {
  /* Below this the accent word is a luxury; the mark and the first word carry
     the brand, the button and the toggle carry the page. */
  .cgx-brand__accent { display: none; }
  .cgx-brand { font-size: 1rem; }
  .cgx-nav__actions .cgx-btn--primary { padding-inline: 14px; }
}

/* =============================================================================
   Reduced motion
   "Less motion" means the ambient animation stops rather than merely shortens -
   and a reveal that never revealed would leave half the page invisible, so the
   initial hidden state is cancelled here as well as in the script.
============================================================================= */
@media (prefers-reduced-motion: reduce) {
  .cgx-landing *, .cgx-landing *::before, .cgx-landing *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .cgx-btn:hover, .cgx-card:hover, .cgx-chips span:hover, .cgx-quote:hover, .cgx-step:hover,
  .cgx-price:hover, .cgx-price--featured, .cgx-price--featured:hover,
  .cgx-contact__card:hover { transform: none; }
  .cgx-btn::after { display: none; }
  /* Ambient loops stop outright: a 1ms infinite animation is a strobe, not a
     rest. Every element below keeps its final, still-painted frame. */
  .cgx-grad-text, .cgx-btn--primary, .cgx-stats::before, .cgx-mock::after,
  .cgx-hero__art::before, .cgx-price--featured, .cgx-price__badge,
  .cgx-hero__bg::before, .cgx-hero__bg::after, .cgx-mock, .cgx-cta__inner::before,
  .cgx-announce::after, .cgx-hero__eyebrow .cgx-dot { animation: none; }
  /* The tilt rides on --cgx-tx/--cgx-ty/--cgx-plx, which only the pointer and
     scroll scripts write — and motionOk() keeps both silent here — so the art
     rests square without a transform override of its own. */
  .cgx-hero__art { transition: none; }
  .cgx-js .cgx-landing [data-cgx-reveal],
  .cgx-js .cgx-landing [data-cgx-stagger] > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
