/* ==========================================================================
   xmido · AI-native operations platform
   Deep blue / kinetic / alive
   ========================================================================== */

:root {
  --bg: #030815;
  --bg-2: #040c1c;
  --bg-3: #061226;
  --panel: #07182f;
  --panel-2: #0a2140;
  --ice: #eaf2ff;
  --muted: #8da6c8;
  --muted-2: rgba(234, 242, 255, 0.48);
  --line: rgba(142, 190, 255, 0.16);
  --line-strong: rgba(142, 190, 255, 0.32);
  --blue: #2f7bff;
  --cyan: #55e6ff;
  --lime: #a8ff6a;
  --sans: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --display: "Bahnschrift", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --shell: 1320px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --header: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ice);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.xm-menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--cyan);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.xm-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--ice);
  color: var(--bg);
  font-size: 12px;
  transform: translateY(-200%);
  transition: transform 0.25s var(--ease);
}

.xm-skip:focus {
  transform: none;
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.xm-grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url("../img/noise.svg");
  background-size: 180px 180px;
  opacity: 0.045;
  mix-blend-mode: screen;
}

.xm-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- cursor ---------- */
.xm-cursor {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.xm-cursor.is-ready {
  opacity: 1;
}

.xm-cursor-ring,
.xm-cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.xm-cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(85, 230, 255, 0.7);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background 0.35s, border-color 0.35s;
}

.xm-cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(85, 230, 255, 0.8);
}

.xm-cursor.is-hover .xm-cursor-ring {
  width: 54px;
  height: 54px;
  background: rgba(85, 230, 255, 0.08);
  border-color: rgba(85, 230, 255, 0.36);
}

.xm-cursor.is-hover .xm-cursor-dot {
  width: 3px;
  height: 3px;
}

@media (hover: none), (pointer: coarse) {
  .xm-cursor {
    display: none;
  }
}

html.xm-cursor-active,
html.xm-cursor-active body,
html.xm-cursor-active a,
html.xm-cursor-active button {
  cursor: none;
}

/* ---------- shared type ---------- */
.xm-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}

.xm-label span {
  color: var(--cyan);
}

.xm-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.xm-display {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.xm-accent {
  background: linear-gradient(100deg, var(--cyan) 0%, #7bb7ff 52%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xm-lede {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.9;
  color: rgba(234, 242, 255, 0.78);
}

.xm-section {
  position: relative;
  padding-block: clamp(88px, 10vw, 148px);
}

.xm-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(46px, 6vw, 78px);
}

.xm-section-note {
  max-width: 290px;
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
  color: var(--muted);
}

.xm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ice);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.3s, border-color 0.3s, gap 0.35s var(--ease);
}

.xm-text-link svg {
  width: 14px;
  height: 14px;
}

.xm-text-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  gap: 17px;
}

/* ---------- buttons ---------- */
.xm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(6, 18, 38, 0.5);
  color: var(--ice);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.35s var(--ease), border-color 0.35s,
    color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
  will-change: transform;
}

.xm-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.xm-btn:hover {
  background: rgba(85, 230, 255, 0.08);
  border-color: rgba(85, 230, 255, 0.6);
  color: var(--cyan);
}

.xm-btn:hover svg {
  transform: translate(3px, -3px);
}

.xm-btn--primary {
  border-color: transparent;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  color: #021022;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(85, 230, 255, 0.1),
    0 16px 42px rgba(47, 123, 255, 0.3);
}

.xm-btn--primary:hover {
  background: linear-gradient(100deg, #8ef3ff, #5c9cff);
  border-color: transparent;
  color: #021022;
  box-shadow: 0 0 0 1px rgba(85, 230, 255, 0.24),
    0 20px 52px rgba(47, 123, 255, 0.42);
}

.xm-btn--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 10px;
}

/* ---------- reveal ---------- */
.js .xm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .xm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- header ---------- */
.xm-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s;
}

.xm-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3, 8, 21, 0.58);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s;
}

.xm-header.is-scrolled {
  border-bottom-color: var(--line);
}

.xm-header.is-scrolled::before {
  opacity: 1;
}

.xm-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.xm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.xm-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.xm-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.xm-word {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--ice);
}

.xm-word-dot {
  color: var(--cyan);
}

.xm-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.xm-nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(234, 242, 255, 0.6);
  transition: color 0.3s;
}

.xm-nav a span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0;
  color: var(--cyan);
  opacity: 0.7;
}

.xm-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.xm-nav a:hover,
.xm-nav a.is-active {
  color: var(--ice);
}

.xm-nav a:hover::after,
.xm-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.xm-header-side {
  display: flex;
  align-items: center;
  gap: 18px;
}

.xm-system {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(234, 242, 255, 0.42);
  white-space: nowrap;
}

.xm-system i,
.xm-live-dot,
.xm-core-live i,
.xm-footer-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(168, 255, 106, 0.5);
  animation: livePulse 2.4s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 255, 106, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(168, 255, 106, 0);
  }
}

.xm-menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
}

.xm-menu-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: var(--ice);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.xm-menu-toggle span:nth-child(1) {
  top: 18px;
}

.xm-menu-toggle span:nth-child(2) {
  top: 25px;
}

.xm-menu-open .xm-menu-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.xm-menu-open .xm-menu-toggle span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- mobile menu ---------- */
.xm-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header) + 28px) var(--gutter) 32px;
  background: #030815;
  background-image: radial-gradient(ellipse at 80% 0%, rgba(47, 123, 255, 0.24), transparent 54%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease),
    visibility 0s linear 0.5s;
  overflow-y: auto;
}

.xm-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease),
    visibility 0s;
}

.xm-mobile:focus {
  outline: none;
}

.xm-mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.xm-mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.xm-mobile-nav a span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--cyan);
}

.xm-mobile-nav a svg {
  width: 18px;
  height: 18px;
  margin-left: auto;
  opacity: 0.4;
}

.xm-mobile-foot {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.xm-mobile-foot .xm-btn {
  width: 100%;
}

.xm-mobile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

/* ---------- hero ---------- */
.xm-hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header) + 50px) 0 26px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 70% 36%, rgba(26, 71, 160, 0.42), transparent 68%),
    radial-gradient(ellipse 60% 50% at 12% 72%, rgba(10, 38, 90, 0.35), transparent 64%),
    var(--bg);
}

#pulse-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
}

.xm-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(120, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 94px 94px;
  -webkit-mask-image: radial-gradient(circle at 64% 42%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 64% 42%, #000, transparent 70%);
  opacity: 0.72;
}

.xm-glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.xm-glow--one {
  top: 8%;
  right: 4%;
  width: 44vw;
  height: 44vw;
  background: rgba(47, 123, 255, 0.15);
}

.xm-glow--two {
  left: -12%;
  bottom: -22%;
  width: 42vw;
  height: 42vw;
  background: rgba(85, 230, 255, 0.07);
}

.xm-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  flex: 1;
  padding-top: clamp(20px, 4vh, 50px);
}

.xm-hero-copy {
  max-width: 690px;
}

.xm-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 4vh, 38px);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.5);
}

.xm-live-dot {
  flex: 0 0 auto;
}

.xm-hero-title {
  font-family: var(--display);
  font-size: clamp(3.9rem, 8.2vw, 8.2rem);
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.06em;
  color: var(--ice);
}

