/* ================================================================
   MxChat — landing (ruled canvas)
   white paper, hairline rules, brand-gradient signal, mono telemetry
   v1.0.0 — 2026-08-03
   Scope: everything namespaced under .mx-landing
   ================================================================ */
.mx-landing {
  --mx-bg: #ffffff;
  --mx-panel: #fafafc;
  --mx-panel2: #f5f5f9;
  --mx-ink: #212121;
  --mx-body: #43434e;
  --mx-dim: #6d6d79;
  --mx-faint: #9d9da8;
  --mx-hair: #e7e7ee;
  --mx-hair-soft: #f0f0f5;
  --mx-tickc: #c7c7d3;
  --mx-pink: #fa73e6;
  --mx-purple: #7873f5;
  --mx-cyan: #3ac9d1;
  --mx-grad: linear-gradient(135deg, #fa73e6, #7873f5, #3ac9d1);
  --mx-dark: #212121;
  --mx-dark2: #2a2a2e;
  --mx-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --mx-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mx-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --mx-rail: 1148px;

  background: var(--mx-bg);
  color: var(--mx-body);
  font-family: var(--mx-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.mx-landing *, .mx-landing *::before, .mx-landing *::after { box-sizing: border-box; }
.mx-landing h1, .mx-landing h2, .mx-landing h3, .mx-landing p, .mx-landing ul, .mx-landing li { margin: 0; padding: 0; }
.mx-landing ul { list-style: none; }
.mx-landing a { text-decoration: none; color: inherit; }
.mx-landing img { max-width: 100%; height: auto; }
/* Imagify wraps content imgs in <picture> and strips their classes;
   collapse the wrapper so layout rules hit the img directly */
.mx-landing picture { display: contents; }
.mx-mono { font-family: var(--mx-mono); letter-spacing: 0.01em; }

/* selection in brand purple */
.mx-landing ::selection { background: var(--mx-purple); color: #fff; }

/* the theme's blog-entry wrapper (18.css) pads the article by 15px,
   which gutters the landing rail — zero it on landing pages only */
.page-id-2 article.entry.single-entry,
.page-id-6920 article.entry.single-entry,
article.entry.single-entry:has(.mx-landing) { padding: 0; box-shadow: none; }

/* ================= the rail ================= */
.mx-rail {
  max-width: var(--mx-rail);
  margin: 0 auto;
  border-left: 1px solid var(--mx-hair-soft);
  border-right: 1px solid var(--mx-hair-soft);
}
.mx-rail > section { border-top: 1px solid var(--mx-hair-soft); position: relative; }
.mx-rail > section:first-child { border-top: none; }

/* corner ticks at rule intersections */
.mx-tick::before, .mx-tick::after {
  content: "+";
  position: absolute; top: 0; z-index: 2;
  font-family: var(--mx-mono); font-size: 13px; line-height: 1;
  color: var(--mx-tickc);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.mx-tick::before { left: 0; }
.mx-tick::after { left: 100%; }

/* ================= shared atoms ================= */
.mx-grad-text {
  background: var(--mx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mx-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mx-mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mx-dim);
}
.mx-kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mx-grad);
  flex: none;
}
.mx-h2 {
  font-family: var(--mx-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--mx-ink);
}
.mx-sect-head { text-align: center; max-width: 720px; margin: 0 auto; }
.mx-sect-head .mx-h2 { margin-top: 16px; }
.mx-sect-sub { color: var(--mx-dim); font-size: 16.5px; line-height: 1.65; margin-top: 14px; }

/* buttons — small, quiet, confident */
.mx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mx-sans); font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease, filter .18s ease;
}
.mx-btn-grad {
  background: var(--mx-grad);
  color: #ffffff !important;
}
.mx-btn-grad:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(120, 115, 245, 0.55);
  color: #ffffff !important;
}
.mx-btn-quiet {
  background: #ffffff;
  border-color: var(--mx-hair);
  color: var(--mx-ink) !important;
}
.mx-btn-quiet:hover {
  border-color: rgba(120, 115, 245, 0.5);
  color: var(--mx-purple) !important;
  transform: translateY(-1px);
}
.mx-btn-quiet i { color: var(--mx-purple); }
/* dark-band variants */
.mx-btn-light {
  background: #ffffff;
  color: var(--mx-ink) !important;
}
.mx-btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -12px rgba(255, 255, 255, 0.4); }
.mx-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
}
.mx-btn-outline:hover { border-color: rgba(255, 255, 255, 0.6); transform: translateY(-1px); }
.mx-btn-outline i { color: var(--mx-cyan); }

