/* ===== CAD services page =====
   Loaded after /styles.css on other-services/cad-services.html only.
   Follows the home page's visual language: navy console bands, fine grid lines, mono labels and figures. */

:root {
  --cx-ink: #0b1224;
  --cx-ink-2: #111a30;
  --cx-line: #d9e0e8;
  --cx-body: #334155;
  --cx-r: 14px;
  --cx-sec: 4.5rem;
  --cx-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --cx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Shared focus ring: visible on light and dark bands */
.cx-hero a:focus-visible,
.cx-sec a:focus-visible,
.cx-end a:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Blueprint grid behind the dark bands */
.cx-hero::before,
.cx-dark::before,
.cx-end::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Hero ---------- */
.cx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(55% 80% at 88% -10%, rgba(37, 99, 235, 0.42) 0%, transparent 62%),
    radial-gradient(42% 60% at -5% 105%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
    var(--cx-ink);
}
.cx-hero::before {
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.container.cx-hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  padding-top: calc(90px + 2.5rem);
  padding-bottom: 4rem;
}
.cx-crumb {
  margin-bottom: 1.6rem;
  color: #94a3b8;
  font: 600 0.74rem/1 var(--cx-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cx-crumb a {
  color: #93c5fd;
}
.cx-hero__h1 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.cx-hl {
  background: linear-gradient(120deg, #bfdbfe 0%, #60a5fa 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cx-hero__sub {
  margin: 0 0 1.1rem;
  color: #e2e8f0;
  font: 600 clamp(1.15rem, 1.6vw, 1.4rem)/1.3 var(--font-heading);
}
.cx-hero__lead {
  max-width: 33rem;
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.65;
}
.cx-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 1.9rem 0 1.4rem;
}
.cx-tel {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.02rem;
}
.cx-tel a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.6);
  text-underline-offset: 3px;
  white-space: nowrap;
}
.cx-tel a:hover {
  text-decoration-color: #fff;
}
.cx-hero__how {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #93c5fd;
  font: 600 0.78rem/1 var(--cx-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cx-hero__how svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--cx-ease);
}
.cx-hero__how:hover {
  color: #fff;
}
.cx-hero__how:hover svg {
  transform: translateY(2px);
}

/* Console frame: CAD viewport beside the fitted part */
.cx-frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, 0.9);
}
.cx-frame::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -26px;
  height: 70px;
  z-index: -1;
  background: radial-gradient(closest-side, #60a5fa, transparent);
  opacity: 0.3;
  filter: blur(22px);
}
.cx-frame__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}
.cx-pane {
  position: relative;
  overflow: hidden;
  min-width: 0;
}
/* CAD side: a light viewport with a fine grid; the render's white ground drops out with multiply */
.cx-pane--cad {
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #f1f5f9 0%, #d5dde7 100%);
  background-size: 24px 24px, 24px 24px, auto;
}
.cx-pane--cad img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}
.cx-pane--part {
  background: var(--cx-ink);
}
.cx-pane--part img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 60%;
  transform: scale(1.7);
  transform-origin: 46% 60%;
  filter: grayscale(1) contrast(1.12) brightness(0.92);
}
.cx-pane--part::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 36, 0.25), transparent 30%, transparent 70%, rgba(11, 18, 36, 0.55));
}
.cx-pane__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.6rem;
  border-radius: 6px;
  background: rgba(11, 18, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font: 600 0.68rem/1 var(--cx-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cx-pane__tag b {
  color: #60a5fa;
}
.cx-frame__hud {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}
.cx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(11, 18, 36, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font: 600 0.68rem/1 var(--cx-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cx-pill i {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f472b6;
  box-shadow: 0 0 8px #f472b6;
}
.cx-pill--soft {
  background: rgba(255, 255, 255, 0.05);
}
.cx-frame__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.9rem 0.45rem 0.35rem 0.4rem;
}
.cx-frame__cap a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #fff;
}
.cx-frame__cap b {
  font: 700 1rem/1.25 var(--font-heading);
}
.cx-frame__cap a span {
  color: #93c5fd;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cx-frame__cap a:hover span {
  color: #fff;
}

/* ---------- Sections and headers ---------- */
.cx-sec {
  position: relative;
  isolation: isolate;
  padding: var(--cx-sec) 0;
}
.cx-dark {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(45% 70% at 100% 0%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
    var(--cx-ink);
}
.cx-hd {
  margin: 0 0 2.25rem;
}
.cx-hd__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
  font: 600 0.76rem/1 var(--cx-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cx-hd__label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}
.cx-hd h2 {
  max-width: 46rem;
  margin: 0;
  color: var(--cx-ink);
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.cx-hd--dark .cx-hd__label {
  color: #93c5fd;
}
.cx-hd--dark h2 {
  color: #fff;
}
.cx-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.cx-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--cx-ease);
}
.cx-more:hover svg {
  transform: translateX(3px);
}
.cx-more--light {
  color: #fff;
}

/* ---------- Services ---------- */
.cx-svc__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cx-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--cx-r);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cx-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px -18px rgba(15, 23, 42, 0.25);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cx-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 34px -22px rgba(30, 64, 175, 0.4);
}
.cx-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cx-ink);
}
.cx-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: transform 0.6s var(--cx-ease), filter 0.4s;
}
.cx-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(147, 197, 253, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 18, 36, 0) 55%, rgba(11, 18, 36, 0.55));
  background-size: 28px 28px, 28px 28px, auto;
}
.cx-card:hover .cx-card__img img {
  transform: scale(1.04);
  filter: grayscale(0.35) contrast(1.05);
}
.cx-card:nth-child(2) .cx-card__img img {
  object-position: 50% 62%;
}
.cx-card__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 0.32rem 0.55rem;
  border-radius: 5px;
  background: rgba(11, 18, 36, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font: 600 0.7rem/1.2 var(--cx-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cx-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.4rem;
}
.cx-card__body h3 {
  margin: 0 0 0.5rem;
  color: var(--cx-ink);
  font-size: 1.25rem;
}
.cx-card__body p {
  margin: 0 0 1.1rem;
  color: var(--cx-body);
  font-size: 0.97rem;
  line-height: 1.6;
}
.cx-card__body .cx-more {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
}

/* ---------- Scope and pricing ---------- */
.cx-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border-radius: var(--cx-r);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}
.cx-panel__col {
  padding: 1.75rem 1.9rem 1.9rem;
}
.cx-panel__col + .cx-panel__col {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.cx-panel__h {
  margin: 0 0 0.4rem;
  color: #93c5fd;
  font: 600 0.76rem/1.3 var(--cx-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cx-panel__h--gap {
  margin-top: 1.9rem;
}
.cx-inputs {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cx-inputs li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  font: 600 1.15rem/1.35 var(--font-heading);
}
.cx-inputs li:last-child {
  border-bottom: 0;
}
.cx-inputs span {
  color: #60a5fa;
  font: 600 0.8rem/1 var(--cx-mono);
}
.cx-rows {
  margin: 0;
}
.cx-rows div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.cx-rows div:last-child {
  border-bottom: 0;
}
.cx-rows dt {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.4;
}
.cx-rows dd {
  flex: none;
  margin: 0;
  color: #fff;
  font: 700 1.05rem/1.2 var(--cx-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ---------- Process ---------- */
.cx-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.cx-step {
  position: relative;
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: var(--cx-r);
  background: #fff;
  border: 1px solid var(--cx-line);
}
.cx-step::after {
  content: "";
  position: absolute;
  top: 2.05rem;
  right: -1rem;
  width: 1rem;
  height: 1px;
  background: #93c5fd;
}
.cx-step:last-child::after {
  display: none;
}
.cx-step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--color-primary-dark);
  font: 700 0.76rem/1 var(--cx-mono);
}
.cx-step h3 {
  margin: 0 0 0.45rem;
  color: var(--cx-ink);
  font-size: 1.12rem;
  line-height: 1.3;
}
.cx-step p {
  margin: 0;
  color: var(--cx-body);
  font-size: 0.95rem;
  line-height: 1.55;
}
.cx-step .cx-step__note {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.cx-step__note a,
.cx-terms a {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Case study bento ---------- */
.cx-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(16rem, auto);
  gap: 1rem;
}
.cx-bx {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  border-radius: var(--cx-r);
  overflow: hidden;
  background: var(--cx-ink-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cx-bx--feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 32rem;
}
.cx-bx img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.04);
}
.cx-bx--feature img {
  object-position: 50% 30%;
}
.cx-bx--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(11, 18, 36, 0.05) 0%, rgba(11, 18, 36, 0.5) 45%, rgba(11, 18, 36, 0.95) 100%);
}
.cx-bx::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(147, 197, 253, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cx-bx--out,
.cx-bx--spec {
  align-items: stretch;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.cx-bx__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  padding: 1.3rem 1.4rem 1.4rem;
}
.cx-bx--feature .cx-bx__body {
  padding: 2rem 2.1rem 2.1rem;
}
.cx-bx__eye {
  color: #93c5fd;
  font: 600 0.76rem/1.2 var(--cx-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cx-bx__fig {
  color: #fff;
  font: 800 clamp(2.1rem, 3.8vw, 3.2rem)/1.05 var(--font-heading);
  letter-spacing: -0.015em;
}
.cx-bx__line {
  max-width: 36rem;
  margin: 0;
  color: #e2e8f0;
  font-size: 0.97rem;
  line-height: 1.55;
}
.cx-bx--feature .cx-bx__line {
  font-size: 1.08rem;
}
.cx-bx--spec .cx-bx__line {
  color: #fff;
  font: 600 1.2rem/1.4 var(--font-heading);
}
.cx-bx__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: auto 0 0;
  padding: 1rem 0 0;
  list-style: none;
}
.cx-bx__chips li {
  padding: 0.34rem 0.55rem;
  border-radius: 5px;
  background: rgba(11, 18, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font: 600 0.74rem/1.2 var(--cx-mono);
}
.cx-out {
  margin: 0.35rem 0 1.2rem;
  padding: 0;
  list-style: none;
}
.cx-out li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  font: 600 1.05rem/1.35 var(--font-heading);
}
.cx-out li::before {
  content: "";
  width: 12px;
  height: 7px;
  margin-top: 0.35em;
  border-left: 2px solid #34d399;
  border-bottom: 2px solid #34d399;
  transform: rotate(-45deg);
}
.cx-bx--out .cx-more {
  margin-top: auto;
}

/* ---------- Deliverables ---------- */
.cx-fmt {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-r);
  background: #fff;
  overflow: hidden;
}
.cx-fmt__cell {
  padding: 1.4rem 1.4rem 1.5rem;
}
.cx-fmt__cell + .cx-fmt__cell {
  border-left: 1px solid var(--cx-line);
}
.cx-fmt__cell h3 {
  margin: 0 0 0.85rem;
  color: var(--color-text-light);
  font: 600 0.74rem/1.3 var(--cx-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cx-fmt__cell .cx-fmt__val {
  margin: 0 0 0.5rem;
  color: var(--cx-ink);
  font: 700 1.02rem/1.4 var(--cx-mono);
}
.cx-fmt__cell p {
  margin: 0;
  color: var(--cx-body);
  font-size: 0.92rem;
  line-height: 1.5;
}
.cx-terms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.cx-terms li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.2rem 0.8rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--cx-r);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.cx-terms svg {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbeafe;
  color: var(--color-primary);
}
.cx-terms span {
  color: var(--cx-body);
  font-size: 0.92rem;
  line-height: 1.5;
}
.cx-terms b {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--cx-ink);
  font: 700 1rem/1.3 var(--font-heading);
}

/* ---------- FAQ ---------- */
.cx-faq {
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
}
.cx-faq__grid {
  column-gap: 3rem;
  row-gap: 0;
  border-top: 1px solid var(--cx-line);
}
.cx-faq .faq-item {
  padding: 1.35rem 0;
  border: 0;
  border-bottom: 1px solid var(--cx-line);
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.cx-faq .faq-item__question {
  margin-bottom: 0.45rem;
  color: var(--cx-ink);
  font-size: 1.08rem;
}
.cx-faq .faq-item__answer {
  margin: 0;
  color: var(--cx-body);
  font-size: 0.97rem;
  line-height: 1.6;
}
.cx-faq .faq-item__answer a {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cx-faq .faq-item__answer strong {
  color: var(--cx-ink);
}

/* ---------- Closing band ---------- */
.cx-end {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 140% at 100% 50%, rgba(37, 99, 235, 0.45) 0%, transparent 65%),
    radial-gradient(40% 120% at 0% 100%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
    #0e1a3a;
}
.container.cx-end__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.cx-end h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  letter-spacing: -0.02em;
}
.cx-end p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.05rem;
}
.cx-end__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container.cx-hero__wrap {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(80px + 2rem);
    padding-bottom: 3rem;
  }
  .cx-frame {
    max-width: 640px;
  }
  .cx-svc__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cx-steps,
  .cx-terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cx-step::after {
    display: none;
  }
  .cx-fmt {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cx-fmt__cell:nth-child(3) {
    border-left: 0;
  }
  .cx-fmt__cell:nth-child(n + 3) {
    border-top: 1px solid var(--cx-line);
  }
  .cx-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cx-bx--feature {
    grid-row: auto;
    min-height: 26rem;
  }
}
@media (max-width: 760px) {
  :root {
    --cx-sec: 3.25rem;
  }
  .cx-svc__grid,
  .cx-steps,
  .cx-terms,
  .cx-bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .cx-bx--feature {
    grid-column: auto;
    min-height: 24rem;
  }
  .cx-bx--feature .cx-bx__body {
    padding: 1.4rem;
  }
  .cx-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .cx-panel__col {
    padding: 1.4rem 1.25rem;
  }
  .cx-panel__col + .cx-panel__col {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .cx-rows div {
    flex-direction: column;
    gap: 0.25rem;
  }
  .cx-rows dd {
    text-align: left;
  }
  .cx-fmt {
    grid-template-columns: minmax(0, 1fr);
  }
  .cx-fmt__cell + .cx-fmt__cell {
    border-left: 0;
    border-top: 1px solid var(--cx-line);
  }
  .cx-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cx-frame__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 4 / 5;
  }
  .cx-pane--cad img {
    width: auto;
    height: 92%;
    top: 50%;
  }
  /* Too narrow for the spec pills over the panes; the caption keeps one */
  .cx-frame__hud {
    display: none;
  }
  .cx-pane--part img {
    object-position: 45% 62%;
    transform: scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cx-card__img img,
  .cx-more svg,
  .cx-hero__how svg {
    transition: none;
  }
}