.xm-title-line {
  display: block;
  white-space: nowrap;
  animation: heroRise 1.1s var(--ease) both;
}

.xm-title-line:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.xm-title-line .xm-accent,
.xm-title-line.xm-accent {
  background: linear-gradient(100deg, #8ef3ff 0%, #55e6ff 30%, #6ca4ff 72%, #2f7bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xm-title-dot {
  -webkit-text-fill-color: var(--cyan);
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(85, 230, 255, 0.55);
}

.xm-hero-lede {
  max-width: 550px;
  margin-top: clamp(24px, 4vh, 34px);
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.95;
  color: rgba(234, 242, 255, 0.64);
  animation: heroRise 1.1s var(--ease) 0.18s both;
}

.xm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: clamp(26px, 4vh, 38px);
  animation: heroRise 1.1s var(--ease) 0.26s both;
}

.xm-hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: rgba(234, 242, 255, 0.3);
}

.xm-hero-note-line {
  width: 30px;
  height: 1px;
  background: var(--line-strong);
}

.xm-hero-visual {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
  justify-self: end;
  transform-style: preserve-3d;
  will-change: transform;
}

.xm-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(120, 180, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.xm-orbit--outer {
  width: 94%;
  height: 94%;
  border-style: dashed;
  animation: spin 42s linear infinite;
}

.xm-orbit--mid {
  width: 70%;
  height: 70%;
  border-color: rgba(85, 230, 255, 0.2);
  animation: spinReverse 26s linear infinite;
}

.xm-orbit--inner {
  width: 48%;
  height: 48%;
  border-color: rgba(234, 242, 255, 0.12);
  animation: spin 18s linear infinite;
}

.xm-orbit-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(85, 230, 255, 0.9);
}

.xm-orbit-node--a {
  top: 7%;
  left: 27%;
}

.xm-orbit-node--b {
  right: 4%;
  top: 47%;
  width: 4px;
  height: 4px;
  background: var(--ice);
}

.xm-orbit-node--c {
  bottom: 10%;
  right: 24%;
  background: var(--blue);
}

.xm-orbit-node--d {
  bottom: 4%;
  left: 35%;
  width: 4px;
  height: 4px;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinReverse {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.xm-core-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 230, 255, 0.16), transparent 68%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  animation: haloBreath 5s ease-in-out infinite alternate;
}

@keyframes haloBreath {
  from {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.xm-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  padding: 18px 20px 16px;
  border: 1px solid rgba(142, 190, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(12, 32, 63, 0.92), rgba(4, 12, 27, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(85, 230, 255, 0.04) inset;
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: coreFloat 7s ease-in-out infinite alternate;
}

@keyframes coreFloat {
  from {
    transform: translate(-50%, -51%) rotate(-0.6deg);
  }
  to {
    transform: translate(-50%, -49%) rotate(0.6deg);
  }
}

.xm-core::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(85, 230, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.xm-core-top,
.xm-core-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: rgba(234, 242, 255, 0.38);
}

.xm-core-top {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(142, 190, 255, 0.12);
}

.xm-core-brand,
.xm-core-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.xm-core-brand i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.xm-core-live {
  color: rgba(234, 242, 255, 0.52);
}

.xm-core-live i {
  width: 4px;
  height: 4px;
  background: var(--cyan);
}

.xm-core-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 4px;
}

.xm-core-head small {
  display: block;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.16em;
  color: rgba(234, 242, 255, 0.38);
}

.xm-core-head strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.xm-core-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(168, 255, 106, 0.28);
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 6px;
  color: var(--lime);
  background: rgba(168, 255, 106, 0.06);
}

.xm-wave {
  height: 82px;
  margin: 8px -4px 10px;
}

.xm-wave svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.xm-wave-grid {
  opacity: 0.8;
}

.xm-wave-soft {
  fill: none;
  stroke: rgba(85, 230, 255, 0.18);
  stroke-width: 7;
  filter: blur(5px);
}

.xm-wave-line {
  fill: none;
  stroke: url(#wave-grad);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: waveDraw 4.4s var(--ease) infinite;
}

@keyframes waveDraw {
  0% {
    stroke-dashoffset: 1200;
    opacity: 0.4;
  }
  48% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  70% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1200;
    opacity: 0.4;
  }
}

.xm-wave-dot {
  fill: var(--ice);
  filter: drop-shadow(0 0 5px var(--cyan));
}

.xm-core-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(142, 190, 255, 0.12);
  border-top: 1px solid rgba(142, 190, 255, 0.12);
  border-bottom: 1px solid rgba(142, 190, 255, 0.12);
}

.xm-core-stats > div {
  padding: 8px 6px 9px;
  background: rgba(5, 16, 34, 0.5);
}

.xm-core-stats small {
  display: block;
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: 0.12em;
  color: rgba(234, 242, 255, 0.35);
}

.xm-core-stats strong {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.xm-core-stats em {
  margin-left: 2px;
  font-family: var(--sans);
  font-size: 6px;
  font-style: normal;
  color: var(--cyan);
}

.xm-core-foot {
  padding-top: 10px;
}

.xm-core-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.xm-core-foot i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.xm-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(142, 190, 255, 0.22);
  border-radius: 4px;
  background: rgba(5, 16, 34, 0.8);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: rgba(234, 242, 255, 0.6);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  animation: chipFloat 6s ease-in-out infinite alternate;
}

.xm-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.xm-chip--one {
  top: 15%;
  left: -2%;
}

.xm-chip--two {
  top: 34%;
  right: -3%;
  animation-delay: -2s;
}

.xm-chip--three {
  bottom: 15%;
  left: 2%;
  animation-delay: -4s;
}

@keyframes chipFloat {
  from {
    transform: translateY(-5px);
  }
  to {
    transform: translateY(7px);
  }
}

.xm-hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.32);
}

.xm-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.xm-scroll i {
  position: relative;
  width: 1px;
  height: 26px;
  background: rgba(234, 242, 255, 0.16);
  overflow: hidden;
}

.xm-scroll i::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 1px;
  height: 60%;
  background: var(--cyan);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  to {
    transform: translateY(320%);
  }
}

.xm-hero-foot-meta span {
  color: var(--cyan);
}

.xm-hero-version {
  color: rgba(85, 230, 255, 0.6);
}

/* ---------- ticker ---------- */
.xm-ticker {
  position: relative;
  overflow: hidden;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #040b19;
}

.xm-ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.xm-ticker:hover .xm-ticker-track {
  animation-play-state: paused;
}

.xm-ticker span {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: rgba(234, 242, 255, 0.32);
  white-space: nowrap;
}

.xm-ticker span:nth-child(even) {
  color: var(--cyan);
  opacity: 0.55;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- manifesto ---------- */
.xm-manifesto {
  background: radial-gradient(ellipse 50% 40% at 78% 18%, rgba(26, 71, 160, 0.18), transparent 66%),
    var(--bg);
}

.xm-manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(38px, 8vw, 120px);
  align-items: start;
}

.xm-manifesto .xm-display {
  font-size: clamp(2.75rem, 5.6vw, 5.4rem);
}

.xm-manifesto-side {
  padding-top: 8px;
}

.xm-manifesto-side p + p {
  margin-top: 18px;
}