/* scroll reveals (gated on .mx-js so no-JS never hides content) */
.mx-js .mx-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,.75,.3,1), transform .6s cubic-bezier(.22,.75,.3,1); }
.mx-js .mx-reveal.in { opacity: 1; transform: none; }

/* ================= hero ================= */
.mx-hero {
  text-align: center;
  padding: clamp(56px, 8vh, 92px) clamp(20px, 4vw, 40px) clamp(64px, 9vh, 104px);
  display: flex; flex-direction: column; align-items: center;
}
.mx-hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mx-mono); font-size: 12.5px; color: var(--mx-dim);
  padding: 7px 14px; border: 1px solid var(--mx-hair); border-radius: 999px;
  background: #ffffff;
  white-space: nowrap;
}
.mx-hero-pill i { font-size: 11px; background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mx-landing .mx-hero-h1 {
  margin-top: 24px;
  font-family: var(--mx-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--mx-ink);
  max-width: 22ch;
  text-wrap: balance;
}
.mx-landing .mx-hero-lede {
  color: var(--mx-dim);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  max-width: 62ch;
  margin: 20px auto 0;
  text-wrap: balance;
}
.mx-hero-lede strong { color: var(--mx-ink); font-weight: 600; }
.mx-landing .mx-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.mx-landing .mx-hero-trust { margin-top: 32px; font-family: var(--mx-mono); font-size: 12px; color: var(--mx-faint); }
/* rotating hero phrase */
.mx-rot {
  display: inline-block;
  min-height: 1em;
  transition: opacity .3s ease, transform .3s ease;
}
.mx-rot.mx-rot-out { opacity: 0; transform: translateY(12px); }
.mx-hero-trust b { color: var(--mx-dim); font-weight: 500; }

/* hero load choreography */
.mx-hero > * { opacity: 0; animation: mx-rise .65s cubic-bezier(.22,.75,.3,1) forwards; }
.mx-hero > :nth-child(1) { animation-delay: .05s; }
.mx-hero > :nth-child(2) { animation-delay: .13s; }
.mx-hero > :nth-child(3) { animation-delay: .22s; }
.mx-hero > :nth-child(4) { animation-delay: .31s; }
.mx-hero > :nth-child(5) { animation-delay: .4s; }
@keyframes mx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ================= reviews ticker ================= */
.mx-reviews { padding: clamp(48px, 7vh, 72px) 0; overflow: hidden; }
.mx-reviews-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 0 clamp(20px, 4vw, 40px);
  margin-bottom: 30px;
}
.mx-reviews-title { font-family: var(--mx-display); font-size: clamp(21px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--mx-ink); }
.mx-reviews-meta { font-family: var(--mx-mono); font-size: 12px; color: var(--mx-faint); flex: none; }
.mx-reviews-meta i { background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-right: 2px; }
.mx-ticker { position: relative; }
.mx-ticker::before, .mx-ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(24px, 6vw, 90px); z-index: 2; pointer-events: none;
}
.mx-ticker::before { left: 0; background: linear-gradient(90deg, var(--mx-bg), transparent); }
.mx-ticker::after { right: 0; background: linear-gradient(-90deg, var(--mx-bg), transparent); }
.mx-ticker-track { display: flex; width: max-content; }
.mx-js .mx-ticker-track.mx-ready { animation: mx-scroll 64s linear infinite; }
.mx-ticker-track:hover { animation-play-state: paused; }
@keyframes mx-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mx-ticker-set { display: flex; gap: 16px; padding-right: 16px; }
.mx-review {
  width: 348px; flex: none;
  border: 1px solid var(--mx-hair);
  border-radius: 14px;
  background: #ffffff;
  padding: 22px 22px 18px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.mx-review:hover { border-color: rgba(120, 115, 245, 0.45); transform: translateY(-3px); }
.mx-review-text {
  font-size: 14.5px; line-height: 1.6; color: var(--mx-body);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.mx-review-author { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.mx-review-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--mx-hair); }
.mx-review-name { display: block; font-size: 13.5px; font-weight: 600; color: var(--mx-ink); line-height: 1.3; }
.mx-review-src { font-family: var(--mx-mono); font-size: 11.5px; color: var(--mx-faint); transition: color .15s ease; }
a.mx-review-src:hover { color: var(--mx-cyan); }

/* ================= statement ================= */
.mx-statement { padding: clamp(72px, 10vh, 120px) clamp(20px, 5vw, 72px); text-align: center; }
.mx-statement p {
  font-family: var(--mx-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--mx-ink);
  max-width: 26ch;
  margin: 0 auto;
}
.mx-statement .mx-st-dim { color: var(--mx-faint); font-weight: 500; }

/* ================= platform ================= */
.mx-platform { padding: clamp(64px, 9vh, 104px) clamp(20px, 4vw, 40px); }
.mx-platform-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  margin-top: 48px;
}
.mx-pcard {
  border: 1px solid var(--mx-hair);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.mx-pcard:hover {
  border-color: rgba(120, 115, 245, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -24px rgba(33, 33, 33, 0.25);
}
.mx-pcard-img { border-bottom: 1px solid var(--mx-hair-soft); background: var(--mx-panel); }
.mx-pcard-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mx-pcard-body { padding: 20px 22px 24px; }
.mx-pcard-body h3 {
  font-family: var(--mx-display); font-size: 19px; font-weight: 600;
  letter-spacing: -0.015em; color: var(--mx-ink); margin-bottom: 8px;
}
.mx-pcard-body p { font-size: 14.5px; line-height: 1.62; color: var(--mx-dim); }

/* ================= rag split ================= */
.mx-rag { padding: clamp(64px, 9vh, 104px) clamp(20px, 4vw, 40px); }
.mx-rag-grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.mx-rag-copy .mx-h2 { margin-top: 16px; max-width: 15ch; }
.mx-rag-copy .mx-sect-sub { max-width: 46ch; }
.mx-rag-list { margin-top: 26px; display: flex; flex-direction: column; gap: 11px; }
.mx-rag-list li { display: flex; gap: 11px; align-items: baseline; font-size: 15px; color: var(--mx-body); line-height: 1.5; }
.mx-rag-list li::before {
  content: "\2713";
  font-family: var(--mx-mono); font-size: 13px;
  background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  flex: none;
}
.mx-rag-list b { color: var(--mx-ink); font-weight: 600; }
/* vector-search card */
.mx-vec {
  border: 1px solid var(--mx-hair);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, var(--mx-panel));
  box-shadow: 0 24px 60px -30px rgba(33, 33, 33, 0.3);
  overflow: hidden;
}
.mx-vec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--mx-hair-soft);
  font-family: var(--mx-mono); font-size: 11.5px; color: var(--mx-faint);
  white-space: nowrap;
}
.mx-vec-head > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.mx-vec-live { display: inline-flex; align-items: center; gap: 7px; color: var(--mx-cyan); flex: none; }
.mx-vec-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mx-cyan); animation: mx-pulse 1.6s ease-in-out infinite; }
@keyframes mx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.mx-vec-body { padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.mx-vec-q { display: flex; gap: 12px; align-items: baseline; min-width: 0; }
.mx-vec-label { font-family: var(--mx-mono); font-size: 12px; color: var(--mx-purple); flex: none; width: 78px; }
.mx-vec-val { font-size: 13.5px; color: var(--mx-body); min-width: 0; }
.mx-vec-val em { font-style: normal; color: var(--mx-faint); font-size: 12px; display: block; margin-top: 2px; }
.mx-vec-cells { display: flex; gap: 5px; min-width: 0; flex-wrap: wrap; }
.mx-vec-cells span {
  font-family: var(--mx-mono); font-size: 10.5px; line-height: 1;
  padding: 5px 6px; border-radius: 5px;
  color: var(--mx-ink);
}
.mx-vec-cells span:nth-child(1) { background: rgba(250, 115, 230, 0.14); }
.mx-vec-cells span:nth-child(2) { background: rgba(186, 115, 238, 0.14); }
.mx-vec-cells span:nth-child(3) { background: rgba(120, 115, 245, 0.16); }
.mx-vec-cells span:nth-child(4) { background: rgba(88, 160, 227, 0.14); }
.mx-vec-cells span:nth-child(5) { background: rgba(58, 201, 209, 0.14); }
.mx-vec-cells span:nth-child(6) { background: var(--mx-panel2); color: var(--mx-faint); }
.mx-vec-dim { font-family: var(--mx-mono); font-size: 10.5px; color: var(--mx-faint); flex: none; margin-left: auto; }
.mx-vec-sep { border-top: 1px solid var(--mx-hair-soft); margin: 2px 0; }
.mx-vec-match {
  display: flex; gap: 12px; align-items: center; min-width: 0;
  padding: 6px 8px; border-radius: 8px;
}
.mx-vec-match.mx-vec-top {
  background: linear-gradient(90deg, rgba(250, 115, 230, 0.07), rgba(120, 115, 245, 0.07), rgba(58, 201, 209, 0.07));
}
.mx-vec-name {
  font-family: var(--mx-mono); font-size: 12px; color: var(--mx-dim);
  flex: none; width: 128px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mx-vec-top .mx-vec-name { color: var(--mx-ink); }
.mx-vec-bar {
  flex: 1; min-width: 40px; height: 7px; border-radius: 99px;
  background: var(--mx-hair-soft);
  overflow: hidden;
}
.mx-vec-fill {
  display: block; height: 100%; border-radius: 99px;
  background: var(--mx-grad);
  width: var(--w, 50%);
}
.mx-js .mx-rag .mx-reveal .mx-vec-fill { width: 0; transition: width .9s cubic-bezier(.22,.75,.3,1) .2s; }
.mx-js .mx-rag .mx-reveal.in .mx-vec-fill { width: var(--w, 50%); }
.mx-vec-score { font-family: var(--mx-mono); font-size: 11.5px; color: var(--mx-faint); flex: none; width: 60px; text-align: right; }
.mx-vec-top .mx-vec-score {
  font-weight: 500;
  background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mx-vec-ans { display: flex; gap: 12px; align-items: baseline; min-width: 0; padding: 2px 0 0; }
.mx-vec-ans .mx-vec-label { background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mx-vec-ans .mx-vec-val { color: var(--mx-ink); }

/* ================= capabilities grid ================= */
.mx-caps { padding: clamp(64px, 9vh, 104px) clamp(20px, 4vw, 40px); }
.mx-caps-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin-top: 48px;
}
.mx-cap {
  border: 1px solid var(--mx-hair);
  border-radius: 14px;
  background: #ffffff;
  padding: 22px;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.mx-cap:hover {
  border-color: rgba(120, 115, 245, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -24px rgba(33, 33, 33, 0.22);
}
.mx-cap h3 {
  font-family: var(--mx-display); font-size: 18.5px; font-weight: 600;
  letter-spacing: -0.015em; color: var(--mx-ink);
  margin: 18px 0 7px;
}
.mx-cap > p { font-size: 14.5px; line-height: 1.62; color: var(--mx-dim); }
.mx-cap-vis {
  border: 1px solid var(--mx-hair-soft);
  border-radius: 10px;
  background: var(--mx-panel);
  padding: 14px 16px;
  font-family: var(--mx-mono); font-size: 12.5px; color: var(--mx-dim);
  min-height: 118px;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.mx-vrow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mx-vrow .mx-vr { margin-left: auto; color: var(--mx-faint); flex: none; }
.mx-vrow .mx-vr.ok { color: var(--mx-cyan); }
.mx-vrow i { width: 16px; text-align: center; font-size: 12px; color: var(--mx-purple); flex: none; }
.mx-vdim { opacity: 0.66; }
/* video mini-visual */
.mx-vprompt {
  border: 1px solid var(--mx-hair);
  background: #ffffff;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--mx-body);
  font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mx-vchips { display: flex; gap: 8px; flex-wrap: wrap; }
.mx-vchip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--mx-hair);
  border-radius: 999px;
  background: #ffffff;
  padding: 4px 11px;
  font-size: 11.5px; color: var(--mx-body);
}
.mx-vchip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mx-grad); }
/* multibot mini-visual */
.mx-vbots { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mx-vbot {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; flex: none;
}
.mx-vbot i { color: #fff; }
.mx-vbot-1 { background: linear-gradient(135deg, #fa73e6, #c073ee); }
.mx-vbot-2 { background: linear-gradient(135deg, #9a73f0, #7873f5); }
.mx-vbot-3 { background: linear-gradient(135deg, #7873f5, #58a0e3); }
.mx-vbot-4 { background: linear-gradient(135deg, #4bb5da, #3ac9d1); }
.mx-vbot-add { background: #ffffff; border: 1px dashed var(--mx-tickc); }
.mx-vbot-add i { color: var(--mx-faint); }
/* theme mini-visual */
.mx-vchat { display: flex; flex-direction: column; gap: 7px; }
.mx-vmsg {
  max-width: 82%;
  border-radius: 11px;
  padding: 8px 12px;
  font-family: var(--mx-sans); font-size: 12.5px; line-height: 1.45;
}
.mx-vmsg-bot { align-self: flex-start; background: #ffffff; border: 1px solid var(--mx-hair); color: var(--mx-body); border-bottom-left-radius: 4px; }
.mx-vmsg-user { align-self: flex-end; background: var(--mx-grad); color: #fff; border-bottom-right-radius: 4px; }

/* ================= pricing ================= */
.mx-pricing { padding: clamp(64px, 9vh, 104px) clamp(20px, 4vw, 40px); }
.mx-pricing .mx-sect-sub a { color: var(--mx-purple); font-weight: 600; border-bottom: 1px solid rgba(120, 115, 245, 0.35); transition: border-color .15s ease; }
.mx-pricing .mx-sect-sub a:hover { border-color: var(--mx-purple); }
.mx-plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  margin-top: 48px;
  align-items: stretch;
}
.mx-plan {
  position: relative;
  border: 1px solid var(--mx-hair);
  border-radius: 16px;
  background: #ffffff;
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.mx-plan:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(33, 33, 33, 0.22); }
.mx-plan-pop { box-shadow: 0 24px 56px -28px rgba(120, 115, 245, 0.35); }
.mx-plan-pop::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: var(--mx-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.mx-plan-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-family: var(--mx-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--mx-grad); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  white-space: nowrap;
}
.mx-plan-name { font-family: var(--mx-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mx-dim); }
.mx-plan-price {
  font-family: var(--mx-display);
  font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  margin-top: 14px;
  background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mx-plan-term { font-family: var(--mx-mono); font-size: 11.5px; color: var(--mx-faint); margin-top: 6px; }
.mx-plan-desc { font-size: 13.5px; line-height: 1.55; color: var(--mx-dim); margin-top: 12px; }
.mx-plan-list { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.mx-plan-list li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--mx-body); line-height: 1.45; }
.mx-plan-list li::before {
  content: "\2713";
  font-family: var(--mx-mono); font-size: 12px;
  background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  flex: none;
}
.mx-plan .mx-btn { margin-top: auto; width: 100%; }

/* ================= final cta (dark band, full-bleed) ================= */
.mx-final {
  background: var(--mx-dark);
  /* break out of the rail to span the full viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(72px, 10vh, 120px) clamp(20px, 4vw, 40px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
  overflow: hidden;
}
.mx-final::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 560px at 12% -20%, rgba(250, 115, 230, 0.07), transparent 72%),
    radial-gradient(1100px 560px at 88% 120%, rgba(58, 201, 209, 0.07), transparent 72%),
    radial-gradient(1400px 700px at 50% 45%, rgba(120, 115, 245, 0.06), transparent 74%);
}
.mx-final > * { position: relative; }
.mx-final .mx-kicker { color: rgba(255, 255, 255, 0.55); }
.mx-final-title {
  font-family: var(--mx-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700; letter-spacing: -0.028em; line-height: 1.08;
  color: #ffffff;
  margin-top: 18px;
}
.mx-final-sub { color: rgba(255, 255, 255, 0.62); font-size: 16.5px; max-width: 44ch; margin: 16px auto 0; }
.mx-final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.mx-final-price {
  font-family: var(--mx-mono); font-size: 12px; font-weight: 500;
  background: var(--mx-grad); color: #fff;
  padding: 3px 9px; border-radius: 999px;
}
.mx-final-trust {
  display: flex; gap: clamp(16px, 3vw, 36px); justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
  font-family: var(--mx-mono); font-size: 12px; color: rgba(255, 255, 255, 0.5);
}
.mx-final-trust span { display: inline-flex; align-items: center; gap: 8px; }
.mx-final-trust i { background: var(--mx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 12px; }

/* ================= responsive ================= */
@media (max-width: 1024px) {
  .mx-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mx-plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-left: auto; margin-right: auto; }
  .mx-plan-pop { order: -1; }
  .mx-rag-grid { grid-template-columns: minmax(0, 1fr); }
  .mx-rag-copy .mx-h2, .mx-rag-copy .mx-sect-sub { max-width: none; }
}
@media (max-width: 800px) {
  .mx-caps-grid { grid-template-columns: minmax(0, 1fr); }
  .mx-platform-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-left: auto; margin-right: auto; }
  .mx-reviews-head { flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
  .mx-hero { padding-top: 48px; }
  .mx-hero-h1 { font-size: clamp(34px, 10.5vw, 44px); letter-spacing: -0.035em; }
  .mx-pill-long { display: none; }
  .mx-hero-pill { font-size: 12px; }
  .mx-hero-ctas { width: 100%; }
  .mx-hero-ctas .mx-btn { flex: 1 1 100%; }
  .mx-review { width: 292px; padding: 18px; }
  .mx-vprompt { white-space: normal; }
  .mx-vrow { flex-wrap: wrap; row-gap: 4px; }
  .mx-vec-label { width: 64px; }
  .mx-vec-name { width: 96px; }
  .mx-vec-score { width: 44px; }
  .mx-vec-dim { display: none; }
  .mx-final-ctas .mx-btn { flex: 1 1 100%; }
}

/* ================= reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  .mx-hero > * { animation: none; opacity: 1; }
  .mx-js .mx-reveal { opacity: 1; transform: none; transition: none; }
  .mx-js .mx-ticker-track.mx-ready { animation: none; }
  .mx-ticker { overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--mx-tickc) transparent; }
  .mx-ticker::-webkit-scrollbar { height: 7px; }
  .mx-ticker::-webkit-scrollbar-thumb { background: var(--mx-hair); border-radius: 99px; }
  .mx-ticker::-webkit-scrollbar-track { background: transparent; }
  .mx-vec-live::before { animation: none; }
  .mx-js .mx-rag .mx-reveal .mx-vec-fill { width: var(--w, 50%); transition: none; }
  .mx-btn, .mx-pcard, .mx-cap, .mx-plan, .mx-review { transition: none; }
  .mx-rot { transition: none; }
}