.xm-manifesto-side > p:not(.xm-lede) {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.xm-mini-pulse {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.xm-mini-pulse svg {
  width: 150px;
  height: 36px;
  flex: 0 0 auto;
}

.xm-mini-pulse span {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: rgba(234, 242, 255, 0.34);
}

.xm-manifesto-side .xm-text-link {
  margin-top: 28px;
}

.xm-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(50px, 7vw, 82px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.xm-principles > div {
  padding: 24px 28px 26px 0;
  background: var(--bg);
}

.xm-principles > div + div {
  padding-left: 28px;
}

.xm-principles span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--cyan);
}

.xm-principles strong {
  display: block;
  margin-top: 16px;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.xm-principles p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- pulse ---------- */
.xm-pulse {
  background: #020712;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.xm-pulse-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.xm-pulse-copy .xm-display {
  margin-top: 28px;
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
}

.xm-pulse-copy > p:not(.xm-label) {
  max-width: 460px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
}

.xm-pulse-copy .xm-text-link {
  margin-top: 30px;
}

.xm-pulse-stage {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  justify-self: end;
}

.xm-pulse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(85, 230, 255, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(47, 123, 255, 0.22), rgba(3, 8, 21, 0.7) 68%);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), border-color 0.35s;
  z-index: 2;
}

.xm-pulse-core:hover {
  border-color: rgba(85, 230, 255, 0.6);
  transform: translate(-50%, -50%) scale(1.025);
}

.xm-pulse-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(85, 230, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.xm-pulse-ring--1 {
  animation: ringPulse 4.4s ease-out infinite;
}

.xm-pulse-ring--2 {
  inset: 12%;
  animation: ringPulse 4.4s ease-out 1.1s infinite;
}

.xm-pulse-ring--3 {
  inset: 24%;
  animation: ringPulse 4.4s ease-out 2.2s infinite;
}

@keyframes ringPulse {
  0% {
    transform: scale(0.62);
    opacity: 0;
  }
  25% {
    opacity: 0.65;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.xm-pulse-orbit {
  position: absolute;
  inset: -14%;
  animation: spin 20s linear infinite;
}

.xm-pulse-orbit i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.xm-pulse-orbit i:nth-child(1) {
  top: 4%;
  left: 48%;
}

.xm-pulse-orbit i:nth-child(2) {
  right: 8%;
  bottom: 22%;
  background: var(--ice);
}

.xm-pulse-orbit i:nth-child(3) {
  left: 12%;
  bottom: 16%;
  background: var(--blue);
}

.xm-pulse-mark {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

.xm-pulse-mark svg {
  width: 100%;
  height: 100%;
}

.xm-pulse-ecg {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 70%;
  height: 46px;
  transform: translateX(-50%);
  overflow: visible;
  opacity: 0.7;
  pointer-events: none;
}

.xm-pulse-ecg path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(85, 230, 255, 0.5));
  animation: ecgPulse 3s ease-in-out infinite;
}

@keyframes ecgPulse {
  0%,
  100% {
    opacity: 0.18;
  }
  42%,
  58% {
    opacity: 0.95;
  }
}

.xm-pulse-hint {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.18em;
  color: rgba(234, 242, 255, 0.4);
  white-space: nowrap;
}

.xm-pulse-core.is-pulsing {
  animation: coreHit 0.9s var(--ease);
}

@keyframes coreHit {
  0% {
    box-shadow: 0 0 0 0 rgba(85, 230, 255, 0.35);
  }
  100% {
    box-shadow: 0 0 0 60px rgba(85, 230, 255, 0);
  }
}

.xm-burst {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 20%;
  aspect-ratio: 1;
  border: 1px solid rgba(85, 230, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  pointer-events: none;
  animation: burst 1.8s ease-out forwards;
}

@keyframes burst {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0.75;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.4);
    opacity: 0;
  }
}

.xm-pulse-stage::before,
.xm-pulse-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(142, 190, 255, 0.1);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.xm-pulse-stage::before {
  width: 82%;
  height: 82%;
  border-style: dashed;
}

.xm-pulse-stage::after {
  width: 100%;
  height: 100%;
  border-color: rgba(142, 190, 255, 0.07);
}

.xm-node-label {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: rgba(234, 242, 255, 0.32);
}

.xm-node-label::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cyan);
  vertical-align: 1px;
}

.xm-node-label--one {
  top: 13%;
  left: 4%;
}

.xm-node-label--two {
  top: 20%;
  right: 2%;
}

.xm-node-label--three {
  bottom: 16%;
  left: 6%;
}

.xm-node-label--four {
  bottom: 9%;
  right: 8%;
}

.xm-bpm {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 2%;
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: rgba(3, 8, 21, 0.72);
  backdrop-filter: blur(8px);
}

.xm-bpm span {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
  color: rgba(234, 242, 255, 0.38);
}

.xm-bpm strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--cyan);
}

.xm-bpm small {
  font-family: var(--mono);
  font-size: 5px;
  color: rgba(234, 242, 255, 0.3);
}

/* ---------- numbers ---------- */
.xm-numbers {
  padding-block: clamp(74px, 9vw, 120px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.xm-number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.xm-number {
  padding: 28px 26px 0 0;
  border-right: 1px solid var(--line);
}

.xm-number + .xm-number {
  padding-left: 26px;
}

.xm-number:last-child {
  border-right: 0;
}

.xm-number strong {
  display: flex;
  align-items: baseline;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #eaf2ff 18%, #7fb6ff 72%, #2f7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xm-number strong em {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 0.2em;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cyan);
  -webkit-text-fill-color: var(--cyan);
}

.xm-number p {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(234, 242, 255, 0.36);
}

.xm-industries {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: clamp(46px, 6vw, 68px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.xm-industries > span {
  margin-right: auto;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: rgba(234, 242, 255, 0.32);
}

.xm-industries ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xm-industries li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.xm-cta {
  position: relative;
  padding-block: clamp(100px, 13vw, 170px);
  overflow: hidden;
  background: radial-gradient(ellipse 55% 70% at 50% 52%, rgba(34, 91, 200, 0.28), transparent 70%),
    #020712;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.xm-cta-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(120, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}

.xm-cta-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vw, 820px);
  height: min(72vw, 820px);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.xm-cta-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(85, 230, 255, 0.08);
  border-radius: 50%;
  animation: ctaRing 8s ease-out infinite;
}

.xm-cta-rings i:nth-child(2) {
  animation-delay: 2.6s;
}

.xm-cta-rings i:nth-child(3) {
  animation-delay: 5.2s;
}

@keyframes ctaRing {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  30% {
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.xm-cta .shell {
  position: relative;
  z-index: 2;
}

.xm-cta h2 {
  max-width: 1000px;
  margin-top: 26px;
  font-family: var(--display);
  font-size: clamp(2.9rem, 6.4vw, 6.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.xm-cta-lede {
  max-width: 500px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.xm-cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 36px;
}

.xm-cta-mail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: rgba(234, 242, 255, 0.72);
  transition: color 0.3s;
}

.xm-cta-mail span {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.16em;
  color: rgba(234, 242, 255, 0.32);
}

.xm-cta-mail:hover {
  color: var(--cyan);
}

.xm-cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
  color: rgba(234, 242, 255, 0.3);
}

/* ---------- footer ---------- */
.xm-footer {
  padding-top: clamp(58px, 8vw, 92px);
  background: #020711;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.xm-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(42px, 8vw, 110px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.xm-footer-brand .xm-word {
  font-size: 30px;
}

.xm-footer-brand .xm-mark {
  width: 40px;
  height: 40px;
}

.xm-footer-brand > p {
  max-width: 340px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.xm-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: rgba(234, 242, 255, 0.34);
}

.xm-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.xm-footer-cols h3 {
  margin-bottom: 15px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(234, 242, 255, 0.28);
}

.xm-footer-cols a,
.xm-footer-cols p {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(234, 242, 255, 0.6);
  transition: color 0.25s;
}

.xm-footer-cols a:hover {
  color: var(--cyan);
}

.xm-footer-word {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(4rem, 18vw, 17rem);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(142, 190, 255, 0.2);
  user-select: none;
}

.xm-footer-word span {
  -webkit-text-stroke: 0;
  color: var(--cyan);
  font-size: 0.22em;
  vertical-align: 1.55em;
}

.xm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 20px 0 24px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: rgba(234, 242, 255, 0.3);
}

.xm-footer-bottom a:hover {
  color: var(--cyan);
}

.xm-clock {
  color: rgba(85, 230, 255, 0.5);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .xm-hero-inner {
    gap: 26px;
  }

  .xm-hero-title {
    font-size: clamp(3.5rem, 8.6vw, 6.4rem);
  }

  .xm-cap-layout {
    grid-template-columns: 1fr;
  }

  .xm-cap-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .xm-cap-tab:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .xm-cap-tab:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .xm-cap-stage {
    min-height: 0;
  }
}

@media (max-width: 1024px) {
  :root {
    --header: 74px;
  }

  .xm-nav,
  .xm-header-side {
    display: none;
  }

  .xm-menu-toggle {
    display: block;
  }

  .xm-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 10px;
  }

  .xm-hero-copy {
    max-width: 680px;
  }

  .xm-hero-visual {
    justify-self: center;
    max-width: 500px;
  }

  .xm-hero {
    min-height: auto;
    padding-bottom: 24px;
    padding-top: calc(var(--header) + 36px);
  }

  .xm-hero-foot {
    margin-top: 28px;
  }

  .xm-manifesto-grid,
  .xm-pulse-grid {
    grid-template-columns: 1fr;
  }

  .xm-manifesto-side {
    max-width: 620px;
  }

  .xm-pulse-stage {
    justify-self: center;
    width: min(100%, 500px);
  }

  .xm-cap-head {
    grid-template-columns: 1fr;
  }

  .xm-cap-head > p {
    justify-self: start;
  }

  .xm-footer-top {
    grid-template-columns: 1fr;
  }

  .xm-footer-cols {
    gap: 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 14px;
  }

  .xm-section {
    padding-block: 70px;
  }

  .xm-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 40px;
  }

  .xm-section-note {
    text-align: left;
  }

  .xm-hero {
    padding-top: calc(var(--header) + 26px);
  }

  .xm-kicker {
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .xm-hero-title {
    font-size: clamp(3.05rem, 14vw, 5rem);
  }

  .xm-hero-lede {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.9;
  }

  .xm-hero-actions {
    margin-top: 24px;
    gap: 14px 18px;
  }

  .xm-hero-note {
    display: none;
  }

  .xm-hero-visual {
    width: min(100%, 440px);
  }

  .xm-core {
    width: 82%;
    padding: 14px 16px 13px;
  }

  .xm-core-head strong {
    font-size: 14px;
  }

  .xm-wave {
    height: 68px;
  }

  .xm-core-stats strong {
    font-size: 15px;
  }

  .xm-chip {
    display: none;
  }

  .xm-hero-foot {
    margin-top: 20px;
    font-size: 6px;
    gap: 10px;
  }

  .xm-hero-foot-meta {
    display: none;
  }

  .xm-scroll {
    gap: 9px;
  }

  .xm-scroll i {
    height: 20px;
  }

  .xm-display {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .xm-manifesto .xm-display {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .xm-principles {
    grid-template-columns: 1fr;
  }

  .xm-principles > div {
    padding: 20px 0;
  }

  .xm-principles > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .xm-mini-pulse {
    gap: 10px;
  }

  .xm-mini-pulse svg {
    width: 110px;
  }

  .xm-mini-pulse span {
    font-size: 5.5px;
  }

  .xm-cap-tabs {
    grid-template-columns: 1fr;
  }

  .xm-cap-tab {
    border-right: 0 !important;
    padding: 16px 18px;
  }

  .xm-cap-tab:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .xm-cap-tab:last-child {
    border-bottom: 0;
  }

  .xm-cap-name strong {
    font-size: 1.05rem;
  }

  .xm-viz {
    margin: 12px 12px 0;
    min-height: 280px;
  }

  .xm-cap-copy {
    padding: 20px 18px 22px;
  }

  .xm-viz--flow svg {
    inset: 42px 8px 42px;
    width: calc(100% - 16px);
    height: calc(100% - 84px);
  }

  .xm-ui-stack {
    width: 76%;
    height: 200px;
  }

  .xm-ui-card {
    height: 128px;
    padding: 14px;
  }

  .xm-ui-card--front strong {
    font-size: 1.05rem;
  }

  .xm-neural {
    width: 200px;
    height: 200px;
  }

  .xm-pulse-copy .xm-display {
    font-size: clamp(2.2rem, 10.5vw, 3.3rem);
  }

  .xm-pulse-stage {
    width: min(100%, 380px);
  }

  .xm-pulse-core {
    width: 62%;
  }

  .xm-pulse-hint {
    font-size: 5px;
  }

  .xm-bpm {
    right: 0;
    bottom: 0;
    padding: 6px 8px;
  }

  .xm-bpm span {
    display: none;
  }

  .xm-number-grid {
    grid-template-columns: 1fr 1fr;
  }

  .xm-number {
    padding: 20px 14px 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .xm-number:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .xm-number:nth-child(3) {
    padding-left: 0;
  }

  .xm-number:nth-child(4) {
    padding-left: 14px;
  }

  .xm-number:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .xm-number strong {
    font-size: 2.5rem;
  }

  .xm-number p {
    font-size: 6.5px;
  }

  .xm-industries > span {
    width: 100%;
    margin-right: 0;
  }

  .xm-cta {
    padding-block: 80px;
  }

  .xm-cta h2 {
    font-size: clamp(2.1rem, 9.4vw, 3.4rem);
  }

  .xm-pulse-ecg {
    width: 62%;
    height: 38px;
    bottom: 20%;
  }

  .xm-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .xm-cta-mail {
    font-size: 1rem;
  }

  .xm-cta-meta {
    gap: 8px 16px;
    margin-top: 38px;
    font-size: 6px;
  }

  .xm-footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .xm-footer-brand .xm-word {
    font-size: 26px;
  }

  .xm-footer-word {
    font-size: 22vw;
  }

  .xm-footer-bottom {
    font-size: 6px;
    line-height: 1.8;
  }

  .xm-footer-bottom a {
    display: inline-block;
  }
}

@media (max-width: 420px) {
  .xm-hero-title {
    font-size: 3.05rem;
  }

  .xm-core {
    width: 88%;
  }

  .xm-core-stats > div {
    padding: 7px 4px;
  }

  .xm-core-foot span:last-child {
    display: none;
  }

  .xm-cap-tab {
    grid-template-columns: 22px minmax(0, 1fr) 20px;
  }

  .xm-viz {
    min-height: 250px;
  }

  .xm-pulse-stage {
    width: 100%;
  }

  .xm-number strong {
    font-size: 2.15rem;
  }

  .xm-industries li {
    font-size: 7px;
  }
}

@media (max-height: 760px) and (min-width: 1025px) {
  .xm-hero {
    padding-top: calc(var(--header) + 26px);
    min-height: 720px;
  }

  .xm-kicker {
    margin-bottom: 20px;
  }

  .xm-hero-lede {
    margin-top: 18px;
  }

  .xm-hero-actions {
    margin-top: 20px;
  }

  .xm-hero-note {
    margin-top: 20px;
  }

  .xm-hero-foot {
    padding-top: 12px;
  }
}

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .xm-reveal {
    opacity: 1;
    transform: none;
  }

  .xm-cursor {
    display: none;
  }
}

@media print {
  .xm-header,
  .xm-mobile,
  .xm-cursor,
  .xm-grain,
  .xm-progress,
  .xm-hero-visual,
  .xm-ticker,
  .xm-cta-rings,
  .xm-footer,
  .xm-hero canvas,
  .xm-hero-grid,
  .xm-glow {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .xm-hero,
  .xm-section,
  .xm-pulse,
  .xm-numbers,
  .xm-cta {
    background: #fff !important;
    color: #000 !important;
    min-height: 0;
    padding: 20px 0;
  }
}

/* ==========================================================================
   Product suite
   ========================================================================== */
.xm-products {
  background: radial-gradient(ellipse 55% 40% at 18% 18%, rgba(47, 123, 255, 0.12), transparent 64%),
    #040c1c;
  border-top: 1px solid var(--line);
}

.xm-products-head,
.xm-ai-head,
.xm-life-head,
.xm-know-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.5fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.xm-products-head .xm-display {
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

.xm-products-head > p,
.xm-ai-intro,
.xm-life-head > p,
.xm-know-head > p {
  max-width: 380px;
  justify-self: end;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.xm-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.xm-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 27px 29px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(9, 28, 54, 0.82), rgba(3, 10, 23, 0.94));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.35s, transform 0.4s var(--ease),
    background 0.4s;
}

.xm-product::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -10% auto 30%;
  height: 80%;
  background: radial-gradient(circle, rgba(85, 230, 255, 0.12), transparent 64%);
  opacity: 0;
  transition: opacity 0.4s;
}

.xm-product::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(120, 180, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.55;
  pointer-events: none;
}

.xm-product:hover {
  border-color: rgba(85, 230, 255, 0.38);
  transform: translateY(-4px);
  background: linear-gradient(150deg, rgba(12, 36, 67, 0.9), rgba(3, 10, 23, 0.96));
}

.xm-product:hover::before {
  opacity: 1;
}

.xm-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(234, 242, 255, 0.38);
}

.xm-product-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
}

.xm-product-state i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.xm-product h3 {
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.55vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.xm-product > p {
  max-width: 360px;
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.xm-product-visual {
  position: relative;
  flex: 1;
  min-height: 185px;
  margin-top: 20px;
}

.xm-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(234, 242, 255, 0.36);
}

.xm-product-arrow {
  color: var(--cyan);
  font-size: 16px;
  transition: transform 0.35s var(--ease);
}

.xm-product:hover .xm-product-arrow {
  transform: translate(4px, -4px);
}

/* XMall visual */
.xm-pv-mall {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xm-pv-phone {
  position: relative;
  z-index: 2;
  width: 165px;
  height: 192px;
  padding: 9px;
  border: 1px solid rgba(142, 190, 255, 0.24);
  border-radius: 12px;
  background: #f4f7f4;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
}

.xm-pv-phone-top {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 10px;
}

.xm-pv-phone-top i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b8c6c3;
}

.xm-pv-phone-top i:first-child {
  background: #2f7bff;
}

.xm-pv-phone-top span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 4px;
  letter-spacing: 0.1em;
  color: #6d7b78;
}

.xm-pv-banner {
  margin-top: 6px;
  padding: 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0e8f7a, #0c5f56);
  color: #f4f7f4;
}

.xm-pv-banner small {
  display: block;
  font-family: var(--mono);
  font-size: 4px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.xm-pv-banner strong {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
}

.xm-pv-banner span {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 5px;
  border-radius: 20px;
  background: rgba(244, 247, 244, 0.16);
  font-size: 4px;
}

.xm-pv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 6px;
}

.xm-pv-grid i {
  display: block;
  height: 34px;
  border-radius: 3px;
  background: linear-gradient(135deg, #d8b57a, #b98f50);
}

.xm-pv-grid i:nth-child(2) {
  background: linear-gradient(135deg, #a9d9cb, #6ea99a);
}

.xm-pv-grid i:nth-child(3) {
  background: linear-gradient(135deg, #d7a58d, #ae765d);
}

.xm-pv-grid i:nth-child(4) {
  background: linear-gradient(135deg, #c8d3b3, #8f9f73);
}

.xm-pv-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 4px 6px;
  border-radius: 3px;
  background: #e9efea;
  font-size: 4px;
  color: #53635f;
}

.xm-pv-cart b {
  display: grid;
  place-items: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d8e79;
  color: #fff;
  font-size: 5px;
  font-weight: 500;
}

.xm-pv-float {
  position: absolute;
  z-index: 3;
  right: 3%;
  top: 22%;
  padding: 9px 11px;
  border: 1px solid rgba(85, 230, 255, 0.28);
  border-radius: 3px;
  background: rgba(5, 18, 38, 0.88);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

/* XIoT visual */
.xm-pv-iot {
  position: absolute;
  inset: 0;
}

.xm-pv-iot-label {
  position: absolute;
  top: 4px;
  left: 0;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: rgba(234, 242, 255, 0.34);
}

.xm-pv-iot-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(85, 230, 255, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.18), transparent 70%);
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 45px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 50px rgba(47, 123, 255, 0.13);
}

.xm-pv-iot-ring::before,
.xm-pv-iot-ring::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(85, 230, 255, 0.12);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.xm-pv-iot-ring::after {
  inset: -28px;
  border-color: rgba(85, 230, 255, 0.06);
  animation-direction: reverse;
}

.xm-pv-iot-ring span {
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--cyan);
}

.xm-pv-iot-ring small {
  font-size: 8px;
  color: var(--muted);
}

.xm-pv-sensor {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  background: rgba(5, 18, 38, 0.72);
  font-family: var(--mono);
  font-size: 6px;
  color: rgba(234, 242, 255, 0.4);
}

.xm-pv-sensor i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.xm-pv-sensor strong {
  margin-left: 4px;
  font-weight: 400;
  color: var(--lime);
}

.xm-pv-sensor--a {
  left: 0;
  top: 31%;
}

.xm-pv-sensor--b {
  right: -2%;
  top: 44%;
}

.xm-pv-sensor--c {
  left: 9%;
  bottom: 15%;
}

/* XCode visual */
.xm-pv-code {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(88%, 380px);
  border: 1px solid rgba(142, 190, 255, 0.2);
  border-radius: 6px;
  background: #020b18;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
}

.xm-pv-code-top {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(234, 242, 255, 0.35);
}

.xm-pv-code-top span:last-child {
  color: var(--cyan);
}

.xm-pv-code-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  color: #9ed7ff;
}

.xm-pv-code-lines i {
  display: inline-block;
  width: 17px;
  font-style: normal;
  color: rgba(234, 242, 255, 0.2);
}

.xm-pv-code-lines b {
  color: var(--cyan);
  animation: blink 1.1s steps(2) infinite;
}

/* XKnow visual */
.xm-pv-know {
  position: absolute;
  inset: 0;
}

.xm-pv-know svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.xm-pv-know-node {
  position: absolute;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(85, 230, 255, 0.24);
  border-radius: 20px;
  background: rgba(5, 18, 38, 0.82);
  font-family: var(--mono);
  font-size: 7px;
  color: rgba(234, 242, 255, 0.6);
}

.xm-pv-know-node--a {
  left: 13%;
  top: 22%;
}

.xm-pv-know-node--b {
  right: 13%;
  top: 18%;
}

.xm-pv-know-node--c {
  right: 18%;
  bottom: 17%;
}

.xm-pv-know-node--d {
  left: 17%;
  bottom: 20%;
}

.xm-pv-know-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(85, 230, 255, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.3), rgba(3, 8, 21, 0.94));
  box-shadow: 0 0 34px rgba(47, 123, 255, 0.3);
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: -0.03em;
}

.xm-product-slim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.xm-product-slim a {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(5, 16, 34, 0.46);
  transition: border-color 0.3s, background 0.3s;
}

.xm-product-slim a:hover {
  border-color: rgba(85, 230, 255, 0.34);
  background: rgba(47, 123, 255, 0.06);
}

.xm-product-slim span {
  font-size: 10px;
  color: var(--cyan);
}

.xm-product-slim strong {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.xm-product-slim p {
  grid-column: 2;
  font-size: 11px;
  color: var(--muted);
}

.xm-product-slim em {
  grid-column: 3;
  grid-row: 1 / 3;
  font-style: normal;
  color: var(--cyan);
}

/* ==========================================================================
   AI coding studio
   ========================================================================== */
.xm-ai {
  background: radial-gradient(ellipse 45% 50% at 78% 10%, rgba(24, 80, 175, 0.2), transparent 64%),
    #020712;
  border-top: 1px solid var(--line);
}

.xm-ai-head .xm-display {
  font-size: clamp(2.6rem, 5.3vw, 4.9rem);
}

.xm-ai-intro ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.xm-ai-intro li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(234, 242, 255, 0.5);
}

.xm-ai-stage {
  border: 1px solid var(--line);
  background: #030c19;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.xm-ai-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(234, 242, 255, 0.36);
}

.xm-ai-stage-top > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.xm-ai-stage-top i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

.xm-ai-replay {
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s;
}

.xm-ai-replay:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.xm-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  min-height: 470px;
}

.xm-ai-prompt-panel {
  padding: 26px 26px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(8, 28, 56, 0.35), transparent 70%);
}

.xm-ai-panel-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.xm-ai-prompt-line {
  min-height: 100px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ice);
}

.xm-ai-prompt-line > span:first-child {
  margin-right: 7px;
  color: var(--cyan);
}

.xm-ai-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--cyan);
  vertical-align: -0.12em;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.xm-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.xm-ai-chips button {
  padding: 6px 9px;
  border: 1px solid var(--line);
  font-size: 10px;
  color: rgba(234, 242, 255, 0.48);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.xm-ai-chips button:hover {
  border-color: rgba(85, 230, 255, 0.4);
  color: var(--ice);
}

.xm-ai-chips button.is-active {
  border-color: rgba(85, 230, 255, 0.42);
  background: rgba(85, 230, 255, 0.08);
  color: var(--cyan);
}

.xm-ai-steps {
  margin-top: 23px;
  border-top: 1px solid var(--line);
}

.xm-ai-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: rgba(234, 242, 255, 0.28);
  transition: color 0.3s;
}

.xm-ai-steps li span {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(234, 242, 255, 0.24);
}

.xm-ai-steps li.is-active {
  color: var(--ice);
}

.xm-ai-steps li.is-active span {
  color: var(--cyan);
}

.xm-ai-note {
  margin-top: 18px;
  font-size: 10px;
  color: rgba(234, 242, 255, 0.3);
}

.xm-ai-editor {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #020b18;
}

.xm-ai-editor-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(234, 242, 255, 0.32);
}

.xm-ai-dots {
  display: flex;
  gap: 3px;
}

.xm-ai-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(234, 242, 255, 0.2);
}

.xm-ai-dots i:first-child {
  background: var(--cyan);
}

.xm-ai-editor-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--cyan);
}

.xm-ai-editor-state i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.xm-ai-code-wrap {
  --ai-line: 22px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  padding: 16px 0;
  overflow: hidden;
}

.xm-ai-gutter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  padding-right: 11px;
  border-right: 1px solid rgba(142, 190, 255, 0.08);
  font-family: var(--mono);
  font-size: 9px;
  line-height: var(--ai-line);
  color: rgba(234, 242, 255, 0.16);
  user-select: none;
}

.xm-ai-code-wrap pre {
  margin: 0;
  padding: 0 16px;
  overflow: auto;
  font-family: var(--mono);
  font-size: 12px;
  line-height: var(--ai-line);
  color: #9ed7ff;
  white-space: pre;
}

.xm-ai-code-wrap code {
  font: inherit;
}

.xm-ai-code-wrap .tok-kw {
  color: #8ab8ff;
}

.xm-ai-code-wrap .tok-str {
  color: #a8ff6a;
}

.xm-ai-code-wrap .tok-fn {
  color: var(--cyan);
}

.xm-ai-code-wrap .tok-com {
  color: rgba(234, 242, 255, 0.26);
}

.xm-ai-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  color: rgba(234, 242, 255, 0.28);
}

.xm-ai-editor-foot span:first-child {
  color: var(--cyan);
}

/* ==========================================================================
   Life scenes
   ========================================================================== */
.xm-life {
  background: radial-gradient(ellipse 50% 40% at 18% 35%, rgba(255, 184, 107, 0.08), transparent 64%),
    #040c1c;
  border-top: 1px solid var(--line);
}

.xm-life-head .xm-display {
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

.xm-warm {
  color: #ffba77;
  background: linear-gradient(100deg, #ffd7a1, #ffb86b 60%, #f39a4b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.xm-life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.xm-life-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(22, 35, 54, 0.6), rgba(4, 12, 26, 0.9));
  transition: border-color 0.35s, transform 0.35s var(--ease);
}

.xm-life-card:hover {
  border-color: rgba(255, 184, 107, 0.36);
  transform: translateY(-4px);
}

.xm-life-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(234, 242, 255, 0.3);
}

.xm-life-meta span:first-child {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffba77;
}

.xm-life-art {
  display: grid;
  place-items: center;
  height: 132px;
  margin: 14px 0 12px;
  color: rgba(255, 184, 107, 0.58);
}

.xm-life-art svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.xm-life-copy h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ice);
}

.xm-life-copy p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.xm-life-tag {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 184, 107, 0.7);
}

.xm-life-note {
  margin-top: 30px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(234, 242, 255, 0.45);
}

/* ==========================================================================
   Knowledge system
   ========================================================================== */
.xm-knowledge {
  background: radial-gradient(ellipse 55% 50% at 62% 32%, rgba(47, 123, 255, 0.15), transparent 67%),
    #020712;
  border-top: 1px solid var(--line);
}

.xm-know-head .xm-display {
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
}

.xm-know-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
}

.xm-know-graph {
  position: relative;
  min-height: 540px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 50%, rgba(47, 123, 255, 0.12), transparent 58%),
    #030d1c;
  overflow: hidden;
}

.xm-know-bar {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(234, 242, 255, 0.28);
}

.xm-know-bar span:last-child {
  color: rgba(85, 230, 255, 0.55);
}

.xm-know-canvas {
  position: relative;
  height: 495px;
}

.xm-know-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.6;
}

.xm-know-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.xm-know-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(85, 230, 255, 0.36);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.38), rgba(3, 8, 21, 0.93) 70%);
  box-shadow: 0 0 60px rgba(47, 123, 255, 0.28);
  transform: translate(-50%, -50%);
}

.xm-know-core span {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.xm-know-core i {
  width: 4px;
  height: 4px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.xm-know-node {
  position: absolute;
  z-index: 4;
  left: var(--x);
  top: var(--y);
  padding: 7px 11px;
  border: 1px solid rgba(85, 230, 255, 0.2);
  border-radius: 20px;
  background: rgba(4, 14, 31, 0.9);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: rgba(234, 242, 255, 0.55);
  transform: translate(-50%, -50%);
  transition: background 0.3s, border-color 0.3s, color 0.3s,
    transform 0.3s var(--ease);
}

.xm-know-node:hover {
  border-color: rgba(85, 230, 255, 0.55);
  color: var(--ice);
  transform: translate(-50%, -50%) scale(1.05);
}

.xm-know-node.is-active {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #021022;
  box-shadow: 0 0 20px rgba(85, 230, 255, 0.25);
}

.xm-know-tip {
  position: absolute;
  z-index: 4;
  left: 15px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(234, 242, 255, 0.26);
}

.xm-know-answer {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(9, 29, 56, 0.75), rgba(3, 10, 22, 0.96));
}

.xm-know-answer-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: rgba(234, 242, 255, 0.3);
}

.xm-know-answer-top span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cyan);
}

.xm-know-answer-top i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.xm-know-question {
  margin-top: 30px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.xm-know-response {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(234, 242, 255, 0.62);
}

.xm-know-source {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.xm-know-source span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(234, 242, 255, 0.28);
}

.xm-know-source b {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cyan);
}

.xm-know-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.xm-know-tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  font-size: 8px;
  color: var(--muted);
}

.xm-know-answer .xm-text-link {
  margin-top: 24px;
}

.xm-know-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--line);
}

.xm-know-steps > div {
  padding: 22px 24px;
  background: #030d1c;
}

.xm-know-steps span {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--cyan);
}

.xm-know-steps strong {
  display: block;
  margin-top: 12px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.xm-know-steps p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

/* ==========================================================================
   New sections · responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .xm-products-head,
  .xm-ai-head,
  .xm-life-head,
  .xm-know-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .xm-products-head > p,
  .xm-ai-intro,
  .xm-life-head > p,
  .xm-know-head > p {
    justify-self: start;
  }

  .xm-life-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .xm-product-grid {
    grid-template-columns: 1fr;
  }

  .xm-product {
    min-height: 500px;
  }

  .xm-ai-grid {
    grid-template-columns: 1fr;
  }

  .xm-ai-prompt-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .xm-ai-editor {
    min-height: 380px;
  }

  .xm-know-layout {
    grid-template-columns: 1fr;
  }

  .xm-know-graph,
  .xm-know-answer {
    min-height: 0;
  }

  .xm-know-answer {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .xm-products-head .xm-display,
  .xm-ai-head .xm-display,
  .xm-life-head .xm-display,
  .xm-know-head .xm-display {
    font-size: clamp(2.3rem, 10.3vw, 3.4rem);
  }

  .xm-product {
    min-height: 0;
    padding: 20px 18px 16px;
  }

  .xm-product h3 {
    margin-top: 18px;
  }

  .xm-product-visual {
    min-height: 175px;
    margin-top: 16px;
  }

  .xm-product-slim {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .xm-ai-stage-top {
    font-size: 7px;
    padding: 10px 12px;
  }

  .xm-ai-grid {
    min-height: 0;
  }

  .xm-ai-prompt-panel {
    padding: 20px 18px;
  }

  .xm-ai-prompt-line {
    min-height: 86px;
    font-size: 14px;
  }

  .xm-ai-code-wrap {
    --ai-line: 20px;
    max-height: 330px;
    min-height: 290px;
    overflow: auto;
  }

  .xm-ai-code-wrap pre {
    font-size: 10.5px;
  }

  .xm-ai-gutter {
    font-size: 8px;
  }

  .xm-ai-editor {
    min-height: 0;
  }

  .xm-life-grid {
    grid-template-columns: 1fr;
  }

  .xm-life-card {
    min-height: 0;
  }

  .xm-life-art {
    height: 125px;
  }

  .xm-life-note {
    font-size: 1.08rem;
    line-height: 1.6;
  }

  .xm-know-graph {
    min-height: 420px;
  }

  .xm-know-canvas {
    height: 375px;
  }

  .xm-know-core {
    width: 84px;
    height: 84px;
  }

  .xm-know-node {
    padding: 6px 9px;
    font-size: 9px;
  }

  .xm-know-answer {
    min-height: 340px;
    padding: 20px 18px;
  }

  .xm-know-question {
    margin-top: 22px;
    font-size: 1.3rem;
  }

  .xm-know-steps {
    grid-template-columns: 1fr;
  }

  .xm-know-steps > div {
    padding: 18px 18px;
  }
}

@media (max-width: 480px) {
  .xm-product-visual {
    min-height: 160px;
  }

  .xm-pv-phone {
    width: 148px;
    height: 172px;
  }

  .xm-pv-iot-ring {
    width: 110px;
    height: 110px;
    padding-top: 38px;
  }

  .xm-pv-iot-ring span {
    font-size: 24px;
  }

  .xm-pv-sensor {
    font-size: 5.5px;
  }

  .xm-pv-code {
    width: 94%;
  }

  .xm-pv-code-lines {
    font-size: 7px;
  }

  .xm-know-canvas {
    height: 350px;
  }

  .xm-know-node {
    font-size: 8px;
  }
}

/* ==========================================================================
   Readability standard
   Minimum web sizes: body 16px, navigation 15px, metadata 11–12px,
   supporting copy 14–16px. Micro labels inside purely decorative UI stay
   slightly smaller, but never below 8px.
   ========================================================================== */
body {
  font-size: 16px;
}

.xm-word {
  font-size: 24px;
}

.xm-mark {
  width: 36px;
  height: 36px;
}

.xm-nav a {
  font-size: 16px;
}

.xm-nav a span {
  font-size: 10px;
}

.xm-system {
  font-size: 11px;
}

.xm-btn {
  font-size: 14px;
}

.xm-btn--small {
  font-size: 13px;
}

.xm-kicker {
  font-size: 11px;
}

.xm-hero-lede {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.xm-hero-note {
  font-size: 11px;
}

.xm-hero-foot {
  font-size: 11px;
}

.xm-label {
  font-size: 12px;
}

.xm-section-note {
  font-size: 14px;
}

.xm-text-link {
  font-size: 14px;
}

.xm-ticker span {
  font-size: 15px;
}

.xm-core {
  width: 80%;
  padding: 22px 24px 19px;
}

.xm-core-top,
.xm-core-foot {
  font-size: 8.5px;
}

.xm-core-head small {
  font-size: 8px;
}

.xm-core-head strong {
  font-size: 18px;
}

.xm-core-badge {
  font-size: 8px;
}

.xm-core-stats small {
  font-size: 7.5px;
}

.xm-core-stats strong {
  font-size: 21px;
}

.xm-core-stats em {
  font-size: 8px;
}

.xm-chip {
  font-size: 9px;
}

.xm-cap-tab {
  padding: 24px 22px;
}

.xm-cap-num {
  font-size: 10px;
}

.xm-cap-name strong {
  font-size: 1.3rem;
}

.xm-cap-name em {
  font-size: 13px;
}

.xm-cap-line {
  font-size: 13px;
}

.xm-viz-top {
  font-size: 9px;
}

.xm-viz-caption {
  font-size: 8px;
}

.xm-cap-copy h3 {
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
}

.xm-cap-copy > p:not(.xm-label) {
  font-size: 14px;
}

.xm-cap-copy li {
  font-size: 9px;
}

.xm-pulse-copy > p:not(.xm-label) {
  font-size: 14px;
}

.xm-pulse-hint {
  font-size: 9px;
}

.xm-node-label {
  font-size: 10px;
}

.xm-bpm span {
  font-size: 8px;
}

.xm-bpm strong {
  font-size: 21px;
}

.xm-bpm small {
  font-size: 7px;
}

.xm-number p {
  font-size: 11px;
}

.xm-industries > span {
  font-size: 11px;
}

.xm-industries li {
  padding: 7px 13px;
  font-size: 13px;
}

.xm-cta-lede {
  font-size: 16px;
}

.xm-cta-mail {
  font-size: 1.25rem;
}

.xm-cta-mail span {
  font-size: 10px;
}

.xm-cta-meta {
  font-size: 10px;
}

.xm-footer-brand > p {
  font-size: 14px;
}

.xm-footer-status {
  font-size: 10px;
}

.xm-footer-cols h3 {
  font-size: 10px;
}

.xm-footer-cols a,
.xm-footer-cols p {
  font-size: 13px;
}

.xm-footer-bottom {
  font-size: 10px;
}

.xm-mobile-nav a span {
  font-size: 10px;
}

.xm-mobile-meta {
  font-size: 12px;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .xm-hero-lede {
    font-size: 16px;
  }

  .xm-kicker {
    font-size: 11px;
  }

  .xm-hero-foot {
    font-size: 10px;
  }

  .xm-section-note {
    font-size: 14px;
  }

  .xm-label {
    font-size: 12px;
  }

  .xm-ticker span {
    font-size: 14px;
  }

  .xm-core {
    width: 86%;
    padding: 17px 18px 15px;
  }

  .xm-core-head strong {
    font-size: 16px;
  }

  .xm-core-stats strong {
    font-size: 18px;
  }

  .xm-core-top,
  .xm-core-foot {
    font-size: 8px;
  }

  .xm-chip {
    font-size: 8px;
  }

  .xm-cap-tab {
    padding: 18px 18px;
  }

  .xm-cap-name strong {
    font-size: 1.15rem;
  }

  .xm-cap-line {
    font-size: 13px;
  }

  .xm-cap-copy > p:not(.xm-label) {
    font-size: 14px;
  }

  .xm-pulse-copy > p:not(.xm-label) {
    font-size: 14px;
  }

  .xm-node-label {
    font-size: 9px;
  }

  .xm-number p {
    font-size: 11px;
  }

  .xm-industries li {
    padding: 6px 11px;
    font-size: 12px;
  }

  .xm-cta-lede {
    font-size: 15px;
  }

  .xm-cta-meta {
    font-size: 10px;
  }

  .xm-footer-cols a,
  .xm-footer-cols p {
    font-size: 13px;
  }

  .xm-footer-bottom {
    font-size: 10px;
  }
}

/* New product sections: standard reading sizes */
.xm-product-top {
  font-size: 10px;
}

.xm-product > p {
  font-size: 14px;
}

.xm-product-foot {
  font-size: 10px;
}

.xm-product-slim strong {
  font-size: 15px;
}

.xm-product-slim p {
  font-size: 13px;
}

.xm-ai-panel-label {
  font-size: 10px;
}

.xm-ai-prompt-line {
  font-size: 17px;
}

.xm-ai-chips button {
  font-size: 11px;
}

.xm-ai-steps li {
  font-size: 12px;
}

.xm-ai-note {
  font-size: 11px;
}

.xm-ai-intro li {
  font-size: 10px;
}

.xm-ai-editor-top,
.xm-ai-editor-foot {
  font-size: 9px;
}

.xm-life-meta {
  font-size: 10px;
}

.xm-life-copy p {
  font-size: 13.5px;
}

.xm-life-tag {
  font-size: 9px;
}

.xm-know-bar {
  font-size: 9px;
}

.xm-know-node {
  font-size: 11px;
}

.xm-know-tip {
  font-size: 9px;
}

.xm-know-answer-top {
  font-size: 9px;
}

.xm-know-response {
  font-size: 14px;
}

.xm-know-source span {
  font-size: 9px;
}

.xm-know-source b {
  font-size: 10px;
}

.xm-know-tags span {
  font-size: 9.5px;
}

.xm-know-steps span {
  font-size: 9px;
}

.xm-know-steps p {
  font-size: 13px;
}

@media (max-width: 760px) {
  .xm-product > p {
    font-size: 13px;
  }

  .xm-product-foot {
    font-size: 9px;
  }

  .xm-ai-prompt-line {
    font-size: 15px;
  }

  .xm-ai-chips button {
    font-size: 10px;
  }

  .xm-ai-steps li {
    font-size: 11px;
  }

  .xm-life-copy p {
    font-size: 13px;
  }

  .xm-know-bar {
    font-size: 8px;
  }

  .xm-know-node {
    font-size: 9px;
  }

  .xm-know-response {
    font-size: 13px;
  }

  .xm-know-steps p {
    font-size: 12px;
  }
}

/* Footer readability: footer is a key navigation surface, not fine print. */
.xm-footer-brand .xm-word {
  font-size: 34px;
}

.xm-footer-brand > p {
  font-size: 15px;
  line-height: 1.9;
}

.xm-footer-status {
  font-size: 11px;
}

.xm-footer-cols h3 {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.xm-footer-cols a,
.xm-footer-cols p {
  font-size: 15px;
  line-height: 1.85;
}

.xm-footer-bottom {
  font-size: 12px;
  line-height: 1.8;
}

.xm-clock {
  font-size: 12px;
}

@media (max-width: 760px) {
  .xm-footer-brand .xm-word {
    font-size: 30px;
  }

  .xm-footer-brand > p {
    font-size: 14px;
  }

  .xm-footer-cols h3 {
    font-size: 10px;
  }

  .xm-footer-cols a,
  .xm-footer-cols p {
    font-size: 14px;
  }

  .xm-footer-bottom {
    font-size: 11px;
  }

  .xm-clock {
    font-size: 11px;
  }
}
